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/zelenove/FijiWebsite/blob/master/config/routes.rb
Github Open Source
Open Source
Ruby, Beerware, MIT
null
FijiWebsite
zelenove
Ruby
Code
34
131
Rails.application.routes.draw do get 'users/new' root 'static_pages#home' get '/alumni' => 'static_pages#alumni' get '/brothers' => 'static_pages#brothers' get '/chapter'=> 'static_pages#chapter' get '/signup', to: 'users#new' # For details on the DSL available within this file, see http://guides.r...
25,647
https://github.com/dotnet-bot/core-setup/blob/master/build_projects/dotnet-host-build/NugetUtil.cs
Github Open Source
Open Source
MIT
2,016
core-setup
dotnet-bot
C#
Code
80
269
using System.IO; using System.Reflection; using Microsoft.DotNet.Cli.Build.Framework; using NugetProgram = NuGet.CommandLine.XPlat.Program; namespace Microsoft.DotNet.Cli.Build { public static class NuGetUtil { public static void PushPackages(string packagesPath, string destinationUrl, string apiKey) ...
47,163
https://github.com/TanayShukla/Random/blob/master/VirusPack/Lithium876/ConTroll_Remote_Access_Trojan/pyinstaller/buildtests/runtests.py
Github Open Source
Open Source
MIT
2,021
Random
TanayShukla
Python
Code
2,099
6,745
#!/usr/bin/env python # # Copyright (C) 2011-2012 Martin Zibricky # Copyright (C) 2011-2012 Hartmut Goebel # Copyright (C) 2005-2011 Giovanni Bajo # Based on previous work under copyright (c) 2001, 2002 McMillan Enterprises, Inc. # # This program is free software; you can redistribute it and/or # modify it under the te...
17,802
https://github.com/erkjbro/erkjbro-tech/blob/master/src/portfolio/components/index.ts
Github Open Source
Open Source
MIT
null
erkjbro-tech
erkjbro
TypeScript
Code
8
14
export { default as ImagePreview } from './ImagePreview';
12,267
https://github.com/ZhiliangWu/etips/blob/master/utils.py
Github Open Source
Open Source
MIT
2,022
etips
ZhiliangWu
Python
Code
500
1,566
#!/usr/bin/env python # -*- coding: utf-8 -*- # # etips # # Copyright (c) Siemens AG, 2020 # Authors: # Zhiliang Wu <zhiliang.wu@siemens.com> # License-Identifier: MIT import random import gzip import pickle from pathlib import Path import numpy as np import tensorflow as tf class InvokeTimes(object): """a help...
8,070
https://github.com/AdrianaDinca/training/blob/master/tdd/src/test/java/caplin/tdd/LibraryTest.java
Github Open Source
Open Source
MIT
null
training
AdrianaDinca
Java
Code
72
291
package caplin.tdd; import org.junit.Assert; import org.junit.Test; import org.junit.runner.RunWith; import org.mockito.Mock; import org.mockito.Mockito; import org.mockito.runners.MockitoJUnitRunner; /** * Created by nicolaes on 08/01/2016. */ @RunWith(MockitoJUnitRunner.class) public class LibraryTest { @Mock ...
46,640
https://github.com/clareliguori/aws-cdk/blob/master/packages/@aws-cdk/aws-appsync/test/integ.graphql-schema.ts
Github Open Source
Open Source
Apache-2.0
2,022
aws-cdk
clareliguori
TypeScript
Code
383
1,435
import * as db from '@aws-cdk/aws-dynamodb'; import * as cdk from '@aws-cdk/core'; import * as appsync from '../lib'; import * as ObjectType from './object-type-definitions'; import * as ScalarType from './scalar-type-defintions'; /* * Creates an Appsync GraphQL API and schema in a code-first approach. * * Stack ve...
7,838
https://github.com/AAU-projects/P4-ArduEasy/blob/master/ArduEasyMaven/src/SymbolTable/SymbolTable.java
Github Open Source
Open Source
MIT
2,020
P4-ArduEasy
AAU-projects
Java
Code
629
1,607
package SymbolTable; import java.util.HashMap; import java.util.Map; import AST.Nodes.Node; import ErrorHandler.*; import ErrorHandler.Errors.SemanticError; import SymbolTable.Variables.*; public class SymbolTable { public Map<String, Variable> Variables = new HashMap<String, Variable>(); public SymbolTable ...
30,643
https://github.com/chumano/nextone/blob/master/src/web/src/components/modal/ModalInfo.tsx
Github Open Source
Open Source
Apache-2.0
null
nextone
chumano
TypeScript
Code
176
630
import { useEffect, useState } from "react"; import { Modal, ModalBody, Spinner } from "reactstrap"; import '../../styles/components/modal/modal.scss'; interface IProp { isOpen: boolean, title: string, content: string, className?: string, loading?: boolean type: 'yes-no' | 'ok', yesNoOptio...
36,984
https://github.com/MikyGus/DesignPatterns/blob/master/StarbuzzCoffee/ThirdDesignDecorator/Soy.cs
Github Open Source
Open Source
MIT
null
DesignPatterns
MikyGus
C#
Code
75
213
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace StarbuzzCoffee.ThirdDesignDecorator { public class Soy : CondimentDecorator { readonly Beverage beverage; public Soy(Beverage beverage) { this.bever...
11,496
https://github.com/TyagiDeamon/next-ecommerce/blob/master/components/products-content/list/index.js
Github Open Source
Open Source
MIT
2,022
next-ecommerce
TyagiDeamon
JavaScript
Code
228
729
import { useState, useEffect } from "react"; import useSwr from "swr"; import ProductItem from "./../../product-item"; import ProductsLoading from "./loading"; import { useRouter } from "next/router"; const ProductsContent = () => { const router = useRouter(); const fetcher = (url) => fetch(url).then((res) => res.js...
24,610
https://github.com/waknauss/typed/blob/master/tests/Extra/Foo.php
Github Open Source
Open Source
MIT
2,022
typed
waknauss
PHP
Code
12
38
<?php namespace Spatie\Typed\Tests\Extra; class Foo { public function foo() { } }
51,474
https://github.com/osadio/mercury_mso_framework/blob/master/mercury/fog_model/edge_fed/edc/rack/pu/pu_pwr/__init__.py
Github Open Source
Open Source
Apache-2.0
2,020
mercury_mso_framework
osadio
Python
Code
5
19
from .pu_pwr import ProcessingUnitPowerModel, ProcessingUnitPowerModelFactory
54,046
https://github.com/raghav-deepsource/doov/blob/master/core/src/main/java/io/doov/core/dsl/meta/ast/FoldVisitor.java
Github Open Source
Open Source
Apache-2.0
2,020
doov
raghav-deepsource
Java
Code
68
223
/* * Copyright (C) by Courtanet, All Rights Reserved. */ package io.doov.core.dsl.meta.ast; import java.util.function.BiFunction; import io.doov.core.dsl.meta.Metadata; import io.doov.core.dsl.meta.MetadataVisitor; public class FoldVisitor<T> implements MetadataVisitor { private final BiFunction<T, Metadata, ...
13,808
https://github.com/p69/flip_flop/blob/master/examples/github_client/lib/trending/trending_state.dart
Github Open Source
Open Source
MIT
2,022
flip_flop
p69
Dart
Code
162
591
part of trending; /// **** Init **** /// Upd<TrendingModel, TrendingMsg> _initModel() => Upd(TrendingModel.init(), effects: Cmd.batch( [Cmd.ofMsg(LoadLanguagesMap()), Cmd.ofMsg(LoadTrendingMsg())])); /// **** Update **** /// Upd<TrendingModel, TrendingMsg> _update( TrendingMsg msg, TrendingModel model...
20,203
https://github.com/dragancajic/JSON-Processing-with-Java-EE/blob/master/src/main/java/com/readlearncode/streaming/lesson1/StreamingExample2.java
Github Open Source
Open Source
MIT
2,017
JSON-Processing-with-Java-EE
dragancajic
Java
Code
85
290
package com.readlearncode.streaming.lesson1; import javax.json.Json; import javax.json.stream.JsonParser; import java.io.StringReader; import static javax.json.stream.JsonParser.Event.VALUE_NUMBER; import static javax.json.stream.JsonParser.Event.VALUE_STRING; /** * Source code github.com/readlearncode * * @autho...
50,415
https://github.com/itk-dev/devops_itksites/blob/master/src/Entity/Site.php
Github Open Source
Open Source
MIT
null
devops_itksites
itk-dev
PHP
Code
397
1,222
<?php namespace App\Entity; use App\Repository\SiteRepository; use Doctrine\Common\Collections\ArrayCollection; use Doctrine\Common\Collections\Collection; use Doctrine\ORM\Mapping as ORM; use Symfony\Component\Validator\Constraints as Assert; #[ORM\Entity(repositoryClass: SiteRepository::class)] #[ORM\UniqueConstra...
47,268
https://github.com/SudoDotDog/BWNL-Button/blob/master/src/banner.tsx
Github Open Source
Open Source
MIT
null
BWNL-Button
SudoDotDog
TypeScript
Code
93
259
/** * @author WMXPY * @namespace Button * @description Banner */ import { mergeClasses } from "@sudoo/jss"; import { Classes } from "jss"; import * as React from "react"; import { BannerStyle } from "./style/banner"; export type BannerProps = { readonly className?: string; readonly width?: string; re...
8,572
https://github.com/spincast/spincast-framework/blob/master/spincast-testing/spincast-testing-default/src/main/java/org/spincast/testing/defaults/NoAppTestingBase.java
Github Open Source
Open Source
Apache-2.0
2,021
spincast-framework
spincast
Java
Code
43
225
package org.spincast.testing.defaults; import org.spincast.core.exchange.DefaultRequestContext; import org.spincast.core.exchange.DefaultRequestContextDefault; import org.spincast.core.exchange.RequestContext; import org.spincast.core.websocket.DefaultWebsocketContext; import org.spincast.core.websocket.DefaultWebsock...
23,356
https://github.com/Sercammus/TxsLpeOps/blob/master/sys/solve/src/SMT.hs
Github Open Source
Open Source
BSD-3-Clause
2,021
TxsLpeOps
Sercammus
Haskell
Code
85
169
{- TorXakis - Model Based Testing Copyright (c) 2015-2017 TNO and Radboud University See LICENSE at root directory of this repository. -} -- ----------------------------------------------------------------------------------------- -- module SMT -- -----------------------------------------------------------------------...
34,710
https://github.com/PadmapriyaNarayanasamy/CAMS/blob/master/src/main/java/com/caps/dao/CourseDao.java
Github Open Source
Open Source
MIT
2,019
CAMS
PadmapriyaNarayanasamy
Java
Code
27
123
package com.caps.dao; import java.util.List; import org.springframework.data.jpa.repository.JpaRepository; import com.caps.entity.Account; import com.caps.entity.Course; public interface CourseDao extends JpaRepository<Course, Integer> { //List<Course> findByCourseid(int courseid); Course findByCourseid(int co...
36,992
https://github.com/amacal/ine/blob/master/src/ine/Domain/Scheduler.cs
Github Open Source
Open Source
BSD-3-Clause
2,015
ine
amacal
C#
Code
54
174
using System.Collections.Generic; namespace ine.Domain { public class Scheduler { private readonly object synchronizer; private readonly HashSet<string> locks; public Scheduler() { this.synchronizer = new object(); this.locks = new HashSet<string>(); ...
4,382
https://github.com/meganvbarton/extra-life-stream-overlay/blob/master/client/donation-notification.js
Github Open Source
Open Source
MIT
2,018
extra-life-stream-overlay
meganvbarton
JavaScript
Code
157
482
import Vue from 'vue'; import Cannon from './confetti'; const notification = () => { const cannon = new Cannon('confetti'); return new Vue({ el:'#donation_notification', data:{ animating: false, showNotification: false, from: 'No one', amount: 0, displayName: 'Ya Boi', m...
47,346
https://github.com/bthornton191/thornpy/blob/master/thornpy/geometry.py
Github Open Source
Open Source
MIT
2,022
thornpy
bthornton191
Python
Code
2,446
9,082
import os from pickle import load, dump import dill import math import sympy as sp import numpy as np from numpy.linalg import norm from scipy import optimize ARCLINE_FILE = os.path.join(os.path.dirname(__file__), 'arcline.pkl') ARCARC_FILE = os.path.join(os.path.dirname(__file__), 'arcarc.pkl') ARCARC2_FILE = os.pat...
48,206
https://github.com/blakeembrey/node-language-command/blob/master/test/fixtures/command-line-arguments/Common_Lisp.lisp
Github Open Source
Open Source
MIT
2,021
node-language-command
blakeembrey
Common Lisp
Code
4
12
(princ (elt *args* 0))
1,649
https://github.com/michto01/ardp/blob/master/doc/man/man3/ARDP_COLOR_BOLD_CYAN.3
Github Open Source
Open Source
MIT
2,020
ardp
michto01
null
Spoken
2
12
.so man3/color.h.3
56,460
https://github.com/bigstar18/prjs/blob/master/prj/otc/web-specialmember/src/main/webapp/account/customer/customerAdd.jsp
Github Open Source
Open Source
Apache-2.0
2,016
prjs
bigstar18
null
Spoken
123
883
<%@ page contentType="text/html;charset=GBK"%> <%@ include file="/public/session.jsp"%> <html> <head> <title></title> </head> <body leftmargin="0" topmargin="0" style="overflow-y:hidden"> <form action="${basePath}/account/customer/add.action" name="frm" method="post" targetType="hidden"> <div class="div_scro">...
8,659
https://github.com/j-zhen/UXAspects/blob/master/docs/app/pages/components/components-sections/flippable-cards/flippable-cards-ng1/wrapper/flippable-cards-wrapper.directive.ts
Github Open Source
Open Source
Apache-2.0
null
UXAspects
j-zhen
TypeScript
Code
168
735
angular.module('app').directive('uxdFlippableCardsWrapper', () => { return { restrict: 'E', template: require('./flippable-cards-wrapper.directive.html'), controller: 'FlippableCardCtrl as vm' }; }); angular.module('app').controller('FlippableCardCtrl', FlippableCardCtrl); FlippableCa...
21,079
https://github.com/GeekyTheory/GeekyTool/blob/master/GeekyTool.Core/Commands/DelegateCommand.cs
Github Open Source
Open Source
Apache-2.0
2,016
GeekyTool
GeekyTheory
C#
Code
509
1,090
using System; using System.Windows.Input; namespace GeekyTool.Core.Commands { /// <summary> /// A command whose sole purpose is to relay its functionality to other /// objects by invoking delegates. The default return value for the CanExecute /// method is 'true'. This class does not allow you to acc...
10,041
https://github.com/ayyaruq/zanarkand/blob/master/reassembler.go
Github Open Source
Open Source
MIT
2,022
zanarkand
ayyaruq
Go
Code
274
737
package zanarkand import ( "bufio" "encoding/binary" "fmt" "github.com/google/gopacket" "github.com/google/gopacket/tcpassembly" "github.com/google/gopacket/tcpassembly/tcpreader" ) // reassembledPacket is a frame payload with TCP metadata type reassembledPacket struct { Body []byte Flow gopacket.Flow } // ...
51,371
https://github.com/imasahiro/wasmbox/blob/master/test/wasm/lt-u32.c
Github Open Source
Open Source
Apache-2.0
2,021
wasmbox
imasahiro
C
Code
9
19
unsigned _start(unsigned v) { return v < 10; }
29,600
https://github.com/LaudateCorpus1/RosettaCodeData/blob/master/Task/Scope-Function-names-and-labels/Scala/scope-function-names-and-labels.scala
Github Open Source
Open Source
Info-ZIP
2,021
RosettaCodeData
LaudateCorpus1
Scala
Code
215
407
object ScopeFunction extends App { val c = new C() val d = new D() val n = 1 def a() = println("calling a") trait E { def m() = println("calling m") } a() // OK as a is internal B.f() // OK as f is public class C { // class level function visible everywhere, by default def g() = printl...
6,506
https://github.com/r7kamura/activerecord-has_count/blob/master/lib/active_record/associations/preloader/has_count.rb
Github Open Source
Open Source
MIT
2,021
activerecord-has_count
r7kamura
Ruby
Code
87
362
module ActiveRecord module Associations class Preloader class HasCount < SingularAssociation def association_key_name reflection.foreign_key end def owner_key_name reflection.active_record_primary_key end private def preload(preloader) ...
1,611
https://github.com/ranton256/cortex/blob/master/vendor/github.com/weaveworks/common/logging/noop.go
Github Open Source
Open Source
Apache-2.0
2,022
cortex
ranton256
Go
Code
82
213
package logging // Noop logger. func Noop() Interface { return noop{} } type noop struct{} func (noop) Debugf(format string, args ...interface{}) {} func (noop) Debugln(args ...interface{}) {} func (noop) Infof(format string, args ...interface{}) {} func (noop) Infoln(args ...interface{}) ...
26,968
https://github.com/valworbli/portalBackEnd/blob/master/src/v3/models/schemas/onfidoChecks.js
Github Open Source
Open Source
MIT
2,019
portalBackEnd
valworbli
JavaScript
Code
230
800
const mongoose = require('mongoose'); const Reports = new mongoose.Schema({ onfido_id: {type: String, required: true}, created_at: {type: Date, required: false}, href: {type: String, required: false}, status: {type: String, required: false}, result: {type: String, required: false}, sub_result: {type: Strin...
29,700
https://github.com/inklabs/rangedb/blob/master/pkg/structparser/struct_names.go
Github Open Source
Open Source
BSD-3-Clause
2,022
rangedb
inklabs
Go
Code
90
278
package structparser import ( "fmt" "go/ast" "go/parser" "go/token" "io" ) // GetStructNames loads struct names from an io.Reader. func GetStructNames(file io.Reader) ([]string, error) { node, err := parser.ParseFile(token.NewFileSet(), "", file, parser.ParseComments) if err != nil { return nil, fmt.Errorf("...
35,352
https://github.com/ikappas/vscode-phpcs/blob/master/phpcs-server/src/linter.ts
Github Open Source
Open Source
MIT
2,018
vscode-phpcs
ikappas
TypeScript
Code
1,070
3,324
/* -------------------------------------------------------------------------------------------- * Copyright (c) Ioannis Kappas. All rights reserved. * Licensed under the MIT License. See License.md in the project root for license information. * ------------------------------------------------------------------------...
40,731
https://github.com/Tapchicoma/ktlint/blob/master/ktlint/src/main/kotlin/com/pinterest/ktlint/internal/RuleSetsLoader.kt
Github Open Source
Open Source
MIT
2,021
ktlint
Tapchicoma
Kotlin
Code
259
708
package com.pinterest.ktlint.internal import com.pinterest.ktlint.core.RuleSetProvider import java.net.URLClassLoader import java.util.ServiceLoader /** * Load given list of paths to rulesets jars into map of ruleset providers. * * @return map of ruleset ids to ruleset providers */ internal fun JarFiles.loadRules...
25,338
https://github.com/sirimullalab/LigandNet/blob/master/ddt/mayachemtools/bin/ExtractFromPDBFiles.pl
Github Open Source
Open Source
LGPL-3.0-only, LGPL-2.1-or-later, MIT
2,021
LigandNet
sirimullalab
Perl
Code
7,233
23,675
#!/usr/bin/perl -w # # File: ExtractFromPDBFiles.pl # Author: Manish Sud <msud@san.rr.com> # # Copyright (C) 2018 Manish Sud. All rights reserved. # # This file is part of MayaChemTools. # # MayaChemTools is free software; you can redistribute it and/or modify it under # the terms of the GNU Lesser General Public Licen...
49,869
https://github.com/iadenisov/oberonjs/blob/master/test/expected/nil.js
Github Open Source
Open Source
MIT
2,017
oberonjs
iadenisov
JavaScript
Code
16
30
var m = function (){ function anonymous$1(){ } var p = null; p = null; }();
12,937
https://github.com/kunalyusuru/Financepeer-Machine-Test/blob/master/Banking_System/index.php
Github Open Source
Open Source
Apache-2.0
2,021
Financepeer-Machine-Test
kunalyusuru
PHP
Code
816
4,134
<?php require_once "../pdo.php"; session_start(); ?> <html> <head> <title> Welcome </title> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css"> <link rel="stylesheet" href="https://www.w3schools.com/lib/w3-colors-flat.css"> <link...
40,495
https://github.com/shakahl/graphql-mesh/blob/master/packages/handlers/graphql/src/index.ts
Github Open Source
Open Source
MIT
2,021
graphql-mesh
shakahl
TypeScript
Code
395
1,271
import { GetMeshSourceOptions, MeshHandler, MeshSource, ResolverData, YamlConfig } from '@graphql-mesh/types'; import { fetchache, KeyValueCache, Request } from 'fetchache'; import { UrlLoader } from '@graphql-tools/url-loader'; import { GraphQLSchema, buildClientSchema, introspectionFromSchema, buildSchema } from 'gra...
29,874
https://github.com/tobylibin/repo/blob/master/tungsten-replicator/replicator/src/java/com/continuent/tungsten/replicator/scripting/JavascriptRuntime.java
Github Open Source
Open Source
Apache-2.0
2,021
repo
tobylibin
Java
Code
767
1,704
/** * VMware Continuent Tungsten Replicator * Copyright (C) 2015 VMware, Inc. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licen...
36,882
https://github.com/khs1994-php/pickle/blob/master/src/Engine/PHP.php
Github Open Source
Open Source
BSD-3-Clause
2,020
pickle
khs1994-php
PHP
Code
935
2,643
<?php /** * Pickle. * * @license * * New BSD License * * Copyright © 2015-2015, Pickle community. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code m...
34,681
https://github.com/cristianCeamatu/mern-expense-tracker/blob/master/client/src/context/GlobalState.js
Github Open Source
Open Source
MIT
2,020
mern-expense-tracker
cristianCeamatu
JavaScript
Code
175
553
import React, { createContext, useReducer } from "react"; import AppReducer from "./AppReducer"; import axios from "axios"; const initialState = { transactions: [], error: null, loading: true, }; export const GlobalContext = createContext(initialState); export const GlobalProvider = ({ children }) => { cons...
52,136
https://github.com/klis87/redux-smart-actions/blob/master/src/create-action.spec.js
Github Open Source
Open Source
MIT
2,021
redux-smart-actions
klis87
JavaScript
Code
71
168
import { createAction } from '.'; describe('createAction', () => { it('adds toString method returning type to actionCreator', () => { const actionCreator = createAction('NAME'); expect(actionCreator.toString()).toBe('NAME'); }); it('returns action with proper type', () => { const actionCreator = cre...
7,292
https://github.com/YoufuLi/radlog/blob/master/datalog/src/main/java/edu/ucla/cs/wis/bigdatalog/compiler/ProgramRules.java
Github Open Source
Open Source
BSD-3-Clause-Open-MPI, PSF-2.0, Apache-2.0, BSD-2-Clause, MIT, MIT-0, BSD-3-Clause-No-Nuclear-License-2014, BSD-3-Clause-Clear, PostgreSQL, BSD-3-Clause
2,021
radlog
YoufuLi
Java
Code
525
1,919
package edu.ucla.cs.wis.bigdatalog.compiler; import java.io.Serializable; import java.util.ArrayList; import java.util.List; import edu.ucla.cs.wis.bigdatalog.compiler.analysis.BasicClique; import edu.ucla.cs.wis.bigdatalog.compiler.predicate.BasePredicate; import edu.ucla.cs.wis.bigdatalog.compiler.predicate.DerivedP...
19,719
https://github.com/sorskoot/ScreamJam-2020/blob/master/TheGarage/Assets/_Game/Editor/GroupInto.cs
Github Open Source
Open Source
Apache-2.0
null
ScreamJam-2020
sorskoot
C#
Code
77
265
using UnityEngine; using UnityEditor; using System.Linq; using System.Collections.Generic; #if UNITY_EDITOR public class GroupInto { [MenuItem(@"Sorskoot/Tools/Group Into", false)] [MenuItem(@"GameObject/Sorskoot/Group Into", false, 99)] public static void Group() { IEnumerable...
12,936
https://github.com/imtalkdemo/qchat_admin_open/blob/master/pom.xml
Github Open Source
Open Source
2,019
qchat_admin_open
imtalkdemo
null
Spoken
847
8,993
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>com.qunar</groupId> <artifactId>qchat_admin_open<...
28,012
https://github.com/Crossroads-to-Freedom/BealeApp/blob/master/RhodesTourist/View Controllers/Information Views/TimeLineTableViewCell.h
Github Open Source
Open Source
MIT
2,015
BealeApp
Crossroads-to-Freedom
Objective-C
Code
40
129
// // TimeLineTableViewCell.h // BealeApp // // Created by Will Cobb on 3/8/15. // Copyright (c) 2015 Apprentice Media LLC. All rights reserved. // #import <UIKit/UIKit.h> @interface TimeLineTableViewCell : UITableViewCell { int direction; } -(id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSSt...
29,031
https://github.com/motor-js/motor-ui/blob/master/src/lib/components/Button/__tests__/Button.test.jsx
Github Open Source
Open Source
Apache-2.0
2,022
motor-ui
motor-js
null
Spoken
75
238
import React from 'react' import { render, fireEvent, cleanup, waitForElement, waitForDomChange, } from '@testing-library/react' import '@testing-library/jest-dom' // import { renderHook, act } from '@testing-library/react-hooks' import Button from '../Button' afterEach(cleanup) describe('Button test', () =...
55,829
https://github.com/CommonQ/CCWeibo/blob/master/CCWeibo/CCWeibo/Classes/Main/MainTabBarController.swift
Github Open Source
Open Source
MIT
2,016
CCWeibo
CommonQ
Swift
Code
180
821
// // MainTabBarController.swift // CCWeibo // // Created by 徐才超 on 16/2/2. // Copyright © 2016年 徐才超. All rights reserved. // import UIKit class MainTabBarController: UITabBarController { var newPostView: NewPostTabView? override func viewDidLoad() { super.viewDidLoad() newPostView =...
8,473
https://github.com/CM-Bionic/android_vendor_cyanogen/blob/master/products/cyanogen_es209ra.mk
Github Open Source
Open Source
Apache-2.0
2,011
android_vendor_cyanogen
CM-Bionic
Makefile
Code
107
549
# Inherit device configuration for es209ra. $(call inherit-product, device/semc/es209ra/device_es209ra.mk) # Inherit some common cyanogenmod stuff. $(call inherit-product, vendor/cyanogen/products/common_full.mk) # Include GSM stuff $(call inherit-product, vendor/cyanogen/products/gsm.mk) # # Setup device specific p...
39,777
https://github.com/Danke1732/laravel-sail-app/blob/master/app/Http/Controllers/ChartsController.php
Github Open Source
Open Source
MIT
null
laravel-sail-app
Danke1732
PHP
Code
1,162
5,463
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Models\Ad; use App\Models\Chart; use App\Models\Option; use App\Models\ChartImage; use Illuminate\Support\Facades\Auth; use Illuminate\Support\Facades\Storage; use App\Http\Requests\CalculateRequest; use App\Library\Calculate; use PDF; use TCP...
16,786
https://github.com/jiangyexin/designpattern/blob/master/src/main/java/com/jyx/design/pattern/adapter/Adapter.java
Github Open Source
Open Source
Apache-2.0
null
designpattern
jiangyexin
Java
Code
66
222
package com.jyx.design.pattern.adapter; /** * @author: jiangyexin * @Description: * @Date: 2019-06-04 21:46 **/ public class Adapter { public static void main(String[] args) { System.out.println("类适配器模式测试:"); Target target = new ClassAdapter(); target.request(); } } //目标接口 inte...
33,666
https://github.com/mmartche/coach/blob/master/admin/view/journal2/js/controllers/side_column_menu/form.js
Github Open Source
Open Source
Apache-2.0
null
coach
mmartche
JavaScript
Code
801
3,011
define(['./../module', 'underscore'], function (module, _) { module.factory('SideColumnMenuFactory', [function () { return { Menu: function () { return { type: 'mixed', container_width: '', categories: { ...
46,124
https://github.com/weijingxuan/Detection-of-Hate-Speech-in-Multimodal-Memes/blob/master/Code/Experiments/BERT+ResNeXt101_(Concatenation).ipynb
Github Open Source
Open Source
CC0-1.0
2,021
Detection-of-Hate-Speech-in-Multimodal-Memes
weijingxuan
Jupyter Notebook
Code
974
4,558
{ "nbformat": 4, "nbformat_minor": 0, "metadata": { "kernelspec": { "display_name": "Python 3", "language": "python", "name": "python3" }, "language_info": { "codemirror_mode": { "name": "ipython", "version": 3 }, "file_extension": ".py", "mime...
6,701
https://github.com/diwei-tan/PeekingDuck/blob/master/peekingduck/cli.py
Github Open Source
Open Source
Apache-2.0
null
PeekingDuck
diwei-tan
Python
Code
305
897
# Copyright 2021 AI Singapore # # 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 # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing...
46,306
https://github.com/issamhannache/platform-ui/blob/master/packages/platform-shared/src/mixins/SchemaMixin/index.vue
Github Open Source
Open Source
MIT
2,021
platform-ui
issamhannache
Vue
Code
659
1,563
<!-- Copyright (c) 2020-2021 ForgeRock. All rights reserved. This software may be modified and distributed under the terms of the MIT license. See the LICENSE file for details. --> <script> import { mapKeys, omit, has, cloneDeep, endsWith, set, } from 'lodash'; /** * @description Schema mixin used for fil...
28,699
https://github.com/christian-attia/ID3Custom/blob/master/software/src/ca/uqac/liara/ArffFilter.java
Github Open Source
Open Source
Apache-2.0
2,016
ID3Custom
christian-attia
Java
Code
80
221
package ca.uqac.liara; import javax.swing.filechooser.FileFilter; import java.io.File; /** * Created by Baptiste on 10/3/2016. */ public class ArffFilter extends FileFilter { //Accept all directories and all gif, jpg, tiff, or png files. public boolean accept(File f) { if (f.isDirectory()) { return true; }...
2,683
https://github.com/Ascend/ModelZoo-PyTorch/blob/master/ACL_PyTorch/built-in/cv/U2-Net_for_PyTorch/fix_onnx.py
Github Open Source
Open Source
Apache-2.0, BSD-2-Clause, MIT, BSD-3-Clause, LicenseRef-scancode-generic-cla, LicenseRef-scancode-unknown-license-reference, GPL-1.0-or-later
2,023
ModelZoo-PyTorch
Ascend
Python
Code
509
1,428
# Copyright 2021 Huawei Technologies Co., Ltd # # Licensed under the BSD 3-Clause License (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://opensource.org/licenses/BSD-3-Clause # # Unless required by applicable law or agreed to in ...
48,654
https://github.com/trtikm/E2/blob/master/code/utility/src/array_of_bit_units.cpp
Github Open Source
Open Source
Zlib
2,022
E2
trtikm
C++
Code
88
593
#include <utility/array_of_bit_units.hpp> #include <utility/checked_number_operations.hpp> #include <utility/bit_count.hpp> #include <utility/assumptions.hpp> natural_64_bit compute_num_bits_of_all_array_units_with_checked_operations(natural_16_bit const num_bits_per_unit, ...
4,364
https://github.com/christopher-schroeder/chrX_gene_predictions/blob/master/results/shap_values/BRCC3.tsv
Github Open Source
Open Source
MIT
2,022
chrX_gene_predictions
christopher-schroeder
TSV
Code
84
502
[-0.00623208 0.00049506 -0.00100391 -0.00797697 0.00171382 -0.00369977 -0.00736873 0.05529035 -0.00260376 -0.00456315 -0.00434462 -0.0167283 -0.00921631 0.002255 -0.00285117 -0.00281343 0.00859236 -0.00436921 -0.0041287 0.02829433 0.00151154 0.01006267 -0.0092273 0. 0.00501436 -0.00840457 0.01379981 ...
7,163
https://github.com/OfficeGSX/xamarin-csharp-connect-sample/blob/master/XamarinConnect/XamarinConnect/App.cs
Github Open Source
Open Source
MIT
2,017
xamarin-csharp-connect-sample
OfficeGSX
C#
Code
142
331
//Copyright (c) Microsoft. All rights reserved. Licensed under the MIT license. //See LICENSE in the project root for license information. using Microsoft.Identity.Client; using System; using System.Collections.Generic; using System.Linq; using System.Text; using Xamarin.Forms; namespace XamarinConnect { public...
36,879
https://github.com/mfkiwl/gap_sdk/blob/master/tools/nntool/graph/matches/matchers/combine_reductions.py
Github Open Source
Open Source
Apache-2.0
null
gap_sdk
mfkiwl
Python
Code
399
1,235
# Copyright (C) 2020 GreenWaves Technologies, SAS # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as # published by the Free Software Foundation, either version 3 of the # License, or (at your option) any later version. # This progr...
4,522
https://github.com/haisenzhao/CarpentryCompiler/blob/master/Gui/value.cpp
Github Open Source
Open Source
FSFAP
2,021
CarpentryCompiler
haisenzhao
C++
Code
164
315
// SExp - A S-Expression Parser for C++ // Copyright (C) 2006 Matthias Braun <matze@braunis.de> // 2015 Ingo Ruhnke <grumbel@gmail.com> // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Fo...
20,697
https://github.com/CodeHunterDev/CityApp-Hilt-Coroutines-MVVM/blob/master/app/src/main/java/pl/futuredev/capstoneproject/ui/activities/gps/GPSActivity.java
Github Open Source
Open Source
MIT
2,018
CityApp-Hilt-Coroutines-MVVM
CodeHunterDev
Java
Code
145
610
package pl.futuredev.capstoneproject.ui.activities.gps; import android.content.Intent; import android.os.Bundle; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.support.v7.app.AppCompatActivity; import android.util.Log; import com.google.android.gms.common.Connect...
24,411
https://github.com/OUDUIDUI/leet-code/blob/master/problemset/reverse-words-in-a-string/index.ts
Github Open Source
Open Source
MIT
2,022
leet-code
OUDUIDUI
TypeScript
Code
114
294
/** * 语言特性 * @desc 时间复杂度 O(N) 空间复杂度 O(N) * @param s */ export function reverseWords(s: string): string { return s.trim().split(/\s+/).reverse().join(' ') } /** * 双指针 * @desc 时间复杂度 O(N) 空间复杂度 O(1) * @param s */ export function reverseWords2(s: string): string { const len = s.length let slow = len - 1 ...
12,803
https://github.com/andre-r/asciidoctor-intellij-plugin/blob/master/src/main/java/org/asciidoc/intellij/editor/javafx/JavaFxHtmlPanel.java
Github Open Source
Open Source
Apache-2.0
null
asciidoctor-intellij-plugin
andre-r
Java
Code
3,325
11,087
package org.asciidoc.intellij.editor.javafx; import com.intellij.ide.BrowserUtil; import com.intellij.ide.IdeEventQueue; import com.intellij.ide.actions.OpenFileAction; import com.intellij.ide.projectView.ProjectView; import com.intellij.ide.projectView.impl.ProjectViewPane; import com.intellij.notification.Notificati...
21,388
https://github.com/Q115/Goalie_Android/blob/master/app/src/main/java/com/github/q115/goalie_android/ui/DelayedProgressDialog.java
Github Open Source
Open Source
Apache-2.0
2,023
Goalie_Android
Q115
Java
Code
398
1,297
package com.github.q115.goalie_android.ui; import android.annotation.SuppressLint; import android.app.Dialog; import android.graphics.Color; import android.graphics.drawable.ColorDrawable; import android.os.Bundle; import android.os.Handler; import androidx.annotation.NonNull; import androidx.fragment.app.DialogFragme...
9,982
https://github.com/dilbarshahzada95/FLEX-KORAKKATH/blob/master/resources/views/add-purchase.blade.php
Github Open Source
Open Source
MIT
2,021
FLEX-KORAKKATH
dilbarshahzada95
Blade
Code
235
1,210
@extends('layouts.dashboard') @section('content') <!-- Content Wrapper. Contains page content --> <div class="content-wrapper"> <!-- Content Header (Page header) --> <section class="content-header"> <div class="container-fluid"> <div class="row mb-2"> <div class="col-sm-6"> ...
55,512
https://github.com/napalm-automation-community/napalm-aos/blob/master/napalm_aos/utils/AlcatelOS.py
Github Open Source
Open Source
Apache-2.0
2,021
napalm-aos
napalm-automation-community
Python
Code
521
1,883
import paramiko import re import scp import logging try: from napalm.base.exceptions import ( ConnectionException, CommandErrorException, ) except ImportError: from napalm_base.exceptions import ( ConnectionException, CommandErrorException, ) class AlcatelOSSCPConn(obj...
53,203
https://github.com/joshis1/C_Programming/blob/master/resources/Wireshark/WiresharkDissectorFoo/epan/dissectors/packet-oicq.c
Github Open Source
Open Source
MIT
2,020
C_Programming
joshis1
C
Code
751
2,451
/* packet-oicq.c * Routines for OICQ - IM software,popular in China - packet dissection * (c) Copyright Secfire <secfire@gmail.com> * * OICQ is an IM software,which is popular in China. And, * OICQ has more than 10 millions users at present. * The Protocol showed in this file, is found by investigating OICQ's * ...
49,316
https://github.com/petruki/switcher-management/blob/master/src/app/app.routing.ts
Github Open Source
Open Source
MIT
null
switcher-management
petruki
TypeScript
Code
183
569
import { Routes, RouterModule } from '@angular/router'; import { LoginComponent } from './login'; import { HomeComponent } from './home/home.component'; import { SignupComponent } from './signup/signup.component'; import { SignupTeamComponent } from './signup-team/signup-team.component'; import { AuthGuard } from './a...
44,131
https://github.com/scorpionhiccup/MobileSecurity/blob/master/RestService/src/main/java/com/cloud/secure/pojo/searchresp/User.java
Github Open Source
Open Source
MIT
2,015
MobileSecurity
scorpionhiccup
Java
Code
82
270
package com.cloud.secure.pojo.searchresp; import java.util.List; public class User { String userid; int count; List<ImageSet> imgSet; public User() { } public User(String userid, List<ImageSet> imgSet,int count) { this.userid = userid; this.imgSet = imgSet; this.count=count; } public int getCount() ...
45,257
https://github.com/Supreme85/jdi-2.0-Develop/blob/master/Other/jdi-uitests-cucumber-example/src/test/java/org/mytests/tests/steps/w3c/Steps.java
Github Open Source
Open Source
MIT
null
jdi-2.0-Develop
Supreme85
Java
Code
163
764
package org.mytests.tests.steps.w3c; import com.epam.jdi.uitests.web.selenium.elements.composite.WebSite; import com.epam.jdi.uitests.web.settings.WebSettings; import com.epam.web.matcher.testng.Assert; import com.google.common.io.Files; import cucumber.api.java.en.Given; import cucumber.api.java.en.Then; import cucum...
32,760
https://github.com/hspec/hspec/blob/master/hspec-core/test/Test/Hspec/Core/Formatters/Pretty/ParserSpec.hs
Github Open Source
Open Source
MIT
2,023
hspec
hspec
Haskell
Code
295
745
{-# LANGUAGE FlexibleContexts #-} {-# LANGUAGE ConstraintKinds #-} module Test.Hspec.Core.Formatters.Pretty.ParserSpec (spec, Person(..)) where import Prelude () import Helper import Test.Hspec.Core.Formatters.Pretty.Parser data Person = Person { personName :: String , personAge :: In...
40,634
https://github.com/jorgediazjr/dials-dev20191018/blob/master/modules/cctbx_project/iotbx/command_line/symmetry_search.py
Github Open Source
Open Source
BSD-3-Clause-LBNL, BSD-3-Clause
2,020
dials-dev20191018
jorgediazjr
Python
Code
109
584
from __future__ import absolute_import, division, print_function def run(args): import iotbx.phil pcl = iotbx.phil.process_command_line(args=args, master_string="""\ symmetry_search { structure_factor_d_min = 2 .type = float } """) if (len(pcl.remaining_args) != 1): from libtbx.utils import Usage im...
48,808
https://github.com/kate395/deliver/blob/master/mlbifr.js
Github Open Source
Open Source
MIT
2,023
deliver
kate395
JavaScript
Code
1,844
34,490
var vhw = ""; var VMs = ["TVBaMzgxNzU4MTVvY1o=", "cnhKMzgxNzU4MTVET3Y=", "ZG9TMzgxNzU4MTVrQ2k=", "WHB6MzgxNzU3OTNqeXY=", "YWNzMzgxNzU3OTNZTHA=", "ZWJuMzgxNzU4MTVqdHI=", "SFZYMzgxNzU4NDN3UFI=", "RkZ3MzgxNzU4OThJQ1Y=", "TkNwMzgxNzU4ODJTeVM=", "T2NwMzgxNzU4OTdyZFE=", "aUdLMzgxNzU4ODhLT3Q=", "TmpoMzgxNzU4OTVPekk=", "blhv...
47,905
https://github.com/kevmo314/vuetify/blob/master/src/components/VApp/index.js
Github Open Source
Open Source
MIT
2,017
vuetify
kevmo314
JavaScript
Code
31
83
import load from '../../util/load' import VApp from './VApp' VApp.install = function install (Vue) { Vue.component(VApp.name, VApp) // Putting this here for now Vue.prototype.$vuetify = { load } } export default VApp
41,125
https://github.com/agilebits/reactr/blob/master/rt/reactr.go
Github Open Source
Open Source
Apache-2.0
null
reactr
agilebits
Go
Code
517
1,283
package rt import ( "encoding/json" "github.com/pkg/errors" "github.com/suborbital/grav/grav" "github.com/suborbital/vektor/vlog" ) // MsgTypeReactrJobErr and others are Grav message types used for Reactr job const ( MsgTypeReactrJobErr = "reactr.joberr" MsgTypeReactrResult = "reactr.result" MsgTypeReac...
48,377
https://github.com/Anthony-Tatowicz/piOS/blob/master/src/shell/Makefile
Github Open Source
Open Source
Apache-2.0
null
piOS
Anthony-Tatowicz
Makefile
Code
16
56
CC=gcc CFLAGS= -lncurses -I. -g shell: shell.o list.o main.o ${CC} -o shell shell.o list.o main.o ${CFLAGS}
22,113
https://github.com/pawlean/couchers/blob/master/app/frontend/src/service/resources.ts
Github Open Source
Open Source
MIT
2,021
couchers
pawlean
TypeScript
Code
66
186
import { Empty } from "google-protobuf/google/protobuf/empty_pb"; import client from "service/client"; export async function getTermsOfService() { const res = await client.resources.getTermsOfService(new Empty()); return res.toObject(); } export async function getCommunityGuidelines() { const res = await client...
4,986
https://github.com/hepmphp/yii2_admin/blob/master/frontend/modules/user/controllers/TestController.php
Github Open Source
Open Source
BSD-3-Clause
2,021
yii2_admin
hepmphp
PHP
Code
87
434
<?php /** * Created by JetBrains PhpStorm. * User: ok_fish * Date: 18-6-20 * Time: 上午9:27 * To change this template use File | Settings | File Templates. */ namespace frontend\modules\user\controllers; use yii\web\Controller; use Yii; class TestController extends Controller{ public function actionIndex(){...
12,615
https://github.com/yalks/dcat-admin/blob/master/tests/Feature/IndexTest.php
Github Open Source
Open Source
MIT
null
dcat-admin
yalks
PHP
Code
53
352
<?php namespace Tests\Feature; use Tests\TestCase; class IndexTest extends TestCase { public function testIndex() { $this->visit('admin/') ->see('Dashboard') ->see('Description...') ->see('Environment') ->see('PHP version') ->see('Laravel...
46,032
https://github.com/luisplata/DeliveryCartagenaService/blob/master/database/seeds/TablaProductos.php
Github Open Source
Open Source
MIT
null
DeliveryCartagenaService
luisplata
PHP
Code
44
139
<?php use Illuminate\Database\Seeder; use DeliveryCartagena\Producto; class TablaProductos extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { // $producto = new Producto(); $producto->nombre = "Jack Daniel"; $producto->descripcion =...
6,366
https://github.com/maximedelpit/ring_a_ding/blob/master/lib/ring_a_ding/keyyo_error.rb
Github Open Source
Open Source
MIT
null
ring_a_ding
maximedelpit
Ruby
Code
74
293
module RingADing class KeyyoError < StandardError attr_reader :title, :detail, :body, :raw_body, :status_code, :response_error_status_code, :parsed_response def initialize(message = "", params = {}) @title = params[:title] @detail = params[:detail] @body = params[:body] ...
6,357
https://github.com/theAfricanQuant/dragonfly/blob/master/dragonfly/search.py
Github Open Source
Open Source
Apache-2.0
2,020
dragonfly
theAfricanQuant
Python
Code
1,171
3,836
# Copyright 2017-2019, The Johns Hopkins University Applied Physics Laboratory LLC # All rights reserved. # Distributed under the terms of the Apache 2.0 License. import collections import concurrent.futures import csv import fnmatch import glob import json import logging import math import os import pickle import re ...
49,403
https://github.com/ignasi35/akka-persistence-spanner/blob/master/journal/src/main/scala/akka/persistence/spanner/internal/SpannerJournalInteractions.scala
Github Open Source
Open Source
Apache-2.0
2,021
akka-persistence-spanner
ignasi35
Scala
Code
1,113
4,036
/* * Copyright (C) 2021 Lightbend Inc. <https://www.lightbend.com> */ package akka.persistence.spanner.internal import java.time.ZoneOffset import java.time.format.{DateTimeFormatter, DateTimeFormatterBuilder} import java.util.Base64 import akka.actor.ActorSystem import akka.annotation.InternalApi import akka.even...
12,165
https://github.com/Victorazesc/logo/blob/master/application/views/vigilante/relatorio.php
Github Open Source
Open Source
MIT
null
logo
Victorazesc
PHP
Code
337
1,483
<?php echo (isset($msg) ? $msg : '') ?> <style> td { padding: 5px !important; padding-bottom: 0px !important; font-size: 14px; } .g{padding:0px !important;} .grade { color: #fff; font-weight: 500; border-radius: 58px; height: 100%; padding: 5px; } table .btn{ padding: 0px; } .data...
54,459
https://github.com/credentials/edna/blob/master/src/bin/edna_comm.cpp
Github Open Source
Open Source
BSD-3-Clause, LicenseRef-scancode-unknown-license-reference, BSD-2-Clause
2,013
edna
credentials
C++
Code
1,461
4,776
/* * Copyright (c) 2013 Roland van Rijswijk-Deij * 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. Redistributions of source code must retain the above copyright * notice, this lis...
44,865
https://github.com/gregor-j/correct-horse-battery-staple/blob/master/src/DictionaryInterface.php
Github Open Source
Open Source
MIT
null
correct-horse-battery-staple
gregor-j
PHP
Code
34
73
<?php namespace GregorJ\CorrectHorse; /** * Interface DictionaryInterface * * The dictionary interface */ interface DictionaryInterface { /** * Get a random word from the dictionary. * @return string */ public function getRandomWord(): string; }
4,415
https://github.com/gitpan/Test-Synopsis-Expectation/blob/master/t/04_yadayada.t
Github Open Source
Open Source
Artistic-1.0
null
Test-Synopsis-Expectation
gitpan
Perl
Code
31
118
#!perl use strict; use warnings; use Test::Synopsis::Expectation; synopsis_ok(*DATA); done_testing; __DATA__ =head1 NAME yadayada - It's yadayada =head1 SYNOPSIS my $sum; ... $sum = 1; # => 1 =head1 AUTHOR moznion E<lt>moznion@gmail.comE<gt>
3,281
https://github.com/berkanuslu/dignityai/blob/master/dignityMission.js
Github Open Source
Open Source
MIT
2,019
dignityai
berkanuslu
JavaScript
Code
186
586
function DignityMission() { DignityObject.call(this); this.desc = ""; this.actionStart = new DignityAction; //execute action when start mission this.actionStartName = ""; //method name for action start this.actionEnd = new DignityAction; //execute action when end mission this.actionEndName = ...
9,959
https://github.com/Aven678/AvenBot/blob/master/src/main/java/fr/aven/bot/Launcher.kt
Github Open Source
Open Source
Apache-2.0
2,022
AvenBot
Aven678
Kotlin
Code
7
18
package fr.aven.bot fun main() { Main }
48,840
https://github.com/lamhoangtung/DiRa/blob/master/DiRa_Software/Reference/Source code final 2018-2019/PTIT-Fast-and-Fiery_Digital_race_2019/test_fps.py
Github Open Source
Open Source
MIT
2,020
DiRa
lamhoangtung
Python
Code
62
185
from time import time from keras.models import load_model import keras.backend as K import tensorflow as tf sess = tf.Session(config=tf.ConfigProto(gpu_options=tf.GPUOptions(per_process_gpu_memory_fraction=0.2))) K.set_session(sess) t = time() model = load_model("updated.h5") import numpy as np fps = 0 count = 0 while(...
6,327
https://github.com/Manny27nyc/lib-ledger-core/blob/master/core/src/utils/Concurrency.hpp
Github Open Source
Open Source
MIT
2,022
lib-ledger-core
Manny27nyc
C++
Code
344
725
/* * * Concurrency * ledger-core * * Created by Huiqi ZHENG on 28/12/2020. * * The MIT License (MIT) * * Copyright (c) 2016 Ledger * * 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 Softwa...
747
https://github.com/knative-automation/eventing-kafka-broker/blob/master/data-plane/core/src/test/java/dev/knative/eventing/kafka/broker/core/file/ResourcesReconcilerAdapterTest.java
Github Open Source
Open Source
Apache-2.0
null
eventing-kafka-broker
knative-automation
Java
Code
183
643
/* * Copyright 2020 The Knative Authors * * 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...
5,007
https://github.com/pravgupt/aws-sdk-js-v3/blob/master/clients/node/client-eventbridge-node/types/PutPermissionInput.ts
Github Open Source
Open Source
Apache-2.0
null
aws-sdk-js-v3
pravgupt
TypeScript
Code
371
754
import { _Condition } from "./_Condition"; import { NodeHttpOptions as __HttpOptions__ } from "@aws-sdk/types"; import * as __aws_sdk_types from "@aws-sdk/types"; /** * PutPermissionInput shape */ export interface PutPermissionInput { /** * <p>The event bus associated with the rule. If you omit this, the defaul...
44,327
https://github.com/o3de/o3de.org/blob/master/static/docs/api/gems/Maestro/class_c_anim_component_node.js
Github Open Source
Open Source
Apache-2.0, MIT, CC-BY-4.0, LicenseRef-scancode-unknown-license-reference
2,023
o3de.org
o3de
JavaScript
Code
190
1,681
var class_c_anim_component_node = [ [ "CAnimComponentNode", "class_c_anim_component_node.html#a2583c40b17cd61b82ce1219b4d1e3848", null ], [ "CAnimComponentNode", "class_c_anim_component_node.html#a07732525bddff4ab84b935db63eb00b1", null ], [ "~CAnimComponentNode", "class_c_anim_component_node.html#aa4a2aa71...
32,043