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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
43da6df5ba10a8bd6c8717b03ed30ac8b0907f95 | 1,441 | ts | TypeScript | src/reducers/myAccount/return/apply/express.ts | vucrr/mobile-next | d3016ffb758206fb9d93be1b421e0eff1f1e499f | [
"MIT"
] | null | null | null | src/reducers/myAccount/return/apply/express.ts | vucrr/mobile-next | d3016ffb758206fb9d93be1b421e0eff1f1e499f | [
"MIT"
] | 10 | 2020-09-04T22:06:59.000Z | 2022-03-03T22:19:18.000Z | src/reducers/myAccount/return/apply/express.ts | vucrr/mobile-next | d3016ffb758206fb9d93be1b421e0eff1f1e499f | [
"MIT"
] | null | null | null | import {
CHANGE_EXPRESS_ADDRESS,
CHANGE_EXPRESS_TIME,
CHANGE_EXPRESS_TYPE,
FETCH_EXPRESS_LOGISTICS,
FETCH_RETURN_APPLY_DETAIL,
GET_EXPRESS_NUMBER,
} from 'constant/index'
import { fromJS } from 'immutable'
import { ExpressDetailReturn, LogisticReturn } from 'interfaces/account/return/apply'
import { handleA... | 27.188679 | 85 | 0.66898 |
da8bd1f8104c7c657b9a2b82705eb798dc0ceb34 | 4,517 | ts | TypeScript | src/renderer/ui/forgot.ts | omenking/push2pop | 97338ac9cfa8350b44385ad3cb00bc9959d3f36d | [
"MIT"
] | 46 | 2017-09-05T00:21:53.000Z | 2022-03-03T06:41:07.000Z | src/renderer/ui/forgot.ts | omenking/push2pop | 97338ac9cfa8350b44385ad3cb00bc9959d3f36d | [
"MIT"
] | 241 | 2017-08-31T16:16:42.000Z | 2018-02-28T12:57:59.000Z | src/renderer/ui/forgot.ts | omenking/push2pop | 97338ac9cfa8350b44385ad3cb00bc9959d3f36d | [
"MIT"
] | 10 | 2017-09-08T10:34:03.000Z | 2021-08-13T19:19:01.000Z | import * as m from 'mithril'
import Ui from 'ui/mode'
import {HOST} from 'common/data'
const SEND = 'form_send'
const CODE = 'code'
const RESET = 'form_reset'
const state = {
email: null,
code: null,
password: null,
password_confirmation: null,
state: SEND,
errors: {}
}
function field_error(label,key)... | 22.142157 | 86 | 0.586008 |
dda1e83c884e6d80509ae7c26817ccc56bbf0d6e | 969 | java | Java | ee-patterns/src/main/java/victor/training/eepatterns/payloadextractor/mdb/TextMessageMDBAfter.java | AdrianaDinca/training | d8d20aa7db9d26b12f7163a70108e6ea22cc5c50 | [
"MIT"
] | 1 | 2020-10-22T04:22:39.000Z | 2020-10-22T04:22:39.000Z | ee-patterns/src/main/java/victor/training/eepatterns/payloadextractor/mdb/TextMessageMDBAfter.java | AdrianaDinca/training | d8d20aa7db9d26b12f7163a70108e6ea22cc5c50 | [
"MIT"
] | null | null | null | ee-patterns/src/main/java/victor/training/eepatterns/payloadextractor/mdb/TextMessageMDBAfter.java | AdrianaDinca/training | d8d20aa7db9d26b12f7163a70108e6ea22cc5c50 | [
"MIT"
] | null | null | null | package victor.training.eepatterns.payloadextractor.mdb;
import javax.ejb.ActivationConfigProperty;
import javax.ejb.MessageDriven;
import javax.inject.Inject;
import javax.interceptor.Interceptors;
import javax.jms.Message;
import javax.jms.MessageListener;
import victor.training.eepatterns.payloadextractor.PayloadE... | 30.28125 | 99 | 0.817337 |
c61a092bd9d4e29c89342d98bce2a8e5c53d84f9 | 435 | swift | Swift | gabbie-ios/VIPER/Compose/Interactor/ComposeInteractorOutput.swift | noppefoxwolf/Cironnup-ios | a5c43cd9b5a95b500b0befe803995453140dc324 | [
"MIT"
] | 4 | 2019-03-29T12:43:10.000Z | 2019-05-30T14:10:42.000Z | gabbie-ios/VIPER/Compose/Interactor/ComposeInteractorOutput.swift | noppefoxwolf/Cironnup-ios | a5c43cd9b5a95b500b0befe803995453140dc324 | [
"MIT"
] | null | null | null | gabbie-ios/VIPER/Compose/Interactor/ComposeInteractorOutput.swift | noppefoxwolf/Cironnup-ios | a5c43cd9b5a95b500b0befe803995453140dc324 | [
"MIT"
] | null | null | null | //
// ComposeInteractorOutput.swift
// gabbie-ios
//
// Created by noppefoxwolf on 14/10/2018.
// Copyright © 2018 . All rights reserved.
//
import Foundation
import UIKit
protocol ComposeInteractorOutput: class {
func didCompressed(_ image: UIImage)
func didUploaded(_ id: String, image: UIImage, mediaAttachm... | 25.588235 | 97 | 0.744828 |
97825952476533f09bf96877a359ca50200de90b | 883 | ts | TypeScript | packages/backend/api/src/infra/mappers/EvaluationMapper.ts | chewtoys/luminate | f7737347a86a9da643349606f83147c04e3c62d7 | [
"MIT"
] | 23 | 2020-01-06T20:20:04.000Z | 2021-10-06T23:21:46.000Z | packages/backend/api/src/infra/mappers/EvaluationMapper.ts | chewtoys/luminate | f7737347a86a9da643349606f83147c04e3c62d7 | [
"MIT"
] | 27 | 2020-01-30T03:19:27.000Z | 2021-07-26T02:35:52.000Z | packages/backend/api/src/infra/mappers/EvaluationMapper.ts | chewtoys/luminate | f7737347a86a9da643349606f83147c04e3c62d7 | [
"MIT"
] | 9 | 2020-01-25T21:52:37.000Z | 2022-01-09T20:52:24.000Z | import {EntityId} from '@luminate/ddd'
import {Evaluation, EvaluationAttributes} from '../../domain/Evaluation'
import {IEvaluationDTO} from '../dtos'
import {DateEntity} from '../../domain/Date'
export class EvaluationMapper {
public static toAttrs(obj: any): EvaluationAttributes {
return {
date: obj.date... | 25.970588 | 72 | 0.671574 |
2a9c05b867d11e0e94dda7f455f9e774b1026056 | 1,452 | rs | Rust | day_1/part2.rs | abuchele/adventofcode2021 | 1ed0ddb6ceef2b8c9eb545e6bbcce11b63138162 | [
"MIT"
] | null | null | null | day_1/part2.rs | abuchele/adventofcode2021 | 1ed0ddb6ceef2b8c9eb545e6bbcce11b63138162 | [
"MIT"
] | null | null | null | day_1/part2.rs | abuchele/adventofcode2021 | 1ed0ddb6ceef2b8c9eb545e6bbcce11b63138162 | [
"MIT"
] | null | null | null | use std::fs::File;
use std::io::{self, BufRead};
use std::path::Path;
fn main() {
let mut prevsum: i32 = 100000;
let mut num_inc: i32 = 0;
let mut prev_vec = Vec::new();
// File hosts must exist in current path before this produces output
if let Ok(lines) = read_lines("./day1_input.txt") {
... | 28.470588 | 75 | 0.504132 |
14546f5d8441d916e39112588907b6ca3b0674f3 | 509 | tsx | TypeScript | test/smoke/test-generator-xbc-react/src/pages/demo/mobxDemo.tsx | xbcc123/feflow-devkit-xbc-webpack4 | d0a4f0546641d8a4f585120b750d56ff9463013b | [
"MIT"
] | 4 | 2020-04-08T05:39:47.000Z | 2020-07-19T02:34:34.000Z | generators/app/templates/src/pages/demo/mobxDemo.tsx | xbcc123/generator-xbc-react | 32773247896b4d45083bf9ac8e4d5d369a42ce72 | [
"MIT"
] | null | null | null | generators/app/templates/src/pages/demo/mobxDemo.tsx | xbcc123/generator-xbc-react | 32773247896b4d45083bf9ac8e4d5d369a42ce72 | [
"MIT"
] | 3 | 2020-03-31T05:23:51.000Z | 2020-04-16T00:51:10.000Z | import React, { Component } from "react";
import { observer, inject } from "mobx-react";
@inject("oneStore")
@observer
class Home extends Component {
constructor(props) {
super(props);
this.state = {};
}
render() {
return (
<div>
<h1>birds为:{this.props.oneStore.birds}</h1>
<h1>bir... | 21.208333 | 65 | 0.579568 |
adbdce2fe243a7264807ba753875c44aeb2c8c17 | 542 | rb | Ruby | spec/environment.rb | gerrit/spec_integration | f470a87cd19a4c1afb9972bf45a1f893808fba43 | [
"MIT"
] | 1 | 2016-05-08T09:50:46.000Z | 2016-05-08T09:50:46.000Z | spec/environment.rb | gerrit/spec_integration | f470a87cd19a4c1afb9972bf45a1f893808fba43 | [
"MIT"
] | null | null | null | spec/environment.rb | gerrit/spec_integration | f470a87cd19a4c1afb9972bf45a1f893808fba43 | [
"MIT"
] | null | null | null | unless defined?(PLUGIN_ROOT)
PLUGIN_ROOT = File.expand_path(File.dirname(__FILE__) + "/..")
RAILS_ROOT = PLUGIN_ROOT
SUPPORT_TEMP = "#{PLUGIN_ROOT}/tmp"
SUPPORT_LIB = "#{SUPPORT_TEMP}/lib"
ACTIONPACK_ROOT = "#{SUPPORT_LIB}/actionpack"
ACTIVESUPPORT_ROOT = "#{SUPPORT_LIB}... | 45.166667 | 72 | 0.658672 |
2dfaf04c98a7e522eb35f4b720363908ea457620 | 196 | swift | Swift | DDComponent.playground/Pages/GettingStart.xcplaygroundpage/Contents.swift | arcangelw/DDComponent | 28dfbd6bbbbc0ea747e9c276dea0c03a405b1204 | [
"MIT"
] | 43 | 2017-07-04T16:05:16.000Z | 2022-03-17T12:36:57.000Z | DDComponent.playground/Pages/GettingStart.xcplaygroundpage/Contents.swift | arcangelw/DDComponent | 28dfbd6bbbbc0ea747e9c276dea0c03a405b1204 | [
"MIT"
] | 4 | 2017-07-21T18:16:19.000Z | 2020-04-26T13:58:05.000Z | DDComponent.playground/Pages/GettingStart.xcplaygroundpage/Contents.swift | arcangelw/DDComponent | 28dfbd6bbbbc0ea747e9c276dea0c03a405b1204 | [
"MIT"
] | 7 | 2018-08-31T03:14:44.000Z | 2022-03-17T12:37:00.000Z | //: # Getting Start
//: 在使用`Playground`之前,请先执行以下步骤
//: 1. Build `DDComponent` Scheme
import DDComponent
print("\(NSStringFromClass(DDCollectionViewRootComponent)) is ready!")
//: [Next](@next)
| 19.6 | 70 | 0.719388 |
016a8b4c8421d0d2dc709b0d559f90ca5952d0f2 | 20,903 | sql | SQL | sql/yjbb/600685.sql | liangzi4000/grab-share-info | 4dc632442d240c71955bbf927ecf276d570a2292 | [
"MIT"
] | null | null | null | sql/yjbb/600685.sql | liangzi4000/grab-share-info | 4dc632442d240c71955bbf927ecf276d570a2292 | [
"MIT"
] | null | null | null | sql/yjbb/600685.sql | liangzi4000/grab-share-info | 4dc632442d240c71955bbf927ecf276d570a2292 | [
"MIT"
] | null | null | null | EXEC [EST].[Proc_yjbb_Ins] @Code = N'600685',@CutoffDate = N'2017-09-30',@EPS = N'-0.1323',@EPSDeduct = N'0',@Revenue = N'154.90亿',@RevenueYoy = N'-9.25',@RevenueQoq = N'-19.95',@Profit = N'-1.87亿',@ProfitYoy = N'-2932.28',@ProfiltQoq = N'-1003.81',@NAVPerUnit = N'7.1736',@ROE = N'-1.83',@CashPerUnit = N'-2.7574',@Gros... | 409.862745 | 422 | 0.642492 |
6b2df38a6798dec319f1e142682f9e6ce1011785 | 121 | js | JavaScript | Gracejs 2.0/BL/_/main.js | tunkjs/GraceJS | 632e645dc297f21ed8a482e5cf50254cea4191d7 | [
"MIT"
] | null | null | null | Gracejs 2.0/BL/_/main.js | tunkjs/GraceJS | 632e645dc297f21ed8a482e5cf50254cea4191d7 | [
"MIT"
] | null | null | null | Gracejs 2.0/BL/_/main.js | tunkjs/GraceJS | 632e645dc297f21ed8a482e5cf50254cea4191d7 | [
"MIT"
] | null | null | null | define(['./array','./each','./collections','./delay','./is','./object','./utility','./tpl'], function($) {
return $;
}); | 40.333333 | 106 | 0.520661 |
41debfa97b6552802274ddbf6f60677e6bf5421e | 1,591 | lua | Lua | mods/_testmod/scripts/world/cutscenes/hey.lua | KristalTeam/Kristal | 5f49d62de0adafaffbd09f19b8f9a5c01797b2eb | [
"BSD-3-Clause"
] | 10 | 2021-11-04T22:21:58.000Z | 2022-03-22T14:50:27.000Z | mods/_testmod/scripts/world/cutscenes/hey.lua | KristalTeam/Kristal | 5f49d62de0adafaffbd09f19b8f9a5c01797b2eb | [
"BSD-3-Clause"
] | 5 | 2021-11-05T08:31:34.000Z | 2022-02-06T02:47:32.000Z | mods/_testmod/scripts/world/cutscenes/hey.lua | KristalTeam/Kristal | 5f49d62de0adafaffbd09f19b8f9a5c01797b2eb | [
"BSD-3-Clause"
] | 7 | 2021-11-04T22:50:04.000Z | 2022-03-10T02:21:36.000Z | return {
face = function(cutscene)
cutscene:setSpeaker("susie")
cutscene:text("* Hey Kris Hey", "small_smile")
cutscene:text("* I just learned how to\nchange my face mid\nsentence", "smile")
cutscene:text("* Watch this", "closed_grin")
cutscene:text("* hhooooOOOOOOOOAAAAAAAA\... | 45.457143 | 204 | 0.603394 |
344448d830c67750e24835307f0c95eebe928c8c | 3,702 | swift | Swift | BitmovinAnalyticsCollector/Classes/Collector/data/EventData.swift | bitmovin/bitmovin-analytics-collector-ios | ad83d2afa67591ab9a139c1cec8a60a0d214ee14 | [
"MIT"
] | 3 | 2019-10-03T05:24:44.000Z | 2021-10-05T15:58:04.000Z | BitmovinAnalyticsCollector/Classes/Collector/data/EventData.swift | bitmovin/bitmovin-analytics-collector-ios | ad83d2afa67591ab9a139c1cec8a60a0d214ee14 | [
"MIT"
] | 13 | 2018-06-19T13:56:59.000Z | 2022-01-20T14:33:50.000Z | BitmovinAnalyticsCollector/Classes/Collector/data/EventData.swift | bitmovin/bitmovin-analytics-collector-ios | ad83d2afa67591ab9a139c1cec8a60a0d214ee14 | [
"MIT"
] | 13 | 2019-06-21T13:04:37.000Z | 2021-10-05T14:20:23.000Z | import Foundation
public class EventData: Codable {
var domain: String?
var path: String?
var language: String?
var userAgent: String?
var errorCode: Int?
var errorMessage: String?
var errorData: String?
var screenWidth: Int?
var screenHeight: Int?
var isLive: Bool = false
v... | 28.476923 | 150 | 0.645597 |
a33cae94d8d671fecbf6a213e4b9485d548e9cb1 | 754 | java | Java | koks/manager/event/impl/EventMotion.java | Schummel-Software/Koks-v3 | b31bdcf41249c4f94029bf782a1059f23c163a51 | [
"Apache-2.0"
] | 8 | 2022-01-09T17:18:15.000Z | 2022-02-02T04:34:56.000Z | koks/manager/event/impl/EventMotion.java | Schummel-Software/Koks-v3 | b31bdcf41249c4f94029bf782a1059f23c163a51 | [
"Apache-2.0"
] | 2 | 2022-01-13T14:18:52.000Z | 2022-01-15T01:04:08.000Z | koks/manager/event/impl/EventMotion.java | Schummel-Software/Koks-v3 | b31bdcf41249c4f94029bf782a1059f23c163a51 | [
"Apache-2.0"
] | 2 | 2022-01-19T03:12:11.000Z | 2022-02-02T04:27:06.000Z | package koks.manager.event.impl;
import koks.manager.event.Event;
/**
* @author deleteboys | lmao | kroko
* @created on 13.09.2020 : 05:10
*/
public class EventMotion extends Event {
private final Type TYPE;
private float yaw,pitch;
public EventMotion(Type type, float yaw, float pitch) {
this... | 17.136364 | 59 | 0.574271 |
da1c5237be3e0f5cff0ca5f3afbe25d078dfa8cb | 5,160 | php | PHP | resources/views/layouts/app.blade copy.php | ErickSantiago5530/ecommerce-master_littlecloset | 9de75ddfefb838260ae932e905a804ada95a6306 | [
"MIT"
] | null | null | null | resources/views/layouts/app.blade copy.php | ErickSantiago5530/ecommerce-master_littlecloset | 9de75ddfefb838260ae932e905a804ada95a6306 | [
"MIT"
] | 4 | 2021-03-09T10:32:55.000Z | 2022-02-18T03:57:00.000Z | resources/views/layouts/app.blade copy.php | ErickSantiago5530/ecommerce-master_littlecloset | 9de75ddfefb838260ae932e905a804ada95a6306 | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- CSRF Token -->
<meta name="csrf-token" content="{{ csrf_token() }}">
<title>{{ config('app.name', 'Laravel') }}</tit... | 69.72973 | 244 | 0.665116 |
f4b3f5ca33eca5bdc11aa0ba524130af5c977d8b | 1,854 | tsx | TypeScript | src/component/Radio/Group.tsx | FirstCoder1/react-component | f80480ac3e06158a94d51e5bb6439c1983db5f3d | [
"MIT"
] | null | null | null | src/component/Radio/Group.tsx | FirstCoder1/react-component | f80480ac3e06158a94d51e5bb6439c1983db5f3d | [
"MIT"
] | null | null | null | src/component/Radio/Group.tsx | FirstCoder1/react-component | f80480ac3e06158a94d51e5bb6439c1983db5f3d | [
"MIT"
] | null | null | null | import React, { ChangeEvent, FC, ReactNode, useState } from "react";
import Radio,{RadioChangeType} from "./radio";
export interface GroupOptionType{
value:any
label:ReactNode
disabled?:boolean
onChange?:RadioChangeType
}
export interface GroupProps{
/**默认选中的value*/
defaultValue?: any
/**是... | 28.090909 | 77 | 0.570119 |
c6749fdfa425e4582fca12dad19a536d3cf98f15 | 263 | sql | SQL | migrations/000002_create_user_table.up.sql | t-okkn/bgtools-api | 97e51a54cc41cd23782eb4448f4fd8e59cffa492 | [
"MIT"
] | null | null | null | migrations/000002_create_user_table.up.sql | t-okkn/bgtools-api | 97e51a54cc41cd23782eb4448f4fd8e59cffa492 | [
"MIT"
] | null | null | null | migrations/000002_create_user_table.up.sql | t-okkn/bgtools-api | 97e51a54cc41cd23782eb4448f4fd8e59cffa492 | [
"MIT"
] | null | null | null | CREATE TABLE IF NOT EXISTS `M_USER` (
`id` VARCHAR(8) NOT NULL PRIMARY KEY,
`user_name` VARCHAR(256) NOT NULL DEFAULT '',
`mail_address` VARCHAR(256) NOT NULL DEFAULT '',
`auth_key` VARCHAR(256) NOT NULL DEFAULT ''
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; | 43.833333 | 50 | 0.718631 |
db7f8b083219105d55ce4f26aea776436c3efc06 | 736 | php | PHP | resources/views/home/footer/script.blade.php | luisclaro31/tickets | 73fbdc3d6f36aebeaf1b087c42f91462ac772539 | [
"MIT"
] | null | null | null | resources/views/home/footer/script.blade.php | luisclaro31/tickets | 73fbdc3d6f36aebeaf1b087c42f91462ac772539 | [
"MIT"
] | null | null | null | resources/views/home/footer/script.blade.php | luisclaro31/tickets | 73fbdc3d6f36aebeaf1b087c42f91462ac772539 | [
"MIT"
] | null | null | null | <script src="{{ asset('/js/ajax.js') }}"></script>
<!-- jQuery 2.1.3 -->
<script src="{{ asset('theme/plugins/jQuery/jQuery-2.1.3.min.js') }}"></script>
<!-- Bootstrap 3.3.2 JS -->
<script src="{{ asset('theme/bootstrap/js/bootstrap.min.js') }}" type="text/javascript"></script>
<!-- SlimScroll -->
<script src="{{ asset... | 43.294118 | 111 | 0.634511 |
c6eb4e864fc14106342d4d7130975a3636879ce3 | 2,042 | py | Python | jmeter_api/samplers/jsr223/test_jsr223.py | dashawn888/jmeter_api | 1ab5b02f3a7c8ad1b84fc50db4fe1fc2fa7c91bd | [
"Apache-2.0"
] | 11 | 2020-03-22T13:30:21.000Z | 2021-12-25T06:23:44.000Z | jmeter_api/samplers/jsr223/test_jsr223.py | dashawn888/jmeter_api | 1ab5b02f3a7c8ad1b84fc50db4fe1fc2fa7c91bd | [
"Apache-2.0"
] | 37 | 2019-12-18T13:12:50.000Z | 2022-02-10T10:52:37.000Z | jmeter_api/samplers/jsr223/test_jsr223.py | dashawn888/jmeter_api | 1ab5b02f3a7c8ad1b84fc50db4fe1fc2fa7c91bd | [
"Apache-2.0"
] | 5 | 2019-12-06T10:55:56.000Z | 2020-06-01T19:32:32.000Z | import xmltodict
import pytest
from jmeter_api.basics.jsr223 import ScriptLanguage
from jmeter_api.samplers.jsr223.elements import JSR223Sampler
from jmeter_api.basics.utils import tag_wrapper
class TestJSR223SamplerRender:
def test_scriptLanguage(self):
element = JSR223Sampler(script_language=ScriptLang... | 41.673469 | 82 | 0.63859 |
4386761328010ff04cc8e4bc1d34d834b5adc506 | 395 | tsx | TypeScript | src/containers/index.tsx | huyansheng3/d2d | 7bffa5381d98ca6d7ac8deeae12b5f4af36c7d91 | [
"MIT"
] | null | null | null | src/containers/index.tsx | huyansheng3/d2d | 7bffa5381d98ca6d7ac8deeae12b5f4af36c7d91 | [
"MIT"
] | null | null | null | src/containers/index.tsx | huyansheng3/d2d | 7bffa5381d98ca6d7ac8deeae12b5f4af36c7d91 | [
"MIT"
] | null | null | null | export * from './Pylon';
export { default as DIYHeader } from './Header';
// page
export { default as Home } from './Home';
export { default as AssetsShop } from './AssetsShop';
export { default as Help } from './Help';
export { default as LoginPage } from './LoginPage';
export { default as WorkBench } fro... | 28.214286 | 54 | 0.655696 |
cf371cdcdc2b0533ca96012bfcdff77172140433 | 1,335 | php | PHP | database/migrations/2018_06_01_190413_create_hotel_bookings_table.php | Aimanshu/getyourflight | 2b361236471b8602ee32c7e46dce7a0193f99a50 | [
"MIT"
] | 2 | 2021-06-23T04:59:24.000Z | 2021-06-23T05:17:59.000Z | database/migrations/2018_06_01_190413_create_hotel_bookings_table.php | Aimanshu/getyourflight | 2b361236471b8602ee32c7e46dce7a0193f99a50 | [
"MIT"
] | null | null | null | database/migrations/2018_06_01_190413_create_hotel_bookings_table.php | Aimanshu/getyourflight | 2b361236471b8602ee32c7e46dce7a0193f99a50 | [
"MIT"
] | null | null | null | <?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateHotelBookingsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('hotel_boo... | 28.404255 | 70 | 0.550562 |
029fcb552cd2011ec8248f1989d59c42670ee26a | 1,214 | cpp | C++ | example-projects/colours-showcase/src/colours.cpp | Will1162/Console-Graphics-Engine | c0b091af5c85eea394b9022418951efeaefb3035 | [
"MIT"
] | 1 | 2021-07-04T23:12:17.000Z | 2021-07-04T23:12:17.000Z | example-projects/colours-showcase/src/colours.cpp | Will1162/Console-Graphics-Engine | c0b091af5c85eea394b9022418951efeaefb3035 | [
"MIT"
] | null | null | null | example-projects/colours-showcase/src/colours.cpp | Will1162/Console-Graphics-Engine | c0b091af5c85eea394b9022418951efeaefb3035 | [
"MIT"
] | null | null | null | #include <thread>
#include <vector>
#include <Windows.h>
#include "../../../engine/engine.h"
// engine config
Engine engine;
const std::string consoleTitle = "2D Graphics Engine";
const int consoleWidth = 33;
const int consoleHeight = 16;
const int charWidth = 32;
const int charHeight = 32;
const int maxFrameRate = 6... | 23.346154 | 150 | 0.65486 |
85116b28ac1a54e6d8b276fbb2b73fee80b5fbdd | 11,367 | cs | C# | src/EventStore/EventStore.Core/Services/Transport/Http/Controllers/UsersController.cs | ianbattersby/EventStore | 02af8bb647aade441c4507eb958ffb0ffac99212 | [
"BSD-3-Clause"
] | null | null | null | src/EventStore/EventStore.Core/Services/Transport/Http/Controllers/UsersController.cs | ianbattersby/EventStore | 02af8bb647aade441c4507eb958ffb0ffac99212 | [
"BSD-3-Clause"
] | null | null | null | src/EventStore/EventStore.Core/Services/Transport/Http/Controllers/UsersController.cs | ianbattersby/EventStore | 02af8bb647aade441c4507eb958ffb0ffac99212 | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2012, Event Store LLP
// 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 of condit... | 45.286853 | 124 | 0.639923 |
f9e4e50d0c7b5afdfc99923f8592da2dd067e8e9 | 1,473 | sql | SQL | src/main/resources/db/migration/h2/V12_0__notification_data.sql | ministryofjustice/cmd-api | 24d7f5e20d393b4fdcd48f2d697a1f911238dd3e | [
"MIT"
] | null | null | null | src/main/resources/db/migration/h2/V12_0__notification_data.sql | ministryofjustice/cmd-api | 24d7f5e20d393b4fdcd48f2d697a1f911238dd3e | [
"MIT"
] | 8 | 2020-08-06T13:29:28.000Z | 2022-01-28T14:19:41.000Z | src/main/resources/db/migration/h2/V12_0__notification_data.sql | ministryofjustice/cmd-api | 24d7f5e20d393b4fdcd48f2d697a1f911238dd3e | [
"MIT"
] | 2 | 2020-11-06T16:47:10.000Z | 2021-04-11T06:28:15.000Z | insert into NOTIFICATION (QUANTUM_ID, SHIFT_MODIFIED, DETAIL_START, DETAIL_END, ACTIVITY, PARENT_TYPE, ACTION_TYPE, PROCESSED) values ('A123EX','2021-03-17 10:03:24.0','2021-09-17 10:02:33.0','2021-09-17 10:03:46.0','ADD','SHIFT','EDIT', true);
insert into NOTIFICATION (QUANTUM_ID, SHIFT_MODIFIED, DETAIL_START, DETAIL_... | 210.428571 | 247 | 0.735234 |
e70040c5b72ac89258c8b15dd6f888119b649b9a | 1,464 | php | PHP | resources/views/admin/phimtrongngay/list.blade.php | silverbulletsasus/PhimOnline | f83efd5bff10f4cee66e0e16eba081a7454078f8 | [
"MIT"
] | 1 | 2018-09-20T14:04:38.000Z | 2018-09-20T14:04:38.000Z | resources/views/admin/phimtrongngay/list.blade.php | silverbulletsasus/PhimOnline | f83efd5bff10f4cee66e0e16eba081a7454078f8 | [
"MIT"
] | 1 | 2018-09-20T14:07:15.000Z | 2018-09-20T14:07:15.000Z | resources/views/admin/phimtrongngay/list.blade.php | silverbulletsasus/PhimOnline | f83efd5bff10f4cee66e0e16eba081a7454078f8 | [
"MIT"
] | null | null | null | @extends('admin.layout.master')
@section('content-change')
<div class="row">
<div class="col-md-12">
<h1 class="page-header">Phim Trong Ngày</h1>
</div>
</div>
<div class="row">
<div class="col-md-12">
@if(Session::has('message'))
<div class="alert alert-{{Session::get('flag')}}">
... | 30.5 | 128 | 0.517077 |
dba550d8b8fc4b459c215fc2494a4d5bb8d01d66 | 772 | php | PHP | application/config/plugins.php | iseplutpinur/diagnosa-backend | 4b30b85ffe1184da88d1fd5e9e407fedd5410185 | [
"MIT"
] | 1 | 2022-03-29T07:10:29.000Z | 2022-03-29T07:10:29.000Z | application/config/plugins.php | iseplutpinur/diagnosa | 25cd3021b22b091d1987a67b7b42a3fde072ddd2 | [
"MIT"
] | null | null | null | application/config/plugins.php | iseplutpinur/diagnosa | 25cd3021b22b091d1987a67b7b42a3fde072ddd2 | [
"MIT"
] | null | null | null | <?php
defined('BASEPATH') OR exit('No direct script access allowed');
$config['number'] = array(
'scripts' => array(
'assets/autoNumeric.js'
)
);
$config['datatables'] = array(
'scripts' => array(
'assets/js/plugin/datatables/jquery.dataTables.min.js',
'assets/js/plugin/datatables/dataTables.colVis.min.js',
... | 24.125 | 71 | 0.703368 |
815e618206db539d750db24906e63c9be4892dd4 | 4,995 | css | CSS | css/style.css | BradFabian/redstore | 0c370337a9ccc0987a6d49dc598e47fc399d77f6 | [
"MIT"
] | null | null | null | css/style.css | BradFabian/redstore | 0c370337a9ccc0987a6d49dc598e47fc399d77f6 | [
"MIT"
] | null | null | null | css/style.css | BradFabian/redstore | 0c370337a9ccc0987a6d49dc598e47fc399d77f6 | [
"MIT"
] | null | null | null | * {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: "Poppins", sans-serif;
}
/*
IMAGE
*/
.logo img {
width: 125px;
}
.navbar {
display: flex;
align-items: center;
padding: 1em;
}
nav {
flex: 1;
text-align: right;
}
nav ul {
display: inline-block;
list-style-type: none... | 12.613636 | 48 | 0.594995 |
c98b2f92c9df2c815c88f3d3f1c04ad8366e2561 | 5,037 | tsx | TypeScript | src/Experiment.tsx | elitefintech/nextjs-ssr-experiment | 6d0e098d0a1dc862b6531f703c5b661a66f1033c | [
"MIT"
] | null | null | null | src/Experiment.tsx | elitefintech/nextjs-ssr-experiment | 6d0e098d0a1dc862b6531f703c5b661a66f1033c | [
"MIT"
] | 2 | 2022-01-02T10:27:52.000Z | 2022-01-02T10:31:34.000Z | src/Experiment.tsx | elitefintech/nextjs-ssr-experiment | 6d0e098d0a1dc862b6531f703c5b661a66f1033c | [
"MIT"
] | null | null | null | import React, {useState, useEffect, useContext} from 'react';
import {Props as VariantProps} from './Variant';
import Cookies from 'js-cookie';
import {ExperimentContext} from './ExperimentProvider';
import {Debug} from './Debug';
import {Props as Variant} from './Variant';
interface ExperimentProps {
debug?: bool... | 30.90184 | 103 | 0.520945 |
4bb4d54b0dff96d9c2763aae213775de552d7c5c | 4,830 | cxx | C++ | plugins/examples/noise.cxx | kahlertfr/cgv | a48139eb8af777ab63c78c09fc6aa44592908bc7 | [
"BSD-3-Clause"
] | null | null | null | plugins/examples/noise.cxx | kahlertfr/cgv | a48139eb8af777ab63c78c09fc6aa44592908bc7 | [
"BSD-3-Clause"
] | null | null | null | plugins/examples/noise.cxx | kahlertfr/cgv | a48139eb8af777ab63c78c09fc6aa44592908bc7 | [
"BSD-3-Clause"
] | null | null | null | #include <cgv/gui/provider.h>
#include <cgv/gui/dialog.h>
#include <cgv/gui/file_dialog.h>
#include <cgv/data/data_format.h>
#include <cgv/os/clipboard.h>
#include <cgv/data/data_view.h>
#include <cgv/media/image/image_writer.h>
#include <cgv/render/drawable.h>
#include <cgv/render/context.h>
#include <cgv/render/textu... | 30.764331 | 131 | 0.68323 |
c6f357b1649f25f88963d839847202f022659781 | 46,081 | css | CSS | para-o-site/original/css/style.css | Demetriofds/Ctd-tecnologia | e1aea7c0ec7b56c5e21c75edf379a8236d040618 | [
"MIT"
] | null | null | null | para-o-site/original/css/style.css | Demetriofds/Ctd-tecnologia | e1aea7c0ec7b56c5e21c75edf379a8236d040618 | [
"MIT"
] | null | null | null | para-o-site/original/css/style.css | Demetriofds/Ctd-tecnologia | e1aea7c0ec7b56c5e21c75edf379a8236d040618 | [
"MIT"
] | null | null | null | /*--
Author: W3layouts
Author URL: http://w3layouts.com
License: Creative Commons Attribution 3.0 Unported
License URL: http://creativecommons.org/licenses/by/3.0/
--*/
body{
margin:0;
padding:0;
background:#fff;
font-family: 'Open Sans', sans-serif;
}
h1,h2,h3,h4,h5,h6{
margin:0;
font-family: 'Montserrat', sans... | 18.491573 | 195 | 0.625008 |
392fc1da8380a0625107ee31590f0be53de2d36b | 1,616 | py | Python | icse38/icse38/urls.py | rp17/icse38site | eff2f4c33db8f07140d681177148614c7401b976 | [
"MIT"
] | null | null | null | icse38/icse38/urls.py | rp17/icse38site | eff2f4c33db8f07140d681177148614c7401b976 | [
"MIT"
] | null | null | null | icse38/icse38/urls.py | rp17/icse38site | eff2f4c33db8f07140d681177148614c7401b976 | [
"MIT"
] | null | null | null | from django.conf.urls import patterns, include, url
from django.conf import settings
# Uncomment the next two lines to enable the admin:
# from django.contrib import admin
# admin.autodiscover()
urlpatterns = patterns('',
# Examples:
url(r'^$', 'icse38.views.index', name='index'),
# url(r'^icse38/', 'icse... | 31.686275 | 92 | 0.668936 |
6ae15d4c3d4dbc681748193189af8fda8dcd41bc | 15,587 | c | C | src/block16.c | 2kranki/libCmn | 4f9db4c9c8e2dff64e1c741dc1c11e9f3b5d07ce | [
"Unlicense"
] | 2 | 2017-03-23T15:23:56.000Z | 2021-03-04T09:54:54.000Z | src/block16.c | 2kranki/libCmn | 4f9db4c9c8e2dff64e1c741dc1c11e9f3b5d07ce | [
"Unlicense"
] | null | null | null | src/block16.c | 2kranki/libCmn | 4f9db4c9c8e2dff64e1c741dc1c11e9f3b5d07ce | [
"Unlicense"
] | null | null | null | // vi:nu:et:sts=4 ts=4 sw=4 tw=90
/*
* File: block16.c
* Generated 01/05/2016 07:38:50
*
*/
/*
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
bina... | 22.788012 | 79 | 0.425932 |
366f46e5b505649a4de5fac776cd5049422a31bc | 546 | sql | SQL | HackerRank/SQL-MSServer/HackerRank_SQL-MSServer_WeatherObservationStation20.sql | andrecontisilva/SQL-aprendizado | c1105bd7fbd01aa98ffae2abf71ffb3522bfc26f | [
"MIT"
] | null | null | null | HackerRank/SQL-MSServer/HackerRank_SQL-MSServer_WeatherObservationStation20.sql | andrecontisilva/SQL-aprendizado | c1105bd7fbd01aa98ffae2abf71ffb3522bfc26f | [
"MIT"
] | null | null | null | HackerRank/SQL-MSServer/HackerRank_SQL-MSServer_WeatherObservationStation20.sql | andrecontisilva/SQL-aprendizado | c1105bd7fbd01aa98ffae2abf71ffb3522bfc26f | [
"MIT"
] | null | null | null | /*
Site: HackerRank
Type: Practice
Subdomain: Aggregation
Difficulty: Medium
Skill: SQL (MS Server)
Problem: Weather Observation Station 20
URL: https://www.hackerrank.com/challenges/weather-observation-station-20/problem
*/
-- SOLUTION:
SELECT DISTINCT
CAST(
ROUND(
PERCENTILE_DISC (.5) WITHIN GROUP (O... | 20.222222 | 103 | 0.734432 |
38d37518d2226690f6292f29236603106a0d7543 | 980 | php | PHP | test/fixture/Instrumentation/Instrumentor/coroutine-anonymous-class.output.php | langabi/dev | 3e35167da0bace1653625795dd8eb97e40552012 | [
"MIT"
] | 4 | 2016-07-27T01:27:48.000Z | 2021-09-20T06:55:33.000Z | test/fixture/Instrumentation/Instrumentor/coroutine-anonymous-class.output.php | langabi/dev | 3e35167da0bace1653625795dd8eb97e40552012 | [
"MIT"
] | 17 | 2016-03-20T05:56:01.000Z | 2022-03-06T02:55:45.000Z | test/fixture/Instrumentation/Instrumentor/coroutine-anonymous-class.output.php | langabi/dev | 3e35167da0bace1653625795dd8eb97e40552012 | [
"MIT"
] | 1 | 2021-09-20T06:57:08.000Z | 2021-09-20T06:57:08.000Z | <?php
/**
* This case verifies that methods on anonymous classes are instrumented.
*/
use Generator as Coroutine;
new class()
{
public static function staticMethod() : Coroutine
{
assert((($μ = \class_exists(\Recoil\Dev\Instrumentation\Trace::class) ? yield \Recoil\Dev\Instrumentation\Trace::install(... | 46.666667 | 289 | 0.630612 |
444d7c3cba1b155d0280f2a43b807226f30d004e | 1,991 | py | Python | nums/core/settings.py | kssteven418/nums-1 | d5cedbd1e2bc72b2130056a702f2a2c9dfc1a823 | [
"MIT"
] | null | null | null | nums/core/settings.py | kssteven418/nums-1 | d5cedbd1e2bc72b2130056a702f2a2c9dfc1a823 | [
"MIT"
] | null | null | null | nums/core/settings.py | kssteven418/nums-1 | d5cedbd1e2bc72b2130056a702f2a2c9dfc1a823 | [
"MIT"
] | null | null | null | # coding=utf-8
# Copyright (C) 2020 NumS Development Team.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modif... | 34.327586 | 77 | 0.757408 |
e27408753efc83d2298bc68aebd9a02afa8b5e9a | 796 | py | Python | linear-regression.py | Kaggia/ai_exercises | 700758ed43612663d4f63c39c91b347767a9c689 | [
"Apache-2.0"
] | null | null | null | linear-regression.py | Kaggia/ai_exercises | 700758ed43612663d4f63c39c91b347767a9c689 | [
"Apache-2.0"
] | null | null | null | linear-regression.py | Kaggia/ai_exercises | 700758ed43612663d4f63c39c91b347767a9c689 | [
"Apache-2.0"
] | null | null | null | import matplotlib.pyplot as plt
import numpy as np
import pandas as pd
from sklearn.linear_model import LinearRegression
from warnings import filterwarnings
#Loading a simple Dataframe
df = pd.DataFrame(
{
'stud' : [1, 2, 3, 4, 5, 6, 4, 1, 2, 1, 3],
'red' : [12000, 23000, 35000, 47000, 5... | 26.533333 | 94 | 0.644472 |
830d40ee61b55ca4466a70e19550400fc4944488 | 1,005 | ts | TypeScript | src/service.ts | isfe-team/rx-cache | 4b559ab8b4864ada5d48d1a247ce55735e5b741b | [
"MIT"
] | 1 | 2018-11-27T09:17:01.000Z | 2018-11-27T09:17:01.000Z | src/service.ts | isfe-team/rx-cache | 4b559ab8b4864ada5d48d1a247ce55735e5b741b | [
"MIT"
] | null | null | null | src/service.ts | isfe-team/rx-cache | 4b559ab8b4864ada5d48d1a247ce55735e5b741b | [
"MIT"
] | null | null | null | /*!
* a simple service use cache
* @bqliu
*/
// import axios from 'axios';
import { from } from 'rxjs';
import { AsyncCache } from './cache';
type User = {
id: number;
name: string;
}
enum ResponseStatus {
OK = 0,
ERROR = 1
}
interface IResponse<T> {
status: ResponseStatus;
message: string;
data: T... | 17.327586 | 78 | 0.577114 |
dda5cb5c1060f9e7b5c62aa1dee14dd6f0919f7a | 5,606 | java | Java | agp/src/main/java/agp/ajax/AjaxPortlet.java | atziallas/ajax-generic-portlet | 8f859e601cd0978e8b534470baa37013549052d4 | [
"MIT"
] | null | null | null | agp/src/main/java/agp/ajax/AjaxPortlet.java | atziallas/ajax-generic-portlet | 8f859e601cd0978e8b534470baa37013549052d4 | [
"MIT"
] | null | null | null | agp/src/main/java/agp/ajax/AjaxPortlet.java | atziallas/ajax-generic-portlet | 8f859e601cd0978e8b534470baa37013549052d4 | [
"MIT"
] | null | null | null | package agp.ajax;
import static agp.ajax.AjaxHandler.CONTENT_TYPE_HTML;
import static agp.ajax.AjaxHandler.CONTENT_TYPE_JSON;
import static agp.ajax.AjaxHandler.FILENAME;
import static agp.ajax.AjaxHandler.FILE_PARAMETER;
import static agp.ajax.AjaxHandler.PENDING;
import static agp.ajax.AjaxHandler.PENDING_FIL... | 41.220588 | 118 | 0.765787 |
e0a3453d44aecb01d39e2fe4ad864740ee640dc3 | 395 | h | C | src/parsers.h | ihh/acidbot | 4af653f38821f621a2cdf141dc27dc8d62841667 | [
"BSD-3-Clause"
] | 32 | 2018-11-30T00:09:52.000Z | 2022-02-02T10:16:48.000Z | src/parsers.h | evoldoers/bossmachine | 4af653f38821f621a2cdf141dc27dc8d62841667 | [
"BSD-3-Clause"
] | 58 | 2018-07-20T17:19:04.000Z | 2018-10-19T16:52:06.000Z | src/parsers.h | evoldoers/bossmachine | 4af653f38821f621a2cdf141dc27dc8d62841667 | [
"BSD-3-Clause"
] | 5 | 2018-12-05T01:39:50.000Z | 2021-04-13T05:24:48.000Z | #ifndef PARSERS_INCLUDED
#define PARSERS_INCLUDED
#include "machine.h"
namespace MachineBoss {
struct RegexParser {
string nonwhite, white;
RegexParser();
string alphabet() const;
Machine parse (const string&) const;
static vguard<InputSymbol> stringToSymbols (const string&);
};
WeightExpr parseWeightEx... | 17.173913 | 61 | 0.744304 |
20d6f93b02459ef1e63c614551280cb6c3635f08 | 1,222 | py | Python | testing/MLDB-694_external_python_procedure.py | kstepanmpmg/mldb | f78791cd34d01796705c0f173a14359ec1b2e021 | [
"Apache-2.0"
] | 665 | 2015-12-09T17:00:14.000Z | 2022-03-25T07:46:46.000Z | testing/MLDB-694_external_python_procedure.py | tomzhang/mldb | a09cf2d9ca454d1966b9e49ae69f2fe6bf571494 | [
"Apache-2.0"
] | 797 | 2015-12-09T19:48:19.000Z | 2022-03-07T02:19:47.000Z | testing/MLDB-694_external_python_procedure.py | matebestek/mldb | f78791cd34d01796705c0f173a14359ec1b2e021 | [
"Apache-2.0"
] | 103 | 2015-12-25T04:39:29.000Z | 2022-02-03T02:55:22.000Z | #
# MLDB-694_external_python_procedure.py
# mldb.ai inc, 2015
# this file is part of mldb. copyright 2015 mldb.ai inc. all rights reserved.
#
from mldb import mldb
conf = {
"type": "experimental.external.procedure",
"params": {
"stdInData": "pwet",
"scriptConfig": {
"source": """
i... | 22.218182 | 84 | 0.63748 |
749e94731b4af45f6192c5010491f95b3f700e4e | 2,390 | css | CSS | docs/static/css/main.b213f410.chunk.css | Adalab/f-online-life-calendar-carmen-tm | 02905aba61f67b9d054c0be05b0d1e206814cb8b | [
"MIT"
] | null | null | null | docs/static/css/main.b213f410.chunk.css | Adalab/f-online-life-calendar-carmen-tm | 02905aba61f67b9d054c0be05b0d1e206814cb8b | [
"MIT"
] | 7 | 2019-06-29T14:09:20.000Z | 2021-01-31T09:31:48.000Z | docs/static/css/main.b213f410.chunk.css | carmen-tm/f-online-life-calendar-carmen-tm | 02905aba61f67b9d054c0be05b0d1e206814cb8b | [
"MIT"
] | 1 | 2019-07-04T08:02:11.000Z | 2019-07-04T08:02:11.000Z | .btn--save{background-color:#d91855;width:100%;font-size:20px;padding:5px;cursor:pointer;color:#fff;border-radius:5px;text-transform:uppercase;opacity:.8;-webkit-transition:all .3s ease-in;transition:all .3s ease-in}.btn--save:hover{opacity:1}.btn--cancel{background-color:transparent;width:100%;font-size:20px;padding:5... | 1,195 | 2,338 | 0.809205 |
dbc3f88f60261aca23e6003bb4c662c1c1525a54 | 5,160 | php | PHP | vendor/s9e/text-formatter/src/Configurator/Helpers/TemplateLoader.php | poliana11/forum_pensando_no_futuro | 87a315b5d18f95e1ca992ac8114003347c6071f1 | [
"MIT"
] | 11 | 2015-11-03T10:06:57.000Z | 2022-03-13T11:19:53.000Z | vendor/s9e/text-formatter/src/Configurator/Helpers/TemplateLoader.php | acardosodev/acardoso.dev | e4ce0df0a01ca7ef69b0dca67542e2d75b72cd47 | [
"MIT"
] | 53 | 2015-02-23T20:49:29.000Z | 2021-05-07T19:38:06.000Z | vendor/s9e/text-formatter/src/Configurator/Helpers/TemplateLoader.php | acardosodev/acardoso.dev | e4ce0df0a01ca7ef69b0dca67542e2d75b72cd47 | [
"MIT"
] | 6 | 2016-09-22T06:17:17.000Z | 2020-03-16T13:48:02.000Z | <?php
/**
* @package s9e\TextFormatter
* @copyright Copyright (c) 2010-2020 The s9e authors
* @license http://www.opensource.org/licenses/mit-license.php The MIT License
*/
namespace s9e\TextFormatter\Configurator\Helpers;
use DOMDocument;
use DOMElement;
use DOMXPath;
use RuntimeException;
abstract class Templa... | 25.418719 | 185 | 0.653488 |
e2f9639673bc2126d3e57732443e6e667801bf96 | 3,178 | py | Python | envconfig/utils.py | ely-as/django-envconf | 1fb16ca8c7dd41d6d84a82561c5bf50f1c5efbb6 | [
"MIT"
] | null | null | null | envconfig/utils.py | ely-as/django-envconf | 1fb16ca8c7dd41d6d84a82561c5bf50f1c5efbb6 | [
"MIT"
] | null | null | null | envconfig/utils.py | ely-as/django-envconf | 1fb16ca8c7dd41d6d84a82561c5bf50f1c5efbb6 | [
"MIT"
] | null | null | null | from importlib import import_module
from importlib.machinery import SourceFileLoader
from importlib.util import spec_from_loader, module_from_spec
from pathlib import Path
from types import ModuleType
from typing import List, Optional, Union
import django
from django.core.management.utils import get_random_secret_key
... | 34.923077 | 78 | 0.684393 |
b7166d6d7e36b09b99ed8fd2d7f83db848224ff1 | 6,089 | cs | C# | src/Gsemac.Net.Curl/CurlCmdArgumentsBuilder.cs | gsemac/Gsemac.Common | a9f0ac5769708862d44d693938aaf68da3731e90 | [
"MIT"
] | 7 | 2021-01-12T07:05:08.000Z | 2021-12-24T06:59:44.000Z | src/Gsemac.Net.Curl/CurlCmdArgumentsBuilder.cs | gsemac/Gsemac.Common | a9f0ac5769708862d44d693938aaf68da3731e90 | [
"MIT"
] | 8 | 2021-07-09T06:14:37.000Z | 2022-03-10T01:54:26.000Z | src/Gsemac.Net.Curl/CurlCmdArgumentsBuilder.cs | gsemac/Gsemac.Common | a9f0ac5769708862d44d693938aaf68da3731e90 | [
"MIT"
] | 2 | 2021-01-12T07:05:39.000Z | 2021-07-29T20:33:12.000Z | using Gsemac.Core;
using Gsemac.Net.Extensions;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Net;
using System.Threading;
namespace Gsemac.Net.Curl {
public class CurlCmdArgumentsBuilder :
CmdArgumentsBuilderBase<CurlCmdArgumentsBuilder> {
// Public me... | 28.721698 | 142 | 0.559698 |
1a7165c4f20b79806e3ba2bc8339193d556ff7fb | 3,841 | py | Python | src/osim/http/client.py | hashhar/major-project | bb2ba80d8a5a38f26f67a2661d21fc5a1d90ce69 | [
"MIT"
] | 4 | 2019-01-02T05:57:47.000Z | 2020-12-29T19:28:23.000Z | src/osim/http/client.py | hashhar/major-project | bb2ba80d8a5a38f26f67a2661d21fc5a1d90ce69 | [
"MIT"
] | null | null | null | src/osim/http/client.py | hashhar/major-project | bb2ba80d8a5a38f26f67a2661d21fc5a1d90ce69 | [
"MIT"
] | 1 | 2021-01-05T17:06:05.000Z | 2021-01-05T17:06:05.000Z | # ADAPTED FROM https://github.com/openai/gym-http-api
import requests
import six.moves.urllib.parse as urlparse
import json
import os
import logging
logger = logging.getLogger(__name__)
logger.setLevel(logging.INFO)
class Client(object):
"""
Gym client to interface with gym_http_server
"""
def __init_... | 37.291262 | 98 | 0.620672 |
14f4fe80b72a2ab6647e61679315ecf1d3fd8c1a | 714 | tsx | TypeScript | CommitPoolApp/components/layout-container/layout-container.component.tsx | alexkeating/CommitPool-monorepo | f89ad0c5319148ce374de34d13315c0f2d611271 | [
"MIT"
] | 3 | 2021-08-31T23:30:10.000Z | 2021-12-12T10:08:59.000Z | CommitPoolApp/components/layout-container/layout-container.component.tsx | alexkeating/CommitPool-monorepo | f89ad0c5319148ce374de34d13315c0f2d611271 | [
"MIT"
] | 57 | 2021-05-01T17:10:13.000Z | 2022-01-13T17:19:35.000Z | CommitPoolApp/components/layout-container/layout-container.component.tsx | CommitPool/CommitPoolMatic | 6a2e068a73dfcafa12f200cf560eec294e7e0eae | [
"MIT"
] | 1 | 2021-12-14T16:12:34.000Z | 2021-12-14T16:12:34.000Z | import React from "react";
import { Center, Flex, Heading, Container, VStack } from "@chakra-ui/react";
interface LayoutContainer {
children?: React.ReactNode;
}
const LayoutContainer = ({ children }: LayoutContainer) => {
return (
<VStack
backgroundImage="url('https://i.imgur.com/Q1NCXvz.png')"
b... | 24.62069 | 76 | 0.603641 |
08b78032b3f540dd47ff578b327c2e5bcb8d2429 | 7,883 | swift | Swift | Sources/ParserCombinators/Or.swift | turbolent/SwiftParserCombinators | 672588767167a58dc43ceb9bb8e56a497798b16e | [
"MIT"
] | 2 | 2017-09-24T17:41:12.000Z | 2018-09-01T00:43:13.000Z | Sources/ParserCombinators/Or.swift | turbolent/ParserCombinators | 672588767167a58dc43ceb9bb8e56a497798b16e | [
"MIT"
] | 3 | 2017-07-03T23:03:54.000Z | 2017-07-04T05:11:16.000Z | Sources/ParserCombinators/Or.swift | turbolent/SwiftParserCombinators | 672588767167a58dc43ceb9bb8e56a497798b16e | [
"MIT"
] | null | null | null |
import Trampoline
extension Parser {
/// Creates a new parser that succeeds if (and only if) either when this parser succeeds,
/// or if this parser fails, when the alternative parser succeeds.
///
/// - Note:
/// The alternative parser is only tried if this parser's failure is non-fatal,
... | 43.076503 | 96 | 0.528733 |
da8e78b070b8c0c91e07f706d5db186423bb2dbe | 1,012 | php | PHP | resources/views/works/indexUser.blade.php | JonathanBlaise/burstfly | 6724aa310c6dd38b69720b76578163c4357a8601 | [
"MIT"
] | null | null | null | resources/views/works/indexUser.blade.php | JonathanBlaise/burstfly | 6724aa310c6dd38b69720b76578163c4357a8601 | [
"MIT"
] | 2 | 2019-05-09T12:58:59.000Z | 2021-10-05T21:15:17.000Z | resources/views/works/indexUser.blade.php | JonathanBlaise/burstfly | 6724aa310c6dd38b69720b76578163c4357a8601 | [
"MIT"
] | 2 | 2019-05-09T12:24:23.000Z | 2019-05-09T12:41:39.000Z | {{----}}
{{--./ressources/views/works/indexUser.blade.php--}}
{{--Variables disponibles:--}}
{{---Table work, Table tag--}}
{{----}}
<section class="work">
@if(count($works) > 0)
@foreach ($works as $work)
<figure class="white">
<a href="{{ route('app_work_show',['id' => $work->... | 32.645161 | 133 | 0.421937 |
c6dc95a437a20303f97af6f6175aec136e167ed2 | 40,754 | py | Python | idacyber.py | fengjixuchui/IDACyber | 0fa860a84a0cb4c36b604dda7ddf7b5b9b7b870e | [
"MIT"
] | null | null | null | idacyber.py | fengjixuchui/IDACyber | 0fa860a84a0cb4c36b604dda7ddf7b5b9b7b870e | [
"MIT"
] | null | null | null | idacyber.py | fengjixuchui/IDACyber | 0fa860a84a0cb4c36b604dda7ddf7b5b9b7b870e | [
"MIT"
] | null | null | null | import os
import sys
import ida_kernwin
import ida_diskio
import ida_bytes
import ida_segment
import ida_idaapi
import ida_nalt
import ida_idp
from PyQt5.QtWidgets import (QWidget, QApplication, QCheckBox, QLabel,
QComboBox, QSizePolicy, QVBoxLayout, QHBoxLayout)
from PyQt5.QtGui import (QPainter, QC... | 35.132759 | 129 | 0.521568 |
b70c35a7d7d532621061877ffafb32196bb787e3 | 1,590 | swift | Swift | Caffeine/Controllers/SettingsViewController/SVC+UITableViewDataSource.swift | the-braveknight/Caffeine | ad71ba5e52981d6129ca3b0630b267022c626dc2 | [
"MIT"
] | 2 | 2018-04-30T07:39:44.000Z | 2022-01-06T09:04:05.000Z | Caffeine/Controllers/SettingsViewController/SVC+UITableViewDataSource.swift | the-braveknight/Caffeine | ad71ba5e52981d6129ca3b0630b267022c626dc2 | [
"MIT"
] | null | null | null | Caffeine/Controllers/SettingsViewController/SVC+UITableViewDataSource.swift | the-braveknight/Caffeine | ad71ba5e52981d6129ca3b0630b267022c626dc2 | [
"MIT"
] | null | null | null | //
// SVC+UITableViewDataSource.swift
// Caffeine
//
// Created by Zaid Rahawi on 3/19/18.
// Copyright © 2018 Zaid Rahawi. All rights reserved.
//
import UIKit
extension SettingsViewController {
override func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
if section ... | 36.136364 | 129 | 0.638365 |
2c80c4db68939c316c3616e6e05aaad58521c1ff | 2,367 | py | Python | api/src/opentrons/protocol_engine/types.py | y3rsh/opentrons | b446567910db218030fef40396ab2255cc074bba | [
"Apache-2.0"
] | 235 | 2017-10-27T20:37:27.000Z | 2022-03-30T14:09:49.000Z | api/src/opentrons/protocol_engine/types.py | y3rsh/opentrons | b446567910db218030fef40396ab2255cc074bba | [
"Apache-2.0"
] | 8,425 | 2017-10-26T15:25:43.000Z | 2022-03-31T23:54:26.000Z | api/src/opentrons/protocol_engine/types.py | y3rsh/opentrons | b446567910db218030fef40396ab2255cc074bba | [
"Apache-2.0"
] | 130 | 2017-11-09T21:02:37.000Z | 2022-03-15T18:01:24.000Z | """Public protocol engine value types and models."""
from enum import Enum
from dataclasses import dataclass
from pydantic import BaseModel, Field
from typing import Union
from opentrons.types import MountType, DeckSlotName
class EngineStatus(str, Enum):
"""Current execution status of a ProtocolEngine."""
R... | 22.330189 | 64 | 0.69286 |
d2ffbfe6a63ac3f4c1277bd717f49974ad7a5409 | 2,748 | rs | Rust | lucet-idl/src/lib.rs | forkkit/lucet | 665886a404553d03b7300d3f226a5b4717ce18d8 | [
"Apache-2.0"
] | null | null | null | lucet-idl/src/lib.rs | forkkit/lucet | 665886a404553d03b7300d3f226a5b4717ce18d8 | [
"Apache-2.0"
] | null | null | null | lucet-idl/src/lib.rs | forkkit/lucet | 665886a404553d03b7300d3f226a5b4717ce18d8 | [
"Apache-2.0"
] | null | null | null | #![deny(bare_trait_objects)]
#[macro_use]
extern crate failure;
mod atoms;
mod c;
mod config;
mod cursor;
mod error;
mod lexer;
mod parser;
mod prelude;
pub mod pretty_writer;
mod repr;
mod rust;
mod validate;
pub use crate::atoms::{AbiType, AtomType};
pub use crate::config::{Backend, Config};
pub use crate::cursor:... | 28.625 | 100 | 0.667031 |
05b6dcb90460594a2b703f1266da06e75f93026d | 1,227 | py | Python | test/mp4/socket/simulateSocket.py | shichuzhu/sds | 686ab645e2c7620b42c79bd729f5df6b91944492 | [
"MIT"
] | null | null | null | test/mp4/socket/simulateSocket.py | shichuzhu/sds | 686ab645e2c7620b42c79bd729f5df6b91944492 | [
"MIT"
] | null | null | null | test/mp4/socket/simulateSocket.py | shichuzhu/sds | 686ab645e2c7620b42c79bd729f5df6b91944492 | [
"MIT"
] | null | null | null | import random
import socket
# create an INET, STREAMing socket
# bind the socket to a public host, and a well-known port
# become a server socket
# accept connections from outside
# now do something with the clientsocket
# in this case, we'll pretend this is a threaded server
def getWord(length):
word = ""
f... | 25.040816 | 65 | 0.603097 |
c500cfa242a076f5071e4a86e9f30ccd21965058 | 220 | css | CSS | test/fixture/compress/restructure.merge/5.css | pvkopa/csso | 415ab2b00f2f86ddd3f15e219a5e4c5aa3534aa7 | [
"MIT"
] | 2,920 | 2015-01-05T17:13:49.000Z | 2022-03-30T19:35:48.000Z | test/fixture/compress/restructure.merge/5.css | pvkopa/csso | 415ab2b00f2f86ddd3f15e219a5e4c5aa3534aa7 | [
"MIT"
] | 321 | 2015-01-05T18:35:55.000Z | 2022-03-10T14:21:15.000Z | test/fixture/compress/restructure.merge/5.css | pvkopa/csso | 415ab2b00f2f86ddd3f15e219a5e4c5aa3534aa7 | [
"MIT"
] | 203 | 2015-01-06T05:26:21.000Z | 2022-02-28T09:47:16.000Z | /*
blocks could be merged as consequence block override common styles
.a, .b { color: red; width: 100px }
.b { color: green }
*/
.a {
color: red;
width: 100px;
}
.b {
width: 100px;
color: green;
}
| 14.666667 | 68 | 0.581818 |
af5befdb12fe17c1adb267429dd5b06cccac3012 | 327 | py | Python | Hackerrank/Stock Maximize/Stock Maximize.py | rahil-1407/Data-Structure-and-Algorithms | ea3eb9849aeb2716ef5812a0b5621a28120b1880 | [
"MIT"
] | 51 | 2021-01-14T04:05:55.000Z | 2022-01-25T11:25:37.000Z | Hackerrank/Stock Maximize/Stock Maximize.py | rahil-1407/Data-Structure-and-Algorithms | ea3eb9849aeb2716ef5812a0b5621a28120b1880 | [
"MIT"
] | 638 | 2020-12-27T18:49:53.000Z | 2021-11-21T05:22:52.000Z | Hackerrank/Stock Maximize/Stock Maximize.py | rahil-1407/Data-Structure-and-Algorithms | ea3eb9849aeb2716ef5812a0b5621a28120b1880 | [
"MIT"
] | 124 | 2021-01-30T06:40:20.000Z | 2021-11-21T15:14:40.000Z | def stockmax(p):
ind_max = p.index(max(p)) #find the max price
inv = sum(p[:ind_max]) #split the array before and after max price
pf = len(p[:ind_max])*p[ind_max] - inv #buy all stocks before max price
if len(p[ind_max+1:]) > 0:
pf += stockmax(p[ind_max+1:]) #then sell them at max price
ret... | 40.875 | 76 | 0.633028 |
7e1c3d30604aba8ec2c1753f34b50e9e85c1ef69 | 1,084 | rs | Rust | src/sphere.rs | faineance/rust-tracer | ec8c6a612037c358f2305849919616c272d50715 | [
"MIT"
] | null | null | null | src/sphere.rs | faineance/rust-tracer | ec8c6a612037c358f2305849919616c272d50715 | [
"MIT"
] | null | null | null | src/sphere.rs | faineance/rust-tracer | ec8c6a612037c358f2305849919616c272d50715 | [
"MIT"
] | null | null | null | use vector::Vector;
use colour::Colour;
use vector::{dot, cross};
use ray::Ray;
use std::num::Float;
#[derive(Debug,Copy)]
enum Reflection {
Diffuse,
Specular,
Refractive
}
#[derive(Debug,Copy)]
pub struct Sphere {
pub radius: f32,
pub position: Vector,
pub colour: Colour,
// pub emission:... | 22.583333 | 81 | 0.538745 |
dd588c000096c3283f091335d53dacc22b8de3cb | 48,400 | java | Java | cli/src/test/java/org/jboss/as/cli/parsing/test/RolloutPlanParsingTestCase.java | neha-b2001/wildfly-core | fe2a3c001446885373b35b63ed677ce642bbc2d3 | [
"Apache-2.0"
] | 156 | 2015-01-05T09:12:40.000Z | 2022-03-10T05:38:05.000Z | cli/src/test/java/org/jboss/as/cli/parsing/test/RolloutPlanParsingTestCase.java | neha-b2001/wildfly-core | fe2a3c001446885373b35b63ed677ce642bbc2d3 | [
"Apache-2.0"
] | 3,440 | 2015-01-04T17:16:56.000Z | 2022-03-31T16:47:13.000Z | cli/src/test/java/org/jboss/as/cli/parsing/test/RolloutPlanParsingTestCase.java | neha-b2001/wildfly-core | fe2a3c001446885373b35b63ed677ce642bbc2d3 | [
"Apache-2.0"
] | 448 | 2015-01-08T15:47:49.000Z | 2022-03-17T03:12:10.000Z | /*
* JBoss, Home of Professional Open Source.
* Copyright 2016, Red Hat, Inc., and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* unde... | 42.197036 | 154 | 0.69531 |
06ff15bf4f535e90673c66b3f24871dd2623bf67 | 2,225 | swift | Swift | SampleRateBar/AudioManager.swift | hug963/SampleRateBar | 3fb841b6f45d98db8867ad0b50979108d81e02a9 | [
"MIT"
] | 4 | 2020-06-16T13:15:05.000Z | 2020-06-16T14:20:22.000Z | SampleRateBar/AudioManager.swift | hug963/SampleRateBar | 3fb841b6f45d98db8867ad0b50979108d81e02a9 | [
"MIT"
] | null | null | null | SampleRateBar/AudioManager.swift | hug963/SampleRateBar | 3fb841b6f45d98db8867ad0b50979108d81e02a9 | [
"MIT"
] | null | null | null | //
// AudioManager.swift
// SampleRateBar
//
import Cocoa
import CoreAudio
class AudioManager {
func getSampleRate() -> Float64 {
var sampleRate:Float64 = 0
var size:UInt32 = UInt32(MemoryLayout<Float64>.size)
var address:AudioObjectPropertyAddress = getAdress(kAudioDevicePropertyNomina... | 35.31746 | 141 | 0.731685 |
f4b3dd59d149d7ba65da6ba574f2d5910dfb0467 | 7,900 | ts | TypeScript | workspace/projects/sys/src-ide/app/systab-detail/sys-disk/sys-disk.component.ts | kunpengcompute/devkit-vscode-plugin | b83e4df94cfa431aea83bdedb84f9b7a588e5f55 | [
"Apache-2.0"
] | null | null | null | workspace/projects/sys/src-ide/app/systab-detail/sys-disk/sys-disk.component.ts | kunpengcompute/devkit-vscode-plugin | b83e4df94cfa431aea83bdedb84f9b7a588e5f55 | [
"Apache-2.0"
] | null | null | null | workspace/projects/sys/src-ide/app/systab-detail/sys-disk/sys-disk.component.ts | kunpengcompute/devkit-vscode-plugin | b83e4df94cfa431aea83bdedb84f9b7a588e5f55 | [
"Apache-2.0"
] | null | null | null | import { Component, OnInit, Input, ViewChild, AfterViewInit, Output, EventEmitter, } from '@angular/core';
import { AxiosService } from '../../service/axios.service';
import { I18nService } from '../../service/i18n.service';
import { MytipService } from '../../service/mytip.service';
import { VscodeService } from '../.... | 27.526132 | 106 | 0.496329 |
ad67dff4076e313efb35fa191ffdddd9925ade63 | 5,295 | sql | SQL | documentacion/Dist/loginmaildb.sql | jorgedipra/loginMail | 0e917726fb59fd97ccdfbc9e2f0c254d32dce617 | [
"MIT"
] | null | null | null | documentacion/Dist/loginmaildb.sql | jorgedipra/loginMail | 0e917726fb59fd97ccdfbc9e2f0c254d32dce617 | [
"MIT"
] | 1 | 2021-06-22T15:40:49.000Z | 2021-06-22T15:40:50.000Z | documentacion/Dist/loginmaildb.sql | jorgedipra/loginMail | 0e917726fb59fd97ccdfbc9e2f0c254d32dce617 | [
"MIT"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 4.8.4
-- https://www.phpmyadmin.net/
--
-- Servidor: 127.0.0.1
-- Tiempo de generación: 02-03-2020 a las 21:05:17
-- Versión del servidor: 10.1.37-MariaDB
-- Versión de PHP: 5.6.39
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
SET time_zone = "+00:00";... | 28.015873 | 158 | 0.679698 |
fac0fa6f6d25eae2b2bad59621df61bcb4afbcf1 | 398 | swift | Swift | ServicePermissions/Sources/ServicePermissions.swift | sjsoad/ServicePermission | 07ea15e15020222abc2614f82f1aa13046314719 | [
"MIT"
] | null | null | null | ServicePermissions/Sources/ServicePermissions.swift | sjsoad/ServicePermission | 07ea15e15020222abc2614f82f1aa13046314719 | [
"MIT"
] | null | null | null | ServicePermissions/Sources/ServicePermissions.swift | sjsoad/ServicePermission | 07ea15e15020222abc2614f82f1aa13046314719 | [
"MIT"
] | null | null | null | //
// ServicePermissions.swift
// SKUtilsSwift
//
// Created by Sergey Kostyan on 25.09.16.
// Copyright © 2016 Sergey Kostyan. All rights reserved.
//
import Foundation
import UIKit
public protocol ServicePermissions {
associatedtype PermissionsState
func permissionsState() -> PermissionsState
... | 19.9 | 74 | 0.728643 |
c36761904df67bae8d88059786d5fb5aeedd0f99 | 521 | cs | C# | backend/dotnet/ticketflow/TicketFlow.MovieService.Client/Extensibility/Models/MovieModels/MovieSerializationModel.cs | ArtemK123/Ticket_Flow | 56ee7eed81b2a09e82d7c016c502aede2be9f016 | [
"MIT"
] | 2 | 2021-07-29T14:25:36.000Z | 2022-01-26T22:32:23.000Z | backend/dotnet/ticketflow/TicketFlow.MovieService.Client/Extensibility/Models/MovieModels/MovieSerializationModel.cs | ArtemK123/Ticket_Flow | 56ee7eed81b2a09e82d7c016c502aede2be9f016 | [
"MIT"
] | 3 | 2022-02-16T01:13:49.000Z | 2022-02-16T01:14:32.000Z | backend/dotnet/ticketflow/TicketFlow.MovieService.Client/Extensibility/Models/MovieModels/MovieSerializationModel.cs | ArtemK123/Ticket_Flow | 56ee7eed81b2a09e82d7c016c502aede2be9f016 | [
"MIT"
] | 1 | 2021-01-21T18:53:11.000Z | 2021-01-21T18:53:11.000Z | using System;
using TicketFlow.MovieService.Client.Extensibility.Models.CinemaHallModels;
using TicketFlow.MovieService.Client.Extensibility.Models.FilmModels;
namespace TicketFlow.MovieService.Client.Extensibility.Models.MovieModels
{
public class MovieSerializationModel
{
public int Id { get... | 30.647059 | 76 | 0.721689 |
669b3263fa7547cbaf46f61af53f0492a5b7e8e5 | 9,845 | ps1 | PowerShell | MicrosoftTeams/Get-TeamsServiceNumbers.ps1 | ntv-one/PowerShell-collection | 9bef03bd78dbabf0851ac7b61feb6ba8760d8292 | [
"BSD-3-Clause"
] | 1 | 2021-11-12T05:44:04.000Z | 2021-11-12T05:44:04.000Z | MicrosoftTeams/Get-TeamsServiceNumbers.ps1 | native-it/PowerShell-collection | 9bef03bd78dbabf0851ac7b61feb6ba8760d8292 | [
"BSD-3-Clause"
] | null | null | null | MicrosoftTeams/Get-TeamsServiceNumbers.ps1 | native-it/PowerShell-collection | 9bef03bd78dbabf0851ac7b61feb6ba8760d8292 | [
"BSD-3-Clause"
] | null | null | null | function Get-TeamsServiceNumbers
{
<#
.SYNOPSIS
Get the Phone numbers assigned to Teams/SfB Services
.DESCRIPTION
Get the Phone numbers assigned to Teams/SfB Services
Supported are AutoAttendant and/or CallQueue
.PARAMETER AutoAttendant
Get the number... | 35.67029 | 761 | 0.627222 |
da6bd779f656e772ca1d0e4b2818b6616dc59d36 | 22,951 | php | PHP | resources/views/admin/product.blade.php | rendhynovinez/philigrosir | 40b776e18cca9c5d5276303c6b33d10d6a64a024 | [
"MIT"
] | null | null | null | resources/views/admin/product.blade.php | rendhynovinez/philigrosir | 40b776e18cca9c5d5276303c6b33d10d6a64a024 | [
"MIT"
] | null | null | null | resources/views/admin/product.blade.php | rendhynovinez/philigrosir | 40b776e18cca9c5d5276303c6b33d10d6a64a024 | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html lang="en">
@include('header.header')
<!--
BODY TAG OPTIONS:
=================
Apply one or more of the following classes to to the body tag
to get the desired effect
|---------------------------------------------------------|
|LAYOUT OPTIONS | sidebar-collapse |
| ... | 52.399543 | 213 | 0.362032 |
e36c35a29fae7019d42143413d1182d105d14110 | 604 | rb | Ruby | spec/controllers/application_controller_spec.rb | REANNZ/saml-service | 0b1fe0b4e068935b57aa2fb7e5c5786cbad66194 | [
"Apache-2.0"
] | null | null | null | spec/controllers/application_controller_spec.rb | REANNZ/saml-service | 0b1fe0b4e068935b57aa2fb7e5c5786cbad66194 | [
"Apache-2.0"
] | 2 | 2021-05-11T02:39:25.000Z | 2021-12-14T04:51:57.000Z | spec/controllers/application_controller_spec.rb | REANNZ/saml-service | 0b1fe0b4e068935b57aa2fb7e5c5786cbad66194 | [
"Apache-2.0"
] | null | null | null | # frozen_string_literal: true
require 'rails_helper'
require 'gumboot/shared_examples/application_controller'
RSpec.describe ApplicationController, type: :controller do
# HACK: We can't use these examples until we can use AAF Lipstick. We're
# currently using Sequel instead of ActiveRecord, but Lipstick requires... | 25.166667 | 77 | 0.730132 |
46b9e2f93e2fccf21df8f856ad447afa70a907cd | 2,244 | py | Python | threeML/config/config_utils.py | jasonfan1997/threeML | 21b1c76ad3423f745b9f56413d93ee01d1d5855f | [
"BSD-3-Clause"
] | 42 | 2019-01-10T06:11:38.000Z | 2022-03-21T20:08:37.000Z | threeML/config/config_utils.py | jasonfan1997/threeML | 21b1c76ad3423f745b9f56413d93ee01d1d5855f | [
"BSD-3-Clause"
] | 187 | 2019-01-15T13:21:16.000Z | 2022-03-31T12:15:55.000Z | threeML/config/config_utils.py | jasonfan1997/threeML | 21b1c76ad3423f745b9f56413d93ee01d1d5855f | [
"BSD-3-Clause"
] | 32 | 2019-01-14T10:24:56.000Z | 2022-03-10T10:09:59.000Z | from collections import OrderedDict
from pathlib import Path
from typing import Any, Dict, Optional
from asciitree import LeftAligned
from asciitree.drawing import BOX_DOUBLE, BoxStyle
from omegaconf import OmegaConf
from omegaconf.dictconfig import DictConfig
from threeML.io.package_data import get_path_of_user_conf... | 20.777778 | 99 | 0.634581 |
742415dc2d1cbcae6aa48679f5ef501cefc0776e | 1,321 | go | Go | matching/signatures.go | narendrakadali/gitrob | 0eef84a9446c55265a3988cb05fc880f42bf014b | [
"MIT"
] | 3 | 2021-05-13T20:03:49.000Z | 2021-09-12T07:30:56.000Z | matching/signatures.go | narendrakadali/gitrob | 0eef84a9446c55265a3988cb05fc880f42bf014b | [
"MIT"
] | null | null | null | matching/signatures.go | narendrakadali/gitrob | 0eef84a9446c55265a3988cb05fc880f42bf014b | [
"MIT"
] | 3 | 2021-03-29T17:48:21.000Z | 2021-12-28T02:59:25.000Z | // Package matching contains specific functionality elated to scanning and detecting secrets within the given input.
package matching
import (
"encoding/json"
"errors"
"fmt"
"gitrob/common"
"io/ioutil"
)
// Signatures holds a list of all signatures used during the session
type Signatures struct {
FileSignatures... | 25.901961 | 116 | 0.72218 |
88a68bd548eb910a228ae7c4091b5a200f34a483 | 7,853 | rs | Rust | src/main.rs | frapa/sampan | f1e7201ecc668923c77557d649b6f9bb2d8be587 | [
"MIT"
] | 2 | 2021-07-26T06:27:58.000Z | 2022-02-19T14:55:19.000Z | src/main.rs | frapa/sampan | f1e7201ecc668923c77557d649b6f9bb2d8be587 | [
"MIT"
] | null | null | null | src/main.rs | frapa/sampan | f1e7201ecc668923c77557d649b6f9bb2d8be587 | [
"MIT"
] | null | null | null | use std::fs::File;
use std::io::{Read, Seek, SeekFrom, Write};
use std::str;
use std::time::Instant;
use byteorder::{ByteOrder, LittleEndian};
use clap::{crate_version, App, AppSettings, Arg, ArgMatches};
static EOI: [u8; 2] = [255, 217];
fn main() {
let start = Instant::now();
let matches = parse_args();
... | 32.450413 | 99 | 0.513689 |
4596166c7adf25cdd4d41a87929b5820e68f0550 | 191 | py | Python | tests/services/test_cli.py | rscohn2/sensepy | 1c00cd6d0c1920057cc732d6c5b6a791b7e79e36 | [
"MIT"
] | null | null | null | tests/services/test_cli.py | rscohn2/sensepy | 1c00cd6d0c1920057cc732d6c5b6a791b7e79e36 | [
"MIT"
] | 1 | 2021-02-20T17:26:15.000Z | 2021-02-20T17:26:15.000Z | tests/services/test_cli.py | zignalz/zignalz | 1c00cd6d0c1920057cc732d6c5b6a791b7e79e36 | [
"MIT"
] | null | null | null | # SPDX-FileCopyrightText: 2020 Robert Cohn
#
# SPDX-License-Identifier: MIT
import pytest
from zignalz import cli
@pytest.mark.skip
def test_db_start():
cli.db.up()
cli.db.down()
| 13.642857 | 42 | 0.717277 |
53971c258fc64a1951dac14b89052b797e8c3550 | 1,856 | lua | Lua | game/scripts/vscripts/modifiers/generic/modifier_generic_change_ms.lua | efe-efe/amethyst | 0d6e3c02db82a5d289e2862c7b6e94974fafd674 | [
"MIT"
] | 1 | 2021-01-15T13:19:03.000Z | 2021-01-15T13:19:03.000Z | game/scripts/vscripts/modifiers/generic/modifier_generic_change_ms.lua | efe-efe/amethyst | 0d6e3c02db82a5d289e2862c7b6e94974fafd674 | [
"MIT"
] | null | null | null | game/scripts/vscripts/modifiers/generic/modifier_generic_change_ms.lua | efe-efe/amethyst | 0d6e3c02db82a5d289e2862c7b6e94974fafd674 | [
"MIT"
] | null | null | null | --[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
require("lualib_bundle");
__TS__SourceMapTraceBack(debug.getinfo(1).short_src, {["5"] = 1,["6"] = 1,["7"] = 1,["8"] = 3,["9"] = 4,["10"] = 3,["11"] = 4,["12"] = 5,["13"] = 6,["14"] = 7,["16"] = 5,["17"] = 10,["18"] = 11,["19"] = 10,["20"] = 13,["... | 44.190476 | 421 | 0.730065 |
cde7db9d016c95b75feda13c4b6174b12dec3ae5 | 2,950 | lua | Lua | ytsearcher.lua | dustin10weering/luvit-yt-searcher | 374747068e0eacfbdca88b7ac66bf40b19416355 | [
"MIT"
] | null | null | null | ytsearcher.lua | dustin10weering/luvit-yt-searcher | 374747068e0eacfbdca88b7ac66bf40b19416355 | [
"MIT"
] | null | null | null | ytsearcher.lua | dustin10weering/luvit-yt-searcher | 374747068e0eacfbdca88b7ac66bf40b19416355 | [
"MIT"
] | null | null | null | -- searches video on youtube, made by dustin.
-- uses the coro-http module from luvit itself
--[[
HOW TO USE:
require it with something like "local ytsearcher = require('ytsearcher').new(YOUTUBE_API_KEY as string)"
then search a video with it like "local searcher = ytsearcher:search('banana+phone')"
because this funct... | 30.729167 | 116 | 0.661017 |
a430af11cbea23cdae8d3b3d63643f3a4d31af1e | 3,189 | php | PHP | src/Generator/Model/FieldDefaultValue.php | cristianoc72/Propel3 | cfaef1db6ac17391a4116e9d32f35aa320a859ad | [
"MIT"
] | 264 | 2017-01-03T16:17:24.000Z | 2022-03-22T09:24:55.000Z | src/Generator/Model/FieldDefaultValue.php | cristianoc72/Propel3 | cfaef1db6ac17391a4116e9d32f35aa320a859ad | [
"MIT"
] | 83 | 2017-01-05T18:03:56.000Z | 2020-10-21T15:10:33.000Z | src/Generator/Model/FieldDefaultValue.php | cristianoc72/Propel3 | cfaef1db6ac17391a4116e9d32f35aa320a859ad | [
"MIT"
] | 51 | 2017-01-05T21:53:00.000Z | 2021-07-16T07:21:10.000Z | <?php declare(strict_types=1);
/**
* This file is part of the Propel package.
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @license MIT License
*/
namespace Propel\Generator\Model;
/**
* A class for holding a column default va... | 26.798319 | 130 | 0.59862 |
7fc71345e9a1add1ee5908fd3fa1353b9225d5c0 | 500 | php | PHP | src/Tick/Traits/RandomGeneratorTrait.php | Dinozorlar/tick | 0796f8ed4418d1d2c600bea9f52ed515c7526984 | [
"MIT"
] | null | null | null | src/Tick/Traits/RandomGeneratorTrait.php | Dinozorlar/tick | 0796f8ed4418d1d2c600bea9f52ed515c7526984 | [
"MIT"
] | null | null | null | src/Tick/Traits/RandomGeneratorTrait.php | Dinozorlar/tick | 0796f8ed4418d1d2c600bea9f52ed515c7526984 | [
"MIT"
] | null | null | null | <?php
namespace Tick\Traits;
trait RandomGeneratorTrait
{
/**
* @var \Tick\Service\RandomGenerator
*/
private $randomGenerator;
/**
* @return \Tick\Service\RandomGenerator
*/
public function getRandomGenerator()
{
return $this->randomGenerator;
}
/**
* @pa... | 19.230769 | 60 | 0.628 |
1f04770af9c1f21d874f53af9f4f9599646e55ef | 1,560 | cs | C# | Assets/Editor/Scripts/ModConfig.cs | bdkuhman/KTANETerminal | 605de1765f878bd631d63370b0256a22b90d179b | [
"MIT"
] | 8 | 2017-04-16T00:47:40.000Z | 2020-02-17T03:18:30.000Z | Assets/Editor/Scripts/ModConfig.cs | bdkuhman/KTANETerminal | 605de1765f878bd631d63370b0256a22b90d179b | [
"MIT"
] | 22 | 2017-03-31T11:09:07.000Z | 2018-02-04T18:05:26.000Z | Assets/Editor/Scripts/ModConfig.cs | bdkuhman/KTANETerminal | 605de1765f878bd631d63370b0256a22b90d179b | [
"MIT"
] | 13 | 2017-03-31T05:35:28.000Z | 2020-04-14T20:12:18.000Z | using UnityEngine;
using System.Collections;
using Newtonsoft.Json;
using System.Collections.Generic;
#if UNITY_EDITOR
[UnityEditor.InitializeOnLoad]
#endif
public sealed class ModConfig : ScriptableObject
{
public static string ID
{
get { return Instance.id; }
set { Instance.id = value; }
... | 21.666667 | 75 | 0.573077 |
cd80d7a858318454b0ccab8c4bde48da5324a7c7 | 740 | cs | C# | src/Agent/IoT/RestApis/IDeviceApi.cs | shashishailaj/Azure-IoT-Security-Agent-CS | 7c74dec338603804e619f021089506f8eb40df6c | [
"MIT"
] | 12 | 2019-03-28T12:56:35.000Z | 2021-03-25T09:13:38.000Z | src/Agent/IoT/RestApis/IDeviceApi.cs | shashishailaj/Azure-IoT-Security-Agent-CS | 7c74dec338603804e619f021089506f8eb40df6c | [
"MIT"
] | 2 | 2019-04-08T11:53:26.000Z | 2019-07-28T14:15:29.000Z | src/Agent/IoT/RestApis/IDeviceApi.cs | shashishailaj/Azure-IoT-Security-Agent-CS | 7c74dec338603804e619f021089506f8eb40df6c | [
"MIT"
] | 6 | 2019-03-29T11:56:44.000Z | 2021-01-03T17:23:42.000Z | // <copyright file="IDeviceApi.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
using Newtonsoft.Json.Linq;
namespace Microsoft.Azure.IoT.Agent.IoT.RestApis
{
/// <summary>
/// Interface for device API
/// abstract functions of the supported APIs
//... | 32.173913 | 87 | 0.648649 |
8e9005fea2458603036b99feb76ecd6eab647f95 | 3,756 | js | JavaScript | app/index.js | request-watcher/request-watcher-server | 815f6339d053ebf266c1e72bb9f496bdb979d237 | [
"MIT"
] | null | null | null | app/index.js | request-watcher/request-watcher-server | 815f6339d053ebf266c1e72bb9f496bdb979d237 | [
"MIT"
] | null | null | null | app/index.js | request-watcher/request-watcher-server | 815f6339d053ebf266c1e72bb9f496bdb979d237 | [
"MIT"
] | null | null | null | const Koa = require('koa')
const KoaBodyParser = require('koa-bodyparser')
const json = require('koa-json')
const Router = require('koa-router')
const serve = require('koa-static')
const path = require('path')
const cors = require('koa2-cors')
const moment = require('moment')
const app = new Koa()
const router = new R... | 28.671756 | 93 | 0.626198 |
c671d9426f65a8fa422f615060706224193028f8 | 601 | py | Python | verify/checker/abc221/f.py | naskya/testcase-generator | 02765184a275152e1d8c177f2028ca8db315cfee | [
"MIT"
] | 4 | 2020-09-23T07:11:41.000Z | 2022-02-02T09:08:21.000Z | verify/checker/abc221/f.py | naskya/testcase-generator | 02765184a275152e1d8c177f2028ca8db315cfee | [
"MIT"
] | 5 | 2021-08-29T18:23:01.000Z | 2021-11-20T03:53:19.000Z | verify/checker/abc221/f.py | naskya/testcase-generator | 02765184a275152e1d8c177f2028ca8db315cfee | [
"MIT"
] | null | null | null | def main() -> None:
N = int(input())
assert 2 <= N <= 100
graph = [[] for _ in range(N)]
for _ in range(N - 1):
u, v = map(int, input().split())
assert 1 <= u <= N
assert 1 <= v <= N
assert u != v
u -= 1
v -= 1
graph[u].append(v)
graph... | 16.694444 | 40 | 0.432612 |
45b0802d3b96267eb2cb837c6de939849c10e7d1 | 7,405 | py | Python | pydemic/api/covid19.py | GCES-Pydemic/pydemic | f221aa16e6a32ed1303fa11ebf8a357643f683d5 | [
"MIT"
] | null | null | null | pydemic/api/covid19.py | GCES-Pydemic/pydemic | f221aa16e6a32ed1303fa11ebf8a357643f683d5 | [
"MIT"
] | null | null | null | pydemic/api/covid19.py | GCES-Pydemic/pydemic | f221aa16e6a32ed1303fa11ebf8a357643f683d5 | [
"MIT"
] | null | null | null | import io
import time
from functools import lru_cache
from urllib.error import HTTPError
import numpy as np
import pandas as pd
import requests
import sidekick as sk
import mundi
from mundi import transforms
from ..cache import ttl_cache
from ..logging import log
from ..utils import today
HOURS = 3600
TIMEOUT = 6 * ... | 29.738956 | 96 | 0.652667 |
ff3c15e33814b152e8873ed7e6590efe52392be5 | 846 | py | Python | examples/example1.py | cloudflare/gatelogic | 4dc763d83f7080da45ab1be0a16ab2e563a6a5d0 | [
"BSD-3-Clause"
] | 11 | 2017-12-13T11:39:08.000Z | 2020-07-30T09:55:47.000Z | examples/example1.py | cloudflare/gatelogic | 4dc763d83f7080da45ab1be0a16ab2e563a6a5d0 | [
"BSD-3-Clause"
] | null | null | null | examples/example1.py | cloudflare/gatelogic | 4dc763d83f7080da45ab1be0a16ab2e563a6a5d0 | [
"BSD-3-Clause"
] | null | null | null | '''
Simple example. To run:
../venv/bin/python example1.py
And observe the printed values. That's it.
'''
import gatelogic
c = gatelogic.Controller()
ingress = gatelogic.ReadableHub(c)
hub = gatelogic.QueryHub(c)
egress = gatelogic.ComputableHub(c)
def action(cell):
v = cell.value
if v == None:
... | 16.588235 | 60 | 0.658392 |
7286b2b5ea15c6babd9afac130b95239bcb9e015 | 276 | h | C | LKHAditions/LKH/LKHViewController.h | luokehua/LKHAditions | 06f4ce96a1101acd7dcb2a16d3bf138f34b632f4 | [
"MIT"
] | null | null | null | LKHAditions/LKH/LKHViewController.h | luokehua/LKHAditions | 06f4ce96a1101acd7dcb2a16d3bf138f34b632f4 | [
"MIT"
] | null | null | null | LKHAditions/LKH/LKHViewController.h | luokehua/LKHAditions | 06f4ce96a1101acd7dcb2a16d3bf138f34b632f4 | [
"MIT"
] | null | null | null | //
// LKHViewController.h
// LKHAditions
//
// Created by marsmobios on 2019/10/19.
// Copyright © 2019 marsmob-ios-02. All rights reserved.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface LKHViewController : UIViewController
@end
NS_ASSUME_NONNULL_END
| 15.333333 | 57 | 0.746377 |
b7368d882fcd581e0fa80390ac5261b2d6fe4790 | 377 | cs | C# | Tzkt.Api/Responses/SelectionSingleResponse.cs | jpic/tzkt | 72f57acca5e63244761b2784e946461eea9bd88f | [
"MIT"
] | 110 | 2019-10-18T07:44:24.000Z | 2022-03-30T19:32:51.000Z | Tzkt.Api/Responses/SelectionSingleResponse.cs | jpic/tzkt | 72f57acca5e63244761b2784e946461eea9bd88f | [
"MIT"
] | 56 | 2020-11-12T22:59:43.000Z | 2022-03-23T20:35:46.000Z | Tzkt.Api/Responses/SelectionSingleResponse.cs | jpic/tzkt | 72f57acca5e63244761b2784e946461eea9bd88f | [
"MIT"
] | 13 | 2019-09-26T10:44:56.000Z | 2022-03-20T19:15:17.000Z | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.Json;
using System.Text.Json.Serialization;
using System.Threading.Tasks;
namespace Tzkt.Api
{
[JsonConverter(typeof(SelectionSingleConverter))]
public class SelectionSingleResponse
{
public string[] Cols { get; s... | 22.176471 | 53 | 0.710875 |
3dee4090c2bc04bc5ff42f79b61daafa05cca60e | 391 | py | Python | dictionaries.py | EzechielD/twitter_guessing_game | d2bab0766a8f087e5ddf1ef9489b64f9cc3c82ae | [
"BSD-2-Clause"
] | null | null | null | dictionaries.py | EzechielD/twitter_guessing_game | d2bab0766a8f087e5ddf1ef9489b64f9cc3c82ae | [
"BSD-2-Clause"
] | null | null | null | dictionaries.py | EzechielD/twitter_guessing_game | d2bab0766a8f087e5ddf1ef9489b64f9cc3c82ae | [
"BSD-2-Clause"
] | null | null | null | import tweepy
from keys import consumer_key, consumer_secret, access_token, access_secret
from scrape import auth, api, get_tweets
from create import markov, dict_maker
auth.set_access_token(access_token, access_secret)
#Dictionaries for specific accounts are created here
playstation = dict_maker("PlayStation")
lil_... | 32.583333 | 75 | 0.831202 |
6521d9cc06ea4d390e31ec89aedbbf546a0abebf | 2,392 | css | CSS | CalcularFiguras/styles.css | joaquinDemarchi/REPO--JS | 004949daff75356c9ac9b06004b597a431c5f214 | [
"MIT"
] | 1 | 2021-06-30T16:14:10.000Z | 2021-06-30T16:14:10.000Z | CalcularFiguras/styles.css | joaquinDemarchi/Teoria-Pruebas-Trabajos--JS | 004949daff75356c9ac9b06004b597a431c5f214 | [
"MIT"
] | null | null | null | CalcularFiguras/styles.css | joaquinDemarchi/Teoria-Pruebas-Trabajos--JS | 004949daff75356c9ac9b06004b597a431c5f214 | [
"MIT"
] | null | null | null | *{
margin: 0cm;
padding: 0cm;
box-sizing: border-box;
}
html{
font-size: 62.5%;
background-color:rgba(219, 168, 0, 0.781);
}
header{
position: fixed;
width: 100%;
}
h1{
display: flex;
align-items: center;
justify-content: center;
text-align: center;
width: 100%;
... | 17.459854 | 99 | 0.632107 |
b074a5a9eda921b7fe9787f5db7bb9a54517f9f3 | 201 | py | Python | design-patterns/single-container/math_app.py | pwcz/docker-learning | f2f4eb76e41cd10c4b61813760eedcc2ed2c34ce | [
"MIT"
] | null | null | null | design-patterns/single-container/math_app.py | pwcz/docker-learning | f2f4eb76e41cd10c4b61813760eedcc2ed2c34ce | [
"MIT"
] | null | null | null | design-patterns/single-container/math_app.py | pwcz/docker-learning | f2f4eb76e41cd10c4b61813760eedcc2ed2c34ce | [
"MIT"
] | null | null | null | import flask
api = flask.Flask(__name__)
@api.route('/', methods=['GET'])
def home():
return "<h1>Test API</h1>"
@api.route("/power/<int:number>")
def power(number):
return str(number**2)
| 14.357143 | 33 | 0.626866 |
cd0b601cdf4e0f580a9c579d0fb64cd69c9a6ed2 | 105 | cs | C# | C# MultiThreading-Parallel (semester 3)/Fibers/FibersLib/Priorities.cs | vladislav-miroshnikov/Computer-practice | 8215611de08bccab24349af56ec7db01639dfb75 | [
"MIT"
] | 1 | 2020-09-28T11:48:17.000Z | 2020-09-28T11:48:17.000Z | C# MultiThreading-Parallel (semester 3)/Fibers/FibersLib/Priorities.cs | vladislav-miroshnikov/Computer-practice | 8215611de08bccab24349af56ec7db01639dfb75 | [
"MIT"
] | null | null | null | C# MultiThreading-Parallel (semester 3)/Fibers/FibersLib/Priorities.cs | vladislav-miroshnikov/Computer-practice | 8215611de08bccab24349af56ec7db01639dfb75 | [
"MIT"
] | 2 | 2021-04-16T13:17:45.000Z | 2022-02-16T09:16:02.000Z | namespace FibersLib
{
internal enum SheduleType
{
Priority,
NonPriority
}
}
| 11.666667 | 29 | 0.571429 |
bb017d6b3cb94f09c65c6f2c923eb0d5513c8145 | 3,614 | cs | C# | Assets/UnityTechnologies/HMITemplate/Editor/IVI/ScreenOrientationHelper_CustomInpector.cs | sunrui19941128/CarHMI | 3ab6ccd7dfbb48735dffac117b1821f530f1ad7d | [
"MIT"
] | null | null | null | Assets/UnityTechnologies/HMITemplate/Editor/IVI/ScreenOrientationHelper_CustomInpector.cs | sunrui19941128/CarHMI | 3ab6ccd7dfbb48735dffac117b1821f530f1ad7d | [
"MIT"
] | null | null | null | Assets/UnityTechnologies/HMITemplate/Editor/IVI/ScreenOrientationHelper_CustomInpector.cs | sunrui19941128/CarHMI | 3ab6ccd7dfbb48735dffac117b1821f530f1ad7d | [
"MIT"
] | null | null | null | using UnityEditor;
using UnityEngine;
using HMI.UI.IVI;
/// <summary>
/// Custom inspector for the screen orientation helper
/// </summary>
[CustomEditor(typeof(ScreenOrientationHelper))]
public class ScreenOrientationHelper_CustomInpector : Editor
{
/// <summary>
/// Inspector GUI callback
/// </summary>
... | 40.155556 | 124 | 0.572773 |
a49c2519d78f49fb519bdfc2aa1a51c873c92674 | 73 | php | PHP | php/news/news.body.php | ziyoren/phtml-template | 2bcd64a5f613c55b2c15c8f11cf07a05dfd70e3f | [
"MIT"
] | 1 | 2022-03-31T07:38:44.000Z | 2022-03-31T07:38:44.000Z | php/news/news.body.php | ziyoren/phtml-template | 2bcd64a5f613c55b2c15c8f11cf07a05dfd70e3f | [
"MIT"
] | null | null | null | php/news/news.body.php | ziyoren/phtml-template | 2bcd64a5f613c55b2c15c8f11cf07a05dfd70e3f | [
"MIT"
] | null | null | null | <?php
echo '<h1>';
echo 'Hello News ', date('Y-m-d H:i:s');
echo '</h1>'; | 18.25 | 40 | 0.520548 |
a4ab2994593e6e5fd7b47291ddf9ecf5ed9445fc | 472 | php | PHP | resources/views/layouts/front.blade.php | couchjanus/agop-test | b88f12cdd698e919730b965172a82094125811be | [
"MIT"
] | null | null | null | resources/views/layouts/front.blade.php | couchjanus/agop-test | b88f12cdd698e919730b965172a82094125811be | [
"MIT"
] | null | null | null | resources/views/layouts/front.blade.php | couchjanus/agop-test | b88f12cdd698e919730b965172a82094125811be | [
"MIT"
] | null | null | null | @extends('layouts.app')
@section('content')
<!-- Page Content -->
<div class="container">
<div class="row">
<div class="col-lg-3">
@include('layouts.partials._aside')
</div>
<!-- /.col-lg-3 -->
<div class="col-lg-9">
@yie... | 24.842105 | 51 | 0.383475 |
9fe1f99facaef9196cf1807199e8be1dbbe2affb | 2,980 | py | Python | BruneTransformation.py | LLNL/ferdinand | af47b415ea1e9cb21a45b20d1f3854bc7f3a4d70 | [
"Apache-2.0"
] | null | null | null | BruneTransformation.py | LLNL/ferdinand | af47b415ea1e9cb21a45b20d1f3854bc7f3a4d70 | [
"Apache-2.0"
] | null | null | null | BruneTransformation.py | LLNL/ferdinand | af47b415ea1e9cb21a45b20d1f3854bc7f3a4d70 | [
"Apache-2.0"
] | null | null | null | #
##############################################
# #
# Ferdinand 0.40, Ian Thompson, LLNL #
# #
# gnd,endf,fresco,azure,hyrma #
# #
###################################... | 35.058824 | 164 | 0.482886 |
a7d5f65f5b5b53596d08250b3e9adbdf803cee76 | 948 | dart | Dart | tests/compiler/dart2js/inference/side_effects/annotations.dart | annagrin/sdk | dfce72bbf9bf359ecd810964259978e24c55e237 | [
"BSD-3-Clause"
] | 2 | 2019-08-15T18:30:00.000Z | 2020-11-03T20:17:12.000Z | tests/compiler/dart2js/inference/side_effects/annotations.dart | annagrin/sdk | dfce72bbf9bf359ecd810964259978e24c55e237 | [
"BSD-3-Clause"
] | 1 | 2021-01-21T14:45:59.000Z | 2021-01-21T14:45:59.000Z | tests/compiler/dart2js/inference/side_effects/annotations.dart | annagrin/sdk | dfce72bbf9bf359ecd810964259978e24c55e237 | [
"BSD-3-Clause"
] | 3 | 2020-02-13T02:08:04.000Z | 2020-08-09T07:49:55.000Z | // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
/// Static field used in tests below.
var field;
/// Read a static field. This adds dependency of stat... | 36.461538 | 79 | 0.751055 |
ef68deb6aaac3332d749ff0f4d5d0aa49c3544a5 | 623 | js | JavaScript | src/what-season.js | Roman-Gukolov/basic-js | 1aa857acb89fb585b337097da92e3f3c3faecb29 | [
"MIT"
] | null | null | null | src/what-season.js | Roman-Gukolov/basic-js | 1aa857acb89fb585b337097da92e3f3c3faecb29 | [
"MIT"
] | null | null | null | src/what-season.js | Roman-Gukolov/basic-js | 1aa857acb89fb585b337097da92e3f3c3faecb29 | [
"MIT"
] | null | null | null | const CustomError = require("../extensions/custom-error");
module.exports = function getSeason(date) {
if (!date) {
return 'Unable to determine the time of year!';
}
date.valueOf();
var winter = [11, 0, 1];
var sping = [2, 3, 4];
var summer = [5, 6, 7];
var autumn = [8, 9, 10];
... | 25.958333 | 58 | 0.563403 |
dbdaccbc49d179942a1e55f302a6f114038affea | 3,055 | php | PHP | resources/views/client/history.blade.php | HemIIH/servitek-german | b25fbb49cd2b9c3f96ab57c2d2fa552749c19e55 | [
"MIT"
] | null | null | null | resources/views/client/history.blade.php | HemIIH/servitek-german | b25fbb49cd2b9c3f96ab57c2d2fa552749c19e55 | [
"MIT"
] | null | null | null | resources/views/client/history.blade.php | HemIIH/servitek-german | b25fbb49cd2b9c3f96ab57c2d2fa552749c19e55 | [
"MIT"
] | null | null | null | @extends('layouts.client')
@section('content')
<div class="row">
<div class="col-md-6">
<div class="panel panel-default">
<div class="panel-heading">
<h4>{{trans('admin.Kundenhistorie')}}</h4>
</div>
<div class="panel-body">
... | 41.849315 | 130 | 0.343372 |
e70688079b13ab27df6873943180bed8a6d9e68c | 23,743 | php | PHP | PYTHIA8/pythia8243/share/Pythia8/phpdoc/Bibliography.php | mpoghos/AliRoot | e81490f640ad6f2a6189f679de96b07a94304b58 | [
"BSD-3-Clause"
] | 52 | 2016-12-11T13:04:01.000Z | 2022-03-11T11:49:35.000Z | PYTHIA8/pythia8243/share/Pythia8/phpdoc/Bibliography.php | mpoghos/AliRoot | e81490f640ad6f2a6189f679de96b07a94304b58 | [
"BSD-3-Clause"
] | 1,388 | 2016-11-01T10:27:36.000Z | 2022-03-30T15:26:09.000Z | PYTHIA8/pythia8243/share/Pythia8/phpdoc/Bibliography.php | mpoghos/AliRoot | e81490f640ad6f2a6189f679de96b07a94304b58 | [
"BSD-3-Clause"
] | 275 | 2016-06-21T20:24:05.000Z | 2022-03-31T13:06:19.000Z | <html>
<head>
<title>Bibliography</title>
<link rel="stylesheet" type="text/css" href="pythia.css"/>
<link rel="shortcut icon" href="pythia32.gif"/>
</head>
<body>
<script language=javascript type=text/javascript>
function stopRKey(evt) {
var evt = (evt) ? evt : ((event) ? event : null);
var node = (evt.target) ? evt.... | 34.610787 | 116 | 0.620351 |
79839e2a46eee64ffe1de2f0ff42893bb7394229 | 2,412 | php | PHP | modules/ModUsuarios/models/Utils.php | development2gom/green-tenderos-admin | d6a8b5f9f2df792f0ce3f815cd4363d2d9914a98 | [
"BSD-3-Clause"
] | null | null | null | modules/ModUsuarios/models/Utils.php | development2gom/green-tenderos-admin | d6a8b5f9f2df792f0ce3f815cd4363d2d9914a98 | [
"BSD-3-Clause"
] | null | null | null | modules/ModUsuarios/models/Utils.php | development2gom/green-tenderos-admin | d6a8b5f9f2df792f0ce3f815cd4363d2d9914a98 | [
"BSD-3-Clause"
] | null | null | null | <?php
namespace app\modules\ModUsuarios\models;
use Yii;
class Utils {
/**
* Genera un token para guardarlo en la base de datos
*
* @param string $pre
* @return string
*/
public static function generateToken($pre = 'tok') {
$token = $pre . md5 ( uniqid ( $pre ) ) . uniqid ();
return $t... | 32.594595 | 292 | 0.649668 |
8534c4ff95ae2e10a4b293e48fc0f69f22ed5f34 | 2,717 | swift | Swift | Tuna/Tuna/Internal/Networking/Core/HTTP/HTTPLoading.swift | tuna-software/ios-core-sdk | 3ad9d94cd42705b98e29d2a416abc3873e9b1cd0 | [
"BSD-2-Clause"
] | 1 | 2021-06-25T15:30:57.000Z | 2021-06-25T15:30:57.000Z | Tuna/Tuna/Internal/Networking/Core/HTTP/HTTPLoading.swift | tuna-software/ios-core-sdk | 3ad9d94cd42705b98e29d2a416abc3873e9b1cd0 | [
"BSD-2-Clause"
] | null | null | null | Tuna/Tuna/Internal/Networking/Core/HTTP/HTTPLoading.swift | tuna-software/ios-core-sdk | 3ad9d94cd42705b98e29d2a416abc3873e9b1cd0 | [
"BSD-2-Clause"
] | null | null | null | //
// HTTPLoading.swift
// Tuna
//
// Created by Guilherme Rambo on 24/03/21.
//
import Foundation
import os.log
protocol HTTPLoading: AnyObject {
func load(_ request: HTTPRequest, completion: @escaping (HTTPResult) -> Void)
}
extension URLSession: HTTPLoading {
static let log = OSLog.tunaCoreLog(for... | 33.9625 | 164 | 0.537725 |
bff12f8f3ebddec3e921976739d8162c5d847cde | 1,635 | rb | Ruby | deps/mruby-minidsl/test/minidsl.rb | accaman/mruby-meltingpot | 5554a8ce31212d7f1edda42044667a0f9eb6189c | [
"MIT"
] | null | null | null | deps/mruby-minidsl/test/minidsl.rb | accaman/mruby-meltingpot | 5554a8ce31212d7f1edda42044667a0f9eb6189c | [
"MIT"
] | null | null | null | deps/mruby-minidsl/test/minidsl.rb | accaman/mruby-meltingpot | 5554a8ce31212d7f1edda42044667a0f9eb6189c | [
"MIT"
] | null | null | null | class Klass < MiniDSL
field :foo, :t => String
field :bar, :t => String, :as => :baz
field :qux, :t => Array , :freeze => true
field :quux, :t => Fixnum, :load => Proc.new { |a| a.reduce(0) { |n, m| m += n } }
end
assert("MiniDSL.field") do
assert_true Klass.method_defined?(:foo)
assert_false Kla... | 27.711864 | 86 | 0.579205 |
f439a82fd03227404102acc57ed1e5132255c3f6 | 758 | cs | C# | Library.Tests/Controllers/CatalogControllerShould.cs | Azoq/library-management-system-master | 9d757a105d3243890b48d42a95e0192e7fc1367c | [
"Apache-2.0"
] | null | null | null | Library.Tests/Controllers/CatalogControllerShould.cs | Azoq/library-management-system-master | 9d757a105d3243890b48d42a95e0192e7fc1367c | [
"Apache-2.0"
] | null | null | null | Library.Tests/Controllers/CatalogControllerShould.cs | Azoq/library-management-system-master | 9d757a105d3243890b48d42a95e0192e7fc1367c | [
"Apache-2.0"
] | null | null | null | using System.Collections.Generic;
using System.Linq;
using FluentAssertions;
using Library.Data;
using Library.Data.Models;
using Library.Web.Controllers;
using Library.Web.Models.Catalog;
using Library.Web.Models.CheckoutModels;
using Microsoft.AspNetCore.Mvc;
using Moq;
using NUnit.Framework;
namespace Library.Test... | 24.451613 | 65 | 0.598945 |
29b9734d9e913bcd21c93dcc65910cb4e4227391 | 2,659 | lua | Lua | cmd_effect.lua | 12xx12/Core | 1c6abcccd054131e0dbc4f2669d791b2ad072649 | [
"Apache-2.0"
] | 51 | 2015-12-31T16:07:20.000Z | 2022-02-21T15:50:21.000Z | cmd_effect.lua | 12xx12/Core | 1c6abcccd054131e0dbc4f2669d791b2ad072649 | [
"Apache-2.0"
] | 72 | 2015-12-21T23:34:33.000Z | 2021-07-23T09:11:04.000Z | cmd_effect.lua | 12xx12/Core | 1c6abcccd054131e0dbc4f2669d791b2ad072649 | [
"Apache-2.0"
] | 43 | 2016-01-03T12:02:46.000Z | 2021-11-20T14:12:57.000Z | function HandleEffectCommand(Split, Player)
local Response
if not Split[4] then
Split[4] = 30
end
if not Split[5] then
Split[5] = 0
end
local EffectID = tonumber(Split[3])
local Amplifier = tonumber(Split[5])
local ApplyEffect = function(OtherPlayer)
local Seconds = (tonumber(Split[4]) * 20)
OtherP... | 37.985714 | 146 | 0.705528 |
49508b5ec7de2936d709df6c07ecb8f987bc7be1 | 5,131 | py | Python | o/odbc32.py | byeongal/pefile_ordlookup | 9400d24890601e4ec47f3b279b72f4fd9ca1d58d | [
"MIT"
] | null | null | null | o/odbc32.py | byeongal/pefile_ordlookup | 9400d24890601e4ec47f3b279b72f4fd9ca1d58d | [
"MIT"
] | null | null | null | o/odbc32.py | byeongal/pefile_ordlookup | 9400d24890601e4ec47f3b279b72f4fd9ca1d58d | [
"MIT"
] | null | null | null | # md5 : b27c56d844ab064547d40bf4f0a96eae
# sha1 : c314e447018b0d8711347ee26a5795480837b2d3
# sha256 : c045615fe1b44a6409610e4e94e70f1559325eb55ab1f805b0452e852771c0ae
ord_names = {
1: b'SQLAllocConnect',
2: b'SQLAllocEnv',
3: b'SQLAllocStmt',
4: b'SQLBindCol',
5: b'SQLCancel',
6: b'SQLColAttrib... | 28.192308 | 75 | 0.652115 |
a9400fc70d06c1f9ee72c725357a724050702953 | 188 | css | CSS | unit-11/app-client/src/app/journals/session-journal/new-session/new-session.component.css | MihailSverkunov/JavaSIS-3.20 | c5599bb3044b3a26b276ddde3558c3ee72b4ac7b | [
"Apache-2.0"
] | 2 | 2019-08-28T09:31:59.000Z | 2021-11-14T08:22:33.000Z | unit-11/app-client/src/app/journals/session-journal/new-session/new-session.component.css | MihailSverkunov/JavaSIS-3.20 | c5599bb3044b3a26b276ddde3558c3ee72b4ac7b | [
"Apache-2.0"
] | 20 | 2020-03-05T00:31:34.000Z | 2022-03-02T08:10:56.000Z | unit-11/app-client/src/app/journals/session-journal/new-session/new-session.component.css | MihailSverkunov/JavaSIS-3.20 | c5599bb3044b3a26b276ddde3558c3ee72b4ac7b | [
"Apache-2.0"
] | 44 | 2020-03-03T13:54:57.000Z | 2022-01-25T16:27:43.000Z | form {
display: flex;
flex-direction: column;
}
.question-title {
color: blue;
}
.submit-button {
margin: 10px 15px;
}
mat-card {
margin: 15px;
background-color: #fafafa;
}
| 10.444444 | 28 | 0.638298 |