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/abdulmalekDery/android-betterpickers/blob/master/library/src/main/java/com/codetroopers/betterpickers/timepicker/TimePickerBuilder.java
Github Open Source
Open Source
Apache-2.0
2,017
android-betterpickers
abdulmalekDery
Java
Code
442
1,150
package com.codetroopers.betterpickers.timepicker; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentManager; import android.support.v4.app.FragmentTransaction; import android.util.Log; import com.codetroopers.betterpickers.OnDialogDismissListener; import com.codetroopers.betterpickers.tim...
13,965
https://github.com/ZhenisM/new.auezovinstitute/blob/master/bower_components/skippr/Gruntfile.js
Github Open Source
Open Source
MIT
2,019
new.auezovinstitute
ZhenisM
JavaScript
Code
119
510
module.exports = function(grunt) { // 1. All configuration goes here grunt.initConfig({ pkg: grunt.file.readJSON('package.json'), concat: { dist : { src : [ 'src/skippr.js', ], dest: 'dist/skippr.js' }...
9,181
https://github.com/fakegit/DEXBot/blob/master/tests/primitives/test_bitshares_orderengine.py
Github Open Source
Open Source
MIT
2,022
DEXBot
fakegit
Python
Code
35
161
import logging import pytest log = logging.getLogger("dexbot") log.setLevel(logging.DEBUG) @pytest.fixture() def worker(orderengine): return orderengine @pytest.mark.mandatory def test_init(worker): pass def test_place_market_sell_order(worker): worker.place_market_sell_order(1, 1) assert len(wo...
999
https://github.com/Dimas13207/erp/blob/master/Modules/Sale/Resources/views/sale/index.blade.php
Github Open Source
Open Source
MIT
null
erp
Dimas13207
PHP
Code
489
2,923
@extends('backEnd.master') @section('mainContent') <div class="row justify-content-center"> <div class="col-12"> <div class="box_header common_table_header"> <div class="main-title d-md-flex"> <h3 class="mb-0 mr-30 mb_xs_15px mb_sm_20px">{{__('sale.Sales')}}<...
27,020
https://github.com/x-systems/phlex-ui/blob/master/tests/PostTest.php
Github Open Source
Open Source
MIT
null
phlex-ui
x-systems
PHP
Code
84
340
<?php declare(strict_types=1); namespace Phlex\Ui\Tests; use Phlex\Data\Model; class PostTest extends \Phlex\Core\PHPUnit\TestCase { /** @var Model */ public $model; protected function setUp(): void { $_POST = ['name' => 'John', 'is_married' => 'Y']; $this->model = new Model(); ...
38,102
https://github.com/uptrace/uptrace-go/blob/master/example/tutorial/main.go
Github Open Source
Open Source
BSD-2-Clause
2,022
uptrace-go
uptrace
Go
Code
197
749
package main import ( "context" "fmt" "io/ioutil" "net/http" "strings" "go.opentelemetry.io/otel" "go.opentelemetry.io/otel/attribute" "github.com/uptrace/uptrace-go/uptrace" ) var tracer = otel.Tracer("app_or_package_name") func main() { ctx := context.Background() // Configure OpenTelemetry with sensi...
4,067
https://github.com/paulscottrobson/BasicII/blob/master/source/variable.asm
Github Open Source
Open Source
MIT
null
BasicII
paulscottrobson
Assembly
Code
978
2,443
; ******************************************************************************************* ; ******************************************************************************************* ; ; Name : variable.asm ; Purpose : Variable Handlers. ; Date : 4th June 2019 ; Author : paul@robsons.org.uk ; ; **********...
21,287
https://github.com/aidenkim92/Wonderland/blob/master/Assets/Scripts/Menu/PauseMenu.cs
Github Open Source
Open Source
MIT
null
Wonderland
aidenkim92
C#
Code
74
230
using System.Collections; using System.Collections.Generic; using UnityEngine; public class PauseMenu : MonoBehaviour { public static bool isPaused = false; // Update is called once per frame public GameObject pauseMenu; public static PauseMenu instance; void Update() { if (Input.Get...
15,922
https://github.com/randomhero177/1Cloud/blob/master/common/panel/Scripts/Storage/swift-list.js
Github Open Source
Open Source
MIT
2,019
1Cloud
randomhero177
JavaScript
Code
2,347
8,080
var c = { containerSelector: '.swift__container', tableSelector: '#swift-table', tableAccountEmptySelector: '.swift__empty-account', tableEmptySelector: '.swift__empty', itemSelector: '.swift__table-item', itemActionsSelector: '.swift__table-actions', checkboxItemSelector: '.swift__table .swift__table-it...
9,151
https://github.com/vreon/dataloaf/blob/master/dataloaf/loaf.py
Github Open Source
Open Source
MIT, LicenseRef-scancode-unknown-license-reference
2,012
dataloaf
vreon
Python
Code
247
864
import random def _bake(thing): return thing.bake() if hasattr(thing, 'bake') else thing class Loaf(object): pass class IntLoaf(Loaf): def __init__(self, lower, upper): self.lower = lower self.upper = upper def bake(self): return random.randint(self.lower, self.upper) cl...
12,713
https://github.com/valine/zpath/blob/master/include/neuralcore/neuron.h
Github Open Source
Open Source
Apache-2.0
2,022
zpath
valine
C
Code
239
859
// // Created by lukas on 4/10/20. // #ifndef NEURALCORE_NEURON_H #define NEURALCORE_NEURON_H static const double DEFAULT_BIAS = 0.01; #include "neuron.h" #include <vector> #include <string> using namespace std; class Neuron { public: enum Activation { LINEAR, RELU, SIGMOID, ...
50,447
https://github.com/roylines/charabanc/blob/master/test/charabanc.js
Github Open Source
Open Source
MIT
2,016
charabanc
roylines
JavaScript
Code
295
1,044
var charabanc = require('../index.js'), chai = require('chai'), sinon = require('sinon'); chai.should(); describe('charabanc', function() { describe('with one service', function() { var service; before(function(done) { service = sinon.stub(); service.yields(); return charabanc.reg...
1,186
https://github.com/cholarajaa/goweb-structure-1/blob/master/cmd/admin/main.go
Github Open Source
Open Source
Apache-2.0
null
goweb-structure-1
cholarajaa
Go
Code
71
258
package main import ( "flag" "log" "github.com/cholaraja/revise/goweb/basicStructure/internal/platform/database" "github.com/cholaraja/revise/goweb/basicStructure/internal/schema" ) func main() { flag.Parse() db, err := database.Open() if err != nil { log.Fatalf("error: Connecting to Database: %s", err) }...
45,178
https://github.com/plaid/transcribe/blob/master/examples/fp.js
Github Open Source
Open Source
MIT
2,020
transcribe
plaid
JavaScript
Code
181
337
'use strict'; //# map :: (a -> b) -> Array a -> Array b //. //. Transforms a list of elements of type `a` into a list of elements //. of type `b` using the provided function of type `a -> b`. //. //. ```javascript //. > map (String) ([1, 2, 3, 4, 5]) //. ['1', '2', '3', '4', '5'] //. ``` const map = f => xs => { con...
48,385
https://github.com/stellarbeat/js-stellarbeat-backend/blob/master/src/history-scan/domain/scanner/__tests__/Scanner.test.ts
Github Open Source
Open Source
MIT
2,023
js-stellarbeat-backend
stellarbeat
TypeScript
Code
201
786
import { Scanner } from '../Scanner'; import { LoggerMock } from '../../../../core/services/__mocks__/LoggerMock'; import { mock } from 'jest-mock-extended'; import { ExceptionLoggerMock } from '../../../../core/services/__mocks__/ExceptionLoggerMock'; import { createDummyHistoryBaseUrl } from '../../history-archive/__...
37,851
https://github.com/davetcoleman/ompl-release/blob/master/src/external/omplext_odeint/boost/numeric/odeint/stepper/base/symplectic_rkn_stepper_base.hpp
Github Open Source
Open Source
BSL-1.0, BSD-3-Clause
2,012
ompl-release
davetcoleman
C++
Code
1,337
4,448
/* [auto_generated] boost/numeric/odeint/stepper/base/symplectic_rkn_stepper_base.hpp [begin_description] Base class for symplectic Runge-Kutta-Nystrom steppers. [end_description] Copyright 2009-2011 Karsten Ahnert Copyright 2009-2011 Mario Mulansky Distributed under the Boost Software License, Version 1.0. ...
43,691
https://github.com/pesennik/portal/blob/master/src/main/java/com/github/pesennik/component/sidebar/SidebarTunerButton.java
Github Open Source
Open Source
Apache-2.0
null
portal
pesennik
Java
Code
30
152
package com.github.pesennik.component.sidebar; import com.github.pesennik.component.bootstrap.BootstrapLazyModalLink; import com.github.pesennik.component.bootstrap.BootstrapModal; import org.apache.wicket.markup.html.panel.Panel; import org.jetbrains.annotations.NotNull; public class SidebarTunerButton extends Panel...
20,134
https://github.com/martyawesome/maharlikaland/blob/master/app/Incentive.php
Github Open Source
Open Source
MIT
null
maharlikaland
martyawesome
PHP
Code
240
845
<?php namespace App; use Illuminate\Http\Request; use App\Http\Requests\EditProjectIncentiveRequest; use Illuminate\Database\Eloquent\Model; use Illuminate\Support\Str; use DB; class Incentive extends Model { /** * The table associated with the model. * * @var string */ protected $table =...
42,666
https://github.com/schugale13/PSE-Project2017/blob/master/src/main/java/org/se/lab/web/UserProfileImageBean.java
Github Open Source
Open Source
MIT
null
PSE-Project2017
schugale13
Java
Code
202
728
package org.se.lab.web; import org.apache.log4j.Logger; import org.primefaces.event.FileUploadEvent; import org.primefaces.model.DefaultStreamedContent; import org.primefaces.model.StreamedContent; import org.primefaces.model.UploadedFile; import org.se.lab.db.data.User; import org.se.lab.db.data.UserProfile; import o...
36,212
https://github.com/aashish24/aperture-tiles/blob/master/binning-utilities/src/main/java/com/oculusinfo/binning/io/serialization/StandardTileSerializerFactory.java
Github Open Source
Open Source
MIT
2,014
aperture-tiles
aashish24
Java
Code
609
1,691
/* * Copyright (c) 2014 Oculus Info Inc. http://www.oculusinfo.com/ * * Released under the MIT License. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, includi...
5,497
https://github.com/KimberlyDawnCarty/buck/blob/master/src/com/facebook/buck/rules/visibility/parser/VisibilityPatternParser.java
Github Open Source
Open Source
Apache-2.0
null
buck
KimberlyDawnCarty
Java
Code
229
779
/* * Copyright (c) Facebook, Inc. and its affiliates. * * 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 applic...
25,658
https://github.com/leandromds/leandromsilva.com.br/blob/master/src/pages/index.js
Github Open Source
Open Source
MIT
null
leandromsilva.com.br
leandromds
JavaScript
Code
154
496
import React from 'react' import styled from 'styled-components' import { useIntl } from 'gatsby-plugin-intl' import { graphql } from 'gatsby' import Logo from '../components/logo' export default ({ data }) => { const intl = useIntl() const getSvgUrl = data.allFile.edges.filter(value => { return value.node.ex...
22,412
https://github.com/Room-to-read/StoryWeaver/blob/master/sw-js-master/src/components/Menu/Menu.stories.js
Github Open Source
Open Source
Apache-2.0
2,021
StoryWeaver
Room-to-read
JavaScript
Code
168
460
import React from 'react'; import { setAddon, storiesOf } from '@storybook/react'; import JSXAddon from 'storybook-addon-jsx'; import { action } from '@storybook/addon-actions'; import MenuLink from '../MenuLink'; import MenuDivider from '../MenuDivider'; import MenuContentWrapper from '../MenuContentWrapper'; import...
32,257
https://github.com/Antony74/set.mm/blob/master/ql.mm
Github Open Source
Open Source
CC0-1.0
2,022
set.mm
Antony74
Objective-C++
Code
20,000
45,378
$( ql.mm - Version of 11-Apr-2012 #*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*# Metamath source file for logic, set theory, numbers, and Hilbert space #*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*# ~~ PUBLIC DOMAIN ~~ This work is waived of all rights, ...
13,045
https://github.com/xthecoolboy/VaeBot/blob/master/commands/staff/Join.js
Github Open Source
Open Source
MIT
2,022
VaeBot
xthecoolboy
JavaScript
Code
79
256
module.exports = Cmds.addCommand({ cmds: [";join ", ";summon "], requires: { guild: true, loud: false }, desc: "Make VaeBot join a voice channel", args: "([voice_channel_name])", example: "gaming", /////////////////////////////////////////////////////////////////////////...
3,276
https://github.com/davelaursen/idealogue/blob/master/angular2-node-express-mongodb/src/client/app/services/tag.service.ts
Github Open Source
Open Source
MIT
2,016
idealogue
davelaursen
TypeScript
Code
67
209
import { Injectable } from '@angular/core'; import { Response, Headers } from '@angular/http'; import { DataService } from '../blocks/data/data.service'; import { AuthService } from './auth.service'; @Injectable() export class TagService { constructor( private _dataService: DataService, private _au...
21,909
https://github.com/BLACKujira/SekaiTools/blob/master/SekaiTools/Assets/Live2D/Motions/25meiko_motion_base/w-cool-sad01.motion3.json.meta
Github Open Source
Open Source
MIT
2,023
SekaiTools
BLACKujira
Unity3D Asset
Code
11
91
fileFormatVersion: 2 guid: 52377066516ff174bb9b90e2a4f0768e TextScriptImporter: externalObjects: {} userData: '{"_animationClipGuid":"c6c3ceb8d4e768f47b2b863ebb0614a2"}' assetBundleName: assetBundleVariant:
53,881
https://github.com/c6supper/GreaterWMS/blob/master/templates/src/pages/goods/goods.vue
Github Open Source
Open Source
LicenseRef-scancode-warranty-disclaimer, Apache-2.0
2,021
GreaterWMS
c6supper
Vue
Code
227
1,357
<template> <q-page class="flex flex-top"> <template> <div class="q-pa-md"> <div class="q-gutter-y-md" style="max-width: 100%"> <q-tabs v-model="detaillink" > <transition appear enter-active-class="animated zoomIn"> <q-route-tab v-show="$q.localStorage.getItem('staff_type') ...
10,902
https://github.com/d0scoo1/naga_contracts/blob/master/mainnet/contracts/0xcfe4e6dd48c6f1271708c0311047293c0c20ea56_MoonTurtlezMinter/contracts/moonturtlez/MoonTurtlezMinter.sol
Github Open Source
Open Source
MIT
2,023
naga_contracts
d0scoo1
Gerber Image
Code
213
725
// SPDX-License-Identifier: MIT // Creator: twitter.com/runo_dev pragma solidity ^0.8.7; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; interface MoonTurtlez { function owner() external view returns (address); function mintToAddress(addres...
27,113
https://github.com/lwhsu/swift/blob/master/test/Generics/conditional_conformances_objc.swift
Github Open Source
Open Source
Apache-2.0
2,022
swift
lwhsu
Swift
Code
279
673
// RUN: %target-typecheck-verify-swift -import-objc-header %S/Inputs/conditional_conformances_objc.h // REQUIRES: objc_interop protocol Foo {} extension ObjC: Foo where ObjectType == ObjC2 {} // expected-error@-1{{type 'ObjC<ObjectType>' cannot conditionally conform to protocol 'Foo' because the type uses the Objecti...
24,889
https://github.com/kubedb/java/blob/master/kubernetes/src/main/java/com/kubedb/client/models/V1alpha1OriginSpec.java
Github Open Source
Open Source
Apache-2.0
2,019
java
kubedb
Java
Code
547
2,243
/* * KubeDB * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * OpenAPI spec version: v0 * Contact: hello@appscode.com * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * Do ...
34,888
https://github.com/norman-gamage/lint-code/blob/master/149_Best_Time_to_Buy_and_Sell_Stock.java
Github Open Source
Open Source
Apache-2.0
null
lint-code
norman-gamage
Java
Code
113
250
/** * Title Best Time to Buy and Sell Stock * Problem No 149 * URL http://www.lintcode.com/en/problem/best-time-to-buy-and-sell-stock/ * * Original Solution Yes * Other Comments N.A. * * Author Norman Gamage <norman.gamage@gmail.com> * Version ...
5,513
https://github.com/leviluo/oneone/blob/master/src/routes/memberCenter/routes/BasicInfo/modules/basicInfo.js
Github Open Source
Open Source
WTFPL
2,017
oneone
leviluo
JavaScript
Code
241
823
import axios from 'axios' import {tipResult} from '../../../../../components/Tips/modules/tips' const REQUESTADDSPECIALITY = "REQUESTADDSPECIALITY" export function commitHeadImg(items) { return (dispatch, getState) => { return axios.post('/member/HeadImg',items).then(({data}) => { return data }) }...
45,656
https://github.com/usangbong/Data-Visualization-Lab-RND/blob/master/OptimalOffice/OfficeAgent/Assets/Toon Furniture/Prefabs/ModularCounter_3.prefab.meta
Github Open Source
Open Source
Apache-2.0
2,022
Data-Visualization-Lab-RND
usangbong
Unity3D Asset
Code
12
65
fileFormatVersion: 2 guid: e8e3d84b4df91a24892ed822cd330e12 timeCreated: 1492884383 licenseType: Store NativeFormatImporter: userData: assetBundleName: assetBundleVariant:
39,749
https://github.com/leaves615/massy-0.1/blob/master/massy-core/src/main/java/org/smarabbit/massy/service/DefinitionEqualSpecification.java
Github Open Source
Open Source
Apache-2.0
null
massy-0.1
leaves615
Java
Code
80
366
/** * */ package org.smarabbit.massy.service; import org.smarabbit.massy.Constants; import org.smarabbit.massy.Descriptor; import org.smarabbit.massy.annotation.support.Definition; import org.smarabbit.massy.lazyload.LazyBinder; import org.smarabbit.massy.spec.Specification; import org.smarabbit.massy.util.Asserts;...
6,275
https://github.com/cristianmdk/Arduino_projects/blob/master/LED-Escribir_en_consola/LED-Escribir_en_consola.ino
Github Open Source
Open Source
MIT
null
Arduino_projects
cristianmdk
null
Spoken
165
336
//-------------------------------------------------- //Declara puertos de entradas y salidas y variables //-------------------------------------------------- int led = 13; //Pin donde se encuentra el LED, salida char leer; //Variable donde se almacena la letra boolean prendido=false; //Estado LED la primera vez, apagad...
48,435
https://github.com/radoy/kasir/blob/master/application/models/masakan_model.php
Github Open Source
Open Source
MIT
null
kasir
radoy
PHP
Code
153
563
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); class Masakan_model extends CI_Model { public function __construct() { parent::__construct(); $this->_table = 'masakan'; } public function getData() { return $this->db->get($this->_table); }...
3,225
https://github.com/funerr/snapify/blob/master/Plugin/includes/snapify-page.php
Github Open Source
Open Source
MIT
2,018
snapify
funerr
PHP
Code
283
966
<div class="wrap"> <div class="card pressthis"> <h2>Snapify - Backup (v<?php echo SNAPIFY_VERSION; ?>)</h2> <hr /> <p>When you click the button below, Snapify will create a backup for you to save to your computer. <br /> The backup will contain a zip file of all your site. In addition download the PHP installer ...
9,264
https://github.com/ajbm6/laravel-workbench/blob/master/src/Console/CreatePackage.php
Github Open Source
Open Source
MIT
null
laravel-workbench
ajbm6
PHP
Code
849
3,070
<?php namespace Speelpenning\Workbench\Console; use Illuminate\Config\Repository; use Illuminate\Console\Command; use Illuminate\Contracts\Filesystem\FileNotFoundException; use Illuminate\Contracts\Support\MessageBag; use Illuminate\Contracts\Validation\ValidationException; use Speelpenning\Workbench\AutoloadWriter; u...
4,106
https://github.com/val-verde/lunarg-vulkan-tools/blob/master/vkconfig_core/test/test_util.cpp
Github Open Source
Open Source
Apache-2.0
null
lunarg-vulkan-tools
val-verde
C++
Code
979
5,145
/* * Copyright (c) 2020-2021 Valve Corporation * Copyright (c) 2020-2021 LunarG, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0...
26,117
https://github.com/szyablitsky/constructor/blob/master/pages/app/views/constructor_pages/pages/_field.html.slim
Github Open Source
Open Source
MIT, LicenseRef-scancode-unknown-license-reference
2,015
constructor
szyablitsky
null
Spoken
14
69
.b-form__row = label_tag "fields[#{field.code_name}]", field.name, class: 'b-form__label' = render "constructor_pages/fields/types/#{field.type_value}", field: field, page: @page
48,644
https://github.com/Cravtos/ethereum_consensus/blob/master/src/crypto.rs
Github Open Source
Open Source
Apache-2.0, MIT
null
ethereum_consensus
Cravtos
Rust
Code
1,794
6,758
use crate::primitives::Bytes32; use blst::{min_pk as blst_core, BLST_ERROR}; use sha2::{digest::FixedOutput, Digest, Sha256}; use ssz_rs::prelude::*; use std::fmt; use std::hash::{Hash, Hasher}; use thiserror::Error; const BLS_DST: &[u8] = b"BLS_SIG_BLS12381G2_XMD:SHA-256_SSWU_RO_POP_"; const BLS_PUBLIC_KEY_BYTES_LEN:...
53,044
https://github.com/samuel100u/dashgo/blob/master/build/dashgo_bringup/catkin_generated/installspace/dashgo_bringup-msg-extras.cmake
Github Open Source
Open Source
Apache-2.0
null
dashgo
samuel100u
CMake
Code
4
42
set(dashgo_bringup_MESSAGE_FILES "") set(dashgo_bringup_SERVICE_FILES "srv/ultrasonic.srv")
29,401
https://github.com/CriusNyx/BehaviourTreeNodeEditor/blob/master/Assets/MainAssembally/Editor/SnappingTools/SnappingToolSettings.cs
Github Open Source
Open Source
MIT
null
BehaviourTreeNodeEditor
CriusNyx
C#
Code
80
306
using System.Collections; using System.Collections.Generic; using UnityEditor; using UnityEngine; public class SnappingToolSettings : ScriptableObject { public Snapper.SnapMode snapMode = Snapper.SnapMode.both; public (bool snapPosition, bool snapRotation) GetSnappingMode() { return ((...
28,908
https://github.com/junagao/readable-frontend/blob/master/src/components/Header.scss
Github Open Source
Open Source
MIT
null
readable-frontend
junagao
SCSS
Code
61
230
.menu-container { align-items: baseline; background-color: #fa1a13; display: flex; justify-content: space-between; margin-bottom: 16px; padding: 6px; } .menu-left { display: flex; } .logo { color: #fff; font-weight: 600; margin-left: 8px; margin-right: 24px; text-decoration: none; } .menu-rig...
42,289
https://github.com/kevinshenyang07/PackUp/blob/master/frontend/reducers/carts_reducer.js
Github Open Source
Open Source
MIT
null
PackUp
kevinshenyang07
JavaScript
Code
61
180
import { RECEIVE_CART, RECEIVE_CARTS } from '../actions/cart_actions'; import merge from 'lodash/merge'; // carts = { 1: {id: 1, userId: 1, purchase: true, cartItems: {...}}} const CartsReducer = (state = {}, action) => { Object.freeze(state); switch(action.type) { case RECEIVE_CART: const newCart = { ...
14,051
https://github.com/Didi3aone/qcells/blob/master/assets/js/pages/product/category/list.js
Github Open Source
Open Source
MIT
2,021
qcells
Didi3aone
JavaScript
Code
97
325
var lists = function () { var table_id = "#dataTable"; var ajax_source = "/qcell/manager/category/list_all_data"; var sorting = [ [3, "asc"] ]; var columns = [ { "data": "CategoryId" }, { "data": "CategoryName" }, { "data": "CategoryDescription" }, { ...
20,613
https://github.com/AgNO3/code/blob/master/orchestrator/agent/system/eu.agno3.orchestrator.system.base/src/main/java/eu/agno3/orchestrator/system/img/util/SystemImageUtil.java
Github Open Source
Open Source
BSD-3-Clause, LicenseRef-scancode-unknown-license-reference
2,021
code
AgNO3
Java
Code
422
1,214
/** * © 2014 AgNO3 Gmbh & Co. KG * All right reserved. * * Created: 03.12.2014 by mbechler */ package eu.agno3.orchestrator.system.img.util; import java.io.BufferedReader; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStreamReader; import java.nio.charset.C...
15,380
https://github.com/blingenau/tack_cordova/blob/master/app/coffee/modules/device/service.coffee
Github Open Source
Open Source
MIT
2,016
tack_cordova
blingenau
CoffeeScript
Code
124
361
DeviceCollection = require './collection' # # # # # class DeviceService extends Marionette.Service radioRequests: 'device model': 'model' 'device collection': 'collection' initialize: -> @collectionCache = new DeviceCollection() model: (id) -> return new Promise (resolve,reject) => reso...
27,001
https://github.com/lerouxrgd/kafka-rs/blob/master/kafka-protocol/src/codec/compression/zstd.rs
Github Open Source
Open Source
MIT
2,019
kafka-rs
lerouxrgd
Rust
Code
19
81
pub fn decompress(src: &[u8]) -> std::io::Result<Vec<u8>> { zstd::decode_all(src) } pub fn compress(src: &[u8]) -> std::io::Result<Vec<u8>> { zstd::encode_all(src, 0) }
19,573
https://github.com/Trident-Informatics/File-Management-Framework-for-Version-Control-System/blob/master/src/lk/ijse/supportframework/resources/DirectoryManager.java
Github Open Source
Open Source
Apache-2.0
null
File-Management-Framework-for-Version-Control-System
Trident-Informatics
Java
Code
11
36
package lk.ijse.supportframework.resources; public class DirectoryManager { public void readPropertyFile(){ } }
39,849
https://github.com/justin-zimmermann/ctr4ever-Data-Analysis/blob/master/data/log_records/2015/13.php
Github Open Source
Open Source
MIT
2,019
ctr4ever-Data-Analysis
justin-zimmermann
PHP
Code
417
2,354
<?php echo "Vous n'avez pas la permission d'accéder à cette page"; exit(); ?> 82.48.119.154, 127.0.0.1, 46.105.193.95 2015-01-17 1 1'19''20 82.48.119.154, 127.0.0.1, 46.105.193.71 2015-01-17 2 25''62 82.48.119.154, 127.0.0.1, 46.105.193.77 2015-01-17 3 1'12''92 82.48.119.154, 127.0.0.1, 46.105.193.76 2015-01-17 4 23...
51,635
https://github.com/jsxt/iter/blob/master/src/sync/reject.ts
Github Open Source
Open Source
0BSD
null
iter
jsxt
TypeScript
Code
49
131
import enumerate from "./enumerate.js"; import iterableGenerator from "./iterableGenerator.js"; const reject = iterableGenerator( function* reject<T>( iterable: Iterable<T>, predicate: ((value: T, index: number) => any), ): Generator<T> { for (const [idx, item] of enumerate(iterable)) {...
10,600
https://github.com/kitsonk/swc/blob/master/ecmascript/minifier/tests/terser/compress/reduce_vars/array_forof_1/input.js
Github Open Source
Open Source
Apache-2.0, MIT
2,022
swc
kitsonk
JavaScript
Code
12
26
var a = [1, 2, 3]; for (var b of a) console.log(b);
13,825
https://github.com/xiongqq345/go-Algorithm/blob/master/leetcode/string/557 reverseWords.go
Github Open Source
Open Source
MIT
2,021
go-Algorithm
xiongqq345
Go
Code
71
268
package string import ( "sort" "strings" ) // 给定一个字符串,你需要反转字符串中每个单词的字符顺序,同时仍保留空格和单词的初始顺序。 // //示例: // //输入:"Let's take LeetCode contest" //输出:"s'teL ekat edoCteeL tsetnoc" func reverseWords(s string) string { words := strings.Fields(s) for i := range words { words[i] = reverse(words[i]) } return strings.Join(...
52,696
https://github.com/gy741/CredSweeper/blob/master/credsweeper/utils/util.py
Github Open Source
Open Source
MIT
2,022
CredSweeper
gy741
Python
Code
161
556
import math import os from typing import List from regex import regex from credsweeper.common.constants import Chars, KeywordPattern, Separator class Util: """ Class that contains different useful methods """ @classmethod def get_extension(cls, file_path: str) -> str: _, extension = os....
41,794
https://github.com/jvalst/material-components-web/blob/master/test/unit/mdc-auto-init/mdc-auto-init.test.js
Github Open Source
Open Source
CC-BY-4.0
2,021
material-components-web
jvalst
JavaScript
Code
440
1,245
/** * Copyright 2016 Google 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/LICENSE-2.0 * * Unless required by appli...
25,597
https://github.com/Eyerunmyden/HWMgmt-MegaRAC-OpenEdition/blob/master/meta-ami/meta-tiogapass/recipes-uboot/u-boot/004-ast2500-evb.dts.patch
Github Open Source
Open Source
Apache-2.0, MIT
2,022
HWMgmt-MegaRAC-OpenEdition
Eyerunmyden
null
Spoken
94
373
--- a/arch/arm/dts/ast2500-evb.dts 2021-02-23 16:23:51.784058115 -0500 +++ b/arch/arm/dts/ast2500-evb.dts 2021-02-23 16:26:01.047862728 -0500 @@ -45,18 +45,21 @@ }; &mac0 { - status = "okay"; - phy-mode = "rgmii"; + status = "okay"; - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_mac1link_default &pin...
14,077
https://github.com/pengzug/cces-sem-botero/blob/master/main_constant.py
Github Open Source
Open Source
BSD-2-Clause
2,016
cces-sem-botero
pengzug
Python
Code
440
1,739
#!/usr/bin/env python # -*- coding: utf8 -*- """ ######################################################### # # main_constant.py # Author: Dion Häfner (dionhaefner@web.de) # # Main controller, with constant population size # # Usage: # python main_constant.py [options] # # Licensed under BSD 2-Clause License # #######...
46,406
https://github.com/bmacer/substrate-private-network/blob/master/substrate-front-end-template/node_modules/@polkadot/util-crypto/schnorrkel/keypair/toU8a.js
Github Open Source
Open Source
Unlicense
2,022
substrate-private-network
bmacer
JavaScript
Code
36
151
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.schnorrkelKeypairToU8a = schnorrkelKeypairToU8a; var _util = require("@polkadot/util"); // Copyright 2017-2021 @polkadot/util-crypto authors & contributors // SPDX-License-Identifier: Apache-2.0 function schnorrkelKeypairToU8a({ ...
11,336
https://github.com/woaigmz/AUtils/blob/master/utils/src/main/java/com/woaiqw/utils/core/ProcessUtils.java
Github Open Source
Open Source
Apache-2.0
2,019
AUtils
woaigmz
Java
Code
71
236
package com.woaiqw.utils.core; import android.app.Application; import android.content.Context; /** * Created by haoran on 2019/2/18. */ public class ProcessUtils { public static String getCurrentProcessName(Application application) { int pid = android.os.Process.myPid(); String processName = ""...
21,491
https://github.com/gycold/EasyAndroid/blob/master/easytools/src/main/java/com/easytools/tools/CleanUtils.java
Github Open Source
Open Source
Apache-2.0
2,022
EasyAndroid
gycold
Java
Code
519
2,086
package com.easytools.tools; import java.io.File; import java.math.BigDecimal; /** * package: com.easytools.tools.CleanUtils * author: gyc * description: 清除缓存/文件相关工具类 * * cleanInternalCache : 清除内部缓存 * cleanInternalFiles : 清除内部文件 * cleanInternalDbs : 清除内部数据库 * cleanInternalDbByName: 根据名称清除数据库 * cleanI...
47,938
https://github.com/unldenis/BedwarsPlus/blob/master/src/me/unldenis/bedwars/object/teams/BedState.java
Github Open Source
Open Source
Apache-2.0
2,021
BedwarsPlus
unldenis
Java
Code
20
72
package me.unldenis.bedwars.object.teams; public enum BedState { UNBROKEN("UNBROKEN", 0), BROKEN("BROKEN", 1); private BedState(final String name, final int ordinal) { } }
34,525
https://github.com/guaxinim/compass/blob/master/src/main/src/org/compass/core/engine/RepeatableReader.java
Github Open Source
Open Source
Apache-2.0
2,021
compass
guaxinim
Java
Code
34
62
package org.compass.core.engine; /** * Acts as a marker interface for {@link java.io.Reader} where if calling close will * result in the reader going back to it's initial state. */ public interface RepeatableReader { }
39,199
https://github.com/sarvex/composer/blob/master/tests/test_full_nlp.py
Github Open Source
Open Source
Apache-2.0
2,023
composer
sarvex
Python
Code
654
3,444
# Copyright 2022 MosaicML Composer authors # SPDX-License-Identifier: Apache-2.0 import copy import os import pytest import torch from packaging import version from torch.utils.data import DataLoader from torchmetrics.classification import MulticlassAccuracy from composer.algorithms import GatedLinearUnits from comp...
53,153
https://github.com/winnieau/jspractice3/blob/master/spec/ThermostatSpec.js
Github Open Source
Open Source
MIT
null
jspractice3
winnieau
JavaScript
Code
186
557
describe('Thermostat', function(){ var thermostat; beforeEach(function(){ thermostat = new Thermostat(); }); it('starts at 20 degrees', function(){ expect(thermostat.temperature).toEqual(20); }); it('can increase temperature with up button', function() { thermostat.up(); expect(thermostat...
15,012
https://github.com/Diaye/SSMDemo/blob/master/src/main/java/Service/SensorServiceImpl.java
Github Open Source
Open Source
Apache-2.0
2,019
SSMDemo
Diaye
Java
Code
73
278
package Service; import Dao.SensorMapper; import Entity.Sensor; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import java.util.List; @Service public class SensorServiceImpl implements SensorService { @Autowired SensorMapper SensorDao; @Over...
45,376
https://github.com/spring-projects/spring-integration/blob/master/spring-integration-file/src/main/java/org/springframework/integration/file/remote/ClientCallback.java
Github Open Source
Open Source
Apache-2.0
2,023
spring-integration
spring-projects
Java
Code
227
383
/* * Copyright 2014-2021 the original author or 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
26,570
https://github.com/gargakshit/core/blob/master/source/tests/adt_vector_test/source/adt_vector_test.cpp
Github Open Source
Open Source
Apache-2.0
2,021
core
gargakshit
C++
Code
188
495
/* * Abstract Data Type Library by Parra Studios * A abstract data type library providing generic containers. * * Copyright (C) 2016 - 2022 Vicente Eduardo Ferrer Garcia <vic798@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with th...
18,941
https://github.com/kathrinrin/contextualisation/blob/master/app/static/js/drug_graph.js
Github Open Source
Open Source
BSD-3-Clause
2,014
contextualisation
kathrinrin
JavaScript
Code
200
873
function drawGraphForDrug(service_url, uri, id) { $("#graph").empty(); $("#loading").show(); $.get(service_url, { 'type' : 'drugs', 'uri' : uri, 'id' : id }, function(data) { $("#loading").hide(); if (data.graph.links.length > 0) { drawDrugGraph(service_url, data.graph); } else { $("#noresponse"...
53,790
https://github.com/tivaliy/gerrit-quick-viewer/blob/master/run.py
Github Open Source
Open Source
Apache-2.0
null
gerrit-quick-viewer
tivaliy
Python
Code
19
55
#!/usr/bin/env python # -*- coding: utf-8 -*- from gerritviewer import app app = app.create_app('config') if __name__ == '__main__': app.run()
41,923
https://github.com/FurCoder/pxview/blob/master/src/screens/Recommended/RecommendedIllusts.js
Github Open Source
Open Source
MIT
2,023
pxview
FurCoder
JavaScript
Code
163
500
import React, { useEffect, useRef } from 'react'; import { useSelector, useDispatch } from 'react-redux'; import { useNavigationState, useScrollToTop } from '@react-navigation/native'; import IllustList from '../../components/IllustList'; import { fetchRecommendedIllusts, clearRecommendedIllusts, } from '../../comm...
40,751
https://github.com/17livincent/HonorsThesisWebApp/blob/master/client/src/InputData.js
Github Open Source
Open Source
MIT
2,021
HonorsThesisWebApp
17livincent
JavaScript
Code
207
633
/** * InputData.js * @author Vincent Li <vincentl@asu.edu> * This component manages the input of multiple CSV files. */ import React from 'react'; import {Form, Button, Col, Alert} from 'react-bootstrap'; import 'bootstrap/dist/css/bootstrap.min.css'; import './styles/InputData.css'; //import './outline.css'; cla...
48,171
https://github.com/acidicMercury8/xray-1.0/blob/master/sdk/boost_1_30_0/libs/regex/old_include/regex.h
Github Open Source
Open Source
Linux-OpenIB
2,020
xray-1.0
acidicMercury8
C
Code
1,520
4,540
/* * * Copyright (c) 1998-2000 * Dr John Maddock * * Permission to use, copy, modify, distribute and sell this software * and its documentation for any purpose is hereby granted without fee, * provided that the above copyright notice appear in all copies and * that both that copyright notice and this permission...
17,840
https://github.com/qdraw/starsky/blob/master/starsky/starskytest/Services/SyncServiceTest.cs
Github Open Source
Open Source
MIT
2,021
starsky
qdraw
C#
Code
1,145
4,799
using System; using System.Collections.Generic; using System.Data; using System.IO; using System.Linq; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Caching.Memory; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.VisualStudio.TestTools.UnitTest...
29,313
https://github.com/blackducksoftware/blackduck-docker-inspector/blob/master/src/main/java/com/synopsys/integration/blackduck/dockerinspector/ProcessId.java
Github Open Source
Open Source
Apache-2.0
2,022
blackduck-docker-inspector
blackducksoftware
Java
Code
146
454
/** * blackduck-docker-inspector * * Copyright (c) 2021 Synopsys, Inc. * * Use subject to the terms and conditions of the Synopsys End User Software License and Maintenance Agreement. All rights reserved worldwide. */ package com.synopsys.integration.blackduck.dockerinspector; import java.lang.management.Managem...
25,491
https://github.com/FabioDevGomes/javaee-book/blob/master/src/main/java/br/com/casadocodigo/loja/JMS/listeners/GenerateInvoiceListener.java
Github Open Source
Open Source
MIT
null
javaee-book
FabioDevGomes
Java
Code
89
418
package br.com.casadocodigo.loja.JMS.listeners; import javax.ejb.ActivationConfigProperty; import javax.ejb.MessageDriven; import javax.inject.Inject; import javax.jms.JMSException; import javax.jms.Message; import javax.jms.MessageListener; import javax.jms.TextMessage; import org.slf4j.Logger; import org.slf4j.Logg...
29,229
https://github.com/3merge/q/blob/master/packages/q3-ui-forms/src/fields/DateRange/index.js
Github Open Source
Open Source
MIT
2,020
q
3merge
JavaScript
Code
6
11
export { default } from './DateRange';
2,967
https://github.com/moskauerst/grails-core/blob/master/grails-core/src/main/groovy/org/grails/config/yaml/YamlPropertySourceLoader.groovy
Github Open Source
Open Source
Apache-2.0
null
grails-core
moskauerst
Groovy
Code
402
1,091
/* * Copyright 2014 original 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 agre...
13,696
https://github.com/owncast/owncast/blob/master/Dockerfile
Github Open Source
Open Source
MIT
2,023
owncast
owncast
Dockerfile
Code
178
443
# IMPORTANT: This Dockerfile has been provided for the sake of convenience. # Currently, functionality of the containers built based on this file # is not a part of our continuous testing. Although, patches to keep it # up to date are always welcome. # # See ‘Earthfile’ for the recipes used in official builds. FROM go...
36,783
https://github.com/huysentruitw/SapNwRfc/blob/master/src/SapNwRfc/Internal/Interop/RfcResultCode.cs
Github Open Source
Open Source
MIT
2,023
SapNwRfc
huysentruitw
C#
Code
58
449
using System.Diagnostics.CodeAnalysis; namespace SapNwRfc.Internal.Interop { [SuppressMessage("ReSharper", "InconsistentNaming", Justification = "Should match SAP SDK")] [SuppressMessage("ReSharper", "IdentifierTypo", Justification = "Should match SAP SDK")] internal enum RfcResultCode { RFC_OK...
31,386
https://github.com/mirotvorec85/smartholdem-wallet/blob/master/client/app/src/components/dashboard/dashboard.controller.js
Github Open Source
Open Source
MIT
2,018
smartholdem-wallet
mirotvorec85
JavaScript
Code
43
169
;(function () { 'use strict' angular .module('sthclient.components') .component('dashboard', { templateUrl: 'src/components/dashboard/templates/dashboard.html', bindings: { accountCtrl: '=' }, controller: [ '$scope', '$mdToast', 'toastService', 'feedService', 'storag...
38,509
https://github.com/saturnui/docs/blob/master/src/pages/components/datepicker.vue
Github Open Source
Open Source
MIT
2,021
docs
saturnui
Vue
Code
183
699
<template> <div class="sa-content sm:p-4"> <div>Date Picker Examples:</div> <div class="sa-light-dark p-2 my-2 rounded-md"> <div class="m-1"> Single Date </div> <VDatePicker v-model="singleDateValue" :as-single="true" /> <div class="p-2"> {{ single...
39,375
https://github.com/MochTor/IR_Project/blob/master/Evaluation/MATTERS_Core/tmp/prova.m
Github Open Source
Open Source
BSD-2-Clause
2,018
IR_Project
MochTor
MATLAB
Code
14
46
function [] = prova(varargin) for k = 1:nargin name = inputname(k) isempty(name) end; end
18,160
https://github.com/vitormosousa/Autopilot/blob/master/autopilot/lib/SeatalkTo/SeatalkDef.h
Github Open Source
Open Source
MIT
2,020
Autopilot
vitormosousa
C++
Code
467
1,227
/* N2kDef.h Copyright (c) 2015-2017 Timo Lappalainen, Kave Oy, www.kave.fi Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, cop...
9,187
https://github.com/koansoftware/info2_oop_unibg/blob/master/cap09_classi/18/esercitazione/PrvoaStudentiStatic.java
Github Open Source
Open Source
MIT
2,022
info2_oop_unibg
koansoftware
Java
Code
43
243
package esercitazione; public class PrvoaStudentiStatic { public static void main(String[] args) { System.out.println(Studente.getNImmatricolati()); Studente s1 = new Studente("piero", "rossi", "italia"); System.out.println(s1); //Studente.numeroStudentiImmatricolati = 1000; //System.out.println(Studente.n...
40,349
https://github.com/aliyun/alibabacloud-java-sdk/blob/master/push-20160801/src/main/java/com/aliyun/push20160801/Client.java
Github Open Source
Open Source
Apache-2.0
2,023
alibabacloud-java-sdk
aliyun
Java
Code
3,790
22,327
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.push20160801; import com.aliyun.tea.*; import com.aliyun.push20160801.models.*; public class Client extends com.aliyun.teaopenapi.Client { public Client(com.aliyun.teaopenapi.models.Config config) throws Exception { super(config); ...
51,963
https://github.com/cia1099/Cpp-SocketLibrary/blob/master/src/tests/TestBluetooth.cpp
Github Open Source
Open Source
Apache-2.0
2,021
Cpp-SocketLibrary
cia1099
C++
Code
90
390
#include <iostream> #include <cassert> #include <stdexcept> #include "../socket/Socket.h" #include "../serversocket/ServerSocket.h" #include "TestUtil.hpp" void testBluetooth() { preFunctionTest(__func__); kt::ServerSocket server(kt::SocketType::Bluetooth); kt::Socket socket(kt::Socket::getLocalMACAddress(), se...
2,412
https://github.com/dontdrinkandroot/stack.wicket.java/blob/master/src/main/java/net/dontdrinkandroot/stack/wicket/wicket/component/item/SignInItem.java
Github Open Source
Open Source
Apache-2.0
null
stack.wicket.java
dontdrinkandroot
Java
Code
47
248
package net.dontdrinkandroot.stack.wicket.wicket.component.item; import net.dontdrinkandroot.stack.wicket.wicket.WebSession; import net.dontdrinkandroot.stack.wicket.wicket.page.SignInPage; import net.dontdrinkandroot.wicket.bootstrap.component.item.BookmarkablePageLinkItem; import org.apache.wicket.Page; import org.a...
41,670
https://github.com/andersao/ruby-test-reporter/blob/master/bin/ci
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, MIT
2,018
ruby-test-reporter
andersao
Shell
Code
30
137
#!/bin/bash --login set -e rvm use 1.9.3 ruby -v bundle install --gemfile Gemfile.ruby-19 bundle exec rake rvm use 2.2.2 ruby -v bundle install bundle exec rake CODECLIMATE_REPO_TOKEN=c4881e09870b0fac1291c93339b36ffe36210a2645c1ad25e52d8fda3943fb4d bundle exec codeclimate-test-reporter
6,872
https://github.com/hernanmd/CodeGenerator/blob/master/repository/CodeGenerator-Readme.package/CGAbstractBadgesCollection.class/instance/badgeTravisBuildStatus.st
Github Open Source
Open Source
MIT
2,023
CodeGenerator
hernanmd
null
Spoken
10
70
accessing-badges badgeTravisBuildStatus ^ '[![Build Status](https://travis-ci.org/$1/$repo.svg?branch=master)](https://travis-ci.org/$1/$repo)"' format: { self repositoryName }
40,188
https://github.com/TheBeaNerd/acl2/blob/master/books/workshops/2006/cowles-gamboa-euclid/Euclid/.sys/ed5aa@useless-runes.lsp
Github Open Source
Open Source
BSD-3-Clause
2,021
acl2
TheBeaNerd
Common Lisp
Code
3,691
14,214
(GAUSS-INT::ROUND-AS-FLOOR-&-CEILING (1384 126 (:REWRITE NIQ-TYPE . 3)) (830 724 (:REWRITE /R-WHEN-ABS-NUMERATOR=1)) (828 688 (:REWRITE DEFAULT-*-2)) (702 688 (:REWRITE DEFAULT-*-1)) (378 256 (:REWRITE DEFAULT-UNARY-MINUS)) (362 362 (:REWRITE DEFAULT-UNARY-/)) (342 126 (:REWRITE NIQ-TYPE . 2)) (318 172 (:REWRIT...
6,092
https://github.com/ScalablyTyped/Distribution/blob/master/a/adone/src/main/scala/typings/adone/adoneNs/mathNs/INs/DecimalNs/package.scala
Github Open Source
Open Source
MIT
2,023
Distribution
ScalablyTyped
Scala
Code
40
128
package typings.adone.adoneNs.mathNs.INs import scala.scalajs.js import scala.scalajs.js.`|` import scala.scalajs.js.annotation._ package object DecimalNs { import typings.adone.adoneNs.mathNs.Decimal type Constructor = /* import warning: ResolveTypeQueries.resolve Couldn't resolve typeof Decimal */ js.Any typ...
32,175
https://github.com/renovate-bot/nodejs-notebooks/blob/master/protos/protos.d.ts
Github Open Source
Open Source
Apache-2.0
2,022
nodejs-notebooks
renovate-bot
TypeScript
Code
20,000
44,972
// Copyright 2021 Google LLC // // 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...
12,816
https://github.com/GrfxGuru/CompileSwift_com/blob/master/src/components/StaticPostCard.js
Github Open Source
Open Source
MIT
null
CompileSwift_com
GrfxGuru
JavaScript
Code
129
409
import React from "react" import { scale, rhythm } from "../utils/typography" import { Link } from "gatsby" import { white } from "ansi-colors" function StaticPostCard({ title, summary, url, watermarkImage }) { return ( <Link style={{ boxShadow: `none`, color: "#ffffff", fontWeight:...
10,036
https://github.com/yosafatboyer1105/WEB2/blob/master/resources/views/clients/shirt.blade.php
Github Open Source
Open Source
MIT
2,021
WEB2
yosafatboyer1105
PHP
Code
676
3,344
@extends('layouts.master') @section('content') <!--carousel single slide--> <div class="container"> <div class="col-md-10"> <div id="carouselExampleSlidesOnly" class="carousel slide" data-bs-ride="carousel"> <div class="carousel-inner"> ...
45,081
https://github.com/Imamrobiansyah/ewisata/blob/master/db/ewisata(new).sql
Github Open Source
Open Source
MIT
null
ewisata
Imamrobiansyah
SQL
Code
1,344
4,483
-- phpMyAdmin SQL Dump -- version 5.0.4 -- https://www.phpmyadmin.net/ -- -- Host: 127.0.0.1 -- Generation Time: Feb 28, 2021 at 06:06 AM -- Server version: 10.4.17-MariaDB -- PHP Version: 8.0.1 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; START TRANSACTION; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIEN...
52,862
https://github.com/benkas/primevue/blob/master/src/components/dataview/index.js
Github Open Source
Open Source
MIT
2,021
primevue
benkas
JavaScript
Code
5
17
'use strict'; module.exports = require('./DataView.vue');
55,072
https://github.com/neoneye/loda/blob/master/programs/oeis/162/A162751.asm
Github Open Source
Open Source
Apache-2.0
2,022
loda
neoneye
Assembly
Code
65
322
; A162751: Write down in binary the n-th positive (odd) integer that is a palindrome in base 2. Take only the leftmost half of the digits (including the middle digit if there are an odd number of digits). a(n) is the decimal equivalent of the result. ; 1,1,2,3,2,3,4,5,6,7,4,5,6,7,8,9,10,11,12,13,14,15,8,9,10,11,12,13,1...
30,350
https://github.com/lefb766/mono/blob/master/mcs/class/System.Threading.Tasks.Dataflow/Test/System.Threading.Tasks.Dataflow/OutputAvailableTest.cs
Github Open Source
Open Source
Apache-2.0
2,022
mono
lefb766
C#
Code
411
1,316
// OutputAvailableTest.cs // // Copyright (c) 2012 Petr Onderka // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use...
36,979