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/tainarareis/reisfotografias/blob/master/src/main/java/br/com/caelum/vraptor/model/Admin.java
Github Open Source
Open Source
Apache-2.0
2,015
reisfotografias
tainarareis
Java
Code
144
420
package br.com.caelum.vraptor.model; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.Id; import javax.validation.constraints.NotNull; import javax.validation.constraints.Size; //A anotação @Entity faz com que o JPA saiba que aquela classe deve ser manipulada por ele....
32,345
https://github.com/bayesiandemography/demprep/blob/master/tests/testthat/test-impute.R
Github Open Source
Open Source
MIT
2,021
demprep
bayesiandemography
R
Code
412
1,620
## impute_dob ------------------------------------------------------ test_that("impute_dob gives correct answers with valid inputs", { impute_dob <- demprep:::impute_dob n_sample <- 1000 set.seed(0) ## year and month ans_obtained <- impute_dob(date = rep("2001-04-01", n_sample), ...
19,576
https://github.com/davidfetter/multiplatform_simd_recipes/blob/master/recipes/prefixsum/simdpp_prefixsum.h
Github Open Source
Open Source
MIT
2,021
multiplatform_simd_recipes
davidfetter
C++
Code
146
457
#pragma once #include "autosimdpp.h" #include <simdpp/simd.h> #include <cstdint> #include <cstddef> #include "scalar_prefixsum.h" #define USING_SIMDPP static simdpp::uint32<4> simdppPrefixSum(simdpp::uint32<4> curr, simdpp::uint32<4> prev) { simdpp::uint32<4> Add = simdpp::mo...
43,197
https://github.com/perfeccionista-software/perfeccionista-framework/blob/master/pagefactory-web-api/src/main/java/io/perfeccionista/framework/pagefactory/operation/type/WebContextClickOperationType.java
Github Open Source
Open Source
Apache-2.0
2,023
perfeccionista-framework
perfeccionista-software
Java
Code
114
538
package io.perfeccionista.framework.pagefactory.operation.type; import io.perfeccionista.framework.invocation.runner.InvocationInfo; import io.perfeccionista.framework.pagefactory.elements.methods.WebClickAvailable; import io.perfeccionista.framework.pagefactory.elements.options.ContextClickOptions; import io.perfecci...
50,544
https://github.com/Shenmue-Mods/ShenmueDK/blob/master/tests/UTest/debug/UTest_euclidianDistance.cpp
Github Open Source
Open Source
MIT
2,021
ShenmueDK
Shenmue-Mods
C++
Code
78
277
#include "gtest/gtest.h" #include <iostream> #include <Eigen/Dense> namespace { TEST(memstream, read_write) { Eigen::Matrix<float, 4, 4> mat1; Eigen::Matrix<float, 4, 4> mat2; mat1.setConstant(2.0f); mat2.setConstant(4.0f); mat2(8) = 7.0f; Eigen::Matrix<float, 4, 4> mat3 = mat1 - mat2; ...
5,684
https://github.com/Luccifer/EyeriseExtensions/blob/master/Eyerise Extensions/Bool+Helpers.swift
Github Open Source
Open Source
MIT
2,018
EyeriseExtensions
Luccifer
Swift
Code
77
156
// // Bool+Helpers.swift // Eyerise Extensions // // Created by Gleb Karpushkin on 28/10/2017. // Copyright © 2017 Gleb Karpushkin. All rights reserved. // extension Bool { /// Converts Bool to Int. public var toInt: Int { return self ? 1 : 0 } /// Toggle boolean value. @discardableResult ...
15,289
https://github.com/NyaaCat/RPGItems-ext-minion/blob/master/src/main/java/cat/nyaa/rpgitems/minion/power/PowerMinionMove.java
Github Open Source
Open Source
MIT
null
RPGItems-ext-minion
NyaaCat
Java
Code
28
154
package cat.nyaa.rpgitems.minion.power; import cat.nyaa.rpgitems.minion.events.MinionAmbientEvent; import cat.nyaa.rpgitems.minion.events.MinionMoveEvent; import org.bukkit.entity.Player; import org.bukkit.inventory.ItemStack; import think.rpgitems.power.Pimpl; import think.rpgitems.power.PowerResult; public interfac...
27,036
https://github.com/sadnub/tacticalrmm/blob/master/web/src/api/reporting.js
Github Open Source
Open Source
MIT
null
tacticalrmm
sadnub
JavaScript
Code
129
333
import axios from "axios" const baseUrl = "/reporting" // client endpoints export async function fetchReportTemplates() { const { data } = await axios.get(`${baseUrl}/templates/`) return data } export async function fetchReportTemplate(id) { const { data } = await axios.get(`${baseUrl}/templates/${id}/`) ret...
7,265
https://github.com/samihamine/Recoilize/blob/master/package/index.js
Github Open Source
Open Source
MIT
2,021
Recoilize
samihamine
JavaScript
Code
855
2,301
import React, {useState, useEffect} from 'react'; import { useRecoilTransactionObserver_UNSTABLE, useRecoilSnapshot, useGotoRecoilSnapshot, } from 'recoil'; import {formatFiberNodes} from './formatFiberNodes'; // grabs isPersistedState from sessionStorage let isPersistedState = sessionStorage.getItem('isPersiste...
22,704
https://github.com/Worthy-Alpaca/AJAX/blob/master/commands/music/stop.js
Github Open Source
Open Source
BSD-3-Clause
2,021
AJAX
Worthy-Alpaca
JavaScript
Code
63
195
module.exports = { name: 'stop', category: 'music', aliases: ['s'], permission: ['none', 'moderator', 'admin'], description: 'Stops the music', usage: '<link>', run: async (client, message, args, api) => { const queue = client.queue; const serverQueue = queue.get(message.guild.id); const voiceChannel = mes...
51
https://github.com/migueldeicaza/corefx/blob/master/src/Common/src/Interop/Unix/System.Net.Security.Native/Interop.Initialization.cs
Github Open Source
Open Source
MIT
2,016
corefx
migueldeicaza
C#
Code
118
240
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Runtime.InteropServices; internal static partial class Interop { // Initialization of libssl threading support is done in a static constructor. //...
4,779
https://github.com/Ddnirvana/test-CI/blob/master/openeuler-kernel/drivers/net/ethernet/intel/ice/ice_protocol_type.h
Github Open Source
Open Source
MulanPSL-1.0
2,022
test-CI
Ddnirvana
C
Code
99
367
/* SPDX-License-Identifier: GPL-2.0 */ /* Copyright (c) 2019, Intel Corporation. */ #ifndef _ICE_PROTOCOL_TYPE_H_ #define _ICE_PROTOCOL_TYPE_H_ /* Decoders for ice_prot_id: * - F: First * - I: Inner * - L: Last * - O: Outer * - S: Single */ enum ice_prot_id { ICE_PROT_ID_INVAL = 0, ICE_PROT_MAC_OF_OR_S = 1, I...
741
https://github.com/z-van-baars/IronWarden/blob/master/.import/0039.png-4ece46ce4e3d26adec99b5431b77bb78.md5
Github Open Source
Open Source
MIT
2,021
IronWarden
z-van-baars
null
Spoken
2
57
source_md5="ae2d605c8eaa647586e04fa3e7838ea7" dest_md5="50e71b0ee7b1644e32c544ee53e44e2f"
20,920
https://github.com/pavvlo/devon4net/blob/master/source/Modules/Devon4Net.Infrastructure.AWS.CDK/Resources/Handlers/Roles/IAwsCdkRoleHandler.cs
Github Open Source
Open Source
Apache-2.0
null
devon4net
pavvlo
C#
Code
99
320
using Amazon.CDK.AWS.IAM; using System.Collections.Generic; namespace ADC.PostNL.BuildingBlocks.AWSCDK.Handlers { public interface IAwsCdkRoleHandler { bool AddRolePolicyStatement(ref IRole role, string[] actions, string[] resources, Effect effect = Effect.ALLOW); void AddRolePolicyStatement(r...
23,785
https://github.com/jfjlaros/vma209/blob/master/display/display.cpp
Github Open Source
Open Source
MIT
null
vma209
jfjlaros
C++
Code
355
894
/* * Library for a 7-segment display using MC74HC595AD shift registers. */ #include "display.h" #define _BLANK 0xff // Empty. #define _DOT 0x7f // Decimal point. #define _MINUS 0xbf // Minus sign. const unsigned char _digit[] = { // Digits 0-9. 0xc0, 0xf9, 0xa4, 0xb0, 0x99, 0x92, 0x82, 0xf8, 0x80, 0x90}; /** ...
36,144
https://github.com/stasinek/BHAPI/blob/master/src/kits/debugger/private/value/values/FloatValue.h
Github Open Source
Open Source
BSD-3-Clause, MIT
2,019
BHAPI
stasinek
C
Code
65
205
/* * Copyright 2009, Ingo Weinhold, ingo_weinhold@gmx.de. * Distributed under the terms of the MIT License. */ #ifndef FLOAT_VALUE_H #define FLOAT_VALUE_H #include <Value.h> class FloatValue : public Value { public: FloatValue(const BVariant& value); virtual ~FloatValue(); BVariant GetValue(...
34,392
https://github.com/BTPJ/Operation/blob/master/src/com/cyjt/operation/fragment/DynamicLaneArrayListFragment.java
Github Open Source
Open Source
Apache-2.0
2,015
Operation
BTPJ
Java
Code
317
1,357
package com.cyjt.operation.fragment; import java.util.ArrayList; import java.util.List; import android.app.Activity; import android.app.Fragment; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.AdapterView; import android.wid...
22,735
https://github.com/MacKentoch/angular-material-harmony-starter/blob/master/src/app/components/common/app.common.style.scss
Github Open Source
Open Source
MIT
2,015
angular-material-harmony-starter
MacKentoch
SCSS
Code
14
61
/*============================== global app variables ==============================*/ $BG_COLOR : #F1F1F1; $USER_AVATAR_HEIGHT : 64px; $USER_AVATAR_WIDTH : 64px;
49,802
https://github.com/akhmanova/application-ui/blob/master/src-web/providers/LocaleProvider.js
Github Open Source
Open Source
Apache-2.0, LicenseRef-scancode-dco-1.1, OFL-1.1
2,021
application-ui
akhmanova
JavaScript
Code
96
194
/** ***************************************************************************** * Licensed Materials - Property of IBM * (c) Copyright IBM Corporation 2016, 2019. All Rights Reserved. * * US Government Users Restricted Rights - Use, duplication or disclosure * restricted by GSA ADP Schedule Contract with IBM Cor...
32,007
https://github.com/jkdubr/Proj4/blob/master/Pod/Classes/Projection/MOBProjectionEPSG4432.h
Github Open Source
Open Source
MIT
2,019
Proj4
jkdubr
C
Code
7
34
#import "MOBProjection.h" @interface MOBProjectionEPSG4432 : MOBProjection @end
3,986
https://github.com/lorensr/roles-restricted/blob/master/tests/client/helpers.js
Github Open Source
Open Source
MIT
2,016
roles-restricted
lorensr
JavaScript
Code
70
216
// Place on `window` so you can access in browser console window.Meteor = Meteor window.Roles = Roles window.serverinfo = function() { Meteor.call('whoami', function(e, r) { l('userId: ', r); }) Meteor.call('serverConnId', function(e, r) { l('connId: ', r); }) Meteor.call('roles', function(e, r) { ...
41,816
https://github.com/djsegal/Fusion.jl/blob/master/src/methods/equations/p_f_equation.jl
Github Open Source
Open Source
MIT
2,018
Fusion.jl
djsegal
Julia
Code
25
126
function P_F_equation(cur_reactor::AbstractReactor, cur_value::Number) cur_G_T = cur_value cur_G_T /= K_F(cur_reactor) cur_G_T /= K_n(cur_reactor) ^ 2 cur_G_T /= cur_reactor.sigma_v cur_equation = Equation(-1, 0, 2, cur_G_T) cur_equation end
18,555
https://github.com/Shinh18/3dev-fullstack/blob/master/frontend/src/components/BookCard.jsx
Github Open Source
Open Source
MIT
2,022
3dev-fullstack
Shinh18
null
Spoken
52
230
import React from 'react'; import { Link } from 'react-router-dom'; export default function BookCard({ book }) { return ( <article className="BookCard"> <h4 className="BookCard__title">{book.title}</h4> <dl> <dt>author :</dt> <dd>{book.author}</dd> <dt>Published in :</dt> <dd>{book.yearPublishe...
19,007
https://github.com/LoicDelorme/followUpYourGarden/blob/master/src/fr/loicdelorme/followUpYourGarden/core/services/exceptions/MissingTypeOfPlantsWordingException.java
Github Open Source
Open Source
MIT
null
followUpYourGarden
LoicDelorme
Java
Code
51
179
package fr.loicdelorme.followUpYourGarden.core.services.exceptions; import fr.loicdelorme.followUpYourGarden.core.language.MyResourceBundle; /** * This exception is thrown if the wording attribute is missing. * * @author DELORME Loïc * @version 1.0.0 */ @SuppressWarnings("serial") public class MissingTypeOfPlan...
51,283
https://github.com/YaroslavLutsyshyn/RSL/blob/master/test/09-pod-send/pod_send.cpp
Github Open Source
Open Source
MIT
2,017
RSL
YaroslavLutsyshyn
C++
Code
247
926
/* Test for POD send functionality */ #include <cassert> #include "rsl.h" struct S { int x; float y; }; struct BSTRUNCT { // ugly name on purpose, the summary type name is hashed double x; float y; S s; }; std::ostream & operator<<(std::ostream &os, const S& s) { return os << "S: " << s.x << " and " << s.y <...
33,202
https://github.com/davidDuymelinck/tailwindcss/blob/master/src/generators/borderColors.js
Github Open Source
Open Source
MIT
null
tailwindcss
davidDuymelinck
JavaScript
Code
40
120
import _ from 'lodash' import defineClass from '../util/defineClass' export default function({ borderColors, modifyClassNames }) { const prefix = _.has( modifyClassNames, 'borderColors.prefix') ? modifyClassNames.borderColors.prefix : 'border-' return _.map(_.omit(borderColors, 'default'), (color, className) => {...
46,924
https://github.com/KenPariser/ZeldaishGame/blob/master/Assets/Plugins/GameCreator/Dialogue/Editor/PropertyDrawers.meta
Github Open Source
Open Source
MIT
2,021
ZeldaishGame
KenPariser
Unity3D Asset
Code
14
68
fileFormatVersion: 2 guid: f7bcf3d27c221453fbdcd22535602841 folderAsset: yes timeCreated: 1515090319 licenseType: Free DefaultImporter: userData: assetBundleName: assetBundleVariant:
50,115
https://github.com/chrismlee26/makeschool/blob/master/labs/StarterApp-MOB-2.4-L10/Asyn_Op_Tester/Asyn_Op_TesterTests/Asyn_Op_TesterTests.swift
Github Open Source
Open Source
MIT
2,021
makeschool
chrismlee26
Swift
Code
190
394
// // Asyn_Op_TesterTests.swift // Asyn_Op_TesterTests // // Created by Thomas Vandegriff on 6/26/19. // Copyright © 2019 Make School. All rights reserved. // import XCTest @testable import Asyn_Op_Tester class Asyn_Op_TesterTests: XCTestCase { override func setUp() { // Put setup code here. This met...
27,319
https://github.com/adved85/nco-fjan-crm/blob/master/resources/views/samples/advice_sheet/create.blade.php
Github Open Source
Open Source
MIT
2,021
nco-fjan-crm
adved85
Blade
Code
210
1,313
@extends('layouts.cardBase') @section('css') <link href="{{mix("/css/jquery.magicsearch.min.css")}}" rel="stylesheet" /> @endsection @section('card-header') @section('card-header-classes', '') <div class="text-center"> <h3>Խորհրդատվական թերթիկ</h3> </div> @endsection @section('card-content') <div class="con...
38,564
https://github.com/yutaroyoshikawa/rinne/blob/master/components/molecule/OverlayTab.vue
Github Open Source
Open Source
Apache-2.0
2,021
rinne
yutaroyoshikawa
Vue
Code
167
669
<template> <transition :enter-class="$style.slideEnter" :leave-to-class="$style.slideLeaveTo" :enter-active-class="$style.slideEnterActive" :leave-active-class="$style.slideLeaveActive" > <div v-if="isOpenTab" :class="$style.tabOveray" @click.self="closeTab"> <div v-if="isOpenTab" :class="...
16,915
https://github.com/adamwulf/intellij-lsp/blob/master/intellij-lsp-dotty/src/org/jetbrains/plugins/scala/lang/psi/stubs/ScImportExprStub.scala
Github Open Source
Open Source
Apache-2.0
2,022
intellij-lsp
adamwulf
Scala
Code
32
167
package org.jetbrains.plugins.scala.lang.psi.stubs import com.intellij.psi.stubs.StubElement import org.jetbrains.plugins.scala.lang.psi.api.base.ScStableCodeReferenceElement import org.jetbrains.plugins.scala.lang.psi.api.toplevel.imports.ScImportExpr /** * User: Alexander Podkhalyuzin * Date: 20.06.2009 */ trait...
42,476
https://github.com/Astrier/chainlink/blob/master/core/services/log/broadcast.go
Github Open Source
Open Source
MIT
2,022
chainlink
Astrier
Go
Code
174
525
package log import ( "github.com/ethereum/go-ethereum/core/types" "github.com/smartcontractkit/chainlink/core/store/models" ) //go:generate mockery --name Broadcast --output ./mocks/ --case=underscore --structname Broadcast --filename broadcast.go type ( // The Broadcast type wraps a models.Log but provides addit...
19,448
https://github.com/weizhizhu/DeskClock/blob/master/app/src/main/java/com/android/deskclock/data/StopwatchDAO.java
Github Open Source
Open Source
Apache-2.0
null
DeskClock
weizhizhu
Java
Code
655
1,580
/* * Copyright (C) 2015 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
10,425
https://github.com/chasefugett/myProjects/blob/master/javaProjects/eightQueens/Chessboard.java
Github Open Source
Open Source
MIT
null
myProjects
chasefugett
Java
Code
465
1,246
package edu.miamioh.fugettcj.Project2; import java.awt.Color; import java.awt.Dimension; import java.awt.GridLayout; import java.awt.Image; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.io.IOException; import java.util.ArrayList; import javax.imageio.ImageIO; import javax.swing....
40,384
https://github.com/michaelmccracken90/verticals/blob/master/src/helpers/validator/form/changePassword.ts
Github Open Source
Open Source
MIT
2,021
verticals
michaelmccracken90
TypeScript
Code
30
90
import i18n from '@/i18n'; import validator from '@helpers/validator'; export const validatorChangePasswordForm = { oldPassword: validator.password({ min: 6, name: i18n.t('Old password') }), newPassword: validator.password({ min: 6, name: i18n.t('New password') }), };
23,444
https://github.com/TencentCloud/tencentcloud-sdk-cpp-intl-en/blob/master/clb/include/tencentcloud/clb/v20180317/model/ClassicalTarget.h
Github Open Source
Open Source
Apache-2.0
2,022
tencentcloud-sdk-cpp-intl-en
TencentCloud
C
Code
1,233
2,756
/* * Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. 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 ...
36,660
https://github.com/solidusio-contrib/solidus_social/blob/master/app/controllers/spree/omniauth_callbacks_controller.rb
Github Open Source
Open Source
BSD-3-Clause
2,023
solidus_social
solidusio-contrib
Ruby
Code
150
791
# frozen_string_literal: true class Spree::OmniauthCallbacksController < Devise::OmniauthCallbacksController include Spree::Core::ControllerHelpers::Common include Spree::Core::ControllerHelpers::Order include Spree::Core::ControllerHelpers::Auth include Spree::Core::ControllerHelpers::Store class << self ...
22,202
https://github.com/janikoskela/Select/blob/master/src/select/elements/widget/options_menu/OptionsMenuItemValue.js
Github Open Source
Open Source
MIT
2,016
Select
janikoskela
JavaScript
Code
31
170
SELECT.ELEMENTS.WIDGET.OPTIONS_MENU.OptionsMenuItemValue = function(Sandbox, option) { this.option = option; this.type = "span"; this.element; this.textNode; this.render = function() { this.element = document.createElement(this.type); this.textNode = document.createTextNode(this.option.getText()); ...
14,075
https://github.com/bkez322/gabi/blob/master/pkg/handlers/healthcheck.go
Github Open Source
Open Source
Apache-2.0
2,022
gabi
bkez322
Go
Code
33
173
package handlers import ( "context" "net/http" "time" "github.com/etherlabsio/healthcheck/v2" gabi "github.com/app-sre/gabi/pkg" ) func Healthcheck(env *gabi.Env) http.Handler { return healthcheck.Handler( healthcheck.WithTimeout(5*time.Second), healthcheck.WithChecker( "database", healthcheck.CheckerF...
8,280
https://github.com/aws/aws-sdk-java/blob/master/aws-java-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/TargetedSentimentEntityType.java
Github Open Source
Open Source
Apache-2.0
2,023
aws-sdk-java
aws
Java
Code
235
614
/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
38,946
https://github.com/Fryguy/multi_repo/blob/master/lib/multi_repo/service/travis.rb
Github Open Source
Open Source
MIT
2,023
multi_repo
Fryguy
Ruby
Code
138
526
require 'yaml' module MultiRepo::Service class Travis def self.api_token @api_token ||= ENV["TRAVIS_API_TOKEN"] end def self.api_token=(token) @api_token = token end def self.client @client ||= begin raise "Missing Travis API Token" if travis_api_token.nil? re...
34,567
https://github.com/vitvakatu/exonum-java-binding/blob/master/exonum-java-binding/integration-tests/src/test/java/com/exonum/binding/test/TimeSchemaProxyIntegrationTest.java
Github Open Source
Open Source
Apache-2.0, LicenseRef-scancode-unknown-license-reference, MIT
2,019
exonum-java-binding
vitvakatu
Java
Code
311
1,050
/* * Copyright 2019 The Exonum Team * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed...
30,149
https://github.com/liulei3/huaweicloud-sdk-java-v3/blob/master/services/bcs/src/main/java/com/huaweicloud/sdk/bcs/v2/model/ChannelInfo.java
Github Open Source
Open Source
Apache-2.0
null
huaweicloud-sdk-java-v3
liulei3
Java
Code
405
1,578
package com.huaweicloud.sdk.bcs.v2.model; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; import java.util.ArrayList; import java.util.HashMap; import j...
18,999
https://github.com/patilavadhut55/JJMAMC/blob/master/application/certificate_templet/print/affidavit.php
Github Open Source
Open Source
MIT
null
JJMAMC
patilavadhut55
PHP
Code
148
776
<!--?php $id= $_GET['id']; $objData = Application::LoadByIdapplication($id); $objmem = LoginHasRole::LoadByLoginIdloginRoleIdrole($_SESSION['login'], $_SESSION['role']); ?--> <table width="600" border="0" cellspacing="5" cellpadding="5" align="center"> <tbody> <tr> <td colspan="2" align="...
21,638
https://github.com/rakshit6432/HackerRank-Solutions/blob/master/Regex/01 - Introduction/06 - Matching Start & End.py
Github Open Source
Open Source
MIT
2,020
HackerRank-Solutions
rakshit6432
Python
Code
113
287
# ======================== # Information # ======================== # Direct Link: https://www.hackerrank.com/challenges/matching-start-end/problem # Difficulty: Easy # Max Score: 5 # Language: Python # ======================== # Solution # ======================== import re regex_pattern = r'^\d\w{4}...
20,309
https://github.com/r-barnes/sw_comparison/blob/master/implementations/luo2013/ssse3_popcount.cpp
Github Open Source
Open Source
BSD-Source-Code
null
sw_comparison
r-barnes
C++
Code
1,048
2,828
/* * * ssse3_popcount.h * Soap3(gpu) * * Copyright (C) 2011, HKU * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your o...
23,174
https://github.com/panosmdma/SlackOnly-SlackBuilds/blob/master/games/jzintv/jzintv_rompath.patch
Github Open Source
Open Source
MIT
2,020
SlackOnly-SlackBuilds
panosmdma
null
Spoken
35
205
diff -Naur jzintv-1.0-beta3/src/config.h jzintv-1.0-beta3.patched/src/config.h --- jzintv-1.0-beta3/src/config.h 2006-07-06 13:52:01.000000000 -0400 +++ jzintv-1.0-beta3.patched/src/config.h 2009-02-04 23:28:34.000000000 -0500 @@ -166,7 +166,7 @@ #ifdef linux # define USE_STRCASECMP -# define DEFAULT_ROM_PATH ".:=....
3,537
https://github.com/ITECOMMPAY/qa-wframework/blob/master/src/Codeception/Lib/WFramework/Generator/ParsingTree/ExampleNodes/Steps/LoginStepsNode.php
Github Open Source
Open Source
MIT
null
qa-wframework
ITECOMMPAY
PHP
Code
64
320
<?php namespace Codeception\Lib\WFramework\Generator\ParsingTree\ExampleNodes\Steps; use Codeception\Lib\WFramework\Generator\ParsingTree\BaseNodes\StepExampleNode; use Codeception\Lib\WFramework\Generator\ParsingTree\BaseNodes\StepsNode; use Codeception\Lib\WFramework\Generator\ParsingTree\ExampleNodes\Block\Login...
7,156
https://github.com/da1fanshu/1234ewsd/blob/master/Assets/Scripts/MobileMovieTexture/MovieTextureHelper.cs
Github Open Source
Open Source
MIT
2,021
1234ewsd
da1fanshu
C#
Code
103
361
using System.Collections; using UnityEngine; namespace Assets.Scripts.MobileMovieTexture { /// <inheritdoc /> /// <summary> /// 视频图片助手 /// </summary> public class MovieTextureHelper : MonoBehaviour { void Start() { //#if UNITY_STANDALONE_WIN // if (texture is MovieTex...
14,902
https://github.com/yashpatil/GTAS/blob/master/gtas-parent/scripts/db/1.7.0_to_1.8.0/rollback/alter_app_configuration_rollback.sql
Github Open Source
Open Source
BSD-3-Clause
2,022
GTAS
yashpatil
SQL
Code
5
16
DROP INDEX app_configuration_opt_key ON app_configuration;
17,161
https://github.com/vanrein/lillydap/blob/master/include/lillydap/api.h
Github Open Source
Open Source
BSD-2-Clause
2,021
lillydap
vanrein
C
Code
2,600
8,022
/* lillydap.h -- LDAP library with client calls and server callbacks. * * LillyDAP is a library that supports dynamic data providers for LDAP, * in a similar fashion to what FastCGI or WSGI scripts do for HTTP. * * Combined with the powerful semantics of LDAP, this yields a very * potent platform for a great vari...
27,214
https://github.com/jfm535/dokanfs-base/blob/master/IDokanFile.cs
Github Open Source
Open Source
MIT
2,022
dokanfs-base
jfm535
C#
Code
53
132
using DokanNet; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace NC.DokanFS { public interface IDokanFile { /// <summary> /// File information for this file /// </summary> FileInformation FileInformati...
3,829
https://github.com/hydronics2/project-tetra/blob/master/02_Development/Display/Scripts/readFlowSensor.py
Github Open Source
Open Source
CERN-OHL-P-2.0
2,020
project-tetra
hydronics2
Python
Code
177
547
import serial from datetime import datetime if __name__ == "__main__": """Records flow rate and tidal volume measured by a Senserion SFM3300 flow sensor attached to an Olimex ESP32-PoE-ISO board broadcasted over a serial connection. It's helpful to use the Arduino IDE's Serial Plotter to see which se...
5,917
https://github.com/cDoru/kephas/blob/master/Samples/CalculatorConsole/CalculatorConsole/Calculator/Calculator.cs
Github Open Source
Open Source
MIT
2,017
kephas
cDoru
C#
Code
71
258
namespace CalculatorConsole.Calculator { using System.Collections.Generic; using System.Linq; using CalculatorConsole.Operations; using Kephas.Composition; public class Calculator : ICalculator { private readonly IParser parser; public Calculator(ICollection<IExportFactory<I...
16,466
https://github.com/chuongmep/RevitExtensions/blob/master/Build/Build.Properties.cs
Github Open Source
Open Source
Apache-2.0
2,022
RevitExtensions
chuongmep
C#
Code
61
184
partial class Build { readonly Dictionary<string, string> VersionMap = new() { {"Release R19", "2019.0.4"}, {"Release R20", "2020.0.4"}, {"Release R21", "2021.0.4"}, {"Release R22", "2022.0.4"} }; const string BuildConfiguration = "Release"; const string TestConfigur...
13,524
https://github.com/klonesa/clinic_appointment_system/blob/master/src/com/dao/AuthoritiesDao.java
Github Open Source
Open Source
MIT
2,020
clinic_appointment_system
klonesa
Java
Code
18
70
package com.dao; import java.util.List; import com.entity.Authorities; public interface AuthoritiesDao extends BaseDao<Authorities,Integer>{ List findAuthorityByName(String username); // List<Authorities> read(); }
34,175
https://github.com/YangSen-qn/go-sdk/blob/master/pili/domain_model.go
Github Open Source
Open Source
MIT
2,022
go-sdk
YangSen-qn
Go
Code
769
3,370
package pili // GetDomainsListRequest 查询域名列表请求参数 type GetDomainsListRequest struct { // Hub 直播空间 Hub string `json:"-" validate:"required"` } // GetDomainsListResponse 查询域名列表返回值 type GetDomainsListResponse struct { // Domains 域名列表 Domains []GetDomainsListItem `json:"domains"` } // GetDomainsListItem 查询域名列表项 typ...
38,291
https://github.com/BertHartm/m3/blob/master/src/query/api/v1/handler/placement/common_test.go
Github Open Source
Open Source
Apache-2.0
null
m3
BertHartm
Go
Code
714
3,063
// Copyright (c) 2018 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, merge...
30,273
https://github.com/asuessenbach/pipeline/blob/master/dp/sg/core/src/Texture.cpp
Github Open Source
Open Source
BSD-3-Clause
2,022
pipeline
asuessenbach
C++
Code
720
2,466
// 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...
39,787
https://github.com/cienciascontic/NovaStelo/blob/master/filetree/Stelo.package/SMicroWorld.class/instance/setPlotYMin..st
Github Open Source
Open Source
MIT
2,020
NovaStelo
cienciascontic
null
Spoken
8
33
accessing setPlotYMin: aNumber plotList add: (ScratchPlot setPlotYMin: aNumber)
14,795
https://github.com/jkoudys/janeswalk-web/blob/master/themes/janeswalk/js/components/caw/date/TimeSetRow.jsx
Github Open Source
Open Source
MIT
2,017
janeswalk-web
jkoudys
JavaScript
Code
167
505
/* global React */ import { t, t2 } from 'janeswalk/stores/I18nStore'; // TODO: shim let dtfDate; let dtfDuration; if (typeof Intl === 'object') { dtfDate = new Intl.DateTimeFormat('en-US', { year: 'numeric', month: 'long', day: 'numeric', timeZone: 'UTC' }); dtfDuration = new Intl.DateTimeFormat('en-US', { hour: ...
9,910
https://github.com/rjansen/boost/blob/master/cache.go
Github Open Source
Open Source
MIT
null
boost
rjansen
Go
Code
122
205
package boost import "time" //ClientPool is an interface for cache pool contract type ClientPool interface { Get() (Client, error) Close() error } //Client is an interface to interact with the cache type Client interface { //Get reads the value associated with the provided key Get(key string) ([]byte, error) //...
34,194
https://github.com/Anna-Myzukina/facebook-clone/blob/master/heroku/node_modules/@heroku-cli/command/node_modules/http-call/lib/deps.js
Github Open Source
Open Source
MIT, LicenseRef-scancode-unknown-license-reference, ISC
2,020
facebook-clone
Anna-Myzukina
JavaScript
Code
59
165
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.deps = { get proxy() { return fetch('./proxy').default; }, get isStream() { return fetch('is-stream'); }, get contentType() { return fetch('content-type'); }, get http() { ret...
17,541
https://github.com/lichongbing/lswagger/blob/master/knife4j-vue/src/views/othermarkdown/index.vue
Github Open Source
Open Source
Apache-2.0
2,022
lswagger
lichongbing
Vue
Code
69
324
<template> <a-layout-content class="knife4j-body-content"> <a-row class="markdown-body editormd-preview-container"> <Markdown :source="content" /> </a-row> </a-layout-content> </template> <script> import "@/assets/css/editormd.css"; import KUtils from "@/core/utils"; export default { props: { da...
6,082
https://github.com/jollitycn/MY-FRAMEWORK/blob/master/ism-example/netty-socketio-demo-master/server/netty-chat-master/src/test/java/com.shuangyueliao.chat/activemq/Consumer.java
Github Open Source
Open Source
Apache-2.0
2,020
MY-FRAMEWORK
jollitycn
Java
Code
110
548
package com.shuangyueliao.chat.activemq; import org.apache.activemq.ActiveMQConnectionFactory; import javax.jms.*; /** * @author shuangyueliao * @create 2019/8/25 17:57 * @Version 0.1 */ public class Consumer { public static void main(String[] args) throws Exception{ //创建连接工厂对象 ConnectionFact...
24,631
https://github.com/ColoradoOrion/lora-gateway-bridge/blob/master/packaging/vendor/cisco/IXM-LPWA/files/scripts/POSTUNINSTALL
Github Open Source
Open Source
MIT
2,019
lora-gateway-bridge
ColoradoOrion
Shell
Code
8
45
#!/bin/bash # remove symlinks rm /etc/init.d/lora-packet-forwarder rm /etc/init.d/lora-gateway-bridge
33,072
https://github.com/ThomasJaspers/microplode-presentationservice/blob/master/backend/socket-io-connection.js
Github Open Source
Open Source
0BSD
null
microplode-presentationservice
ThomasJaspers
JavaScript
Code
175
553
'use strict'; const amqpConnector = require('./amqp-connector') , socketIoHandler = require('./socket-io-handler'); class SocketIoConnection { constructor(io, socket) { this.io = io; this.socket = socket; this.startListening(); } startListening() { this.socket.on('message', data => { ...
40,044
https://github.com/louchebem06/cub3D/blob/master/src/cub3D/next_bonus.c
Github Open Source
Open Source
MIT
null
cub3D
louchebem06
C
Code
379
1,177
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* next_bonus.c :+: :+: :+: ...
15,997
https://github.com/qianfei11/zstack/blob/master/plugin/flatNetworkProvider/src/main/java/org/zstack/network/service/flat/FlatDhcpBackend.java
Github Open Source
Open Source
Apache-2.0
null
zstack
qianfei11
Java
Code
5,558
22,936
package org.zstack.network.service.flat; import org.apache.commons.lang.StringUtils; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.transaction.annotation.Transactional; import org.zstack.compute.vm.StaticIpOperator; import org.zstack.compute.vm.VmSystemTags; import org.zstac...
16,998
https://github.com/asd123freedom/san-awesome/blob/master/src/icons/magic.js
Github Open Source
Open Source
MIT
null
san-awesome
asd123freedom
JavaScript
Code
65
376
import Icon from '../components/Icon' Icon.register({ magic: { width: 512, height: 512, paths: [ { d: 'M224 96l-16-32-32-16 32-16 16-32 16 32 32 16-32 16zM80 160l-26.7-53.3-53.3-26.7 53.3-26.7 26.7-53.3 26.7 53.3 53.3 26.7-53.3 26.7zM432 288l26.7 53.3 53.3 26.7-53.3 26.7-26.7 53.3-26.7-53.3...
25,256
https://github.com/5haydn/learn-webapp-sample/blob/master/first-app-sample-25/src/controllers/user.js
Github Open Source
Open Source
MIT
null
learn-webapp-sample
5haydn
JavaScript
Code
309
948
import bcrypt from 'bcrypt'; import PostModel from '../models/post'; import UserModel from '../models/user'; import config from '../config'; import jwt from 'jwt-simple'; import moment from 'moment'; import { sendActiveMail } from '../common/mail'; import utility from 'utility'; export const signup = function (req, re...
5,720
https://github.com/Azure-Samples/azure-intelligent-edge-patterns/blob/master/factory-ai-vision/EdgeSolution/modules/WebModule/ui/src/pages/Home.tsx
Github Open Source
Open Source
MIT
2,023
azure-intelligent-edge-patterns
Azure-Samples
TSX
Code
240
745
/* eslint react/display-name: "off" */ import React, { useState, useEffect } from 'react'; import { useLocation, useHistory, Switch, Route, Redirect } from 'react-router-dom'; import { Stack, Pivot, PivotItem, Spinner } from '@fluentui/react'; import { useDispatch, useSelector } from 'react-redux'; import * as R from ...
45,172
https://github.com/mngan/peering-manager-docker/blob/master/configuration/configuration.py
Github Open Source
Open Source
Apache-2.0
null
peering-manager-docker
mngan
Python
Code
431
2,072
import os # For reference see: # * https://peering-manager.readthedocs.io/en/stable/configuration/required-settings/ # * https://peering-manager.readthedocs.io/en/stable/configuration/optional-settings/ # Read secret from file def read_secret(secret_name): try: f = open("/run/secrets/" + secret_name, "r",...
42,964
https://github.com/ra-mhelheinz/r22-9u1h9lng5n/blob/master/root/resources/views/customer_entry.blade.php
Github Open Source
Open Source
MIT
2,019
r22-9u1h9lng5n
ra-mhelheinz
Blade
Code
816
3,958
<div class="popup" pd-popup="customer_entry"> <div name="customer_entry_popup" class="popup-inner-xl" style="height: auto"> <div class="modal-header"> Customer Entry <span name="C_E_MODE"></span> <a pd-popup-close="customer_entry" href="#" class="popup-close"> </a> </div> ...
40,502
https://github.com/KillaMaaki/cozi-lang/blob/master/Compiler/Compiler/CompileContext.cs
Github Open Source
Open Source
MIT
2,020
cozi-lang
KillaMaaki
C#
Code
29
84
using System.Collections.Generic; namespace Cozi.Compiler { public class CompileContext { public List<CompileError> Errors = new List<CompileError>(); public Dictionary<string, Module> Modules = new Dictionary<string, Module>(); public CompileContext() { } } }
7,782
https://github.com/lipu8640/dal/blob/master/dal-client/src/main/java/com/ctrip/platform/dal/dao/sqlbuilder/AbstractFreeSqlBuilder.java
Github Open Source
Open Source
Apache-2.0
2,020
dal
lipu8640
Java
Code
3,907
8,991
package com.ctrip.platform.dal.dao.sqlbuilder; import static com.ctrip.platform.dal.dao.helper.DalShardingHelper.buildShardStr; import static com.ctrip.platform.dal.dao.helper.DalShardingHelper.isTableShardingEnabled; import static com.ctrip.platform.dal.dao.helper.DalShardingHelper.locateTableShardId; import static c...
25,236
https://github.com/TsaiRenkun/Project4_workoutKeeper/blob/master/src/client/workoutlist.jsx
Github Open Source
Open Source
MIT
null
Project4_workoutKeeper
TsaiRenkun
null
Spoken
349
1,411
import React from "react"; import ReactDOM from "react-dom"; import axios from "axios"; import Cookies from "universal-cookie"; import moment from "moment"; import Workout from './workout.jsx'; import Grid from '@material-ui/core/Grid'; import Box from '@material-ui/core/Box'; class Workoutlist extends React.Component...
9,277
https://github.com/nnnnathann/gulp-aglio/blob/master/index.js
Github Open Source
Open Source
MIT
2,019
gulp-aglio
nnnnathann
JavaScript
Code
160
460
var aglio = require('aglio'); var through2 = require('through2'); var gutil = require('gulp-util'); var PluginError = gutil.PluginError; var defaults = require('lodash.defaults'); var path = require('path'); module.exports = function (options) { 'use strict'; // Mixes in default options. options = defaults(optio...
23,673
https://github.com/PHPerBigMan/zhuangxiujia/blob/master/application/admin/controller/Agreement.php
Github Open Source
Open Source
Apache-2.0
null
zhuangxiujia
PHPerBigMan
PHP
Code
55
243
<?php namespace app\admin\controller; class Agreement extends Base { protected $model; public function index(){ $title = "用户协议"; $data = \app\model\Agreement::find(); $data->agreement = mb_substr($data->agreement,0,40); return view('agreement/index',compact('title','data'));...
25,378
https://github.com/aliyousef155/up_video/blob/master/resources/views/Dashboard/videos/create.blade.php
Github Open Source
Open Source
MIT
null
up_video
aliyousef155
PHP
Code
383
1,866
@extends('Dashboard.layout.app') @section('page_title') {{$module_name='add video'}} @endsection @push('css') @endpush @section('content') @component('Dashboard.layout.nav') @slot('nav_title') {{$module_name}} @endslot @endcomponent {{-- content here--}} <div class="row"> ...
40,700
https://github.com/ArcticLampyrid/CrucioBackupper/blob/master/CrucioNetwork/Utils/HexConvert.cs
Github Open Source
Open Source
MIT
null
CrucioBackupper
ArcticLampyrid
C#
Code
111
275
using System; using System.Collections.Generic; using System.Text; namespace CrucioNetwork.Utils { class HexConvert { public static string ToStringLC(byte[] bytes) { int chArrayLength = bytes.Length * 2; char[] chArray = new char[chArrayLength]; int index = ...
21,247
https://github.com/chenyanmo/editPro/blob/master/public/js/loginout.js
Github Open Source
Open Source
MIT
2,020
editPro
chenyanmo
JavaScript
Code
73
304
/** * * @authors ${ Neil-YQ } * @email ${ 360842060@qq.com } * @date 2018-12-03 17:10:58 * @version $Id$ */ (function(){ $.ajax({ url: "/editor/editorPost", type: "POST", cache: false, dataType: 'json', success: function (msg) { $('.loginName').text(msg.user.editorName); $('.email').text(msg...
51,011
https://github.com/jackfirth/rebellion/blob/master/collection/hash.rkt
Github Open Source
Open Source
Apache-2.0
2,023
rebellion
jackfirth
null
Spoken
526
1,954
#lang racket/base (require racket/contract/base) (provide (contract-out [immutable-hash? predicate/c] [mutable-hash? predicate/c] [empty-hash empty-immutable-hash?] [empty-immutable-hash? predicate/c] [nonempty-immutable-hash? predicate/c] [in-hash-entries (-> immutable-hash? (sequence/c entry?))] [in-...
23,572
https://github.com/avi-pal/al-go-rithms/blob/master/strings/string_permutation/java/StringPermutation.java
Github Open Source
Open Source
CC0-1.0
2,022
al-go-rithms
avi-pal
Java
Code
163
399
import java.util.Scanner; /** * Created by aubdira on 10/30/17. * * String permutation in java Given a string "ABC" OUTPUT ABC ACB BAC BCA CBA CAB */ public class StringPermutation { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); System.out.println("Enter yo...
33,234
https://github.com/JamesChevalier/health_graph/blob/master/test/health_graph/test_sleep_feed.rb
Github Open Source
Open Source
MIT
null
health_graph
JamesChevalier
Ruby
Code
196
759
require 'helper' class TestSleepFeed < Test::Unit::TestCase context "sleep" do setup do stub_request(:get, HealthGraph.endpoint + '/user' ).with(:header => {'Authorization' => 'Bearer ' + TEST_USER_TOKEN, 'Accept' => HealthGraph.accept_headers[:user]} ).to_return(:body => fixt...
31,897
https://github.com/XboxBedrock/Asia-PlotSystem/blob/master/src/main/java/io/github/BTEPlotSystem/core/menus/CompanionMenu.java
Github Open Source
Open Source
MIT
null
Asia-PlotSystem
XboxBedrock
Java
Code
1,614
5,924
/* * The MIT License (MIT) * * Copyright © 2021, Alps BTE <bte.atchli@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...
24,130
https://github.com/poggit-pmmp/SkyWars-v2/blob/master/src/vixikhd/skywars/event/PlayerArenaWinEvent.php
Github Open Source
Open Source
Apache-2.0
2,021
SkyWars-v2
poggit-pmmp
PHP
Code
112
345
<?php declare(strict_types=1); namespace vixikhd\skywars\event; use pocketmine\event\plugin\PluginEvent; use pocketmine\Player; use vixikhd\skywars\arena\Arena; use vixikhd\skywars\SkyWars; /** * Class PlayerArenaWinEvent * @package skywars\event */ class PlayerArenaWinEvent extends PluginEvent { /** @var n...
23,856
https://github.com/gobutlernow/parsedatetime/blob/master/tests/TestSimpleOffsetsHours.py
Github Open Source
Open Source
Apache-2.0
2,016
parsedatetime
gobutlernow
Python
Code
332
1,217
# -*- coding: utf-8 -*- """ Test parsing of 'simple' offsets """ from __future__ import unicode_literals import time import datetime import unittest import parsedatetime as pdt from . import utils class test(unittest.TestCase): @utils.assertEqualWithComparator def assertExpectedResult(self, result, check, *...
14,502
https://github.com/tianbin1001/shardingsphere-elasticjob-lite/blob/master/elastic-job-lite-core/src/test/java/org/apache/shardingsphere/elasticjob/lite/internal/sharding/ShardingServiceTest.java
Github Open Source
Open Source
Apache-2.0
null
shardingsphere-elasticjob-lite
tianbin1001
Java
Code
601
4,372
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
15,844
https://github.com/Frostyezz/ecommerce-app/blob/master/src/Components/Navbar/WishlistPopUp/WishlistItems/WishlistItems.jsx
Github Open Source
Open Source
MIT
null
ecommerce-app
Frostyezz
null
Spoken
55
192
import React from 'react'; import classes from './WishlistItems.css'; import WishlistItem from './WishlistItem/WishlistItem'; const WishlistItems = ({wishlistItems, removeFromWishlist, addToCart}) => { return ( <div className={classes.wrapper}> {wishlistItems.length ? wishlistItems.map(item => ...
23,389
https://github.com/supermetrics-public/pecl-jsonpath/blob/master/tools/build-packagexml.php
Github Open Source
Open Source
PHP-3.01
2,022
pecl-jsonpath
supermetrics-public
PHP
Code
1,399
5,062
<?php /** * Generate package.xml for pecl extensions. * Works for new and existing extensions. * * Add it to `Makefile.frag` * package.xml: php_$(PHP_PECL_EXTENSION).h * $(PHP_EXECUTABLE) build-packagexml.php * * Usage * cat ~/my-release-notes.txt | make package.xml * * @author Arnold Daniels <arnold...
43,613
https://github.com/xds95/pybas/blob/master/map/scenario_a2/fig_avi/peaK_obs_3D_18.eps
Github Open Source
Open Source
BSD-3-Clause
2,019
pybas
xds95
PostScript
Code
20,000
40,444
%!PS-Adobe-3.0 EPSF-3.0 %%Creator: (MATLAB, The Mathworks, Inc. Version 9.4.0.813654 \(R2018a\). Operating System: Mac OS X) %%Title: ./peaK_obs_3D_18.eps %%CreationDate: 2018-11-25T20:13:10 %%Pages: (atend) %%BoundingBox: 13 16 524 389 %%LanguageLevel: 3 %%EndComments %%BeginProlog %%BeginResource: procset (Apache XML...
11,374
https://github.com/RGBvision/dashboard-boilerplate/blob/master/app/modules/dashboard/controller/Controller.php
Github Open Source
Open Source
MIT
null
dashboard-boilerplate
RGBvision
PHP
Code
371
1,207
<?php /** * This file is part of the dashboard.rgbvision.net package. * * (c) Alex Graham <contact@rgbvision.net> * * @package dashboard.rgbvision.net * @author Alex Graham <contact@rgbvision.net> * @copyright Copyright 2017-2022, Alex Graham * @license https://dashboard.rgbvision.net/license.txt MI...
46,441
https://github.com/KieranBrannigan/viki-downloader/blob/master/uBlock/js/dynamic-net-filtering.js
Github Open Source
Open Source
MIT
2,021
viki-downloader
KieranBrannigan
JavaScript
Code
1,995
5,257
/******************************************************************************* µBlock - a browser extension to black/white list requests. Copyright (C) 2014 Raymond Hill This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as publ...
857
https://github.com/JAlvarezJarreta/pecan/blob/master/bp/common/fp/Generator.java
Github Open Source
Open Source
MIT
2,021
pecan
JAlvarezJarreta
Java
Code
83
155
/* * Copyright (C) 2006-2011 by Benedict Paten (benedictpaten@gmail.com) * * Released under the MIT license, see LICENSE.txt */ /* * Created on Feb 16, 2005 */ package bp.common.fp; /** * @author benedictpaten */ public interface Generator { /** * Method should return a sequence of objects and then ...
51,156
https://github.com/josercsouza/po-angular/blob/master/projects/ui/src/lib/components/po-table/po-table-column-label/po-table-column-label.interface.ts
Github Open Source
Open Source
MIT
2,022
po-angular
josercsouza
TypeScript
Code
201
537
/** * @usedBy PoTableComponent, PoPageDynamicTableComponent * * @description * * Interface para configuração das colunas de labels do `po-table`. */ export interface PoTableColumnLabel { /** * @optional * * @description * * Define a cor do label. * * Valores válidos: * - <span class="dot...
31,366
https://github.com/yottatsa/basicv2/blob/master/src/main/java/com/sixtyfour/cbmnative/mos6502/x16/X16Defaults.java
Github Open Source
Open Source
Unlicense
2,022
basicv2
yottatsa
Java
Code
121
542
package com.sixtyfour.cbmnative.mos6502.x16; import java.util.List; import com.sixtyfour.cbmnative.Operand; /** * @author EgonOlsen * */ public interface X16Defaults { default void checkSpecialReadVarsX16(List<String> nCode, Operand source) { String addr = source.getAddress(); boolean add = false; if (add...
28,938
https://github.com/zsoltdeak-betsson/skillaborator-fes/blob/master/src/app/service/utils/storage.service.ts
Github Open Source
Open Source
MIT
null
skillaborator-fes
zsoltdeak-betsson
TypeScript
Code
93
309
export const SELECTED_ANSWERS_STORAGE_KEY = 'selectedAnswers'; export enum StorageType { Local, Session, } export class StorageService { private static getStorageByType(storageType: StorageType): Storage { return storageType === StorageType.Local ? localStorage : sessionStorage; } static getForKey(key:...
38,212
https://github.com/markstos/dotfiles/blob/master/dot_config/private_fish/functions/cm.fish
Github Open Source
Open Source
MIT
2,019
dotfiles
markstos
Fish
Code
8
22
function cm --description 'alias cm=chezmoi' chezmoi $argv; end
6,120
https://github.com/mcarnelos/projeto-api-cadastro-de-veiculos/blob/master/src/main/java/br/com/api/cadastro/veiculos/repository/VeiculosRepository.java
Github Open Source
Open Source
MIT
null
projeto-api-cadastro-de-veiculos
mcarnelos
Java
Code
16
97
package br.com.api.cadastro.veiculos.repository; import org.springframework.data.mongodb.repository.MongoRepository; import org.springframework.stereotype.Repository; import br.com.api.cadastro.veiculos.domain.Veiculos; @Repository public interface VeiculosRepository extends MongoRepository<Veiculos, String>{ }
44,634