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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
3de4eab50eb81abf525866021351b44ec677a171 | 138 | py | Python | smarttm/storage_backends.py | mseemab/smarttm | 4fbc4f2ae57b8555709fafce41528e7d8137ab82 | [
"MIT"
] | 1 | 2019-11-25T16:03:58.000Z | 2019-11-25T16:03:58.000Z | smarttm/storage_backends.py | mseemab/smarttm | 4fbc4f2ae57b8555709fafce41528e7d8137ab82 | [
"MIT"
] | 32 | 2019-12-08T13:53:49.000Z | 2022-03-12T00:05:23.000Z | smarttm/storage_backends.py | mseemab/smarttm | 4fbc4f2ae57b8555709fafce41528e7d8137ab82 | [
"MIT"
] | null | null | null | from storages.backends.s3boto3 import S3Boto3Storage
class MediaStorage(S3Boto3Storage):
location = 'media'
file_overwrite = False | 34.5 | 52 | 0.797101 |
b0f74c1a34819f3c0c88d1f7fddc318c6201b758 | 1,001 | h | C | 31_Traits/Pvector.h | jonixis/CPP18 | 0dfe165f22a3cbef9e8cda102196d53d3e120e57 | [
"MIT"
] | null | null | null | 31_Traits/Pvector.h | jonixis/CPP18 | 0dfe165f22a3cbef9e8cda102196d53d3e120e57 | [
"MIT"
] | null | null | null | 31_Traits/Pvector.h | jonixis/CPP18 | 0dfe165f22a3cbef9e8cda102196d53d3e120e57 | [
"MIT"
] | null | null | null | #include <vector>
#include <fstream>
#include <iostream>
#include "Persistence_traits.h"
using namespace std;
#ifndef INC_41_TRAITS_PVECTOR_H
#define INC_41_TRAITS_PVECTOR_H
template<typename T, typename P=Persistence_traits<T, vector<T>>>
class Pvector {
string filename;
vector<T> v;
void read_vector()... | 18.2 | 65 | 0.599401 |
93a4952dfc9d9207b9b37d7d63e7da17ba83369d | 379 | cs | C# | Character/Attributes/IAttributeSet.cs | MyTurnyet/CharacterBuilder | b5adaa1ad629113d675a26313430e1355936c307 | [
"MIT"
] | 1 | 2017-09-20T16:16:35.000Z | 2017-09-20T16:16:35.000Z | Character/Attributes/IAttributeSet.cs | MyTurnyet/CharacterBuilder | b5adaa1ad629113d675a26313430e1355936c307 | [
"MIT"
] | null | null | null | Character/Attributes/IAttributeSet.cs | MyTurnyet/CharacterBuilder | b5adaa1ad629113d675a26313430e1355936c307 | [
"MIT"
] | null | null | null | using System.Text;
using Character.Display;
namespace Character.Attributes
{
public interface IAttributeSet
{
ICharacterAttribute MatchesName(IAttributeName attributeName);
ITextObj DisplayText();
void SetAttribute(IAttributeName attName, IAttributeScore attributeScore);
void A... | 29.153846 | 82 | 0.754617 |
6d426ec0b24fcb3420495e35d5c6b7c47c280df2 | 521 | ts | TypeScript | src/molecules/rentalItem/styles.ts | cchampou/toukan-prod | 603cf22dc3f2127f2a17c3c8e06250359fa6670c | [
"MIT"
] | null | null | null | src/molecules/rentalItem/styles.ts | cchampou/toukan-prod | 603cf22dc3f2127f2a17c3c8e06250359fa6670c | [
"MIT"
] | 2 | 2022-03-24T01:08:57.000Z | 2022-03-31T17:00:30.000Z | src/molecules/rentalItem/styles.ts | cchampou/toukan-prod | 603cf22dc3f2127f2a17c3c8e06250359fa6670c | [
"MIT"
] | null | null | null | import styled from '@emotion/styled';
export const RentalItemContainer = styled('div')`
display: flex;
flex-direction: column;
justify-content: flex-start;
flex: 1;
max-width: 300px;
margin: 2rem;
`;
export const RentalImageContainer = styled('div')`
width: 100%;
padding-top: 100%;
position: relativ... | 18.607143 | 50 | 0.642994 |
7be6cda482acbf4120e764d2e5b3621154112962 | 1,390 | cpp | C++ | src/cpp/226. Invert Binary Tree.cpp | yjjnls/D.S.A-Leet | be19c3ccc1f704e75590786fdfd4cd3ab4818d4f | [
"MIT"
] | 222 | 2018-09-25T08:46:31.000Z | 2022-02-07T12:33:42.000Z | src/cpp/226. Invert Binary Tree.cpp | yjjnls/D.S.A-Leet | be19c3ccc1f704e75590786fdfd4cd3ab4818d4f | [
"MIT"
] | 1 | 2017-11-23T04:39:48.000Z | 2017-11-23T04:39:48.000Z | src/cpp/226. Invert Binary Tree.cpp | yjjnls/D.S.A-Leet | be19c3ccc1f704e75590786fdfd4cd3ab4818d4f | [
"MIT"
] | 12 | 2018-10-05T03:16:05.000Z | 2020-12-19T04:25:33.000Z | /*
Invert a binary tree.
4
/ \
2 7
/ \ / \
1 3 6 9
to
4
/ \
7 2
/ \ / \
9 6 3 1
Trivia:
This problem was inspired by this original tweet by Max Howell:
Google: 90% of our engineers use the software you wrote (Homebrew), but you can’t invert a binary tree on a whiteboard so... | 18.533333 | 131 | 0.5 |
a3d1db8441797131baf210775c8c81edaa975a5f | 1,816 | java | Java | engine/src/main/java/org/teiid/query/sql/util/ValueIteratorSource.java | rkorytkowski/teiid | a2b33e947978daf4fee009c8dc2311df6f05d52c | [
"Apache-2.0"
] | null | null | null | engine/src/main/java/org/teiid/query/sql/util/ValueIteratorSource.java | rkorytkowski/teiid | a2b33e947978daf4fee009c8dc2311df6f05d52c | [
"Apache-2.0"
] | 1 | 2019-11-13T09:01:19.000Z | 2019-11-13T09:01:19.000Z | engine/src/main/java/org/teiid/query/sql/util/ValueIteratorSource.java | rkorytkowski/teiid | a2b33e947978daf4fee009c8dc2311df6f05d52c | [
"Apache-2.0"
] | null | null | null | /*
* Copyright Red Hat, Inc. and/or its affiliates
* and other contributors as indicated by the @author tags and
* the COPYRIGHT.txt file distributed with this work.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may ob... | 33.018182 | 114 | 0.746696 |
5866fe6397fcd5a749a3b574b320a383ac6a0e90 | 31,203 | css | CSS | articles/css/test.css | VibavariG/aicvscummins.github.io | 073eb4c8fd2cf48fffa4597059b23051ed3bf8f1 | [
"MIT"
] | null | null | null | articles/css/test.css | VibavariG/aicvscummins.github.io | 073eb4c8fd2cf48fffa4597059b23051ed3bf8f1 | [
"MIT"
] | null | null | null | articles/css/test.css | VibavariG/aicvscummins.github.io | 073eb4c8fd2cf48fffa4597059b23051ed3bf8f1 | [
"MIT"
] | null | null | null | *{
padding:0;
margin:0;
}
*, ::after, ::before {
box-sizing: border-box;
}
*, *:before, *:after {
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
body{
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
text-align: left;
}
.wrapper-masth... | 120.011538 | 10,422 | 0.943755 |
2febac12ea78752566e578a3e8ef8e4b192bd2e9 | 66 | py | Python | network_serializer/__init__.py | bubblemans/network-serializer | 329fb725d3cc4c6a7ee3ef7b6ad4696379cd7349 | [
"MIT"
] | null | null | null | network_serializer/__init__.py | bubblemans/network-serializer | 329fb725d3cc4c6a7ee3ef7b6ad4696379cd7349 | [
"MIT"
] | null | null | null | network_serializer/__init__.py | bubblemans/network-serializer | 329fb725d3cc4c6a7ee3ef7b6ad4696379cd7349 | [
"MIT"
] | null | null | null | from network_serializer.network_serializer import Encoder, Decoder | 66 | 66 | 0.909091 |
df9d9aa4a923284e4d5794351723761210f2097c | 1,051 | cs | C# | SimpleAccessModifiers/Parent.cs | GentianGashi/SimpleAccessModifiers | 6027a4391bc24b1f7cb86f9b40d95fba33ccbbaa | [
"MIT"
] | 1 | 2020-08-13T00:08:16.000Z | 2020-08-13T00:08:16.000Z | SimpleAccessModifiers/Parent.cs | UnboundPhantom/SimpleAccessModifiers | 6027a4391bc24b1f7cb86f9b40d95fba33ccbbaa | [
"MIT"
] | null | null | null | SimpleAccessModifiers/Parent.cs | UnboundPhantom/SimpleAccessModifiers | 6027a4391bc24b1f7cb86f9b40d95fba33ccbbaa | [
"MIT"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SimpleAccessModifiers
{
public class Parent
{
string ParentMethod()
{
return "Method Called In Property";
}
string ParentProperty()
... | 21.02 | 55 | 0.546147 |
92ec808422e2d50bf1d0809e60bc3d0596f0f662 | 466 | c | C | oddneven.c | el-chay/random-tests | 7497bb337092e7f03ca7d1b068b8574d43b3edcb | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | oddneven.c | el-chay/random-tests | 7497bb337092e7f03ca7d1b068b8574d43b3edcb | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | oddneven.c | el-chay/random-tests | 7497bb337092e7f03ca7d1b068b8574d43b3edcb | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | #include <stdio.h>
#include <stdlib.h>
#include "mkswap.h"
MKSWAP(int)
int main(int argc, char *argv[])
{
int len = argc-1, *a = malloc(len*sizeof(int));
if(!a) return 1;
for(int i = 1; i < argc; i++)
a[i-1] = atoi(argv[i]);
int *b = a, *e = a+len-1;
do{
while(*b%2) b++;
w... | 19.416667 | 58 | 0.465665 |
384e9757b0b19204b9336e8a5715b845be8c2ecc | 1,019 | php | PHP | app/Http/Controllers/DepartmentsController.php | christiandale1011/ensys-api | a50d20da59e80d70f393e2eb91a724876794dde9 | [
"MIT"
] | null | null | null | app/Http/Controllers/DepartmentsController.php | christiandale1011/ensys-api | a50d20da59e80d70f393e2eb91a724876794dde9 | [
"MIT"
] | null | null | null | app/Http/Controllers/DepartmentsController.php | christiandale1011/ensys-api | a50d20da59e80d70f393e2eb91a724876794dde9 | [
"MIT"
] | null | null | null | <?php
namespace App\Http\Controllers;
use App\Departments;
use Illuminate\Http\Request;
use App\Http\Resources\Departments as DepartmentsResource;
class DepartmentsController extends Controller
{
public function index()
{
$Departments = Departments::where('status','Active')->get();
return De... | 23.697674 | 83 | 0.630029 |
4d3a5333813606dfee92def3ed68928a211edffd | 861 | asm | Assembly | programs/oeis/083/A083579.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | 1 | 2021-03-15T11:38:20.000Z | 2021-03-15T11:38:20.000Z | programs/oeis/083/A083579.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | null | null | null | programs/oeis/083/A083579.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | null | null | null | ; A083579: Generalized Jacobsthal numbers.
; 0,1,1,4,8,19,39,82,166,337,677,1360,2724,5455,10915,21838,43682,87373,174753,349516,699040,1398091,2796191,5592394,11184798,22369609,44739229,89478472,178956956,357913927,715827867,1431655750,2863311514,5726623045,11453246105,22906492228,45812984472,91625968963,183251937943,... | 27.774194 | 503 | 0.707317 |
fbb502932117762118638048c90d8d048ed91f41 | 461 | h | C | bar-sign/src/applib/esp8266-udp.h | jxmot/esp8266-WS2812B | 13bc34dd451e75b4e65e50443b584a371e5a4a5d | [
"MIT"
] | null | null | null | bar-sign/src/applib/esp8266-udp.h | jxmot/esp8266-WS2812B | 13bc34dd451e75b4e65e50443b584a371e5a4a5d | [
"MIT"
] | null | null | null | bar-sign/src/applib/esp8266-udp.h | jxmot/esp8266-WS2812B | 13bc34dd451e75b4e65e50443b584a371e5a4a5d | [
"MIT"
] | null | null | null | /* ************************************************************************ */
/*
esp8266-udp.h - UDP support for the associated ino file.
*/
#pragma once
#include "udp-defs.h"
#ifdef __cplusplus
extern "C" {
#endif
extern int initUDP();
extern int replyUDP(char *payload, int len);
extern int recvUDP();
extern... | 17.074074 | 78 | 0.596529 |
b51ab08b7c5194b420936ac94afcacd72dbbee7a | 3,566 | rb | Ruby | spec/requests/api/v2/providers/courses/update_sites_spec.rb | VickyKoblinski/teacher-training-api | b03b78ef0b7d02d0c3adc164627d84128269ff01 | [
"MIT"
] | null | null | null | spec/requests/api/v2/providers/courses/update_sites_spec.rb | VickyKoblinski/teacher-training-api | b03b78ef0b7d02d0c3adc164627d84128269ff01 | [
"MIT"
] | null | null | null | spec/requests/api/v2/providers/courses/update_sites_spec.rb | VickyKoblinski/teacher-training-api | b03b78ef0b7d02d0c3adc164627d84128269ff01 | [
"MIT"
] | null | null | null | require "rails_helper"
describe "PATCH /providers/:provider_code/courses/:course_code with sites" do
let(:organisation) { create :organisation }
let(:provider) { create :provider, organisations: [organisation] }
let(:user) { create :user, organisations: [organisation] }
let(:payload) { { email... | 28.758065 | 161 | 0.617218 |
0352a033b95d3cabc925c60f92cdae7196e0b2a3 | 722 | rb | Ruby | lib/tkh_access_control.rb | allesklar/tkh_access_control | b9482d4d49c28701e299ed706b22944bb719d886 | [
"MIT"
] | null | null | null | lib/tkh_access_control.rb | allesklar/tkh_access_control | b9482d4d49c28701e299ed706b22944bb719d886 | [
"MIT"
] | 2 | 2020-02-25T02:59:25.000Z | 2020-08-10T07:26:48.000Z | lib/tkh_access_control.rb | allesklar/tkh_access_control | b9482d4d49c28701e299ed706b22944bb719d886 | [
"MIT"
] | null | null | null | require "tkh_access_control/version"
# require 'bcrypt-ruby'
require 'simple_form'
require 'stringex'
require 'tkh_access_control/tkh_access_control_action_controller_extension'
require 'tkh_access_control/tkh_access_control_helper'
module TkhAccessControl
class Engine < ::Rails::Engine
# to extend the applicati... | 32.818182 | 75 | 0.782548 |
14cf44227300943cc3ddcd38664170f082b45973 | 697 | ts | TypeScript | src/helpers.ts | paulbarclay/loom-js | 5dbf8e49e87c4e03c3b946e23e2a3b6e27d48c7b | [
"BSD-3-Clause"
] | 2 | 2018-10-08T08:12:57.000Z | 2021-09-19T10:33:39.000Z | src/helpers.ts | paulbarclay/loom-js | 5dbf8e49e87c4e03c3b946e23e2a3b6e27d48c7b | [
"BSD-3-Clause"
] | null | null | null | src/helpers.ts | paulbarclay/loom-js | 5dbf8e49e87c4e03c3b946e23e2a3b6e27d48c7b | [
"BSD-3-Clause"
] | 2 | 2018-10-03T15:05:50.000Z | 2019-12-04T15:12:26.000Z | import { Client, ITxMiddlewareHandler } from './client'
import { NonceTxMiddleware, SignedTxMiddleware } from './middleware'
import { publicKeyFromPrivateKey } from './crypto-utils'
/**
* Creates the default set of tx middleware required to successfully commit a tx to a Loom DAppChain.
* @param client The client the... | 38.722222 | 101 | 0.771879 |
ddd6ef230ea85f9ae7b006cd784d9e47cb8339fa | 5,022 | java | Java | car/app/app/src/main/java/androidx/car/app/model/ActionStrip.java | Mu-L/androidx | f42c5f033a9e71bbaf580392cebaa6b274f2aca0 | [
"Apache-2.0"
] | null | null | null | car/app/app/src/main/java/androidx/car/app/model/ActionStrip.java | Mu-L/androidx | f42c5f033a9e71bbaf580392cebaa6b274f2aca0 | [
"Apache-2.0"
] | null | null | null | car/app/app/src/main/java/androidx/car/app/model/ActionStrip.java | Mu-L/androidx | f42c5f033a9e71bbaf580392cebaa6b274f2aca0 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2020 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 32.192308 | 99 | 0.621466 |
3900a7f49afa6d939d6dc4513df732b20be28a95 | 211 | py | Python | ligabot/domain/match.py | eiriktj/ligabot | cbb6645338072d26d22959795efbdd70f2c61d33 | [
"MIT"
] | null | null | null | ligabot/domain/match.py | eiriktj/ligabot | cbb6645338072d26d22959795efbdd70f2c61d33 | [
"MIT"
] | null | null | null | ligabot/domain/match.py | eiriktj/ligabot | cbb6645338072d26d22959795efbdd70f2c61d33 | [
"MIT"
] | null | null | null | class Match:
def __init__(self):
self.date = ""
self.round = ""
self.tournament = ""
self.home = ""
self.score = ""
self.away = ""
self.channels = ""
| 19.181818 | 28 | 0.440758 |
6d25a75c882eba7e542ee0042589cfe812b1bed5 | 211 | dart | Dart | packages/hetu_script/lib/binding/auto_binding.dart | polotto/hetu-script | ea6ef0ca44366ea576622d08a4f3c4db16fb545b | [
"MIT"
] | null | null | null | packages/hetu_script/lib/binding/auto_binding.dart | polotto/hetu-script | ea6ef0ca44366ea576622d08a4f3c4db16fb545b | [
"MIT"
] | null | null | null | packages/hetu_script/lib/binding/auto_binding.dart | polotto/hetu-script | ea6ef0ca44366ea576622d08a4f3c4db16fb545b | [
"MIT"
] | null | null | null | /// Annotation for auto-binding.
/// Referrence: [https://github.com/hetu-script/hetu-script-autobinding](https://github.com/hetu-script/hetu-script-autobinding)
class HTAutoBinding {
const HTAutoBinding();
}
| 35.166667 | 128 | 0.758294 |
a46c5db3edb35e3fbb1e0a6e27725aecf946077c | 3,975 | php | PHP | adm/adm/cad_frete.php | sistemaids/newcorpbrasil | 7d33208138bc3fda0aa2487cc1d110378fa94c46 | [
"BSD-2-Clause"
] | null | null | null | adm/adm/cad_frete.php | sistemaids/newcorpbrasil | 7d33208138bc3fda0aa2487cc1d110378fa94c46 | [
"BSD-2-Clause"
] | null | null | null | adm/adm/cad_frete.php | sistemaids/newcorpbrasil | 7d33208138bc3fda0aa2487cc1d110378fa94c46 | [
"BSD-2-Clause"
] | null | null | null | <?PHP
// +---------------------------------------------------------+
// | Edi��o de registros - frete |
// +---------------------------------------------------------+
include "../inc_dbConexao.php";
SESSION_START();
$acao = $_GET['acao'];
$id = $_GET['id'];
$titulo_pagina = $_G... | 40.979381 | 257 | 0.582642 |
ef1f8c9d8aecfbdc79553595af668c5426a04e78 | 1,198 | kt | Kotlin | confluence-plugin/src/main/java/com/networkedassets/git4c/infrastructure/HtmlErrorPageBuilder.kt | RobertPaasche/git4c | e55391b33cb70d66bbf5f36ba570fb8822f10953 | [
"Apache-2.0"
] | 17 | 2017-08-31T20:54:04.000Z | 2020-12-22T09:45:14.000Z | confluence-plugin/src/main/java/com/networkedassets/git4c/infrastructure/HtmlErrorPageBuilder.kt | RobertPaasche/git4c | e55391b33cb70d66bbf5f36ba570fb8822f10953 | [
"Apache-2.0"
] | 27 | 2017-11-05T14:23:26.000Z | 2021-09-30T04:52:21.000Z | confluence-plugin/src/main/java/com/networkedassets/git4c/infrastructure/HtmlErrorPageBuilder.kt | RobertPaasche/git4c | e55391b33cb70d66bbf5f36ba570fb8822f10953 | [
"Apache-2.0"
] | 8 | 2018-03-08T20:21:57.000Z | 2020-12-25T21:59:41.000Z | package com.networkedassets.git4c.infrastructure
import com.networkedassets.git4c.core.business.ErrorPageBuilder
import com.networkedassets.git4c.core.bussiness.ImportedFileData
import org.apache.commons.lang3.exception.ExceptionUtils
class HtmlErrorPageBuilder: ErrorPageBuilder {
override fun build(file: Import... | 34.228571 | 112 | 0.520033 |
1f485bf1a822c08229b3136902e8701e7befda49 | 381 | lua | Lua | build.lua | ryanhe312/fduthesis | 3db6c36b62affeb941e5201cd4eb02c5179964fe | [
"LPPL-1.3c"
] | 450 | 2019-01-29T03:58:43.000Z | 2022-03-25T03:03:44.000Z | build.lua | ryanhe312/fduthesis | 3db6c36b62affeb941e5201cd4eb02c5179964fe | [
"LPPL-1.3c"
] | 193 | 2019-01-31T06:38:11.000Z | 2022-03-23T16:42:16.000Z | build.lua | ryanhe312/fduthesis | 3db6c36b62affeb941e5201cd4eb02c5179964fe | [
"LPPL-1.3c"
] | 145 | 2019-03-01T10:28:32.000Z | 2022-03-28T09:31:17.000Z | #!/usr/bin/env texlua
-- Build script for fduthesis.
module = "fduthesis"
checkengines = {"xetex", "luatex"}
checkopts = "-interaction=batchmode"
sourcefiles = {"source/*.dtx"}
installfiles = {"*.cls", "*.sty", "*.def"}
-- typesetdeps = {"source/latexmkrc."}
typesetexe = "xelatex"
typesetfiles = {"fduthesis.... | 20.052632 | 42 | 0.656168 |
437047fb9ba3a627ba72a8e8238c61e062798c1d | 1,046 | ts | TypeScript | backend/src/utils/scholarship/selectScholarshipsByCategoryId.ts | team-free-money/team-free-money-cs | c5ff8b048befb4dc695554194c6fb5c807306505 | [
"Apache-2.0"
] | null | null | null | backend/src/utils/scholarship/selectScholarshipsByCategoryId.ts | team-free-money/team-free-money-cs | c5ff8b048befb4dc695554194c6fb5c807306505 | [
"Apache-2.0"
] | null | null | null | backend/src/utils/scholarship/selectScholarshipsByCategoryId.ts | team-free-money/team-free-money-cs | c5ff8b048befb4dc695554194c6fb5c807306505 | [
"Apache-2.0"
] | null | null | null | import {Scholarship} from "../interfaces/Scholarship";
import {connect} from "../database.utils";
import {RowDataPacket} from 'mysql2';
export async function selectScholarshipsByCategoryId(categoryId: string) : Promise<Scholarship[]> {
try {
console.log(categoryId)
const mySqlConnection = await con... | 69.733333 | 532 | 0.778203 |
49a3ead6a0655508c4f79c96f7d0846d824f596a | 658 | dart | Dart | lib/screens/requests/requestlist.dart | kanavpruthi/ShareACab | 71cccef9247cc27064be0fe069ba88226b40947c | [
"MIT"
] | 1 | 2020-06-20T07:17:00.000Z | 2020-06-20T07:17:00.000Z | lib/screens/requests/requestlist.dart | kanavpruthi/ShareACab | 71cccef9247cc27064be0fe069ba88226b40947c | [
"MIT"
] | null | null | null | lib/screens/requests/requestlist.dart | kanavpruthi/ShareACab | 71cccef9247cc27064be0fe069ba88226b40947c | [
"MIT"
] | null | null | null | import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
class RequestDetails {
@required
final String name;
@required
final String finalDestination;
@required
final String id;
@required
final String destination;
@required
final DateTime startDate;
@required
final TimeO... | 23.5 | 153 | 0.753799 |
ff248193e25ef8d38d150e64bc64284ed07fe8b8 | 958 | py | Python | mayan/apps/databases/patches.py | nattangwiwat/Mayan-EDMS-recitation | fcf16afb56eae812fb99144d65ae1ae6749de0b7 | [
"Apache-2.0"
] | 343 | 2015-01-05T14:19:35.000Z | 2018-12-10T19:07:48.000Z | mayan/apps/databases/patches.py | nattangwiwat/Mayan-EDMS-recitation | fcf16afb56eae812fb99144d65ae1ae6749de0b7 | [
"Apache-2.0"
] | 191 | 2015-01-03T00:48:19.000Z | 2018-11-30T09:10:25.000Z | mayan/apps/databases/patches.py | nattangwiwat/Mayan-EDMS-recitation | fcf16afb56eae812fb99144d65ae1ae6749de0b7 | [
"Apache-2.0"
] | 257 | 2019-05-14T10:26:37.000Z | 2022-03-30T03:37:36.000Z | import datetime
from django.conf import settings
from django.db.migrations import Migration
def patch_Migration():
_method_original__apply = Migration.apply
_method_original__unapply = Migration.unapply
def _method_patched__apply(self, *args, **kwargs):
now_start = datetime.datetime.now()
... | 29.9375 | 65 | 0.68476 |
5bff7566177243efb113abd6625d346304c75e8c | 64 | css | CSS | app/portainer/settings/authentication/ldap/ldap-settings-custom/ldap-settings-custom.css | TONITUCKER/portainer | c442d936d3cabfc66f8560b2f4087b4331935c39 | [
"Zlib"
] | 1 | 2022-02-14T21:28:16.000Z | 2022-02-14T21:28:16.000Z | app/portainer/settings/authentication/ldap/ldap-settings-custom/ldap-settings-custom.css | powerpook/portainer | 335f951e6b59f7e3f1177bb29481e31d3c02d2f5 | [
"Zlib"
] | 1 | 2022-01-22T11:53:55.000Z | 2022-01-22T11:53:56.000Z | app/portainer/settings/authentication/ldap/ldap-settings-custom/ldap-settings-custom.css | powerpook/portainer | 335f951e6b59f7e3f1177bb29481e31d3c02d2f5 | [
"Zlib"
] | null | null | null | label[for='anonymous_mode'].control-label {
padding-top: 0;
}
| 16 | 43 | 0.703125 |
a4583cd7886681bad3d002575a2169d0f1630260 | 12,232 | php | PHP | src/core/classes/org/glizycms/core/application/Application.php | GiulioTuretta/Movio | 0ed030673214fb11680077bcb49efdbfd4aef4cf | [
"MIT"
] | 18 | 2016-06-02T08:09:30.000Z | 2021-05-09T08:37:18.000Z | src/core/classes/org/glizycms/core/application/Application.php | GiulioTuretta/Movio | 0ed030673214fb11680077bcb49efdbfd4aef4cf | [
"MIT"
] | 18 | 2016-03-29T11:26:18.000Z | 2021-11-03T15:14:09.000Z | src/core/classes/org/glizycms/core/application/Application.php | GiulioTuretta/Movio | 0ed030673214fb11680077bcb49efdbfd4aef4cf | [
"MIT"
] | 6 | 2017-12-09T09:53:35.000Z | 2021-07-23T15:23:42.000Z | <?php
/**
* Application class.
*
* This file is part of the GLIZY framework.
* Copyright (c) 2005-2012 Daniele Ugoletti <daniele.ugoletti@glizy.com>
*
* For the full copyright and license information, please view the COPYRIGHT.txt
* file that was distributed with this source code.
*/
class org_glizycms_core_... | 38.465409 | 179 | 0.544637 |
e7810c3be000b9ba7c888db670502587b5cae9a5 | 587 | php | PHP | module/Application/src/View/Helper/LoggedIn.php | backjack/classroom | 6b4e63616ade09d83ba8cbbb72722b73667472b1 | [
"BSD-3-Clause"
] | null | null | null | module/Application/src/View/Helper/LoggedIn.php | backjack/classroom | 6b4e63616ade09d83ba8cbbb72722b73667472b1 | [
"BSD-3-Clause"
] | null | null | null | module/Application/src/View/Helper/LoggedIn.php | backjack/classroom | 6b4e63616ade09d83ba8cbbb72722b73667472b1 | [
"BSD-3-Clause"
] | null | null | null | <?php
/**
* Application\View\Helper
*
* @author
* @version
*/
namespace Application\View\Helper;
use Intermatics\UtilityFunctions;
use Zend\View\Helper\AbstractHelper;
use Zend\ServiceManager\ServiceLocatorInterface;
/**
* View Helper
*/
class LoggedIn extends AbstractViewHelper {
public function __in... | 16.305556 | 61 | 0.678024 |
fdce023265e611a0b1a6102c643d4fb607e20176 | 2,784 | css | CSS | autotest/testsuite/properties/positive/border-left/css1/001.css | drspun/css-validator | f92c2ae01af9d961e1833f64d5153e5f10742aa6 | [
"W3C-19980720"
] | null | null | null | autotest/testsuite/properties/positive/border-left/css1/001.css | drspun/css-validator | f92c2ae01af9d961e1833f64d5153e5f10742aa6 | [
"W3C-19980720"
] | null | null | null | autotest/testsuite/properties/positive/border-left/css1/001.css | drspun/css-validator | f92c2ae01af9d961e1833f64d5153e5f10742aa6 | [
"W3C-19980720"
] | 1 | 2021-05-16T12:06:46.000Z | 2021-05-16T12:06:46.000Z | bt1 { border-left: #f00 }
bt2 { border-left: #f00 dotted }
bt3 { border-left: #f00 dotted 1px }
bt4 { border-left: #f00 dotted thin }
bt5 { border-left: #f00 1px }
bt6 { border-left: #f00 1px dotted }
bt7 { border-left: #f00 1px none }
bt8 { border-left: #f00 none }
bt9 { border-left: #f00 none 1px }
bt10 { ... | 35.240506 | 40 | 0.661638 |
cf34c0e67b923ec5ee4b487c88c3d9062b55ab95 | 863 | php | PHP | app/Transformers/ProjectFileTransformer.php | marcelobjr/Laravel-Angular | 3a8e3317de17223c9a8ca15db549db1a82b74270 | [
"MIT"
] | null | null | null | app/Transformers/ProjectFileTransformer.php | marcelobjr/Laravel-Angular | 3a8e3317de17223c9a8ca15db549db1a82b74270 | [
"MIT"
] | null | null | null | app/Transformers/ProjectFileTransformer.php | marcelobjr/Laravel-Angular | 3a8e3317de17223c9a8ca15db549db1a82b74270 | [
"MIT"
] | null | null | null | <?php
namespace Code\Transformers;
use League\Fractal\TransformerAbstract;
use Code\Entities\ProjectFile;
/**
* Class ProjectFileTransformer
* @package namespace Code\Transformers;
*/
class ProjectFileTransformer extends TransformerAbstract
{
/**
* Transform the \ProjectFile entity
* @param \Projec... | 22.710526 | 56 | 0.567787 |
aee4d44b3d700654b1c8cffe8e5f479553328239 | 1,328 | cs | C# | Assets/Scripts/UIController.cs | aguandstrika/sillyHacksSimulator | 070a229ac08677e78e583fa899e1272874312e72 | [
"MIT"
] | null | null | null | Assets/Scripts/UIController.cs | aguandstrika/sillyHacksSimulator | 070a229ac08677e78e583fa899e1272874312e72 | [
"MIT"
] | null | null | null | Assets/Scripts/UIController.cs | aguandstrika/sillyHacksSimulator | 070a229ac08677e78e583fa899e1272874312e72 | [
"MIT"
] | null | null | null | using System.Collections;
using System.Collections.Generic;
using TMPro;
using UnityEngine;
using UnityEngine.UIElements;
public class UIController : MonoBehaviour
{
// Start is called before the first frame update
public GameObject hourBar;
public GameObject hourText;
public float hours = 48;
pub... | 34.947368 | 97 | 0.709337 |
db6e1e382852d6a69556dca58d340b3f6a844a76 | 5,609 | php | PHP | database/seeders/DatabaseSeeder.php | didapatria/prakweb2021_laravel_193040052 | 17dd21934c126133db4b78360cc18c564ccef9d5 | [
"MIT"
] | null | null | null | database/seeders/DatabaseSeeder.php | didapatria/prakweb2021_laravel_193040052 | 17dd21934c126133db4b78360cc18c564ccef9d5 | [
"MIT"
] | null | null | null | database/seeders/DatabaseSeeder.php | didapatria/prakweb2021_laravel_193040052 | 17dd21934c126133db4b78360cc18c564ccef9d5 | [
"MIT"
] | null | null | null | <?php
namespace Database\Seeders;
use Illuminate\Database\Seeder;
use App\Models\User;
use App\Models\Category;
use App\Models\Post;
class DatabaseSeeder extends Seeder
{
/**
* Seed the application's database.
*
* @return void
*/
public function run()
{
User::create([
... | 62.322222 | 762 | 0.668925 |
a3425fab18aa0fbca5089fc8e8f15c287d3adc99 | 895 | ts | TypeScript | typings-custom/node-expat.d.ts | mercury83/cxsd | 652fa04a97b290fee87f82a6b7283353fe3249b9 | [
"MIT"
] | 91 | 2016-07-03T16:53:39.000Z | 2022-03-04T04:20:03.000Z | typings-custom/node-expat.d.ts | mercury83/cxsd | 652fa04a97b290fee87f82a6b7283353fe3249b9 | [
"MIT"
] | 26 | 2016-02-17T03:12:03.000Z | 2022-01-09T15:58:53.000Z | typings-custom/node-expat.d.ts | mercury83/cxsd | 652fa04a97b290fee87f82a6b7283353fe3249b9 | [
"MIT"
] | 40 | 2016-04-03T02:13:48.000Z | 2022-03-16T15:33:49.000Z | declare module "node-expat" {
import * as events from "events";
export class Parser extends events.EventEmitter {
constructor(encoding: string);
parse(data: string | Buffer, isFinal: boolean): boolean;
setEncoding(encoding: string): boolean;
// setUnknownEncoding() TODO
// getError() TODO
stop(): boo... | 24.861111 | 90 | 0.694972 |
5882ec1c88e29d178536f12882f7fae09243256b | 1,774 | css | CSS | Aula6/style.css | mfsilveira/apex-formacao-fe | 7935ff5f5759bf94c2eab0cd902cda4d7866fcfa | [
"MIT"
] | null | null | null | Aula6/style.css | mfsilveira/apex-formacao-fe | 7935ff5f5759bf94c2eab0cd902cda4d7866fcfa | [
"MIT"
] | null | null | null | Aula6/style.css | mfsilveira/apex-formacao-fe | 7935ff5f5759bf94c2eab0cd902cda4d7866fcfa | [
"MIT"
] | 1 | 2018-09-17T12:52:44.000Z | 2018-09-17T12:52:44.000Z | form {
width: 80%;
display: flex;
justify-content: space-between;
align-items: flex-start;
flex-direction: row;
flex-wrap: wrap;
}
.content {
display: flex;
justify-content: center;
flex-direction: column;
align-items: center;
width: 100%;
}
h1 {
font-family: "Open Sans... | 14.192 | 47 | 0.587937 |
e83d4bf778f44611bd35ea65edcb370904d316d4 | 967 | cs | C# | StarryEyes/Models/Backstages/BackstageEventBase.cs | ktoku89/StarryEyes | 2ab80f61508cee9898d449d2aa374623c3f234fe | [
"MIT"
] | 84 | 2015-02-12T07:54:45.000Z | 2021-08-28T07:44:22.000Z | StarryEyes/Models/Backstages/BackstageEventBase.cs | ktoku89/StarryEyes | 2ab80f61508cee9898d449d2aa374623c3f234fe | [
"MIT"
] | 28 | 2015-01-09T06:25:12.000Z | 2018-10-20T02:41:36.000Z | StarryEyes/Models/Backstages/BackstageEventBase.cs | ktoku89/StarryEyes | 2ab80f61508cee9898d449d2aa374623c3f234fe | [
"MIT"
] | 56 | 2015-01-09T08:18:41.000Z | 2022-02-18T17:04:57.000Z | using System.Windows.Media;
namespace StarryEyes.Models.Backstages
{
/// <summary>
/// Represents event.
/// </summary>
public abstract class BackstageEventBase
{
/// <summary>
/// Title of the event.
/// </summary>
public abstract string Title { get; }
/// ... | 26.135135 | 72 | 0.541882 |
ad8f082e017ec33d28f1d7f9e36c9af4dffc1e72 | 155 | rb | Ruby | spec/support/active_record/models/post.rb | GraphQL-Query-Planner/graphql-analyzer | b989c910fd5f070cdc5256cbe5ba2be071282a79 | [
"MIT"
] | 4 | 2018-03-14T03:29:47.000Z | 2020-11-04T10:56:30.000Z | spec/support/active_record/models/post.rb | GraphQL-Query-Planner/graphql-analyzer | b989c910fd5f070cdc5256cbe5ba2be071282a79 | [
"MIT"
] | 7 | 2018-02-08T20:49:26.000Z | 2019-02-05T22:37:34.000Z | spec/support/active_record/models/post.rb | GraphQL-Query-Planner/graphql-analyzer | b989c910fd5f070cdc5256cbe5ba2be071282a79 | [
"MIT"
] | null | null | null | class Post < ApplicationRecord
belongs_to :author, class_name: 'User'
belongs_to :receiver, class_name: 'User'
has_many :comments, as: :content
end
| 22.142857 | 42 | 0.748387 |
11c8a299b52629878ad160622265055cf58b78b8 | 5,418 | go | Go | pkg/ast/Linker.go | mewbak/geode | acc6eca680845c2516462d470c40b0ac2a9b6640 | [
"MIT"
] | 17 | 2018-09-14T04:42:34.000Z | 2022-01-10T20:49:29.000Z | pkg/ast/Linker.go | mewbak/geode | acc6eca680845c2516462d470c40b0ac2a9b6640 | [
"MIT"
] | 11 | 2018-08-14T14:57:41.000Z | 2020-08-23T20:52:30.000Z | pkg/ast/Linker.go | mewbak/geode | acc6eca680845c2516462d470c40b0ac2a9b6640 | [
"MIT"
] | 4 | 2018-08-14T14:53:57.000Z | 2019-04-29T13:51:54.000Z | package ast
import (
"fmt"
"io/ioutil"
"os"
"path"
"path/filepath"
"strings"
"github.com/geode-lang/geode/pkg/arg"
"github.com/geode-lang/geode/pkg/util"
"github.com/geode-lang/geode/pkg/util/log"
)
// CompileTarget is a target to build a binary for
type CompileTarget int
// Some default targets
const (
... | 23.353448 | 121 | 0.631414 |
f455b51d2269bdf8683020ccaa64cf569c67b470 | 26 | ts | TypeScript | src/client/api/index.ts | zl940722/antd-mobile-fastify | 7a542617647f71f6527ddcd62c26f82f3994e819 | [
"MIT"
] | 2 | 2018-05-02T09:51:21.000Z | 2018-05-03T09:02:25.000Z | src/client/api/index.ts | zl940722/antd-mobile-fastify-router4 | 7a542617647f71f6527ddcd62c26f82f3994e819 | [
"MIT"
] | null | null | null | src/client/api/index.ts | zl940722/antd-mobile-fastify-router4 | 7a542617647f71f6527ddcd62c26f82f3994e819 | [
"MIT"
] | null | null | null | export * from './mainApi'
| 13 | 25 | 0.653846 |
960430a881322af6866b70459ae112ff727c672a | 871 | kt | Kotlin | nutshellfcm/nuthsellfcm-framework/src/main/java/com/nutshellfcm/framework/ImportanceTranslator.kt | Dor558/NutshellFirebase | 05602e8189ade7d11c05523b75aec5ef357bc91d | [
"Apache-2.0"
] | 11 | 2019-08-28T15:40:43.000Z | 2019-09-08T15:32:30.000Z | nutshellfcm/nuthsellfcm-framework/src/main/java/com/nutshellfcm/framework/ImportanceTranslator.kt | Dor558/NutshellFirebase | 05602e8189ade7d11c05523b75aec5ef357bc91d | [
"Apache-2.0"
] | null | null | null | nutshellfcm/nuthsellfcm-framework/src/main/java/com/nutshellfcm/framework/ImportanceTranslator.kt | Dor558/NutshellFirebase | 05602e8189ade7d11c05523b75aec5ef357bc91d | [
"Apache-2.0"
] | null | null | null | package com.nutshellfcm.framework
import androidx.core.app.NotificationCompat.*
import androidx.core.app.NotificationManagerCompat.*
import com.nutshellfcm.framework.NutshellFCMContract.Importance.*
internal class ImportanceTranslator: NutshellFCMContract.Translators.ImportanceTranslator {
override fun getAndroi... | 36.291667 | 91 | 0.657865 |
acdec2e23bb1df56052889fc7e1eff6fd27ab5c5 | 9,428 | swift | Swift | SerializableDataDemo/SerializableDataDemoTests/SerializableDataDemoTests.swift | mleiv/SerializableData | df10006715841fed45f00376c939a6ffb66a1a97 | [
"MIT"
] | 14 | 2015-10-17T07:07:42.000Z | 2016-10-09T02:18:22.000Z | SerializableDataDemo/SerializableDataDemoTests/SerializableDataDemoTests.swift | mleiv/SerializableData | df10006715841fed45f00376c939a6ffb66a1a97 | [
"MIT"
] | null | null | null | SerializableDataDemo/SerializableDataDemoTests/SerializableDataDemoTests.swift | mleiv/SerializableData | df10006715841fed45f00376c939a6ffb66a1a97 | [
"MIT"
] | null | null | null | //
// SerializableDataDemoTests.swift
// SerializableDataDemoTests
//
// Created by Emily Ivie on 10/16/15.
// Copyright © 2015 Emily Ivie. All rights reserved.
//
import XCTest
@testable import SerializableDataDemo
class SerializableDataDemoTests: XCTestCase {
let sampleJson = "{\"persons\":[{\"id\": \"\(UU... | 52.088398 | 572 | 0.603203 |
752aa5949ac096addffee280358f9baf0b182f97 | 808 | sql | SQL | peacetrue-template-model-content/src/test/resources/schema-route.sql | peacetrue/peacetrue-template-model | 5040440a18d6f52180271f48b9ab08d179978589 | [
"Apache-2.0"
] | 3 | 2020-02-24T04:35:17.000Z | 2020-02-24T22:20:37.000Z | peacetrue-template-model-content/src/test/resources/schema-route.sql | peacetrue/peacetrue-template-model | 5040440a18d6f52180271f48b9ab08d179978589 | [
"Apache-2.0"
] | null | null | null | peacetrue-template-model-content/src/test/resources/schema-route.sql | peacetrue/peacetrue-template-model | 5040440a18d6f52180271f48b9ab08d179978589 | [
"Apache-2.0"
] | null | null | null | DROP TABLE IF EXISTS route;
create table route
(
id bigint auto_increment primary key,
express_type_code varchar(63) not null comment '快递类型',
code varchar(63) not null comment '路由编号',
order_code varchar(63) null comment '订单编号',
express_code varchar(63) not... | 50.5 | 117 | 0.642327 |
1a953e704d5d407b81986a9f24e7997bbfcd87e9 | 3,482 | py | Python | pvhttpsrv/server.py | cszielke/SolarPy | 7a0575c98033c42c391783428adad1f9782943e6 | [
"MIT"
] | null | null | null | pvhttpsrv/server.py | cszielke/SolarPy | 7a0575c98033c42c391783428adad1f9782943e6 | [
"MIT"
] | null | null | null | pvhttpsrv/server.py | cszielke/SolarPy | 7a0575c98033c42c391783428adad1f9782943e6 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
import os
from http.server import BaseHTTPRequestHandler
from pvhttpsrv.routes.main import routes
from pvhttpsrv.routes.response.dataRequestHandler import DataRequestHandler
from pvhttpsrv.routes.response.configRequestHandler import ConfigRequestHandler
from pvhttpsrv.routes.response.serv... | 36.652632 | 104 | 0.626364 |
37b97f7c48e9d5bf34c10a4c272f127df3a11f58 | 805 | rb | Ruby | lib/travis/settings/model.rb | saucelabs/travis-core | c7e1301ed3ea5364a638c3e947d646219529e7c4 | [
"MIT"
] | 113 | 2015-01-05T18:51:55.000Z | 2021-11-14T17:39:44.000Z | lib/travis/settings/model.rb | ConnectionMaster/travis-core | 1d60188446e12fe9d4b29276dc82837eadf91829 | [
"MIT"
] | 78 | 2015-01-05T19:24:06.000Z | 2018-05-10T13:47:09.000Z | lib/travis/settings/model.rb | ConnectionMaster/travis-core | 1d60188446e12fe9d4b29276dc82837eadf91829 | [
"MIT"
] | 65 | 2015-01-02T09:09:41.000Z | 2020-07-28T06:13:53.000Z | require 'virtus'
require 'travis/settings/encrypted_value'
require 'travis/settings/model_extensions'
class Travis::Settings
class Model
include Virtus.model
include ActiveModel::Validations
include ModelExtensions
include ActiveModel::Serialization
def attribute?(name)
attributes.keys.inc... | 20.125 | 54 | 0.701863 |
2fc504df4b5103bcf9690e07aaec24478eba8496 | 462 | py | Python | secret_santaclaus/congratulations.py | wheeltune/secret-santaclaus | c8082d2d8ef12297c8503e95954184e9352a4917 | [
"MIT"
] | null | null | null | secret_santaclaus/congratulations.py | wheeltune/secret-santaclaus | c8082d2d8ef12297c8503e95954184e9352a4917 | [
"MIT"
] | null | null | null | secret_santaclaus/congratulations.py | wheeltune/secret-santaclaus | c8082d2d8ef12297c8503e95954184e9352a4917 | [
"MIT"
] | null | null | null | import random
import re
__all__ = ['Congratulations']
class Congratulations:
def __init__(self):
self._texts = []
with open('data/congratulations.txt', 'r') as file:
for line in file:
line = line.strip()
if line:
self._texts.append(... | 23.1 | 59 | 0.547619 |
c18c1acb723168913cddc4bb712d727edc02d5c2 | 909 | sql | SQL | schema/routines/count_by_current_ratio.sql | eclissi91/brahma | 5ef9f8e9d9d3871c21aa9832962ee9ee3800c9a9 | [
"MIT"
] | null | null | null | schema/routines/count_by_current_ratio.sql | eclissi91/brahma | 5ef9f8e9d9d3871c21aa9832962ee9ee3800c9a9 | [
"MIT"
] | 1 | 2020-10-28T13:00:20.000Z | 2020-10-29T09:39:20.000Z | schema/routines/count_by_current_ratio.sql | eclissi91/brahma | 5ef9f8e9d9d3871c21aa9832962ee9ee3800c9a9 | [
"MIT"
] | 1 | 2020-10-29T08:20:01.000Z | 2020-10-29T08:20:01.000Z | #
# Copyright (c) Ionplus AG and contributors. All rights reserved.
# Licensed under the MIT license. See LICENSE file in the project root for details.
#
delimiter //
# summary:
# Calculates the ratio between the specified count and the specified current.
#
# params:
# - $count: The count.
# - $current_mi... | 30.3 | 118 | 0.716172 |
f65649ca1352400cf3cc53daee9b4085b521cf68 | 572 | cpp | C++ | hackerrank/non-divisible-subset/solution.cpp | SamProkopchuk/coding-problems | fa0ca2c05ac90e41945de1a5751e5545a8459ac4 | [
"MIT"
] | null | null | null | hackerrank/non-divisible-subset/solution.cpp | SamProkopchuk/coding-problems | fa0ca2c05ac90e41945de1a5751e5545a8459ac4 | [
"MIT"
] | null | null | null | hackerrank/non-divisible-subset/solution.cpp | SamProkopchuk/coding-problems | fa0ca2c05ac90e41945de1a5751e5545a8459ac4 | [
"MIT"
] | null | null | null | #include <iostream>
#include <unordered_map>
using namespace std;
int main() {
int n, mod, temp, res;
cin >> n >> mod;
unordered_map<int, int> remcount;
for (int posrem = 0; posrem < mod; posrem++) {
// Simple defaultdict-like behavior
remcount[posrem] = 0;
}
for (int c = 0; c < n; c++) {
cin ... | 22.88 | 64 | 0.547203 |
c47871a5d8133a4a65f916b37349926ab5def4aa | 5,139 | cpp | C++ | base/fs/sis/groveler/pathlist.cpp | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | base/fs/sis/groveler/pathlist.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | base/fs/sis/groveler/pathlist.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | /*++
Copyright (c) 1998 Microsoft Corporation
Module Name:
pathlist.cpp
Abstract:
SIS Groveler path list manager
Authors:
John Douceur, 1998
Environment:
User Mode
Revision History:
--*/
#include "all.hxx"
static const _TCHAR *paths_ini_filename = _T("grovel.i... | 28.870787 | 85 | 0.615684 |
795c851032e2bece1d8584715aa64538f2d46924 | 1,179 | php | PHP | app/Http/Controllers/UploadFileController.php | bill1224/flea_market_site | a36eefd4b1743b723438a4ab08b8bbc6b94ad413 | [
"MIT"
] | null | null | null | app/Http/Controllers/UploadFileController.php | bill1224/flea_market_site | a36eefd4b1743b723438a4ab08b8bbc6b94ad413 | [
"MIT"
] | null | null | null | app/Http/Controllers/UploadFileController.php | bill1224/flea_market_site | a36eefd4b1743b723438a4ab08b8bbc6b94ad413 | [
"MIT"
] | null | null | null | <?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Storage;
use App\Models\Photo;
class UploadFileController extends Controller
{
public function index()
{
return view('picture');
}
// public function store(Request $request)
// {
// ... | 25.630435 | 79 | 0.514843 |
a38f89936739ee239f4cbbc07a5aadd564bd0075 | 1,060 | ts | TypeScript | src/app/shared/services/api.service.ts | inidaname/waterfront | 99b09425054bde3eab0c1da5e8c36e0fc53887b0 | [
"MIT"
] | null | null | null | src/app/shared/services/api.service.ts | inidaname/waterfront | 99b09425054bde3eab0c1da5e8c36e0fc53887b0 | [
"MIT"
] | 9 | 2021-01-28T20:36:07.000Z | 2022-03-25T19:00:41.000Z | src/app/shared/services/api.service.ts | inidaname/waterfront | 99b09425054bde3eab0c1da5e8c36e0fc53887b0 | [
"MIT"
] | null | null | null | import { Injectable } from '@angular/core';
import { HttpClient } from '@angular/common/http';
import { environment } from 'src/environments/environment';
import { Observable } from 'rxjs';
import {map, catchError} from 'rxjs/operators';
@Injectable({
providedIn: 'root'
})
export class ApiService {
api: string = ... | 27.179487 | 84 | 0.658491 |
e913a504cb6fc05498694b45804f0f6700041df8 | 496 | cql | SQL | src/neo4j/cypher/node_tweet.cql | CLARITI-REPHRAIN/mumin-trawl | 8a7eda49d8740e927332cd3972750d0b54c23eb1 | [
"MIT"
] | null | null | null | src/neo4j/cypher/node_tweet.cql | CLARITI-REPHRAIN/mumin-trawl | 8a7eda49d8740e927332cd3972750d0b54c23eb1 | [
"MIT"
] | null | null | null | src/neo4j/cypher/node_tweet.cql | CLARITI-REPHRAIN/mumin-trawl | 8a7eda49d8740e927332cd3972750d0b54c23eb1 | [
"MIT"
] | null | null | null | UNWIND $tweets AS tweet
WITH tweet
WHERE tweet.id IS NOT NULL
MERGE (n:Tweet {tweetId:tweet.id})
ON CREATE SET
n.text = tweet.text,
n.source = tweet.source,
n.lang = tweet.lang,
n.createdAt = tweet.created_at,
n.likeCount = toInteger(tweet['public_metrics.like_count']),
n.retweetCount = toIntege... | 35.428571 | 70 | 0.721774 |
f07958733cd981dd081d634dc3709f33d83b1dd5 | 5,394 | swift | Swift | HotProspects/Techniques.swift | M4t2h3w/100DaysWithSwiftUI | 3d08e7a52a8e12a8de43687a5a45a02825ef8963 | [
"MIT"
] | null | null | null | HotProspects/Techniques.swift | M4t2h3w/100DaysWithSwiftUI | 3d08e7a52a8e12a8de43687a5a45a02825ef8963 | [
"MIT"
] | null | null | null | HotProspects/Techniques.swift | M4t2h3w/100DaysWithSwiftUI | 3d08e7a52a8e12a8de43687a5a45a02825ef8963 | [
"MIT"
] | null | null | null | //
// ContentView.swift
// HotProspects
//
// Created by Matej Novotný on 15/11/2020.
//
import SamplePackage
import UserNotifications
import SwiftUI
class User: ObservableObject {
@Published var name = "Taylor Swift"
}
struct EditView: View {
@EnvironmentObject var user: User
var body: some View... | 29.47541 | 128 | 0.46218 |
b358a3ff2afe6dd7adb665a987fda584c2ac71b4 | 566 | py | Python | Baekjoon/1004.py | pumaka/TIL | 50d2ab309896eaf4e6416fa9b3f26552e74d7a5e | [
"CC0-1.0"
] | null | null | null | Baekjoon/1004.py | pumaka/TIL | 50d2ab309896eaf4e6416fa9b3f26552e74d7a5e | [
"CC0-1.0"
] | null | null | null | Baekjoon/1004.py | pumaka/TIL | 50d2ab309896eaf4e6416fa9b3f26552e74d7a5e | [
"CC0-1.0"
] | null | null | null | import math
def length(x1,y1,c1,c2,r):
len_ = 0
len_ = math.sqrt((c1-x1)**2 + (c2-y1)**2)
if(len_ >= r):
return 0;
else:
return 1;
count = 0
T = int(input())
for i in range(T):
x1, y1, x2, y2 = map(int, input().split())
N = int(input())
for l in range(N):
c1, c2, r ... | 23.583333 | 128 | 0.492933 |
0a44a381426fd43cbb8f87eb310687993cd6638e | 1,003 | cs | C# | Amazon.Pay.API.SDK/WebStore/Types/MerchantMetadata.cs | nabehiro/amazon-pay-api-sdk-dotnet | dd55e49f93349f0549792d75f158e0c8e8357c37 | [
"Apache-2.0"
] | null | null | null | Amazon.Pay.API.SDK/WebStore/Types/MerchantMetadata.cs | nabehiro/amazon-pay-api-sdk-dotnet | dd55e49f93349f0549792d75f158e0c8e8357c37 | [
"Apache-2.0"
] | null | null | null | Amazon.Pay.API.SDK/WebStore/Types/MerchantMetadata.cs | nabehiro/amazon-pay-api-sdk-dotnet | dd55e49f93349f0549792d75f158e0c8e8357c37 | [
"Apache-2.0"
] | null | null | null | using Newtonsoft.Json;
using System;
namespace Amazon.Pay.API.WebStore.Types
{
public class MerchantMetadata
{
/// <summary>
/// External merchant order identifer.
/// </summary>
[JsonProperty(PropertyName = "merchantReferenceId")]
public string MerchantReferenceId { ge... | 30.393939 | 90 | 0.604187 |
ce17f959bbdeeb26b92a58844c350ad2899d05e5 | 44,302 | rs | Rust | hal/src/spi.rs | newAM/stm32wlxx-hal | a9d4b5a77d7d4fc6d5da3402328196d980d4b680 | [
"MIT"
] | 10 | 2021-11-03T08:15:01.000Z | 2022-03-23T21:10:29.000Z | hal/src/spi.rs | newAM/stm32wlxx-hal | a9d4b5a77d7d4fc6d5da3402328196d980d4b680 | [
"MIT"
] | 9 | 2021-10-31T19:28:23.000Z | 2022-03-17T23:36:23.000Z | hal/src/spi.rs | newAM/stm32wlxx-hal | a9d4b5a77d7d4fc6d5da3402328196d980d4b680 | [
"MIT"
] | 4 | 2021-11-02T15:16:45.000Z | 2022-03-10T12:14:32.000Z | //! Serial peripheral interface
//!
//! The [`Spi`] struct implement the [`embedded-hal`] traits for transfers.
//!
//! # Constructors
//!
//! There was a minor cartesian explosion when writing this module.
//! This will get a lot nicer when [GATs are stabilized].
//!
//! | Function | Bus | p... | 32.551065 | 106 | 0.443817 |
7563b4f06e957bc88f60d2c512bc8bd1a987ff63 | 2,878 | css | CSS | assets/history/history.css | KawaiiShadowii/maribelhearn.com | 904e314432588b3210177eec412a452e02bf98c2 | [
"MIT"
] | null | null | null | assets/history/history.css | KawaiiShadowii/maribelhearn.com | 904e314432588b3210177eec412a452e02bf98c2 | [
"MIT"
] | null | null | null | assets/history/history.css | KawaiiShadowii/maribelhearn.com | 904e314432588b3210177eec412a452e02bf98c2 | [
"MIT"
] | null | null | null | table {
margin-left: auto;
margin-right: auto;
}
table, tr, th, td {
border: 1px solid black;
text-align: center;
}
caption {
margin-bottom: 10px;
}
div > div > p {
margin: 4px;
}
.hidden {
border: none;
text-align: left;
}
.separator {
margin-top: 16px;
}
.border {
border: 1px s... | 15.726776 | 68 | 0.589646 |
b0878be9e684e61d99a80d32086d7c4ecf7e7fa0 | 1,076 | py | Python | gtsfm/feature_extractor.py | swershrimpy/gtsfm | 8d301eb3ef9172345a1ac1369fd4e19764d28946 | [
"Apache-2.0"
] | 122 | 2021-02-07T23:01:58.000Z | 2022-03-30T13:10:35.000Z | gtsfm/feature_extractor.py | swershrimpy/gtsfm | 8d301eb3ef9172345a1ac1369fd4e19764d28946 | [
"Apache-2.0"
] | 273 | 2021-01-30T16:45:26.000Z | 2022-03-16T15:02:33.000Z | gtsfm/feature_extractor.py | swershrimpy/gtsfm | 8d301eb3ef9172345a1ac1369fd4e19764d28946 | [
"Apache-2.0"
] | 13 | 2021-03-12T03:01:27.000Z | 2022-03-11T03:16:54.000Z | """Extracts features and their descriptors from a single image.
Authors: Ayush Baid, John Lambert
"""
from typing import Tuple
from dask.delayed import Delayed
from gtsfm.frontend.detector_descriptor.detector_descriptor_base import DetectorDescriptorBase
class FeatureExtractor:
"""Wrapper for running detection... | 31.647059 | 94 | 0.716543 |
38809efa0a5f9e9a257a446845860562c5b7e21c | 1,088 | php | PHP | nav.php | kduddy/tslown | db4992dcbb07604313ed15433a58a2c639fe67a1 | [
"FSFAP"
] | null | null | null | nav.php | kduddy/tslown | db4992dcbb07604313ed15433a58a2c639fe67a1 | [
"FSFAP"
] | null | null | null | nav.php | kduddy/tslown | db4992dcbb07604313ed15433a58a2c639fe67a1 | [
"FSFAP"
] | null | null | null | <div id="nav">
<ul>
<li><a href="index.php">home</a></li>
<li><a href="aboutbook.php">about the book</a></li>
<li><a href="thesecretlife.php" class="secret-link">inside the<br/>secret life</a></li>
<li><a href="bio.php">biography</a></li>
<li><a href="programs.php">programs</a></li>
<ul>
<li><a href="... | 37.517241 | 136 | 0.621324 |
c8b95534cc9d9e771b7e3464c8077e833a278a4b | 4,233 | ps1 | PowerShell | VMShutdown.ps1 | askew/runbooks | c12233c8f731cbb4fa2ac2c8b62c7276a171c5d2 | [
"MIT"
] | null | null | null | VMShutdown.ps1 | askew/runbooks | c12233c8f731cbb4fa2ac2c8b62c7276a171c5d2 | [
"MIT"
] | null | null | null | VMShutdown.ps1 | askew/runbooks | c12233c8f731cbb4fa2ac2c8b62c7276a171c5d2 | [
"MIT"
] | null | null | null | <#
.SYNOPSIS
This Azure Automation runbook automates the shutdown of virtual machines
.DESCRIPTION
.PARAMETER connectionName
The name of an AzureServicePrincipal connection configureed in the automation assets
that has contributor access to subscriptions.
.INPUTS
... | 40.701923 | 288 | 0.617529 |
93bda810846225ddb0fbe3b4e099042b27555c6d | 697 | cs | C# | Bill.Management/Program.cs | DaniilMonin/levelup_160321 | d65d48195a33bc259a81ea289acaa4c0c8b9a2e4 | [
"MIT"
] | null | null | null | Bill.Management/Program.cs | DaniilMonin/levelup_160321 | d65d48195a33bc259a81ea289acaa4c0c8b9a2e4 | [
"MIT"
] | null | null | null | Bill.Management/Program.cs | DaniilMonin/levelup_160321 | d65d48195a33bc259a81ea289acaa4c0c8b9a2e4 | [
"MIT"
] | 1 | 2021-05-03T18:06:12.000Z | 2021-05-03T18:06:12.000Z | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Bill.Management.Abstractions;
using Bill.Management.Rest.Service.Client;
using Bill.Management.Rest.Service.Client.Connection;
using BillManagement.Core.Abstractions.Data.Results;
using BillManagement.Imlementations.Data;
namespace Bi... | 25.814815 | 90 | 0.707317 |
c69702905dd18e363497f22c50dd71a10a0c465e | 816 | py | Python | server/pythonCode/DataGenerator.py | varsheshjp/game | 2a47f2099aa0538301815272f749c63aa11e6ce1 | [
"MIT"
] | null | null | null | server/pythonCode/DataGenerator.py | varsheshjp/game | 2a47f2099aa0538301815272f749c63aa11e6ce1 | [
"MIT"
] | null | null | null | server/pythonCode/DataGenerator.py | varsheshjp/game | 2a47f2099aa0538301815272f749c63aa11e6ce1 | [
"MIT"
] | null | null | null | import math
from matplotlib import pyplot as plt
import numpy as np
listx=[]
listy=[]
listz=[]
listw=[]
phi=(1+5**(1/2))/2
def function(x):
y=(phi**x)-(phi)
return y
def function2(x):
return (function4(x-1)*(phi**x))-(function4(x-2)*phi**(x-2))
def function4(x):
return ((phi**i)-(-1*(phi... | 22.054054 | 65 | 0.618873 |
ef4de950371fe25e225c4f2254425581d3454a8f | 136 | php | PHP | resources/views/pages/Impressum.blade.php | lorodialog/LoroDialog.com | 7d8d794c5648c51ef893c61d745e021fe2a09793 | [
"MIT"
] | null | null | null | resources/views/pages/Impressum.blade.php | lorodialog/LoroDialog.com | 7d8d794c5648c51ef893c61d745e021fe2a09793 | [
"MIT"
] | null | null | null | resources/views/pages/Impressum.blade.php | lorodialog/LoroDialog.com | 7d8d794c5648c51ef893c61d745e021fe2a09793 | [
"MIT"
] | null | null | null | @extends('LoroTemplate')
@section('titel', 'LoroDialog | Impressum')
@section('inhalt')
@include('sections.Impressum')
@endsection | 19.428571 | 43 | 0.713235 |
efbdc8693702889519417eb76b01f373ee3ef81a | 604 | rs | Rust | examples/marker_traits.rs | DuckLogic/thin_trait_object-zerogc | 9ad8402921a6be76dc8314f52b03ebec153b9ce6 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 19 | 2021-02-22T00:57:20.000Z | 2022-03-29T13:46:21.000Z | examples/marker_traits.rs | DuckLogic/thin_trait_object-zerogc | 9ad8402921a6be76dc8314f52b03ebec153b9ce6 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 6 | 2021-04-11T19:19:10.000Z | 2022-02-05T21:13:33.000Z | examples/marker_traits.rs | DuckLogic/thin_trait_object-zerogc | 9ad8402921a6be76dc8314f52b03ebec153b9ce6 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 5 | 2021-04-11T17:43:42.000Z | 2022-02-04T12:32:39.000Z | use thin_trait_object::*;
#[thin_trait_object(
marker_traits(
SafeMarker,
// `unsafe` keyword here ensures that "unsafe code" is required
// to produce UB by implementing the trait
unsafe UnsafeMarker,
)
)]
trait Foo: SafeMarker + UnsafeMarker {
fn fooify(&self);
}
trait Sa... | 20.827586 | 71 | 0.64404 |
b9f993072f6f48d71d130d1a856d25e948c5b8d2 | 5,990 | dart | Dart | packages/hknews_repository/lib/src/repositories/stories.dart | thuongleit/MinimalistHackerNews | da51618bcec2c4dc52c79020a455f2e75b187ecd | [
"Apache-2.0"
] | null | null | null | packages/hknews_repository/lib/src/repositories/stories.dart | thuongleit/MinimalistHackerNews | da51618bcec2c4dc52c79020a455f2e75b187ecd | [
"Apache-2.0"
] | 26 | 2020-12-11T13:26:19.000Z | 2021-01-08T14:12:15.000Z | packages/hknews_repository/lib/src/repositories/stories.dart | thuongleit/MinimalistHackerNews | da51618bcec2c4dc52c79020a455f2e75b187ecd | [
"Apache-2.0"
] | null | null | null | import 'package:hackernews_api/hackernews_api.dart';
import 'package:hknews_database/hknews_database.dart';
import 'package:meta/meta.dart';
import '../mapping/model_and_entity_mapping.dart';
import '../../src/utils/pair.dart';
import '../../src/utils/web_analyzer.dart';
import '../result.dart';
/// Repository that h... | 27.990654 | 132 | 0.635225 |
e07f1daaeba80a304ae1ab66a2294fb958462cdc | 327 | h | C | ZenUnitLibraryTests/Components/Args/MetalMock/TestNameFilterMock.h | NeilJustice/ZenUnit | 6ddbe157e4652ac76aa074a70f9f83e34ee779df | [
"MIT"
] | 2 | 2018-04-21T06:38:53.000Z | 2018-08-31T00:56:21.000Z | ZenUnitLibraryTests/Components/Args/MetalMock/TestNameFilterMock.h | NeilJustice/ZenUnitAndZenMock | bbcb4221d063fa04e4ef3a98143e0f123e3af8d5 | [
"MIT"
] | 1 | 2021-03-03T07:19:16.000Z | 2021-03-28T21:46:32.000Z | ZenUnitLibraryTests/Components/Args/MetalMock/TestNameFilterMock.h | NeilJustice/ZenUnitAndZenMock | bbcb4221d063fa04e4ef3a98143e0f123e3af8d5 | [
"MIT"
] | null | null | null | #pragma once
class TestNameFilterMock : public Metal::Mock<TestNameFilter>
{
public:
METALMOCK_NONVOID1_CONST(bool, MatchesTestName, std::string_view)
METALMOCK_NONVOID1_CONST(bool, MatchesTestClassName, std::string_view)
METALMOCK_NONVOID3_CONST(bool, MatchesTestCase, std::string_view, std::string_view, size... | 32.7 | 94 | 0.807339 |
f49b1bfdb5a754d81acbb2885f69a3bc1eb1cba2 | 561 | ts | TypeScript | tools/generators/rester/index.ts | DevinDon/rester | 27f046edaf0c156ffd0744678414ae29aed5596b | [
"MIT"
] | 1 | 2019-06-28T19:29:14.000Z | 2019-06-28T19:29:14.000Z | tools/generators/rester/index.ts | DevinDon/rester | 27f046edaf0c156ffd0744678414ae29aed5596b | [
"MIT"
] | 99 | 2019-06-12T14:55:55.000Z | 2022-01-01T14:10:45.000Z | tools/generators/rester/index.ts | DevinDon/rester | 27f046edaf0c156ffd0744678414ae29aed5596b | [
"MIT"
] | 1 | 2019-05-17T02:23:41.000Z | 2019-05-17T02:23:41.000Z | import { logger, Tree } from '@nrwl/devkit';
import { $ } from 'zx';
import { generatePrismaClients } from '../prisma';
export type ResterSchema = {
action: string;
app: string;
};
export default async (tree: Tree, { action, app }: ResterSchema) => {
switch (action) {
case 'g':
case 'generate':
aw... | 24.391304 | 88 | 0.602496 |
e092406db0922bb6f22bfb1fe9baaec2624f548f | 5,860 | dart | Dart | StudyWatch_SDK_healthwearableApp/Source/lib/main.dart | analogdevicesinc/ApplicationsWaveTool | 0c1f236dd0745caa3187841ee1a882f209ac3ebe | [
"Apache-2.0"
] | 2 | 2019-03-11T15:24:51.000Z | 2022-03-07T09:42:05.000Z | StudyWatch_SDK_healthwearableApp/Source/lib/main.dart | analogdevicesinc/ApplicationsWaveTool | 0c1f236dd0745caa3187841ee1a882f209ac3ebe | [
"Apache-2.0"
] | null | null | null | StudyWatch_SDK_healthwearableApp/Source/lib/main.dart | analogdevicesinc/ApplicationsWaveTool | 0c1f236dd0745caa3187841ee1a882f209ac3ebe | [
"Apache-2.0"
] | 1 | 2021-03-16T08:26:05.000Z | 2021-03-16T08:26:05.000Z | import 'package:flutter/material.dart';
import 'package:provider/provider.dart';
import 'package:responsive_framework/responsive_framework.dart';
import 'package:vsm/services/network/communication_service.dart';
import 'package:vsm/services/sdk_lib/sdk_service.dart';
import 'package:vsm/services/service_locator.dart';
... | 30.051282 | 79 | 0.677474 |
8c13a9a786c5a98420eb3fa143bc45a871292608 | 187 | cs | C# | src/UniQode.Entities/Enums/AdminAction.cs | uniQodeAB/uniqode-web | 651f866976ace9fe1527e476b41115f60bbc8fa2 | [
"MIT"
] | null | null | null | src/UniQode.Entities/Enums/AdminAction.cs | uniQodeAB/uniqode-web | 651f866976ace9fe1527e476b41115f60bbc8fa2 | [
"MIT"
] | 12 | 2016-04-02T18:37:26.000Z | 2016-04-03T19:32:53.000Z | src/UniQode.Entities/Enums/AdminAction.cs | uniQodeAB/uniqode-web | 651f866976ace9fe1527e476b41115f60bbc8fa2 | [
"MIT"
] | null | null | null | namespace UniQode.Entities.Enums
{
public enum AdminAction
{
None = 0,
Add,
Save,
Update,
Delete,
Preview,
Publish
}
} | 14.384615 | 33 | 0.470588 |
cdbdf15328c78e73ea5aa1267fb8b25cd7821c72 | 3,676 | cs | C# | BrotliSharpLib/Detect.cs | facebamm/BrotliSharpLib | c070999692e36a28889131953ac08b2e3ba180ea | [
"MIT"
] | 74 | 2017-06-03T14:13:44.000Z | 2022-01-20T19:17:16.000Z | BrotliSharpLib/Detect.cs | facebamm/BrotliSharpLib | c070999692e36a28889131953ac08b2e3ba180ea | [
"MIT"
] | 13 | 2017-10-06T13:20:42.000Z | 2021-11-10T17:20:56.000Z | BrotliSharpLib/Detect.cs | facebamm/BrotliSharpLib | c070999692e36a28889131953ac08b2e3ba180ea | [
"MIT"
] | 14 | 2018-04-09T20:31:38.000Z | 2021-11-30T09:17:31.000Z | using System;
using System.Runtime.InteropServices;
namespace BrotliSharpLib {
public static partial class Brotli {
#if PROPER_DETECT
[StructLayout(LayoutKind.Sequential)]
private struct SYSTEM_INFO {
public ushort wProcessorArchitecture;
public ushort wReserved;
... | 34.35514 | 77 | 0.505169 |
e29d03d30e7ba6678ef5d0b296e49908138341d2 | 3,002 | py | Python | backend/app/services/authentication.py | huggingface/collaborative-training-auth | aae4ee030002610949ee72f65345a8d1746fcd30 | [
"Apache-2.0"
] | 4 | 2021-06-25T15:08:44.000Z | 2022-02-15T15:19:11.000Z | backend/app/services/authentication.py | huggingface/collaborative-training-auth | aae4ee030002610949ee72f65345a8d1746fcd30 | [
"Apache-2.0"
] | 1 | 2021-11-30T17:36:37.000Z | 2021-11-30T17:36:37.000Z | backend/app/services/authentication.py | huggingface/collaborative-training-auth | aae4ee030002610949ee72f65345a8d1746fcd30 | [
"Apache-2.0"
] | 1 | 2021-09-23T03:15:51.000Z | 2021-09-23T03:15:51.000Z | #
# Copyright (c) 2021 the Hugging Face team.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agree... | 31.93617 | 116 | 0.734843 |
58c4854d9988c416254a79818b93035bba2d12dc | 11,687 | css | CSS | public/asset/kriyo/css/index.css | quocnv12/krioy | d654e27803f9abc92a1cb9522fa1f587fca7186b | [
"MIT"
] | 1 | 2021-06-29T06:51:15.000Z | 2021-06-29T06:51:15.000Z | public/asset/kriyo/css/index.css | quocnv12/krioy | d654e27803f9abc92a1cb9522fa1f587fca7186b | [
"MIT"
] | null | null | null | public/asset/kriyo/css/index.css | quocnv12/krioy | d654e27803f9abc92a1cb9522fa1f587fca7186b | [
"MIT"
] | null | null | null | *{
font-family: Arial;
}
#khanh:focus{
height: 95px;
}
#khanh{
height:0;
}
body#login{
background-color: #fff !important;
}
button:focus{
outline: none;
}
a{
text-decoration: none !impor tant;
}
.page-top-center{
min-height: 550px;
}
.login{
width: 100%;
margin-top: 50px;
border:2px solid #5363d6;
border... | 17.574436 | 89 | 0.637118 |
ef61e8c4915d4bebe3d2a331a5226c5f072b7000 | 1,896 | js | JavaScript | Plugins/AutoPlayGifs.plugin.js | OdarGM/BetterDiscordApp | 3a78bc459864ad49759be62103f876dd9bc87b7c | [
"MIT"
] | 1,744 | 2015-08-25T20:43:40.000Z | 2022-03-09T05:58:43.000Z | Plugins/AutoPlayGifs.plugin.js | OdarGM/BetterDiscordApp | 3a78bc459864ad49759be62103f876dd9bc87b7c | [
"MIT"
] | 733 | 2015-09-23T00:29:36.000Z | 2022-02-27T06:45:20.000Z | Plugins/AutoPlayGifs.plugin.js | OdarGM/BetterDiscordApp | 3a78bc459864ad49759be62103f876dd9bc87b7c | [
"MIT"
] | 1,200 | 2015-10-04T09:28:55.000Z | 2022-03-10T13:23:30.000Z | //META{"name":"agif"}*//
var agif = function () {};
// Autoplay GIFs
agif.prototype.convert = function (target) {
// Handle GIF
$(target).find(".image:has(canvas)").each(function () {
var image = $(this);
var canvas = image.children("canvas").first();
// Replace GIF preview with actual... | 28.298507 | 77 | 0.5923 |
24726c7940449348e8c68d82b014681a0992728a | 3,469 | php | PHP | resources/views/stock_ins/show.blade.php | beamnarak/phunin-1 | 2ab218a1dd99e6c84aa14f2953c6e2c3bd42bef8 | [
"MIT"
] | null | null | null | resources/views/stock_ins/show.blade.php | beamnarak/phunin-1 | 2ab218a1dd99e6c84aa14f2953c6e2c3bd42bef8 | [
"MIT"
] | null | null | null | resources/views/stock_ins/show.blade.php | beamnarak/phunin-1 | 2ab218a1dd99e6c84aa14f2953c6e2c3bd42bef8 | [
"MIT"
] | null | null | null | @extends('layouts.app')
@section('content')
<div class="container">
<div class="row">
<div class="col-md-8 col-md-offset-2">
<div class="panel panel-default">
<div class="panel-heading">
<h3>{{Lang::get('stock_in.title')}}</h3>
</div>
... | 48.859155 | 142 | 0.379072 |
20bb9b16354d5ad41d0db3bd5ebadd1cf0f3b700 | 842 | cs | C# | src/Prometheus.Client/ScrapeHandler.cs | jakubneubauer/prom-client | 74870d22ae75d7c8e34f3a1c4579506ccecf33df | [
"MIT"
] | 72 | 2018-04-12T08:13:47.000Z | 2021-05-18T09:51:28.000Z | src/Prometheus.Client/ScrapeHandler.cs | jakubneubauer/prom-client | 74870d22ae75d7c8e34f3a1c4579506ccecf33df | [
"MIT"
] | 92 | 2018-06-08T14:13:23.000Z | 2021-03-21T10:43:10.000Z | src/Prometheus.Client/ScrapeHandler.cs | jakubneubauer/prom-client | 74870d22ae75d7c8e34f3a1c4579506ccecf33df | [
"MIT"
] | 17 | 2018-06-15T23:44:45.000Z | 2020-10-06T08:23:28.000Z | using System.IO;
using System.Threading.Tasks;
using Prometheus.Client.Collectors;
using Prometheus.Client.MetricsWriter;
namespace Prometheus.Client
{
public static class ScrapeHandler
{
public static async Task ProcessAsync(ICollectorRegistry registry, Stream outputStream)
{
using... | 30.071429 | 95 | 0.667458 |
b8d29ef2567982b53598a10cbdbe6e43f623212f | 12,352 | c | C | packages/seacas/libraries/chaco/submain/divide.c | jschueller/seacas | 14c34ae08b757cba43a3a03ec0f129c8a168a9d3 | [
"Python-2.0",
"Zlib",
"BSD-2-Clause",
"MIT",
"NetCDF",
"BSL-1.0",
"X11",
"BSD-3-Clause"
] | 82 | 2016-02-04T18:38:25.000Z | 2022-03-29T03:01:49.000Z | packages/seacas/libraries/chaco/submain/divide.c | jschueller/seacas | 14c34ae08b757cba43a3a03ec0f129c8a168a9d3 | [
"Python-2.0",
"Zlib",
"BSD-2-Clause",
"MIT",
"NetCDF",
"BSL-1.0",
"X11",
"BSD-3-Clause"
] | 206 | 2015-11-20T01:57:47.000Z | 2022-03-31T21:12:04.000Z | packages/seacas/libraries/chaco/submain/divide.c | jschueller/seacas | 14c34ae08b757cba43a3a03ec0f129c8a168a9d3 | [
"Python-2.0",
"Zlib",
"BSD-2-Clause",
"MIT",
"NetCDF",
"BSL-1.0",
"X11",
"BSD-3-Clause"
] | 68 | 2016-01-13T22:46:51.000Z | 2022-03-31T06:25:05.000Z | /*
* Copyright(C) 1999-2021 National Technology & Engineering Solutions
* of Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with
* NTESS, the U.S. Government retains certain rights in this software.
*
* See packages/seacas/LICENSE for details
*/
#include "defs.h"
#include "params.h"
#include "sma... | 39.717042 | 100 | 0.557319 |
05fa1a460099690034e4c2643888a9bf6d770aff | 1,173 | py | Python | AutoProcess.py | acep-uaf/canarylabs-odbc-extractor | 41b0175369d3ff3edf66bcd5d5ea909c7c2152a7 | [
"MIT"
] | null | null | null | AutoProcess.py | acep-uaf/canarylabs-odbc-extractor | 41b0175369d3ff3edf66bcd5d5ea909c7c2152a7 | [
"MIT"
] | null | null | null | AutoProcess.py | acep-uaf/canarylabs-odbc-extractor | 41b0175369d3ff3edf66bcd5d5ea909c7c2152a7 | [
"MIT"
] | 1 | 2021-06-03T18:02:42.000Z | 2021-06-03T18:02:42.000Z | import datetime
import os
import process_historic_canary
logPath = 'C:\\Users\\radiance-admin\Canary_Labs_Data_Management\canarylabs-odbc-extractor'
logFile = 'ScheduledTasksLog.txt'
log =os.path.join(logPath,logFile)
def logRuns():
writeToLog('RunStart' + datetime.datetime.now().strftime("%Y-%m-%d %H%M%S"))
retu... | 27.27907 | 91 | 0.683717 |
a112347c9fe8cb942bf840701712c01977e8e794 | 4,142 | ts | TypeScript | src/beacon/BeaconService.ts | zurfyx/eddy-test | ec15058eabb7089c6429210c1cb62eaa386d4c34 | [
"MIT"
] | 36 | 2017-06-27T16:18:13.000Z | 2021-03-21T18:08:28.000Z | src/beacon/BeaconService.ts | zurfyx/eddy-test | ec15058eabb7089c6429210c1cb62eaa386d4c34 | [
"MIT"
] | 1 | 2017-06-28T08:41:48.000Z | 2017-06-28T08:47:34.000Z | src/beacon/BeaconService.ts | zurfyx/eddy-test | ec15058eabb7089c6429210c1cb62eaa386d4c34 | [
"MIT"
] | 5 | 2017-06-27T17:50:55.000Z | 2020-05-17T17:50:14.000Z | import constants from '../constants';
import { LOCK_VALUES, DATA_VALUES } from './enums';
import { decodeUrl, encodeUrl } from './url';
export class BeaconService {
constructor(public service: BluetoothRemoteGATTService) {}
private async readCharacteristic(uuid: string): Promise<DataView> {
const characteris... | 32.614173 | 97 | 0.706422 |
1a31af198fd0b5c175f1e035b96011beb1af43e7 | 1,053 | py | Python | docs/Dockerfile/scripts/init_spug.py | showsmall/spug | 9c878d37c3bd732808d43a2a3958735a9ad07cfe | [
"MIT"
] | 2 | 2020-08-10T14:29:46.000Z | 2021-05-21T09:06:20.000Z | docs/Dockerfile/scripts/init_spug.py | xiaoyiios/spug | 67c137da9ea1bc451bfa1c34ebfb35c4821825c2 | [
"MIT"
] | null | null | null | docs/Dockerfile/scripts/init_spug.py | xiaoyiios/spug | 67c137da9ea1bc451bfa1c34ebfb35c4821825c2 | [
"MIT"
] | 1 | 2020-09-07T03:48:44.000Z | 2020-09-07T03:48:44.000Z | import sys
import os
sys.path.append('/spug/spug_api')
import random
import string
from public import db
from config import BASE_DIR
from apps.account.models import User
import apps.configuration.models
import apps.deploy.models
import apps.assets.models
import apps.schedule.models
import apps.setting.models
# init d... | 28.459459 | 91 | 0.710351 |
a3a69d3af9ad64be51d335dedf034c3fae958457 | 2,175 | java | Java | URIScraper/src/main/java/URIScraper/threads/MainScraper.java | mauromascarenhas/PGC_UFABC | d2014a6fa4b7ded2a38044cfd495d7da66ac4c28 | [
"Apache-2.0"
] | 1 | 2020-05-01T17:49:44.000Z | 2020-05-01T17:49:44.000Z | URIScraper/src/main/java/URIScraper/threads/MainScraper.java | mauromascarenhas/PGC_UFABC | d2014a6fa4b7ded2a38044cfd495d7da66ac4c28 | [
"Apache-2.0"
] | null | null | null | URIScraper/src/main/java/URIScraper/threads/MainScraper.java | mauromascarenhas/PGC_UFABC | d2014a6fa4b7ded2a38044cfd495d7da66ac4c28 | [
"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 URIScraper.threads;
import URIScraper.data.ExecutionLogger;
import URIScraper.data.URIProblem;
import java.io.IOException;
im... | 33.461538 | 108 | 0.584368 |
b0d56dc8ad053424145629b33c77330dfc108d2f | 3,012 | h | C | src/include/vuh/arr/arrayProperties.h | mihhaiii/vuh | 1bdb886f51e8aaca7c9e6652f899ce4df28c1967 | [
"MIT"
] | 326 | 2018-05-24T04:12:54.000Z | 2022-03-14T17:13:13.000Z | src/include/vuh/arr/arrayProperties.h | mihhaiii/vuh | 1bdb886f51e8aaca7c9e6652f899ce4df28c1967 | [
"MIT"
] | 49 | 2018-04-26T11:49:09.000Z | 2021-07-25T16:43:47.000Z | src/include/vuh/arr/arrayProperties.h | mihhaiii/vuh | 1bdb886f51e8aaca7c9e6652f899ce4df28c1967 | [
"MIT"
] | 34 | 2018-06-05T16:01:50.000Z | 2022-01-07T12:29:33.000Z | #pragma once
#include <vulkan/vulkan.hpp>
#include <type_traits>
namespace vuh {
namespace arr {
/// Contains the traits to hold together buffer and memory flags for
/// some common buffer usage scenarious. Each trait also defines the fall-back trait,
/// being void if fall-back is not available.
namespace propert... | 42.422535 | 95 | 0.715471 |
f80c9f0db834353d847de8b6d759df1ba68905ba | 15,736 | rs | Rust | kernel/src/syscall/file.rs | Ko-oK-OS/Rix | f2949aadfff23a27da9c771282a4c0d8804a1f65 | [
"MIT"
] | 44 | 2021-03-20T02:14:58.000Z | 2022-03-31T03:40:52.000Z | kernel/src/syscall/file.rs | Ko-oK-OS/Rix | f2949aadfff23a27da9c771282a4c0d8804a1f65 | [
"MIT"
] | 10 | 2021-05-28T17:00:00.000Z | 2022-02-06T03:14:50.000Z | kernel/src/syscall/file.rs | Ko-oK-OS/Rix | f2949aadfff23a27da9c771282a4c0d8804a1f65 | [
"MIT"
] | 4 | 2021-04-28T08:43:35.000Z | 2022-03-18T01:34:28.000Z | use core::char::MAX;
use core::intrinsics::drop_in_place;
use core::str::from_utf8;
use core::usize;
use core::{ptr::NonNull, slice::from_raw_parts_mut};
use core::slice::from_raw_parts;
use core::cell::RefCell;
use crate::arch::riscv::qemu::fs::DIRSIZ;
use crate::arch::riscv::qemu::layout::PGSIZE;
use crate::arch::ri... | 28.302158 | 186 | 0.43607 |
e001d3a2ace62618f820eb31b5366e17b84c79ae | 8,024 | php | PHP | application/views/dashboard.php | amainyebriggs/Okoatanicampus | 68d691e9efa530146b657f18561097cd212b0eb4 | [
"MIT"
] | null | null | null | application/views/dashboard.php | amainyebriggs/Okoatanicampus | 68d691e9efa530146b657f18561097cd212b0eb4 | [
"MIT"
] | null | null | null | application/views/dashboard.php | amainyebriggs/Okoatanicampus | 68d691e9efa530146b657f18561097cd212b0eb4 | [
"MIT"
] | null | null | null | <div class="container">
<div id="update_notice"></div>
<div class="row">
<div class="col-md-4">
<div class="card border-left-success shadow py-2">
<div class="card-body">
<div class="row no-gutters align-items-center">
<div class="col mr-2">
... | 24.842105 | 223 | 0.492149 |
e0573a8d4f6c3d8437463977f500ad30d9b215f1 | 3,729 | h | C | compiler/ArgumentsPositions.h | eladraz/morph | e80b93af449471fb2ca9e256188f9a92f631fbc2 | [
"BSD-3-Clause"
] | 4 | 2017-01-24T09:32:23.000Z | 2021-08-20T03:29:54.000Z | compiler/ArgumentsPositions.h | eladraz/morph | e80b93af449471fb2ca9e256188f9a92f631fbc2 | [
"BSD-3-Clause"
] | null | null | null | compiler/ArgumentsPositions.h | eladraz/morph | e80b93af449471fb2ca9e256188f9a92f631fbc2 | [
"BSD-3-Clause"
] | 1 | 2021-08-20T03:29:55.000Z | 2021-08-20T03:29:55.000Z | /*
* Copyright (c) 2008-2016, Integrity Project Ltd. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list ... | 31.336134 | 79 | 0.7262 |
437eddcdba95457bddf9231b95f0b65f561f3b63 | 9,883 | tsx | TypeScript | src/components/pages/authorized/Dashboard/views/Dashboard/useDashboard.tsx | Prisma-Laster-Management-Tools/qc-platform-frontend-v1 | 0be916d6f7a7a1585f225a6f91b49a7e931a3483 | [
"Unlicense"
] | null | null | null | src/components/pages/authorized/Dashboard/views/Dashboard/useDashboard.tsx | Prisma-Laster-Management-Tools/qc-platform-frontend-v1 | 0be916d6f7a7a1585f225a6f91b49a7e931a3483 | [
"Unlicense"
] | null | null | null | src/components/pages/authorized/Dashboard/views/Dashboard/useDashboard.tsx | Prisma-Laster-Management-Tools/qc-platform-frontend-v1 | 0be916d6f7a7a1585f225a6f91b49a7e931a3483 | [
"Unlicense"
] | null | null | null | import React, { useEffect, useMemo, useState } from 'react'
import { TRoles } from './Dashboard'
import { BarChart, Bar, Cell, XAxis, YAxis, CartesianGrid, Tooltip, Legend, ResponsiveContainer } from 'recharts';
import { API_GetDeliberationStatistic, API_GetMaintenanceStatistic, API_GetProductStatistic, API_GetPurchase... | 43.346491 | 316 | 0.4957 |
89bd4ced61b48d74d3d6c4d0bd549a4b94ed5bed | 2,374 | swift | Swift | LRActionKit/Source/Rule/Specific/UserScript.swift | Acidburn0zzz/LiveReload | af9b5ce8d5cf1f7065b8e70e4ddff8bce6963633 | [
"MIT"
] | 723 | 2015-01-03T09:33:55.000Z | 2022-03-28T07:25:17.000Z | LRActionKit/Source/Rule/Specific/UserScript.swift | Acidburn0zzz/LiveReload | af9b5ce8d5cf1f7065b8e70e4ddff8bce6963633 | [
"MIT"
] | 39 | 2015-01-15T06:56:15.000Z | 2020-03-09T02:09:10.000Z | LRActionKit/Source/Rule/Specific/UserScript.swift | Acidburn0zzz/LiveReload | af9b5ce8d5cf1f7065b8e70e4ddff8bce6963633 | [
"MIT"
] | 102 | 2015-02-04T15:02:59.000Z | 2021-03-26T11:16:39.000Z | import Foundation
import ExpressiveCollections
public class UserScriptRule : Rule {
public var scriptName: String?
public var script: UserScript? {
if let actualScriptName = scriptName {
let userScripts = UserScriptManager.sharedUserScriptManager().userScripts as! [UserScript]
... | 31.236842 | 159 | 0.635636 |
549812f34195a72c22823a77159803ca795b5d95 | 540 | swift | Swift | Tests/MapboxMapsTests/Foundation/Camera/Mocks/MockCameraAnimatorDelegate.swift | landyrev/mapbox-maps-ios | 539769a3f35682e9a1445c621f838002fa4a4c2b | [
"BSD-2-Clause"
] | 181 | 2021-01-27T13:04:05.000Z | 2022-03-30T21:23:25.000Z | Tests/MapboxMapsTests/Camera/Mocks/MockCameraAnimatorDelegate.swift | jakechristman/mapbox-maps-ios | 8657f29b84d0fba7fcff0d5a0b369d6368091298 | [
"BSD-2-Clause"
] | 555 | 2021-01-27T13:08:04.000Z | 2022-03-30T21:09:32.000Z | Tests/MapboxMapsTests/Camera/Mocks/MockCameraAnimatorDelegate.swift | jakechristman/mapbox-maps-ios | 8657f29b84d0fba7fcff0d5a0b369d6368091298 | [
"BSD-2-Clause"
] | 79 | 2021-01-27T23:49:34.000Z | 2022-03-29T05:56:57.000Z | @testable import MapboxMaps
final class MockCameraAnimatorDelegate: CameraAnimatorDelegate {
let cameraAnimatorDidStartRunningStub = Stub<CameraAnimator, Void>()
func cameraAnimatorDidStartRunning(_ cameraAnimator: CameraAnimator) {
cameraAnimatorDidStartRunningStub.call(with: cameraAnimator)
}
... | 38.571429 | 74 | 0.794444 |
4557624a574311269d5d40b75e0a58758e1e3760 | 4,379 | py | Python | fitting_source/1D_fitting/plot_2_PASS_cross_sections.py | pjgrandinetti/mrsimulator | e603395e52ad162d4a9051a0741651c9030c3459 | [
"BSD-3-Clause"
] | 14 | 2019-05-28T20:06:13.000Z | 2021-05-27T01:37:16.000Z | fitting_source/1D_fitting/plot_2_PASS_cross_sections.py | wushanyun64/mrsimulator | 01b447239d9f469df62b7293a74a3d0c34500a19 | [
"BSD-3-Clause"
] | 74 | 2021-06-07T15:13:49.000Z | 2022-03-29T20:09:19.000Z | fitting_source/1D_fitting/plot_2_PASS_cross_sections.py | wushanyun64/mrsimulator | 01b447239d9f469df62b7293a74a3d0c34500a19 | [
"BSD-3-Clause"
] | 7 | 2019-05-28T20:19:29.000Z | 2021-04-06T18:48:24.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
1D PASS/MAT sideband order cross-section
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
"""
# %%
# This example illustrates the use of mrsimulator and LMFIT modules in fitting the
# sideband intensity profile across the isotropic chemical shift cross-section from a
# PASS/MAT... | 29.993151 | 87 | 0.718657 |
6d9c516c5a2549483dfe14d442c358eabd9df295 | 3,863 | ts | TypeScript | src/comment/comment.service.ts | LazarPetrovic1/newstackbasic | c8a5861b2337c48e59e8ce0a4cbe2865810a9496 | [
"MIT"
] | null | null | null | src/comment/comment.service.ts | LazarPetrovic1/newstackbasic | c8a5861b2337c48e59e8ce0a4cbe2865810a9496 | [
"MIT"
] | null | null | null | src/comment/comment.service.ts | LazarPetrovic1/newstackbasic | c8a5861b2337c48e59e8ce0a4cbe2865810a9496 | [
"MIT"
] | null | null | null | import { InjectRepository } from '@mikro-orm/nestjs';
import { EntityRepository } from '@mikro-orm/postgresql';
import { Injectable } from '@nestjs/common';
import { History as HistoryEntity } from 'src/entities/History';
import { Comment as CommentEntity } from '../entities/Comment';
import { Item as ItemEntity } from... | 45.447059 | 169 | 0.717836 |
dbb704de25d8ab9813a7fa2dd12630061f11cb8d | 1,064 | php | PHP | app/Database/Migrations/2020-10-02-124239_Prodi.php | J3C118045/Pert5 | 097f72cab569c74a33027ce2c0b4a612dc255960 | [
"MIT"
] | null | null | null | app/Database/Migrations/2020-10-02-124239_Prodi.php | J3C118045/Pert5 | 097f72cab569c74a33027ce2c0b4a612dc255960 | [
"MIT"
] | null | null | null | app/Database/Migrations/2020-10-02-124239_Prodi.php | J3C118045/Pert5 | 097f72cab569c74a33027ce2c0b4a612dc255960 | [
"MIT"
] | null | null | null | <?php namespace App\Database\Migrations;
use CodeIgniter\Database\Migration;
class Prodi extends Migration
{
private $table = 'prodi';
public function up()
{
$this->forge->addField([
'kode_prodi' => [
'type' => 'VARCHAR',
... | 29.555556 | 71 | 0.323308 |
7d23d3ca9a97cfcc73216700ffa319eaa1638b6d | 1,533 | ps1 | PowerShell | Roles/functions/System/Remove-RoleSystem.ps1 | VMDeployment/Roles | 8d7bfa8de3bf7ec6f39b22d1902f4f44ffe74c25 | [
"MIT"
] | null | null | null | Roles/functions/System/Remove-RoleSystem.ps1 | VMDeployment/Roles | 8d7bfa8de3bf7ec6f39b22d1902f4f44ffe74c25 | [
"MIT"
] | null | null | null | Roles/functions/System/Remove-RoleSystem.ps1 | VMDeployment/Roles | 8d7bfa8de3bf7ec6f39b22d1902f4f44ffe74c25 | [
"MIT"
] | null | null | null | function Remove-RoleSystem {
<#
.SYNOPSIS
Remove an existing role system.
.DESCRIPTION
Remove an existing role system.
Will silently terminate if system is unknown.
Note: Requires elevation unless overridden using the 'Roles.Validation.SkipElevationTest' configuration.
.PARAMETER Name
Name of the ro... | 30.058824 | 157 | 0.741683 |
494ecf355004fe476376c1063f5b74927ab0e53f | 1,638 | py | Python | core_admin/old_apps/praia/admin.py | linea-it/tno | f973381280504ceb1b606b5b3ccc79b6b8c2aa4f | [
"MIT"
] | null | null | null | core_admin/old_apps/praia/admin.py | linea-it/tno | f973381280504ceb1b606b5b3ccc79b6b8c2aa4f | [
"MIT"
] | 112 | 2018-04-24T19:10:55.000Z | 2022-02-26T16:55:02.000Z | core_admin/old_apps/praia/admin.py | linea-it/tno | f973381280504ceb1b606b5b3ccc79b6b8c2aa4f | [
"MIT"
] | null | null | null | # from django.contrib import admin
# from .models import (AstrometryAsteroid, AstrometryInput, AstrometryJob,
# AstrometryOutput, Configuration, Run)
# @admin.register(Run)
# class PraiaRunsAdmin(admin.ModelAdmin):
# list_display = ('id', 'status', 'owner', 'proccess', 'catalog', 'configurat... | 39.95122 | 147 | 0.656899 |
b76ce747d9ad39846b84e7253d7129870c1f7024 | 839 | cs | C# | MedicalCenter/MedicalCenter.Services/Services/IPatientService.cs | mitkokazakov/Medical-Center | 42be0b592b4a6c0512c638931c7ede065cf7d539 | [
"MIT"
] | null | null | null | MedicalCenter/MedicalCenter.Services/Services/IPatientService.cs | mitkokazakov/Medical-Center | 42be0b592b4a6c0512c638931c7ede065cf7d539 | [
"MIT"
] | null | null | null | MedicalCenter/MedicalCenter.Services/Services/IPatientService.cs | mitkokazakov/Medical-Center | 42be0b592b4a6c0512c638931c7ede065cf7d539 | [
"MIT"
] | null | null | null | using MedicalCenter.Services.ViewModels.Patients;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace MedicalCenter.Services.Services
{
public interface IPatientService
{
bool IsPatientProfileCompleted(string userId);
bool IsPatientWithCertainEGNExist(strin... | 29.964286 | 84 | 0.77354 |
73b1442b0c7730f5a8628fb6446549116dbcf9f3 | 1,771 | dart | Dart | lib/screens/home/components/product_card.dart | Dev-Devarsh/cloth_shop_UI | 0647295c9ae8c54c4c754fba5847a691b83c2ce3 | [
"Apache-2.0"
] | null | null | null | lib/screens/home/components/product_card.dart | Dev-Devarsh/cloth_shop_UI | 0647295c9ae8c54c4c754fba5847a691b83c2ce3 | [
"Apache-2.0"
] | null | null | null | lib/screens/home/components/product_card.dart | Dev-Devarsh/cloth_shop_UI | 0647295c9ae8c54c4c754fba5847a691b83c2ce3 | [
"Apache-2.0"
] | null | null | null | import 'package:flutter/material.dart';
import '../../../constants.dart';
class ProductCard extends StatelessWidget {
const ProductCard({
Key? key,
required this.image,
required this.title,
required this.price,
required this.press,
required this.bgColor,
}) : super(key: key);
final Strin... | 26.833333 | 79 | 0.498024 |
4ca931b5c1d51ab72753b7f1fa23ed59ff234209 | 2,335 | lua | Lua | as/tpp/script/common/TppUtility.lua | kapuragu/GzPs3Lua | 7d1dfbf8f74e31ed5d78ed8f58e1dbc1e9f24d33 | [
"MIT"
] | 1 | 2022-01-28T11:23:18.000Z | 2022-01-28T11:23:18.000Z | as/tpp/script/common/TppUtility.lua | kapuragu/GzPs3Lua | 7d1dfbf8f74e31ed5d78ed8f58e1dbc1e9f24d33 | [
"MIT"
] | null | null | null | as/tpp/script/common/TppUtility.lua | kapuragu/GzPs3Lua | 7d1dfbf8f74e31ed5d78ed8f58e1dbc1e9f24d33 | [
"MIT"
] | null | null | null | local this = {}
---------------------------------------------------------------------------------
-- Public Functions
---------------------------------------------------------------------------------
-- Split a string
this.SplitString = function( str, pat )
local retVal = {}
local index
local subStr = str
while(... | 25.944444 | 96 | 0.574732 |
c146733f131f830cbe047f3acfce3eb2ed1c4dae | 3,163 | swift | Swift | windmill/Classes/TextDocumentLocation.swift | qnoid/windmill-osx | c8deced8ca7fa391ead4436d34c255810624fae3 | [
"FSFAP"
] | 27 | 2020-04-08T08:36:14.000Z | 2021-09-15T11:59:01.000Z | windmill/Classes/TextDocumentLocation.swift | qnoid/windmill-osx | c8deced8ca7fa391ead4436d34c255810624fae3 | [
"FSFAP"
] | null | null | null | windmill/Classes/TextDocumentLocation.swift | qnoid/windmill-osx | c8deced8ca7fa391ead4436d34c255810624fae3 | [
"FSFAP"
] | 6 | 2020-04-08T17:23:06.000Z | 2020-05-02T15:22:28.000Z | //
// TextDocumentLocation.swift
// windmill
//
// Created by Markos Charatzas (markos@qnoid.com) on 27/2/18.
// Copyright © 2014-2020 qnoid.com. All rights reserved.
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// Perm... | 41.077922 | 90 | 0.709137 |
dbdfd02d4229d6dd87f034454a1a5df701eeded5 | 2,558 | php | PHP | app/Http/Controllers/Auth/LoginController.php | honarmandpooria/tootiko | 45c5879a320e0b586b74d2017a9f70bebb982b71 | [
"MIT"
] | null | null | null | app/Http/Controllers/Auth/LoginController.php | honarmandpooria/tootiko | 45c5879a320e0b586b74d2017a9f70bebb982b71 | [
"MIT"
] | null | null | null | app/Http/Controllers/Auth/LoginController.php | honarmandpooria/tootiko | 45c5879a320e0b586b74d2017a9f70bebb982b71 | [
"MIT"
] | null | null | null | <?php
namespace App\Http\Controllers\Auth;
use App\Http\Controllers\Controller;
use App\User;
use Illuminate\Foundation\Auth\AuthenticatesUsers;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Str;
use Laravel\Socialite\Facades\Socialite;
class LoginController extends Contro... | 22.839286 | 97 | 0.548866 |
5ce4def114d848057227e619821a75f03455fa5e | 815 | kt | Kotlin | app/src/main/java/com/pawegio/homebudget/picker/PickerViewModel.kt | pawegio/HomeBudget | 2cc3da1c06fc928a4c2934e15f41a70525bbd4df | [
"Apache-2.0"
] | 2 | 2020-01-31T19:46:39.000Z | 2020-03-20T22:54:10.000Z | app/src/main/java/com/pawegio/homebudget/picker/PickerViewModel.kt | pawegio/HomeBudget | 2cc3da1c06fc928a4c2934e15f41a70525bbd4df | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/pawegio/homebudget/picker/PickerViewModel.kt | pawegio/HomeBudget | 2cc3da1c06fc928a4c2934e15f41a70525bbd4df | [
"Apache-2.0"
] | 4 | 2020-01-31T19:46:42.000Z | 2022-01-09T19:35:47.000Z | package com.pawegio.homebudget.picker
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.jakewharton.rxrelay2.PublishRelay
import com.pawegio.homebudget.HomeBudgetRepository
import com.pawegio.homebudget.Navigator
import com.pawegio.homebudget.util.HowToLauncher
import kotlinx.coro... | 26.290323 | 53 | 0.687117 |
e0046625187232af9464cd7cf988e660a2c00542 | 37,545 | php | PHP | application/views/control_view.php | Ical852/CI---e-commerce-web-scrapping | 7b4c7026ed9a0c1c765931799ca10a1ba8a5a543 | [
"MIT"
] | null | null | null | application/views/control_view.php | Ical852/CI---e-commerce-web-scrapping | 7b4c7026ed9a0c1c765931799ca10a1ba8a5a543 | [
"MIT"
] | null | null | null | application/views/control_view.php | Ical852/CI---e-commerce-web-scrapping | 7b4c7026ed9a0c1c765931799ca10a1ba8a5a543 | [
"MIT"
] | null | null | null | <div class="col-md-10 col-lg-10 col-sm-10 col-xs-12 float-right-style">
<!-- col lanjutan menu -->
<div class="cart-main-area ptb--20 bg__white">
<div class="container-fluid">
<div class="row">
<div class="col-md-12 col-sm-12 col-xs-12">
... | 60.556452 | 205 | 0.316713 |
0d4d0b337387c28846de4a1d2590bb8c9b2b7d8f | 1,827 | dart | Dart | lib/models/list.dart | noAudio/uhandisi | e5d2170d648e0bea67184f0eb9ae9b5b2b9d767a | [
"MIT"
] | 2 | 2022-02-25T05:56:19.000Z | 2022-03-03T16:35:37.000Z | lib/models/list.dart | noAudio/uhandisi | e5d2170d648e0bea67184f0eb9ae9b5b2b9d767a | [
"MIT"
] | 9 | 2022-02-26T18:57:07.000Z | 2022-03-03T16:43:01.000Z | lib/models/list.dart | noAudio/uhandisi | e5d2170d648e0bea67184f0eb9ae9b5b2b9d767a | [
"MIT"
] | null | null | null | import 'dart:convert';
import 'package:collection/collection.dart';
import 'package:intl/intl.dart';
import 'package:uhandisi/models/material_item.dart';
class MaterialList {
String? title;
List<MaterialItem> list;
DateTime date;
MaterialList({
this.title,
required this.list,
required this.date,
... | 25.027397 | 99 | 0.629995 |
be703d5862d9a4a82c1b6e64ba04b623b24ef4d3 | 265 | ts | TypeScript | src/shared/audio/common/controller.ts | jportela/electric-player | 867dbd788970ced8775d91daae32d3b0e3a17391 | [
"MIT"
] | null | null | null | src/shared/audio/common/controller.ts | jportela/electric-player | 867dbd788970ced8775d91daae32d3b0e3a17391 | [
"MIT"
] | null | null | null | src/shared/audio/common/controller.ts | jportela/electric-player | 867dbd788970ced8775d91daae32d3b0e3a17391 | [
"MIT"
] | null | null | null | export const PLAY_SONG_COMMAND = 'play-song';
export const STOP_COMMAND = 'stop';
export interface IStopResult {
currentTime: number;
}
export interface IAudioController {
playSong(id: string, seek?: number): Promise<void>;
stop(): Promise<IStopResult>;
}
| 20.384615 | 53 | 0.739623 |
0a6a8550c3dac5c60921898a5c7ca58519a426d7 | 551 | cs | C# | resources/csharp-essential-materials/006_StaticClasses/002_StaticClass/Static2/Program.cs | 6e3veR6k/codewars-csharp | 611de8583fe31e0663238d9ad4fab93bd12e165a | [
"MIT"
] | null | null | null | resources/csharp-essential-materials/006_StaticClasses/002_StaticClass/Static2/Program.cs | 6e3veR6k/codewars-csharp | 611de8583fe31e0663238d9ad4fab93bd12e165a | [
"MIT"
] | null | null | null | resources/csharp-essential-materials/006_StaticClasses/002_StaticClass/Static2/Program.cs | 6e3veR6k/codewars-csharp | 611de8583fe31e0663238d9ad4fab93bd12e165a | [
"MIT"
] | null | null | null | using System;
// Паттерн проектирования - Singleton.
namespace Static
{
class Program
{
static void Main()
{
// Конструктор "protected" - невозможно использовать - new Singleton()
Singleton instance1 = Singleton.Instance();
Singleton instance2 = Singleton.... | 23.956522 | 93 | 0.540835 |