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/invisibleboy/mycompiler/blob/master/scripts/find_bench_dir
Github Open Source
Open Source
NCSA
2,014
mycompiler
invisibleboy
Shell
Code
736
1,664
#!/bin/sh ############################################################################### ## ## Illinois Open Source License ## University of Illinois/NCSA ## Open Source License ## ## Copyright (c) 2004, The University of Illinois at Urbana-Champaign. ## All rights re...
8,882
https://github.com/EddieChoCho/spring-amqp/blob/master/spring-rabbit/src/main/java/org/springframework/amqp/rabbit/retry/RejectAndDontRequeueRecoverer.java
Github Open Source
Open Source
Apache-2.0
2,022
spring-amqp
EddieChoCho
Java
Code
289
721
/* * Copyright 2002-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...
24,983
https://github.com/tefra/xsdata-w3c-tests/blob/master/output/instances/msData/particles/particlesIf006.py
Github Open Source
Open Source
MIT
2,023
xsdata-w3c-tests
tefra
Python
Code
9
46
from output.models.ms_data.particles.particles_if006_xsd.particles_if006 import Doc obj = Doc( e1_or_e2="" )
27,113
https://github.com/yantrajs/yantra/blob/master/YantraJS.Core.Tests/Generator/Files/es5/Function/class.js
Github Open Source
Open Source
Apache-2.0
2,022
yantra
yantrajs
JavaScript
Code
21
72
var AmdLoader = (function () { function AmdLoader() { this.name = "loader"; }; AmdLoader.instance = new AmdLoader(); return AmdLoader; }()); assert.strictEqual(AmdLoader.instance.name,"loader");
49,186
https://github.com/bluestone029/epub-reader/blob/master/app/js/renderer/main.jsx
Github Open Source
Open Source
MIT
2,019
epub-reader
bluestone029
JavaScript
Code
85
258
import React from 'react'; import ReactDOM from 'react-dom'; import { applyMiddleware, createStore } from 'redux'; import { Provider } from 'react-redux'; import { createLogger } from 'redux-logger'; import thunk from 'redux-thunk'; import Api from './mainApi'; import App from './containers/app_container'; import { r...
20,395
https://github.com/mortenbakkedal/SharpMath/blob/master/SharpMath/LinearAlgebra/AlgLib/ablasf.cs
Github Open Source
Open Source
MIT
2,016
SharpMath
mortenbakkedal
C#
Code
745
1,986
// SharpMath - C# Mathematical Library /************************************************************************* Copyright (c) 2009, Sergey Bochkanov (ALGLIB project). >>> SOURCE LICENSE >>> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as pu...
42,049
https://github.com/feliposz/sicp-solutions/blob/master/section3_5_exercise3_73.scm
Github Open Source
Open Source
MIT
2,020
sicp-solutions
feliposz
Scheme
Code
194
686
; Procedures (define (add-streams s1 s2) (cond ((empty-stream? s1) s2) ((empty-stream? s2) s1) (else (cons-stream (+ (head s1) (head s2)) (add-streams (tail s1) (tail s2)))))) (define (scale-stream c s) (stream-map (lambda (x) (* x c)) s)) (define (integral integrand initial-value dt) (define ...
8,137
https://github.com/mukeshbpatel/SocietyManagement/blob/master/SocietyManagement/SocietyManagement/obj/Release/Package/PackageTmp/Views/ForumComment/Details.cshtml
Github Open Source
Open Source
Apache-2.0
null
SocietyManagement
mukeshbpatel
C#
Code
137
700
@model SocietyManagement.Models.ForumComment @{ ViewBag.Title = "Details"; } <h2>Details</h2> <div> <h4>ForumComment</h4> <hr /> <dl class="dl-horizontal"> <dt> @Html.DisplayNameFor(model => model.Comment) </dt> <dd> @Html.DisplayFor(model => model.Co...
19,128
https://github.com/appolloford/UCLCHEM/blob/master/src/chemistry.f90
Github Open Source
Open Source
MIT
2,020
UCLCHEM
appolloford
Fortran Free Form
Code
1,117
4,132
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! Chemistry module of UCL_CHEM. ! ! Contains all the core machinery of the code, not really intended to be altered in standard ! ! use. Use a (custom) physics mo...
39,338
https://github.com/itancio/cs195-project/blob/master/src/ui/js/components/Menu.js
Github Open Source
Open Source
Unlicense
null
cs195-project
itancio
JavaScript
Code
82
292
import storage from "../storage.js"; /** * This interface represents the main landing title and level selection screen. */ const Menu = { render(root) { const menuHTML = ` <div id="menu"> <h1>Sokoban</h1> <div class="attribution"> <em>by Irvin, Juan, Severin & Greg</em> </div> ...
41,178
https://github.com/tulindo/home-assistant/blob/master/homeassistant/helpers/network.py
Github Open Source
Open Source
Apache-2.0
null
home-assistant
tulindo
Python
Code
538
2,015
"""Network helpers.""" from ipaddress import ip_address from typing import cast import yarl from homeassistant.core import HomeAssistant, callback from homeassistant.exceptions import HomeAssistantError from homeassistant.loader import bind_hass from homeassistant.util.network import ( is_ip_address, is_local...
31,477
https://github.com/phpchap/symfony14-beauty-salon/blob/master/apps/backend/modules/SpecialOffer/actions/actions.class.php
Github Open Source
Open Source
MIT
2,013
symfony14-beauty-salon
phpchap
PHP
Code
38
144
<?php require_once dirname(__FILE__).'/../lib/SpecialOfferGeneratorConfiguration.class.php'; require_once dirname(__FILE__).'/../lib/SpecialOfferGeneratorHelper.class.php'; /** * SpecialOffer actions. * * @package sf_sandbox * @subpackage SpecialOffer * @author Your name here * @version SVN: $Id: acti...
32,196
https://github.com/danielSoler93/modtox/blob/master/modtox/retrievers/retrieverABC.py
Github Open Source
Open Source
Apache-2.0
2,020
modtox
danielSoler93
Python
Code
35
94
from abc import ABC, abstractmethod from dataclasses import dataclass class Retriever(ABC): def __init__(self) -> None: self.ids = dict() self.activities = list() @abstractmethod def retrieve_by_target(self): """Accepts UniProt accession code as argument. Sets self.ids and s...
13,564
https://github.com/pseudovector/Linkis/blob/master/linkis-engineconn-plugins/linkis-engineconn-plugin-framework/linkis-engineconn-plugin-loader/src/main/java/com/webank/wedatasphere/linkis/manager/engineplugin/manager/loaders/DefaultEngineConnPluginLoader.java
Github Open Source
Open Source
Apache-2.0
2,020
Linkis
pseudovector
Java
Code
816
2,846
/* * Copyright 2019 WeBank * * 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...
20,439
https://github.com/hieudoanm/hieudoanm.github.io/blob/master/gatsby-config.js
Github Open Source
Open Source
MIT
null
hieudoanm.github.io
hieudoanm
JavaScript
Code
868
2,953
module.exports = { siteMetadata: { siteUrl: 'https://hieudoanm.github.io/', title: 'HIEU DOAN (hieudoanm)', description: 'Full-stack Node.js Developer', profiles: [ { href: 'mailto:hieumdoan@gmail.com', title: 'Email' }, { href: 'https://www.linkedin.com/in/hieudoanm', title: 'LinkedIn' },...
22,682
https://github.com/samtags/hsfg-website/blob/master/screen/documents/baptismal/Preview.js
Github Open Source
Open Source
MIT
null
hsfg-website
samtags
JavaScript
Code
347
1,576
import { useDispatch, useSelector } from "react-redux"; import Button from "../../../components/Button"; import { MODEL, PARENTS_INFO, CHILD_INFO, BAPTISMAL_INFO, CONTACT_INFO } from "./store"; import { FiEdit3 } from "react-icons/fi"; import { useEffect } from "react"; export default function Preview() { ...
979
https://github.com/ekut-es/pico-cnn/blob/master/onnx_import/code_templates/tensor_operations/pico_cnn_concat.cpp
Github Open Source
Open Source
BSD-3-Clause
2,021
pico-cnn
ekut-es
C++
Code
4
39
{{input_declaration}} {{output_buffer.name}}->concatenate_from({{num_inputs}}, {{inputs}}, {{dimension}});
9,417
https://github.com/hueng/sharingan/blob/master/replayer-agent/utils/protocol/pmysql/common/packet_test.go
Github Open Source
Open Source
Apache-2.0
2,020
sharingan
hueng
Go
Code
142
590
package common import ( "bytes" "testing" "github.com/modern-go/parse" "github.com/stretchr/testify/require" ) func TestGetStringNull(t *testing.T) { var testCase = []struct { in []byte expect string }{ { in: []byte{0x68, 0x65, 0x6c, 0x6c, 0x6f, 0x20, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x00}, ex...
1,133
https://github.com/RamoramaInteractive/Memory-Game/blob/master/app/src/main/java/com/example/fdai3744/memorygame3/MainActivity.java
Github Open Source
Open Source
LicenseRef-scancode-public-domain
2,021
Memory-Game
RamoramaInteractive
Java
Code
208
875
package com.example.fdai3744.memorygame3; import android.annotation.SuppressLint; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import androidx.core.app.ActivityCompat; import androidx.constraintlayout.widget.ConstraintLayout; import android.os.Bundle; import ...
21,258
https://github.com/IzzDarki/Ino/blob/master/docs/documentation/html/structstd_1_1remove__all__extents_3_01___ty_0f_0e_4.js
Github Open Source
Open Source
MIT
null
Ino
IzzDarki
JavaScript
Code
10
92
var structstd_1_1remove__all__extents_3_01___ty_0f_0e_4 = [ [ "type", "structstd_1_1remove__all__extents_3_01___ty_0f_0e_4.html#a7ada027a4aa09c090a8f1a4fa69ed032", null ] ];
29,258
https://github.com/pplu/azure-sdk-perl/blob/master/auto-lib/Azure/StorSimple/NetworkSettings.pm
Github Open Source
Open Source
Apache-2.0
null
azure-sdk-perl
pplu
Perl
Code
75
204
package Azure::StorSimple::NetworkSettings; use Moose; has 'id' => (is => 'ro', isa => 'Str' ); has 'kind' => (is => 'ro', isa => 'Str' ); has 'name' => (is => 'ro', isa => 'Str' ); has 'type' => (is => 'ro', isa => 'Str' ); has 'dnsSettings' => (is => 'ro', isa => 'Azure::StorSimple::DNSSettings' ); ...
6
https://github.com/SarahMehddi/HelloWorld/blob/master/webapp/src/main/java/org/apache/atlas/web/filters/AuditFilter.java
Github Open Source
Open Source
Apache-2.0, BSD-3-Clause
null
HelloWorld
SarahMehddi
Java
Code
446
1,128
/** * 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...
27,607
https://github.com/UniversalAdministrator/dialogflow-web-master/blob/master/src/main.js
Github Open Source
Open Source
MIT
2,018
dialogflow-web-master
UniversalAdministrator
JavaScript
Code
49
153
import Vue from 'vue' import { Vue2Dragula } from 'vue2-dragula' import App from './App.vue' Vue.use(VueCarousel) new Vue({ el: '#app', render: h => h(App) }).$mount('#app') Vue.use(Vue2Dragula, { logging: { service: true // to only log methods in service (DragulaService) new Vue({ el: '#app', ...
49,427
https://github.com/schroedinger-survey/backend/blob/master/scripts/010_alter_default_values.sql
Github Open Source
Open Source
MIT
2,020
backend
schroedinger-survey
SQL
Code
199
558
CREATE EXTENSION IF NOT EXISTS pg_stat_statements; ALTER TABLE IF EXISTS surveys ALTER COLUMN start_date SET DEFAULT CURRENT_TIMESTAMP, ALTER COLUMN end_date SET DEFAULT null; ALTER TABLE IF EXISTS users ALTER COLUMN created SET DEFAULT CURRENT_TIMESTAMP, ALTER COLUMN last_edited SET DEFAULT CURRENT_T...
22,961
https://github.com/zaerald/aws-toolkit-jetbrains/blob/master/jetbrains-rider/protocol.gradle
Github Open Source
Open Source
Apache-2.0
2,020
aws-toolkit-jetbrains
zaerald
Gradle
Code
563
2,130
// Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 def protocolGroup = 'protocol' ext.csDaemonGeneratedOutput = new File(resharperPluginPath, "src/AWS.Daemon/Protocol") ext.csPsiGeneratedOutput = new File(resharperPluginPath, "src/AWS.Psi/Protocol") ext.c...
24,813
https://github.com/RChehowski/juepak2/blob/master/src/main/java/com/vizor/unreal/util/UE4Serializable.java
Github Open Source
Open Source
Apache-2.0
2,018
juepak2
RChehowski
Java
Code
63
146
package com.vizor.unreal.util; import com.vizor.unreal.annotations.FStruct; import java.nio.ByteBuffer; /** * Trivially deserializable UE4 structure. * 'Trivially' means that all fields are accessible and should serialized in order of appearance. * * NOTE: Target class must be annotated with {@link FStruct} */ ...
14,409
https://github.com/zhaoyangzhou/PermissionLibrary/blob/master/src/main/java/com/zzy/learn/aspectj/aspect/TraceAspect.java
Github Open Source
Open Source
Apache-2.0
null
PermissionLibrary
zhaoyangzhou
Java
Code
210
761
package com.zzy.learn.aspectj.aspect; import android.util.Log; import org.aspectj.lang.JoinPoint; import org.aspectj.lang.ProceedingJoinPoint; import org.aspectj.lang.annotation.Around; import org.aspectj.lang.annotation.Aspect; import org.aspectj.lang.annotation.Before; import org.aspectj.lang.annotation.Pointcut; i...
27,388
https://github.com/asvid/FirebaseLogin/blob/master/settings.gradle
Github Open Source
Open Source
MIT
2,018
FirebaseLogin
asvid
Gradle
Code
3
13
include ':app', ':firebaselogin'
4,619
https://github.com/zhmu/ananas/blob/master/external/gcc-12.1.0/gcc/testsuite/g++.dg/init/new27.C
Github Open Source
Open Source
FSFAP, LGPL-2.1-only, LGPL-3.0-only, GPL-3.0-only, GPL-2.0-only, GCC-exception-3.1, LGPL-2.0-or-later, Zlib, LicenseRef-scancode-public-domain
2,022
ananas
zhmu
C
Code
117
266
// PR c++/34862 // { dg-do run } // { dg-options "-O2" } typedef __SIZE_TYPE__ size_t; extern "C" void abort (); struct T { void *operator new (size_t, char *&); T () { i[0] = 1; i[1] = 2; } int i[2]; }; void * T::operator new (size_t size, char *&p) { void *o = (void *) p; p += size; return o; } T * f ...
27,570
https://github.com/syns2191/gauzy/blob/master/apps/gauzy/src/app/pages/employment-types/employment-types.module.ts
Github Open Source
Open Source
PostgreSQL
null
gauzy
syns2191
TypeScript
Code
124
511
import { NgModule } from '@angular/core'; import { ThemeModule } from '../../@theme/theme.module'; import { NbCardModule, NbButtonModule, NbInputModule, NbIconModule, NbDialogModule, NbActionsModule } from '@nebular/theme'; import { FormsModule, ReactiveFormsModule } from '@angular/forms'; import { TagsColorInput...
30,129
https://github.com/infrastrukt/Gisto/blob/master/src/components/layout/Main.js
Github Open Source
Open Source
MIT
2,018
Gisto
infrastrukt
JavaScript
Code
138
454
import React from 'react'; import { connect } from 'react-redux'; import PropTypes from 'prop-types'; import { get } from 'lodash/fp'; import styled from 'styled-components'; import Sidebar from 'components/layout/sidebar/Sidebar'; import Content from 'components/layout/Content'; import * as snippetActions from 'actio...
1,908
https://github.com/GeorgeDubuque/Pokey/blob/master/Assets/Tools/Playtime Painter/Shaders/PlaytimePainter_Test_Projector.shader
Github Open Source
Open Source
MIT
null
Pokey
GeorgeDubuque
GLSL
Code
411
1,556
Shader "Playtime Painter/Editor/ProjectorTest" { Properties{ _MainTex("Albedo (RGB)", 2D) = "white" {} [Toggle(_DEBUG)] debugOn("Debug", Float) = 0 } SubShader{ Tags { "RenderType" = "Opaque" } Pass { CGPROGRAM #include "PlaytimePainter_cg.cginc" #pragma vertex vert #pragma fragment frag ...
3,715
https://github.com/kmdtmyk/rparams/blob/master/spec/dummy/spec/lib/memory_spec.rb
Github Open Source
Open Source
MIT
null
rparams
kmdtmyk
Ruby
Code
425
1,351
# frozen_string_literal: true require 'rails_helper' RSpec.describe Rparam::Memory do include ActiveSupport::Testing::TimeHelpers describe 'read' do example 'without type' do memory = Rparam::Memory.new({ value: 'foo' }) expect(memory.read :value).to eq 'foo' end context 'relative date'...
45,884
https://github.com/youngchan1988/dartfx/blob/master/js/jsfx.test.ts
Github Open Source
Open Source
BSD-3-Clause
2,022
dartfx
youngchan1988
TypeScript
Code
1,022
3,702
// Copyright (c) 2022, the dartfx 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. import './d8'; import { fx, fxWithEnvs, fxAssignment, fxSetFunctionResolver } from './jsfx'; test('Te...
38,082
https://github.com/blockbitsio/smart-contracts/blob/master/build-merger/ApplicationEntity.sol
Github Open Source
Open Source
MIT
2,021
smart-contracts
blockbitsio
Solidity
Code
3,926
11,367
pragma solidity ^0.4.17; /* * source https://github.com/blockbitsio/ * @name Application Entity Generic Contract * @package BlockBitsIO * @author Micky Socaci <micky@nowlive.ro> Used for the ABI interface when assets need to call Application Entity. This is required, otherwise we ...
42,933
https://github.com/LiShenglin/LoveFreshBeen/blob/master/爱鲜蜂/baseFramework/Third/CHRefresh/UIScrollView+Extension.m
Github Open Source
Open Source
Apache-2.0
2,016
LoveFreshBeen
LiShenglin
Objective-C
Code
311
1,261
// // UIScrollView+Extension.m // baseFramework // // Created by chenangel on 16/6/12. // Copyright © 2016年 chuhan. All rights reserved. // #import "UIScrollView+Extension.h" @implementation UIScrollView (Extension) /** 下拉刷新 第一个参数是方向 */ - (void)headerViewPullToRefresh:(CHRefreashDirection)direction callback:(...
23,220
https://github.com/cagatayturkann/matriksmobil/blob/master/platforms/android/build/generated/source/r/F0F1/debug/org/nativescript/Matriks/R.java
Github Open Source
Open Source
MIT
null
matriksmobil
cagatayturkann
Java
Code
20,000
70,649
/* AUTO-GENERATED FILE. DO NOT MODIFY. * * This class was automatically generated by the * aapt tool from the resource data it found. It * should not be modified by hand. */ package org.nativescript.Matriks; public final class R { public static final class anim { public static final int abc_fade_in=0x7f040000; public s...
16,094
https://github.com/SapirLastimoza-Dooley/Tamu.GeoInnovation.js.monorepo/blob/master/libs/oidc/provider/src/lib/typings/oidc-provider/index.d.ts
Github Open Source
Open Source
MIT
2,020
Tamu.GeoInnovation.js.monorepo
SapirLastimoza-Dooley
TypeScript
Code
446
1,498
declare module 'oidc-provider' { import { Request, Response, Handler } from 'express'; import express, { Router } from 'express'; import { IncomingMessage, ServerResponse } from 'http'; import EventEmitter from 'events'; interface AuthorizationCodeData { accountId: string; authTime: number; claim...
21,351
https://github.com/noob-26/signature_saas/blob/master/client/src/pages/Pages/Careers/PageJobCompany.js
Github Open Source
Open Source
MIT
2,021
signature_saas
noob-26
JavaScript
Code
973
3,704
import React, { Component } from "react"; import { Link } from "react-router-dom"; import { Container, Row, Col, Modal, ModalHeader, ModalBody, Form, Input, Label, } from "reactstrap"; //Import Icons import FeatherIcon from "feather-icons-react"; //Import Images import imgbg from "../../../assets/im...
10,673
https://github.com/171906502/wetM2.0/blob/master/backend/modules/core/views/logmanager/index.php
Github Open Source
Open Source
BSD-3-Clause
null
wetM2.0
171906502
PHP
Code
112
550
<?php use yii\helpers\Url; ?> <div class="bjui-pageHeader"> <form id="pagerForm" data-toggle="ajaxsearch" action="<?= Url::toRoute('index') ?>" method="get"> <input type="hidden" name="pageSize" value="10"> <input type="hidden" name="pageCurrent" value="1"> <input type="hidden" name="orderFi...
3,258
https://github.com/WEBZCC/ohloh-ui/blob/master/app/decorators/people_decorator.rb
Github Open Source
Open Source
Apache-2.0
2,022
ohloh-ui
WEBZCC
Ruby
Code
32
150
# frozen_string_literal: true class PeopleDecorator def initialize(people) @people = people end def commits_by_project_map @people.each_with_object({}) do |person, cbp_map| account_decorator = person.account.decorate sorted_cbp = account_decorator.sorted_commits_by_project cbp_map[pers...
24,832
https://github.com/Dima22564/cs-lucky-dev/blob/master/resources/sass/components/_scroll.sass
Github Open Source
Open Source
MIT
null
cs-lucky-dev
Dima22564
Sass
Code
99
409
@import '../_var' .vb > .vb-dragger z-index: 5 width: 12px right: 0 .vb > .vb-dragger > .vb-dragger-styler -webkit-backface-visibility: hidden backface-visibility: hidden -webkit-transform: rotate3d(0,0,0,0) transform: rotate3d(0,0,0,0) -webkit-transition: background-color 100ms ease-out, margin 100ms...
3,251
https://github.com/c910335/twitter-crystal/blob/master/src/twitter/rest/friends_and_followers.cr
Github Open Source
Open Source
Apache-2.0
2,020
twitter-crystal
c910335
Crystal
Code
173
565
require "json" require "../user" module Twitter module REST module FriendsAndFollowers def follow(user_id : Int32 | Int64, options = {} of String => String) : Twitter::User response = post("/1.1/friendships/create.json", options.merge({"user_id" => user_id.to_s})) Twitter::User.from_json(re...
34,631
https://github.com/eshansaif/www.e-dailydeals.com/blob/master/app/Http/Controllers/CouponController.php
Github Open Source
Open Source
MIT
2,019
www.e-dailydeals.com
eshansaif
PHP
Code
228
965
<?php namespace App\Http\Controllers; use App\Coupon; use Illuminate\Http\Request; class CouponController extends Controller { public function index(Request $request) { $data['title'] = 'Coupon List'; $coupon = new Coupon(); $coupon = $coupon->withTrashed(); if ($request->has...
9,531
https://github.com/codeghj/supermail/blob/master/src/view/detials/childComps/DetialsBaseInfo.vue
Github Open Source
Open Source
MIT
2,020
supermail
codeghj
Vue
Code
173
803
<!-- --> <template> <div class="baseinfo" v-if="Object.keys(goods).length !==0"> <div class="info-title">{{goods.title}}</div> <div class="info-price"> <span class="n-price">{{goods.newprice}}</span> <span class="o-price">{{goods.oldprice}}</span> <span v-if="goods.discount" class="discoun...
32,855
https://github.com/animeshdml/arduino_cartpole/blob/master/scripts/serial_monitor.py
Github Open Source
Open Source
MIT
2,018
arduino_cartpole
animeshdml
Python
Code
302
1,126
from __future__ import print_function import glob import struct import time import numpy as np import threading import serial import sys # the interface stuff from PyQt4 import QtCore, QtGui import pyqtgraph as pg from data_plot_widget import DataPlotWidget def look_for_available_ports(): """ find available ...
19,299
https://github.com/GralhaAzul/EPIwebInventoryControl/blob/master/lib/screens/base/base_screen.dart
Github Open Source
Open Source
MIT
null
EPIwebInventoryControl
GralhaAzul
Dart
Code
81
357
import 'package:EPIwebInventoryControl/screens/inventory_control/baixa_stoque_screen.dart'; import 'package:flutter/material.dart'; import 'package:get_it/get_it.dart'; import 'package:mobx/mobx.dart'; import 'package:EPIwebInventoryControl/screens/home/home_screen.dart'; import 'package:EPIwebInventoryControl/stores/p...
1,455
https://github.com/Eli-Levi/CPP-Messageboard-part-b/blob/master/Test.cpp
Github Open Source
Open Source
MIT
null
CPP-Messageboard-part-b
Eli-Levi
C++
Code
672
2,008
#include "doctest.h" #include "Direction.hpp" #include "Board.hpp" #include <iostream> using namespace std; using namespace ariel; TEST_CASE("good input - horizontal message") { Board board; board.post(0, 0, Direction::Horizontal, "bla"); CHECK(board.read(0, 0, Direction::Horizontal, 3) == "bla"); } T...
8,422
https://github.com/r89m/pdf-anonymisation/blob/master/setup.py
Github Open Source
Open Source
Apache-2.0
null
pdf-anonymisation
r89m
Python
Code
19
79
from distutils.core import setup import py2exe setup( options={"py2exe": { "bundle_files": 1, "compressed": True, "excludes": ["Tkinter"] }}, console=["pdf-anon.py"], zipfile=None )
1,217
https://github.com/sintefmath/Jutul.jl/blob/master/src/simulator/relaxation.jl
Github Open Source
Open Source
MIT
2,023
Jutul.jl
sintefmath
Julia
Code
109
390
function select_nonlinear_relaxation(sim::Simulator, rel_type, reports, relaxation) return select_nonlinear_relaxation_model(sim.model, rel_type, reports, relaxation) end function select_nonlinear_relaxation(sim::JutulSimulator, rel_type, reports, relaxation) return relaxation end function select_nonlinear_re...
23,616
https://github.com/msrocka/ilcd/blob/master/zipr.go
Github Open Source
Open Source
MIT
2,018
ilcd
msrocka
Go
Code
831
1,970
package ilcd import ( "archive/zip" "strings" ) // ZipReader can read data sets from ILCD packages. type ZipReader struct { r *zip.ReadCloser } // NewZipReader creates a new package reader. func NewZipReader(filePath string) (*ZipReader, error) { r, err := zip.OpenReader(filePath) return &ZipReader{r: r}, err }...
19,332
https://github.com/myzhang1029/WabbitStudio-Old/blob/master/WabbitCode/WCSourceRulerView.h
Github Open Source
Open Source
MIT
2,021
WabbitStudio-Old
myzhang1029
C
Code
249
656
// // WCSourceRulerView.h // WabbitEdit // // Created by William Towe on 12/26/11. // Copyright (c) 2011 Revolution Software. // // 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 rest...
10,201
https://github.com/safie/spkpn22/blob/master/routes/web.php
Github Open Source
Open Source
MIT
null
spkpn22
safie
PHP
Code
216
2,385
<?php use Illuminate\Support\Facades\Route; use Illuminate\Support\Facades\Auth; /* |-------------------------------------------------------------------------- | Web Routes |-------------------------------------------------------------------------- | | Here is where you can register web routes for your application. T...
21,465
https://github.com/mythsunwind/appcenter-plugin/blob/master/src/test/java/io/jenkins/plugins/appcenter/validator/UsernameValidatorTest.java
Github Open Source
Open Source
MIT
2,021
appcenter-plugin
mythsunwind
Java
Code
189
653
package io.jenkins.plugins.appcenter.validator; import org.junit.Before; import org.junit.Test; import static com.google.common.truth.Truth.assertThat; public class UsernameValidatorTest { private Validator validator; @Before public void setUp() { validator = new UsernameValidator(); } ...
22,188
https://github.com/mattatwork26/inferno/blob/master/packages/inferno/src/DOM/utils.ts
Github Open Source
Open Source
MIT
null
inferno
mattatwork26
TypeScript
Code
815
2,213
import { isArray, isFunction, isInvalid, isNullOrUndef, isStringOrNumber, isUndefined, LifecycleClass, throwError } from 'inferno-shared'; import VNodeFlags from 'inferno-vnode-flags'; import options from '../core/options'; import { VNode, Props } from '../core/VNodes'; import { cloneVNode, createTextVNode, cre...
34,347
https://github.com/monnhoccon/Plugin-play-videojs/blob/master/Player.php
Github Open Source
Open Source
Apache-2.0
2,015
Plugin-play-videojs
monnhoccon
PHP
Code
269
735
<?php if (!defined('Check')) { header('HTTP/1.1 404 Not Found'); exit(); } ### Tạo đường dẫn đến các file js và css phục vụ cho videojs ### $GLOBALS['css'] = 'Player/temp/player_style.css'; // Link CSS videojs $GLOBALS['js'] = 'Player/temp/player_script.js'; // Link JS videojs $GLOBALS['ie8'] = 'Player/ie8/...
12,882
https://github.com/itspriddle/generate-password.lbaction/blob/master/Contents/Resources/keepass-password-generator-0.1.1/.gitignore
Github Open Source
Open Source
MIT
2,018
generate-password.lbaction
itspriddle
Ignore List
Code
7
27
*.gem .bundle .yardoc .rvmrc Gemfile.lock doc pkg
43,253
https://github.com/mlcodepatterns/mlcodepatterns.github.io/blob/master/icse_sp4/7/62259/289317852.dot
Github Open Source
Open Source
Apache-2.0
2,022
mlcodepatterns.github.io
mlcodepatterns
Graphviz (DOT)
Code
82
290
digraph G { subgraph cluster0 { 1 [label="zscore" a="32" s="1705,1720" l="7,1" shape="box"]; 5 [label="Assignment:=" a="7" s="1698" l="1" shape="box"]; label = "Old"; style="dotted"; } subgraph cluster1 { 2 [label="IfStatement" a="25" s="3418,3452" l="4,2" shape="diamond"]; 3 [label="()" a="106" s="3572" l="31" shape="...
5,602
https://github.com/One-sixth/SLAESR/blob/master/dataset_reader/NoTagFaceDatasetReader.py
Github Open Source
Open Source
MIT
2,019
SLAESR
One-sixth
Python
Code
236
872
import os import glob import imageio import cv2 import numpy as np from torch.utils.data import Dataset, DataLoader def center_crop(im): h, w = im.shape[:2] s0 = max(h, w) s1 = min(h, w) s2 = s1 // 2 center_yx = h // 2, w // 2 start_yx = (max(center_yx[0] - s2, 0), max(center_yx[1] - s2, 0)) ...
5,347
https://github.com/chrislconover/Sectional/blob/master/Sources/Sectional/collection/delegate/CompositeCollectionDelegate.swift
Github Open Source
Open Source
Apache-2.0
2,021
Sectional
chrislconover
Swift
Code
1,581
5,608
// // CompositeCollectionDelegate.swift // Curious Applications // // Created by Chris Conover on 9/17/18. // import UIKit // MARK: UICollectionViewDelegate public class CollectionViewCompositeDelegate: NSObject, CollectionOffset, UICollectionViewDelegate { public var baseOffset: IndexPath = IndexPath(item:...
15,099
https://github.com/richardswinbank/sprockit/blob/master/SprockitViz/SprockitViz/Visualiser/PbiDatasetRenderer.cs
Github Open Source
Open Source
MIT
2,022
sprockit
richardswinbank
C#
Code
44
183
using FireFive.SprockitViz.PipelineGraph; using FireFive.SprockitViz.Visualiser; namespace FireFive.SprockitViz { public class PbiDatasetRenderer : NodeRenderer { public override string GetTooltip(Node n) { return $"{n.Name} -- Power BI shared dataset"; } public ov...
28,971
https://github.com/dckesler/wallet/blob/master/packages/cloud-functions/src/paymentRequests/test.ts
Github Open Source
Open Source
Apache-2.0
2,021
wallet
dckesler
TypeScript
Code
155
538
import { notifyPaymentRequest, PaymentRequestStatus } from '.' const saveRequestMock = jest.fn() const sendNotificationMock = jest.fn() jest.mock('../firebase', () => ({ database: () => ({ ref: jest.fn((path: string) => ({ update: (payload: any) => saveRequestMock(path, payload), })), }), })) jest.m...
40,198
https://github.com/BorderTech/webfriends/blob/master/webfriends-selenium-elements/src/main/java/com/github/bordertech/webfriends/selenium/common/feature/Clickable.java
Github Open Source
Open Source
MIT
null
webfriends
BorderTech
Java
Code
60
182
package com.github.bordertech.webfriends.selenium.common.feature; import com.github.bordertech.webfriends.selenium.element.SElement; /** * Element can be clicked. */ public interface Clickable extends SElement { /** * Click the element and wait for the page to be ready. */ default void click() { getDriver(...
43,286
https://github.com/marcog83/pajamas/blob/master/dist/pajamas.js
Github Open Source
Open Source
MIT
2,014
pajamas
marcog83
JavaScript
Code
1,679
4,495
/*! pajamas - v1.6.1 - 2013-11-04 * http://documentup.com/geowa4/pajamas * Copyright (c) 2013 ; Licensed MIT */ (function (factory) { if (typeof module !== 'undefined' && typeof module.exports === 'object') module.exports = factory(require('q')) else if (typeof define === 'function' && define.amd) define(['q'],...
1,256
https://github.com/hakubox/haku-vue/blob/master/src/api/index.ts
Github Open Source
Open Source
BSD-2-Clause
null
haku-vue
hakubox
TypeScript
Code
74
229
import * as authorize from '@/api/authorize'; import * as file from '@/api/file'; import * as funcation from '@/api/funcation'; import * as order from '@/api/order'; import * as product from '@/api/product'; import * as role from '@/api/role'; import * as user from '@/api/user'; export default { /** 系统访问授权模块 */ ...
27,857
https://github.com/johan--/commcare-hq/blob/master/corehq/apps/casegroups/models.py
Github Open Source
Open Source
BSD-3-Clause
null
commcare-hq
johan--
Python
Code
167
578
from couchdbkit.ext.django.schema import StringProperty, ListProperty from casexml.apps.case.models import CommCareCase from dimagi.ext.couchdbkit import Document from dimagi.utils.couch.database import iter_docs from dimagi.utils.couch.undo import UndoableDocument, DeleteDocRecord class CommCareCaseGroup(UndoableDo...
34,595
https://github.com/FeodorFitsner/learning_computer-science/blob/master/src/InterviewBit/src/Courses/Programming/Level5_Hashing/Problems/HashingTwoPointer/WindowString/Python/test_solution.py
Github Open Source
Open Source
MIT
2,022
learning_computer-science
FeodorFitsner
Python
Code
28
107
import solution import unittest class TrivialCase(unittest.TestCase): def testTrivialCase1(self): """"trivial case 1""" expected = "BANC" sol = solution.Solution() actual = sol.minWindow("ADOBECODEBANC", "ABC") self.assertEqual(expected, actual) if __name__ == "__main__": ...
15,119
https://github.com/winedepot/pinot/blob/master/pinot-core/src/main/java/org/apache/pinot/core/startree/OffHeapStarTreeBuilder.java
Github Open Source
Open Source
Apache-2.0, BSD-3-Clause, LicenseRef-scancode-free-unknown, CC-PDDC, LGPL-2.1-only, LicenseRef-scancode-other-permissive, MIT, LicenseRef-scancode-public-domain, LicenseRef-scancode-unknown-license-reference, CPL-1.0, CDDL-1.1, EPL-1.0, BSD-2-Clause, EPL-2.0, CDDL-1.0
2,019
pinot
winedepot
Java
Code
2,972
9,637
/** * 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...
23,654
https://github.com/luisgandrade/TCCSharpRecSys/blob/master/UnsupervisedLearning/Instance.cs
Github Open Source
Open Source
MIT
null
TCCSharpRecSys
luisgandrade
C#
Code
77
260
using Lib; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace UnsupervisedLearning { /// <summary> /// Representa uma instância (i.e., <see cref="Movie"/>) com seus respectivos atributos (i.e., <see cref="TagRelevance"/>). /// </summary>...
31,341
https://github.com/mthmulders/enterprise-beers/blob/master/frontend/app/src/pages/home.tsx
Github Open Source
Open Source
Apache-2.0
2,020
enterprise-beers
mthmulders
TypeScript
Code
21
62
import React from 'react'; const Home = () => ( <> <br /> <img src='img/Two-pints-beer-main.jpg' alt=''></img> </> ) export default Home;
39,578
https://github.com/tensorflow/tensorflow/blob/master/tensorflow/core/transforms/remapper/remapping_helper.h
Github Open Source
Open Source
Apache-2.0, LicenseRef-scancode-generic-cla, BSD-2-Clause
2,023
tensorflow
tensorflow
C++
Code
873
2,678
/* Copyright 2022 The TensorFlow Authors. 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 applicable law or a...
6,213
https://github.com/SaxionMechatronics/Firmware/blob/master/src/drivers/barometer/tcbp001ta/tcbp001ta_main.cpp
Github Open Source
Open Source
BSD-3-Clause
2,020
Firmware
SaxionMechatronics
C++
Code
631
1,751
/**************************************************************************** * * Copyright (c) 2020 PX4 Development Team. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistri...
48,256
https://github.com/luccluna/myportifolio/blob/master/application/views/site/alojamento/pagina.php
Github Open Source
Open Source
MIT
2,021
myportifolio
luccluna
PHP
Code
204
950
<section id="page-title" class="page-title-mini"> <div class="container clearfix"> <h1>Alojamentos</h1> <span>Everything you need to know about our Company</span> <ol class="breadcrumb"> <li class="breadcrumb-item"><a href="<?php echo base_url('') ?>">Home</a></li> <li class="breadcrumb-item">...
29,157
https://github.com/touchhome/touchhome-bundle-api/blob/master/src/main/java/org/touchhome/bundle/api/ui/field/action/v1/UIInputEntity.java
Github Open Source
Open Source
MIT
2,021
touchhome-bundle-api
touchhome
Java
Code
15
61
package org.touchhome.bundle.api.ui.field.action.v1; public interface UIInputEntity { String getEntityID(); String getTitle(); String getItemType(); int getOrder(); }
29,494
https://github.com/aboutbits/react-material-icons/blob/master/src/IconCandlestickChartTwoTone.tsx
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, MIT
2,023
react-material-icons
aboutbits
TSX
Code
76
343
import React from 'react' import { IconProps } from './types' const IconCandlestickChartTwoTone: React.FC<IconProps> = ({ ...props }) => ( <svg xmlns="http://www.w3.org/2000/svg" enableBackground="new 0 0 24 24" viewBox="0 0 24 24" {...props} > {props.title && <title>{props.title}</title>} ...
20
https://github.com/lor6/tutorials/blob/master/patterns-modules/design-patterns-creational/src/test/java/com/baeldung/flyweight/FlyweightUnitTest.java
Github Open Source
Open Source
MIT
2,023
tutorials
lor6
Java
Code
155
420
package com.baeldung.flyweight; import java.awt.Color; import org.junit.Assert; import org.junit.Test; /** * Unit test for {@link VehicleFactory}. * * @author Donato Rimenti */ public class FlyweightUnitTest { /** * Checks that when the {@link VehicleFactory} is asked to provide two * vehicles of differen...
29,518
https://github.com/ScalablyTyped/SlinkyTyped/blob/master/w/webix/src/main/scala/typingsSlinky/webix/webix/ui/datafilter.scala
Github Open Source
Open Source
MIT
2,021
SlinkyTyped
ScalablyTyped
Scala
Code
166
570
package typingsSlinky.webix.webix.ui import org.scalablytyped.runtime.StringDictionary import org.scalajs.dom.raw.HTMLElement import org.scalablytyped.runtime.StObject import scala.scalajs.js import scala.scalajs.js.`|` import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess} ob...
31,060
https://github.com/fostor/Ginkgo/blob/master/src/Fostor.Ginkgo.Web.Mvc/Controllers/RolesController.cs
Github Open Source
Open Source
MIT
2,020
Ginkgo
fostor
C#
Code
278
1,016
using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Abp.Application.Services.Dto; using Abp.AspNetCore.Mvc.Authorization; using Fostor.Ginkgo.Authorization; using Fostor.Ginkgo.Controllers; using Fostor.Ginkgo.Roles; using Fostor.Ginkgo.Roles.Dto; using Fostor.Ginkgo.Web.Models.Roles; using System.Linq;...
46,647
https://github.com/FidelityInternational/stratos/blob/master/src/frontend/app/features/cloud-foundry/edit-organization/edit-organization-step/edit-organization-step.component.ts
Github Open Source
Open Source
Apache-2.0
2,021
stratos
FidelityInternational
TypeScript
Code
398
1,403
import { Component, OnDestroy, OnInit } from '@angular/core'; import { AbstractControl, FormControl, FormGroup, ValidatorFn, Validators } from '@angular/forms'; import { Store } from '@ngrx/store'; import { Observable, Subscription } from 'rxjs'; import { filter, map, take, tap } from 'rxjs/operators'; import { IOrgan...
25,158
https://github.com/ScalablyTyped/SlinkyTyped/blob/master/c/cypress/src/main/scala/typingsSlinky/cypress/Mocha/reporters/Base/cursor.scala
Github Open Source
Open Source
MIT
2,021
SlinkyTyped
ScalablyTyped
Scala
Code
28
127
package typingsSlinky.cypress.Mocha.reporters.Base import scala.scalajs.js import scala.scalajs.js.`|` import scala.scalajs.js.annotation._ /** * ANSI TTY control sequences common among reporters. * * @see https://mochajs.org/api/module-base#.cursor */ @JSGlobal("Mocha.reporters.Base.cursor") @js.native objec...
17,920
https://github.com/bytescout/ByteScout-SDK-SourceCode/blob/master/PDF Extractor SDK/VBScript/ZUGFeRD Invoice Extraction/ExtractEmbeddedFilesFromPDF.vbs
Github Open Source
Open Source
Apache-2.0
2,023
ByteScout-SDK-SourceCode
bytescout
VBScript
Code
108
302
'*******************************************************************************************' ' ' ' Download Free Evaluation Version From: https://bytescout.com/download/web-installer ' ' ...
34,377
https://github.com/vucrr/mobile-next/blob/master/src/actions/myTrade/exchange/return.ts
Github Open Source
Open Source
MIT
null
mobile-next
vucrr
TypeScript
Code
302
924
import { getHeaders2 } from 'actions/actionHelper' import { Toast } from 'antd-mobile' import { FETCH_EXCHANGE_RETURN_INFO, FETCH_EXCHANGE_STORE_INFO, SAVE_EXCHANGE_RETURN_INFO, SAVE_EXCHANGE_TAB_SHOW, } from 'constant/index' import { GetReturnInfo, GetStore, SaveCreate } from 'interfaces/exchange' import cooki...
42,629
https://github.com/wfansh/google-ads-java/blob/master/google-ads-stubs-v10/src/main/java/com/google/ads/googleads/v10/resources/KeywordPlanCampaignProto.java
Github Open Source
Open Source
Apache-2.0
2,022
google-ads-java
wfansh
Java
Code
221
1,938
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/ads/googleads/v10/resources/keyword_plan_campaign.proto package com.google.ads.googleads.v10.resources; public final class KeywordPlanCampaignProto { private KeywordPlanCampaignProto() {} public static void registerAllExtensions( ...
31,804
https://github.com/inthehand/32feet/blob/master/InTheHand.Net.Bluetooth/Sdp/ServiceAttribute.cs
Github Open Source
Open Source
MIT, LicenseRef-scancode-proprietary-license
2,023
32feet
inthehand
C#
Code
396
1,094
// 32feet.NET - Personal Area Networking for .NET // // InTheHand.Net.Bluetooth.ServiceAttribute // // Copyright (c) 2003-2022 In The Hand Ltd, All rights reserved. // This source code is licensed under the MIT License using InTheHand.Net.Bluetooth.AttributeIds; using System; namespace InTheHand.Net.Bluetooth.Sdp { ...
39,059
https://github.com/cameric/8weike-iOS/blob/master/Weike/UI/UIDesign.swift
Github Open Source
Open Source
AML, Info-ZIP
null
8weike-iOS
cameric
Swift
Code
91
216
// // UIDesign.swift // Weike // // Created by Weiyu Zhou on 8/2/16. // Copyright © 2016 Cameric. All rights reserved. // enum UITheme { case none case holiday } class UIDesign: NSObject { // MARK: Icons static func logo() -> UIImage { let image = UIImage(named: "logo") return...
29,123
https://github.com/NedimRenesalis/demblock/blob/master/common/mail/predracun-html.php
Github Open Source
Open Source
BSD-3-Clause
null
demblock
NedimRenesalis
PHP
Code
130
348
<?php /* @var $this yii\web\View */ /* @var $user common\models\User */ /* @var $user common\models\Advert */ use yii\helpers\Url; ?> <?php $payment = "Po predračunu / uplatnicom - Banküberweisung - Payment / deposit slip"; if ($advert->payment == 3) { $payment = "Kreditna kartica - Kreditkarte - Creditcard"; ...
47,411
https://github.com/lbct/scrumtrooperssc/blob/master/resources/views/sidebar/administrador.blade.php
Github Open Source
Open Source
MIT
null
scrumtrooperssc
lbct
PHP
Code
246
1,270
<!--Opciones de Administrador--> @if($usuario->tieneRol(1)) <span class="nav_title">Administrador</span> <li class="nav-item"> <router-link :to="{ name: 'AdministradorInicio' }" class="nav-link" data-toggle="offcanvas"> <i class="fas fa-fw fa-home menu-icon"></i> <span class="me...
9,821
https://github.com/roclasi/svyChartJS/blob/master/svyChartJSExample/forms/chartJSMain.frm
Github Open Source
Open Source
MIT
2,016
svyChartJS
roclasi
Visual Basic
Code
149
1,572
customProperties:"formComponent:false", extendsID:"E8B2A839-18F1-4D54-9A85-9CB949C9841E", items:[ { extendsID:"2A5F4A4C-AB7B-4911-B94F-34313023357A", items:[ { containsFormID:"77F951EC-65FA-4D1F-936E-D3F4E5F9A18C", location:"442,485", text:"Treemap", typeid:15, uuid:"08254882-7E0F-403B-A853-97BE5B35BF03" }, { containsF...
41,432
https://github.com/funbiscuit/pdf-convert/blob/master/src/main/java/com/funbiscuit/pdfconvert/PdfConvertCommand.java
Github Open Source
Open Source
MIT
null
pdf-convert
funbiscuit
Java
Code
441
1,303
package com.funbiscuit.pdfconvert; import me.tongfei.progressbar.ProgressBar; import me.tongfei.progressbar.ProgressBarBuilder; import me.tongfei.progressbar.ProgressBarStyle; import org.apache.pdfbox.rendering.ImageType; import org.apache.pdfbox.rendering.PDFRenderer; import picocli.CommandLine.Command; import picocl...
26,015
https://github.com/masbicudo/Experimental-Polymethods/blob/master/Masb.Languages.Experimentals.PolyMethodic/Tokenizer/TokenType.cs
Github Open Source
Open Source
Apache-2.0
null
Experimental-Polymethods
masbicudo
C#
Code
16
65
namespace Masb.Languages.Experimentals.PolyMethodic { public enum TokenType { IdentifierOrKeyword, Number, String, Symbol, Space, EndFile, StartFile } }
45,401
https://github.com/telerik/kendo-react-accessibility/blob/master/src/components/notification.tsx
Github Open Source
Open Source
MIT
null
kendo-react-accessibility
telerik
TypeScript
Code
372
1,424
import * as React from 'react'; import { Notification, NotificationGroup } from '@progress/kendo-react-notification'; import { Fade } from '@progress/kendo-react-animation'; import '@progress/kendo-theme-default/dist/all.css'; class NotificationDemo extends React.Component<{}, {show: boolean}> { state = { show: fa...
16,379
https://github.com/michaelbmorris/MvcGrid.Net/blob/master/MichaelBrandonMorris.MvcGrid/Models/RenderingMode.cs
Github Open Source
Open Source
MIT
null
MvcGrid.Net
michaelbmorris
C#
Code
57
136
namespace MichaelBrandonMorris.MvcGrid.Models { /// <summary> /// Enum RenderingMode /// </summary> /// TODO Edit XML Comment Template for RenderingMode public enum RenderingMode { /// <summary> /// The rendering engine /// </summary> /// TODO Edit XML Co...
30,549
https://github.com/VishalKandala/Cantera-1.7/blob/master/tools/doc/doxyinput/demoequil.cpp
Github Open Source
Open Source
BSD-3-Clause
null
Cantera-1.7
VishalKandala
C++
Code
37
167
#include <cantera/Cantera.h> #include <cantera/equilibrium.h> void equil_demo() { ThermoPhase* gas = newPhase("h2o2.cti","ohmech"); gas->setState_TPX(1500.0, 2.0*OneAtm, "O2:1.0, H2:3.0, AR:1.0"); equilibrate(*gas, "TP"); cout << report(*gas) << endl; } int main() { try { equil_demo(); ...
30,928
https://github.com/cinlogic/sql-index-console/blob/master/SqlIndexConsole/FixIndexesDialog.cs
Github Open Source
Open Source
MIT
2,015
sql-index-console
cinlogic
C#
Code
185
696
using SqlIndexConsole.Data.Actions; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows.Forms; namespace SqlIndexConsole { public partial class FixIndexesDialog : Form { public IEnumerable<SqlAction> Actions { get; set; } public FixIndexe...
38,901
https://github.com/PRkudupu/Algo-python/blob/master/maps_hash/longest_consecutive_subsequence.ipynb
Github Open Source
Open Source
MIT
2,022
Algo-python
PRkudupu
Jupyter Notebook
Code
543
1,829
{ "cells": [ { "cell_type": "markdown", "metadata": { "graffitiCellId": "id_vhxf50c" }, "source": [ "### Problem Statement\n", "\n", "Given list of integers that contain numbers in random order, write a program to find the longest possible sub sequence of consecutive numbers in the array....
3,133
https://github.com/Norbert515/flutter_villains/blob/master/.gitignore
Github Open Source
Open Source
MIT
2,022
flutter_villains
Norbert515
Ignore List
Code
26
112
# Miscellaneous *.class *.lock *.log *.pyc *.swp .DS_Store .atom/ .buildlog/ .history .svn/ # IntelliJ related *.iml *.ipr *.iws .idea/ .dart_tool/ .packages .pub/ build/ ios/.generated/ ios/Flutter/Generated.xcconfig ios/Runner/GeneratedPluginRegistrant.*
36,487
https://github.com/NikoKalbitzer/speech_processing_v2/blob/master/nlp/locust/locustfile.py
Github Open Source
Open Source
MIT
null
speech_processing_v2
NikoKalbitzer
Python
Code
120
286
from locust import HttpLocust, TaskSet, task from random import randint instructions = [ "Play.", "Stop.", "Pause.", "Play David Bowie.", "Play Heroes from David Bowie.", "Play not David Bowie.", "Play David Bowie, Iron Maiden or Five Finger Death Punch.", "Play not David Bowie, but Iron Maiden.", "Don't play David Bo...
3,783
https://github.com/alanmcgovern/adventofcode/blob/master/2021/csharp/day1/Program.cs
Github Open Source
Open Source
MIT
null
adventofcode
alanmcgovern
C#
Code
82
272
 var sum = File.ReadAllLines("input.txt") .Select(int.Parse) .Pairwise(2) .Sum(tuple => tuple[0] < tuple[1] ? 1 : 0); Console.WriteLine($"Answer Challenge 1: {sum}"); sum = File.ReadAllLines("input.txt") .Select(int.Parse) .Pairwise(3) .Select(triplet => triplet.Sum ()) .Pairwise(2) .S...
4,701
https://github.com/hmcts/div-case-orchestration-service/blob/master/src/main/java/uk/gov/hmcts/reform/divorce/orchestration/domain/model/pay/validation/PBAOrganisationResponse.java
Github Open Source
Open Source
MIT
2,023
div-case-orchestration-service
hmcts
Java
Code
30
148
package uk.gov.hmcts.reform.divorce.orchestration.domain.model.pay.validation; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonProperty; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; import lombok.NoArgsConstructor; @Data @Builde...
28,884
https://github.com/gokayay/Product-Price-Tracking-System-Client/blob/master/src/app/data.service.ts
Github Open Source
Open Source
MIT
null
Product-Price-Tracking-System-Client
gokayay
TypeScript
Code
361
1,900
import { Injectable } from '@angular/core'; import { HttpClient, HttpHeaders } from '@angular/common/http'; import { Observable } from 'rxjs'; import { Product } from './models/product.model'; import { environment } from 'environments/environment'; import { Site } from './models/site.model'; import { ProductAddress } f...
30,148