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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2b03c71f1fa0572827c99ff87100d7f1e086f110 | 941 | sql | SQL | schema.sql | ide-an/tootexporter | 6fc232303780894140f012d155fc06fd4a445ed1 | [
"MIT"
] | 1 | 2017-12-23T16:37:34.000Z | 2017-12-23T16:37:34.000Z | schema.sql | ide-an/tootexporter | 6fc232303780894140f012d155fc06fd4a445ed1 | [
"MIT"
] | 1 | 2021-06-01T21:40:04.000Z | 2021-06-01T21:40:04.000Z | schema.sql | ide-an/tootexporter | 6fc232303780894140f012d155fc06fd4a445ed1 | [
"MIT"
] | null | null | null | create table users (
id bigserial not null,
access_token varchar(255),
mastodon_id bigint,
created_at timestamp not null,
updated_at timestamp not null,
constraint pk_users primary key (id))
;
create unique index idx_users_masto... | 40.913043 | 98 | 0.568544 |
1a6b424be4bcf4853505ce2d9e68268f8bc06dd5 | 59,076 | py | Python | src/models/infection_model.py | MOCOS-COVID19/modelling-ncov2019 | c47a2c980713da970b67db851a95eb68727517a9 | [
"MIT"
] | 7 | 2020-04-02T15:23:28.000Z | 2021-11-28T16:32:46.000Z | src/models/infection_model.py | MOCOS-COVID19/modelling-ncov2019 | c47a2c980713da970b67db851a95eb68727517a9 | [
"MIT"
] | 19 | 2020-03-17T08:46:06.000Z | 2020-10-13T07:58:27.000Z | src/models/infection_model.py | eMaerthin/modelling-ncov2019 | c47a2c980713da970b67db851a95eb68727517a9 | [
"MIT"
] | 5 | 2020-03-13T20:32:39.000Z | 2020-08-24T18:40:01.000Z | """
This is mostly based on references/infection_alg.pdf
"""
import ast
from functools import (lru_cache, partial)
import json
import logging
import mocos_helper
#import random
import time
from collections import defaultdict
import pickle
import psutil
from shutil import copyfile
from math import log
from git import R... | 49.643697 | 178 | 0.629799 |
2c8c1948f6fe7de896948b63c3d5376e74c0e1d8 | 6,141 | py | Python | Activities/models.py | tonyamf/LES | 074807be27fe3ec61c744c674636a48df2264e67 | [
"MIT"
] | null | null | null | Activities/models.py | tonyamf/LES | 074807be27fe3ec61c744c674636a48df2264e67 | [
"MIT"
] | null | null | null | Activities/models.py | tonyamf/LES | 074807be27fe3ec61c744c674636a48df2264e67 | [
"MIT"
] | null | null | null | from django.db import models
# Create your models here.
class Tags(models.Model):
name = models.IntegerField(db_column='Name',
blank=True,
null=True)
id = models.AutoField(db_column='ID',
primary_key=True)
class Meta... | 35.912281 | 85 | 0.488845 |
c9a8d170e8b121494edd5c84a9776c0cdb0a3f39 | 473 | ts | TypeScript | app/test/fixtures/team.ts | Nalhin/PokemonDreamTeams | 1b83f879496a42961c2b14c7a0b7b806b870b224 | [
"MIT"
] | 2 | 2020-01-19T16:15:08.000Z | 2020-01-19T22:48:02.000Z | app/test/fixtures/team.ts | Nalhin/PokemonDreamTeams | 1b83f879496a42961c2b14c7a0b7b806b870b224 | [
"MIT"
] | 2 | 2019-10-27T20:16:32.000Z | 2020-02-19T18:08:06.000Z | app/test/fixtures/team.ts | Nalhin/PokemonTeams | 1b83f879496a42961c2b14c7a0b7b806b870b224 | [
"MIT"
] | null | null | null | export const fakeTeam = {
description: 'Team description',
name: 'Team name',
owner: { _id: '5da31dc6d5bdcf381c302469', login: '1' },
roster: [
{
attack: 100,
defense: 121,
hp: 108,
name: 'Zygarde',
pokedexId: 718,
speed: 95,
spellAttack: 81,
spellDefense: 95,... | 20.565217 | 57 | 0.560254 |
8ea860a667ebfce36de5306ef5b54c8ef1826c5c | 2,156 | js | JavaScript | src/components/hero.js | zaneadix/qc-links | f9bc569e40ac86d6177a18a1f200034d40f537b9 | [
"MIT"
] | null | null | null | src/components/hero.js | zaneadix/qc-links | f9bc569e40ac86d6177a18a1f200034d40f537b9 | [
"MIT"
] | null | null | null | src/components/hero.js | zaneadix/qc-links | f9bc569e40ac86d6177a18a1f200034d40f537b9 | [
"MIT"
] | null | null | null | import React from "react"
import YouTube from "react-youtube"
import { css } from "@emotion/core"
import Image from "../components/image"
import { colors, mediaQueries } from "../utils/styleVars"
let containerStyles = css`
background-color: ${colors.everglaze};
position: relative;
margin: 0 -1rem;
${mediaQue... | 19.962963 | 77 | 0.536178 |
df1d85e096f476ced6d5dbbe3e883304dfcb986e | 412 | cs | C# | Pandaros.API/Extender/IOnConstructInventoryManageColonyUIExtender.cs | JBurlison/Pandaros.API | b76b966a1916005f695581f39a3512e8e5fa22cf | [
"MIT"
] | 1 | 2019-12-27T19:37:27.000Z | 2019-12-27T19:37:27.000Z | Pandaros.API/Extender/IOnConstructInventoryManageColonyUIExtender.cs | JBurlison/Pandaros.API | b76b966a1916005f695581f39a3512e8e5fa22cf | [
"MIT"
] | 5 | 2020-09-07T22:30:59.000Z | 2021-05-14T11:13:22.000Z | Pandaros.API/Extender/IOnConstructInventoryManageColonyUIExtender.cs | JBurlison/Pandaros.API | b76b966a1916005f695581f39a3512e8e5fa22cf | [
"MIT"
] | 2 | 2019-08-09T00:11:36.000Z | 2020-10-04T21:47:27.000Z | using NetworkUI;
using NetworkUI.Items;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Pandaros.API.Extender
{
public interface IOnConstructInventoryManageColonyUIExtender : IPandarosExtention
{
void OnConstructInventoryMa... | 25.75 | 118 | 0.791262 |
e458c38e60f7f65fc13c85cd719d4d340322bd8e | 4,771 | swift | Swift | goSellAppClipSDK/Core/API/Internal/Data Managers/SettingsDataManager.swift | Tap-Payments/goSellSDKAppClips | a3f8362010c69e5d8c69253cc0ec59f5ddf301e0 | [
"MIT"
] | 1 | 2021-03-31T18:21:37.000Z | 2021-03-31T18:21:37.000Z | goSellAppClipSDK/Core/API/Internal/Data Managers/SettingsDataManager.swift | Tap-Payments/goSellAppClipSDK | a3f8362010c69e5d8c69253cc0ec59f5ddf301e0 | [
"MIT"
] | null | null | null | goSellAppClipSDK/Core/API/Internal/Data Managers/SettingsDataManager.swift | Tap-Payments/goSellAppClipSDK | a3f8362010c69e5d8c69253cc0ec59f5ddf301e0 | [
"MIT"
] | null | null | null | //
// SettingsDataManager.swift
// goSellSDK
//
// Copyright © 2019 Tap Payments. All rights reserved.
//
import func TapSwiftFixesV2.synchronized
/// Settings data manager.
import UIKit
internal final class SettingsDataManager {
// MARK: - Internal -
internal typealias OptionalErrorClosure = (T... | 24.848958 | 158 | 0.590652 |
4dcdea84ed35e2582d42199ac0eb0b127a85c4af | 2,847 | cs | C# | InstantDelivery.Service/Controllers/UsersController.cs | Gourishanakr/user-management | 979924d3588b224ecbfad9b7fdb6fb96ceee5f10 | [
"MIT"
] | 21 | 2017-02-05T09:09:39.000Z | 2022-03-14T06:33:41.000Z | InstantDelivery.Service/Controllers/UsersController.cs | Gourishanakr/user-management | 979924d3588b224ecbfad9b7fdb6fb96ceee5f10 | [
"MIT"
] | 1 | 2021-01-05T23:57:09.000Z | 2021-01-12T14:16:44.000Z | InstantDelivery.Service/Controllers/UsersController.cs | Gourishanakr/user-management | 979924d3588b224ecbfad9b7fdb6fb96ceee5f10 | [
"MIT"
] | 14 | 2017-11-04T15:01:37.000Z | 2021-01-07T08:52:18.000Z | using AutoMapper.QueryableExtensions;
using InstantDelivery.Common.Enums;
using InstantDelivery.Domain;
using InstantDelivery.Domain.Entities;
using InstantDelivery.Model;
using InstantDelivery.Model.Paging;
using InstantDelivery.Service.Paging;
using Microsoft.AspNet.Identity;
using System;
using System.Data.Entity;
... | 33.104651 | 101 | 0.582367 |
a3c55351f480edd5591c58e49706631229c505b7 | 3,870 | java | Java | src/com/github/anorber/argparse/ArgumentParser.java | anorber/argparse | 7b29c645b7db8afb4ed1fb14ecd73ebdf2b7080f | [
"WTFPL"
] | null | null | null | src/com/github/anorber/argparse/ArgumentParser.java | anorber/argparse | 7b29c645b7db8afb4ed1fb14ecd73ebdf2b7080f | [
"WTFPL"
] | null | null | null | src/com/github/anorber/argparse/ArgumentParser.java | anorber/argparse | 7b29c645b7db8afb4ed1fb14ecd73ebdf2b7080f | [
"WTFPL"
] | 1 | 2019-04-23T03:10:32.000Z | 2019-04-23T03:10:32.000Z | package com.github.anorber.argparse;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Iterator;
import java.util.List;
/**
* @author anorber
*
* @param <E>
*/
public class ArgumentParser<E> implements Iterable<Option<E>> {
private final ArgumentList<E> arguments;
private final FoundOpts<E>... | 25.8 | 76 | 0.673127 |
6b3770444590dc9d093e047cce3765c2bc941472 | 576 | js | JavaScript | types/tests/autogen.js | jamisoncozart/Chart.js | acd3b147a531b9362f03604b062067a4a9f9ee27 | [
"MIT"
] | 42,279 | 2016-04-24T22:47:13.000Z | 2022-03-31T23:54:31.000Z | types/tests/autogen.js | jamisoncozart/Chart.js | acd3b147a531b9362f03604b062067a4a9f9ee27 | [
"MIT"
] | 6,522 | 2016-04-24T21:45:09.000Z | 2022-03-31T16:32:50.000Z | types/tests/autogen.js | jamisoncozart/Chart.js | acd3b147a531b9362f03604b062067a4a9f9ee27 | [
"MIT"
] | 8,515 | 2016-04-25T04:55:38.000Z | 2022-03-31T23:47:40.000Z | import * as fs from 'fs';
import * as path from 'path';
import * as helpers from '../../src/helpers/index.js';
let fd;
try {
const fn = path.resolve(__dirname, 'autogen_helpers.ts');
fd = fs.openSync(fn, 'w+');
fs.writeSync(fd, 'import * as helpers from \'../helpers\';\n\n');
fs.writeSync(fd, 'const testKeys... | 25.043478 | 67 | 0.585069 |
6916eca49f48313405468ebb35a5fbd7cf5a2102 | 1,308 | swift | Swift | Foundation/NetworkClient/Utils/Parameters/Parameters+Value.swift | ihor-yarovyi/ReduxStarter | c2096d7b90e887e216999bb14e777faa66ace673 | [
"MIT"
] | null | null | null | Foundation/NetworkClient/Utils/Parameters/Parameters+Value.swift | ihor-yarovyi/ReduxStarter | c2096d7b90e887e216999bb14e777faa66ace673 | [
"MIT"
] | null | null | null | Foundation/NetworkClient/Utils/Parameters/Parameters+Value.swift | ihor-yarovyi/ReduxStarter | c2096d7b90e887e216999bb14e777faa66ace673 | [
"MIT"
] | null | null | null | //
// Parameters+Value.swift
// NetworkClient
//
// Created by Ihor Yarovyi on 8/23/21.
//
import Foundation
extension NetworkClient.Utils.Parameters {
struct Value: ParametersSubscript {
// MARK: - Private
let storage: Storage
let keys: [String]
var keyPath: S... | 26.693878 | 86 | 0.526758 |
ef580fdd71dcf6ec46c513c0b96f07e2f4e3b95c | 692 | js | JavaScript | client/src/components/ListDeleterContainer.js | JonasImm/mega-app2020 | b19c663710a8534fad4cdba0ff046152848b6e67 | [
"MIT"
] | 9 | 2020-09-09T07:22:08.000Z | 2020-09-14T05:42:16.000Z | client/src/components/ListDeleterContainer.js | JonasImm/mega-app2020 | b19c663710a8534fad4cdba0ff046152848b6e67 | [
"MIT"
] | 29 | 2020-09-06T15:24:37.000Z | 2020-09-23T16:08:01.000Z | client/src/components/ListDeleterContainer.js | JonasImm/mega-app2020 | b19c663710a8534fad4cdba0ff046152848b6e67 | [
"MIT"
] | 1 | 2020-09-29T13:02:18.000Z | 2020-09-29T13:02:18.000Z | import React from "react";
import PropTypes from "prop-types";
import styled from "@emotion/styled";
import ListDeleter from "./ListDeleter";
function ListDeleterContainer({ onCancel, onDeleteConfirm }) {
return (
<Container>
<ListDeleter onCancel={onCancel} onDeleteConfirm={onDeleteConfirm} />
</Conta... | 21.625 | 75 | 0.703757 |
a16069789117144f0ee1f4178284fd8184691288 | 962 | tsx | TypeScript | packages/react-icons/src/components/StarOff16Regular.tsx | LiquidatorCoder/fluentui-system-icons | d3614e4e95f47d86b1d1f930c4925e513949da54 | [
"MIT"
] | null | null | null | packages/react-icons/src/components/StarOff16Regular.tsx | LiquidatorCoder/fluentui-system-icons | d3614e4e95f47d86b1d1f930c4925e513949da54 | [
"MIT"
] | null | null | null | packages/react-icons/src/components/StarOff16Regular.tsx | LiquidatorCoder/fluentui-system-icons | d3614e4e95f47d86b1d1f930c4925e513949da54 | [
"MIT"
] | null | null | null | import * as React from "react";
import { JSX } from "react-jsx";
import { IFluentIconsProps } from '../IFluentIconsProps.types';
const StarOff16Regular = (iconProps: IFluentIconsProps, props: React.HTMLAttributes<HTMLElement>): JSX.Element => {
const {
primaryFill,
className
} = iconProps;
return <svg {.... | 74 | 621 | 0.661123 |
0dcb8d46853352ba2ea1a084d2ae23638b07a8b1 | 5,096 | cs | C# | SalaryEntities/Entities/Salary.cs | chrisjsherm/Facsal | ab4aff2b5532ce6429b5d8f383fa14b34e5f3cfb | [
"MIT"
] | null | null | null | SalaryEntities/Entities/Salary.cs | chrisjsherm/Facsal | ab4aff2b5532ce6429b5d8f383fa14b34e5f3cfb | [
"MIT"
] | null | null | null | SalaryEntities/Entities/Salary.cs | chrisjsherm/Facsal | ab4aff2b5532ce6429b5d8f383fa14b34e5f3cfb | [
"MIT"
] | null | null | null | using DataAnnotationsExtensions;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ChrisJSherm.Filters;
namespace SalaryEntities.Entities
{
[Eith... | 28.469274 | 100 | 0.551217 |
38bbe12e83d7129ab8c0bc9c1fa68397cab28fda | 1,349 | php | PHP | app/Http/Controllers/BackEnd/News/TagsController.php | sophanna999/smartcode_mef | bb4259294a105570ea138640ceb5861f939a5eee | [
"MIT"
] | null | null | null | app/Http/Controllers/BackEnd/News/TagsController.php | sophanna999/smartcode_mef | bb4259294a105570ea138640ceb5861f939a5eee | [
"MIT"
] | null | null | null | app/Http/Controllers/BackEnd/News/TagsController.php | sophanna999/smartcode_mef | bb4259294a105570ea138640ceb5861f939a5eee | [
"MIT"
] | null | null | null | <?php
namespace App\Http\Controllers\BackEnd\News;
use App\Http\Controllers\BackendController;
use App\Models\BackEnd\News\TagsModel;
use Illuminate\Http\Request;
use Config;
class TagsController extends BackendController {
public function __construct(){
parent::__construct();
$this->constant = Config::get('c... | 31.372093 | 77 | 0.661231 |
beb25b0716c7434658ae032f0cf8a0b003f7a43e | 460 | ts | TypeScript | src/modules/functions/edit/Shift.test.ts | design-automation/mobius-sim-funcs | 8e7a8a7b0f7f4d0f3f28746a2127e24500475214 | [
"MIT"
] | null | null | null | src/modules/functions/edit/Shift.test.ts | design-automation/mobius-sim-funcs | 8e7a8a7b0f7f4d0f3f28746a2127e24500475214 | [
"MIT"
] | null | null | null | src/modules/functions/edit/Shift.test.ts | design-automation/mobius-sim-funcs | 8e7a8a7b0f7f4d0f3f28746a2127e24500475214 | [
"MIT"
] | null | null | null | import { SIMFuncs } from '../../../index'
import * as qEnum from '../query/_enum';
const sf = new SIMFuncs();
const r_posis = sf.pattern.Rectangle([0, 0, 0],2);
const r_pgon = sf.make.Polygon(r_posis);
const check1 = sf.query.Get(qEnum._EEntType.EDGE, null);
sf.edit.Shift(r_pgon, 2);
const check2 = sf.query.Get(qE... | 25.555556 | 56 | 0.665217 |
4612946c1e1230c0e6c33fa83bfc328e40e6d1f8 | 2,640 | dart | Dart | lib/model/payload/category.dart | mjstel/health_kit_reporter | e35bd944a5b978281a2bfa581134323a82b20a74 | [
"MIT"
] | null | null | null | lib/model/payload/category.dart | mjstel/health_kit_reporter | e35bd944a5b978281a2bfa581134323a82b20a74 | [
"MIT"
] | null | null | null | lib/model/payload/category.dart | mjstel/health_kit_reporter | e35bd944a5b978281a2bfa581134323a82b20a74 | [
"MIT"
] | null | null | null | import 'device.dart';
import 'sample.dart';
import 'source_revision.dart';
/// Equivalent of [Category]
/// from [HealthKitReporter] https://cocoapods.org/pods/HealthKitReporter
///
/// Supports [map] representation.
///
/// Has a [Category.fromJson] constructor
/// to create instances from JSON payload coming from iO... | 26.4 | 77 | 0.655682 |
2cfb9af139ad425a03cf71bd0daefa032bb9e9dd | 1,568 | cpp | C++ | 6 复试/1 机试/资料/清华计算机考研机试/2018/cong.cpp | ladike/912_project | 5178c1c93ac6ca30ffc72dd689f5c6932704b4ab | [
"MIT"
] | 1 | 2022-03-02T16:05:49.000Z | 2022-03-02T16:05:49.000Z | 6 复试/1 机试/资料/清华计算机考研机试/2018/cong.cpp | ladike/912_project | 5178c1c93ac6ca30ffc72dd689f5c6932704b4ab | [
"MIT"
] | null | null | null | 6 复试/1 机试/资料/清华计算机考研机试/2018/cong.cpp | ladike/912_project | 5178c1c93ac6ca30ffc72dd689f5c6932704b4ab | [
"MIT"
] | null | null | null | # include<iostream>
# include<map>
# include<vector>
using namespace std;
typedef struct{int x,y;} position;
typedef struct{int id,f;} idfight;
typedef struct{int id;position p;int d;int f;bool live;} cong;
typedef vector<cong> conglist;
conglist all_cong;
map<int,vector<idfight> >war_map;
int n,m,k,times;
void init(){... | 23.402985 | 87 | 0.586097 |
db8123183861d85991ad2a0ae02cc0823d427760 | 2,778 | php | PHP | resources/views/manage/settings/roles-row.blade.php | mhrezaei/fiche | 22ec179578a7aadeb8272fdd1aa16368ee4162fb | [
"MIT"
] | null | null | null | resources/views/manage/settings/roles-row.blade.php | mhrezaei/fiche | 22ec179578a7aadeb8272fdd1aa16368ee4162fb | [
"MIT"
] | null | null | null | resources/views/manage/settings/roles-row.blade.php | mhrezaei/fiche | 22ec179578a7aadeb8272fdd1aa16368ee4162fb | [
"MIT"
] | null | null | null | @include('manage.frame.widgets.grid-rowHeader')
{{--
|--------------------------------------------------------------------------
| Title
|--------------------------------------------------------------------------
|
--}}
<td>
@include("manage.frame.widgets.grid-text" , [
'text' => $model->title,
'link' => "modal:... | 31.568182 | 173 | 0.472282 |
96cc5c62d02a2f443c1a9ff48b95dee2037f4f3c | 3,405 | rb | Ruby | spec/requests/access_tokens_spec.rb | omisego/sample-server | 26711a5a1684569c1e166bda6a5b21bc5b61be89 | [
"Apache-2.0"
] | 8 | 2018-02-28T09:19:12.000Z | 2019-05-07T19:45:52.000Z | spec/requests/access_tokens_spec.rb | omisego/sample-server | 26711a5a1684569c1e166bda6a5b21bc5b61be89 | [
"Apache-2.0"
] | null | null | null | spec/requests/access_tokens_spec.rb | omisego/sample-server | 26711a5a1684569c1e166bda6a5b21bc5b61be89 | [
"Apache-2.0"
] | 4 | 2018-03-23T09:29:56.000Z | 2019-05-07T17:03:49.000Z | require 'rails_helper'
RSpec.describe 'access tokens', type: :request do
let(:api_key) { create(:api_key) }
let(:keys) { Base64.encode64("#{api_key.id}:#{api_key.key}") }
let(:headers) { { 'HTTP_AUTHORIZATION' => "OMGShop #{keys}" } }
describe '/api/login' do
include_examples 'client auth', '/api/login'
... | 30.132743 | 81 | 0.575624 |
248549cab2ffe9d8b8633d6782fb819fbf31ecd3 | 2,609 | php | PHP | vendor/php-di/php-di/tests/UnitTest/Definition/Resolver/ArrayResolverTest.php | james-ransom/mysql-to-google-bigquery | ee5f6f3a8a380b797b902e538021adb78d1b0dcc | [
"MIT"
] | 1 | 2019-07-08T00:20:00.000Z | 2019-07-08T00:20:00.000Z | vendor/php-di/php-di/tests/UnitTest/Definition/Resolver/ArrayResolverTest.php | james-ransom/mysql-to-google-bigquery | ee5f6f3a8a380b797b902e538021adb78d1b0dcc | [
"MIT"
] | null | null | null | vendor/php-di/php-di/tests/UnitTest/Definition/Resolver/ArrayResolverTest.php | james-ransom/mysql-to-google-bigquery | ee5f6f3a8a380b797b902e538021adb78d1b0dcc | [
"MIT"
] | null | null | null | <?php
namespace DI\Test\UnitTest\Definition\Resolver;
use DI\Definition\AliasDefinition;
use DI\Definition\ArrayDefinition;
use DI\Definition\ObjectDefinition;
use DI\Definition\Resolver\ArrayResolver;
use DI\Definition\Resolver\DefinitionResolver;
use EasyMock\EasyMock;
use PHPUnit_Framework_MockObject_MockObject;
... | 24.847619 | 80 | 0.592181 |
14157ec7ef78413a969490e1de8cf0be88c07725 | 218 | ts | TypeScript | src/modules/atom/RadixEmission.ts | jaeminkim-com/radixdlt-js | 4a25f83dff8fd32336c80ae9daaead0565b8a85a | [
"MIT"
] | null | null | null | src/modules/atom/RadixEmission.ts | jaeminkim-com/radixdlt-js | 4a25f83dff8fd32336c80ae9daaead0565b8a85a | [
"MIT"
] | null | null | null | src/modules/atom/RadixEmission.ts | jaeminkim-com/radixdlt-js | 4a25f83dff8fd32336c80ae9daaead0565b8a85a | [
"MIT"
] | null | null | null | import { RadixConsumable } from '../RadixAtomModel'
export default class RadixEmission extends RadixConsumable {
public static SERIALIZER = 1782261127
constructor(json?: object) {
super(json)
}
}
| 21.8 | 60 | 0.706422 |
5d04df8ec0c0ac777f13f832d2da1fea6659ef6c | 7,106 | hpp | C++ | dakota-6.3.0.Windows.x86/include/DLSfuncs.hpp | seakers/ExtUtils | b0186098063c39bd410d9decc2a765f24d631b25 | [
"BSD-2-Clause"
] | null | null | null | dakota-6.3.0.Windows.x86/include/DLSfuncs.hpp | seakers/ExtUtils | b0186098063c39bd410d9decc2a765f24d631b25 | [
"BSD-2-Clause"
] | null | null | null | dakota-6.3.0.Windows.x86/include/DLSfuncs.hpp | seakers/ExtUtils | b0186098063c39bd410d9decc2a765f24d631b25 | [
"BSD-2-Clause"
] | 1 | 2022-03-18T14:13:14.000Z | 2022-03-18T14:13:14.000Z | #ifndef DLSfuncs.hpp
#define DLSfuncs.hpp
#include <stdio.h>
#include <iostream>
#include "dakota_data_types.hpp"
namespace Dakota {
class Optimizer1; // treated as anonymous here
struct Opt_Info {
char *begin; // I/O, updated by dlsolver_option for use in next dlsolver_option call
char *name; // out: option name... | 39.921348 | 101 | 0.753307 |
e1f1f39213fbd0b0812d3664a0f9b7629948fa12 | 621 | gemspec | Ruby | b3s_emoticons.gemspec | b3s/b3s_emoticons | 590e1c2248fb1f335fb7b6fcb8f0091fbb060879 | [
"MIT"
] | null | null | null | b3s_emoticons.gemspec | b3s/b3s_emoticons | 590e1c2248fb1f335fb7b6fcb8f0091fbb060879 | [
"MIT"
] | null | null | null | b3s_emoticons.gemspec | b3s/b3s_emoticons | 590e1c2248fb1f335fb7b6fcb8f0091fbb060879 | [
"MIT"
] | null | null | null | # frozen_string_literal: true
$LOAD_PATH.push File.expand_path("lib", __dir__)
require "b3s_emoticons/version"
Gem::Specification.new do |s|
s.name = "b3s_emoticons"
s.version = B3sEmoticons::VERSION
s.authors = ["Inge Jørgensen"]
s.email = ["inge@manualdesign.no"]
s.summary ... | 23 | 48 | 0.611916 |
df10e4ebbe3bcd6cd335d70c4c629029acddf84e | 3,093 | cs | C# | src/BizTalk.Common.Tests/Tracking/Messaging/ActivityFactoryFixture.cs | icraftsoftware/BizTalk.Factory | 7584592b505299d0d689cb8a5d53135298e58dff | [
"Apache-2.0"
] | 4 | 2020-02-17T12:54:47.000Z | 2021-05-31T08:42:44.000Z | src/BizTalk.Common.Tests/Tracking/Messaging/ActivityFactoryFixture.cs | icraftsoftware/BizTalk.Factory | 7584592b505299d0d689cb8a5d53135298e58dff | [
"Apache-2.0"
] | 2 | 2019-10-22T20:29:14.000Z | 2020-02-25T17:38:57.000Z | src/BizTalk.Common.Tests/Tracking/Messaging/ActivityFactoryFixture.cs | icraftsoftware/BizTalk.Factory | 7584592b505299d0d689cb8a5d53135298e58dff | [
"Apache-2.0"
] | 1 | 2018-05-31T13:40:05.000Z | 2018-05-31T13:40:05.000Z | #region Copyright & License
// Copyright © 2012 - 2013 François Chabot, Yves Dierick
//
// 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/LICEN... | 34.752809 | 152 | 0.741998 |
f5b8b4ef87f3fb64bb05515aa62f85a7149a65c0 | 10,859 | go | Go | codegen/go/xr/63x/cisco_ios_xr_ip_udp_oper/udp_connection/nodes/node/pcb_details/pcb_detail/udp_sh_table_bag.pb.go | cisco-ie/cisco-proto | 9cc3967cb1cabbb3e9f92f2c46ed96edf8a0a78b | [
"Apache-2.0"
] | 6 | 2019-06-06T04:30:27.000Z | 2021-02-21T22:41:00.000Z | codegen/go/xr/63x/cisco_ios_xr_ip_udp_oper/udp_connection/nodes/node/pcb_details/pcb_detail/udp_sh_table_bag.pb.go | cisco-ie/cisco-proto | 9cc3967cb1cabbb3e9f92f2c46ed96edf8a0a78b | [
"Apache-2.0"
] | 3 | 2019-04-01T23:07:32.000Z | 2019-06-04T13:42:52.000Z | codegen/go/xr/63x/cisco_ios_xr_ip_udp_oper/udp_connection/nodes/node/pcb_details/pcb_detail/udp_sh_table_bag.pb.go | cisco-ie/cisco-proto | 9cc3967cb1cabbb3e9f92f2c46ed96edf8a0a78b | [
"Apache-2.0"
] | 1 | 2020-02-28T21:16:30.000Z | 2020-02-28T21:16:30.000Z | /*
Copyright 2019 Cisco Systems
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
d... | 38.782143 | 147 | 0.718851 |
e7074a75ed9a92f427b2b63f8b5b558f43580697 | 118 | php | PHP | app/Services/Notifications/Exceptions/UserDoesNotHaveNumberException.php | aliseymi/Notification_Service | 33cfa8b6c90b7c2392d7d9a0bcb3a48619d85289 | [
"MIT"
] | null | null | null | app/Services/Notifications/Exceptions/UserDoesNotHaveNumberException.php | aliseymi/Notification_Service | 33cfa8b6c90b7c2392d7d9a0bcb3a48619d85289 | [
"MIT"
] | null | null | null | app/Services/Notifications/Exceptions/UserDoesNotHaveNumberException.php | aliseymi/Notification_Service | 33cfa8b6c90b7c2392d7d9a0bcb3a48619d85289 | [
"MIT"
] | null | null | null | <?php
namespace App\Services\Notifications\Exceptions;
class UserDoesNotHaveNumberException extends \Exception
{
}
| 13.111111 | 55 | 0.822034 |
32fbff890d88a6394f4f3c086e5aee123a41ab40 | 1,425 | lua | Lua | [FE] Kill All [Need Sword].lua | xVoid-xyz/Roblox-Scripts | 7eb176fa654f2ea5fbc6bcccced1b15df7ed82c2 | [
"BSD-3-Clause"
] | 70 | 2021-02-09T17:21:32.000Z | 2022-03-28T12:41:42.000Z | [FE] Kill All [Need Sword].lua | xVoid-xyz/Roblox-Scripts | 7eb176fa654f2ea5fbc6bcccced1b15df7ed82c2 | [
"BSD-3-Clause"
] | 4 | 2021-08-19T22:05:58.000Z | 2022-03-19T18:58:01.000Z | [FE] Kill All [Need Sword].lua | xVoid-xyz/Roblox-Scripts | 7eb176fa654f2ea5fbc6bcccced1b15df7ed82c2 | [
"BSD-3-Clause"
] | 325 | 2021-02-26T22:23:41.000Z | 2022-03-31T19:36:12.000Z | -- Objects
local ScreenGui = Instance.new("ScreenGui")
local Frame = Instance.new("Frame")
local TextButton = Instance.new("TextButton")
-- Properties
ScreenGui.Parent = game.CoreGui
Frame.Parent = ScreenGui
Frame.BackgroundColor3 = Color3.new(1, 0.388235, 0.368627)
Frame.BorderColor3 = Color3.new(0.67451, 0.211765... | 29.6875 | 177 | 0.78386 |
e2a7ab88cf63fb3e1d0e4cc1c45e4b7f59a5f9fe | 392 | js | JavaScript | packages/ipfs-cli/src/commands/cid.js | kvutien/js-ipfs | 54d1ed33f5974c4e7616138560bae559ee99cda4 | [
"Apache-2.0",
"MIT"
] | 1 | 2021-06-21T20:45:43.000Z | 2021-06-21T20:45:43.000Z | packages/ipfs-cli/src/commands/cid.js | kvutien/js-ipfs | 54d1ed33f5974c4e7616138560bae559ee99cda4 | [
"Apache-2.0",
"MIT"
] | 1 | 2021-04-18T15:04:04.000Z | 2021-04-18T15:04:04.000Z | packages/ipfs-cli/src/commands/cid.js | yurtsiv/js-ipfs | 74bfce3c12f743b8c1cda4b2160b25802f9f27d6 | [
"Apache-2.0",
"MIT"
] | 1 | 2022-02-13T07:51:05.000Z | 2022-02-13T07:51:05.000Z | 'use strict'
const path = require('path')
const cidCommandsPath = path.join(
path.dirname(require.resolve('cid-tool')), 'cli', 'commands'
)
module.exports = {
command: 'cid <command>',
description: 'Convert, format and discover properties of CIDs.',
/**
* @param {import('yargs').Argv} yargs
*/
buil... | 17.818182 | 66 | 0.647959 |
0eb1bc96b558edb319dfe0011670c4a5bfc5b69d | 337 | sql | SQL | Workload 15 Second IO.sql | grrlgeek/extended-events | a4707c541e64add883c8a5b7954b8a7fe8d7cd01 | [
"MIT"
] | 36 | 2016-04-05T17:39:18.000Z | 2022-03-23T15:04:17.000Z | Workload 15 Second IO.sql | grrlgeek/extended-events | a4707c541e64add883c8a5b7954b8a7fe8d7cd01 | [
"MIT"
] | null | null | null | Workload 15 Second IO.sql | grrlgeek/extended-events | a4707c541e64add883c8a5b7954b8a7fe8d7cd01 | [
"MIT"
] | 9 | 2015-12-31T20:48:36.000Z | 2021-08-23T14:49:00.000Z | /* Workload for 15 Second I/O Error */
--How can I get I/O to last 15 seconds?
/*nope
USE AdventureWorks2014;
GO
BEGIN TRANSACTION
SELECT *
FROM Person.Person;
WAITFOR DELAY '00:00:15'
COMMIT TRANSACTION
*/
USE AdventureWorks2012;
GO
SELECT *
FROM bigProduct;
SELECT *
FROM bigTransactionHistory;
--S... | 12.035714 | 40 | 0.715134 |
2d7ae418b1cebf4e9eb40cb39c85af6ffbcff61f | 1,169 | go | Go | example/example.go | kibaamor/golog | ee92c16f5ccbe42b6e3870aaf337f8407d8aa045 | [
"MIT"
] | null | null | null | example/example.go | kibaamor/golog | ee92c16f5ccbe42b6e3870aaf337f8407d8aa045 | [
"MIT"
] | null | null | null | example/example.go | kibaamor/golog | ee92c16f5ccbe42b6e3870aaf337f8407d8aa045 | [
"MIT"
] | null | null | null | package main
import (
"context"
"os"
"github.com/kibaamor/golog"
)
func main() {
// basic logger
logger := golog.NewTermLogger(os.Stderr, true)
// got: `[INFO] 1:1 k1:v1 k2:[1 1]`
_ = logger.Log(context.Background(), golog.LevelInfo, 1, 1, "k1", "v1", "k2", []int{1, 1})
// combine multiple logger
// Disca... | 28.512195 | 94 | 0.673225 |
ebfcee70c3ad410f0497777290f99f003ed22531 | 2,430 | css | CSS | css/contact.css | rilindpozhegu/CMS-EM | 6b10d10696ad9b1935ce5f58aaaf92c855552c20 | [
"MIT"
] | null | null | null | css/contact.css | rilindpozhegu/CMS-EM | 6b10d10696ad9b1935ce5f58aaaf92c855552c20 | [
"MIT"
] | null | null | null | css/contact.css | rilindpozhegu/CMS-EM | 6b10d10696ad9b1935ce5f58aaaf92c855552c20 | [
"MIT"
] | null | null | null | /*Fonts*/
@font-face {
font-family: 'OpenSans-Light';
src: url('../fonts/OpenSans-Light.ttf');
}
@font-face {
font-family: 'HelveticaLTStd-Bold';
src: url('../fonts/HelveticaLTStd-Bold.otf');
}
@font-face {
font-family: 'HelveticaLTStd-Light';
src: url('../fonts/HelveticaLTStd-Light.otf');
}
@font-f... | 18.837209 | 93 | 0.611523 |
ca9c141ac7939d7097ec1ac8881f5c10ced6db3b | 1,184 | kt | Kotlin | src/main/kotlin/io/openapiprocessor/core/processor/MappingConverter.kt | hauner/openapi-processor-core | de1f30c5926b699bdc9e22ec99eb47218c0c3dfe | [
"Apache-2.0"
] | null | null | null | src/main/kotlin/io/openapiprocessor/core/processor/MappingConverter.kt | hauner/openapi-processor-core | de1f30c5926b699bdc9e22ec99eb47218c0c3dfe | [
"Apache-2.0"
] | 5 | 2020-06-06T08:00:01.000Z | 2020-06-13T15:13:02.000Z | src/main/kotlin/io/openapiprocessor/core/processor/MappingConverter.kt | hauner/openapi-processor-core | de1f30c5926b699bdc9e22ec99eb47218c0c3dfe | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2019 https://github.com/openapi-processor/openapi-processor-core
* PDX-License-Identifier: Apache-2.0
*/
@file:Suppress("DEPRECATION")
package io.openapiprocessor.core.processor
import io.openapiprocessor.core.converter.mapping.Mapping
import io.openapiprocessor.core.processor.mapping.v1.MappingCon... | 32.888889 | 98 | 0.753378 |
0abe1c0e00853bba9a8dafb6fe2c3611418f7f85 | 5,751 | cs | C# | Avalonia.ExtendedToolkit/Controls/Flyout/FlyoutsControl.cs | FCUnlimited/Avalonia.ExtendedToolkit | c88181fb263916d67c467893efee5da4b04a1c8b | [
"MIT"
] | 137 | 2020-02-02T19:01:36.000Z | 2022-03-30T07:24:00.000Z | Avalonia.ExtendedToolkit/Controls/Flyout/FlyoutsControl.cs | FCUnlimited/Avalonia.ExtendedToolkit | c88181fb263916d67c467893efee5da4b04a1c8b | [
"MIT"
] | 54 | 2020-04-15T17:38:13.000Z | 2022-03-24T14:30:18.000Z | Avalonia.ExtendedToolkit/Controls/Flyout/FlyoutsControl.cs | FCUnlimited/Avalonia.ExtendedToolkit | c88181fb263916d67c467893efee5da4b04a1c8b | [
"MIT"
] | 13 | 2020-03-29T14:55:18.000Z | 2022-03-30T07:24:01.000Z | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using Avalonia.Controls;
using Avalonia.Controls.Generators;
using Avalonia.ExtendedToolkit.Extensions;
using Avalonia.Input;
namespace Avalonia.ExtendedToolkit.Controls
{
//ported from https://github.com/MahApps/MahApps.... | 35.067073 | 122 | 0.611546 |
4f9d4a538d47d8e23176dd386c548a73e4e247be | 159 | sql | SQL | src/main/resources/META-INF/create-script.sql | asiexplore/restfultest | abe2b5d8a00a698b56f1d9366bf6176d46a4df55 | [
"MIT"
] | 5 | 2016-11-07T09:28:43.000Z | 2020-09-02T04:01:39.000Z | src/main/resources/META-INF/create-script.sql | asiexplore/restfultest | abe2b5d8a00a698b56f1d9366bf6176d46a4df55 | [
"MIT"
] | null | null | null | src/main/resources/META-INF/create-script.sql | asiexplore/restfultest | abe2b5d8a00a698b56f1d9366bf6176d46a4df55 | [
"MIT"
] | 9 | 2017-01-15T17:44:24.000Z | 2020-06-15T12:13:55.000Z | CREATE TABLE CUSTOMER("ID" BIGINT PRIMARY KEY GENERATED ALWAYS AS IDENTITY (start with 1, increment by 1), "FIRST_NAME" VARCHAR(255), "LAST_NAME" VARCHAR(255)) | 159 | 159 | 0.773585 |
8e8df6b74210f112b441c8461f69e4bbe43cdc17 | 751 | js | JavaScript | src/components/TextBlock.js | archilkarchava/stolyarka-gatsby | c087e1af7db138a2ceaad2597899495a41c3f788 | [
"MIT"
] | null | null | null | src/components/TextBlock.js | archilkarchava/stolyarka-gatsby | c087e1af7db138a2ceaad2597899495a41c3f788 | [
"MIT"
] | null | null | null | src/components/TextBlock.js | archilkarchava/stolyarka-gatsby | c087e1af7db138a2ceaad2597899495a41c3f788 | [
"MIT"
] | null | null | null | import styled from 'styled-components'
import setTextColor from '../utils/setTextColor'
import media from '../utils/media'
const TextBlock = styled.div`
background-color: ${props =>
(props.primaryBg && props.theme.primary) ||
(props.lightBg && props.theme.light) ||
(props.darkBg && props.theme.da... | 26.821429 | 50 | 0.617843 |
a923341b5770c07c176a6ea327641577fc08af5f | 1,197 | css | CSS | src/components/Projects/Projects.css | siddhant-roy/portfolio | 6353398757590260097c4e54b110e9bbad8d1154 | [
"MIT"
] | null | null | null | src/components/Projects/Projects.css | siddhant-roy/portfolio | 6353398757590260097c4e54b110e9bbad8d1154 | [
"MIT"
] | null | null | null | src/components/Projects/Projects.css | siddhant-roy/portfolio | 6353398757590260097c4e54b110e9bbad8d1154 | [
"MIT"
] | null | null | null | .project-cards-container {
display: flex;
flex-direction: row;
flex-wrap: wrap;
padding: 44px;
align-self: center;
justify-content: center;
}
.project-card {
width: 500px;
min-height: 550px;
background: #fff;
box-shadow: 10px 40px 50px rgba(229, 233, 246, 0.4);
border-radius: 20px;
display: fle... | 15.75 | 54 | 0.651629 |
4aaf3192b0fbc97845b8aa665c571ce52f670461 | 175 | sql | SQL | data/db/65-inttofloat.sql | buse974/twic-api | e1edb6060def641977c8d7d25ab0fb0bf8512c1e | [
"MIT"
] | null | null | null | data/db/65-inttofloat.sql | buse974/twic-api | e1edb6060def641977c8d7d25ab0fb0bf8512c1e | [
"MIT"
] | 1 | 2017-12-19T15:37:43.000Z | 2017-12-19T15:56:21.000Z | data/db/65-inttofloat.sql | buse974/twic-api | e1edb6060def641977c8d7d25ab0fb0bf8512c1e | [
"MIT"
] | 3 | 2017-12-10T22:16:23.000Z | 2017-12-15T08:58:25.000Z | ALTER TABLE `bank_answer_item` CHANGE COLUMN `percent` `percent` FLOAT NULL DEFAULT NULL ;
ALTER TABLE `bank_question` CHANGE COLUMN `point` `point` FLOAT NULL DEFAULT NULL ;
| 58.333333 | 90 | 0.782857 |
b052201ee391d75833617480f014228469bd71e1 | 661 | py | Python | benchmarks/Evolution/both/evo_tests/constants.py | nuprl/retic_performance | 621211c2f40251ce5364c33e72e4067e34a32013 | [
"MIT"
] | 3 | 2018-08-03T02:41:29.000Z | 2021-03-19T03:18:47.000Z | benchmarks/Evolution/both/evo_tests/constants.py | nuprl/retic_performance | 621211c2f40251ce5364c33e72e4067e34a32013 | [
"MIT"
] | 3 | 2018-02-04T17:53:56.000Z | 2018-11-10T17:06:57.000Z | benchmarks/Evolution/both/evo_tests/constants.py | nuprl/retic_performance | 621211c2f40251ce5364c33e72e4067e34a32013 | [
"MIT"
] | 1 | 2018-08-04T00:14:12.000Z | 2018-08-04T00:14:12.000Z | __author__ = 'Edwin Cowart, Kevin McDonough'
# The URL that the Test Cases are received from as HTML
TEST_CASES_URL = "http://www.ccs.neu.edu/home/tonyg/cs4500/6.html"
GEN_TEST_STR = 'test_*.py'
# JSON Directory Names
JSON_STREAM_DIR = "json_streams"
JSON_SITUATION_DIR = "json_situations"
JSON_FEEDING_6_DIR = "json... | 25.423077 | 66 | 0.77761 |
447a084bb3d50424a483e401e93fb5de6c9bdd6c | 1,941 | py | Python | meteor_reasoner/utils/loader.py | wdimmy/MeTeoR | 7d0b48bf32eca17a1d507476112379daa3dafc31 | [
"MIT"
] | 8 | 2021-12-01T14:17:06.000Z | 2022-03-05T13:22:27.000Z | meteor_reasoner/utils/loader.py | wdimmy/MeTeoR | 7d0b48bf32eca17a1d507476112379daa3dafc31 | [
"MIT"
] | null | null | null | meteor_reasoner/utils/loader.py | wdimmy/MeTeoR | 7d0b48bf32eca17a1d507476112379daa3dafc31 | [
"MIT"
] | null | null | null | from meteor_reasoner.utils.parser import *
from collections import defaultdict
def load_dataset(lines):
"""
Read string-like facts into a dictionary object.
Args:
lines (list of strings): a list of facts in the form of A(x,y,z)@[1,2] or A@[1,2)
Returns:
A defaultdict object, in whic... | 28.970149 | 101 | 0.574446 |
71ff0e4788665b8bb7811227c7a59ac3cd152964 | 5,038 | lua | Lua | app/handlers/ddl_handler.lua | datamarts/kafka-tarantool-loader | c4de2d70b8a2a36555807b1e97acddb1a1cf4b82 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | app/handlers/ddl_handler.lua | datamarts/kafka-tarantool-loader | c4de2d70b8a2a36555807b1e97acddb1a1cf4b82 | [
"ECL-2.0",
"Apache-2.0"
] | 5 | 2021-05-25T14:53:11.000Z | 2021-08-23T13:32:46.000Z | app/handlers/ddl_handler.lua | datamarts/kafka-tarantool-loader | c4de2d70b8a2a36555807b1e97acddb1a1cf4b82 | [
"ECL-2.0",
"Apache-2.0"
] | 4 | 2021-06-22T11:30:52.000Z | 2022-02-08T11:41:40.000Z | -- Copyright 2021 Kafka-Tarantool-Loader
--
-- 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 ag... | 32.928105 | 107 | 0.682612 |
ef1d2b289a50d0621dcdf6358e1b4068a88f2b00 | 2,333 | c | C | Homework/SimpleShell/simpleshell.c | gajavegr/csse332 | 060d3cf18cd38d9f4524c42f1e755f5d24de2c51 | [
"MIT"
] | null | null | null | Homework/SimpleShell/simpleshell.c | gajavegr/csse332 | 060d3cf18cd38d9f4524c42f1e755f5d24de2c51 | [
"MIT"
] | null | null | null | Homework/SimpleShell/simpleshell.c | gajavegr/csse332 | 060d3cf18cd38d9f4524c42f1e755f5d24de2c51 | [
"MIT"
] | null | null | null | /* Copyright 2016 Rose-Hulman
But based on idea from http://cnds.eecs.jacobs-university.de/courses/caoslab-2007/
*/
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <sys/types.h>
#include <unistd.h>
#include <sys/wait.h>
#include <stdbool.h>
#include <string.h>
void handler(){
wait(NULL);
... | 30.298701 | 98 | 0.498928 |
185148363bc6d250cef3df19f1b67fc4855578f4 | 1,776 | ts | TypeScript | element-template/src/element-template.ts | pearlbea/nutmeg-cli | c745cd7afb4d35d828d042d93cd660a50b46d24d | [
"MIT"
] | null | null | null | element-template/src/element-template.ts | pearlbea/nutmeg-cli | c745cd7afb4d35d828d042d93cd660a50b46d24d | [
"MIT"
] | null | null | null | element-template/src/element-template.ts | pearlbea/nutmeg-cli | c745cd7afb4d35d828d042d93cd660a50b46d24d | [
"MIT"
] | null | null | null | import { Seed, Property, html, TemplateResult } from '@nutmeg/seed';
export class <%= name %> extends Seed {
<% properties.properties.forEach((property) => {
print(` @Property() public ${property.name}: ${property.type};\n`);
}); %>
constructor() {
super();
}
/** The component instance has been inserte... | 26.909091 | 119 | 0.581081 |
3d23b5f04895949c0fe458b413a813c244bff796 | 396 | asm | Assembly | libsrc/_DEVELOPMENT/stdlib/c/sdcc_ix/_quicksort__callee.asm | meesokim/z88dk | 5763c7778f19a71d936b3200374059d267066bb2 | [
"ClArtistic"
] | null | null | null | libsrc/_DEVELOPMENT/stdlib/c/sdcc_ix/_quicksort__callee.asm | meesokim/z88dk | 5763c7778f19a71d936b3200374059d267066bb2 | [
"ClArtistic"
] | null | null | null | libsrc/_DEVELOPMENT/stdlib/c/sdcc_ix/_quicksort__callee.asm | meesokim/z88dk | 5763c7778f19a71d936b3200374059d267066bb2 | [
"ClArtistic"
] | null | null | null |
; void qsort_callee(void *base, size_t nmemb, size_t size, int (*compar)(const void *, const void *))
SECTION code_stdlib
PUBLIC __quicksort__callee, l0__quicksort__callee
EXTERN asm_quicksort
__quicksort__callee:
pop af
pop bc
pop hl
pop de
exx
pop bc
push af
l0__quicksort__callee:
push... | 12.774194 | 101 | 0.679293 |
995fae73bf8a3b8fde6063a9927e84ca93e9dc7a | 8,518 | lua | Lua | nvim_2021/lua/core/galaxyline.lua | bamzi/dotconfig | 4db4130e0a12a3c5aa1db05d353ee9c54fcff676 | [
"MIT"
] | null | null | null | nvim_2021/lua/core/galaxyline.lua | bamzi/dotconfig | 4db4130e0a12a3c5aa1db05d353ee9c54fcff676 | [
"MIT"
] | null | null | null | nvim_2021/lua/core/galaxyline.lua | bamzi/dotconfig | 4db4130e0a12a3c5aa1db05d353ee9c54fcff676 | [
"MIT"
] | null | null | null | -- if not package.loaded['galaxyline'] then
-- return
-- end
require "core.status_colors"
local Log = require "core.log"
local status_ok, gl = pcall(require, "galaxyline")
if not status_ok then
Log:get_default().error "Failed to load galaxyline"
return
end
-- NOTE: if someone defines colors but doesn't have t... | 24.267806 | 124 | 0.606715 |
9e2d3b68f493d5f6fc1681e96e9ca1b0ba80d115 | 307 | cs | C# | src/Tinja.Abstractions/IContainer.cs | zuvys/Tinja | 12d925dc5856dca1597af62701b5e7c878817da3 | [
"MIT"
] | 18 | 2018-04-02T09:43:06.000Z | 2021-12-10T03:18:38.000Z | src/Tinja.Abstractions/IContainer.cs | zuvys/Tinja | 12d925dc5856dca1597af62701b5e7c878817da3 | [
"MIT"
] | null | null | null | src/Tinja.Abstractions/IContainer.cs | zuvys/Tinja | 12d925dc5856dca1597af62701b5e7c878817da3 | [
"MIT"
] | 2 | 2019-05-07T03:32:40.000Z | 2021-07-20T10:51:56.000Z | using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using Tinja.Abstractions.Injection;
namespace Tinja.Abstractions
{
public interface IContainer : IEnumerable<ServiceEntry>
{
ConcurrentDictionary<Type, List<ServiceEntry>> ServiceEntries { get; }
}
}
| 23.615385 | 78 | 0.762215 |
854aaf6ee38815128406a1b3c213544eb71339d6 | 1,094 | cs | C# | Tests/TestPrograms/LinqTest6/LinqTest6.cs | ravimad/SEAL | 41dcf675e988645d07844ae575a8b774c5ae3164 | [
"MS-PL"
] | 1 | 2016-03-13T23:19:45.000Z | 2016-03-13T23:19:45.000Z | Tests/TestPrograms/LinqTest6/LinqTest6.cs | ravimad/SEAL | 41dcf675e988645d07844ae575a8b774c5ae3164 | [
"MS-PL"
] | null | null | null | Tests/TestPrograms/LinqTest6/LinqTest6.cs | ravimad/SEAL | 41dcf675e988645d07844ae575a8b774c5ae3164 | [
"MS-PL"
] | null | null | null | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace LinqTest6
{
public class LinqTest
{
public int f;
public void foo(LinqTest lt)
{
var col = new List<LinqTest> { lt };
var y = new List<LinqTest>(Remo... | 33.151515 | 112 | 0.533821 |
b167f223733c1d3f888e92631f85bada5ba538f4 | 31 | py | Python | autokey/CapsCtrl/caps_j.py | TeX2e/dotfiles | 4e39b59623067fcb09ceaa7f4892ff7a2b285374 | [
"WTFPL"
] | 1 | 2017-04-17T16:24:23.000Z | 2017-04-17T16:24:23.000Z | autokey/CapsCtrl/caps_j.py | TeX2e/dotfiles | 4e39b59623067fcb09ceaa7f4892ff7a2b285374 | [
"WTFPL"
] | null | null | null | autokey/CapsCtrl/caps_j.py | TeX2e/dotfiles | 4e39b59623067fcb09ceaa7f4892ff7a2b285374 | [
"WTFPL"
] | 1 | 2021-02-23T07:51:32.000Z | 2021-02-23T07:51:32.000Z | keyboard.send_keys("<ctrl>+j")
| 15.5 | 30 | 0.709677 |
dd576c7367022340c5dbe754d4f5432be2fcbe34 | 2,288 | java | Java | Examples/src/main/java/com/aspose/slides/examples/Slides/Table/SettingTextFormattingInsideTable.java | Muhammad-Adnan-Ahmad/Aspose.Slides-for-Java | 8ef35cedb58ded3d007c3dd18a16ed15edc08f40 | [
"MIT"
] | 1 | 2018-10-25T13:03:50.000Z | 2018-10-25T13:03:50.000Z | Examples/src/main/java/com/aspose/slides/examples/Slides/Table/SettingTextFormattingInsideTable.java | Muhammad-Adnan-Ahmad/Aspose.Slides-for-Java | 8ef35cedb58ded3d007c3dd18a16ed15edc08f40 | [
"MIT"
] | null | null | null | Examples/src/main/java/com/aspose/slides/examples/Slides/Table/SettingTextFormattingInsideTable.java | Muhammad-Adnan-Ahmad/Aspose.Slides-for-Java | 8ef35cedb58ded3d007c3dd18a16ed15edc08f40 | [
"MIT"
] | 2 | 2020-05-13T06:04:43.000Z | 2020-10-26T07:26:15.000Z | package com.aspose.slides.examples.Slides.Table;
import com.aspose.slides.IAutoShape;
import com.aspose.slides.IParagraph;
import com.aspose.slides.IPortion;
import com.aspose.slides.ISlide;
import com.aspose.slides.ITable;
import com.aspose.slides.ITextFrame;
import com.aspose.slides.ParagraphFormat;
import com.aspos... | 37.508197 | 161 | 0.689248 |
24364e4cd4e778af7e2fce184755a2e44e177713 | 37,124 | lua | Lua | resources/[qb]/qb-garages/client/main.lua | p4zinee/server-data | b523650fc4b5a3465c7ffc1dde7330a16bb62d05 | [
"CC0-1.0"
] | 1 | 2022-01-05T15:17:06.000Z | 2022-01-05T15:17:06.000Z | resources/[qb]/qb-garages/client/main.lua | p4zinee/server-data | b523650fc4b5a3465c7ffc1dde7330a16bb62d05 | [
"CC0-1.0"
] | null | null | null | resources/[qb]/qb-garages/client/main.lua | p4zinee/server-data | b523650fc4b5a3465c7ffc1dde7330a16bb62d05 | [
"CC0-1.0"
] | null | null | null | local currentHouseGarage = nil
local hasGarageKey = nil
local currentGarage = nil
local OutsideVehicles = {}
local PlayerGang = {}
RegisterNetEvent('QBCore:Client:OnPlayerLoaded')
AddEventHandler('QBCore:Client:OnPlayerLoaded', function()
PlayerGang = QBCore.Functions.GetPlayerData().gang
end)
RegisterNetEvent('Q... | 45.053398 | 287 | 0.568042 |
c671cb5facf5eb5b1969379304b31fb0a2a4c6cc | 5,291 | py | Python | jackal/scripts/dns_discover.py | mwgielen/jackal | 7fe62732eb5194b7246215d5277fb37c398097bf | [
"MIT"
] | 10 | 2018-01-17T20:11:30.000Z | 2022-02-20T21:31:37.000Z | jackal/scripts/dns_discover.py | mwgielen/jackal | 7fe62732eb5194b7246215d5277fb37c398097bf | [
"MIT"
] | null | null | null | jackal/scripts/dns_discover.py | mwgielen/jackal | 7fe62732eb5194b7246215d5277fb37c398097bf | [
"MIT"
] | 1 | 2018-06-21T16:47:16.000Z | 2018-06-21T16:47:16.000Z | #!/usr/bin/env python3
import argparse
import ipaddress
import re
import socket
import subprocess
import dns.resolver
import dns.zone
import psutil
from jackal import HostSearch, RangeSearch
from jackal.utils import print_error, print_notification, print_success
def get_configured_dns():
"""
Returns the ... | 31.873494 | 128 | 0.603289 |
b0e4e08d3f60d564ecc66b464d36e7a461cbc1b0 | 4,393 | py | Python | hubot/settings/dev.py | kilinger/marathon-rocketchat-hubot | 682454b90265eb2c66ea222cf0c970370816a9e1 | [
"BSD-3-Clause"
] | 1 | 2018-07-10T07:03:12.000Z | 2018-07-10T07:03:12.000Z | hubot/settings/dev.py | kilinger/marathon-rocketchat-hubot | 682454b90265eb2c66ea222cf0c970370816a9e1 | [
"BSD-3-Clause"
] | null | null | null | hubot/settings/dev.py | kilinger/marathon-rocketchat-hubot | 682454b90265eb2c66ea222cf0c970370816a9e1 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
# flake8: noqa
from .base import * # noqa
SITE_TITLE = SITE_TITLE + gettext_noop(u'(开发版)')
CACHES = {
'default': env.cache_url(default='memcache://127.0.0.1:11211'),
'redis': env.cache_url('REDIS_URL', default='redis://127.0.0.1:6379/0'),
}
DATABASES = {
'default': env.db_url(... | 30.72028 | 113 | 0.684726 |
c8ccd3ae57dc78303573c7d6aceb486afb05a4d4 | 9,055 | css | CSS | public/css/styles.css | Adry2612/LiveMore | c5c922366a015ff30ec90e4a76029486ca3295ea | [
"MIT"
] | null | null | null | public/css/styles.css | Adry2612/LiveMore | c5c922366a015ff30ec90e4a76029486ca3295ea | [
"MIT"
] | null | null | null | public/css/styles.css | Adry2612/LiveMore | c5c922366a015ff30ec90e4a76029486ca3295ea | [
"MIT"
] | null | null | null | @import url("https://fonts.googleapis.com/css2?family=Forum&family=Metrophobic&family=Montserrat&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;500&display=swap");
/* Colores */
html {
-webkit-box-sizing: border-box;
box-sizing: border-box;
font-family: 'Montser... | 25.945559 | 115 | 0.659194 |
a1831cf2e688420247b8b19a96f3272f844e47ba | 4,261 | tsx | TypeScript | components/src/hardware-sim/Pipette/__tests__/PipetteRender.test.tsx | anuwrag/opentrons | 28c8d76a19e367c6bd38f5290faaa32abf378715 | [
"Apache-2.0"
] | 235 | 2017-10-27T20:37:27.000Z | 2022-03-30T14:09:49.000Z | components/src/hardware-sim/Pipette/__tests__/PipetteRender.test.tsx | anuwrag/opentrons | 28c8d76a19e367c6bd38f5290faaa32abf378715 | [
"Apache-2.0"
] | 8,425 | 2017-10-26T15:25:43.000Z | 2022-03-31T23:54:26.000Z | components/src/hardware-sim/Pipette/__tests__/PipetteRender.test.tsx | anuwrag/opentrons | 28c8d76a19e367c6bd38f5290faaa32abf378715 | [
"Apache-2.0"
] | 130 | 2017-11-09T21:02:37.000Z | 2022-03-15T18:01:24.000Z | import * as React from 'react'
import { when, resetAllWhenMocks } from 'jest-when'
import { render } from '@testing-library/react'
import _uncasted_fixtureTiprack300Ul from '@opentrons/shared-data/labware/fixtures/2/fixture_tiprack_300_ul.json'
import { anyProps, partialComponentPropsMatcher } from '../../../testing/ut... | 32.037594 | 117 | 0.657357 |
6d012ce1c729d053651aacc6e81a66b4df384b03 | 1,118 | tsx | TypeScript | src/pages/Record/List.tsx | wallaceAzevedo/Crud-com-React--Typescript-e-React | 5892cc78a770c0b677a673e47c1d885e192f8233 | [
"MIT"
] | null | null | null | src/pages/Record/List.tsx | wallaceAzevedo/Crud-com-React--Typescript-e-React | 5892cc78a770c0b677a673e47c1d885e192f8233 | [
"MIT"
] | null | null | null | src/pages/Record/List.tsx | wallaceAzevedo/Crud-com-React--Typescript-e-React | 5892cc78a770c0b677a673e47c1d885e192f8233 | [
"MIT"
] | null | null | null | import { Record } from '../../interfaces/RecordEntities';
import { RecordListProps } from '../../interfaces/PagesProps';
import { usePage } from '../../contexts/Page';
import { Status } from '../../components/Status';
import { RecordError } from '../../components/RecordError';
export const RecordList = <T extends Reco... | 26.619048 | 80 | 0.528623 |
2c36cea73bd5b397283c4173a823bdbf5f278ab4 | 12,089 | py | Python | CICE-interface/CICE/configuration/scripts/timeseries.py | minsukji/ci-debug | 3e8bbbe6652b702b61d2896612f6aa8e4aa6c803 | [
"Apache-2.0",
"CC0-1.0"
] | null | null | null | CICE-interface/CICE/configuration/scripts/timeseries.py | minsukji/ci-debug | 3e8bbbe6652b702b61d2896612f6aa8e4aa6c803 | [
"Apache-2.0",
"CC0-1.0"
] | null | null | null | CICE-interface/CICE/configuration/scripts/timeseries.py | minsukji/ci-debug | 3e8bbbe6652b702b61d2896612f6aa8e4aa6c803 | [
"Apache-2.0",
"CC0-1.0"
] | null | null | null | #!/usr/bin/env python
'''
This script generates timeseries plots of CICE diagnostic output.
It is generated to replicate the previous timeseries.csh script.
Written by: Matthew Turner
Date: August, 2019
'''
import os
import sys
import logging
import numpy as np
def find_logfile(log_dir):
'''
This function sea... | 40.431438 | 100 | 0.599636 |
e4d10e7aea947dc4d3f2ed09e0c9f35cd1df41cf | 2,161 | go | Go | gobang/game_context.go | holyshared/learn-golang | c522f264812b079c72b1802d1aacafbfbd8bf473 | [
"MIT"
] | 3 | 2017-04-22T06:31:21.000Z | 2022-03-27T15:00:25.000Z | gobang/game_context.go | holyshared/learn-golang | c522f264812b079c72b1802d1aacafbfbd8bf473 | [
"MIT"
] | null | null | null | gobang/game_context.go | holyshared/learn-golang | c522f264812b079c72b1802d1aacafbfbd8bf473 | [
"MIT"
] | 2 | 2017-04-26T11:14:15.000Z | 2019-04-15T10:05:02.000Z | package gobang
import (
"encoding/json"
)
func NewGameContext(rule *GameRule, playerStone, npcPlayerStone Stone) *GameContext {
board := NewBoard(rule.BoardSize())
player := NewGamePlayer(playerStone, board)
ctx := &NpcAIContext{
rule: rule,
board: board,
playerStone: playerStone,
n... | 20.580952 | 85 | 0.669597 |
b9816bd287a93d89d28055fcefc7b60b2ff90d51 | 393 | dart | Dart | lib/src/core/data/models/product.dart | JS4m/navigation_drawer_challenge | 8970e6668c25e8bcaba7bdee1893c30992d8af41 | [
"MIT"
] | 1 | 2022-01-22T00:55:07.000Z | 2022-01-22T00:55:07.000Z | lib/src/core/data/models/product.dart | JS4m/navigation_drawer_challenge | 8970e6668c25e8bcaba7bdee1893c30992d8af41 | [
"MIT"
] | null | null | null | lib/src/core/data/models/product.dart | JS4m/navigation_drawer_challenge | 8970e6668c25e8bcaba7bdee1893c30992d8af41 | [
"MIT"
] | null | null | null | import 'product_category_enum.dart';
class Product {
final String name;
final String subname; // todo: find a better way to animate bottom.
final String price;
final String image;
final ProductCategory productCategory;
const Product({
required this.name,
required this.subname,
required this.pr... | 21.833333 | 69 | 0.722646 |
79afef9d0899f22611bbeec2e07429b44ac817da | 252 | php | PHP | resources/views/account/files/index.blade.php | vntu98/file-market | 63e04af5ab6231afceb8a2f70d7d6311ab334c42 | [
"MIT"
] | null | null | null | resources/views/account/files/index.blade.php | vntu98/file-market | 63e04af5ab6231afceb8a2f70d7d6311ab334c42 | [
"MIT"
] | null | null | null | resources/views/account/files/index.blade.php | vntu98/file-market | 63e04af5ab6231afceb8a2f70d7d6311ab334c42 | [
"MIT"
] | null | null | null | @extends('account.layouts.default')
@section('account.content')
<h1 class="title">Your files</h1>
@if ($files->count())
@each('account.partials._file', $files, 'file')
@else
<p>You have no files.</p>
@endif
@endsection | 22.909091 | 55 | 0.603175 |
07e190ef0d7c97aade84ae65a8da9f7cf5293f5b | 4,153 | css | CSS | src/main/webapp/res/css/fore/fore_orderPaySuccess.css | PassionFire/TmallDemo | 34a9a6aafedd24bbb7f0fd9c698b369000206af6 | [
"Apache-2.0"
] | 2 | 2020-11-13T15:14:02.000Z | 2021-06-11T07:01:40.000Z | src/main/webapp/res/css/fore/fore_orderPaySuccess.css | PassionFire/TmallDemo | 34a9a6aafedd24bbb7f0fd9c698b369000206af6 | [
"Apache-2.0"
] | 15 | 2019-11-01T08:05:01.000Z | 2022-03-31T20:29:35.000Z | src/main/webapp/res/css/fore/fore_orderPaySuccess.css | PassionFire/TmallDemo | 34a9a6aafedd24bbb7f0fd9c698b369000206af6 | [
"Apache-2.0"
] | 2 | 2021-05-07T05:08:08.000Z | 2021-05-08T05:57:47.000Z | nav {
width: 100%;
}
.header {
width: 1230px;
margin: 0 auto;
height: 96px;
}
.header > #mallLogo {
float: left;
padding-top: 28px;
width: 280px;
height: 64px;
line-height: 64px;
position: relative;
}
#mallLogo > a {
position: relative;
display: block;
width: 190px... | 17.900862 | 118 | 0.614977 |
835ec9f9acbc4506f802fcfa8876f4216d76a52a | 662 | ts | TypeScript | src/utils/index.ts | canvascat/todo | da47ffb9df1de94798d28cff186dfced4715d0d0 | [
"MIT"
] | null | null | null | src/utils/index.ts | canvascat/todo | da47ffb9df1de94798d28cff186dfced4715d0d0 | [
"MIT"
] | null | null | null | src/utils/index.ts | canvascat/todo | da47ffb9df1de94798d28cff186dfced4715d0d0 | [
"MIT"
] | null | null | null | export * from './store';
type ClassNameItem = string | Record<string, boolean> | false | undefined | null;
export function normalizeClassName(...names: ClassNameItem[]): string {
const result: string[] = [];
for (let i = 0; i < names.length; i++) {
const item = names[i];
if (!item) continue;
if (typeo... | 41.375 | 196 | 0.608761 |
1a2f7f4898f84c6a6a06274e0fa55c407c5cce85 | 14,350 | py | Python | scripts/ml_breakdown.py | liudger/ml_tools | ad5cb151fb882046192a37df79572052984b9c5d | [
"CC-BY-4.0"
] | 121 | 2016-08-01T04:13:00.000Z | 2022-03-22T02:52:26.000Z | scripts/ml_breakdown.py | liudger/ml_tools | ad5cb151fb882046192a37df79572052984b9c5d | [
"CC-BY-4.0"
] | 2 | 2019-01-25T09:09:12.000Z | 2020-04-30T10:00:38.000Z | scripts/ml_breakdown.py | liudger/ml_tools | ad5cb151fb882046192a37df79572052984b9c5d | [
"CC-BY-4.0"
] | 53 | 2016-08-05T12:52:01.000Z | 2022-03-14T14:55:57.000Z | # -= ml_breakdown.py =-
# __ by Morgan Loomis
# ____ ___ / / http://morganloomis.com
# / __ `__ \/ / Revision 4
# / / / / / / / 2018-05-13
# /_/ /_/ /_/_/ _________
# /_________/
#
# ______________
# - -/__ License __/- - - - - - - - - - - - - - - - - - - - - - - - - -... | 40.196078 | 193 | 0.604111 |
a4aa4fba3eab6ec515ba6f964cc35ae790dcf7bd | 864 | php | PHP | resources/views/murid/viewNonaktif.blade.php | AdamSukma/Excellent | dfc983dbd88bca377dd871d3e6627020d5fe0fb6 | [
"MIT"
] | null | null | null | resources/views/murid/viewNonaktif.blade.php | AdamSukma/Excellent | dfc983dbd88bca377dd871d3e6627020d5fe0fb6 | [
"MIT"
] | null | null | null | resources/views/murid/viewNonaktif.blade.php | AdamSukma/Excellent | dfc983dbd88bca377dd871d3e6627020d5fe0fb6 | [
"MIT"
] | 1 | 2021-01-08T00:41:29.000Z | 2021-01-08T00:41:29.000Z | <form id="logout-form" action="{{ route('murid.logout') }}" method="POST" style="display: none;">
@csrf
</form>
<div class="wrapper wrapper-full-page ">
<div class="full-page register-page section-image" >
<div class="container">
<div class="row justify-content-center">
<div class="col-md-8">
... | 36 | 113 | 0.511574 |
5fd7b02e25dd617c5493b97658a56995060ac474 | 4,653 | dart | Dart | StudyWatch_SDK_healthwearableApp/Source/lib/user_interface/views/theme/app_theme.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/user_interface/views/theme/app_theme.dart | analogdevicesinc/ApplicationsWaveTool | 0c1f236dd0745caa3187841ee1a882f209ac3ebe | [
"Apache-2.0"
] | null | null | null | StudyWatch_SDK_healthwearableApp/Source/lib/user_interface/views/theme/app_theme.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';
class AppTheme {
AppTheme._();
static Color _iconColor = Colors.blueAccent.shade200;
static const Color _lightBGColor = Color(0XE1F2F2f7);
static const Color _lightSurfaceColor = Colors.white;
static const Color _lightPrimaryColor = Color(0xFF165A9E);
static const Co... | 36.351563 | 76 | 0.765528 |
ae7ead957a4f1ce14fabd0c7652ab2bd342cd97c | 761 | cs | C# | World/TimedObjectSwap.cs | Wolfos/Adventure-RPG | c9fc3008b9217c879e655df073245146ac593703 | [
"Apache-2.0"
] | 2 | 2021-04-30T16:54:01.000Z | 2021-09-05T13:47:42.000Z | World/TimedObjectSwap.cs | Wolfos/Adventure-RPG | c9fc3008b9217c879e655df073245146ac593703 | [
"Apache-2.0"
] | null | null | null | World/TimedObjectSwap.cs | Wolfos/Adventure-RPG | c9fc3008b9217c879e655df073245146ac593703 | [
"Apache-2.0"
] | null | null | null | using System.Collections;
using Models;
using UnityEngine;
public class TimedObjectSwap : MonoBehaviour
{
[SerializeField] private TimeStamp onTime = new TimeStamp(20,0);
[SerializeField] private TimeStamp offTime = new TimeStamp(7,0);
[SerializeField] private GameObject onObject;
[SerializeField] private GameOb... | 16.543478 | 65 | 0.697766 |
6b7d715c6c833a098b2f31669a8567315c3a1bfa | 3,668 | swift | Swift | src/xcode/ENA/ENA/Source/Services/Exposure Submission/ExposureSubmissionError.swift | krichly/cwa-app-ios | 59fd37d39ddd2b7123c3c5aa5d42339055fbebc6 | [
"Apache-2.0"
] | null | null | null | src/xcode/ENA/ENA/Source/Services/Exposure Submission/ExposureSubmissionError.swift | krichly/cwa-app-ios | 59fd37d39ddd2b7123c3c5aa5d42339055fbebc6 | [
"Apache-2.0"
] | 8 | 2021-07-22T21:59:55.000Z | 2022-02-27T10:30:41.000Z | src/xcode/ENA/ENA/Source/Services/Exposure Submission/ExposureSubmissionError.swift | krichly/cwa-app-ios | 59fd37d39ddd2b7123c3c5aa5d42339055fbebc6 | [
"Apache-2.0"
] | null | null | null | //
// 🦠 Corona-Warn-App
//
import Foundation
enum ExposureSubmissionError: Error, Equatable {
case other(String)
case noRegistrationToken
case enNotEnabled
case notAuthorized
case coronaTestServiceError(CoronaTestServiceError)
/// User has not granted access to their keys
case keysNotShared
/// Access to k... | 34.280374 | 195 | 0.811614 |
455daa08d49aad80d104a4e2e1ae20034489d089 | 1,323 | dart | Dart | lib/model/dependency_data.dart | sowderca/azure_devops_sdk | 1ef1b3b5f72dca3d5075d211f97196caa99494ad | [
"MIT"
] | 2 | 2019-10-07T12:30:29.000Z | 2021-03-19T11:49:53.000Z | lib/model/dependency_data.dart | sowderca/azure_devops_sdk | 1ef1b3b5f72dca3d5075d211f97196caa99494ad | [
"MIT"
] | null | null | null | lib/model/dependency_data.dart | sowderca/azure_devops_sdk | 1ef1b3b5f72dca3d5075d211f97196caa99494ad | [
"MIT"
] | null | null | null | part of azure_devops_sdk.api;
class DependencyData {
/* Gets or sets the category of dependency data. */
String input = null;
/* Gets or sets the key-value pair to specify properties and their values. */
List<Object> map = [];
DependencyData();
@override
String toString() {
return 'DependencyData[in... | 25.941176 | 112 | 0.606198 |
b0e4b665dd58b3e8b801aedc19174727230ae45e | 4,215 | py | Python | instacopy/apps/accounts/models.py | romannovikov/instacopy-petproject | 92ffec02b860c77377182cd1fc58043be195e06e | [
"MIT"
] | null | null | null | instacopy/apps/accounts/models.py | romannovikov/instacopy-petproject | 92ffec02b860c77377182cd1fc58043be195e06e | [
"MIT"
] | null | null | null | instacopy/apps/accounts/models.py | romannovikov/instacopy-petproject | 92ffec02b860c77377182cd1fc58043be195e06e | [
"MIT"
] | null | null | null | from django.contrib.auth.base_user import AbstractBaseUser
from django.contrib.auth.base_user import BaseUserManager
from django.contrib.auth.models import PermissionsMixin
from django.contrib.auth.validators import UnicodeUsernameValidator
from django.core.mail import send_mail
from django.db import models
from django... | 32.175573 | 106 | 0.676394 |
0dbcfdfd003e73288657b05d3b281563b980728b | 232 | cs | C# | C# OOP 2019/01. WorkingWithAbstraction/P03_JediGalaxy/Program.cs | bodyquest/SoftwareUniversity-Bulgaria | a402d8671e3b66e69b216ed126d00747690607dc | [
"MIT"
] | 2 | 2021-11-21T17:50:05.000Z | 2022-02-11T23:23:47.000Z | C# OOP 2019/01. WorkingWithAbstraction/P03_JediGalaxy/Program.cs | bodyquest/SoftwareUniversity-Bulgaria | a402d8671e3b66e69b216ed126d00747690607dc | [
"MIT"
] | 5 | 2020-08-09T12:46:12.000Z | 2022-03-29T07:14:53.000Z | C# OOP 2019/01. WorkingWithAbstraction/P03_JediGalaxy/Program.cs | bodyquest/SoftwareUniversity-Bulgaria | a402d8671e3b66e69b216ed126d00747690607dc | [
"MIT"
] | 2 | 2020-08-01T16:33:17.000Z | 2021-11-21T17:50:06.000Z |
namespace P03_JediGalaxy
{
using System;
using System.Linq;
public class Program
{
public static void Main()
{
Engine engine = new Engine();
engine.Run();
}
}
}
| 14.5 | 41 | 0.50431 |
61847e15cb51e5b900d9a02f50c4ca52dafd2bf6 | 476 | swift | Swift | Snapify/Core/UserInterface/IUserInterfaceLayer.swift | kammodze/Snapify | 0405ec3ef0a19d9f1b861784c28d3894ccb88c8b | [
"MIT"
] | 5 | 2018-01-20T22:30:18.000Z | 2020-04-02T15:26:01.000Z | Snapify/Core/UserInterface/IUserInterfaceLayer.swift | kammodze/Snapify | 0405ec3ef0a19d9f1b861784c28d3894ccb88c8b | [
"MIT"
] | 1 | 2018-01-30T01:39:04.000Z | 2018-01-30T01:42:52.000Z | Snapify/Core/UserInterface/IUserInterfaceLayer.swift | kammodze/Snapify | 0405ec3ef0a19d9f1b861784c28d3894ccb88c8b | [
"MIT"
] | 3 | 2018-01-30T01:25:32.000Z | 2021-05-06T22:29:44.000Z | //
// IUserInterfaceLayer.swift
// Snapify
//
// Created by Grzegorz Sagadyn on 03.01.2018.
// Copyright © 2018 Grzegorz Sagadyn. All rights reserved.
//
import UIKit
/// Represents abstarct layer of a Snapify architecture
/// that adds basic functionality to a View.
public protocol IUserInterfaceLayer: SnapifyLa... | 23.8 | 59 | 0.728992 |
391e3bff91e66d6bb12b64b0f11c8c8d82404fbc | 3,157 | py | Python | requestOxfordDict.py | albert-jin/EventCausalityIdentification | badacecfe3e16d613cd59300d6afd857b6c3fe2a | [
"Apache-2.0"
] | 1 | 2022-01-12T06:29:59.000Z | 2022-01-12T06:29:59.000Z | requestOxfordDict.py | albert-jin/EventCausalityIdentification | badacecfe3e16d613cd59300d6afd857b6c3fe2a | [
"Apache-2.0"
] | 1 | 2022-02-20T02:14:48.000Z | 2022-02-20T02:59:36.000Z | requestOxfordDict.py | albert-jin/EventCausalityIdentification | badacecfe3e16d613cd59300d6afd857b6c3fe2a | [
"Apache-2.0"
] | null | null | null | """
用于请求牛津字典的事件描述信息
"""
import requests
app_id = 'c2e7b1fe'
app_key = 'b41be5b3b08f91ebe3d849570f15c52a'
path = '/api/v2/search/en-gb'
entry_path = '/api/v2/entries/en-gb/'
language_type = 'en-gb'
urlOxfordApiProxy = 'https://od-api.oxforddictionaries.com'
urlProxy = "https://developer.oxforddictionaries.com/api... | 35.875 | 126 | 0.57808 |
c6bfeeaaeaffda21139f38b772260eb4292dface | 2,538 | css | CSS | WebRoot/res/mycss/user.css | zhcppy/BookStore | ad3ccc56698292fb4c9c56d757847f3b7294356f | [
"MIT"
] | 6 | 2018-06-21T11:58:14.000Z | 2021-05-18T14:42:22.000Z | WebRoot/res/mycss/user.css | zhcppy/BookStore | ad3ccc56698292fb4c9c56d757847f3b7294356f | [
"MIT"
] | null | null | null | WebRoot/res/mycss/user.css | zhcppy/BookStore | ad3ccc56698292fb4c9c56d757847f3b7294356f | [
"MIT"
] | null | null | null | .row{
margin:0px;
}
.myspan{
margin-top:130px;
width:1200px;
min-height:0px;
float:none;
margin-left:auto;
margin-right:auto;
min-height:400px;
}
.mynavigation-left{
width:210px;
float:left;
}
.my-left-nav{
padding:0;
margin-top:20px;
}
.my-left-nav dd{
padding: 15px 0 15px 0px;
margin:0px;
}
.my-left-nav... | 15.763975 | 53 | 0.690701 |
0d3d321baafa1af76ffac63d2d304423ec497f0d | 3,516 | h | C | src/mplfe/common/include/mplfe_compiler_component.h | harmonyos-mirror/OpenArkCompiler-test | 1755550ea22eb185cbef8cc5864fa273caebf95a | [
"MulanPSL-1.0"
] | 192 | 2019-08-31T00:51:41.000Z | 2019-09-02T06:27:48.000Z | src/mplfe/common/include/mplfe_compiler_component.h | harmonyos-mirror/OpenArkCompiler-test | 1755550ea22eb185cbef8cc5864fa273caebf95a | [
"MulanPSL-1.0"
] | 3 | 2019-08-31T08:44:27.000Z | 2019-09-02T06:31:01.000Z | src/mplfe/common/include/mplfe_compiler_component.h | harmonyos-mirror/OpenArkCompiler-test | 1755550ea22eb185cbef8cc5864fa273caebf95a | [
"MulanPSL-1.0"
] | 90 | 2019-08-30T17:36:45.000Z | 2019-09-02T07:01:10.000Z | /*
* Copyright (c) [2020] Huawei Technologies Co.,Ltd.All rights reserved.
*
* OpenArkCompiler is licensed under the Mulan PSL v1.
* You can use this software according to the terms and conditions of the Mulan PSL v1.
* You may obtain a copy of Mulan PSL v1 at:
*
* http://license.coscl.org.cn/MulanPSL
*
* ... | 27.685039 | 88 | 0.751991 |
c6856a6489a13c8ea13b41ffbc79af66263fae2c | 1,762 | py | Python | python/wtte/plots/misc.py | sandeepnair2812/Weibull-Time-To-Event-Recurrent-Neural-Network | 162f5c17f21db79a316d563b60835d178142fd69 | [
"MIT"
] | 727 | 2017-01-29T16:47:38.000Z | 2022-03-31T23:21:45.000Z | python/wtte/plots/misc.py | kgulpinar/wtte-rnn | 162f5c17f21db79a316d563b60835d178142fd69 | [
"MIT"
] | 68 | 2017-02-01T16:32:23.000Z | 2022-01-24T11:24:36.000Z | python/wtte/plots/misc.py | kgulpinar/wtte-rnn | 162f5c17f21db79a316d563b60835d178142fd69 | [
"MIT"
] | 199 | 2017-01-30T10:25:04.000Z | 2022-03-30T09:41:59.000Z | from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import numpy as np
import matplotlib.pyplot as plt
from six.moves import xrange
from wtte import transforms as tr
def timeline_plot(padded, title='', cmap="jet", plot=True, fig=None, ax=None):
if fig is ... | 30.37931 | 78 | 0.608967 |
8ea14688d92c41a6b7cb64c1e37fab4dc8820dea | 2,594 | js | JavaScript | Estado_E_Comportamento_Objetos/estadoComport.js | Ruan-codeVi/FundamentosPackres | 85c4b65513685e0f6b5e405ed15bcb0d14ac684a | [
"MIT"
] | null | null | null | Estado_E_Comportamento_Objetos/estadoComport.js | Ruan-codeVi/FundamentosPackres | 85c4b65513685e0f6b5e405ed15bcb0d14ac684a | [
"MIT"
] | null | null | null | Estado_E_Comportamento_Objetos/estadoComport.js | Ruan-codeVi/FundamentosPackres | 85c4b65513685e0f6b5e405ed15bcb0d14ac684a | [
"MIT"
] | null | null | null | /* Objetos contém ESTADO e COMPORTAMENTO. As proprieadades de um objeto nos permite
manter um estado sobre o objeto - como exemplo nivel de combustivel, sua tempertura atual etc.
Os métodos de um objeto nos permitemter comportamento - como ligar um carro, ligar ar condicionado, ligar radio etc.
*/
// Exemplo
let ... | 31.634146 | 174 | 0.616037 |
a332c1bd39df19a41482cadd47a7eaa92aee1bd3 | 84 | java | Java | Core/src/main/java/parseTree/NotSolidityContractException.java | SeUniVr/EtherSolve | 0840e9d572b3e46a6393b60f19cff0d1d9480c4b | [
"MIT"
] | 22 | 2021-03-23T11:25:38.000Z | 2022-02-23T02:33:19.000Z | Core/src/main/java/parseTree/NotSolidityContractException.java | SeUniVr/EtherSolve | 0840e9d572b3e46a6393b60f19cff0d1d9480c4b | [
"MIT"
] | 4 | 2021-03-31T13:14:25.000Z | 2021-11-02T23:12:50.000Z | Core/src/main/java/parseTree/NotSolidityContractException.java | SeUniVr/EtherSolve | 0840e9d572b3e46a6393b60f19cff0d1d9480c4b | [
"MIT"
] | 5 | 2021-07-16T10:47:26.000Z | 2022-03-07T08:11:43.000Z | package parseTree;
public class NotSolidityContractException extends Exception {
}
| 16.8 | 61 | 0.845238 |
694f6faa3b78e5242e5997a21815798d39b071b0 | 445 | sh | Shell | packages/less/build.sh | Biangkerok32/termux-packages | 286b2474fd527cbcea70d697dfbc6b5bd640f98f | [
"Apache-2.0"
] | 4 | 2020-09-08T17:44:45.000Z | 2021-07-06T11:45:44.000Z | packages/less/build.sh | Biangkerok32/termux-packages | 286b2474fd527cbcea70d697dfbc6b5bd640f98f | [
"Apache-2.0"
] | 1 | 2019-03-06T08:14:47.000Z | 2019-03-06T08:14:47.000Z | packages/less/build.sh | Quasic/termux-packages | ba4b328e494b7823dbea7acc906bee134b85b442 | [
"Apache-2.0"
] | 3 | 2021-04-02T16:30:33.000Z | 2022-01-14T06:13:08.000Z | TERMUX_PKG_HOMEPAGE=http://www.greenwoodsoftware.com/less/
TERMUX_PKG_DESCRIPTION="Terminal pager program used to view the contents of a text file one screen at a time"
TERMUX_PKG_LICENSE="GPL-3.0"
TERMUX_PKG_VERSION=530
TERMUX_PKG_REVISION=2
TERMUX_PKG_SHA256=503f91ab0af4846f34f0444ab71c4b286123f0044a4964f1ae781486c61... | 49.444444 | 109 | 0.865169 |
d10eac17120b48866a4e4c959ebc1a99c9f69502 | 3,184 | dart | Dart | lib/widgets/migrate_legacy_tokens_dialog.dart | bliksemlabs/pi-authenticator | 263a90b462cf52afee95c72175ba4151b2a38c5e | [
"MIT"
] | null | null | null | lib/widgets/migrate_legacy_tokens_dialog.dart | bliksemlabs/pi-authenticator | 263a90b462cf52afee95c72175ba4151b2a38c5e | [
"MIT"
] | null | null | null | lib/widgets/migrate_legacy_tokens_dialog.dart | bliksemlabs/pi-authenticator | 263a90b462cf52afee95c72175ba4151b2a38c5e | [
"MIT"
] | null | null | null | /*
privacyIDEA Authenticator
Authors: Timo Sturm <timo.sturm@netknights.it>
Copyright (c) 2017-2021 NetKnights GmbH
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... | 28.428571 | 80 | 0.67902 |
e24abc00b667147de394edda261bc1e91e4fdd82 | 20,594 | js | JavaScript | public/backend/js/main.js | lanceWan/IBackend | 78a2f557576ffea98d4d674f6ef8536da9bedf4a | [
"MIT"
] | null | null | null | public/backend/js/main.js | lanceWan/IBackend | 78a2f557576ffea98d4d674f6ef8536da9bedf4a | [
"MIT"
] | null | null | null | public/backend/js/main.js | lanceWan/IBackend | 78a2f557576ffea98d4d674f6ef8536da9bedf4a | [
"MIT"
] | null | null | null | /***
Metronic AngularJS App Main Script
***/
/* Metronic App */
var MetronicApp = angular.module("MetronicApp", [
"ngAnimate",
"ui.router",
"ui.bootstrap",
"oc.lazyLoad",
"ngSanitize",
]);
/* Configure ocLazyLoader(refer: https://github.com/ocombe/ocLazyLoad) */
MetronicApp.config(['$ocLazyLo... | 40.780198 | 194 | 0.505973 |
41a3f2900022a70945e3dcd85395c84ed2ca9a5e | 217 | swift | Swift | platzitweets/Commons/Models/Requests/RegisterRequest.swift | omarefg/platzi-tweets | 448a6264424b0740160c75c532562cf21fdd4d07 | [
"MIT"
] | null | null | null | platzitweets/Commons/Models/Requests/RegisterRequest.swift | omarefg/platzi-tweets | 448a6264424b0740160c75c532562cf21fdd4d07 | [
"MIT"
] | null | null | null | platzitweets/Commons/Models/Requests/RegisterRequest.swift | omarefg/platzi-tweets | 448a6264424b0740160c75c532562cf21fdd4d07 | [
"MIT"
] | null | null | null | //
// RegisterRequest.swift
// platzitweets
//
// Created by Omar Flores on 10/10/20.
//
import Foundation
struct RegisterRequest: Codable {
let email: String
let password: String
let names: String
}
| 14.466667 | 39 | 0.682028 |
b03b64bcc05fab5fdefca7483f31bbb0137b66e6 | 1,343 | py | Python | python/quiz/main.py | r-angeles/kivy-lab | baf4bf18aff28a1c9cd525c9b8ec949cb08e8356 | [
"MIT"
] | 2 | 2021-09-18T20:16:41.000Z | 2022-02-13T22:56:27.000Z | python/quiz/main.py | r-angeles/kivy-lab | baf4bf18aff28a1c9cd525c9b8ec949cb08e8356 | [
"MIT"
] | null | null | null | python/quiz/main.py | r-angeles/kivy-lab | baf4bf18aff28a1c9cd525c9b8ec949cb08e8356 | [
"MIT"
] | null | null | null | import csv
class Quiz:
all_quizzes = []
def __init__(self, question, choices, answer):
self.question = question
self.choices = choices
self.answer = answer
Quiz.all_quizzes.append(self)
@classmethod
def instantiate_from_csv(cls):
with open('practise/python/qu... | 27.408163 | 97 | 0.613552 |
bb40f4e68aa7c9ce5fbf7b41f346dba9122c53b2 | 2,827 | cs | C# | CreateAR.Commons.Unity.Async/SynchronizedObject.cs | enklu/commons-unity-async | 1f0c528fee29d610741b928710298602c6bc047a | [
"MIT"
] | 3 | 2018-10-01T13:01:23.000Z | 2021-05-07T18:40:10.000Z | CreateAR.Commons.Unity.Async/SynchronizedObject.cs | enklu/commons-unity-async | 1f0c528fee29d610741b928710298602c6bc047a | [
"MIT"
] | null | null | null | CreateAR.Commons.Unity.Async/SynchronizedObject.cs | enklu/commons-unity-async | 1f0c528fee29d610741b928710298602c6bc047a | [
"MIT"
] | 1 | 2018-10-01T13:00:24.000Z | 2018-10-01T13:00:24.000Z | using System;
using System.Collections.Generic;
namespace CreateAR.Commons.Unity.Async
{
/// <summary>
/// Wraps an object and queues asynchronous actions on object. Instead of
/// an OnChanged event, the subscriber to changes is also asyncronous.
/// </summary>
/// <typeparam name="T"></typeparam... | 26.420561 | 99 | 0.505129 |
ef85d1451b06102d1904b311d487d2cc984ef8f4 | 13,571 | c | C | NitroPaint/ncgr.c | AdAstra-LD/NitroPaint | bd507aa279cea6a1fe6a96fdaa6c8c4f07efa717 | [
"BSD-2-Clause"
] | null | null | null | NitroPaint/ncgr.c | AdAstra-LD/NitroPaint | bd507aa279cea6a1fe6a96fdaa6c8c4f07efa717 | [
"BSD-2-Clause"
] | null | null | null | NitroPaint/ncgr.c | AdAstra-LD/NitroPaint | bd507aa279cea6a1fe6a96fdaa6c8c4f07efa717 | [
"BSD-2-Clause"
] | null | null | null | #include "ncgr.h"
#include "nclr.h"
#include "nscr.h"
#include "color.h"
#include <stdio.h>
LPCWSTR characterFormatNames[] = { L"Invalid", L"NCGR", L"Hudson", L"Hudson 2", L"NCBR", L"Binary", NULL };
int calculateWidth(int nTiles) {
int width = 1;
for (int i = 1; i < nTiles; i++) {
if (i * i > nTiles) ... | 28.874468 | 130 | 0.552207 |
4bf680edd2f559112bd73d8d6a67f3cfb95ef1bd | 601 | h | C | mqtt.h | pdgendt/shairport-sync | dc07d7fc04b4bd8eb9d3c37f2dad4fc99c3f291d | [
"MIT"
] | 5,625 | 2015-01-02T09:21:40.000Z | 2022-03-31T23:38:11.000Z | mqtt.h | boardwalk/shairport-sync | c2bb4cddf06005e7d42548202adb34374d3a88bc | [
"MIT"
] | 1,310 | 2015-01-01T10:30:27.000Z | 2022-03-31T15:06:19.000Z | mqtt.h | boardwalk/shairport-sync | c2bb4cddf06005e7d42548202adb34374d3a88bc | [
"MIT"
] | 609 | 2015-01-01T20:34:19.000Z | 2022-03-31T07:49:35.000Z | #ifndef MQTT_H
#define MQTT_H
#include <mosquitto.h>
#include <stdint.h>
int initialise_mqtt();
void mqtt_process_metadata(uint32_t type, uint32_t code, char *data, uint32_t length);
void mqtt_publish(char *topic, char *data, uint32_t length);
void mqtt_setup();
void on_connect(struct mosquitto *mosq, void *userdata, ... | 40.066667 | 93 | 0.770383 |
741362541916f5bfc4d0af7fc1092d9264016df0 | 2,669 | css | CSS | css/theme.css | raingart/Nova-YouTube-extension | c1f3759c05231fabf6a9a43cda167c481391608d | [
"Apache-2.0"
] | 33 | 2021-04-28T08:33:34.000Z | 2022-03-08T14:03:25.000Z | css/theme.css | raingart/New-Horizons-for-YouTube-extension | 68938187a3da904ac70eb5bbb2d748c7c0491201 | [
"Apache-2.0"
] | 5 | 2020-01-02T21:22:17.000Z | 2021-03-10T04:23:59.000Z | css/theme.css | raingart/New-Horizons-for-YouTube-extension | 68938187a3da904ac70eb5bbb2d748c7c0491201 | [
"Apache-2.0"
] | 2 | 2021-06-08T04:19:08.000Z | 2022-01-03T17:03:50.000Z | :root {
/* --bg: #1c1c1c;
--bg: oldlace;
--fg: slategrey; */
--input-bg: #fff;
--input-border: #cccccc;
--btn-bg: silver;
--btn-fg: #fff;
--li-item: #e0e0e0;
--hr: #B7B7B7;
--href: #00b7fc;
--plugins-before: slategrey;
--plugins-section-hover: silver;
--label1: initial;
--labe... | 18.795775 | 76 | 0.569876 |
6891da4a19b630e1f50bfbdbbebf7db848ed601f | 6,381 | lua | Lua | KkthnxUI/Config/Settings.lua | mrrosh/KkthnxUI_WotLK | 59d36f99bebce53b90fbfd3806911b7a61133dab | [
"MIT"
] | null | null | null | KkthnxUI/Config/Settings.lua | mrrosh/KkthnxUI_WotLK | 59d36f99bebce53b90fbfd3806911b7a61133dab | [
"MIT"
] | null | null | null | KkthnxUI/Config/Settings.lua | mrrosh/KkthnxUI_WotLK | 59d36f99bebce53b90fbfd3806911b7a61133dab | [
"MIT"
] | 1 | 2021-12-07T14:15:51.000Z | 2021-12-07T14:15:51.000Z | local K, C, L, _ = select(2, ...):unpack()
-- Media Options
C["Media"] = {
["Backdrop_Color"] = {5/255, 5/255, 5/255, 0.8},
["Blank"] = [[Interface\AddOns\KkthnxUI\Media\Textures\Blank]],
["Blank_Font"] = [[Interface\AddOns\KkthnxUI\Media\Fonts\Invisible.ttf]],
["Blizz"] = [[Interface\AddOns\KkthnxUI\Media\Border\... | 23.898876 | 78 | 0.593637 |
46e58369023202bd01a3e73e67bd5a35f6907105 | 11,014 | py | Python | tests/utils/test_shape_utils.py | 897615138/tfsnippet-jill | 2fc898a4def866c8d3c685168df1fa22083bb143 | [
"MIT"
] | 63 | 2018-06-06T11:56:40.000Z | 2022-03-22T08:00:59.000Z | tests/utils/test_shape_utils.py | 897615138/tfsnippet-jill | 2fc898a4def866c8d3c685168df1fa22083bb143 | [
"MIT"
] | 39 | 2018-07-04T12:40:53.000Z | 2022-02-09T23:48:44.000Z | tests/utils/test_shape_utils.py | 897615138/tfsnippet-jill | 2fc898a4def866c8d3c685168df1fa22083bb143 | [
"MIT"
] | 34 | 2018-06-25T09:59:22.000Z | 2022-02-23T12:46:33.000Z | import pytest
import numpy as np
import tensorflow as tf
from tfsnippet.utils import *
class IntShapeTestCase(tf.test.TestCase):
def test_int_shape(self):
self.assertEqual(get_static_shape(tf.zeros([1, 2, 3])), (1, 2, 3))
self.assertEqual(
get_static_shape(tf.placeholder(tf.float32, ... | 39.056738 | 80 | 0.539041 |
392e70fcb3cbed6fd7e437f61128433bc5549e60 | 373 | py | Python | setup.py | ngeraci/ucr_archivestools | 2eab4caa26075521ef0bf7adbcc1c83af34865fe | [
"BSD-3-Clause"
] | null | null | null | setup.py | ngeraci/ucr_archivestools | 2eab4caa26075521ef0bf7adbcc1c83af34865fe | [
"BSD-3-Clause"
] | 15 | 2018-04-24T19:48:03.000Z | 2021-12-13T19:47:39.000Z | setup.py | ngeraci/ucr_archivestools | 2eab4caa26075521ef0bf7adbcc1c83af34865fe | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
from setuptools import setup, find_packages
setup(
name='aspace_tools',
version="0.3",
packages=find_packages(),
include_package_data=True,
install_requires=[
'requests', 'lxml', 'iso-639'
],
entry_points={
'console_scripts': [
'oac-process... | 21.941176 | 58 | 0.592493 |
cd2e9bc773dbe863a5a573751f7f1e29b2810fc9 | 1,100 | cs | C# | src/SharpNeat.Tasks/FunctionRegression/IBlackBoxProbe.cs | subski/sharpneat-refactor | 5022b82b7ebdadb64dc9fc34bdc05746fb31f235 | [
"MIT"
] | 58 | 2017-12-24T19:33:57.000Z | 2022-03-12T18:31:17.000Z | src/SharpNeat.Tasks/FunctionRegression/IBlackBoxProbe.cs | subski/sharpneat-refactor | 5022b82b7ebdadb64dc9fc34bdc05746fb31f235 | [
"MIT"
] | 25 | 2017-12-28T20:35:18.000Z | 2022-02-06T20:55:02.000Z | src/SharpNeat.Tasks/FunctionRegression/IBlackBoxProbe.cs | subski/sharpneat-refactor | 5022b82b7ebdadb64dc9fc34bdc05746fb31f235 | [
"MIT"
] | 15 | 2018-08-03T20:56:20.000Z | 2022-01-27T08:37:00.000Z | /* ***************************************************************************
* This file is part of SharpNEAT - Evolution of Neural Networks.
*
* Copyright 2004-2020 Colin Green (sharpneat@gmail.com)
*
* SharpNEAT is free software; you can redistribute it and/or modify
* it under the terms of The MIT License (... | 36.666667 | 98 | 0.617273 |
a00e9fe733bc2eb8cc87f9a063ed5e3ff69948c8 | 4,846 | ts | TypeScript | src/Symbols.ts | TeamDev-it/Esri-vue-maps | 20bce97a203f486f124e70911b1bac80cccda6ac | [
"MIT"
] | null | null | null | src/Symbols.ts | TeamDev-it/Esri-vue-maps | 20bce97a203f486f124e70911b1bac80cccda6ac | [
"MIT"
] | null | null | null | src/Symbols.ts | TeamDev-it/Esri-vue-maps | 20bce97a203f486f124e70911b1bac80cccda6ac | [
"MIT"
] | null | null | null | import { Loader, CreationResult } from "./esriUtils"
export class Symbols {
public async ExtrudeSymbol3DLayer(options?: any): Promise<__esri.ExtrudeSymbol3DLayer> {
return (await Loader.create<__esri.ExtrudeSymbol3DLayer>(Loader.packageName + "/symbols/ExtrudeSymbol3DLayer", options)).result;
}
public asyn... | 49.958763 | 132 | 0.762897 |
2d6d749b3938941fe50ed982b412fb4c3b9da69c | 3,823 | css | CSS | css/resume.css | maoning/maoning.github.io | 06401949a23f6906a9f87017c617111fda7b468c | [
"MIT"
] | null | null | null | css/resume.css | maoning/maoning.github.io | 06401949a23f6906a9f87017c617111fda7b468c | [
"MIT"
] | null | null | null | css/resume.css | maoning/maoning.github.io | 06401949a23f6906a9f87017c617111fda7b468c | [
"MIT"
] | null | null | null | /*header {
height:150px;
border-radius: 10px;
background-color:#3F3F3F;
color:white;
text-align:center;
line-height: 35px;
padding-top: 20px;
border-style: solid;
border-width: 1px;
}
body {
text-align: center;
}
#wrapper {
width:800px;
height: auto;
margin:0 auto;
p... | 17.864486 | 179 | 0.630395 |
548d0b621ebfc016f29d6f153be64937a7dd5ae3 | 1,712 | dart | Dart | lib/c/clipOvalSample.dart | Seek-knowledge/flutter_widget_sample | 914c21084aeef9ba8e6ace20c0857742c6902092 | [
"MIT"
] | 1 | 2018-09-11T08:10:21.000Z | 2018-09-11T08:10:21.000Z | lib/c/clipOvalSample.dart | Seek-knowledge/flutter_widget_sample | 914c21084aeef9ba8e6ace20c0857742c6902092 | [
"MIT"
] | null | null | null | lib/c/clipOvalSample.dart | Seek-knowledge/flutter_widget_sample | 914c21084aeef9ba8e6ace20c0857742c6902092 | [
"MIT"
] | null | null | null | import 'package:flutter_ui_demo/base.dart';
import 'package:flutter/material.dart';
// ignore: must_be_immutable
class ClipOvalSample extends BaseContentApp {
static const String routeName = 'ClipOvalSample';
@override
String get title => routeName;
@override
Widget get contentWidget => _Sample();
@ove... | 21.948718 | 82 | 0.619159 |
e24677f5976f533999736de7a1122ffd5751af04 | 4,391 | js | JavaScript | docs/build/assets/js/5b560578.0a1ff630.js | SiddeshSambasivam/DataAnnotated | 7b1563334ad3283bffd1081a05aa3df6a5c906c6 | [
"MIT"
] | 6 | 2021-02-26T02:19:17.000Z | 2021-03-01T05:01:36.000Z | docs/build/assets/js/5b560578.0a1ff630.js | SiddeshSambasivam/DataAnnotated | 7b1563334ad3283bffd1081a05aa3df6a5c906c6 | [
"MIT"
] | 10 | 2021-02-26T07:33:41.000Z | 2021-04-26T18:25:49.000Z | docs/build/assets/js/5b560578.0a1ff630.js | SiddeshSambasivam/DataAnnotated | 7b1563334ad3283bffd1081a05aa3df6a5c906c6 | [
"MIT"
] | 2 | 2021-02-25T23:16:09.000Z | 2021-04-13T15:59:40.000Z | (window.webpackJsonp=window.webpackJsonp||[]).push([[13],{107:function(e,t,n){"use strict";n.d(t,"a",(function(){return l})),n.d(t,"b",(function(){return m}));var r=n(0),a=n.n(r);function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function u(e,t){var n... | 4,391 | 4,391 | 0.692781 |
0321865a6af950846c389c6b7fc6a6e17ed5dd48 | 3,882 | cpp | C++ | src_train_dropout_two_hidden/test_arpa.cpp | sagae/nndep | efa7db1cfe276647bfdd71658ee5b248a51182f4 | [
"MIT"
] | 4 | 2016-10-12T13:09:49.000Z | 2017-11-16T09:00:26.000Z | src_train_dropout_two_hidden/test_arpa.cpp | sagae/nndep | efa7db1cfe276647bfdd71658ee5b248a51182f4 | [
"MIT"
] | null | null | null | src_train_dropout_two_hidden/test_arpa.cpp | sagae/nndep | efa7db1cfe276647bfdd71658ee5b248a51182f4 | [
"MIT"
] | null | null | null | #include <iostream>
#include <fstream>
#include <vector>
#include <cstdio>
//#include "cmph.hpp"
//#include "biglm.hpp"
//#include "quantizer.hpp"
#include "arpa.hpp"
#include "arpaMultinomial.h"
#include <boost/algorithm/string_regex.hpp>
#include <boost/program_options.hpp>
#include <boost/random/mersenne_twister.h... | 29.633588 | 102 | 0.622875 |
e5d6e980af0dc3e5196cac1d13e7a57b2f8c8f6f | 87 | lua | Lua | lua/harpoon/test/manage-a-mark.lua | brandoncc/harpoon | a6faacee326b90a862097962ca0affcf9a3f2a8a | [
"MIT"
] | 1 | 2022-03-08T00:33:38.000Z | 2022-03-08T00:33:38.000Z | lua/harpoon/test/manage-a-mark.lua | joacohoyos/harpoon | b0437610ab1399ba85fd605f9e2ee357a8706097 | [
"MIT"
] | null | null | null | lua/harpoon/test/manage-a-mark.lua | joacohoyos/harpoon | b0437610ab1399ba85fd605f9e2ee357a8706097 | [
"MIT"
] | null | null | null | -- TODO: Harpooned
local Marker = require('harpoon.mark')
local eq = assert.are.same
| 14.5 | 38 | 0.712644 |
bd76efc26c2a65125e5c0d4c54068ed2695e8219 | 1,860 | rb | Ruby | app/services/qa_server/performance_per_byte_data_service.rb | LD4P/qa_server | 5740f1868a6b8b895428303753d0f0739da1788d | [
"Apache-2.0"
] | 5 | 2019-05-12T18:06:49.000Z | 2022-03-01T16:47:39.000Z | app/services/qa_server/performance_per_byte_data_service.rb | LD4P/qa_server | 5740f1868a6b8b895428303753d0f0739da1788d | [
"Apache-2.0"
] | 243 | 2018-08-17T14:06:15.000Z | 2022-03-31T20:01:47.000Z | app/services/qa_server/performance_per_byte_data_service.rb | LD4P/qa_server | 5740f1868a6b8b895428303753d0f0739da1788d | [
"Apache-2.0"
] | 5 | 2018-09-14T13:42:02.000Z | 2022-03-01T12:43:24.000Z | # frozen_string_literal: true
# This class calculates performance stats based on size of data.
module QaServer
class PerformancePerByteDataService
class << self
include QaServer::PerformanceHistoryDataKeys
class_attribute :stats_calculator_class, :performance_data_class
self.stats_calculator_cl... | 44.285714 | 106 | 0.714516 |
dc50dc757e97cb07a227d3f33b3ea773f8dfc24d | 1,091 | ts | TypeScript | frontend/src/app/core/models/movie.model.ts | znuznu/visum | dcbcd71cac172fbd1d78334dd28f828fa29bc34c | [
"MIT"
] | null | null | null | frontend/src/app/core/models/movie.model.ts | znuznu/visum | dcbcd71cac172fbd1d78334dd28f828fa29bc34c | [
"MIT"
] | null | null | null | frontend/src/app/core/models/movie.model.ts | znuznu/visum | dcbcd71cac172fbd1d78334dd28f828fa29bc34c | [
"MIT"
] | null | null | null | import { Actor } from './people/actor.model';
import { Director } from './people/director.model';
import { Genre } from './genre.model';
import { MovieReview } from './review/movie-review';
import { MovieViewingHistory } from './history/history.model';
export class Movie {
id: number;
title: string;
releaseDate:... | 31.171429 | 62 | 0.665445 |
383d1690972029912a2fa534732ac047177d43e6 | 171 | php | PHP | src/App/Fields/Link.php | inwebcomp/admin | 17b1be1aa351b03c77c8b3606cb4425393da8aaf | [
"BSD-2-Clause",
"MIT"
] | null | null | null | src/App/Fields/Link.php | inwebcomp/admin | 17b1be1aa351b03c77c8b3606cb4425393da8aaf | [
"BSD-2-Clause",
"MIT"
] | 15 | 2020-02-29T21:15:26.000Z | 2022-03-01T13:38:12.000Z | src/App/Fields/Link.php | inwebcomp/admin | 17b1be1aa351b03c77c8b3606cb4425393da8aaf | [
"BSD-2-Clause",
"MIT"
] | null | null | null | <?php
namespace InWeb\Admin\App\Fields;
use Illuminate\Support\Traits\Macroable;
class Link extends Field
{
use Macroable;
public $component = 'link-field';
}
| 13.153846 | 40 | 0.719298 |
15b5698a9b8c44741d9e24989d6a469815d1e754 | 863 | gemspec | Ruby | js_data_rails.gemspec | dts/js_data_rails | bda171682a626244b05a74f87a630fd6606426d3 | [
"MIT"
] | null | null | null | js_data_rails.gemspec | dts/js_data_rails | bda171682a626244b05a74f87a630fd6606426d3 | [
"MIT"
] | null | null | null | js_data_rails.gemspec | dts/js_data_rails | bda171682a626244b05a74f87a630fd6606426d3 | [
"MIT"
] | null | null | null | $:.push File.expand_path("../lib", __FILE__)
# Maintain your gem's version:
require "js_data_rails/version"
# Describe your gem and declare its dependencies:
Gem::Specification.new do |s|
s.name = "js_data_rails"
s.version = JsDataRails::VERSION
s.authors = ["Daniel Staudigel"]
s.email = ... | 35.958333 | 147 | 0.687138 |
aa43d666ad707500f4b7c54042968dd63529e68e | 1,812 | lua | Lua | test/test.lua | actboy168/lml | 9e20597a6df872a93589b9385038470e3343c149 | [
"MIT"
] | 2 | 2020-01-26T02:26:33.000Z | 2021-11-11T00:32:13.000Z | test/test.lua | actboy168/lml | 9e20597a6df872a93589b9385038470e3343c149 | [
"MIT"
] | null | null | null | test/test.lua | actboy168/lml | 9e20597a6df872a93589b9385038470e3343c149 | [
"MIT"
] | 1 | 2019-10-11T10:47:48.000Z | 2019-10-11T10:47:48.000Z | package.path = [[.\test\?.lua]]
package.cpath = [[.\build\msvc\bin\?.dll]]
local lml = require 'lml'
local print_r = require 'print_r'
function LOAD(filename)
local f = assert(io.open(filename, 'rb'))
local r = lml(f:read 'a')
f:close()
return r
end
local function EQUAL(a, b)
for k, v in pairs(a) do
if type(v... | 11.468354 | 86 | 0.450883 |