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/Minh-Trieu/quickperf/blob/master/junit5/junit5-extension/src/main/java/org/quickperf/junit5/JUnit5TestRunner.java
Github Open Source
Open Source
Apache-2.0
null
quickperf
Minh-Trieu
Java
Code
198
681
/* * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software distributed un...
33,323
https://github.com/morristech/ViewStateStore/blob/master/paging/build.gradle.kts
Github Open Source
Open Source
Apache-2.0
2,019
ViewStateStore
morristech
Kotlin
Code
27
106
plugins { id("com.android.library" ) id("kotlin-android" ) } android { applyAndroidConfig() } dependencies { implementation( project(":viewstatestore" ) ) applyAndroidTests() api( Libs.Android.paging ) androidTestImplementation( Libs.Android.paging_testing ) } publish("viewstatestore-paging"...
4,436
https://github.com/dvdoug/PHPCoord/blob/master/src/Geometry/Extents/BoundingBoxOnly/Extent4041.php
Github Open Source
Open Source
MIT
2,021
PHPCoord
dvdoug
PHP
Code
53
154
<?php /** * PHPCoord. * * @author Doug Wright */ declare(strict_types=1); namespace PHPCoord\Geometry\Extents\BoundingBoxOnly; /** * Arctic/Arctic - 71°N to 59°N, 84°W to 6°E. * @internal */ class Extent4041 { public function __invoke(): array { return [ [ [ ...
24,533
https://github.com/czyunqi/YQASP/blob/master/demo/yqasp.var/index.asp
Github Open Source
Open Source
MIT
2,021
YQASP
czyunqi
null
Spoken
183
929
<!--#include file="../../code/yqasp.asp" --><% YQasp.NoCache() YQasp.Var("myname") = "Lin" If YQasp.Has(Request.Form) Then YQasp.println "YQasp.Var(""yqasp.newid"") : " & YQasp.Var("yqasp.newid") YQasp.println "YQasp.Var(""url"") : " & YQasp.Var("url") YQasp.println "YQasp.Var(""myname"") : " & YQasp.Var("myname"...
34,019
https://github.com/JamesFehon-NSW/nsw-design-system/blob/master/src/components/feature-tile/_feature-tile.hbs
Github Open Source
Open Source
MIT
null
nsw-design-system
JamesFehon-NSW
null
Spoken
50
348
<div class="nsw-feature-tile"> {{>_feature-tile-title}} <div class="nsw-body-content"> {{{copy}}} </div> <div class="nsw-feature-tile__cards-group"> {{#each card-group}} <div class="nsw-feature-tile__card"> <img src="{{img}}" alt="" class="nsw-feature-tile__card-img" /> <p class="nsw-fea...
40,972
https://github.com/saudet/tensorflow-java/blob/master/tensorflow-core/tensorflow-core-api/src/main/java/org/tensorflow/exceptions/TFUnimplementedException.java
Github Open Source
Open Source
Apache-2.0
2,022
tensorflow-java
saudet
Java
Code
25
77
package org.tensorflow.exceptions; public final class TFUnimplementedException extends UnsupportedOperationException { public TFUnimplementedException(String message) { super(message); } public TFUnimplementedException(String message, Throwable cause) { super(message, cause); } }
2,495
https://github.com/M3stark/LeetCoding/blob/master/Hot100/1. 两数之和.cpp
Github Open Source
Open Source
MIT
2,021
LeetCoding
M3stark
C++
Code
227
812
/* 1. 两数之和 给定一个整数数组 nums 和一个整数目标值 target,请你在该数组中找出 和为目标值 的那 两个 整数, 并返回它们的数组下标。 你可以假设每种输入只会对应一个答案。但是,数组中同一个元素在答案里不能重复出现。 难度:简单 https://leetcode-cn.com/problems/two-sum/ */ /* 有人相爱,有人夜里开车看海,有人leetcode第一题都做不出来。 */ #include <iostream> #include <vector> #include <unordered_map> using namespace s...
4,978
https://github.com/seandmiller/My-Portfolio/blob/master/src/style/about.scss
Github Open Source
Open Source
MIT
null
My-Portfolio
seandmiller
SCSS
Code
112
407
@keyframes fadeIn { from { opacity: 0%; transform: scale(90%); } to { opacity:100%; transform: scale(100%); } } .about-container { display:grid; grid-template-columns: 1fr 1fr; width: 100%; heigh...
52,441
https://github.com/chen0040/java-leetcode/blob/master/src/main/java/com/github/chen0040/leetcode/day05/easy/PanlindromeNumber.java
Github Open Source
Open Source
MIT
2,021
java-leetcode
chen0040
Java
Code
93
223
package com.github.chen0040.leetcode.day05.easy; /** * Created by xschen on 31/7/2017. * * summary: * Determine whether an integer is a palindrome. Do this without extra space. * * link: https://leetcode.com/problems/palindrome-number/description/ */ public class PanlindromeNumber { public class Solution { ...
51,471
https://github.com/libredesarrollo/codeigniter3-master/blob/master/application/views/blog/template/body.php
Github Open Source
Open Source
MIT
null
codeigniter3-master
libredesarrollo
PHP
Code
209
906
<!DOCTYPE html> <html lang="es"> <head> <?php if (isset($title)) : meta_tags($title, $desc, $imgurl, $url); ?> <title><?php echo APP_NAME . ' | ' . $title ?></title> <?php else : ?> <title><?php echo APP_NAME . ' | ' . APP_DESCRIPTION ?></title> <?php endif; ?>...
6,049
https://github.com/zizhizhan/jvm-snippets/blob/master/lang/lang-basic/src/main/java/com/zizhizhan/legacies/pattern/state/v0/StateDoor.java
Github Open Source
Open Source
MIT
null
jvm-snippets
zizhizhan
Java
Code
105
378
package com.zizhizhan.legacies.pattern.state.v0; import java.util.HashMap; import java.util.Map; public class StateDoor { //private final State LOCKED = new LockState(this); //private final State UNLOCKED = new UnlockState(this); Map<String, State> map = new HashMap<String, State>(); { map.put("locked", new...
2,616
https://github.com/paser4se/moserp/blob/master/backend/common/common-base/src/test/java/org/moserp/common/rest/TestRestConfiguration.java
Github Open Source
Open Source
Apache-2.0
2,022
moserp
paser4se
Java
Code
221
851
/******************************************************************************* * Copyright 2013 Thomas Letsch (contact@thomas-letsch.de) * * 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...
42,378
https://github.com/Ginkgo-App/ginkgo_mobile/blob/master/lib/src/screens/tour_detail_screen/widgets/slider_widget.dart
Github Open Source
Open Source
MIT
2,021
ginkgo_mobile
Ginkgo-App
Dart
Code
96
459
import 'package:base/base.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:ginkgo_mobile/src/models/models.dart'; import 'package:ginkgo_mobile/src/utils/strings.dart'; import 'package:ginkgo_mobile/src/widgets/customs/simple_slider.dart'; import 'package:ginkgo_mo...
50,465
https://github.com/threefoldtech/zos/blob/master/pkg/utils/mark_test.go
Github Open Source
Open Source
Apache-2.0
2,023
zos
threefoldtech
Go
Code
28
119
package utils import ( "context" "testing" "time" "github.com/stretchr/testify/require" ) func TestMark(t *testing.T) { mark := NewMark() mark.Signal() mark.Signal() ctx, cancel := context.WithTimeout(context.Background(), 10*time.Second) defer cancel() require.NoError(t, mark.Done(ctx)) }
24,586
https://github.com/netcinematics/HOW_2_CRYPTO/blob/master/test/basic_oz.test.js
Github Open Source
Open Source
MIT
null
HOW_2_CRYPTO
netcinematics
JavaScript
Code
209
529
const { expect } = require('chai'); const { BN, expectEvent, expectRevert } = require('@openzeppelin/test-helpers'); const BASIC_oz = artifacts.require("BASIC_oz"); /* Use contract keyword instead of describe, for state clean up on network * docs: https://www.trufflesuite.com/docs/truffle/testing/writing-tests-in-java...
7,031
https://github.com/elie222/nestjs-typeorm-typegraphql/blob/master/src/app.module.ts
Github Open Source
Open Source
MIT
2,020
nestjs-typeorm-typegraphql
elie222
TypeScript
Code
41
122
import { Module } from "@nestjs/common"; import { GraphQLModule } from "@nestjs/graphql"; import { TypeOrmModule } from "@nestjs/typeorm"; import { CatModule } from "./cat/cat.module"; @Module({ imports: [ TypeOrmModule.forRoot(), GraphQLModule.forRoot({ autoSchemaFile: "schema.gql" }), CatModu...
50,077
https://github.com/tomicarsk6/material2-docs-content/blob/master/material/tree/tree-flat-overview/tree-flat-overview-example.d.ts
Github Open Source
Open Source
MIT
2,022
material2-docs-content
tomicarsk6
TypeScript
Code
144
410
import { FlatTreeControl } from '@angular/cdk/tree'; import { MatTreeFlatDataSource, MatTreeFlattener } from '@angular/material/tree'; import * as i0 from "@angular/core"; /** * Food data with nested structure. * Each node has a name and an optional list of children. */ interface FoodNode { name: string; chi...
14,987
https://github.com/vukics/cppqed/blob/master/CPPQEDcore/testsuite/NegPT.cc
Github Open Source
Open Source
BSL-1.0
2,023
cppqed
vukics
C++
Code
61
520
// Copyright András Vukics 2006–2022. Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.txt) #include "EntanglementMeasures.h" #define BOOST_TEST_MODULE NegativityOfThePartialTranspose test #include <boost/test/unit_test.hpp> using namespace quantumdata; typedef details::Exten...
52,180
https://github.com/Goncharov01/kotlin-spring-boot-rest-jpa-jwt-starter/blob/master/src/main/kotlin/osahner/security/JWTAuthenticationFilter.kt
Github Open Source
Open Source
MIT
2,018
kotlin-spring-boot-rest-jpa-jwt-starter
Goncharov01
Kotlin
Code
311
1,200
package osahner.security import com.fasterxml.jackson.databind.ObjectMapper import io.jsonwebtoken.Jwts import io.jsonwebtoken.SignatureAlgorithm import org.slf4j.LoggerFactory import org.springframework.security.authentication.AuthenticationManager import org.springframework.security.authentication.UsernamePasswordAu...
35,114
https://github.com/zengxiaofei/quota-alignment/blob/master/exp/simulation/batch_run.py
Github Open Source
Open Source
BSD-3-Clause
2,017
quota-alignment
zengxiaofei
Python
Code
151
539
#!/usr/bin/env python # -*- coding: UTF-8 -*- import itertools import sys from subprocess import Popen cmd0 = "simulation.py --inv_prob %.3f --loss_prob %.3f" cmd1 = "~/projects/quota-alignment/scripts/blast_to_raw.py blast/abblast%s --qbed bed/abed%s --sbed bed/bbed%s >/dev/null" cmd2 = "~/projects/quota-alignment/q...
649
https://github.com/hulknet/hulk/blob/master/app/types/key.go
Github Open Source
Open Source
MIT
null
hulk
hulknet
Go
Code
358
1,130
package types import ( "crypto/ecdsa" "crypto/x509/pkix" "encoding/asn1" "encoding/pem" "errors" "io/ioutil" "math/big" "path/filepath" "github.com/ethereum/go-ethereum/crypto" ) type PubKey [65]byte func (p PubKey) ID256() (id ID256) { copy(id[:], p[:32]) return id } func (p PubKey) Bytes() []byte { r...
3,239
https://github.com/amethyst-pro/event-store/blob/master/Amethyst.EventStore/src/Amethyst.EventStore.Streams/Stream.cs
Github Open Source
Open Source
Apache-2.0
2,020
event-store
amethyst-pro
C#
Code
240
951
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Amethyst.EventStore.Abstractions; using Amethyst.EventStore.Abstractions.Metadata; using Amethyst.EventStore.Abstractions.Serialization; using Amethyst.EventStore.Domain.Abstractions; using SharpJuice.Essentials; nam...
17,242
https://github.com/chasedreamer/openvcx/blob/master/openvsx/include/server/srvprop.h
Github Open Source
Open Source
LicenseRef-scancode-warranty-disclaimer, Apache-2.0, LicenseRef-scancode-unknown-license-reference
2,016
openvcx
chasedreamer
C
Code
234
581
/** <!-- * * Copyright (C) 2014 OpenVCX openvcx@gmail.com * * 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 ve...
11,705
https://github.com/Swiip/component-test-utils/blob/master/packages/component-test-utils-react/index.spec.js
Github Open Source
Open Source
MIT
null
component-test-utils
Swiip
JavaScript
Code
25
50
describe('component-test-utils-react', () => { it('should export by default an object with all methods', () => {}); it('should export shallow method directly', () => {}); });
32,945
https://github.com/ngocsangyem/vientiane-rescue/blob/master/gulpfile.babel.js
Github Open Source
Open Source
MIT
null
vientiane-rescue
ngocsangyem
JavaScript
Code
161
867
import path from "path"; import gulp from "gulp"; import glob from "glob"; import { KarmaServer, args } from "./gulp/utils"; glob.sync("./gulp/tasks/**/*.js") .filter(function(file) { return /\.(js)$/i.test(file); }) .map(function(file) { require(file); }); gulp.task( "serve", gulp.series([ "clean", "pu...
28,757
https://github.com/SamVanhoutte/conversational-ai/blob/master/src/03-bot/NasdaqBot/Models/StockOrder.cs
Github Open Source
Open Source
MIT
null
conversational-ai
SamVanhoutte
C#
Code
51
94
namespace NasdaqBot.Models { public class StockOrder { public string OrderNumber { get; set; } public string StockSymbol { get; set; } public string OrderType { get; set; } public int Amount { get; set; } public decimal Limit { get; set; } public decimal Costs { g...
19,133
https://github.com/KinoxKlark/game-jam-02-2019/blob/master/tests/src/write2.cc
Github Open Source
Open Source
MIT
null
game-jam-02-2019
KinoxKlark
C++
Code
170
650
#include <fstream> #include <iostream> #include <vector> #include <string.h> using namespace std; // Code trouver ici: https://stackoverflow.com/questions/5506645/how-to-read-write-a-struct-in-binary-files, ne crache pas d'erreur mais est critiqué vivement typedef struct student { char name[10]; int age; ...
14,551
https://github.com/pheintzelman/appily-validate/blob/master/src/validators/comparisonValidator.js
Github Open Source
Open Source
MIT
2,021
appily-validate
pheintzelman
JavaScript
Code
193
562
import { ComparisonOperator } from '../constant'; const Operator = { Equal: (a, b) => a === b, NotEqual: (a, b) => a !== b, GreaterThan: (a, b) => typeof a == typeof b && a > b, GreaterThanOrEqual: (a, b) => typeof a == typeof b && a >= b, LessThan: (a, b) => typeof a == typeof b && a < b, LessThanOrEqual:...
7,927
https://github.com/netravnen/peering-manager/blob/master/extras/webhooks.py
Github Open Source
Open Source
Apache-2.0
2,023
peering-manager
netravnen
Python
Code
232
876
import hashlib import hmac from django.contrib.contenttypes.models import ContentType from django.utils import timezone from django_rq import get_queue from extras.enums import ObjectChangeAction from extras.models import Webhook from utils.api import get_serializer_for_model from utils.functions import serialize_obj...
49,276
https://github.com/mpofukelvintafadzwa/political/blob/master/deputies_parser.py
Github Open Source
Open Source
MIT
2,019
political
mpofukelvintafadzwa
Python
Code
532
1,765
import os import ast import xnet import json import pickle import zipfile import concurrent.futures import numpy as np import cairocffi as cairo import matplotlib.pyplot as plt from igraph import Graph from collections import defaultdict, namedtuple Deputy = namedtuple('Deputy', ['name', 'political_party']) def ge...
51,026
https://github.com/lukechurch/as_test_supreme-octo-spork/blob/master/lib/src/services/correction/assist.dart
Github Open Source
Open Source
BSD-3-Clause
null
as_test_supreme-octo-spork
lukechurch
Dart
Code
603
2,109
// Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. library services.correction.assist; import 'package:analysis_server/plugin/edit/assist/assist_core.dar...
41,113
https://github.com/worksbyscott/prism-animation/blob/master/src/prism/animator/progressStep.js
Github Open Source
Open Source
MIT
2,021
prism-animation
worksbyscott
JavaScript
Code
469
1,132
import { getElements } from '../../utils/getElements'; import { interpolate, is } from '../../utils/interpolator' import Type from '../../utils/AnimationType' import { getUnit, detectTransitionType, getInitialValue, verifyValue, getTransforms, convertPx } from '../../utils/transforms' /** * Generate the animatable ...
25,790
https://github.com/yztldxdzhu/gp/blob/master/src/main/webapp/webpack.config.js
Github Open Source
Open Source
MIT
2,019
gp
yztldxdzhu
JavaScript
Code
481
4,349
// webpack 是什么? // MODULE BUNDLER // 它是这么自称的,模块打包器。 // 这是 webpack 一类工具的特点,它们在 HTML 文件直接引用构建后的 js 文件,而不是源文件。 // 实时重新构建。 webpack --watch // 实时刷新页面。 webpack-dev-server (--inline) (--hot) // 1. js 文件修改 // 2. webpack-dev-server 监控到变化 // 3. webpack 在内存中重新构建 bundle.js // 4. webpack-dev-server 保证浏览器页面引用的 bun...
29,701
https://github.com/antlr/grammars-v4/blob/master/cobol85/java/sub/document/CobolDocumentParser.java
Github Open Source
Open Source
2,023
grammars-v4
antlr
Java
Code
55
179
/* * Copyright (C) 2017, Ulrich Wolffgang <u.wol@wwu.de> * All rights reserved. * * This software may be modified and distributed under the terms * of the BSD 3-clause license. See the LICENSE file for details. */ package io.proleap.cobol.preprocessor.sub.document; import io.proleap.cobol.preprocessor.CobolPrep...
10,669
https://github.com/BrayanKellyBalbuena/hhrr-unapec/blob/master/src/api/src/main/java/edu/unapec/hhrr/infrastructure/repositories/commands/LanguageCommandRepository.java
Github Open Source
Open Source
MIT
null
hhrr-unapec
BrayanKellyBalbuena
Java
Code
20
122
package edu.unapec.hhrr.infrastructure.repositories.commands; import edu.unapec.hhrr.core.entities.Language; import edu.unapec.hhrr.core.entities.Skill; import org.springframework.data.domain.Page; import org.springframework.data.domain.Pageable; import org.springframework.data.jpa.repository.Query; public interface ...
15,904
https://github.com/mwulffn/UrlTracker/blob/master/SQL/SqlServerCompact/create-table-2.sql
Github Open Source
Open Source
MIT
2,014
UrlTracker
mwulffn
SQL
Code
9
28
ALTER TABLE [icUrlTracker] ADD CONSTRAINT [PK_icUrlTracker] PRIMARY KEY ([Id])
4,783
https://github.com/springphp/webwcf/blob/master/application/common.php
Github Open Source
Open Source
Apache-2.0
null
webwcf
springphp
PHP
Code
1,371
5,865
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- // | Copyright (c) 2006-2016 http://thinkphp.cn All rights reserved. // +-------------------------------------------------...
6,123
https://github.com/adamfitzpatrick/powerall/blob/master/powerall-web/src/index.tsx
Github Open Source
Open Source
MIT
null
powerall
adamfitzpatrick
TypeScript
Code
31
64
import * as React from 'react' import { render } from 'react-dom' import { App } from '@components' const target = document.getElementById('home') if (target) { render(( <App /> ), target) }
27,731
https://github.com/marius-klimantavicius/jint/blob/master/Jint.Tests/Runtime/ExtensionMethods/DoubleExtensions.cs
Github Open Source
Open Source
BSD-2-Clause
2,022
jint
marius-klimantavicius
C#
Code
24
57
namespace Jint.Tests.Runtime.ExtensionMethods { public static class DoubleExtensions { public static double Add(this double integer, int add) { return integer + add; } } }
4,869
https://github.com/Jibbow/arrow2/blob/master/src/ffi/array.rs
Github Open Source
Open Source
Apache-2.0
2,021
arrow2
Jibbow
Rust
Code
525
1,935
// Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may...
24,971
https://github.com/tlaplus/tlaplus/blob/master/tlatools/org.lamport.tlatools/src/tlc2/tool/fp/FPSetStatistic.java
Github Open Source
Open Source
MIT
2,023
tlaplus
tlaplus
Java
Code
307
841
// Copyright (c) 2012 Markus Alexander Kuppe. All rights reserved. package tlc2.tool.fp; import java.io.IOException; public interface FPSetStatistic { /** * @return the bucketsCapacity counting all allocated (used and unused) fp slots in the in-memory storage. */ public long getBucketCapacity(); /** * @re...
24,338
https://github.com/NixOS/nixpkgs-channels/blob/master/pkgs/applications/audio/rhvoice/default.nix
Github Open Source
Open Source
MIT
2,021
nixpkgs-channels
NixOS
null
Spoken
142
441
{ stdenv, lib, pkgconfig, fetchFromGitHub, sconsPackages , python, glibmm, libpulseaudio, libao }: let version = "unstable-2018-02-10"; in stdenv.mkDerivation { pname = "rhvoice"; inherit version; src = fetchFromGitHub { owner = "Olga-Yakovleva"; repo = "RHVoice"; rev = "7a25a881b0465e47a12d8029b5...
47,675
https://github.com/reoreo125/Kermite/blob/master/software/src/ui/layouter/common/index.ts
Github Open Source
Open Source
MIT
2,021
Kermite
reoreo125
TypeScript
Code
12
30
export * from './LayouterAppGlobal'; export * from './UiInteractionHelpers'; export * from './Hooks';
52,633
https://github.com/Azure/azure-sdk-for-net/blob/master/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/Models/RestoreStatus.cs
Github Open Source
Open Source
LGPL-2.1-or-later, Apache-2.0, MIT, LicenseRef-scancode-generic-cla
2,023
azure-sdk-for-net
Azure
C#
Code
386
900
// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // re...
36,103
https://github.com/brettclanton001/Dashous/blob/master/app/assets/javascripts/views/authentication/signup.coffee
Github Open Source
Open Source
MIT
2,018
Dashous
brettclanton001
CoffeeScript
Code
98
508
class Dashous.Views.Authentication.Signup extends Dashous.Views.Authentication.Base template: 'authentication/signup' ui: form: '.js-form' inputs: '.js-form input' submitButton: '.js-form input[type="submit"]' errorMessages: '.js-form .js-error-message' email: '.js-form input#user_email' us...
20,304
https://github.com/equinor/fusion-components/blob/master/src/components/core/Root/styles.less
Github Open Source
Open Source
MIT
2,022
fusion-components
equinor
Less
Code
247
1,195
@import '~styles/variables.css'; @import '~styles/colors.less'; .container, .overlay { font-family: Equinor, sans-serif; width: 100%; height: 100%; color: var(--color-primary-accent); * { font-family: Equinor, sans-serif; } a { color: var(--color-primary); } h1, ...
44,362
https://github.com/barrhaim/jruby/blob/master/core/src/main/java/org/jruby/ext/ffi/jffi/Signature.java
Github Open Source
Open Source
Ruby, Apache-2.0
2,022
jruby
barrhaim
Java
Code
182
575
package org.jruby.ext.ffi.jffi; import com.kenai.jffi.CallingConvention; import java.util.Arrays; import org.jruby.RubyHash; import org.jruby.ext.ffi.Enums; import org.jruby.ext.ffi.Type; /** * A native function signature */ final class Signature { private final Type resultType; private final Type[] paramet...
19,589
https://github.com/denizdsh/solvit-rest-api/blob/master/Topic/topicController.js
Github Open Source
Open Source
MIT
null
solvit-rest-api
denizdsh
JavaScript
Code
606
1,727
const router = require('express').Router(); const service = require('./topicService'); const { getFollowingCategories, getSavedTopics, getImageByUsername } = require('../User/userService'); const { isUser, isOwner } = require('../middlewares/guards'); router.get('/', async (req, res) => { const sortBy = req.query....
36,613
https://github.com/joostrenes/web/blob/master/software/kummer/cref-kl25519/test/print.c
Github Open Source
Open Source
MIT
2,023
web
joostrenes
C
Code
17
125
#include "print.h" void fe25519_print(const fe25519 *x) { int i,j; for(j=0;j<4;j++) { printf("{"); for(i=8*j;i<8*(j+1)-1;i++) printf("0x%02X,",x->v[i]); printf("0x%02X};\n",x->v[i]); } }
24,276
https://github.com/tamiadev/tamia-grunt/blob/master/index.js
Github Open Source
Open Source
MIT
2,015
tamia-grunt
tamiadev
JavaScript
Code
957
2,807
/** * Tâmia workflow for Grunt. * * @author Artem Sapegin (http://sapegin.me) */ module.exports = function(grunt, config) { 'use strict'; var path = require('path'); var glob = require('glob'); var _ = require('lodash'); var prettyjson = require('prettyjson'); var childProcess = require('child_process'); ...
34,276
https://github.com/NixOS/nixpkgs-channels/blob/master/pkgs/development/tools/qtcreator/default.nix
Github Open Source
Open Source
MIT
2,021
nixpkgs-channels
NixOS
null
Spoken
377
1,466
{ mkDerivation, lib, fetchurl, fetchgit, fetchpatch , qtbase, qtquickcontrols, qtscript, qtdeclarative, qmake, llvmPackages_8 , withDocumentation ? false, withClangPlugins ? true }: with lib; let # Fetch clang from qt vendor, this contains submodules like this: # clang<-clang-tools-extra<-clazy. clang_qt_vendo...
38,674
https://github.com/manikyabard/DashAI/blob/master/core/databunch.py
Github Open Source
Open Source
Apache-2.0, MIT, LicenseRef-scancode-unknown-license-reference, BSD-3-Clause, LicenseRef-scancode-free-unknown
2,021
DashAI
manikyabard
Python
Code
367
1,639
from fastai.vision import * class DashDatabunch: """ Provides helper functions for splitting, labelling, and creating databunch for your itemlists """ @staticmethod def split_databunch(response, src): """ Splits databunch according to the method specified in the response/DashUI. """ # try: path = Path...
13,711
https://github.com/TaleLin/lin-cms-vue/blob/master/src/plugin/lin-cms-ui/view/notice/notification.vue
Github Open Source
Open Source
MIT
2,023
lin-cms-vue
TaleLin
Vue
Code
645
3,258
<template> <div class="lin-container"> <div class="lin-title">Notification 通知</div> <div class="lin-wrap-ui"> <el-card style="margin-bottom:50px;"> <template #header> <div><span>基础用法</span></div> </template> <el-row> <div> <template> ...
4,524
https://github.com/Lightning-AI/torchmetrics/blob/master/tests/unittests/regression/test_cosine_similarity.py
Github Open Source
Open Source
Apache-2.0, LicenseRef-scancode-proprietary-license
2,023
torchmetrics
Lightning-AI
Python
Code
340
1,162
# Copyright The Lightning team. # # 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 writin...
24,501
https://github.com/Kevin-Ol/project-js-unit-tests/blob/master/src/vqv.js
Github Open Source
Open Source
MIT
null
project-js-unit-tests
Kevin-Ol
JavaScript
Code
43
101
const vqv = (nome, idade) => { if (typeof (nome) === 'string' && typeof (idade) === 'number') { return `Oi, meu nome é ${nome}! Tenho ${idade} anos, trabalho na Trybe e mando muito em programação! #VQV!`; } return undefined; }; module.exports = vqv;
29,861
https://github.com/uk-gov-mirror/hmrc.off-payroll-frontend/blob/master/test/assets/messages/NeededToPayHelperMessages.scala
Github Open Source
Open Source
Apache-2.0
2,022
hmrc.off-payroll-frontend
uk-gov-mirror
Scala
Code
104
154
/* * Copyright 2021 HM Revenue & Customs * */ package assets.messages object NeededToPayHelperMessages extends BaseMessages { object Worker { val error = "Select yes if you paid another person to do a significant amount of this work" val heading = "Have you paid another person to do a significant ...
33,314
https://github.com/terradatum/rets-client/blob/master/src/main/java/org/realtors/rets/metadata/attrib/AttrNumeric.java
Github Open Source
Open Source
MIT
null
rets-client
terradatum
Java
Code
79
228
/* * cart: CRT's Awesome RETS Tool * * Author: David Terrell * Copyright (c) 2003, The National Association of REALTORS * Distributed under a BSD-style license. See LICENSE.TXT for details. */ package org.realtors.rets.metadata.attrib; import org.realtors.rets.metadata.AttrType; import org.realtors.rets.metada...
30,859
https://github.com/wylcasia/wylcasia.github.io/blob/master/bibs/tifs2021.bib
Github Open Source
Open Source
2,023
wylcasia.github.io
wylcasia
null
Spoken
35
130
@article{muhammad2021casia, author={Muhammad, Jawad and Wang, Yunlong and Wang, Caiyong and Zhang, Kunbo and Sun, Zhenan}, journal={IEEE Transactions on Information Forensics and Security}, title={CASIA-Face-Africa: A Large-Scale African Face Image Database}, year={2021}, volume={16}, number={}, pages={...
776
https://github.com/TGAC/grassroots-service-dfw-field-trial/blob/master/include/crop_ontology_tool.h
Github Open Source
Open Source
Apache-2.0
2,020
grassroots-service-dfw-field-trial
TGAC
C
Code
407
995
/* ** Copyright 2014-2018 The Earlham Institute ** ** 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...
45,275
https://github.com/minterscan/minter_multisend/blob/master/src/style/components/input-import.scss
Github Open Source
Open Source
MIT
2,020
minter_multisend
minterscan
SCSS
Code
5
18
.input-import { margin-bottom: .75rem; }
47,740
https://github.com/PiedWeb/ReservationBundle/blob/master/src/PaymentMethod/Free.php
Github Open Source
Open Source
MIT
null
ReservationBundle
PiedWeb
PHP
Code
36
104
<?php namespace PiedWeb\ReservationBundle\PaymentMethod; class Free extends PaymentMethod { /** * @var int */ protected $id = 3; /** * @var string */ protected $humanId = 'free'; /** * @var string */ protected $redirectRoute = 'piedweb_reservation_step_6'; }
33,233
https://github.com/lulzzz/oss-pcf-gcp-retail-demo/blob/master/twitter/twitter.py
Github Open Source
Open Source
Apache-2.0, MIT
2,018
oss-pcf-gcp-retail-demo
lulzzz
Python
Code
864
2,437
#!/usr/bin/env python # # Copyright (c) 2017-Present Pivotal Software, 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/licenses/LICE...
53,318
https://github.com/Wechat-Group/WxJava/blob/master/weixin-graal/src/main/java/com/github/binarywang/wx/graal/GraalProcessor.java
Github Open Source
Open Source
Apache-2.0
2,023
WxJava
Wechat-Group
Java
Code
427
1,643
package com.github.binarywang.wx.graal; import lombok.Data; import javax.annotation.processing.AbstractProcessor; import javax.annotation.processing.RoundEnvironment; import javax.annotation.processing.SupportedAnnotationTypes; import javax.annotation.processing.SupportedSourceVersion; import javax.lang.model.SourceV...
45,059
https://github.com/ysden123/netflix-conductor-poc/blob/master/netflix-conductor/conductor-worker/src/main/scala/com/stulsoft/poc/conductor/worker/AppConfig.scala
Github Open Source
Open Source
MIT
2,020
netflix-conductor-poc
ysden123
Scala
Code
46
186
/* * Copyright (c) 2019. Yuriy Stul */ package com.stulsoft.poc.conductor.worker import java.io.File import com.typesafe.config.ConfigFactory /** * @author Yuriy Stul */ object AppConfig { private lazy val config = ConfigFactory.parseFile(new File("application.conf")) .withFallback(ConfigFactory.load()) ...
21,370
https://github.com/Tongwenfan/create-react-temp/blob/master/src/pages/shop/shop.scss
Github Open Source
Open Source
MIT
2,019
create-react-temp
Tongwenfan
SCSS
Code
953
3,793
@import '../../assets/iconfont/iconfont.css'; @import '../../style/mixin.scss'; @keyframes active { from, 50%, 100% { -webkit-animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000); animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000); } 0% { transform: scale(1); } 50%...
39,962
https://github.com/Shadowthecooldude/B.O.P.E/blob/master/B.O.P.E/build/sources/main/java/rina/turok/bope/bopemod/commands/BopeFriendC.java
Github Open Source
Open Source
MIT
2,020
B.O.P.E
Shadowthecooldude
Java
Code
312
1,293
package rina.turok.bope.bopemod.commands; import net.minecraft.client.network.NetworkPlayerInfo; import net.minecraft.client.Minecraft; import com.mojang.util.UUIDTypeAdapter; import com.google.common.base.Converter; import com.google.gson.JsonPrimitive; import com.google.gson.JsonElement; import com.google.gson.Jso...
27,363
https://github.com/0x5b25/CNN_Core/blob/master/ip/fpacc/fpacc_sim.f
Github Open Source
Open Source
MIT
2,022
CNN_Core
0x5b25
null
Spoken
3
42
fpacc_sim/dspba_library_package.vhd fpacc_sim/dspba_library.vhd fpacc_sim/fpacc.vhd
31,077
https://github.com/Hegemege/raytracer/blob/master/src/frontend/app/src/components/Renderer/Renderer.js
Github Open Source
Open Source
MIT
null
raytracer
Hegemege
JavaScript
Code
2,262
7,627
import { Row, Button, Container, Col, Dropdown } from "react-bootstrap"; import BaseComponent from "../Common/BaseComponent"; import React from "react"; import RendererFrame from "./RendererFrame"; import RendererStats from "./RendererStats"; import RendererParams from "./RendererParams"; import MD5 from "crypto-js/m...
22,812
https://github.com/MIPS/external-opencore/blob/master/protocols/systems/3g-324m_pvterminal/common/src/pv_2way_h324m_types.cpp
Github Open Source
Open Source
MIT, LicenseRef-scancode-other-permissive, Artistic-2.0, LicenseRef-scancode-philippe-de-muyter, Apache-2.0, LicenseRef-scancode-mpeg-iso, LicenseRef-scancode-unknown-license-reference
2,010
external-opencore
MIPS
C++
Code
288
1,210
/* ------------------------------------------------------------------ * Copyright (C) 1998-2010 PacketVideo * * 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.o...
48,772
https://github.com/locomotivecms/engine/blob/master/app/api/locomotive/api/forms/account_form.rb
Github Open Source
Open Source
MIT
2,023
engine
locomotivecms
Ruby
Code
22
68
module Locomotive module API module Forms class AccountForm < BaseForm attrs :name, :email, :locale, :api_key, :super_admin, :password, :password_confirmation end end end end
45,166
https://github.com/DovAlduin/terra-front/blob/master/src/modules/Map/InteractiveMap/components/BackgroundStyles/index.js
Github Open Source
Open Source
ISC
2,021
terra-front
DovAlduin
JavaScript
Code
11
25
import BackgroundStyles from './BackgroundStyles'; export * from './BackgroundStyles'; export default BackgroundStyles;
20,155
https://github.com/weblizar/EnigmaWPORG/blob/master/breadcrums.php
Github Open Source
Open Source
MIT
null
EnigmaWPORG
weblizar
PHP
Code
72
233
<?php $breadcrumb = get_theme_mod('breadcrumb', 1); if ( $breadcrumb == 1) { $class = 'no-breadcrumb'; } else { $class = ''; } ?> <div class="enigma_header_breadcrum_title <?php echo esc_attr($class); ?>"> <div class="container"> <div class="row"> <div class="col-md-12"> ...
7,905
https://github.com/esolCrusador/LinqExpressionsMapper/blob/master/src/LinqExpressionsMapper/Extensions/LinqExpression/Visitors/ParameterRebinder.cs
Github Open Source
Open Source
Apache-2.0, LicenseRef-scancode-unknown-license-reference
2,016
LinqExpressionsMapper
esolCrusador
C#
Code
50
167
using System.Linq.Expressions; namespace LinqExpressionsMapper.Extensions.LinqExpression.Visitors { internal class ParameterRebinder:ExpressionVisitor { private readonly ParameterExpression _replaceParam; private readonly ParameterExpression _targetParam; public ParameterRebinder(Para...
51,957
https://github.com/kj84park/android-java-news/blob/master/app/src/main/java/kr/kyungjoon/hansol/newssample/ui/component/main/MainView.java
Github Open Source
Open Source
MIT
2,018
android-java-news
kj84park
Java
Code
31
143
package kr.kyungjoon.hansol.newssample.ui.component.main; import android.widget.Spinner; import java.util.List; import kr.kyungjoon.hansol.newssample.network.dto.Articles; /** * Created by HANSOL on 2018-03-13. */ public interface MainView { void setProgressBarVisibility(int visibility); void initRecycl...
31,961
https://github.com/CiscoDevNet/ydk-cpp/blob/master/cisco-nx-os/ydk/models/cisco_nx_os/fragmented/Cisco_NX_OS_device_36.hpp
Github Open Source
Open Source
ECL-2.0, Apache-2.0
2,022
ydk-cpp
CiscoDevNet
C++
Code
14,396
63,844
#ifndef _CISCO_NX_OS_DEVICE_36_ #define _CISCO_NX_OS_DEVICE_36_ #include <memory> #include <vector> #include <string> #include <ydk/types.hpp> #include <ydk/errors.hpp> #include "Cisco_NX_OS_device_0.hpp" #include "Cisco_NX_OS_device_35.hpp" namespace cisco_nx_os { namespace Cisco_NX_OS_device { class System::EpsI...
18,122
https://github.com/irtyamine/algorithm-training/blob/master/0946. Validate Stack Sequences.ts
Github Open Source
Open Source
Apache-2.0
2,021
algorithm-training
irtyamine
TypeScript
Code
45
108
function validateStackSequences (pushed: number[], popped: number[]): boolean { const n = pushed.length const stack = [] let j = 0 for (const num of pushed) { stack.push(num) while (stack.length && stack[stack.length - 1] === popped[j]) { stack.pop() j++ } } return j === n }
42,095
https://github.com/dingqy/riscv-core/blob/master/vivado_project/vivado_project.runs/design_1_SenderSolver_i_0_0_synth_1/design_1_SenderSolver_i_0_0_stub.vhdl
Github Open Source
Open Source
MIT
null
riscv-core
dingqy
VHDL
Code
199
703
-- Copyright 1986-2019 Xilinx, Inc. All Rights Reserved. -- -------------------------------------------------------------------------------- -- Tool Version: Vivado v.2019.1.3 (win64) Build 2644227 Wed Sep 4 09:45:24 MDT 2019 -- Date : Tue Mar 3 22:36:15 2020 -- Host : DESKTOP-R2IVILV running 64-bit maj...
51,371
https://github.com/spgwzp/NodeMCU-with-Android/blob/master/ModeMCU/ModeMCU.ino
Github Open Source
Open Source
Apache-2.0
2,017
NodeMCU-with-Android
spgwzp
C++
Code
1,067
3,034
#include <ESP8266WiFi.h> #include <WiFiClient.h> #include <ESP8266WebServer.h> #include <EEPROM.h> #define LED 2 #define LIGHTBULB 16 #define USER_RESET 0 #define FACTORY_RESET 4 ESP8266WebServer server(80); bool ap_mode = true; //indicate if ESP needs AP mode bool sta_mode = false; //indicate if ESP needs ST...
39,200
https://github.com/shamork/SeaweedFs.Net/blob/master/src/SeaweedFs/Infrastructure/FileChunkInfo.cs
Github Open Source
Open Source
MIT
null
SeaweedFs.Net
shamork
C#
Code
87
180
// *********************************************************************** // Assembly : SeaweedFs // Author : piechpatrick // Created : 10-11-2021 // // Last Modified By : piechpatrick // Last Modified On : 10-11-2021 // **********************************************************************...
14,028
https://github.com/renber/xbindings/blob/master/src/main/java/org/jdesktop/beansbinding/AbstractBindingListener.java
Github Open Source
Open Source
MIT
null
xbindings
renber
Java
Code
520
1,071
/*********************************************************************************************************************** * * BetterBeansBinding - keeping JavaBeans in sync * ============================================== * * Copyright (C) 2009 by Tidalwave s.a.s. (http://www.tidalwave.it) * http://betterbeansbind...
2,652
https://github.com/Shata13/SalonManagementSystem/blob/master/salon/myprofile.jsp
Github Open Source
Open Source
FTL
null
SalonManagementSystem
Shata13
null
Spoken
85
403
<%@page import="java.sql.DriverManager"%> <%@page import="java.sql.ResultSet"%> <%@page import="java.sql.Statement"%> <%@page import="java.sql.Connection"%> <% String id = request.getParameter("userid"); Class.forName("com.mysql.jdbc.Driver"); Connection con = DriverManager.getConnection("jdbc:mysql://localhost/salon...
21,834
https://github.com/Senth/my-musical-repertoire/blob/master/lib/features/piece/domain/repositories/piece_repository.dart
Github Open Source
Open Source
MIT
null
my-musical-repertoire
Senth
Dart
Code
104
217
import '../entities/piece_entity.dart'; abstract class PieceRepository { /// Add a new piece to your musical repertoire /// Returns the piece with a set newly set id /// Throws a [Failure] if the piece couldn't be added Future<PieceEntity> addPiece(PieceEntity piece); /// Update/Save the changed piece infor...
34,987
https://github.com/guyvdb/farm-mote-old/blob/master/components/fmkv/kv.h
Github Open Source
Open Source
MIT
2,020
farm-mote-old
guyvdb
C
Code
108
354
#pragma once #include <esp_err.h> void initialize_kv(void); esp_err_t get_wifi_ssid(char *buf, size_t len); esp_err_t set_wifi_ssid(char *value); esp_err_t get_wifi_password(char *buf, size_t len); esp_err_t set_wifi_password(char *value); esp_err_t get_gateway_address(char *buf, size_t len); esp_err_t set_gateway...
2,691
https://github.com/ditoplica/ABC-AddUserRandomGenerator/blob/master/src/@fury/shared/page-layout/page-layout.directive.theme.scss
Github Open Source
Open Source
MIT
null
ABC-AddUserRandomGenerator
ditoplica
SCSS
Code
31
139
.fury-page-layout { } .fury-page-layout-header { background: $theme-color-primary; color: $theme-color-primary-contrast; fury-breadcrumbs { .crumb, .link { color: $light-secondary-text; &:hover { color: $light-primary-text; } } .crumb.current, .crumb.current .link { ...
33,638
https://github.com/jacobdotcosta/snowdrop-automation-client/blob/master/lib/support/example/tagFinder.ts
Github Open Source
Open Source
Apache-2.0
2,020
snowdrop-automation-client
jacobdotcosta
TypeScript
Code
125
429
export interface LatestTagFinder { find(tags: string[], springBootVersion: string): string | null; } export const latestCommunityTagFinder = { find(tags: string[], springBootVersion: string): string | null { const tagRegex = new RegExp(`^${trimSpringBootVersion(springBootVersion)}-[0-9]+$`, "g"); const inc...
49,673
https://github.com/EvgeniyVorobev/fedir/blob/master/src/scripts/controllers/register.js
Github Open Source
Open Source
MIT
null
fedir
EvgeniyVorobev
JavaScript
Code
108
391
'use strict'; /** * @ngdoc function * @name clientside4startupApp.controller:MainCtrl * @description * # MainCtrl * Controller of the clientside4startupApp */ angular.module('clientside4startupApp').controller('registerCtrl', function ($rootScope, $scope, Userprofile, $location) { $scope.myFunctionNewUser ...
23,739
https://github.com/coocos/leetcode/blob/master/leetcode/695_max_area_of_island.py
Github Open Source
Open Source
MIT
null
leetcode
coocos
Python
Code
425
936
import unittest import collections from typing import List, Set, Tuple class Solution: """ This solution first constructs a set with all the pieces of land. Next a piece of land is selected from the set and breadth-first search is conducted starting from that piece of land until all pieces of land...
44,690
https://github.com/cclab-brca/MET-breast-landscapes/blob/master/Scripts/Phylogeny analysis/treeomicsAnalysis/03_extractTrees.R
Github Open Source
Open Source
Apache-2.0
2,018
MET-breast-landscapes
cclab-brca
R
Code
338
1,852
library(igraph) library(oncoNEM) library(data.table) extractTree <- function(dat) { tree <- data.frame(from=rep(0,length(dat)), to=rep(0,length(dat)), length=rep(0,length(dat)), AcqNames=rep(0,length(dat)), AcqPos=rep(0,length(d...
25,037
https://github.com/jcrowe206/php-cas/blob/master/src/JCrowe/PHPCas/Factories/TicketFactory.php
Github Open Source
Open Source
MIT
null
php-cas
jcrowe206
PHP
Code
112
546
<?php namespace JCrowe\PHPCas\Factories; use JCrowe\PHPCas\Http\HttpRequest; use JCrowe\PHPCas\Tickets\AbstractCasTicket; use JCrowe\PHPCas\Tickets\CasTicket; use JCrowe\PHPCas\Tickets\LoginTicket; use JCrowe\PHPCas\Tickets\ProxyGrantingTicket; use JCrowe\PHPCas\Tickets\ProxyTicket; use JCrowe\PHPCas\Tickets\Service...
28,710
https://github.com/alya-mirror/asm-backend/blob/master/api/endpointsServices/BaseService.js
Github Open Source
Open Source
MIT
2,018
asm-backend
alya-mirror
JavaScript
Code
166
504
class BaseService { constructor(schema) { this.schema = schema; } insert(newSchema) { return new Promise((resolve, reject) => { newSchema.save(function (err, savedSchema) { if (err) { reject(err); } else { resolve(savedSchema); } }); })...
51,245
https://github.com/bijoutrouvaille/targaryen/blob/master/docs/jasmine/examples/spec/security/erroring.js
Github Open Source
Open Source
ISC
2,016
targaryen
bijoutrouvaille
JavaScript
Code
37
127
'use strict'; var targaryen = require('../../../../../index'), // in your app this would be require('targaryen') users = targaryen.users; describe('An invalid set of security rules and data', function() { it('causes Targaryen to throw', function() { targaryen.setFirebaseData(require('./data.json')); ta...
50,087
https://github.com/d0scoo1/naga_contracts/blob/master/mainnet/contracts/0xbb0eba3023a31de8deda15742b7269caf73d0ce1_EthBalance.sol
Github Open Source
Open Source
MIT
2,023
naga_contracts
d0scoo1
Gerber Image
Code
38
91
// SPDX-License-Identifier: MIT pragma solidity 0.8.6; /** * @title EthBalance * @notice Read the ETH balance of any address. * @author https://github.com/zacel */ contract EthBalance { function getETHBalance(address input) external view returns (uint256) { return input.balance; } }
30,263
https://github.com/paser4se/odyssey-reactive-messaging/blob/master/reactive-messaging/src/main/java/com/amadeus/middleware/odyssey/reactive/messaging/core/Message.java
Github Open Source
Open Source
Apache-2.0
2,019
odyssey-reactive-messaging
paser4se
Java
Code
54
273
package com.amadeus.middleware.odyssey.reactive.messaging.core; import java.util.concurrent.CompletableFuture; import com.amadeus.middleware.odyssey.reactive.messaging.core.impl.cdi.CDIMessageBuilderImpl; @MessageScoped public interface Message<T> { Iterable<Metadata> getMetadata(); <C extends Metadata> C getM...
37,379
https://github.com/hectorda/web/blob/master/resources/views/users/show_fields.blade.php
Github Open Source
Open Source
MIT
null
web
hectorda
PHP
Code
56
191
<!-- Nombre Field --> <div class="form-group"> {!! Form::label('nombre', 'Nombre:') !!} {!! $user->first_name !!} </div> <!-- Apellido Field --> <div class="form-group"> {!! Form::label('apellido', 'Apellido:') !!} {!! $user->last_name !!} </div> <!-- Rut Field --> <div class="form-group"> {!! For...
27,019
https://github.com/zhantaochen/majorana/blob/master/plots/braiding/figures.sh
Github Open Source
Open Source
BSD-3-Clause
2,021
majorana
zhantaochen
Shell
Code
17
70
#!/bin/sh convert -background none psi0L_45.png psi0L_135.png +append figure_0L.png convert -background none psi1L_45.png psi1L_135.png +append figure_1L.png rm figure_p*
41,202
https://github.com/otcshare/chromium-src/blob/master/components/policy/test_support/DEPS
Github Open Source
Open Source
BSD-3-Clause
2,020
chromium-src
otcshare
Python
Code
16
57
include_rules = [ # Run # # buildtools/checkdeps/checkdeps.py components/policy # # to test. "+crypto", "+net" ]
1,714
https://github.com/stanislavgitrepo/stanislav-store-app/blob/master/application/views/product/variation/_form_variations.php
Github Open Source
Open Source
MIT
2,020
stanislav-store-app
stanislavgitrepo
PHP
Code
475
2,083
<?php defined('BASEPATH') OR exit('No direct script access allowed'); ?> <div class="modal fade" id="addVariationModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalCenterTitle" aria-hidden="true"> <div class="modal-dialog modal-md modal-dialog-centered modal-custom modal-variation" role="docum...
15,561
https://github.com/ikde/acdown/blob/master/AcDown/AcDown/UI/ShortUrlParser.cs
Github Open Source
Open Source
Apache-2.0
null
acdown
ikde
C#
Code
109
476
using System; using System.Collections.Generic; using System.Text; using System.Threading; using System.Net; using Kaedei.AcDown.Interface; namespace Kaedei.AcDown.UI { /// <summary> /// 短网址解析器 /// </summary> public class ShortUrlParser { /// <summary> /// 获取指定的网址是否是短网址 /// </summary> /// <param name="ur...
3,371
https://github.com/afiore/cats/blob/master/laws/src/main/scala/cats/laws/discipline/ProfunctorTests.scala
Github Open Source
Open Source
MIT
2,020
cats
afiore
Scala
Code
132
480
package cats package laws package discipline import cats.functor.Profunctor import org.scalacheck.Arbitrary import org.scalacheck.Prop import Prop._ import org.typelevel.discipline.Laws trait ProfunctorTests[F[_, _]] extends Laws { def laws: ProfunctorLaws[F] def profunctor[A: Arbitrary, B: Arbitrary, C: Arbitra...
50,847
https://github.com/mdaliyan/goconvert/blob/master/examples/example1/example.go
Github Open Source
Open Source
MIT
2,019
goconvert
mdaliyan
Go
Code
41
252
package main import ( "fmt" to "github.com/mdaliyan/govert" ) func main() { var fl = 113233.247308 fmt.Println(to.String(fl)) fmt.Println(to.String(fl, 2)) fmt.Println(to.String(fl, 3)) fmt.Println(to.Int(fl)) fmt.Println(to.Int8(fl)) fmt.Println() var in = int32(24353) fmt.Println(to.Float64(in)) fmt...
8,149