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/suleymansevimli/linkedin-redesign/blob/master/components/elements/dropdown/AccountDropdown.js
Github Open Source
Open Source
MIT
2,022
linkedin-redesign
suleymansevimli
JavaScript
Code
61
236
import React from "react"; import PropTypes from 'prop-types' import style from "./account-dropdown.module.css" import {ArrowDown} from "../../icons"; const AccountDropdown = () => { const [showOptions, setShow] = React.useState(false) return ( <div className={style.accountDropdown}> <div...
21,686
https://github.com/cristaloleg/wallaroo/blob/master/testing/tools/fixish_converter/fixish.pony
Github Open Source
Open Source
LicenseRef-scancode-generic-cla, Apache-2.0
2,018
wallaroo
cristaloleg
null
Spoken
436
1,227
/* Copyright 2018 The Wallaroo 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 agreed to in writi...
32,751
https://github.com/DomeSs97/BEP20/blob/master/Baby-Token.sol
Github Open Source
Open Source
MIT
2,022
BEP20
DomeSs97
Solidity
Code
10
42
Create Baby Token BSC – BEP20 Token Generator - https://tokoagus.id/jasa-pembuatan-token/bsc/baby-token/
10,562
https://github.com/brahimazreg/Inventory-Project/blob/master/src/main/java/com/qa/MysqlOrderDao.java
Github Open Source
Open Source
MIT
null
Inventory-Project
brahimazreg
Java
Code
319
1,160
package com.qa; import java.sql.Connection; import java.sql.DriverManager; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import java.util.ArrayList; import java.util.List; import org.apache.log4j.Logger; /** * This class allow the communic...
41,086
https://github.com/CyberGsus/tui-first-steps/blob/master/src/lib/vt/terminal.cpp
Github Open Source
Open Source
MIT
null
tui-first-steps
CyberGsus
C++
Code
373
1,202
#include "terminal.h" #include <cstdio> #include <cstdlib> extern "C" { #include <stdarg.h> #include <termios.h> #include <unistd.h> } namespace vt { struct termios t_base; bool n_init = false; void init() { if (n_init) return; tcgetattr(STDIN_FILENO, &t_base); termios raw = t_base; raw.c_iflag &= ~(...
28,360
https://github.com/SebChw/MarketSimulator/blob/master/src/main/java/market/assets/marketIndex/StartupsCompaniesFilter.java
Github Open Source
Open Source
MIT
null
MarketSimulator
SebChw
Java
Code
117
350
package market.assets.marketIndex; import market.traders.Company; import java.io.Serializable; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; /** * Sorts companies according to their origin Date */ public class StartupsCompaniesFilter implements CompaniesFilter, Serializable...
1,703
https://github.com/drganam/LearnML/blob/master/benchmarks/C/mirror/sol75.ml
Github Open Source
Open Source
MIT
2,021
LearnML
drganam
OCaml
Code
37
78
(* problem 1*) type btree = Empty | Node of int * btree * btree;; let rec mirror : btree -> btree = fun t -> (* TODO *) match t with |Empty->Empty |Node(x,y,z)->Node(x,mirror z, mirror y);;
52,833
https://github.com/campionfellin/cdk8s/blob/master/packages/cdk8s-cli/test/import/import-k8s.test.ts
Github Open Source
Open Source
Apache-2.0
2,021
cdk8s
campionfellin
TypeScript
Code
30
118
import { ImportKubernetesApi } from '../../src/import/k8s'; import { testImportMatchSnapshot } from './util'; const k8s = (v: string) => testImportMatchSnapshot(`k8s@${v}`, () => new ImportKubernetesApi({ apiVersion: v })); k8s('1.14.0'); k8s('1.15.0'); k8s('1.16.0'); k8s('1.17.0');
8,994
https://github.com/andrist/qdk-python/blob/master/azure-quantum/tests/unit/test_optimization.py
Github Open Source
Open Source
MIT
null
qdk-python
andrist
Python
Code
1,204
5,430
#!/bin/env python # -*- coding: utf-8 -*- ## # test_problem.py: Checks correctness of azure.quantum.optimization module. ## # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. ## import json import unittest from azure.quantum import Workspace from azure.quantum.optimization im...
13,172
https://github.com/lumanprasath/socialtiks/blob/master/node_modules/ng2-bootstrap/components/carousel/carousel.component.d.ts
Github Open Source
Open Source
MIT
2,021
socialtiks
lumanprasath
TypeScript
Code
156
359
import { OnDestroy } from '@angular/core'; import { SlideComponent } from './slide.component'; export declare enum Direction { UNKNOWN = 0, NEXT = 1, PREV = 2, } /** * Problems: * 1) if we set an active slide via model changes, .active class remains on a current slide. * 2) if we have only one slide, we ...
55,832
https://github.com/kosyachniy/web/blob/master/api/services/limiter.py
Github Open Source
Open Source
MIT
2,023
web
kosyachniy
Python
Code
38
101
""" Limiting the number of requests """ def get_ip(request): """ Get IP address """ return request.state.ip def get_user(request): """ Get user ID """ return request.state.user or request.state.token def get_uniq(request): """ Get unique requester """ return get_ip(request) or get_user(reques...
27,794
https://github.com/Wuttipong2/alumni/blob/master/condb1.php
Github Open Source
Open Source
MIT
null
alumni
Wuttipong2
PHP
Code
20
91
<?php $con= mysqli_connect("localhost","root","12345678","se") or die("Error: " . mysqli_error($con)); mysqli_query($con, "SET NAMES 'utf8' "); error_reporting( error_reporting() & ~E_NOTICE ); date_default_timezone_set('Asia/Bangkok'); ?>
31,211
https://github.com/amccurry/pack/blob/master/pack-block/src/main/java/pack/block/blockstore/hdfs/blockstore/wal/LocalWalCache.java
Github Open Source
Open Source
Apache-2.0
2,020
pack
amccurry
Java
Code
507
1,734
package pack.block.blockstore.hdfs.blockstore.wal; import java.io.Closeable; import java.io.File; import java.io.IOException; import java.io.RandomAccessFile; import java.nio.ByteBuffer; import java.nio.channels.FileChannel; import java.util.List; import java.util.concurrent.atomic.AtomicLong; import org.apache.hadoo...
530
https://github.com/AcuoFS/acuo-ui/blob/master/src/containers/PledgeContainer.js
Github Open Source
Open Source
MIT
2,018
acuo-ui
AcuoFS
JavaScript
Code
484
1,912
import { connect } from 'react-redux' import { PledgeComponent } from '../components' import _ from 'lodash' import { List, fromJS } from 'immutable' import { updateOptimisationSettings, togglePendingAllocation, toggleCheckall, clearPendingAllocation, updatePledgeFilter, fetchOptimisationSettings, fetchS...
37,060
https://github.com/xuyafei9303/coinexchange/blob/master/coin-exchange/coin-finance/finance-service/src/main/java/com/ixyf/domain/ForexAccount.java
Github Open Source
Open Source
Apache-2.0
null
coinexchange
xuyafei9303
Java
Code
153
762
package com.ixyf.domain; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProp...
3,545
https://github.com/rimmartin/cctbx_project/blob/master/cctbx/uctbx/determine_unit_cell/NCDist.h
Github Open Source
Open Source
BSD-3-Clause-LBNL
2,022
cctbx_project
rimmartin
C
Code
5,543
37,791
// // CNCDist.c // // // Created by Herbert J. Bernstein on 3/26/13. // // /* The projectors for the 15 base types (5-D boundaries in G6), plus a few extra for internal boundaries Note that the array indices are swapped from the Fortan versions */ /* #define NCDIST_DEBUG */ #define NCDIST_NO_OUTER_PASS #include...
33,050
https://github.com/inmind-project/harlequin/blob/master/siafu/Datatypes/src/de/nec/nle/siafu/types/external/TimePeriod.java
Github Open Source
Open Source
Apache-2.0
2,021
harlequin
inmind-project
Java
Code
662
1,428
/* * Copyright NEC Europe Ltd. 2006-2007 * * This file is part of the context simulator called Siafu. * * Siafu 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 * Foundation; either version 2 of the License, or (at ...
39,123
https://github.com/JKCodes/event-manager/blob/master/app/models/event_participant.rb
Github Open Source
Open Source
MIT
null
event-manager
JKCodes
Ruby
Code
9
26
class EventParticipant < ApplicationRecord belongs_to :event belongs_to :participant end
1,189
https://github.com/neo4j-contrib/neo4j-apoc-procedures/blob/master/docs/asciidoc/modules/ROOT/pages/overview/apoc.generate/apoc.generate.er.adoc
Github Open Source
Open Source
Apache-2.0
2,023
neo4j-apoc-procedures
neo4j-contrib
AsciiDoc
Code
87
282
//// This file is generated by DocsTest, so don't change it! //// = apoc.generate.er :description: This section contains reference documentation for the apoc.generate.er procedure. label:procedure[] label:apoc-extended[] [.emphasis] apoc.generate.er(noNodes, noEdges, label, type) - generates a random graph according...
9,790
https://github.com/nitroFamily/bio/blob/master/src/Bimo/Config.hs
Github Open Source
Open Source
BSD-3-Clause
2,016
bio
nitroFamily
Haskell
Code
346
789
{-# LANGUAGE FlexibleContexts #-} {-# LANGUAGE OverloadedStrings #-} -- | Module to interact with any app config module Bimo.Config where import Data.Monoid import qualified Data.Text as T import qualified Data.Text.IO as T import Control.Monad.Reader import Control.Monad.Logger import Control.Monad.Catch import Cont...
18,094
https://github.com/jkrvivian/create_chid_benchmark/blob/master/third_party/mosquitto/test/lib/cpp/03-publish-c2b-qos2-disconnect.cpp
Github Open Source
Open Source
BSD-3-Clause, EPL-1.0, CPL-1.0, LicenseRef-scancode-generic-export-compliance, MPL-1.1, Apache-1.1, Apache-2.0, LGPL-2.1-only, MIT
2,019
create_chid_benchmark
jkrvivian
C++
Code
114
478
#include <cstdlib> #include <cstring> #include <mosquittopp.h> static int run = -1; static int first_connection = 1; class mosquittopp_test : public mosqpp::mosquittopp { public: mosquittopp_test(const char *id); void on_connect(int rc); void on_disconnect(int rc); void on_publish(int mid); }; mosquittopp...
4,300
https://github.com/blazeiburgess/prime-ruby-001-prework-web/blob/master/prime.rb
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, LicenseRef-scancode-public-domain
2,016
prime-ruby-001-prework-web
blazeiburgess
Ruby
Code
31
71
# Add code here! def prime?(number) if number <= 1 return false elsif number <= 3 return true else (2..number/2).none?{|num| number % num == 0} ? true : false end end
49,107
https://github.com/noubase/Trampoline/blob/master/trampoline/src/main/java/org/ernest/applications/trampoline/services/FileManager.java
Github Open Source
Open Source
Apache-2.0
null
Trampoline
noubase
Java
Code
779
2,995
package org.ernest.applications.trampoline.services; import com.google.gson.Gson; import com.google.gson.JsonSyntaxException; import org.apache.commons.io.FileUtils; import org.apache.commons.io.IOUtils; import org.ernest.applications.trampoline.entities.BuildTools; import org.ernest.applications.trampoline.entities.E...
1,556
https://github.com/cjdev/architecture-diagram/blob/master/app/Wiring.hs
Github Open Source
Open Source
BSD-3-Clause
2,019
architecture-diagram
cjdev
Haskell
Code
30
91
{-# LANGUAGE GeneralizedNewtypeDeriving #-} module Wiring where import qualified ArchitectureDiagram.Console.Impl.IO as Console import ArchitectureDiagram.Console.Class instance Console IO where readStdin = Console.readStdin writeStdout = Console.writeStdout writeStderr = Console.writeStderr failure = Console...
10,094
https://github.com/sonyafenge/dashboard/blob/master/src/app/backend/client/api/common_test.go
Github Open Source
Open Source
Apache-2.0
null
dashboard
sonyafenge
Go
Code
161
408
// Copyright 2017 The Kubernetes 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 a...
55,739
https://github.com/kafura/Kafu.Material.Design/blob/master/src/less/button.less
Github Open Source
Open Source
MIT
null
Kafu.Material.Design
kafura
Less
Code
247
1,113
@import "vars.less"; @import "mixins.less"; .btn { background: 0 0; border: none; border-radius: 2px; color: #000; position: relative; height: 36px; min-width: 64px; padding: 0 8px; display: inline-block; font-family: 'Roboto','Helvetica','Arial',sans-serif; font-size: 14px...
18,885
https://github.com/MulticolorWorld/mastodon4j/blob/master/mastodon4j/src/main/java/com/sys1yagi/mastodon4j/api/entity/Mention.kt
Github Open Source
Open Source
MIT
2,021
mastodon4j
MulticolorWorld
Kotlin
Code
37
129
package com.sys1yagi.mastodon4j.api.entity import com.google.gson.annotations.SerializedName /** * see more https://docs.joinmastodon.org/api/entities/#mention */ class Mention( @SerializedName("url") val url: String = "", @SerializedName("username") val username: String = "", @SerializedNam...
15,237
https://github.com/bfredl/config2/blob/master/scratch/virt_text_basic.lua
Github Open Source
Open Source
MIT
2,020
config2
bfredl
Lua
Code
23
114
ns = vim.api.nvim_create_namespace'eset' vim.api.nvim_buf_clear_namespace(0, ns, 0, -1) vim.cmd [[ hi Aaaa guibg=Blue hi Bbbb guifg=Orange ]] vim.api.nvim_buf_set_extmark(0, ns, 0, 5, { virt_text={{'helloo', 'Bbbb'}}})
9,719
https://github.com/mattkferguson/multicloud-integrations/blob/master/AWS/AWSConfig/ecr/container-build/Makefile
Github Open Source
Open Source
MIT
2,022
multicloud-integrations
mattkferguson
Makefile
Code
42
143
VERSION ?= latest NS ?= ciscomulticloud IMAGE_NAME ?= aws-kubectl #defaults to dockerhub DOCKER_REGISTRY ?= .PHONY: all all: build login push .Phony: build build: docker build -t $(NS)/$(IMAGE_NAME):$(VERSION) -f Dockerfile . .Phony: login login: docker login $(DOCKER_REGISTRY) .Phony: push push: docker push $(...
10,029
https://github.com/dasari1132/My-Ant/blob/master/src/main/org/apache/tools/ant/types/Permissions.java
Github Open Source
Open Source
Apache-2.0
null
My-Ant
dasari1132
Java
Code
1,371
3,268
/* * 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...
2,483
https://github.com/liskl/website-original/blob/master/common/website_root/gallery/modules/comment/controllers/admin_comments.php
Github Open Source
Open Source
MIT
null
website-original
liskl
PHP
Code
266
713
<?php defined("SYSPATH") or die("No direct script access."); /** * Gallery - a web based photo album viewer and editor * Copyright (C) 2000-2013 Bharat Mediratta * * 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 Fr...
52,184
https://github.com/chop0/intellij-racket/blob/master/src/main/kotlin/org/racket/lang/core/psi/RacketElementType.kt
Github Open Source
Open Source
Apache-2.0
2,020
intellij-racket
chop0
Kotlin
Code
15
85
package org.racket.lang.core.psi import com.intellij.psi.tree.IElementType import org.jetbrains.annotations.NonNls import org.racket.lang.RacketLanguage class RacketElementType(@NonNls debugName: String) : IElementType(debugName, RacketLanguage)
31,009
https://github.com/mysilio-co/garden/blob/master/utils/fetch.js
Github Open Source
Open Source
MIT
null
garden
mysilio-co
JavaScript
Code
157
486
import { fetch } from "@inrupt/solid-client-authn-browser"; import { setThing, createSolidDataset, saveSolidDatasetAt, } from "@inrupt/solid-client"; import { DefaultPodDomain } from '../model/flags'; export async function postFormData(uri, body) { const formBody = []; for (var key in body) { const encod...
19,901
https://github.com/ebadier/BezierLoader/blob/master/src/BezierLoader/BezierBersteinPolynomial.h
Github Open Source
Open Source
MIT
2,021
BezierLoader
ebadier
C
Code
183
461
#ifndef BezierBersteinPolynomial_H #define BezierBersteinPolynomial_H #include <ostream> #include <vector> #include "Bezier.h" namespace Bezier { ///\class BernsteinPolynomial is an helper to get coefficients of Bernstein Polynomials in an efficient way. /// Binomials coefficients are computed at construction. ///...
8,266
https://github.com/VijaySBoobalan/Tesla_Hack/blob/master/includes/classes/class.capcha.php
Github Open Source
Open Source
MIT
2,020
Tesla_Hack
VijaySBoobalan
PHP
Code
427
1,361
<?php class Capcha { private $sessionKey; function __construct($key) { $this->sessionKey = $key; } public function Create($format,$width = 200, $height = 34, $length = 6,$letters = "ABCDEFGHIJKLMNPQRSTUVWXYZ", $textColor = '#000', $backgroundColor = '#fff', $noiceLines = 0, $noiceDots = 10, ...
26,074
https://github.com/huanggungfa/admin_template/blob/master/src/components/common/Header.vue
Github Open Source
Open Source
MIT
2,021
admin_template
huanggungfa
Vue
Code
568
2,517
<template> <div class="header"> <!-- 折叠按钮 --> <div class="header-left"> <div class="logo" @click="collapseChage"> <img src="@/assets/logo.png" alt="logo"> <span>深圳地铁</span> </div> <ul class="title_Module"> <li v-for...
12,501
https://github.com/AndreasSchantl/ExpenseManager/blob/master/config/expensemanager.php
Github Open Source
Open Source
MIT
2,018
ExpenseManager
AndreasSchantl
PHP
Code
34
88
<?php return [ /* |-------------------------------------------------------------------------- | ÖEINS Delivery Settings |-------------------------------------------------------------------------- | | These options determine the version of ÖEINS Delivery | */ 'version' => 'v1.1.3' ....
742
https://github.com/tharakamd/integration-studio/blob/master/components/esb-tools/plugins/org.wso2.integrationstudio.gmf.esb.edit/src/org/wso2/integrationstudio/gmf/esb/provider/XQueryMediatorItemProvider.java
Github Open Source
Open Source
Apache-2.0
2,022
integration-studio
tharakamd
Java
Code
733
3,239
/** * <copyright> * </copyright> * * $Id$ */ package org.wso2.integrationstudio.gmf.esb.provider; import java.util.Collection; import java.util.List; import org.eclipse.emf.common.notify.AdapterFactory; import org.eclipse.emf.common.notify.Notification; import org.eclipse.emf.ecore.EStructuralFeature; import org...
2,246
https://github.com/manuelfuchs/BrickSolution/blob/master/BrickSolution.Logic/Program.cs
Github Open Source
Open Source
MIT
2,019
BrickSolution
manuelfuchs
C#
Code
139
843
using BrickSolution.Logic.Enumerations; using MonoBrickFirmware.UserInput; using System; using System.Threading; namespace BrickSolution.Logic { class MainClass { public static void Main(string[] args) { try { Robot.InitRobot(); Thread.S...
37,677
https://github.com/visualeyes/Xero-NetCore/blob/master/Xero.Api/Infrastructure/OAuth/Signing/RsaSha1Signer.cs
Github Open Source
Open Source
MIT
2,017
Xero-NetCore
visualeyes
C#
Code
98
451
using System; using System.Security.Cryptography.X509Certificates; using Xero.Api.Infrastructure.Interfaces; using Xero.Api.Infrastructure.ThirdParty.Dust; using Xero.Api.Infrastructure.ThirdParty.Dust.Core; using Xero.Api.Infrastructure.ThirdParty.Dust.Core.SignatureBaseStringParts.Parameters; using Xero.Api.Infrastr...
18,191
https://github.com/cameronmorin/amazon-cognito-example-for-external-idp/blob/master/lambda/api/src/services/storageService.ts
Github Open Source
Open Source
MIT-0
null
amazon-cognito-example-for-external-idp
cameronmorin
TypeScript
Code
191
381
/* * Copyright 2019. Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0/ * * or in ...
35,528
https://github.com/LittleLightForDestiny/bungie-api-dart/blob/master/lib/getavailablelocales.dart
Github Open Source
Open Source
MIT, BSD-3-Clause
2,021
bungie-api-dart
LittleLightForDestiny
Dart
Code
2
16
export 'src/api/get_available_locales.dart';
18,869
https://github.com/Azure/azure-sdk-for-go/blob/master/sdk/messaging/azservicebus/internal/stress/tests/finite_peeks.go
Github Open Source
Open Source
MIT, LGPL-2.1-or-later, LicenseRef-scancode-unknown-license-reference
2,023
azure-sdk-for-go
Azure
Go
Code
218
802
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. package tests import ( "context" "fmt" "log" "time" "github.com/Azure/azure-sdk-for-go/sdk/messaging/azservicebus" "github.com/Azure/azure-sdk-for-go/sdk/messaging/azservicebus/internal/stress/shared" ) func Finite...
44,042
https://github.com/tim-fan/internet_connection_dash/blob/master/Makefile
Github Open Source
Open Source
MIT
null
internet_connection_dash
tim-fan
Makefile
Code
6
17
image: docker build -t internet_connection_dash .
5,271
https://github.com/Gargron/instant-bot/blob/master/lib/cli/cli.test.js
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, MIT
2,017
instant-bot
Gargron
JavaScript
Code
19
45
const CLI = require('./cli'); describe('CLI', () => { test('exists', () => { let cli = new CLI(); }); });
10,278
https://github.com/jmarranz/jnieasy/blob/master/src/com/innowhere/jnieasy/core/JNIEasy.java
Github Open Source
Open Source
Apache-2.0
2,021
jnieasy
jmarranz
Java
Code
666
1,621
/* * JNIEasy.java * * Created on 23 de diciembre de 2003, 22:03 */ package com.innowhere.jnieasy.core; import com.innowhere.jnieasy.core.cgen.NativeJavaCodeGenerator; import com.innowhere.jnieasy.core.enh.NativeEnhancer; import com.innowhere.jnieasy.core.util.NativeCapableFactory; import com.innowhere.jnieasy.cor...
18,443
https://github.com/insin/just-dadjokes/blob/master/app.jsx
Github Open Source
Open Source
MIT-0
2,015
just-dadjokes
insin
null
Spoken
838
3,051
void function() { 'use strict'; var _div = document.createElement('div') var _removed = document.querySelector('#imgurRemoved') var ReactCSSTransitionGroup = React.addons.CSSTransitionGroup var HASH_MATCH_RE = /^#?((after|before)=t3_[0-9a-z]{6}&count=(\d+))?$/i var SETTINGS_KEY = 'jdj:settings' function last(items) ...
4,863
https://github.com/zhaoming0/webml-polyfill/blob/master/test/cts/tool/CTSConverter/src/nn/specs/V1_1/l2_pool_float_large_relaxed.mod.py
Github Open Source
Open Source
Apache-2.0
2,022
webml-polyfill
zhaoming0
Python
Code
212
548
# # Copyright (C) 2018 The Android Open Source Project # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable la...
35,687
https://github.com/yooseokseo/cse170team2/blob/master/public/js/profile.js
Github Open Source
Open Source
MIT, Apache-2.0
2,018
cse170team2
yooseokseo
JavaScript
Code
35
157
var socket = io.connect('http://localhost:3000'); //var socket = io.connect('https://a8-cogs120team2.herokuapp.com/'); function checkLoginStatus(signedIn) { if (!signedIn) { $(".profile").attr({ "data-toggle": "modal", "data-target": "#profile_popup", "href" : "/profile" }); } else ...
52,918
https://github.com/traceguide/api-python/blob/master/lightstep/helpers.py
Github Open Source
Open Source
MIT
2,016
api-python
traceguide
Python
Code
136
525
"""Helper methods for the LightStep tracer. """ DEFAULT_CONTEXT_ID_PREFIX = 'open-tracing-context-id-' DEFAULT_ATTRIBUTE_PREFIX = 'open-tracing-attribute-' def trace_context_writer(trace_context, trace_context_encoder, context_id_prefix=DEFAULT_CONTEXT_ID_PREFIX, attr...
4,779
https://github.com/ScalablyTyped/SlinkyTyped/blob/master/m/maxim_mazurok__gapi_dot_client_dot_classroom/src/main/scala/typingsSlinky/maximMazurokGapiClientClassroom/gapi/client/classroom/Name.scala
Github Open Source
Open Source
MIT
2,021
SlinkyTyped
ScalablyTyped
Scala
Code
146
506
package typingsSlinky.maximMazurokGapiClientClassroom.gapi.client.classroom import org.scalablytyped.runtime.StObject import scala.scalajs.js import scala.scalajs.js.`|` import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess} @js.native trait Name extends StObject { /** Th...
200
https://github.com/tomrndom/osf-website/blob/master/src/templates/user-survey-page.js
Github Open Source
Open Source
MIT
null
osf-website
tomrndom
JavaScript
Code
486
1,667
import React, { useState, useRef, useEffect } from 'react' import PropTypes from 'prop-types' import { graphql, navigate } from 'gatsby' import { kebabCase, debounce } from 'lodash' import { HTMLContent } from '../components/Content' import Layout from '../components/Layout' import Header from '../components/Header' im...
30,407
https://github.com/liatrio/libotrio-1.0/blob/master/features/whoami.js
Github Open Source
Open Source
MIT
null
libotrio-1.0
liatrio
JavaScript
Code
75
232
function whoami(bot, controller) { controller.hears(['what is my name', 'who am i', 'whoami'], 'direct_message,direct_mention,mention', function(bot, message) { controller.storage.users.get(message.user, function(err, user) { if (user) { bot.api.users.info({user : message.user}, function(err, res)...
1,809
https://github.com/otherio/threadable.com/blob/master/config/threadable.com.zone
Github Open Source
Open Source
Apache-2.0
null
threadable.com
otherio
null
Spoken
203
864
; Zonefile downloaded from DNSimple ; Please keep this file up-to-date using their zone file export tool. ; That way, we have this info if they have an outage. ; Note that ALIAS records must be manually configured after importing at nsone. ; (copy this comment to the top of the new zonefile export) ; ; $ORIGIN threadab...
8,720
https://github.com/andresouza/hyperlane/blob/master/src/transport/index.js
Github Open Source
Open Source
Apache-2.0, LicenseRef-scancode-unknown-license-reference
2,017
hyperlane
andresouza
JavaScript
Code
27
42
import * as sync from './sync' import * as async from './async' const createTransport = type => type === 'sync' ? sync : async export default createTransport
22,349
https://github.com/hvr/Prelude/blob/master/src/Prelude.hs
Github Open Source
Open Source
BSD-3-Clause
2,021
Prelude
hvr
Haskell
Code
1,143
2,973
{-# LANGUAGE BangPatterns #-} {-# LANGUAGE CPP #-} {-# LANGUAGE NoImplicitPrelude #-} #if __GLASGOW_HASKELL__ >= 702 {-# LANGUAGE Trustworthy #-} #endif {-# OPTIONS_GHC -Wall #-} -- | -- Copyright: © Herbert Valerio Riedel 2017-2018 -- SPDX-License-Identifier: BSD-3-Clause -- -- This module ...
1,733
https://github.com/statbiophys/MaxEnt_Model_Population_Coupling/blob/master/get_h_PkPi.m
Github Open Source
Open Source
MIT
2,016
MaxEnt_Model_Population_Coupling
statbiophys
MATLAB
Code
23
110
function h_m = get_h_PkPi(beta_l, alpha_l ) Nneu = length(alpha_l); Kmax_PkPi = length(beta_l); h_m = repmat(beta_l(:)./((1:Kmax_PkPi)'),[1 Nneu]); h_m = h_m + repmat(alpha_l(:)',[Kmax_PkPi, 1]); end
55,045
https://github.com/qtcreator-meson-plugin/qtcreator-meson-plugin/blob/master/src/nodes.h
Github Open Source
Open Source
MIT
2,021
qtcreator-meson-plugin
qtcreator-meson-plugin
C
Code
139
476
#pragma once #include "filelistnode.h" #include <projectexplorer/projectnodes.h> namespace MesonProjectManager { class MesonProject; struct EditableList; struct TargetInfo; class MesonTargetNode: public virtual ProjectExplorer::VirtualFolderNode { public: MesonTargetNode(MesonProject *project, const Utils::Fil...
52,685
https://github.com/Carlozfsa/TecDev/blob/master/app/Http/Controllers/TutorHabilidadsController.php
Github Open Source
Open Source
MIT
2,019
TecDev
Carlozfsa
PHP
Code
189
903
<?php namespace App\Http\Controllers; use App\Habilidad; use Illuminate\Http\Request; class TutorHabilidadsController extends Controller { // public function create_hab_est_1(){ $edit = 0; $retro = NULL; $cal = NULL; $f1_decode = NULL; $f2_decode = NULL; $f...
44,061
https://github.com/kofhero/devacceleratenet/blob/master/src/Identity/Ejyle.DevAccelerate.Identity.AspNet/UserAgreementManager.cs
Github Open Source
Open Source
MIT
2,018
devacceleratenet
kofhero
C#
Code
112
392
// ---------------------------------------------------------------------------------------------------------------------- // Copyright © Ejyle Technologies (P) Ltd (www.ejyle.com) // Licensed under the MIT license. See the LICENSE file in the project's root directory for complete license information. // --------------...
17,270
https://github.com/switchYello/likou/blob/master/src/main/java/tree/P637.java
Github Open Source
Open Source
Apache-2.0
null
likou
switchYello
Java
Code
124
446
package tree; import java.util.ArrayList; import java.util.LinkedList; import java.util.List; import java.util.Queue; /* 给定一个非空二叉树, 返回一个由每层节点平均值组成的数组. 示例 1: 输入: 3 / \ 9 20 / \ 15 7 输出: [3, 14.5, 11] 解释: 第0层的平均值是 3, 第1层是 14.5, 第2层是 11. 因此返回 [3, 14.5, 11]. 注意: 节点值的范围在32位有符号整数范围内。 * */ public cla...
34,967
https://github.com/wafiq16/Laravel/blob/master/coba_install/resources/views/index.blade.php
Github Open Source
Open Source
MIT
2,021
Laravel
wafiq16
Blade
Code
170
991
<!DOCTYPE html> <html> <head> <title>Tutorial Membuat CRUD Pada Laravel - www.malasngoding.com</title> <!-- <link rel="stylesheet" type="text/css" href="{{asset('/css/app.css')}}"> --> <!-- JavaScript Bundle with Popper --> <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/js/bootstrap.bundle.min.js" i...
31,022
https://github.com/yemreak/OTOBIL-Simulator/blob/master/.gitignore
Github Open Source
Open Source
Apache-2.0
2,019
OTOBIL-Simulator
yemreak
Ignore List
Code
19
52
# VsCode Files .vscode # Sim directoru sim # Özel dosyalar _* # Python files __pycache__ # Pipfiles Pipfile
33,579
https://github.com/bensadiku/DIKotlin/blob/master/app/src/main/java/com/bensadiku/dikotlin/data/db/DatabaseFakeImpl.kt
Github Open Source
Open Source
MIT
null
DIKotlin
bensadiku
Kotlin
Code
14
50
package com.bensadiku.dikotlin.data.db class DatabaseFakeImpl : Database { override val quoteDao: QuoteDao = QuoteDaoFakeImpl() }
48,133
https://github.com/swisschain/Lykke.Sdk/blob/master/src/Antares.Sdk/AppLifetimeHandler.cs
Github Open Source
Open Source
MIT
null
Lykke.Sdk
swisschain
C#
Code
224
897
using System; using Antares.Sdk.Services; using Antares.Sdk.Settings; using Autofac; using Common.Log; using JetBrains.Annotations; using Lykke.Common.Log; using Lykke.MonitoringServiceApiCaller; using Lykke.SettingsReader; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.E...
7,764
https://github.com/nikhilbadyal/learn-cpp-primer/blob/master/Chapter 18/namespace.cpp
Github Open Source
Open Source
MIT
null
learn-cpp-primer
nikhilbadyal
C++
Code
25
58
#include<iostream> namespace a{ int m = 10; namespace b{ int m = 11; int n = 12; } } int main() { return 0; }
8,814
https://github.com/stettix/chronicles/blob/master/cli/src/test/scala/dev/chronicles/cli/StubConsole.scala
Github Open Source
Open Source
Apache-2.0
2,021
chronicles
stettix
Scala
Code
122
406
package dev.chronicles.cli import cats.effect.Sync import cats.effect.concurrent.Ref import cats.implicits._ import dev.chronicles.cli.StubConsole._ /** * Stub implementation of Console, that records interactions with the console. */ class StubConsole[F[_]](outputs: Ref[F, List[StubConsole.Event]])(implicit F: Sy...
22,229
https://github.com/heedy/heedy/blob/master/backend/database/admindb.go
Github Open Source
Open Source
Apache-2.0
2,022
heedy
heedy
Go
Code
2,548
6,186
package database import ( "database/sql" "encoding/json" "errors" "fmt" "strings" "time" "github.com/heedy/heedy/backend/assets" "github.com/heedy/heedy/backend/database/dbutil" "github.com/heedy/heedy/backend/events" "github.com/sirupsen/logrus" ) // AdminDB holds the main database, with admin access type...
52,202
https://github.com/terranc/LFCMS/blob/master/src/pages/setting/general.vue
Github Open Source
Open Source
MIT
2,016
LFCMS
terranc
Vue
Code
89
431
<template> <vue-helmet :title='title' v-ref:head></vue-helmet> <div class="wrapper" id="general"> <main class="main"> <group> <cell title="多语言" is-link></cell> </group> <group> <cell title="字体大小" is-link></cell> <cell title="聊天背景" is-link></cell> <cell title="我的...
41,395
https://github.com/sspans/ladvd/blob/master/tests/check_parent.c
Github Open Source
Open Source
ISC
2,022
ladvd
sspans
C
Code
1,794
7,144
/* * $Id$ * * Copyright (c) 2008, 2009 * Sten Spans <sten@blinkenlights.nl> * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWA...
16,602
https://github.com/ChaTbiM/trendSetterLaravel/blob/master/resources/views/dashboard/index.blade.php
Github Open Source
Open Source
MIT
null
trendSetterLaravel
ChaTbiM
PHP
Code
4
31
@extends('dashboard.layout') @section('content') <p>dashboard</p> @endsection
13,457
https://github.com/ericchase/four-pass-transport/blob/master/code/test/marshal-function.test.ts
Github Open Source
Open Source
MIT
2,019
four-pass-transport
ericchase
TypeScript
Code
206
746
import { expect } from 'chai'; import 'mocha'; import { Cell, Grid } from '../src/grid'; import { getAllMinimalDistancePaths } from '../src/minimal-distance-paths'; import { MinHeap } from '../src/min-heap'; import { convertCellsToLinearIndices, convertLinearIndicesToCells } from '../src/marshal-function'; describe(...
46,170
https://github.com/Voodoodrood/Masters/blob/master/VR Terrain Creation Prototype/Assets/LightCanvas.prefab
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, LicenseRef-scancode-public-domain
2,018
Masters
Voodoodrood
Unity3D Asset
Code
6,761
30,302
%YAML 1.1 %TAG !u! tag:unity3d.com,2011: --- !u!1001 &100100000 Prefab: m_ObjectHideFlags: 1 serializedVersion: 2 m_Modification: m_TransformParent: {fileID: 0} m_Modifications: [] m_RemovedComponents: [] m_ParentPrefab: {fileID: 0} m_RootGameObject: {fileID: 1779257362942278} m_IsPrefabParent: ...
45,482
https://github.com/AlfredMulder/Battle_Tank/blob/master/BattleTank/Source/BattleTank/Private/TankAIController.cpp
Github Open Source
Open Source
MIT
null
Battle_Tank
AlfredMulder
C++
Code
131
489
// Fill out your copyright notice in the Description page of Project Settings. #include "Engine/World.h" #include "TankAimingComponent.h" #include "GameFramework/PlayerController.h" #include "TankAIController.h" #include "Tank.h" // For death implement auto ATankAIController::BeginPlay() -> void { Super::BeginPlay()...
20,169
https://github.com/Olipro/Interceptify/blob/master/src/test/java/net/uptheinter/interceptify/util/TestAutoCloser.java
Github Open Source
Open Source
Apache-2.0
2,022
Interceptify
Olipro
Java
Code
78
236
package net.uptheinter.interceptify.util; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.*; class TestAutoCloser { Object chk; boolean success1; boolean success2; boolean success3; @SuppressWarnings("EmptyTryBlock") @Test void testAutoCloser() { ...
51,189
https://github.com/lastweek/source-freebsd/blob/master/src/lib/libpathconv/Makefile
Github Open Source
Open Source
Naumen, Condor-1.1, MS-PL
null
source-freebsd
lastweek
Makefile
Code
26
160
# $FreeBSD$ .include <src.opts.mk> PACKAGE=lib${LIB} LIB= pathconv SHLIB_MAJOR= 1 MAN= rel2abs.3 abs2rel.3 INCS= pathconv.h SRCS= abs2rel.c rel2abs.c #VERSION_DEF= ${SRCTOP/lib/libc/Versions.def #SYMBOL_MAPS= ${.CURDIR}/Symbol.map HAS_TESTS= #SUBDIR.${MK_TESTS}+= tests .include <bsd.lib.mk>
56,310
https://github.com/JC-Rave/Inventario/blob/master/plugins/Twbs-Pagination/tests/test.js
Github Open Source
Open Source
Apache-2.0, MIT, LicenseRef-scancode-unknown-license-reference
2,020
Inventario
JC-Rave
JavaScript
Code
1,422
6,366
(function ($) { var pag1 = $('#pagination'), destroyAndCreateWithOpts = function(elem, opts) { elem.twbsPagination('destroy'); elem.twbsPagination(opts); }; QUnit.test("Test destroy called before initialization", function (assert) { assert.ok(pag1.twbsPagination...
25,022
https://github.com/wolfhesse/looper/blob/master/src/main/java/com/jdkanani/looper/route/FilterEntry.java
Github Open Source
Open Source
MIT
2,014
looper
wolfhesse
Java
Code
52
133
package com.jdkanani.looper.route; /** * Represents each filter entry * * @author jdkanani */ public class FilterEntry extends BaseRoute { private Filter filter; public FilterEntry(HttpMethod method, String path, Filter filter) { this.method = method; this.path = path; this.filter ...
21,962
https://github.com/nigredo-tori/kantan.xpath/blob/master/core/src/main/scala/kantan/xpath/RetryStrategy.scala
Github Open Source
Open Source
Apache-2.0
2,022
kantan.xpath
nigredo-tori
Scala
Code
395
674
/* * Copyright 2016 Nicolas Rinaudo * * 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...
37,928
https://github.com/aws/aws-sam-cli-app-templates/blob/master/al2/go/event-bridge/{{cookiecutter.project_name}}/Makefile
Github Open Source
Open Source
Apache-2.0, MIT
2,023
aws-sam-cli-app-templates
aws
Makefile
Code
9
32
.PHONY: build build: go mod download github.com/aws/aws-lambda-go sam build
3,013
https://github.com/jimis/influxdb/blob/master/http/mock/middleware.go
Github Open Source
Open Source
MIT
2,019
influxdb
jimis
Go
Code
58
223
package mock import ( "net/http" "github.com/influxdata/influxdb" platcontext "github.com/influxdata/influxdb/context" ) // NewAuthMiddlewareHandler create a mocked middleware handler. func NewAuthMiddlewareHandler(handler http.Handler, auth influxdb.Authorizer) http.Handler { return &authMiddlewareHandler{ ha...
22,391
https://github.com/sheerockoff/bitrix-ci/blob/master/files/bitrix/modules/sale/lib/controller/action/entity/initiatepayaction.php
Github Open Source
Open Source
Unlicense
2,023
bitrix-ci
sheerockoff
PHP
Code
527
2,477
<?php namespace Bitrix\Sale\Controller\Action\Entity; use Bitrix\Main\Error; use Bitrix\Sale; use Bitrix\Sale\PaySystem\Internals\InitiatePayException; final class InitiatePayAction extends BaseAction { /** * Input arguments * @var array */ private $params = []; /** * @var Sale\PaySystem\ServiceResult ...
10,499
https://github.com/kirilmiletiev/JavaScript-Advanced-2019/blob/master/Lab Object Composition/01.OrderRectangles.js
Github Open Source
Open Source
MIT
2,019
JavaScript-Advanced-2019
kirilmiletiev
JavaScript
Code
59
194
function solve(arr) { let rectangles = []; for (let rectangleAsArr of arr) { let rectangle = { width: Number(rectangleAsArr[0]), height: Number(rectangleAsArr[1]), area: function () { return this.width * this.height; }, compareT...
46,977
https://github.com/nowimwrok/zd_ztpor/blob/master/src/main/java/com/thinkgem/jeesite/modules/wlpt/webapi/consume/ConsumeController.java
Github Open Source
Open Source
Apache-2.0
2,018
zd_ztpor
nowimwrok
Java
Code
2,282
10,750
package com.thinkgem.jeesite.modules.wlpt.webapi.consume; import com.thinkgem.jeesite.common.config.DataDic; import com.thinkgem.jeesite.common.config.Global; import com.thinkgem.jeesite.common.persistence.Page; import com.thinkgem.jeesite.common.utils.AccountUtils; import com.thinkgem.jeesite.common.utils.BaiduLBSUti...
19,394
https://github.com/wind0r/docs/blob/master/src/static/css/_consent_dialog.sass
Github Open Source
Open Source
Apache-2.0, CC-BY-SA-4.0
2,020
docs
wind0r
Sass
Code
36
151
#consent_dialog display: none position: fixed bottom: 0px z-index: 500 width: 100% background-color: #D7D7D7 padding: 20px text-align: center p text-align: left .buttons text-align: center .button margin-left: 10px margin-right: 10px .button.button-secondary background-color:...
47,112
https://github.com/SamuelMarks/dag1/blob/master/scripts/spin_processes.bash
Github Open Source
Open Source
MIT
2,021
dag1
SamuelMarks
Shell
Code
155
584
#!/usr/bin/env bash -euo pipefail declare -r DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" . "$DIR/set_globals.bash" declare -ri n="$1" if [ -z "$n" ]; then >&2 echo "Usage: $0 <number_of_nodes>" exit 1 fi # [ -f "$PEERS_DIR/peers.json" ] || echo 'peers.json not found' && exit 2 declare -ri digits...
54,508
https://github.com/mxschmitt/Stacks-Editor/blob/master/src/shared/markdown-it/stack-language-comments.ts
Github Open Source
Open Source
MIT
2,022
Stacks-Editor
mxschmitt
TypeScript
Code
532
1,395
import MarkdownIt from "markdown-it/lib"; import StateBlock from "markdown-it/lib/rules_block/state_block"; import State from "markdown-it/lib/rules_core/state_core"; function langCommentParser( matcher: RegExp, tokenType: string, state: StateBlock, startLine: number, endLine: number, silent: b...
51,243
https://github.com/syafik92/stp_v1/blob/master/src/main/java/com/stp/auth/model/RefLokasi.java
Github Open Source
Open Source
MIT
null
stp_v1
syafik92
Java
Code
92
371
package com.stp.auth.model; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.JoinColumn; import javax.persistence.ManyToOne; import javax.persistence.Table; impor...
16,928
https://github.com/sk2035206/data-structure/blob/master/src/main/java/com/io/base/structure/queue/ArrayQueue.java
Github Open Source
Open Source
Apache-2.0
null
data-structure
sk2035206
Java
Code
194
912
package com.io.base.structure.queue; import java.util.Arrays; /** * 自定义队列类 FIFO 先进先出 * @author sk * @date 2019-10-30 */ public class ArrayQueue { /** 队列数据 */ private int[] data; /** 队列头位置 */ private int head = 0; /** 队列尾位置 */ private int tail = 0; /** 队列大小 */ private int cap; /** 队列当前存放个数 */ private in...
16,114
https://github.com/cog-imperial/min_matches_heuristics/blob/master/data/mip_solutions/furman_sahinidis/transportation/6sp1_gurobi.sol
Github Open Source
Open Source
Apache-2.0
2,020
min_matches_heuristics
cog-imperial
Solidity
Code
39
395
Elapsed time: 0.30316901207 Nodes explored: 0 Upper bound: 6.0 Lower bound: 6.0 y[0,0]=1 y[0,1]=1 y[1,1]=1 y[1,2]=1 y[2,2]=1 y[2,3]=1 q[0,2,0,2]=800.0 q[0,2,1,3]=600.0 q[0,3,0,3]=2880.0 q[0,3,1,3]=2160.0 q[0,4,0,4]=320.0 q[0,4,0,5]=160.0 q[0,4,1,4]=80.0 q[0,5,0,5]=1120.0 q[1,0,1,3]=70.8 q[1,0,1,4]=575.2 q[1,0,2,2]=527....
42,531
https://github.com/hradio/OMRI/blob/master/omribase/src/main/java/org/omri/radioservice/metadata/SbtItem.java
Github Open Source
Open Source
Apache-2.0
null
OMRI
hradio
Java
Code
25
91
package org.omri.radioservice.metadata; public interface SbtItem { public long getId(); public long getPosixTime(); public boolean getItemToggleState(); public boolean getItemRunningState(); public TextualDabDynamicLabel getDls(); public VisualDabSlideShow getSls(); }
11,366
https://github.com/project-anuvaad/nmt-training/blob/master/config/__init__.py
Github Open Source
Open Source
MIT
2,022
nmt-training
project-anuvaad
Python
Code
7
22
## app configuration variables TRAIN_LOG_FILE = 'training_log_file.txt'
45,787
https://github.com/sduworm/grouprobot-frontend/blob/master/src/components/MobileVerification/MobileVerification.less
Github Open Source
Open Source
MIT
null
grouprobot-frontend
sduworm
Less
Code
17
59
.mobileVerification { .getCaptcha { width: 120px; } .inputVerification { width: calc(~'100% - 128px'); margin-right: 8px; } }
23,085
https://github.com/touxiong88/92_mediatek/blob/master/packages/apps/RCSe/core/src/com/orangelabs/rcs/core/ims/protocol/rtp/stream/RtpInputStream.java
Github Open Source
Open Source
Apache-2.0
2,022
92_mediatek
touxiong88
Java
Code
517
1,535
/******************************************************************************* * Software Name : RCS IMS Stack * * Copyright (C) 2010 France Telecom S.A. * * 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 cop...
46,313
https://github.com/helq/old_code/blob/master/proglangs-learning/Haskell/tensorflow-haskell-deptyped/library/TensorFlow/DepTyped/Variable.hs
Github Open Source
Open Source
CC0-1.0
2,021
old_code
helq
Haskell
Code
264
580
-- Copyright 2017 Elkin Cruz. -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to in ...
14,039
https://github.com/KMU-Dev/iKMU/blob/master/smali/tw/edu/kmu/act/WacTeaMainActivity$1.smali
Github Open Source
Open Source
MIT
2,020
iKMU
KMU-Dev
Smali
Code
359
2,450
.class Ltw/edu/kmu/act/WacTeaMainActivity$1; .super Ljava/lang/Object; .source "WacTeaMainActivity.java" # interfaces .implements Landroid/widget/AdapterView$OnItemClickListener; # annotations .annotation system Ldalvik/annotation/EnclosingMethod; value = Ltw/edu/kmu/act/WacTeaMainActivity;->showList()V .end ann...
1,530
https://github.com/Ellested/jint/blob/master/Jint/EsprimaExtensions.cs
Github Open Source
Open Source
BSD-2-Clause
2,020
jint
Ellested
C#
Code
414
1,155
using System; using System.Collections.Generic; using System.Globalization; using System.Runtime.CompilerServices; using Esprima.Ast; using Jint.Native; using Jint.Runtime; using Jint.Runtime.Interpreter.Expressions; namespace Jint { public static class EsprimaExtensions { public static JsValue GetKey(...
34,284
https://github.com/RockefellerArchiveCenter/project_electron/blob/master/example_scripts/validate_bag.py
Github Open Source
Open Source
CC0-1.0, MIT, LicenseRef-scancode-unknown-license-reference
2,023
project_electron
RockefellerArchiveCenter
Python
Code
404
1,144
Prompts users to specify an existing bag to validate. Validates against the BagIt Specification, this and the Rockefeller # Archive Center BagIt Profile. # Created by the @RockefellerArchiveCenter for Project Electron #!/usr/bin/env python import bagit import bagit_profile import iso8601 import json from os.path im...
15,859
https://github.com/Jerome-maker/ensae_teaching_cs/blob/master/_unittests/ut_td_1a/test_numpy.py
Github Open Source
Open Source
MIT
2,021
ensae_teaching_cs
Jerome-maker
Python
Code
46
188
""" @brief test log(time=1s) """ import unittest import numpy from pyquickhelper.loghelper import fLOG from ensae_teaching_cs.td_1a.numpys import numpy_matrix2list class TestTd1aNumpy(unittest.TestCase): def test_numpy(self): fLOG( __file__, self._testMethodName, ...
28,356
https://github.com/mpdannenberg/environmental-stress-conus/blob/master/build_table_rf_sstar.m
Github Open Source
Open Source
MIT
2,020
environmental-stress-conus
mpdannenberg
MATLAB
Code
140
698
% Build table of RF validation statistics for relative stress index % Full Model (TSC) cd RF_v4_TSC; load RF_v4_TSC_stats.mat; L1_stats = L1_stats(~any(isnan(L1_stats),2),:); L2_stats = L2_stats(~any(isnan(L2_stats),2),:); L3_stats = L3_stats(~any(isnan(L3_stats),2),:); A = [L1_stats;L2_stats;L3_stats]; T = table; ...
49,791