identifier stringlengths 42 383 | collection stringclasses 1
value | open_type stringclasses 1
value | license stringlengths 0 1.81k | date float64 1.99k 2.02k ⌀ | title stringlengths 0 100 | creator stringlengths 1 39 | language stringclasses 157
values | language_type stringclasses 2
values | word_count int64 1 20k | token_count int64 4 1.32M | text stringlengths 5 1.53M | __index_level_0__ int64 0 57.5k |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
https://github.com/SaravananR22/FeedbackMessages/blob/master/FeedbackMessages/Extensions/HttpSessionStateExtensions.cs | Github Open Source | Open Source | MIT | 2,022 | FeedbackMessages | SaravananR22 | C# | Code | 66 | 206 | using System.Web.SessionState;
namespace FeedbackMessages.Extensions
{
public static class HttpSessionStateExtensions
{
public static void SetStore(this HttpSessionState session, string key, FeedbackMessageStore value)
{
if (value == null)
{
return;
... | 37,777 |
https://github.com/Paritosh-26dev/Task-Reminder/blob/master/client/src/components/profiles/profile.js | Github Open Source | Open Source | MIT | null | Task-Reminder | Paritosh-26dev | JavaScript | Code | 103 | 409 | import React,{Fragment,useEffect} from 'react';
import {Link} from 'react-router-dom';
import PropTypes from 'prop-types';
import {connect} from 'react-redux';
import Spinner from '../layout/Spinner';
import ProfileTop from './ProfileTop';
import ProfileAbout from './profileAbout';
import {getProfileById} from '../../... | 26,844 |
https://github.com/yashtibrewal/leechcode/blob/master/leechcode-fe-app/src/app/services/auth.service.ts | Github Open Source | Open Source | MIT | 2,022 | leechcode | yashtibrewal | TypeScript | Code | 421 | 1,539 | import {
Auth,
GoogleAuthProvider,
createUserWithEmailAndPassword,
signInWithEmailAndPassword,
signInWithPopup,
signOut,
user,
} from '@angular/fire/auth';
import { AngularFireAuth } from '@angular/fire/compat/auth';
import * as auth from 'firebase/auth';
import { Router } from '@angular/router';
import {... | 39,528 |
https://github.com/sajinie93/db-project/blob/master/resources/views/Admin/addInstrument.blade.php | Github Open Source | Open Source | MIT | null | db-project | sajinie93 | PHP | Code | 103 | 484 | @extends('Admin.index')
@section('style')
<style>
.form-control {
/*padding-right: 150px;*/
width: 80%;
}
.container {
width: 80%;
}
</style>
@endsection
@section('content')
{{--{{route('save_instrument')}}--}}
<form action="{{r... | 34,803 |
https://github.com/KnairdA/BinaryMapping/blob/master/src/detail/type/transformation.h | Github Open Source | Open Source | MIT | 2,014 | BinaryMapping | KnairdA | C++ | Code | 39 | 188 | #ifndef BINARY_MAPPING_SRC_DETAIL_TYPE_TRANSFORMATION_H_
#define BINARY_MAPPING_SRC_DETAIL_TYPE_TRANSFORMATION_H_
#include <type_traits>
namespace BinaryMapping {
namespace dtl {
template <typename Type>
using const_lvalue_reference = typename std::add_lvalue_reference<
typename std::add_const<Type>::type
>::type;
... | 33,960 |
https://github.com/esme-it/sharad-api/blob/master/api/db/reportingdb.php | Github Open Source | Open Source | MIT | 2,020 | sharad-api | esme-it | PHP | Code | 116 | 338 | <?php
include("cas_db.php");
include("create_cas_db.php");
$statement = $session->execute(new Cassandra\SimpleStatement("
CREATE TABLE IF NOT EXISTS playerreport (
player_id uuid,
camp_id int,
view_count int,
view_time text,
view_date text,
view_duration float,
freq_count int,
object_typ text,
human_age int,
human_ha... | 40,082 |
https://github.com/yinggaozhen/yaf-php-doc/blob/master/tests/common/049Test_5.inc | Github Open Source | Open Source | MIT | 2,019 | yaf-php-doc | yinggaozhen | PHP | Code | 6 | 12 | <?php throw new Exception('view exception'); ?>
| 36,466 |
https://github.com/nampdn/ekklisia-admin/blob/master/web/src/Routes.js | Github Open Source | Open Source | MIT | null | ekklisia-admin | nampdn | JavaScript | Code | 123 | 469 | // In this file, all Page components from 'src/pages` are auto-imported. Nested
// directories are supported, and should be uppercase. Each subdirectory will be
// prepended onto the component name.
//
// Examples:
//
// 'src/pages/HomePage/HomePage.js' -> HomePage
// 'src/pages/Admin/BooksPage/BooksPage.js' ->... | 45,851 |
https://github.com/albertored11/PC-Practicas/blob/master/Práctica 5/PC-P5-2/src/pc/p5/mensaje/MensajeListaUsuarios.java | Github Open Source | Open Source | MIT | 2,021 | PC-Practicas | albertored11 | Java | Code | 18 | 87 | package pc.p5.mensaje;
import pc.p5.usuario.Usuario;
public class MensajeListaUsuarios extends MensajeDesdeCliente {
public MensajeListaUsuarios(Usuario user) {
super("MENSAJE_LISTA_USUARIOS", user);
}
}
| 53,563 |
https://github.com/nef001/ags-client/blob/master/ags-client-tests/PointInPolyTests.cs | Github Open Source | Open Source | MIT | 2,019 | ags-client | nef001 | C# | Code | 936 | 1,827 | using ags_client.Types;
using ags_client.Types.Geometry;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Collections.Generic;
namespace ags_client_tests
{
[TestClass]
public class PointInPolyTests
{
[TestMethod]
public void TestMethod1()
{
var g = new P... | 12,534 |
https://github.com/hbrobotics/hbrc_ros_robot_platform/blob/master/electrical/wow_fix/rev_a/wow_fix-B_SilkS.gbr | Github Open Source | Open Source | MIT | 2,021 | hbrc_ros_robot_platform | hbrobotics | Gerber Image | Code | 344 | 4,499 | %TF.GenerationSoftware,KiCad,Pcbnew,5.1.9-73d0e3b20d~88~ubuntu20.04.1*%
%TF.CreationDate,2021-04-02T21:19:43-07:00*%
%TF.ProjectId,wow_fix,776f775f-6669-4782-9e6b-696361645f70,A*%
%TF.SameCoordinates,Original*%
%TF.FileFunction,Legend,Bot*%
%TF.FilePolarity,Positive*%
%FSLAX46Y46*%
G04 Gerber Fmt 4.6, Leading zero omit... | 51,763 |
https://github.com/cj-chung/alcor-control-agent/blob/master/test/gtest/aca_test_openflow.cpp | Github Open Source | Open Source | MIT | null | alcor-control-agent | cj-chung | C++ | Code | 663 | 2,725 | // MIT License
// Copyright(c) 2020 Futurewei Cloud
//
// 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,... | 35,850 |
https://github.com/dwtcourses/flint/blob/master/src/controllers/localStoreManager.ts | Github Open Source | Open Source | Apache-2.0 | 2,020 | flint | dwtcourses | TypeScript | Code | 50 | 189 | // src/controllers/localStoreManager.ts
export class LocalStorageManager {
setProjectDir(projectDir: string) {
localStorage.projectDir = projectDir;
}
clearProjectDir() {
localStorage.removeItem('projectDir');
}
getProjectDir(): string {
return localStorage.projectDir;
... | 18,085 |
https://github.com/S-Husach/test_project/blob/master/resources/views/donation.blade.php | Github Open Source | Open Source | MIT | null | test_project | S-Husach | PHP | Code | 85 | 411 | @extends('layouts.app')
@section('content')
<div class="container">
<div class="col-6">
<h2>Donations page</h2>
@if($errors->any())
<div class="alert alert-danger">
<ul>
@foreach($errors->all() as $error)
<li>{{ $error }}</li>
@endforeach
</ul>
</div>
@endif
<form action="/donate... | 21,787 |
https://github.com/sschaub/ijava/blob/master/src/main/java/javaic/parsetree/TBUtil.java | Github Open Source | Open Source | Apache-2.0 | null | ijava | sschaub | Java | Code | 50 | 191 | //package javaic.parsetree;
//
//import java.util.List;
//import java.util.stream.Collectors;
//
//import javaic.semantics.JType;
//
//import org.antlr.v4.runtime.Token;
//
//public class TBUtil {
//
// public static List<String> IDsToStringList(List<Token> ids) {
// return ids.stream().map(p -> p.getText()).collect(... | 14,473 |
https://github.com/fossabot/ApiHelperBundle/blob/master/src/Options/ApiUrlPrefixOption.php | Github Open Source | Open Source | MIT | 2,020 | ApiHelperBundle | fossabot | PHP | Code | 106 | 384 | <?php
declare(strict_types=1);
namespace RedRat\ApiHelperBundle\Options;
use Symfony\Component\HttpFoundation\Request;
use function array_map;
use function filter_var;
use function preg_quote;
use function sprintf;
class ApiUrlPrefixOption implements ApiUrlPrefixOptionInterface
{
private array $options;
pu... | 40,223 |
https://github.com/lambkin179294/cactbot/blob/master/ui/oopsyraidsy/data/03-hw/dungeon/aetherochemical_research_facility.ts | Github Open Source | Open Source | Apache-2.0 | 2,019 | cactbot | lambkin179294 | TypeScript | Code | 410 | 1,016 | import NetRegexes from '../../../../../resources/netregexes';
import ZoneId from '../../../../../resources/zone_id';
import { OopsyData } from '../../../../../types/data';
import { OopsyTriggerSet } from '../../../../../types/oopsy';
export type Data = OopsyData;
// Aetherochemical Research Facility
const triggerSet:... | 22,257 |
https://github.com/artek2001/twitch4j/blob/master/src/main/java/me/philippheuer/twitch4j/endpoints/UserEndpoint.java | Github Open Source | Open Source | MIT | 2,018 | twitch4j | artek2001 | Java | Code | 1,752 | 5,815 | package me.philippheuer.twitch4j.endpoints;
import com.jcabi.log.Logger;
import me.philippheuer.twitch4j.TwitchClient;
import me.philippheuer.twitch4j.auth.model.OAuthCredential;
import me.philippheuer.twitch4j.enums.Endpoints;
import me.philippheuer.twitch4j.enums.TwitchScopes;
import me.philippheuer.twitch4j.excepti... | 11,603 |
https://github.com/lukeautry/sourcegraph/blob/master/src/repo/blob/blame/BlameLine.scss | Github Open Source | Open Source | Apache-2.0 | 2,018 | sourcegraph | lukeautry | SCSS | Code | 8 | 25 | .blame {
&__contents {
white-space: pre;
}
}
| 4,552 |
https://github.com/pollingj/hirefire/blob/master/lib/hirefire/workers/resque.rb | Github Open Source | Open Source | MIT | 2,014 | hirefire | pollingj | Ruby | Code | 93 | 233 | # encoding: utf-8
##
# Load the "HireFire modified"
# Resque::Job and Resque::Worker classes
require File.dirname(__FILE__) + '/resque/job'
require File.dirname(__FILE__) + '/resque/worker'
##
# HireFire
# This is a HireFire modified version of
# the official Resque module
module ::Resque
def self.enqueue(klass, *a... | 41,852 |
https://github.com/dsavina/demo-metahydrator/blob/master/src/php/Controller/RootController.php | Github Open Source | Open Source | MIT | null | demo-metahydrator | dsavina | PHP | Code | 154 | 495 | <?php
namespace Demo\Controller;
use Mouf\Mvc\Splash\Annotations\Get;
use Mouf\Mvc\Splash\Annotations\Post;
use Mouf\Mvc\Splash\Annotations\Put;
use Mouf\Mvc\Splash\Annotations\Delete;
use Mouf\Mvc\Splash\Annotations\URL;
use Mouf\Html\Template\TemplateInterface;
use Mouf\Html\HtmlElement\HtmlBlock;
use \Twig_Environm... | 1,300 |
https://github.com/thngkaiyuan/chromium/blob/master/ios/chrome/browser/payments/payment_request_test_util.mm | Github Open Source | Open Source | BSD-3-Clause | 2,017 | chromium | thngkaiyuan | Objective-C++ | Code | 241 | 1,384 | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ios/chrome/browser/payments/payment_request_test_util.h"
#include "base/guid.h"
#include "base/memory/ptr_util.h"
#include "base/strings/utf_st... | 36,603 |
https://github.com/Gcaufy/ncform/blob/master/packages/ncform-e2e/ncform/cypress/integration/examples/ui.label.spec.js | Github Open Source | Open Source | MIT | 2,020 | ncform | Gcaufy | JavaScript | Code | 259 | 1,386 | /// <reference types="Cypress" />
const md5 = require('blueimp-md5');
context('ui.label and ui.legend', () => {
before(() => {
cy.visit('http://localhost:3000/examples/components/vue-ncform/_ui.label.html')
})
it('Only provide label value', () => {
let id = md5('Only provide label value');
cy.get(... | 54,645 |
https://github.com/andreshp/GeneticQAP/blob/master/results/paper/els19/MA/PMX/8.sol | Github Open Source | Open Source | MIT | 2,017 | GeneticQAP | andreshp | Gerber Image | Code | 58 | 104 | Time (s): 3.6117210388183594
Number of evaluations: 458856
Number of iterations: 599
Number of local search applications: 593
Number of greedy solutions: 0
Number of reemplacements in GADEGD: 0
The solution has objective value 17212548 .
The permutation is:
[ 8 9 6 18 13 17 12 16 5 10 3 4 11 7 15 14 0 1 2]
| 36,235 |
https://github.com/TraiLynne/jdos-guyana/blob/master/less/index.less | Github Open Source | Open Source | MIT | null | jdos-guyana | TraiLynne | Less | Code | 24 | 78 | @import 'variable';
@import 'mixins';
@import 'reset';
@import 'general';
@import 'header';
@import 'home';
@import 'about';
@import 'services';
@import 'projects';
@import 'career';
@import 'contact';
@import 'footer'; | 22,918 |
https://github.com/DataBiosphere/hamm/blob/master/core/src/test/scala/org/broadinstitute/dsp/workbench/hamm/TestData.scala | Github Open Source | Open Source | MIT | 2,020 | hamm | DataBiosphere | Scala | Code | 1,485 | 5,551 | package org.broadinstitute.dsp.workbench.hamm
import java.time.Instant
import org.broadinstitute.dsp.workbench.hamm.db.{CallFqn, Job, JobUniqueKey, Workflow}
import org.broadinstitute.dsp.workbench.hamm.model.{SamResource, SamResourceAction, WorkflowCollectionId, WorkflowId}
import org.http4s.AuthScheme
import org.ht... | 24,635 |
https://github.com/ebassi/libpsl/blob/master/src/Makefile.am | Github Open Source | Open Source | MIT, LicenseRef-scancode-unknown-license-reference, BSD-3-Clause | 2,018 | libpsl | ebassi | Makefile | Code | 92 | 407 | # suffixes.c must be created before psl.c is compiled
BUILT_SOURCES = suffixes_dafsa.c
# suffixes.c is a built source that must be cleaned
CLEANFILES = suffixes_dafsa.c
lib_LTLIBRARIES = libpsl.la
libpsl_la_SOURCES = psl.c lookup_string_in_fixed_set.c
libpsl_la_CPPFLAGS = -I$(top_srcdir)/include -DPSL_DISTFILE=\"$(P... | 51,746 |
https://github.com/fhs/mux9p/blob/master/internal/p9p/pipe.go | Github Open Source | Open Source | MIT | 2,022 | mux9p | fhs | Go | Code | 105 | 249 | // Package p9p implements some Plan 9 Port functions.
package p9p
import (
"net"
"os"
)
// Pipe returns a two-way pipe. Unlike os.Pipe, read and write is supported on both ends.
func Pipe() (*os.File, *os.File, error) {
var p [2]int
if err := pipe(p[:]); err != nil {
return nil, nil, err
}
return os.NewFile(u... | 39,587 |
https://github.com/sgysh/sldr/blob/master/.gitignore | Github Open Source | Open Source | MIT | 2,018 | sldr | sgysh | Ignore List | Code | 6 | 21 | *.o
*.so
sldr
hello
ctordtor
call_shared
| 34,871 |
https://github.com/shohei-horiguchi/alpha/blob/master/spec/models/user_spec.rb | Github Open Source | Open Source | MIT | 2,013 | alpha | shohei-horiguchi | Ruby | Code | 270 | 849 | require 'spec_helper'
describe User do
it { should be_mongoid_document }
it { should be_timestamped_document }
it_should_behave_like "a devise model"
context "data model" do
it { should have_field(:username).of_type(String) }
it { should have_field(:name).of_type(String) }
it { should have_fiel... | 38,373 |
https://github.com/pulumi/pulumi-azure/blob/master/sdk/python/pulumi_azure/managedlustre/_inputs.py | Github Open Source | Open Source | MPL-2.0, BSD-3-Clause, Apache-2.0 | 2,023 | pulumi-azure | pulumi | Python | Code | 818 | 2,353 | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import copy
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
fr... | 37,448 |
https://github.com/dubbogo/gost/blob/master/net/net_test.go | Github Open Source | Open Source | Apache-2.0 | 2,023 | gost | dubbogo | Go | Code | 506 | 2,394 | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | 2,470 |
https://github.com/giatro/GruntGulpDemo/blob/master/gulpfile.js | Github Open Source | Open Source | MIT | null | GruntGulpDemo | giatro | JavaScript | Code | 62 | 365 | var gulp = require('gulp');
var concat = require('gulp-concat');
var rename = require('gulp-rename');
var less = require('gulp-less');
var uglify = require('gulp-uglify');
var minifyCss = require('gulp-minify-css');
var watch = require('gulp-watch');
gulp.task('scripts', function() {
return gu... | 29,716 |
https://github.com/clocksin-nick-wm/BreakProject/blob/master/order.php | Github Open Source | Open Source | MIT | 2,016 | BreakProject | clocksin-nick-wm | PHP | Code | 77 | 223 | <?php
$name = $_POST['name'];
$order = $_POST['order'];
$size = $_POST['size'];
$address = $_POST['address'];
$email = $_POST['email'];
include('connect.php');
if(isset($_POST['formSubmit'])) {
$query = "INSERT INTO orders VALUES (0, :name, :address, :email, :size, :order)";
$stmt = $dbh->prepare($query);
... | 41,995 |
https://github.com/SAP/openui5/blob/master/src/sap.ui.webc.fiori/src/sap/ui/webc/fiori/thirdparty/types/WizardContentLayout.js | Github Open Source | Open Source | Apache-2.0, LicenseRef-scancode-unknown-license-reference | 2,023 | openui5 | SAP | JavaScript | Code | 104 | 316 | sap.ui.define(["exports"], function (_exports) {
"use strict";
Object.defineProperty(_exports, "__esModule", {
value: true
});
_exports.default = void 0;
/**
* Enumeration for different content layouts of the <code>ui5-wizard</code>.
*
* @readonly
* @enum {string}
* @public
* @author SA... | 20,516 |
https://github.com/svviki/SoftUni-ProgrammingFundamentals-JavaScript/blob/master/Arrays/06. Even and Odd Subtraction.js | Github Open Source | Open Source | MIT | 2,020 | SoftUni-ProgrammingFundamentals-JavaScript | svviki | JavaScript | Code | 47 | 134 | function solve(arr){
for(let i = 0; i < arr.length; i++){
arr[i] = Number(arr[i]);
}
let evenSum = 0;
let oddSum = 0;
for(let num of arr){
if(num % 2 === 0){
evenSum += num;
} else {
oddSum += num;
}
}
console.log(evenSum - oddSum)... | 46,105 |
https://github.com/Gmadges/loaders.gl/blob/master/modules/i3s/src/i3-slpk-loader.js | Github Open Source | Open Source | MIT, Apache-2.0 | 2,020 | loaders.gl | Gmadges | JavaScript | Code | 171 | 572 | /* global __VERSION__ */ // __VERSION__ is injected by babel-plugin-version-inline
import ZipLoader from 'zip-loader';
import pako from 'pako';
const VERSION = typeof __VERSION__ !== 'undefined' ? __VERSION__ : 'latest';
export const I3SSLPKLoader = {
id: 'i3s-slpk',
name: 'i3s-slpk',
version: VERSION,
extens... | 4,466 |
https://github.com/Wanger-SJTU/leetcode-solutions/blob/master/python/56.合并区间.py | Github Open Source | Open Source | MIT | 2,021 | leetcode-solutions | Wanger-SJTU | Python | Code | 70 | 245 | #
# @lc app=leetcode id=56 lang=python3
#
# [56] Merge Intervals
#
from typing import List
class Solution:
def merge(self, intervals: List[List[int]]) -> List[List[int]]:
if not intervals:return []
intervals = sorted(intervals, key=lambda x:x[0])
new_res = []
left,right = intervals[... | 34,201 |
https://github.com/mhbeals/sap_reprints/blob/master/Outputs/memes/1849_07.tsv | Github Open Source | Open Source | CC-BY-4.0 | 2,017 | sap_reprints | mhbeals | TSV | Code | 20,000 | 33,895 | 1849 07 01 TheEra 0007 1849 07 01 Lloyd'sIllustratedNewspaper 0001 1849 07 02 GlasgowHerald 0004 1849 07 01 Lloyd'sIllustratedNewspaper 0001 1849 07 04 DerbyMercury 0001 1849 07 01 Lloyd'sIllustratedNewspaper 0001 1849 07 01 TheEra 0016 1849 07 01 Lloyd'sIllustratedNewspaper 0002 1849 07 02 CaledonianMercury 0001 1849 ... | 3,021 |
https://github.com/karthik-git-user/SAP-Stage/blob/master/core-customize/hybris/bin/modules/sap-marketing-cloud/sapymktclickstream/src/com/hybris/ymkt/clickstream/constants/SapymktclickstreamConstants.java | Github Open Source | Open Source | Apache-2.0 | null | SAP-Stage | karthik-git-user | Java | Code | 35 | 95 | /*
* Copyright (c) 2019 SAP SE or an SAP affiliate company. All rights reserved.
*/
package com.hybris.ymkt.clickstream.constants;
public class SapymktclickstreamConstants
{
public static final String EXTENSIONNAME = "sapymktclickstream";
private SapymktclickstreamConstants()
{
//empty
}
} | 12,828 |
https://github.com/eber159/gestioncomercial/blob/master/app/Detallematerial.php | Github Open Source | Open Source | MIT | null | gestioncomercial | eber159 | PHP | Code | 46 | 242 | <?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Detallematerial extends Model { //clase Eloquent
protected $table = 'detallematerial';
protected $fillable = array(
'id'
,'idempresa'
,'idsede'
,'idtabla'
,'idproducto'
... | 53,780 |
https://github.com/warp5tw/openbmc-test-automation/blob/master/openpower/tests_openbmctool/test_openbmctool_network.robot | Github Open Source | Open Source | Apache-2.0 | 2,022 | openbmc-test-automation | warp5tw | null | Spoken | 715 | 2,706 | *** Settings ***
Documentation Verify OBMC tool's network fuctionality.
Library String
Library OperatingSystem
Library ../../lib/bmc_network_utils.py
Library ../../lib/gen_print.py
Library ../../lib/gen_robot_print.py
Library ... | 4,294 |
https://github.com/brucelevis/TopDownEngineExtensions/blob/master/CharacterDamageMultiplier/PickableDamageMultiplier.cs | Github Open Source | Open Source | MIT | 2,021 | TopDownEngineExtensions | brucelevis | C# | Code | 48 | 182 | using MoreMountains.TopDownEngine;
using MoreMountains.Tools;
using UnityEngine;
namespace TopDownEngineExtensions
{
public class PickableDamageMultiplier : PickableItem
{
public float DamageMultiplier = 2f;
private DamageMultiplierCharacterHandleWeapon _handleWeapon;
protected overri... | 18,792 |
https://github.com/Hamzah-z/odin/blob/master/odin-engine/api/execute.go | Github Open Source | Open Source | MIT | null | odin | Hamzah-z | Go | Code | 173 | 470 | package api
import (
"encoding/json"
"io/ioutil"
"net/http"
"github.com/go-chi/chi"
"github.com/theycallmemac/odin/odin-engine/pkg/executor"
"github.com/theycallmemac/odin/odin-engine/pkg/fsm"
)
// create JobNode type to be used to unmarshal data into after a HTTP request
// consists of Items... | 49,091 |
https://github.com/66xc1/lazy-punch/blob/master/src/main/java/com/punch/common/config/ChromeServiceConfig.java | Github Open Source | Open Source | Apache-2.0 | 2,020 | lazy-punch | 66xc1 | Java | Code | 82 | 350 | package com.punch.common.config;
import java.io.File;
import java.io.IOException;
import org.openqa.selenium.chrome.ChromeDriverService;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configu... | 40,061 |
https://github.com/luisvt/hatshop/blob/master/server/src/test/groovy/com/hatshop/server/HatShopApplicationTests.groovy | Github Open Source | Open Source | Apache-2.0 | null | hatshop | luisvt | Groovy | Code | 16 | 70 | package com.hatshop.server
import org.junit.jupiter.api.Test
import org.springframework.boot.test.context.SpringBootTest
@SpringBootTest
class HatShopApplicationTests {
@Test
void contextLoads() {
}
}
| 39,568 |
https://github.com/rtizzy/mopidy-mpris/blob/master/tests/test_playlists.py | Github Open Source | Open Source | Apache-2.0 | 2,022 | mopidy-mpris | rtizzy | Python | Code | 315 | 1,392 | import pytest
from mopidy.audio import PlaybackState
from mopidy.models import Track
from mopidy_mpris.playlists import Playlists
@pytest.fixture
def dummy_playlists(core):
result = {}
for name, lm in [("foo", 3000000), ("bar", 2000000), ("baz", 1000000)]:
pl = core.playlists.create(name).get()
... | 41,643 |
https://github.com/terrestris/gondolin/blob/master/models/Role.ts | Github Open Source | Open Source | BSD-2-Clause | 2,023 | gondolin | terrestris | TypeScript | Code | 62 | 213 | import {
Model,
Column,
Table,
Unique,
AllowNull,
BelongsToMany,
BelongsTo,
ForeignKey
} from 'sequelize-typescript';
import User from './User';
import User_Role from './belongsToMany/User_Role';
import UserGroup from './UserGroup';
@Table({
timestamps: true
})
export default class Ro... | 7,148 |
https://github.com/QdWan/project-pdd-vue/blob/master/webapp/src/components/GoodsItem.vue | Github Open Source | Open Source | MIT | 2,019 | project-pdd-vue | QdWan | Vue | Code | 248 | 1,094 | <template>
<div class="goods-item">
<div class="goods-item-wrap" :style="{background: `#fff url(${goods.thumb_url}) no-repeat`}">
<div class="goods-item-inner">
<p>{{goods.short_name}}</p>
<div class="goods-item-inner-bottom">
<span class="currency">¥</span>
<span class="... | 15,592 |
https://github.com/thesadru/genshin.py/blob/master/genshin/models/honkai/chronicle/stats.py | Github Open Source | Open Source | MIT | 2,022 | genshin.py | thesadru | Python | Code | 927 | 3,607 | """Honkai stats models."""
import typing
import pydantic
from genshin.models.model import Aliased, APIModel
from . import battlesuits, modes
__all__ = [
"FullHonkaiUserStats",
"HonkaiStats",
"HonkaiUserStats",
]
def _model_to_dict(model: APIModel, lang: str = "en-us") -> typing.Mapping[str, typing.Any... | 3,239 |
https://github.com/dejeneboru/mdtcp-datacenter/blob/master/emp-tg/conf/client_10.24.0.1_to_10.5.0.3 | Github Open Source | Open Source | Apache-2.0 | 2,018 | mdtcp-datacenter | dejeneboru | null | Spoken | 12 | 50 | server 10.5.0.3 5320
req_size_dist emp-tg/conf/DCTCP_CDF.txt
load 40.0Mbps
fanout 1 100
num_reqs 1000
| 30,055 |
https://github.com/farajilab/gifs_release/blob/master/gromacs-4.6.5/include/gmx_wallcycle.h | Github Open Source | Open Source | MIT | 2,022 | gifs_release | farajilab | C | Code | 620 | 1,654 | /*
* This file is part of the GROMACS molecular simulation package.
*
* Copyright (c) 1991-2000, University of Groningen, The Netherlands.
* Copyright (c) 2001-2008, The GROMACS development team,
* check out http://www.gromacs.org for more information.
* Copyright (c) 2012,2013, by the GROMACS development team, l... | 32,788 |
https://github.com/bearboticsfrc/2020-competition-bot/blob/master/src/main/cpp/RobotContainer.cpp | Github Open Source | Open Source | BSD-3-Clause | 2,021 | 2020-competition-bot | bearboticsfrc | C++ | Code | 373 | 1,986 | /*----------------------------------------------------------------------------*/
/* Copyright (c) 2019 FIRST. All Rights Reserved. */
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* must be accompanied by the FIRST BSD license file in the root directory of... | 45,168 |
https://github.com/PhantomYdn/arcadedb/blob/master/integration/src/test/java/com/arcadedb/integration/importer/Neo4jImporterIT.java | Github Open Source | Open Source | Apache-2.0 | 2,021 | arcadedb | PhantomYdn | Java | Code | 326 | 1,189 | /*
* Copyright © 2021-present Arcade Data Ltd (info@arcadedata.com)
*
* 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 requ... | 53,323 |
https://github.com/csell5/xstate-inspect-debug/blob/master/src/machine.js | Github Open Source | Open Source | MIT | null | xstate-inspect-debug | csell5 | JavaScript | Code | 60 | 157 | import { Machine } from "xstate";
export const machine = Machine(
{
id: "machine",
initial: "inactive",
context: {
count: 0
},
states: {
inactive: {
on: {
TOGGLE: {
target: "active",
actions: "log"
}
}
},
active: ... | 12,138 |
https://github.com/alainmarcel/Surelog/blob/master/third_party/tests/black-parrot/external/basejump_stl/bsg_cache/bsg_cache_non_blocking_tl_stage.v | Github Open Source | Open Source | Apache-2.0, SHL-0.51, LicenseRef-scancode-unknown-license-reference, LicenseRef-scancode-free-unknown | 2,023 | Surelog | alainmarcel | Verilog | Code | 1,417 | 6,369 | /**
* bsg_cache_non_blocking_tl_stage.v
*
* tag-lookup stage
*
* @author tommy
*
*/
`include "bsg_defines.v"
module bsg_cache_non_blocking_tl_stage
import bsg_cache_non_blocking_pkg::*;
#(parameter id_width_p="inv"
, parameter addr_width_p="inv"
, parameter data_width_p="inv"
, parameter wa... | 20,366 |
https://github.com/vegaandagev/MERA.jl/blob/master/src/genericmera.jl | Github Open Source | Open Source | MIT | 2,020 | MERA.jl | vegaandagev | Julia | Code | 4,854 | 11,651 | # The most important types of the package, GenericMERA and Layer, on which all specific MERA
# implementations (binary, ternary, ...) are built. Methods and functions that can be
# implemented on this level of abstraction, without having to know the details of the
# specific MERA type.
# To be included in MERA.jl.
"""... | 22,775 |
https://github.com/microsoft/OpenXR-MixedReality/blob/master/shared/ext/DirectXMath/Stereo3D/Stereo3DMatrixHelper.h | Github Open Source | Open Source | MIT, LicenseRef-scancode-generic-cla, Zlib, Apache-2.0 | 2,023 | OpenXR-MixedReality | microsoft | C++ | Code | 250 | 665 | //-------------------------------------------------------------------------------------
// Stereo3DMatrixHelper.h -- SIMD C++ Math helper for Stereo 3D matrices
//
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
//----------------------------------------------------------... | 49,366 |
https://github.com/stoiveyp/Alexa.NET.RequestHandlers/blob/master/Alexa.NET.RequestHandlers/Interceptors/AlexaErrorInterceptor.cs | Github Open Source | Open Source | MIT | 2,022 | Alexa.NET.RequestHandlers | stoiveyp | C# | Code | 141 | 586 | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Alexa.NET.Request;
using Alexa.NET.Response;
namespace Alexa.NET.RequestHandlers.Interceptors
{
public class AlexaErrorInterceptor : AlexaErrorInterceptor<SkillRequest>
{
public AlexaErrorInterceptor(LinkedListNode<IAl... | 5,648 |
https://github.com/genesissupsup/WebSharp/blob/master/PepperSharp/binding/PPInstance.cs | Github Open Source | Open Source | MIT | 2,016 | WebSharp | genesissupsup | C# | Code | 91 | 260 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Runtime.CompilerServices;
namespace Pepper
{
public partial class PPInstance : PepperBase
{
protected PPInstance() { throw new PlatformNotSupportedException("Can not create... | 43,098 |
https://github.com/TungBS/riam/blob/master/public/guest/css/less/homepages.less | Github Open Source | Open Source | MIT | null | riam | TungBS | Less | Code | 3,692 | 14,871 | /**
===========================================================================================================================================
Full screen portfolio
===========================================================================================================================================
**/
.portfo... | 37,499 |
https://github.com/viparvez/marico-sells/blob/master/resources/views/location/districts/edit.blade.php | Github Open Source | Open Source | MIT | null | marico-sells | viparvez | PHP | Code | 82 | 388 | <div class="alert alert-danger print-error-msg" style="display:none">
<ul></ul>
</div>
<form role="form" action="{{route('districts.update', $district->id)}}" id="update" method="POST">
<div class="card-body">
{{csrf_field()}}
<input type="hidden" name="_method" value="PUT">
<div class="form-group"... | 41,757 |
https://github.com/CodingJinxx/polypoly/blob/master/Assets/NoesisGUI/Plugins/API/Core/RendererNoesis.cs | Github Open Source | Open Source | MIT | 2,020 | polypoly | CodingJinxx | C# | Code | 334 | 920 | using System;
using System.Runtime.InteropServices;
namespace Noesis
{
public class Renderer : BaseComponent
{
/// <summary>
/// Initializes the Renderer with the specified render device.
/// </summary>
/// <param name="vgOptions">Vector graphics options.</param>
public... | 45,760 |
https://github.com/keyboardDrummer/Blender/blob/master/modularLanguages/shared/src/main/scala/miksilo/modularLanguages/deltas/expression/StringLiteralDelta.scala | Github Open Source | Open Source | MIT | 2,021 | Blender | keyboardDrummer | Scala | Code | 151 | 568 | package miksilo.modularLanguages.deltas.expression
import miksilo.languageServer.core.language.{Compilation, Language}
import miksilo.languageServer.core.smarts.ConstraintBuilder
import miksilo.languageServer.core.smarts.scopes.objects.Scope
import miksilo.languageServer.core.smarts.types.objects.{PrimitiveType, Type}... | 7,662 |
https://github.com/HZZformGD/stencil/blob/master/test/end-to-end/src/global.ts | Github Open Source | Open Source | MIT | null | stencil | HZZformGD | TypeScript | Code | 18 | 47 | import { setMode } from 'stencil-hotfix';
export default function () {
setMode((elm) => {
return elm.getAttribute('mode');
});
}
| 29,066 |
https://github.com/budimanjojo/dotfiles/blob/master/nixos/modules/windowmanager/add-on/py3status/default.nix | Github Open Source | Open Source | Unlicense | 2,023 | dotfiles | budimanjojo | null | Spoken | 35 | 128 | { pkgs, lib, config, ... }:
with lib;
let
cfg = config.modules.windowmanager.add-on.py3status;
inherit (config.lib.formats.rasi) mkLiteral;
in {
options.modules.windowmanager.add-on.py3status = { enable = mkEnableOption "py3status"; };
config = mkIf cfg.enable {
home.manager.xdg.configFile."py3status/confi... | 23,224 |
https://github.com/igor-sfdc/aura/blob/master/aura-components/src/main/java/org/auraframework/docs/DocumentationDefModel.java | Github Open Source | Open Source | Apache-2.0 | 2,015 | aura | igor-sfdc | Java | Code | 166 | 454 | /*
* Copyright (C) 2013 salesforce.com, inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable ... | 25,144 |
https://github.com/barmatz/node-app-testing-helpers-for-sequelize/blob/master/test/helpers/path.js | Github Open Source | Open Source | MIT | null | node-app-testing-helpers-for-sequelize | barmatz | JavaScript | Code | 37 | 115 | 'use strict';
var path = require('path'),
args = require('yargs').argv;
module.exports = {
getMigrationsPath: function () {
var result = args.migrationsPath || path.resolve(process.cwd(), 'migrations');
if (path.normalize(result) !== path.resolve(result)) {
result = path.resolve(process.cwd(), re... | 31,708 |
https://github.com/vurmux/gorynych/blob/master/gorynych/core/relation.py | Github Open Source | Open Source | Apache-2.0 | null | gorynych | vurmux | Python | Code | 31 | 101 | import uuid
class Relation(object):
"""Basic class for all relation objects"""
def __init__(self, from_type, to_type, edge_type, directionality):
self.from_type = from_type
self.to_type = to_type
self.edge_type = edge_type
self.directionality = directionality
self.uuid ... | 19,843 |
https://github.com/aliostad/deep-learning-lang-detection/blob/master/data/test/php/f2965d823d05561d3dae8a54dd73b56ffbc2291fview.php | Github Open Source | Open Source | MIT | 2,021 | deep-learning-lang-detection | aliostad | PHP | Code | 199 | 1,404 | <?php
use yii\helpers\Html;
use yii\widgets\DetailView;
/* @var $this yii\web\View */
/* @var $model app\models\ResrveCustomer */
$this->title = $model->customer_no;
$this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'Resrve Customers'), 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
?>
... | 11,453 |
https://github.com/PhilippeDeSousa/EpitechBundle/blob/master/Tek1/PSU/42sh/src/exit.c | Github Open Source | Open Source | MIT | 2,019 | EpitechBundle | PhilippeDeSousa | C | Code | 205 | 676 | /*
** exit.c for in /home/WASSEX/Semestre1/PSU/PSU_2016_minishell1
**
** Made by Wassim Alkayar
** Login <WASSEX@epitech.net>
**
** Started on Tue Jun 13 21:07:40 2017 Wassim Alkayar
** Last update Mon Sep 4 19:07:55 2017 Wassim Alkayar
*/
#include "mysh.h"
int is_exit(t_dlist buffer_list, int *retvalue)
{
*... | 14,088 |
https://github.com/iamr30/SAG/blob/master/resources/js/components/Levels/DetailsComponent.vue | Github Open Source | Open Source | MIT | null | SAG | iamr30 | Vue | Code | 155 | 795 | <template>
<div class="col-sm-12 col-md-8 col-lg-5">
<h2 class="text-dark mb-4">Niveles</h2>
<div id="" class="card shadow">
<div class="col-12 m-0 p-0">
<div class="card-header py-3">
<h5 class="text-primary font-weight-bold">Detalles</h5>
... | 26,358 |
https://github.com/tha022/netsweeper-ui/blob/master/src/app/pages/manage-merchant/manage-merchant.module.ts | Github Open Source | Open Source | MIT | null | netsweeper-ui | tha022 | TypeScript | Code | 89 | 290 |
import { NgModule, ModuleWithProviders } from '@angular/core';
import { CommonModule } from '@angular/common';
import { ReactiveFormsModule } from '@angular/forms';
import { routing } from './manage-merchant.routing';
import { DialogModule } from '../shared/dialog/dialog.module';
import { MerchantProfileComponent }... | 3,139 |
https://github.com/navikt/su-se-bakover/blob/master/database/src/main/resources/db/migration/V19__behandling_0_1_utbetaling.sql | Github Open Source | Open Source | MIT | null | su-se-bakover | navikt | SQL | Code | 42 | 93 | alter table behandling
add column if not exists
utbetalingId varchar(30) references utbetaling(id) on delete set null;
update behandling set
utbetalingId = utbetaling.id
from (select id, behandlingId from utbetaling) as utbetaling
where behandling.id = utbetaling.behandlingId;
alter table utbetaling drop... | 24,626 |
https://github.com/uwx/JFunktion/blob/master/src/main/java/fallk/tuples/values/IValue40.java | Github Open Source | Open Source | MIT | 2,020 | JFunktion | uwx | Java | Code | 51 | 109 |
package fallk.tuples.values;
/**
* A 40-nth value.
*/
public interface IValue40<V> {
/**
* Gets the value at index 40.
* @return the value at index 40.
*/
public V getValue40();
/**
* Gets the value at index 40.
* @return the value at index 40.
*/
public V get40();
}
... | 43,046 |
https://github.com/MichaelProkofyev/HI-Hat_LaserInstallation/blob/master/Assets/Plugins/UniOSC/Scripts/UniOSCAbstractItem.cs | Github Open Source | Open Source | MIT | null | HI-Hat_LaserInstallation | MichaelProkofyev | C# | Code | 58 | 139 | /*
* UniOSC
* Copyright © 2014-2015 Stefan Schlupek
* All rights reserved
* info@monoflow.org
*/
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using System;
namespace UniOSC{
/// <summary>
/// Uni OSC abstract item is the base class for Mapping/Session Items.
/// </summary>
[Seri... | 11,450 |
https://github.com/vinszent/meson/blob/master/test cases/common/93 private include/stlib/compiler.py | Github Open Source | Open Source | Apache-2.0 | null | meson | vinszent | Python | Code | 63 | 219 | #!/usr/bin/env python3
import sys, os
assert(len(sys.argv) == 3)
h_templ = '''#pragma once
unsigned int %s();
'''
c_templ = '''#include"%s.h"
unsigned int %s() {
return 0;
}
'''
ifile = sys.argv[1]
outdir = sys.argv[2]
base = os.path.splitext(os.path.split(ifile)[-1])[0]
cfile = os.path.join(outdir, base + '.... | 38,908 |
https://github.com/TrustedBSD/sebsd/blob/master/gnu/usr.bin/gdb/arch/ia64/config.h | Github Open Source | Open Source | Naumen, Condor-1.1, MS-PL | 2,019 | sebsd | TrustedBSD | C | Code | 2,467 | 5,711 | /* $FreeBSD: src/gnu/usr.bin/gdb/arch/ia64/config.h,v 1.3 2004/12/05 06:59:01 marcel Exp $ */
/* config.h. Generated automatically by configure. */
/* config.in. Generated automatically from configure.in by autoheader. */
/* Define if on AIX 3.
System headers sometimes define this.
We just want to avoid a r... | 17,739 |
https://github.com/LuthfiAliQodri/Laravel_Personal/blob/master/app/Http/Controllers/BlogController.php | Github Open Source | Open Source | MIT | 2,019 | Laravel_Personal | LuthfiAliQodri | PHP | Code | 419 | 1,665 | <?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Blog;
use App\Komen;
use App\Categorie;
use App\Tags;
use DataTables;
class BlogController extends Controller
{
//untuk hak akses buat login dahulu
// public function __construct() {
// $this->middleware('auth')->except('inde... | 9,217 |
https://github.com/aswinrajeev/blogly/blob/master/server/app/services/mediamanger.service.js | Github Open Source | Open Source | BSD-3-Clause | 2,022 | blogly | aswinrajeev | JavaScript | Code | 696 | 2,017 | const { FileSystemAdapter } = require('../adapters/filesystem.adapter');
const { DriveAPIAdapter } = require('../adapters/driveapi.adapter');
const { GoogleAPIAdapter } = require('../adapters/googleapi.adapter');
const { FileSystemConstants, Permissions } = require('../../configs/conf');
const { MessageManagerService }... | 39,191 |
https://github.com/NightOfTwelve/iOS-Cracked-Apps/blob/master/DumpedClasses/Taobao/TBShopTabStyleSuite.h | Github Open Source | Open Source | MIT | 2,018 | iOS-Cracked-Apps | NightOfTwelve | Objective-C | Code | 79 | 315 | //
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "NSObject.h"
@class UIColor;
@interface TBShopTabStyleSuite : NSObject
{
UIColor *_normalBgColor;
UIColor *_selectedBgColor;
UIColor *_normalTitleColor;
UI... | 1,145 |
https://github.com/Crozarts/burger/blob/master/public/assets/js/index.js | Github Open Source | Open Source | Apache-2.0 | 2,021 | burger | Crozarts | JavaScript | Code | 214 | 754 | // Make sure we wait to attach our handlers until the DOM is fully loaded.
$(function() {
$.ajax("/burgers", {
type: "GET"
}).then(function(data) {
var burgersOrdered = $("#burgersOrdered");
var burgersDevoured = $("#burgersDevoured");
var burgers = data.burgers;
var len = burgers.length;
... | 121 |
https://github.com/zhangzlyuyx/jeecms81/blob/master/src/src/main/java/com/jeecms/cms/manager/assist/impl/CmsMysqlDataBackMngImpl.java | Github Open Source | Open Source | Apache-2.0 | 2,020 | jeecms81 | zhangzlyuyx | Java | Code | 122 | 564 | package com.jeecms.cms.manager.assist.impl;
import java.sql.SQLException;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import com.jeecms.cms.dao.assist.CmsMysqlData... | 39,424 |
https://github.com/QPC-database/FluidStorybook/blob/master/.storybook/main.js | Github Open Source | Open Source | MIT, LicenseRef-scancode-generic-cla | 2,021 | FluidStorybook | QPC-database | JavaScript | Code | 88 | 284 | /*!
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/
const HookShellScriptPlugin = require('hook-shell-script-webpack-plugin');
module.exports = {
stories: ['../src/**/*.stories.*'],
addons: [
'@storybook/preset-create-react-app',
'@storybook/addon-docs',... | 23,353 |
https://github.com/vasind/ember-collection/blob/master/addon/components/ember-native-scrollable.js | Github Open Source | Open Source | MIT | null | ember-collection | vasind | JavaScript | Code | 347 | 1,163 | import { join } from '@ember/runloop';
import Component from '@ember/component';
import { translate } from 'ember-collection/utils/translate';
import { styleProperty } from 'ember-collection/utils/style-properties';
const overflowScrollingProp = styleProperty('overflowScrolling');
export default Component.extend({
... | 51,386 |
https://github.com/lvm/m5k/blob/master/m5k.py | Github Open Source | Open Source | BSD-3-Clause, LicenseRef-scancode-unknown-license-reference | 2,014 | m5k | lvm | Python | Code | 1,861 | 6,687 | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
m5k.py - thingy to play with musik.
License: BSD 3-Clause
Copyright (c) 2014, Mauro L; <mauro@sdf.org>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
... | 1,416 |
https://github.com/ebrarbilgili/prise-up/blob/master/lib/features/HomeView/Student/ProfilePageView/CreateProjectView/view/create_project_view.dart | Github Open Source | Open Source | MIT | null | prise-up | ebrarbilgili | Dart | Code | 156 | 770 | import 'package:dio/dio.dart';
import 'package:flutter/material.dart';
import 'package:kartal/kartal.dart';
import '../../../../../../core/constants/app.dart';
import '../../../../../../core/constants/widget/TextField/text_field_decoration.dart';
import '../../../../../../core/extensions/locale_extensions.dart';
impor... | 51,376 |
https://github.com/ScalablyTyped/Distribution/blob/master/b/babylonjs/src/main/scala/typings/babylonjs/BABYLON/BaseCameraPointersInput.scala | Github Open Source | Open Source | MIT | 2,023 | Distribution | ScalablyTyped | Scala | Code | 420 | 1,032 | package typings.babylonjs.BABYLON
import typings.std.PointerEvent
import org.scalablytyped.runtime.StObject
import scala.scalajs.js
import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess}
@js.native
trait BaseCameraPointersInput
extends StObject
with ICameraInput[Camera]... | 8,565 |
https://github.com/asen477/trunksit.com/blob/master/bbs/src/service/attention/dao/PwAttentionRecommendCronDao.php | Github Open Source | Open Source | Apache-2.0 | null | trunksit.com | asen477 | PHP | Code | 117 | 450 | <?php
/**
* 可能认识的人计划任务DAO
*
* @author jinlong.panjl <jinlong.panjl@aliyun-inc.com>
* @copyright ©2003-2103 phpwind.com
* @license http://www.phpwind.com
* @version $Id$
* @package wind
*/
class PwAttentionRecommendCronDao extends PwBaseDao {
protected $_pk = 'uid';
protected $_table = 'attention_recommend_c... | 16,993 |
https://github.com/QuocTuanIT/MovieLivewire/blob/master/app/Http/Livewire/CastIndex.php | Github Open Source | Open Source | MIT | 2,022 | MovieLivewire | QuocTuanIT | PHP | Code | 342 | 1,235 | <?php
namespace App\Http\Livewire;
use App\Models\Cast;
use Illuminate\Support\Facades\Http;
use Livewire\Component;
use Livewire\WithPagination;
use Illuminate\Support\Str;
class CastIndex extends Component
{
use WithPagination;
protected $key = 'f7c944d484153416dadeaf04b9065872';
public $castTMDBId;... | 5,360 |
https://github.com/RJ3/drill/blob/master/exec/java-exec/src/main/java/org/apache/drill/exec/store/easy/json/loader/JsonLoaderImpl.java | Github Open Source | Open Source | Apache-2.0 | 2,020 | drill | RJ3 | Java | Code | 1,711 | 3,717 | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | 44,311 |
https://github.com/stajichlab/Afumigatus_pangenome/blob/master/Pangenome_analysis/Subtelo_analysis/reports/Aspergillus_fumigatus_AFIS1435_CDC_6.random_100k.tsv | Github Open Source | Open Source | MIT | 2,023 | Afumigatus_pangenome | stajichlab | TSV | Code | 4,008 | 19,882 | STRAIN TOTAL CORE ACCESSORY SINGLETON CHROM START END
Aspergillus_fumigatus_AFIS1435_CDC_6 41 33 8 0 scaffold_1 165166 265166
Aspergillus_fumigatus_AFIS1435_CDC_6 35 33 2 0 scaffold_1 3433786 3533786
Aspergillus_fumigatus_AFIS1435_CDC_6 15 13 2 0 scaffold_5 1240523 1340523
Aspergillus_fumigatus_AFIS1435_CDC_6 41 39 2 0... | 48,845 |
https://github.com/xrpdevs/grocksdb/blob/master/backup.go | Github Open Source | Open Source | MIT | null | grocksdb | xrpdevs | Go | Code | 518 | 1,752 | package grocksdb
// #include <stdlib.h>
// #include "c.h"
import "C"
import (
"unsafe"
)
// BackupInfo represents the information about a backup.
type BackupInfo struct {
ID uint32
Timestamp int64
Size uint64
NumFiles uint32
}
// BackupEngine is a reusable handle to a RocksDB Backup, created by
// ... | 21,292 |
https://github.com/saad4software/MMSS-Backend/blob/master/backend/serializers.py | Github Open Source | Open Source | Apache-2.0 | null | MMSS-Backend | saad4software | Python | Code | 437 | 1,628 | from django.contrib.auth import get_user_model
from rest_framework import serializers
from rest_framework.fields import FileField, ListField
from rest_framework_simplejwt.serializers import TokenObtainPairSerializer
from .models import *
from django.db.models import Sum
class UserSerializer(serializers.ModelSerialize... | 32,927 |
https://github.com/jzelinskie/stringz/blob/master/stringz_test.go | Github Open Source | Open Source | Apache-2.0 | null | stringz | jzelinskie | Go | Code | 1,118 | 3,312 | // Copyright 2019 Jimmy Zelinskie
//
// 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... | 19,445 |
https://github.com/benouilleLaFripouille/weather/blob/master/src/index.js | Github Open Source | Open Source | Apache-2.0 | null | weather | benouilleLaFripouille | JavaScript | Code | 45 | 125 | import { Router } from "./shared/router";
import { NavComponent } from "./app/nav/nav.component";
import { CityChoiceComponent } from "./app/city-choice/city-choice.component";
import { WeatherComponent } from "./app/weather/weather.component";
// Router
// .add(
// "home",
// "/home",
// ... | 15,423 |
https://github.com/retokromer/MediaArea-Website/blob/master/src/MediaConchOnlineBundle/Lib/MediaConch/PolicyMoveResponse.php | Github Open Source | Open Source | MIT | 2,019 | MediaArea-Website | retokromer | PHP | Code | 9 | 36 | <?php
namespace MediaConchOnlineBundle\Lib\MediaConch;
class PolicyMoveResponse extends MediaConchServerIdResponse
{
}
| 4,971 |
https://github.com/tonistiigi/notary/blob/master/trustmanager/x509utils_test.go | Github Open Source | Open Source | Apache-2.0 | null | notary | tonistiigi | Go | Code | 447 | 1,696 | package trustmanager
import (
"crypto/rand"
"crypto/x509"
"strings"
"testing"
"time"
"github.com/stretchr/testify/assert"
)
func TestCertsToKeys(t *testing.T) {
// Get root certificate
rootCA, err := LoadCertFromFile("../fixtures/root-ca.crt")
assert.NoError(t, err)
// Get intermediate certificate
interm... | 13,189 |
https://github.com/Curly060/jetty.project/blob/master/tests/test-sessions/test-infinispan-sessions/src/test/java/org/eclipse/jetty/server/session/InvalidationSessionTest.java | Github Open Source | Open Source | Apache-2.0 | null | jetty.project | Curly060 | Java | Code | 278 | 678 | //
// ========================================================================
// Copyright (c) 1995-2015 Mort Bay Consulting Pty. Ltd.
// ------------------------------------------------------------------------
// All rights reserved. This program and the accompanying materials
// are made available under the ter... | 16,024 |
https://github.com/yeseniamolinab/sample-payment-frame/blob/master/Procfile | Github Open Source | Open Source | MIT | 2,020 | sample-payment-frame | yeseniamolinab | null | Spoken | 2 | 11 | web: bin/start_nginx
| 46,371 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.