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/pranavsinghal30/ur/blob/master/node_modules/react-dfb/lib/create-file-content.js
Github Open Source
Open Source
MIT
2,020
ur
pranavsinghal30
JavaScript
Code
75
229
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _base64Arraybuffer = _interopRequireDefault(require("base64-arraybuffer")); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } var createFileContent = function cr...
17,920
https://github.com/Gwakko/laravel-whmcs/blob/master/src/WHMCSOrder.php
Github Open Source
Open Source
MIT
2,018
laravel-whmcs
Gwakko
PHP
Code
790
1,908
<?php namespace WHMCS; class WHMCSOrder extends WhmcsCore { /** * Instantiate a new instance */ public function __construct() { parent::__construct(); } // -------------------------------------------------------------------- /** * Create a new order * * ...
38,708
https://github.com/amitoverflow-ui/jmeter-java-dsl/blob/master/jmeter-java-dsl/src/main/java/us/abstracta/jmeter/javadsl/core/samplers/DslDummySampler.java
Github Open Source
Open Source
Apache-2.0
null
jmeter-java-dsl
amitoverflow-ui
Java
Code
698
1,447
package us.abstracta.jmeter.javadsl.core.samplers; import java.time.Duration; import kg.apc.jmeter.dummy.DummyElement; import kg.apc.jmeter.samplers.DummySampler; import kg.apc.jmeter.samplers.DummySamplerGui; import org.apache.jmeter.testelement.TestElement; /** * Allows using JMeter Dummy Sampler plugin to emulate...
31,861
https://github.com/zmwangx/rust-ffmpeg/blob/master/src/format/context/output.rs
Github Open Source
Open Source
WTFPL
2,023
rust-ffmpeg
zmwangx
Rust
Code
458
1,476
use std::ffi::CString; use std::mem::size_of; use std::ops::{Deref, DerefMut}; use std::ptr; use libc; use super::common::Context; use super::destructor; use codec::traits; use ffi::*; use {format, ChapterMut, Dictionary, Error, Rational, StreamMut}; pub struct Output { ptr: *mut AVFormatContext, ctx: Contex...
30,813
https://github.com/aronhelser/ADIOS2/blob/master/source/adios2/toolkit/transportman/dataman/DataMan.h
Github Open Source
Open Source
ECL-2.0, Apache-2.0
null
ADIOS2
aronhelser
C
Code
208
784
/* * Distributed under the OSI-approved Apache License, Version 2.0. See * accompanying file Copyright.txt for details. * * DataMan.h * * Created on: Jun 1, 2017 * Author: Jason Wang wangr1@ornl.gov */ #ifndef ADIOS2_TOOLKIT_TRANSPORTMAN_DATAMAN_DATAMAN_H_ #define ADIOS2_TOOLKIT_TRANSPORTMAN_DATAMAN_DAT...
15,665
https://github.com/nordzilla/l10nregistry-rs/blob/master/tests/localization.rs
Github Open Source
Open Source
Apache-2.0, MIT
2,021
l10nregistry-rs
nordzilla
Rust
Code
487
1,987
use std::borrow::Cow; use fluent_fallback::{ env::LocalesProvider, types::{L10nKey, ResourceId}, Localization, }; use l10nregistry::testing::{ FileSource, MockBundleAdapter, RegistrySetup, TestEnvironment, TestFileFetcher, }; use serial_test::serial; use unic_langid::{langid, LanguageIdentifier}; type...
23,957
https://github.com/ryynahan/dashboard-ui/blob/master/app/scripts/services/ahjomeeting.srv.js
Github Open Source
Open Source
MIT
2,016
dashboard-ui
ryynahan
JavaScript
Code
552
1,647
/** * (c) 2016 Tieto Finland Oy * Licensed under the MIT license. */ 'use strict'; /** * @ngdoc service * @name dashboard.AhjoMeetingService * @description * # AhjoMeetingService * Service in the dashboard. */ angular.module('dashboard') .service('AhjoMeetingService', function ( MtgMeetingApi, MtgIssueApi, ...
37,833
https://github.com/DoctahPopp871/cms-kube/blob/master/humandb-services/dashboard/react/src/components/inputs/index.js
Github Open Source
Open Source
MIT
2,020
cms-kube
DoctahPopp871
JavaScript
Code
28
98
import Button from 'components/inputs/button/Button' import Checkbox from 'components/inputs/checkbox/Checkbox' import Dropdown from 'components/inputs/dropdown/Dropdown' import Label from 'components/inputs/label/Label' import Text from 'components/inputs/text/Text' export { Button, Checkbox, Dropdown, Label,...
13,338
https://github.com/nandagirin/gitlab-to-gitlab-migration/blob/master/project.go
Github Open Source
Open Source
MIT
null
gitlab-to-gitlab-migration
nandagirin
Go
Code
108
272
package main import ( "encoding/json" ) func GetProject(url string, privateToken string) (Project, error) { project := Project{} headers := map[string]string{ "PRIVATE-TOKEN": privateToken, } respBody, err := HttpRequest("GET", url, headers, nil) if err != nil { return Project{}, err } if err := json.Un...
31,561
https://github.com/dcuccia/vts/blob/master/src/Vts.MonteCarlo/Factories/PhotonDatabaseFactory.cs
Github Open Source
Open Source
MIT
2,022
vts
dcuccia
C#
Code
174
637
using System.IO; using Vts.MonteCarlo.PhotonData; namespace Vts.MonteCarlo.Factories { /// <summary> /// Factory methods for PhotonDatabase class /// </summary> public class PhotonDatabaseFactory { /// <summary> /// Method to read photon database from file /// </summary> ...
33,593
https://github.com/coolsnow77/ucloud-sdk-java/blob/master/ucloud-java-sdk-ufile/src/main/java/com/sidooo/ufile/UFile.java
Github Open Source
Open Source
Apache-2.0
2,018
ucloud-sdk-java
coolsnow77
Java
Code
753
2,415
/* * Copyright © 2018 UCloud (上海优刻得信息科技有限公司) * * 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 ...
18,976
https://github.com/610yilingliu/FakeDonaldTrump/blob/master/pkg/__main__.py
Github Open Source
Open Source
MIT
2,020
FakeDonaldTrump
610yilingliu
Python
Code
777
2,011
## libraries like numpy, tensorflow, cv2 are all imported by * from get_npz import * from dcgan import * from preprocess import * from visualize_tools import * # Learning is a static value or not dynamic_lr = False np.random.seed(0) logname = time_helper() if not os.path.exists('./logs'): os.mkdir('logs') ## put ...
21,892
https://github.com/s-pace/quix/blob/master/quix-backend/quix-core/src/main/scala/quix/core/history/HistoryBuilder.scala
Github Open Source
Open Source
MIT
null
quix
s-pace
Scala
Code
122
469
package quix.core.history import cats.syntax.apply._ import monix.eval.Task import quix.api.v1.execute.Batch import quix.api.v2.execute.{Builder, Query} import quix.core.history.dao.HistoryWriteDao class HistoryBuilder[Results](delegate: Builder, historyWriteDao: HistoryWriteDao, ...
42,522
https://github.com/moulik-deepsource/enyo/blob/master/test/tests/ready.js
Github Open Source
Open Source
Apache-2.0, LicenseRef-scancode-free-unknown, LicenseRef-scancode-warranty-disclaimer
2,020
enyo
moulik-deepsource
JavaScript
Code
111
279
var ready = require('enyo/ready'); describe('ready', function () { describe('usage', function () { describe('Async', function () { var good = false; it('should call ready() asynchronously', function (done) { ready(function () { if (good) { done(); } else { done(new Error("enyo.rea...
5,187
https://github.com/ManageIQ/manageiq-api/blob/master/spec/support/api/helpers.rb
Github Open Source
Open Source
Apache-2.0
2,023
manageiq-api
ManageIQ
Ruby
Code
852
3,766
# # For testing REST API via Rspec requests # module Spec module Support module Api module Helpers def init_api_spec_env @enterprise = FactoryBot.create(:miq_enterprise) @guid, @server, @zone = EvmSpecHelper.create_guid_miq_server_zone @region = FactoryBot.create(:miq_...
22,504
https://github.com/Jiaoshichun/PageRouter/blob/master/PageApi/src/main/java/com/yiqizuoye/library/page/api/ActionLauncher.java
Github Open Source
Open Source
AFL-3.0
2,022
PageRouter
Jiaoshichun
Java
Code
196
945
package com.yiqizuoye.library.page.api; import android.text.TextUtils; import com.yiqizuoye.library.page.annotation.ActionThread; import com.yiqizuoye.library.page.annotation.PageDataTransform; import java.util.Map; /** * Author: jiao * Date: 2021/3/19 * Description: */ public class ActionLauncher implements La...
23,711
https://github.com/steflen/ngrxejs/blob/master/src/app/core/directives/off-click.directive.ts
Github Open Source
Open Source
MIT
2,021
ngrxejs
steflen
TypeScript
Code
88
294
import { Directive, ElementRef, EventEmitter, HostListener, Inject, Output } from '@angular/core'; import { DomService } from '../services/DOM-service/dom.service'; import { domServiceDep } from '../services/DOM-service/dom.service.dependency'; @Directive({ selector: '[appOffClick]', }) export class OffClickDirecti...
45,585
https://github.com/slankas/OSKE/blob/master/Collector/src/main/java/edu/ncsu/las/annotator/DBPediaAnnotator.java
Github Open Source
Open Source
Apache-2.0
2,020
OSKE
slankas
Java
Code
206
1,021
package edu.ncsu.las.annotator; import java.util.logging.Level; import org.json.JSONArray; import org.json.JSONObject; import com.mashape.unirest.http.HttpResponse; import com.mashape.unirest.http.JsonNode; import com.mashape.unirest.http.Unirest; import edu.ncsu.las.document.Document; import edu.ncsu.las.model.col...
26,058
https://github.com/lechium/tvOS124Headers/blob/master/System/Library/Frameworks/ReplayKit.framework/RPPictureInPictureController.h
Github Open Source
Open Source
MIT
2,021
tvOS124Headers
lechium
C
Code
77
283
/* * This header is generated by classdump-dyld 1.0 * on Saturday, August 24, 2019 at 9:47:56 PM Mountain Standard Time * Operating System: Version 12.4 (Build 16M568) * Image Source: /System/Library/Frameworks/ReplayKit.framework/ReplayKit * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Limneo...
7,526
https://github.com/cyonii/weather-app/blob/master/src/scss/style.scss
Github Open Source
Open Source
MIT
null
weather-app
cyonii
SCSS
Code
50
198
@import '~bootstrap/scss/bootstrap'; .weather-card { h6 { color: $primary; } p { span { color: $text-muted; font-size: 14px; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } b { font-size: 15px; } i { color: $text-muted; ...
41,621
https://github.com/yuyanduan/fbmeshd/blob/master/fbmeshd/802.11s/Nl80211Handler.cpp
Github Open Source
Open Source
MIT
2,020
fbmeshd
yuyanduan
C++
Code
5,293
23,715
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ /* * Sections of this file are derived from iw, that has the following copyrights * and license: Copyright (c) 2007, 2008 Joh...
33,919
https://github.com/shawkins/teiid-modeshape/blob/master/modeshape-jcr/src/test/java/org/modeshape/jcr/value/basic/AbstractValueFactoryTest.java
Github Open Source
Open Source
Apache-2.0
2,022
teiid-modeshape
shawkins
Java
Code
537
1,697
/* * ModeShape (http://www.modeshape.org) * * 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 o...
26,971
https://github.com/JaciBrunning/WML/blob/master/WML-Core/src/main/cpp/NTProvider.cpp
Github Open Source
Open Source
MIT
null
WML
JaciBrunning
C++
Code
51
266
#include "NTProvider.h" using namespace wml; using namespace wml::sensors; using namespace wml::devices; void NTProvider::Update() { for (auto binarySensor : _binarySensors) _table->GetEntry(binarySensor->GetName()).SetBoolean(binarySensor->Get()); for (auto doubleSensor : _doubleSensors) _table->GetEnt...
9,776
https://github.com/honnibal/spacy-feedstock/blob/master/recipe/patches/0002-skip-multiproc-test.patch
Github Open Source
Open Source
BSD-3-Clause, MIT
2,019
spacy-feedstock
honnibal
null
Spoken
269
950
diff --git a/spacy/tests/test_language.py b/spacy/tests/test_language.py index d5398c145..e1d72fae9 100644 --- a/spacy/tests/test_language.py +++ b/spacy/tests/test_language.py @@ -4,7 +4,7 @@ from __future__ import unicode_literals import itertools import pytest -from spacy.compat import is_python2 +from spacy.com...
6,612
https://github.com/asuessenbach/pipeline/blob/master/test/rix/gl/modules/rix_tests/feature_cylinder_derivatives/feature_cylinder_derivatives.cpp
Github Open Source
Open Source
BSD-3-Clause
2,022
pipeline
asuessenbach
C++
Code
1,450
5,626
// Copyright (c) 2012-2016, NVIDIA CORPORATION. All rights reserved. // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions // are met: // * Redistributions of source code must retain the above copyright // notice, this list of con...
30,232
https://github.com/ttaranov/atlaskit-mk-2/blob/master/packages/editor/editor-core/src/__tests__/unit/plugins/base/index.ts
Github Open Source
Open Source
LicenseRef-scancode-generic-cla, LicenseRef-scancode-unknown-license-reference, Apache-2.0
2,018
atlaskit-mk-2
ttaranov
TypeScript
Code
57
217
import { compareSelection, createEditor, doc, p, sendKeyToPm, } from '@atlaskit/editor-test-helpers'; import tasksAndDecisionsPlugin from '../../../../plugins/tasks-and-decisions'; const editorFactory = (doc: any) => createEditor({ doc, editorPlugins: [tasksAndDecisionsPlugin], }); describe('Dele...
47,700
https://github.com/chinajuns/mmjfapi/blob/master/app/Api/v1/Mobile/Business/NewsController.php
Github Open Source
Open Source
MIT
null
mmjfapi
chinajuns
PHP
Code
19
77
<?php namespace App\Api\v1\Mobile\Business; use App\Api\v1\Controllers\BaseController; use Illuminate\Http\Request; class NewsController extends BaseController { //资讯首页 public function index(Request $request){ } }
34,296
https://github.com/iicarus-bit/google-ctf/blob/master/2019/beginners/misc-satellite/init_sat.go
Github Open Source
Open Source
Apache-2.0
2,022
google-ctf
iicarus-bit
Go
Code
273
667
# Copyright 2019 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 # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
15,024
https://github.com/bytespy/Despector/blob/master/src/main/java/org/spongepowered/despector/emitter/Emitters.java
Github Open Source
Open Source
MIT
2,019
Despector
bytespy
Java
Code
949
7,025
/* * The MIT License (MIT) * * Copyright (c) Despector <https://despector.voxelgenesis.com> * Copyright (c) contributors * * 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...
12,352
https://github.com/g4brielvs/usaspending-website/blob/master/src/js/helpers/fiscalYearHelper.js
Github Open Source
Open Source
CC0-1.0
null
usaspending-website
g4brielvs
JavaScript
Code
669
1,496
/** * fiscalYearHelper.js * Created by Kevin Li 1/24/17 */ import moment from 'moment'; import kGlobalConstants from 'GlobalConstants'; export const earliestFiscalYear = 2008; export const earliestExplorerYear = 2017; export const earliestFederalAccountYear = 2017; // number of days to wait after the close of eac...
49,059
https://github.com/hongooi73/quilt/blob/master/catalog/app/containers/Bucket/PackageDeleteDialog.tsx
Github Open Source
Open Source
Apache-2.0
2,022
quilt
hongooi73
TypeScript
Code
239
826
import * as React from 'react' import * as M from '@material-ui/core' import * as Lab from '@material-ui/lab' import Code from 'components/Code' import * as packageHandleUtils from 'utils/packageHandle' const useStyles = M.makeStyles((t) => ({ danger: { color: t.palette.error.dark, }, lock: { alignItems...
24,617
https://github.com/apache/trafficcontrol/blob/master/traffic_ops/traffic_ops_golang/test/helpers.go
Github Open Source
Open Source
Apache-2.0, MPL-2.0, BSD-3-Clause, CC0-1.0, Artistic-2.0, CC-BY-SA-4.0, MIT, ISC, BSD-2-Clause, OFL-1.1, JSON, LicenseRef-scancode-unknown-license-reference, GPL-1.0-or-later, WTFPL, LGPL-2.0-or-later, X11
2,023
trafficcontrol
apache
Go
Code
480
1,059
package test /* * 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 * "L...
187
https://github.com/Fan-Mi/illustratorCalculator/blob/master/Extendables/minify.py
Github Open Source
Open Source
MIT
2,015
illustratorCalculator
Fan-Mi
Python
Code
305
945
# encoding: utf-8 """ TODO: `var z = require("blah").z;` ... to support this kind of require, we just have to make sure we don't replace the entire line of code, but just the `require(whatev)` part, so we'll end up with: var z = require("blah").z; var z = exports.z; """ import os import sys import re PAC...
32,733
https://github.com/norech/epiterm/blob/master/src/pages/projects.ts
Github Open Source
Open Source
MIT
2,022
epiterm
norech
TypeScript
Code
431
1,102
import { terminal as term } from 'terminal-kit' ; import { staticProgress } from '../components/staticProgress'; import { loader } from '../components/loader'; import { getDashboard, get } from "../intra"; import { Session } from '../session'; import { actionBarInput, actionBarKeymap, showActionBarError } from '../com...
49,317
https://github.com/yangdunan/riscv_vp/blob/master/riscv_scml/vp/src/platform/filter_basic/SobelFilter.h
Github Open Source
Open Source
MIT
2,020
riscv_vp
yangdunan
C++
Code
74
347
#ifndef SOBEL_FILTER_H_ #define SOBEL_FILTER_H_ #include <systemc> using namespace sc_core; #include <tlm> #include <tlm_utils/simple_target_socket.h> #include "filter_def.h" #include "core/common/irq_if.h" class SobelFilter : public sc_module { public: /*for plic */ interrupt_gateway *plic = 0; uint32_t irq_numb...
28,628
https://github.com/menucha-de/OPC-UA.Message.API/blob/master/src/main/java/havis/opcua/message/exception/ApplicationException.java
Github Open Source
Open Source
Apache-2.0
null
OPC-UA.Message.API
menucha-de
Java
Code
139
417
package havis.opcua.message.exception; public class ApplicationException extends ParameterException { private static final long serialVersionUID = 1270947914896451065L; private int errorCode; public static final int ERR_CODE_OPC_INVALID_STATE = 0x80AF0000; public static final int ERR_CODE_OPC_INVALID_ARGUMENT ...
32,278
https://github.com/BloomTech-Labs/workout-tracker-be/blob/master/members/members-model.js
Github Open Source
Open Source
MIT
2,020
workout-tracker-be
BloomTech-Labs
JavaScript
Code
106
402
const db = require("../database/db-config"); module.exports = { find, findBy, findBydId, findStatus, add, update, remove }; async function find() { let a = await db("member_table"); return await a; } function findBy(filter) { return db("member_table").where(filter); } function findBydId(id) { ...
27,960
https://github.com/FP4M/classes-and-instances-lab-ruby-online-web-ft-100719/blob/master/lib/person.rb
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, LicenseRef-scancode-public-domain
2,019
classes-and-instances-lab-ruby-online-web-ft-100719
FP4M
Ruby
Code
9
27
class Person end Prince_charles = Person.new Linda_pham = Person.new
47,682
https://github.com/CleanCode1115/openbp/blob/master/openbp-server/src/main/java/org/openbp/server/context/PersistentTokenContextService.java
Github Open Source
Open Source
Apache-2.0
null
openbp
CleanCode1115
Java
Code
2,009
5,515
/* * Copyright 2007 skynamics AG * * 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 ...
4,543
https://github.com/heywhy/rector/blob/master/packages/SOLID/src/Analyzer/ClassConstantFetchAnalyzer.php
Github Open Source
Open Source
MIT
2,019
rector
heywhy
PHP
Code
254
1,050
<?php declare(strict_types=1); namespace Rector\SOLID\Analyzer; use PhpParser\Node\Expr\ClassConstFetch; use Rector\NodeContainer\ParsedNodesByType; use Rector\NodeTypeResolver\Node\AttributeKey; use Rector\NodeTypeResolver\NodeTypeResolver; use Rector\PhpParser\Node\Resolver\NameResolver; use Rector\Testing\PHPUnit\...
48,078
https://github.com/robertdigital/money-works/blob/master/test/number.js
Github Open Source
Open Source
MIT
2,018
money-works
robertdigital
JavaScript
Code
52
168
'use strict'; const normalise = require('../lib/number'); require('should'); describe('Numeric string', () => { it('should allow full stop for decimal point', () => { normalise('1.23').should.equal('1.23'); }); it('should allow comma for decimal point', () => { normalise('1,23').should.eq...
41,647
https://github.com/AsukaCHikaru/blog-v2/blob/master/script/new-post.js
Github Open Source
Open Source
MIT
2,020
blog-v2
AsukaCHikaru
JavaScript
Code
147
536
const inquirer = require("inquirer"); const fs = require("fs"); const AUTHOR = "asukachikaru"; const CONTENT_PATH = `src/contents/` const argv = process.argv.slice(2).join(" "); const date = new Date().toLocaleDateString("ja-JP", { year: "numeric", month: "2-digit", day: "2-digit" }).replace(/\//g, "-"); const ...
627
https://github.com/alexanderepstein/ARM-LP/blob/master/src/Controller.v
Github Open Source
Open Source
MIT
2,018
ARM-LP
alexanderepstein
Verilog
Code
728
1,524
`ifndef CONTROLLER `define CONTROLLER module Controller(instruction, unconditionalBranch, branch, memRead, memToReg, aluControlCode, memWrite, aluSRC, regWriteFlag, readRegister1, readRegister2, writeRegister, clock , invertZeroFlag, opType) ; `define LD_TYPE 0 // Load `define CB_TYPE 1 // Conditional B...
9,092
https://github.com/omcho420/gta-open/blob/master/gamemodes/core/anti-cheat/carwarp.pwn
Github Open Source
Open Source
Apache-2.0
null
gta-open
omcho420
null
Spoken
119
365
/* * Irresistible Gaming (c) 2018 * Developed by Lorenc * Module: anticheat/carwarp.pwn * Purpose: car warp cheat detection system */ /* ** Includes ** */ #include < YSI\y_hooks > /* ** Variables ** */ static stock p_ac_CarWarpTime [ MAX_PLAYERS ], p_ac_CarWarpVehicleID [ MAX_PLAYERS ] ; /* ...
11,304
https://github.com/Karima-Ahmed/jhipster-registry/blob/master/src/main/java/io/github/jhipster/registry/security/uaa/UaaAuthorizationHeaderFilter.java
Github Open Source
Open Source
Apache-2.0
2,020
jhipster-registry
Karima-Ahmed
Java
Code
89
399
package io.github.jhipster.registry.security.uaa; import com.netflix.zuul.ZuulFilter; import com.netflix.zuul.context.RequestContext; import org.springframework.context.annotation.Profile; import org.springframework.stereotype.Component; import static io.github.jhipster.registry.config.Constants.PROFILE_UAA; import s...
2,948
https://github.com/conyx/jenkins.py/blob/master/python-wrapper/src/main/java/jenkins/python/expoint/NodePW.java
Github Open Source
Open Source
MIT
2,020
jenkins.py
conyx
Java
Code
1,171
5,078
package jenkins.python.expoint; import com.infradna.tool.bridge_method_injector.WithBridgeMethods; import hudson.Extension; import hudson.ExtensionPoint; import hudson.FilePath; import hudson.FileSystemProvisioner; import hudson.Launcher; import hudson.model.Descriptor.FormException; import hudson.model.Queue.Task; i...
1,568
https://github.com/karthickram286/Revista---A-Journal-Diary-App/blob/master/client/src/components/login-page.jsx
Github Open Source
Open Source
MIT
null
Revista---A-Journal-Diary-App
karthickram286
null
Spoken
248
859
import React from 'react'; import { withRouter } from 'react-router-dom'; import { Button, FormGroup, FormControl, FormLabel } from 'react-bootstrap'; import './styles/login-page.css'; class LoginPage extends React.Component { constructor() { super(); this.routeChange = this.routeChange.bind(this...
7,007
https://github.com/Nooman-LabSTICC/preesm2openpiton/blob/master/apps_openpiton/sobel/4_cores/preesm_project/org.ietr.preesm.sobel-morpho/Code/generated_16_ori/Core5.c
Github Open Source
Open Source
Apache-2.0
null
preesm2openpiton
Nooman-LabSTICC
C
Code
284
1,145
/** * @file Core5.c * @generated by InstrumentedCPrinter * @date Thu Mar 18 19:00:00 CET 2021 * * Code generated for processing element Core5 (ID=5). */ #include "preesm_gen.h" // Core Global Declaration extern pthread_barrier_t iter_barrier; extern int stopThreads; extern char *const explode_Split_0_output__Sob...
22,334
https://github.com/rvhub/MultipathODL/blob/master/opendaylight/md-sal/sal-rest-connector/src/test/java/org/opendaylight/controller/sal/restconf/impl/test/structures/LstItem.java
Github Open Source
Open Source
Apache-2.0
null
MultipathODL
rvhub
Java
Code
428
1,228
/* * Copyright (c) 2014 Cisco Systems, Inc. and others. All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 which accompanies this distribution, * and is available at http://www.eclipse.org/legal/epl-v10.html */ package org....
35,176
https://github.com/Spieldichein/ShoprX/blob/master/Android/ShoprX/src/main/java/de/tum/in/schlichter/shoprx/Explanations/Algorithm/SurfaceGenerator.java
Github Open Source
Open Source
Apache-2.0
null
ShoprX
Spieldichein
Java
Code
583
2,798
package de.tum.in.schlichter.shoprx.Explanations.Algorithm; import android.text.Html; import android.util.Log; import java.util.ArrayList; import java.util.Collection; import java.util.Iterator; import java.util.List; import java.util.Locale; import java.util.Random; import de.tum.in.schlichter.shoprx.Explanations....
1,147
https://github.com/firedrakeproject/petsc/blob/master/src/ts/utils/dmdats.c
Github Open Source
Open Source
BSD-2-Clause
2,019
petsc
firedrakeproject
C
Code
1,366
7,074
#include <petscdmda.h> /*I "petscdmda.h" I*/ #include <petsc/private/dmimpl.h> #include <petsc/private/tsimpl.h> /*I "petscts.h" I*/ #include <petscdraw.h> /* This structure holds the user-provided DMDA callbacks */ typedef struct { PetscErrorCode (*ifunctionlocal)(DMDALocalInfo*,PetscReal,void*,void*,voi...
11,901
https://github.com/thuytien140894/fChess/blob/master/scripts/kingPiece.js
Github Open Source
Open Source
CC-BY-3.0
2,017
fChess
thuytien140894
JavaScript
Code
453
1,454
var fChess = fChess || {}; fChess.KingPiece = (function () { 'use strict'; //constructor var KingPiece = function (color) { //super() fChess.Piece.prototype.constructor.apply(this, arguments); this.rooksForCastling = []; }; fChess.Utils.extend(fChess.Piece, KingPiece); ...
10,984
https://github.com/amirulqayyum/SuperMan-ModdedFiles/blob/master/services.jar.out/smali/com/android/server/am/SluggishDetector$ReportLaunchInfo.smali
Github Open Source
Open Source
Apache-2.0
2,021
SuperMan-ModdedFiles
amirulqayyum
Smali
Code
1,587
11,549
.class final Lcom/android/server/am/SluggishDetector$ReportLaunchInfo; .super Ljava/lang/Object; .source "SluggishDetector.java" # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = Lcom/android/server/am/SluggishDetector; .end annotation .annotation system Ldalvik/annotation/InnerClass; ...
26,760
https://github.com/sumank792/ansible-playbook-json2yaml/blob/master/main.py
Github Open Source
Open Source
MIT
2,021
ansible-playbook-json2yaml
sumank792
Python
Code
571
1,747
from flask import Flask, request, Response, jsonify, make_response, Blueprint from yaml import load, dump import json from flask_cors import CORS from flask_swagger_ui import get_swaggerui_blueprint import os app = Flask(__name__) CORS(app) try: from yaml import CLoader as Loader, CDumper as Dumper except Import...
32,752
https://github.com/RevStackCore/OrientDb.Graph/blob/master/Test/UnitTestOrientDb/UnitTestOrientDb/PostModel.cs
Github Open Source
Open Source
MIT
null
OrientDb.Graph
RevStackCore
C#
Code
203
421
using RevStackCore.Pattern; using System; using System.Collections.Generic; using System.Text; namespace UnitTestOrientDb { public class AuthorModel { public string Id { get; set; } public string Avatar { get; set; } public string DisplayName { get; set; } public string Permali...
40,666
https://github.com/uboar/uvote-discord-heroku/blob/master/commands/init.js
Github Open Source
Open Source
MIT
null
uvote-discord-heroku
uboar
JavaScript
Code
39
171
const { SlashCommandBuilder } = require('@discordjs/builders'); const server = require('../server.js'); module.exports = { data: new SlashCommandBuilder() .setName('init') .setDescription('もろもろの設定を初期化します。'), async execute(interaction) { server.setIdle(); for (var i = 0;...
25,646
https://github.com/ConnectionMaster/Enigma-Studio-4/blob/master/tools/KKrunchyAnalyzer/src/kkrunchyanalyzer/FunctionRecord.java
Github Open Source
Open Source
CC0-1.0
2,021
Enigma-Studio-4
ConnectionMaster
Java
Code
58
182
package kkrunchyanalyzer; /** * * @author Pap */ public class FunctionRecord implements Comparable<FunctionRecord> { String m_name; String m_objectFile; int m_size; public FunctionRecord(String name, String objFile, int size) { this.m_name = name; this.m_size = size; t...
30,382
https://github.com/FlymeOS5/device-cancro/blob/master/core-libart.jar.out/smali/java/util/concurrent/locks/ReentrantReadWriteLock$Sync$HoldCounter.smali
Github Open Source
Open Source
Apache-2.0
null
device-cancro
FlymeOS5
Smali
Code
78
364
.class final Ljava/util/concurrent/locks/ReentrantReadWriteLock$Sync$HoldCounter; .super Ljava/lang/Object; .source "ReentrantReadWriteLock.java" # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = Ljava/util/concurrent/locks/ReentrantReadWriteLock$Sync; .end annotation .annotation system...
15,986
https://github.com/WildCodeSchool/bordeaux-0916-canteloup/blob/master/src/js/components/contact/contact.js
Github Open Source
Open Source
MIT
2,017
bordeaux-0916-canteloup
WildCodeSchool
JavaScript
Code
45
188
((app) => { 'use strict' app.component("contact", { bindings: { editMode: "<", ngModel: "=" }, templateUrl: 'js/components/contact/contact.html', controller: function($location, $anchorScroll){ angular.extend(this, { page: { ...
44,290
https://github.com/titilima/blink/blob/master/src/blinkit/gc/lifecycle_data_manager.h
Github Open Source
Open Source
MIT
2,021
blink
titilima
C
Code
109
440
#pragma once // ------------------------------------------------- // BlinKit - BlinKit Library // ------------------------------------------------- // File Name: lifecycle_data_manager.h // Description: LifecycleDataManager Class // Author: Ziming Li // Created: 2021-08-19 // --------------------------------...
2,793
https://github.com/detrin/OpenQuantumSystems/blob/master/benchmark/benchmark_plot.py
Github Open Source
Open Source
MIT
2,022
OpenQuantumSystems
detrin
Python
Code
128
693
import matplotlib.pyplot as plt import pandas as pd import json import numpy as np with open("benchmark/benchmark_commits.json", "r") as f: dic_commits = json.load(f) def plot_test(test_name, div_factor=1, units="ps"): dic_slice = [] dic_commits_keys = list(dic_commits.keys()) plt.figure(figsize=(10,...
37,716
https://github.com/alnitak/flutter_opengl/blob/master/test/flutter_opengl_test.dart
Github Open Source
Open Source
Apache-2.0
2,023
flutter_opengl
alnitak
Dart
Code
71
286
import 'package:flutter_opengl/src/flutter_opengl_method_channel.dart'; import 'package:flutter_opengl/src/flutter_opengl_platform_interface.dart'; import 'package:flutter_test/flutter_test.dart'; // class MockFlutterOpenglPlatform // with MockPlatformInterfaceMixin // implements FlutterOpenglPlatform { // // ...
23,236
https://github.com/oliverbunting/jsaddle-dom/blob/master/src/Language/Javascript/JSaddle/DOM/Generated/SVGFETurbulenceElement.hs
Github Open Source
Open Source
MIT
2,016
jsaddle-dom
oliverbunting
Haskell
Code
274
1,178
{-# LANGUAGE PatternSynonyms #-} module Language.Javascript.JSaddle.DOM.Generated.SVGFETurbulenceElement (pattern SVG_TURBULENCE_TYPE_UNKNOWN, pattern SVG_TURBULENCE_TYPE_FRACTALNOISE, pattern SVG_TURBULENCE_TYPE_TURBULENCE, pattern SVG_STITCHTYPE_UNKNOWN, pattern SVG_STITCHTYPE_STITCH, ...
13,805
https://github.com/wils0674/dep/blob/master/scripts/cligen/arb_precip_delta.py
Github Open Source
Open Source
MIT
2,019
dep
wils0674
Python
Code
486
1,411
"""Apply arbitrary multiplier to baseline precip. see GH #39 """ import os import sys from multiprocessing.pool import ThreadPool from tqdm import tqdm def conservative_adjust(times, accum, multipler): """Adjust times to conserve precip, but change intensity, tricky.""" # We can't adjust by more than 50% ...
17,431
https://github.com/Shamann/G2Plot/blob/master/examples/component/annotation/demo/line-annotation-position.jsx
Github Open Source
Open Source
MIT
2,022
G2Plot
Shamann
null
Spoken
378
1,354
import React, { useRef, useEffect, useState } from 'react'; import ReactDOM from 'react-dom'; import { Select } from 'antd'; import { Area } from '@antv/g2plot'; import insertCss from 'insert-css'; const options = [ { label: '最小值', value: 'min' }, { label: '最大值', value: 'max' }, { label: '中位值', value: 'median' }...
39,803
https://github.com/askoki/nfl_dpi_prediction/blob/master/src/features/helpers/train_test_val_split.py
Github Open Source
Open Source
MIT
null
nfl_dpi_prediction
askoki
Python
Code
164
657
import os import sys import numpy as np from datetime import datetime from settings import CLEANED_DATA_DIR from sklearn.model_selection import train_test_split from src.features.helpers.data_load import save_train_val_test_data from src.features.helpers.processing import format_x x_name = sys.argv[1] y_name = sys.ar...
1,791
https://github.com/takejian/arthas/blob/master/tunnel-server/src/main/java/com/alibaba/arthas/tunnel/server/AgentInfo.java
Github Open Source
Open Source
Apache-2.0
2,021
arthas
takejian
Java
Code
134
413
package com.alibaba.arthas.tunnel.server; import com.fasterxml.jackson.annotation.JsonIgnore; import io.netty.channel.ChannelHandlerContext; /** * * @author hengyunabc 2019-08-27 * */ public class AgentInfo { @JsonIgnore private ChannelHandlerContext channelHandlerContext; private String host; ...
10,158
https://github.com/lulongwen/php/blob/master/2.oop/namespace/space_global.php
Github Open Source
Open Source
Apache-2.0
2,019
php
lulongwen
PHP
Code
25
116
<?php // php 空间 namespace php\php7; // function function var_dump($var){ echo $var; } // 使用的是当前空间的函数 var_dump(); var_dump('current hello'); // 使用的是全局空间的函数 \ 反斜杠代表全局空间 \var_dump('fullSpace hello'); ?>
11,633
https://github.com/332631497/webpack/blob/master/template/config/dev.env.js
Github Open Source
Open Source
MIT
null
webpack
332631497
JavaScript
Code
31
170
'use strict' const merge = require('webpack-merge') const prodEnv = require('./prod.env') module.exports = merge(prodEnv, { NODE_ENV: '"development"', BASE_URL: '"/NewlyBuiltNetSign/"', USER_INFO_URL: '"/manager/public/getUserInfo"', LOGIN_USER_INFO: '"/manager/public/getLoginUser"', MENU_URL: '"/manager/pub...
9,621
https://github.com/bharathyr/SolrNet/blob/master/SolrNet/Commands/Parameters/TermVectorParameters.cs
Github Open Source
Open Source
Apache-2.0
2,022
SolrNet
bharathyr
C#
Code
180
404
using System; using System.Collections.Generic; namespace SolrNet.Commands.Parameters { [Flags] public enum TermVectorParameterOptions { Default = 0, /// <summary> /// Returns document term frequency info per term in the document. /// </summary> TermFrequency = 1, ...
14,390
https://github.com/cherouvim/cicn-nrs/blob/master/sb-forwarder/metis/ccnx/forwarder/metis/core/metis_ConnectionList.c
Github Open Source
Open Source
Apache-2.0
2,022
cicn-nrs
cherouvim
C
Code
243
757
/* * Copyright (c) 2017 Cisco and/or 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 applicabl...
8,090
https://github.com/UncleSniper/usson/blob/master/src/org/unclesniper/json/OMGWereDoomedError.java
Github Open Source
Open Source
WTFPL
null
usson
UncleSniper
Java
Code
42
147
package org.unclesniper.json; public class OMGWereDoomedError extends Error { public OMGWereDoomedError() { super("What."); } public OMGWereDoomedError(String message) { super(message); } public OMGWereDoomedError(Throwable cause) { super(cause == null ? null : cause.getMessage(), cause); } public OMG...
24,586
https://github.com/NBDsoftware/masif/blob/master/data/masif_ppi_search/transformation_training_data/generate_data.sh
Github Open Source
Open Source
Apache-2.0
2,022
masif
NBDsoftware
Shell
Code
20
236
masif_root=$(git rev-parse --show-toplevel) masif_source=$masif_root/source/ masif_matlab=$masif_root/source/matlab_libs/ masif_data=$masif_root/data/ source /home/gainza/lpdi_fs/masif/tensorflow-1.12_on_cpu/bin/activate export PYTHONPATH=$PYTHONPATH:$masif_source:$masif_data/masif_ppi_search/:$masif_data/masif_ppi_sea...
9,357
https://github.com/apoema-inf/1oHackUFG_Educ_Grupo01/blob/master/point/application/controllers/Administrativo.php
Github Open Source
Open Source
MIT, LicenseRef-scancode-unknown-license-reference
2,019
1oHackUFG_Educ_Grupo01
apoema-inf
PHP
Code
81
366
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Administrativo extends CI_Controller { public function __construct() { parent::__construct(); $this->load->helper('url'); $this->load->library('form_validation'); $this->load->helper('form'); date_de...
20,163
https://github.com/wxd400/contextual_behavior_prediction/blob/master/motionModelClasses/SimplifiedKinematicBicycleModel.m
Github Open Source
Open Source
MIT
2,020
contextual_behavior_prediction
wxd400
MATLAB
Code
534
1,245
% MIT License % % Copyright (c) 2020 Jasprit Singh Gill (jaspritsgill@gmail.com) % % 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...
8,938
https://github.com/revolsys/com.revolsys.open/blob/master/tests/src/test/java/com/revolsys/core/test/geometry/test/util/IOUtil.java
Github Open Source
Open Source
Apache-2.0
2,023
com.revolsys.open
revolsys
Java
Code
230
866
package com.revolsys.core.test.geometry.test.util; import java.io.IOException; import java.io.StringReader; import java.util.List; import com.revolsys.core.test.geometry.test.old.junit.GeometryUtils; import com.revolsys.geometry.io.GeometryReader; import com.revolsys.geometry.model.Geometry; import com.revolsys.geome...
32,611
https://github.com/u2386/gorm-sqlchaos/blob/master/sqlchaos.go
Github Open Source
Open Source
MIT
2,021
gorm-sqlchaos
u2386
Go
Code
328
1,150
package sqlchaos import ( "context" "encoding/json" "errors" "fmt" "io/ioutil" "net/http" "os" "strings" "sync" "time" "github.com/u2386/gorm-sqlchaos/pkg/callback" "gorm.io/gorm" ) var _ gorm.Option = (*Config)(nil) type ( RuleProvider func(ctx context.Context, dbname, table string) ([]byte, error) C...
31,847
https://github.com/widecommerce/kore-cms/blob/master/Kore.Web/Areas/Admin/Indexing/Controllers/IndexingController.cs
Github Open Source
Open Source
MIT
2,018
kore-cms
widecommerce
C#
Code
118
586
using System; using System.Web.Mvc; using Kore.Web.Indexing.Services; using Kore.Web.Mvc; using Kore.Web.Mvc.Optimization; using Kore.Web.Security.Membership.Permissions; namespace Kore.Web.Areas.Admin.Indexing.Controllers { [Authorize] [RouteArea(KoreWebConstants.Areas.Indexing)] public class IndexingCon...
20,845
https://github.com/loursha/Android-Application-Scripts/blob/master/fridascript-ssl-bypass-2.js
Github Open Source
Open Source
MIT
2,021
Android-Application-Scripts
loursha
JavaScript
Code
32
126
Java.perform(function() { var array_list = Java.use("java.util.ArrayList"); var ApiClient = Java.use('com.android.org.conscrypt.TrustManagerImpl'); ApiClient.checkTrustedRecursive.implementation = function(a1, a2, a3, a4, a5, a6) { // console.log('Bypassing SSL Pinning'); var k = array_...
32,212
https://github.com/neilakoh/cronjob/blob/master/syncron/client/modules/core/components/home.jsx
Github Open Source
Open Source
Apache-2.0
null
cronjob
neilakoh
null
Spoken
136
521
import React from 'react'; class Home extends React.Component { render() { const { jobs, testing } = this.props; testing(this.props.observe); return ( <div> <h1>Cron Job Sample</h1> <p> Welcome to Mantra 0.2.0. </p> <ul> <li> Job Name:...
26,378
https://github.com/liykfrank/boot-app/blob/master/src/test/kotlin/com/myapp/auth/TokenAuthenticationServiceTest.kt
Github Open Source
Open Source
MIT
2,017
boot-app
liykfrank
Kotlin
Code
94
371
package com.myapp.auth import com.myapp.domain.UserDetailsImpl import com.myapp.testing.TestUser import com.nhaarman.mockito_kotlin.doReturn import com.nhaarman.mockito_kotlin.mock import org.assertj.core.api.Assertions.assertThat import org.junit.Test import org.mockito.Mockito.`when` import javax.servlet.http.HttpSe...
24,624
https://github.com/openfact/openfact-syncing/blob/master/src/main/java/org/clarksnut/query/RangeQuery.java
Github Open Source
Open Source
Apache-2.0
2,021
openfact-syncing
openfact
Java
Code
132
347
package org.clarksnut.query; public class RangeQuery implements SimpleQuery { private final String name; private Object from; private boolean includeFrom; private Object to; private boolean includeTo; public RangeQuery(String name) { this.name = name; } @Override public...
29,266
https://github.com/wapalxj/Java/blob/master/javaworkplace/SXT/src/CC203_httpserver_Polymorphism/Response.java
Github Open Source
Open Source
Apache-2.0
2,022
Java
wapalxj
Java
Code
183
903
package CC203_httpserver_Polymorphism; import CC200_httpserver_Package_Request.CloseUtil; import java.io.BufferedWriter; import java.io.IOException; import java.io.OutputStream; import java.io.OutputStreamWriter; import java.net.Socket; import java.util.Date; /* * 对上一步封装Response */ public class Response { publi...
4,834
https://github.com/chenguandong/SmartWeather/blob/master/MyJournal/app/src/main/java/com/smart/journal/remote/WeatherApiManager.java
Github Open Source
Open Source
MIT
2,021
SmartWeather
chenguandong
Java
Code
58
319
package com.smart.journal.remote; import com.smart.journal.bean.TodayWeatherBean; import com.smart.journal.tools.http.AppClient; import com.smart.journal.tools.http.MyCallBack; import com.smart.journal.tools.location.LocationTools; import retrofit2.Call; import retrofit2.Callback; import retrofit2.http.GET; import re...
36,530
https://github.com/Detox23/Booking-system/blob/master/TeamTegn_Booking_API/src/main/java/API/Repository/ServiceUser/ServiceUserDAOCustom.java
Github Open Source
Open Source
Apache-2.0
null
Booking-system
Detox23
Java
Code
41
195
package API.Repository.ServiceUser; import API.Models.Database_Entities.ServiceUserEntity; import Shared.ToReturn.ServiceUserAccountListDto; import Shared.ToReturn.ServiceUserDto; import org.springframework.data.domain.Page; import org.springframework.data.domain.Pageable; import java.util.List; public interface Ser...
20,378
https://github.com/ambocclusion/Unity-Super-Starter-Project/blob/master/Assets/UnityStarterProject/Scripts/Extensions.cs
Github Open Source
Open Source
MIT, LicenseRef-scancode-public-domain
2,019
Unity-Super-Starter-Project
ambocclusion
C#
Code
85
231
using System.Collections; using System.Collections.Generic; using UnityEngine; namespace UnityStarterProject.Extensions { public static class Extensions { /// <summary> /// Grabs all parents of a transform /// </summary> /// <param name="transform">The transform this is called ...
39,485
https://github.com/apimatic/core-lib-php/blob/master/tests/Mocking/Other/MockException3.php
Github Open Source
Open Source
MIT
2,023
core-lib-php
apimatic
PHP
Code
16
49
<?php namespace Core\Tests\Mocking\Other; class MockException3 extends MockException { /** * @var MockClass */ public $other3; }
8,336
https://github.com/Ekta62/Recruitment-System/blob/master/FrontEnd/src/app/layout/applied-job/applied-job.module.ts
Github Open Source
Open Source
Apache-2.0
2,021
Recruitment-System
Ekta62
TypeScript
Code
75
241
import { JobAppliedRoutingModule } from './applied-job-routing.module'; import { AppliedJobComponent } from './applied-job.component'; import { FormsModule, ReactiveFormsModule } from '@angular/forms'; import { CommonModule } from '@angular/common'; import { NgModule } from '@angular/core'; import { NgbAlertModule, Ng...
52,546
https://github.com/automl/auto-sklearn/blob/master/examples/40_advanced/example_single_configuration.py
Github Open Source
Open Source
BSD-3-Clause
2,023
auto-sklearn
automl
Python
Code
355
930
# -*- encoding: utf-8 -*- """ ========================== Fit a single configuration ========================== *Auto-sklearn* searches for the best combination of machine learning algorithms and their hyper-parameter configuration for a given task, using Scikit-Learn Pipelines. To further improve performance, this pip...
1,190
https://github.com/ashikCodecamper/ewmerp/blob/master/resources/views/hr/attend.blade.php
Github Open Source
Open Source
Unlicense
null
ewmerp
ashikCodecamper
PHP
Code
40
237
@extends('layouts.apps') @section('module-name','Employee Attendance') @section('content') <table class="table table-striped"> <thead> <th>Date</th> <th>Employee Name</th> <th>In Time</th> <th>Out Time</th> <th>Status</th> </thead> <tbody> @foreach($attends as $attend) <tr> <td>{{ ...
52,057
https://github.com/mschellenger96/OMF-Samples/blob/master/Community Samples/c/omfDemo/omfDemo/main.h
Github Open Source
Open Source
Apache-2.0
2,019
OMF-Samples
mschellenger96
C
Code
140
266
/* ©2009-2018 OSIsoft, LLC. All Rights Reserved. No Warranty or Liability. The OSIsoft Samples contained herein are being supplied to Licensee "AS IS" without any warranty of any kind. OSIsoft DISCLAIMS ALL EXPRESS AND IMPLIED WARRANTIES, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNE...
51,656
https://github.com/jjosegallegocesde/APISABADO/blob/master/app/Controllers/APIController.php
Github Open Source
Open Source
MIT
null
APISABADO
jjosegallegocesde
PHP
Code
100
465
<?php namespace App\Controllers; use CodeIgniter\RESTful\ResourceController; class APIController extends ResourceController { protected $modelName = 'App\Models\ModeloPersonas'; protected $format = 'json'; public function index(){ return $this->respond($this->model->findAll()); } pub...
10,695
https://github.com/FRC-Team2655/robot2022/blob/master/src/main/include/team2655/joystick.hpp
Github Open Source
Open Source
BSD-3-Clause
null
robot2022
FRC-Team2655
C++
Code
381
679
/** * joystick.hpp * Contains FRC Team 2655's joystick helper code * Allows creation of cubic and deadband configurations for use with WPILib Joystick axes * * @author Marcus Behel * @version 1.1 8-30-2018 Changed names to make easier to understand and implement * * Copyright (c) 2018 FRC Team 2655 - The Flying...
15,933
https://github.com/UCL/PyBioPharma/blob/master/setup.py
Github Open Source
Open Source
BSD-3-Clause
2,019
PyBioPharma
UCL
Python
Code
60
270
from setuptools import setup, find_packages setup(name='BioPharma', version='0.2', description='Modelling and optimisation of biopharmaceutical processes', url='https://github.com/UCL-Biochemical-Engineering/PyBioPharma', author='Jonathan Cooper', author_email='j.p.cooper@ucl.ac.uk', ...
868
https://github.com/ikashnitsky/genus-2017/blob/master/R_scripts/2_data_manipulation/2.07_missing_SI.R
Github Open Source
Open Source
MIT
2,018
genus-2017
ikashnitsky
R
Code
300
1,200
################################################################################ # # Genus 2017. 2017-05-26 # Prepare missing data. Slovenia. NUTS-2 # Ilya Kashnitsky, ilya.kashnitsky@gmail.com # ...
32,149
https://github.com/vdsabev/gorata/blob/master/functions/index.js
Github Open Source
Open Source
MIT
2,017
gorata
vdsabev
JavaScript
Code
104
546
const firebase = require('firebase-admin'); const functions = require('firebase-functions'); const path = require('path'); const gcs = require('@google-cloud/storage'); const url = require('url'); const uuidv4 = require('uuid/v4'); const env = require('var'); firebase.initializeApp(functions.config().firebase); const...
4,520
https://github.com/xunilrj/sandbox/blob/master/sources/cpp/ecs/src/ecs/Components/Components.h
Github Open Source
Open Source
Apache-2.0
2,022
sandbox
xunilrj
C
Code
26
62
#define COMPONENTID(x, store) static const uint32_t ID = x; using TSTORE = store; #define RESOURCE(x, t) static const uint32_t RID = x; using TSTORE = SingletonStore<t>;
30,253
https://github.com/mabrasil/safadometro/blob/master/go/safadometro_test.go
Github Open Source
Open Source
MIT
2,016
safadometro
mabrasil
Go
Code
34
108
package safadometro import ( "fmt" "testing" ) func TestSafadometro(t *testing.T) { day, month, year := 30, 10, 94 safadeza, anjo := WesleySafadao(day, month, year) fmt.Printf("Voce é %.2f%% safado e %.2f%% anjo\n", safadeza, anjo) }
25,745
https://github.com/1M15M3/embark/blob/master/dapps/templates/demo/app/components/blockchain.js
Github Open Source
Open Source
MIT
2,019
embark
1M15M3
JavaScript
Code
212
788
import EmbarkJS from 'Embark/EmbarkJS'; import SimpleStorage from '../../embarkArtifacts/contracts/SimpleStorage'; import React from 'react'; import { Form, FormGroup, FormControl, HelpBlock, Button } from 'react-bootstrap'; class Blockchain extends React.Component { constructor(props) { super(props); this...
13,916
https://github.com/HetaLab/FFImageLoading/blob/master/source/FFImageLoading.Common/Helpers/MiniLoggerWrapper.cs
Github Open Source
Open Source
MIT
2,021
FFImageLoading
HetaLab
C#
Code
61
208
using System; using FFImageLoading.Helpers; namespace FFImageLoading { [Preserve(AllMembers = true)] internal class MiniLoggerWrapper : IMiniLogger { IMiniLogger _logger; bool _verboseLogging; public MiniLoggerWrapper(IMiniLogger logger, bool verboseLogging) { _...
39,411