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/warleys14/the-messenger/blob/master/src/components/ButtonFooter.vue
Github Open Source
Open Source
MIT
null
the-messenger
warleys14
Vue
Code
133
524
<template> <div class="footer-container"> <button type="button" @click="firstButtonFunction"> {{ firstButtonLabel }} </button> <router-link :to="lastButtonRouter"> <button class="router-button" type="button"> {{ lastButtonLabel }} </button>...
20,478
https://github.com/tejpratapsingh/coinbasepro-csharp/blob/master/CoinbasePro/Shared/Types/ProductType.cs
Github Open Source
Open Source
MIT
null
coinbasepro-csharp
tejpratapsingh
C#
Code
531
2,754
using System.Runtime.Serialization; namespace CoinbasePro.Shared.Types { public enum ProductType { [EnumMember(Value = "Unknown-Unknown")] Unknown, [EnumMember(Value = "BTC-USD")] BtcUsd, [EnumMember(Value = "BTC-EUR")] BtcEur, [EnumMember(Value = "BTC-G...
7,887
https://github.com/dcelisgarza/DDD.jl/blob/master/test/FEMTest.jl
Github Open Source
Open Source
MIT
2,021
DDD.jl
dcelisgarza
Julia
Code
828
2,854
using DDD using Test, StaticArrays, SparseArrays, LinearAlgebra cd(@__DIR__) @testset "nodeFE type" begin @test nodeTypeFE(0) == 0 @test 1 == nodeTypeFE(1) @test nodeTypeFE(3) == 3.0 @test zero(nodeTypeFE) == 0 @test convert(nodeTypeFE, 3.0) == nodeTypeFE(3) end @testset "Shape functions" begin ...
14,582
https://github.com/anggadarkprince/ci4-services/blob/master/app/Services/Notification/Messages/PusherNotificationBuilder.php
Github Open Source
Open Source
MIT
2,022
ci4-services
anggadarkprince
PHP
Code
176
493
<?php namespace App\Services\Notification\Messages; use InvalidArgumentException; class PusherNotificationBuilder { private static $instance; protected $data = []; private function __construct() { // create object via newData() } /** * Build new push config message. * ...
46,096
https://github.com/thomfoolery/MonkeyRider/blob/master/js/utils/scriptor.js
Github Open Source
Open Source
MIT
2,020
MonkeyRider
thomfoolery
JavaScript
Code
276
639
"use strict"; /* * SCRIPT UTILITIES MODULE * ======================= * * PUBLIC PROPERTIES --- (!) IMMUTABLE *------------------ * * N/A * * PUBLIC SETTERS *--------------- * * N/A * * PUBLIC METHODS *--------------- * * degToRad ( degrees ) : INT * * radToDeg ( radians ) : IN...
39,556
https://github.com/JayDutta7/MvpWithAndroidArch/blob/master/app/src/main/java/com/quangnguyen/stackoverflowclient/util/schedulers/SchedulerModule.kt
Github Open Source
Open Source
MIT
2,019
MvpWithAndroidArch
JayDutta7
Kotlin
Code
48
226
package com.quangnguyen.stackoverflowclient.util.schedulers import dagger.Module import dagger.Provides import io.reactivex.Scheduler import io.reactivex.android.schedulers.AndroidSchedulers import io.reactivex.schedulers.Schedulers import com.quangnguyen.stackoverflowclient.util.schedulers.SchedulerType.IO import co...
4,992
https://github.com/Manuel-Leleuly/go-practice/blob/master/01_basic/21_functionsWithReturnValue.go
Github Open Source
Open Source
Apache-2.0
null
go-practice
Manuel-Leleuly
Go
Code
31
76
package main import "fmt" func getHello(name string) string { if name == ""{ return "Hello bro" } return "Hello " + name } func main() { result := getHello("Manuel") fmt.Println(result) }
16,012
https://github.com/chriscdev/Cryptography/blob/master/Cryptography.Library/Asymmetric/FastRsa.cs
Github Open Source
Open Source
Apache-2.0
null
Cryptography
chriscdev
C#
Code
1,040
2,327
using Cryptography.Library.Configuration; using Cryptography.Library.Interfaces; using Microsoft.Extensions.Caching.Memory; using System; using System.Security.Cryptography; namespace Cryptography.Library.Symmetric { /// <summary> /// Fast RSA can be used to encrypt large blobs of data. /// It uses the AES symm...
446
https://github.com/mitch-b/web/blob/master/init_makefile.py
Github Open Source
Open Source
MIT
2,016
web
mitch-b
Python
Code
736
2,233
#!/usr/bin/env python # The MIT License (MIT) # # Copyright (c) 2014 Mitchell Barry # # 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 ri...
5,370
https://github.com/dennissergeev/test_conda_python_fortran/blob/master/bin/compile_model.py
Github Open Source
Open Source
MIT
null
test_conda_python_fortran
dennissergeev
Python
Code
18
46
#!/usr/bin/env python # -*- encoding: utf-8 from pathlib import Path from tcpf import Model m = Model(Path(".")) m.compile()
13,197
https://github.com/paulohp/ethereum-libraries/blob/master/ArrayUtilsLib/truffle/contracts/ArrayUtilsTestContractThree.sol
Github Open Source
Open Source
MIT
2,019
ethereum-libraries
paulohp
Solidity
Code
472
2,255
pragma solidity ^0.4.18; import "./Array256Lib.sol"; import "./Array128Lib.sol"; import "./Array64Lib.sol"; import "./Array32Lib.sol"; import "./Array16Lib.sol"; import "./Array8Lib.sol"; contract ArrayUtilsTestContractThree { using Array256Lib for uint256[]; using Array128Lib for uint128[]; using Array64Lib fo...
34,996
https://github.com/ef4/orbit/blob/master/packages/@orbit/records/src/record-operation-term.ts
Github Open Source
Open Source
MIT
2,022
orbit
ef4
TypeScript
Code
570
1,737
import { OperationTerm } from '@orbit/data'; import { AddRecordOperation, UpdateRecordOperation, RemoveRecordOperation, ReplaceAttributeOperation, ReplaceKeyOperation, AddToRelatedRecordsOperation, RemoveFromRelatedRecordsOperation, ReplaceRelatedRecordsOperation, ReplaceRelatedRecordOperation, Reco...
20,461
https://github.com/ericfreese/w3mailparse/blob/master/models/email_address.js
Github Open Source
Open Source
MIT
2,014
w3mailparse
ericfreese
JavaScript
Code
61
284
var crypto = require('crypto'); var EmailAddress = function(emailAddress) { this.parseInfo(emailAddress); this.gravatarUrl = 'http://www.gravatar.com/avatar/' + crypto.createHash('md5').update(this.address.toLowerCase()).digest('hex'); }; EmailAddress.emailAddressesFromString = function(emailAddressString) { re...
36,313
https://github.com/renfei1992/gio-design/blob/master/src/selector/__test__/Selector.test.tsx
Github Open Source
Open Source
Apache-2.0
2,021
gio-design
renfei1992
TSX
Code
142
649
import React from 'react'; import { fireEvent, render, screen } from '@testing-library/react'; import { Content, IconContent, CustomizeTrigger, CustomizeSuffix, Placeholder, WithoutClear, } from '../demos/Selector.stories'; describe('Selector', () => { it('renders text item', () => { const handleOnCl...
33,855
https://github.com/stackprobe/Factory/blob/master/SubTools/HTT/libs/Client/Client.c
Github Open Source
Open Source
MIT
2,022
Factory
stackprobe
C
Code
39
168
#include "Client.h" uint Client_SockTimeoutSec = 20; SockStream_t *ClientBegin(int sock, char *serviceName) // ret: NULL ƒiƒV { SockStream_t *ss; // sock errorCase(m_isEmpty(serviceName)); ss = CreateSockStream(sock, Client_SockTimeoutSec); SockSendToken(ss, serviceName); SockSendChar(ss, '\n'); SockFlush(s...
24,288
https://github.com/ndlong2000/Laravel-Vuejs-Auth/blob/master/tests/Feature/Auth/RegisterTest.php
Github Open Source
Open Source
MIT
null
Laravel-Vuejs-Auth
ndlong2000
PHP
Code
124
454
<?php namespace Tests\Feature\Auth; use Faker\Factory; use Illuminate\Foundation\Testing\RefreshDatabase; use Illuminate\Foundation\Testing\WithFaker; use Illuminate\Http\Response; use Tests\TestCase; class RegisterTest extends TestCase { use RefreshDatabase; /** * A basic feature test example. * ...
37,794
https://github.com/wlmsoft/Alpha-Gobang-Zero/blob/master/alphazero/alpha_zero_mcts.py
Github Open Source
Open Source
MIT
2,021
Alpha-Gobang-Zero
wlmsoft
Python
Code
292
1,338
# coding: utf-8 from typing import Tuple, Union import numpy as np from .chess_board import ChessBoard from .node import Node from .policy_value_net import PolicyValueNet class AlphaZeroMCTS: """ 基于策略-价值网络的蒙特卡洛搜索树 """ def __init__(self, policy_value_net: PolicyValueNet, c_puct: float = 4, n_iters=1200, is_...
15,550
https://github.com/unistack-org/go-rfb/blob/master/securitytype_string.go
Github Open Source
Open Source
MIT
2,020
go-rfb
unistack-org
Go
Code
118
375
// Code generated by "stringer -type=SecurityType"; DO NOT EDIT. package rfb import "strconv" func _() { // An "invalid array index" compiler error signifies that the constant values have changed. // Re-run the stringer command to generate them again. var x [1]struct{} _ = x[SecTypeUnknown-0] _ = x[SecTypeNone-...
3,025
https://github.com/PeterHall16/HT-preview/blob/master/src/sass/backgrounds.sass
Github Open Source
Open Source
MIT
null
HT-preview
PeterHall16
Sass
Code
80
418
.n1 background: url("../res/n1.jpg") background-size: cover .n2 background: url("../res/n2.jpg") background-size: cover .n3 background: url("../res/n3.jpg") background-size: cover .n4 background: url("../res/n4.jpg") background-size: cover .n5 background: url("../res/n4.jpg") background-size: cover .n6 background...
21,434
https://github.com/redwolf0302/android-animation-demo/blob/master/app/src/main/java/com/ejcafe/android/demo/Application.java
Github Open Source
Open Source
MIT
null
android-animation-demo
redwolf0302
Java
Code
28
84
package com.ejcafe.android.demo; /** * Application实现 */ public final class Application extends android.app.Application { @Override public void onCreate() { super.onCreate(); } @Override public void onTerminate() { super.onTerminate(); } }
36,044
https://github.com/vabs22/zulip/blob/master/tools/tests/test_capitalization_checker.py
Github Open Source
Open Source
Apache-2.0
null
zulip
vabs22
Python
Code
485
1,646
from bs4 import BeautifulSoup from unittest import TestCase from tools.lib.capitalization import check_capitalization, is_capitalized, \ get_safe_text class GetSafeTextTestCase(TestCase): def test_get_safe_text(self): # type: () -> None string = ('Messages in __page_params.product_name__ go to...
16,558
https://github.com/Mozafari1/bachelor-project/blob/master/integrert gjenkjenningsprogrammet med UI/eloksering_send.h
Github Open Source
Open Source
MIT
null
bachelor-project
Mozafari1
C
Code
65
375
#ifndef ELOKSERING_SEND_H #define ELOKSERING_SEND_H #include <QWidget> #include <gjenkjenning_send.h> namespace Ui { class eloksering_send; } class eloksering_send : public QWidget { Q_OBJECT public: explicit eloksering_send(QWidget *parent = nullptr); ~eloksering_send(); private slots: void on_ti...
17,856
https://github.com/mborkar/Malhar/blob/master/webapps/config.js
Github Open Source
Open Source
Apache-2.0
2,013
Malhar
mborkar
JavaScript
Code
71
226
var config = {}; config.web = {}; config.daemon = {}; config.machine = {}; config.machine.redis = {}; config.fraud = {}; config.fraud.mongo = {}; config.adsdimensions = {}; config.adsdimensions.redis = {}; config.web.port = process.env.PORT || 3003; config.daemon.host = 'localhost'; config.daemon.port = 9090; config.m...
51,091
https://github.com/akilli/editor/blob/master/src/paragraph/Paragraph.js
Github Open Source
Open Source
MIT
2,022
editor
akilli
JavaScript
Code
96
315
import Base from '../base/Base.js'; import Break from '../break/Break.js'; import ParagraphListener from './ParagraphListener.js'; import Plugin from '../base/Plugin.js'; import i18n from './i18n.js'; import { TagGroup, TagName } from '../base/enum.js'; /** * Paragraph Plugin */ export default class Paragraph extend...
13,436
https://github.com/bliiitz/mangrove/blob/master/packages/mangrove-solidity/contracts/Strategies/interfaces/Aave/IPriceOracleGetter.sol
Github Open Source
Open Source
RSA-MD
null
mangrove
bliiitz
Solidity
Code
145
267
// SPDX-License-Identifier: agpl-3.0 // Copyright (C) 2020 Aave // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as // published by the Free Software Foundation, either version 3 of the // License, or any later version. // This prog...
17,217
https://github.com/KingEnderBrine/TypeTreeDumper/blob/master/TypeTreeDumper/Kernel32.cs
Github Open Source
Open Source
MIT
2,022
TypeTreeDumper
KingEnderBrine
C#
Code
76
241
using System; using System.Runtime.InteropServices; namespace TypeTreeDumper { static class Kernel32 { [DllImport("kernel32", SetLastError = true)] public static extern IntPtr GetProcAddress(IntPtr hModule, string procedureName); public static T GetProcAddress<T>(IntPtr hModule, strin...
43,412
https://github.com/nKorous/angular6-swapi-site/blob/master/src/app/app.component.ts
Github Open Source
Open Source
MIT
2,018
angular6-swapi-site
nKorous
TypeScript
Code
35
114
import { Component } from '@angular/core'; import notify from 'devextreme/ui/notify' @Component({ selector: 'app-root', templateUrl: './app.component.html', styleUrls: [ './app.component.css' ] }) export class AppComponent { name = 'Angular 6'; someNotification(data) { notify(data, 'info', 3000) ...
45,822
https://github.com/keeema/Bobril/blob/master/src/bobril.promise.ts
Github Open Source
Open Source
MIT
null
Bobril
keeema
TypeScript
Code
797
2,294
/// <reference path="bobril.d.ts"/> /// <reference path="bobril.promise.d.ts"/> ((b: IBobrilStatic, window: Window, document: Document) => { var asap = (() => { var callbacks: Array<() => void> = []; function executeCallbacks() { var cbList = callbacks; callbacks = []; ...
19,768
https://github.com/nokia/osgi-microfeatures/blob/master/com.alcatel.as.utils/src/alcatel/tess/hometop/gateways/reactor/examples/TestUdpClient.java
Github Open Source
Open Source
Apache-2.0
null
osgi-microfeatures
nokia
Java
Code
388
1,147
// Copyright 2000-2021 Nokia // // Licensed under the Apache License 2.0 // SPDX-License-Identifier: Apache-2.0 // package alcatel.tess.hometop.gateways.reactor.examples; // Jdk import java.io.IOException; import java.net.InetSocketAddress; import java.nio.ByteBuffer; import java.util.HashMap; import java.util.Map; i...
48,192
https://github.com/isavlex/barber/blob/master/markup/static/scss/mixins.scss
Github Open Source
Open Source
MIT
null
barber
isavlex
SCSS
Code
213
559
// Mixins. @mixin nl { margin: 0; padding: 0; text-indent: 0; list-style: none; list-style-position: outside; } @mixin cf { &:before, &:after { display: table; content: ""; } &:after { clear: both; } .lt-ie8 & { zoom: 1; } } @mixin blo...
29,517
https://github.com/raphaeltertuliano/Python/blob/master/Ex101.py
Github Open Source
Open Source
MIT
2,021
Python
raphaeltertuliano
Python
Code
103
236
#Crie um programa que tenha uma função chamada voto() #que vai receber como parãmetro o ano de nascimento de uma pessoa, #indicando o valor literal indicando se a pessoa tem voto NEGADO, #OPCIONAL ou OBRIGATÓRIO nas eleições. def voto(ano): from datetime import date #importado dentro da função para economizar o...
2,583
https://github.com/zkan/dagster/blob/master/js_modules/dagit/packages/core/src/instigation/types/SelectedTickQuery.ts
Github Open Source
Open Source
Apache-2.0
2,022
dagster
zkan
TypeScript
Code
131
539
/* tslint:disable */ /* eslint-disable */ // @generated // This file was automatically generated and should not be edited. import { InstigationSelector, InstigationTickStatus } from "./../../types/globalTypes"; // ==================================================== // GraphQL query operation: SelectedTickQuery // ==...
10,635
https://github.com/beerfactory/hbmqtt/blob/master/setup.py
Github Open Source
Open Source
MIT
2,022
hbmqtt
beerfactory
Python
Code
164
708
# Copyright (c) 2015 Nicolas JOUANIN # # See the file license.txt for copying permission. from setuptools import setup, find_packages from hbmqtt.version import get_version setup( name="hbmqtt", version=get_version(), description="MQTT client/broker using Python 3.4 asyncio library", author="Nicolas J...
32,144
https://github.com/Li-Xiang/EventCentral2/blob/master/src/main/java/org/littlestar/event_central2/tester/SyslogTester.java
Github Open Source
Open Source
Apache-2.0
null
EventCentral2
Li-Xiang
Java
Code
213
641
/* * Copyright 2019 Li Xiang * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writ...
26,224
https://github.com/delaneyj/three.net/blob/master/code/c#/three.net/Three.Net/Lights/AmbientLight.cs
Github Open Source
Open Source
MIT
2,022
three.net
delaneyj
C#
Code
30
91
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Three.Net.Math; namespace Three.Net.Lights { public class AmbientLight : Light { public AmbientLight(Color color) : base(color) { } } }
29,380
https://github.com/neTpyceB/TMCms-core/blob/master/src/DB/SQL.php
Github Open Source
Open Source
MIT
2,016
TMCms-core
neTpyceB
PHP
Code
4,361
11,309
<?php declare(strict_types=1); namespace TMCms\DB; use Exception; use InvalidArgumentException; use Iterator; use TMCms\Cache\Cacher; use TMCms\Config\Configuration; use TMCms\Config\Constants; use TMCms\Config\Settings; use TMCms\Log\Errors; use TMCms\Log\Stats; use TMCms\Orm\TableStructure; use TMCms\Strings\Conver...
401
https://github.com/CSCfi/research-fi-mydata/blob/master/aspnetcore/src/api/Models/Ttv/DimResearchDataCatalog.cs
Github Open Source
Open Source
MIT
2,023
research-fi-mydata
CSCfi
C#
Code
143
332
using System; using System.Collections.Generic; namespace api.Models.Ttv { public partial class DimResearchDataCatalog { public DimResearchDataCatalog() { DimPids = new HashSet<DimPid>(); DimResearchDatasets = new HashSet<DimResearchDataset>(); DimWebLinks =...
33,336
https://github.com/maniero/SOpt/blob/master/CSharp/String/SplitOnChar.cs
Github Open Source
Open Source
MIT
2,023
SOpt
maniero
C#
Code
31
115
using static System.Console; public class Program { public static void Main() { var partes = "97A96D112A109X115T114H122D118Y128".Split("ABCDEFGHIJKLMNOPQRSTUVXWYZ".ToCharArray()); foreach (var item in partes) WriteLine(item); //só para confirmar que deu certo } } //https://pt.stackoverflow.com/q/209214/101
50,580
https://github.com/surmacz/FrontendConsistencyBundle/blob/master/Services/Copy.php
Github Open Source
Open Source
MIT
2,014
FrontendConsistencyBundle
surmacz
PHP
Code
135
464
<?php /* * This file is part of Frontend Consistency Bundle * * (c) Wojciech Surmacz <wojciech.surmacz@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Surmacz\FrontendConsistencyBundle\Services; use Symfony\C...
19,951
https://github.com/sonypiay/webdevtest/blob/master/webdevtest/AssetsImageController.php
Github Open Source
Open Source
MIT
null
webdevtest
sonypiay
PHP
Code
49
143
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\AssetsImages; class AssetsImageController extends Controller { public function index( Request $request) { return response()->view('welcome', [ 'request' => $request ]); } public function assets( AssetsImages $assets ) ...
29,726
https://github.com/dotsdl/QCEngine/blob/master/qcengine/programs/model.py
Github Open Source
Open Source
BSD-3-Clause
null
QCEngine
dotsdl
Python
Code
200
568
import abc from typing import Any, Dict, List, Optional from pydantic import BaseModel class ProgramHarness(BaseModel, abc.ABC): _defaults: Dict[str, Any] = {} name: str scratch: bool thread_safe: bool thread_parallel: bool node_parallel: bool managed_memory: bool extras: Optional[Di...
12,769
https://github.com/vatsamail/django-profiles/blob/master/app/ui/views.py
Github Open Source
Open Source
MIT
2,019
django-profiles
vatsamail
Python
Code
222
771
from django.shortcuts import render, redirect from django.http import HttpResponse from django.contrib.auth.forms import UserCreationForm from django.contrib.auth.forms import UserChangeForm from django.contrib.auth.forms import PasswordChangeForm from ui.forms import ( RegistrationForm, ProfileEditForm ) f...
12,226
https://github.com/Cwc-Test/CpcdosOS2.1/blob/master/CONTRIB/LLVM/src/rt/test/tsan/Darwin/ignored-interceptors.mm
Github Open Source
Open Source
Apache-2.0
2,021
CpcdosOS2.1
Cwc-Test
Objective-C++
Code
199
590
// Check that ignore_interceptors_accesses=1 supresses reporting races from // system libraries on OS X. There are currently false positives coming from // libxpc, libdispatch, CoreFoundation and others, because these libraries use // TSan-invisible atomics as synchronization. // RUN: %clang_tsan %s -o %t -framework F...
26,248
https://github.com/brianhouse/distributed-sensing/blob/master/subscriber/src/main.js
Github Open Source
Open Source
ISC
2,019
distributed-sensing
brianhouse
JavaScript
Code
370
1,169
'use strict' const { app, BrowserWindow } = require('electron') const fs = require('fs') const path = require('path') const del = require('del') const lineReader = require('line-reader') const hypercore = require('hypercore') const sensing = require('./sensing') const express = require('express') const main = expre...
13,464
https://github.com/YuukanOO/codebox-quickstart/blob/master/tests/00_utils_tests.js
Github Open Source
Open Source
Apache-2.0
2,019
codebox-quickstart
YuukanOO
JavaScript
Code
149
588
var utils = require('../lib/utils'); var fs = require('fs'); var mkdirp = require('mkdirp'); exports.testDeleteDirSync = function(test) { var root_path = __dirname + "/test"; var path = root_path + "/delete/dir/sync"; mkdirp.sync(path); test.ok(fs.existsSync(path)); utils.deleteDirS...
37,523
https://github.com/Dale-gg/Duozada/blob/master/src/Modules/Highlight/Services/CreateHighlightService.spec.ts
Github Open Source
Open Source
MIT
2,020
Duozada
Dale-gg
TypeScript
Code
151
540
import FakeUsersRepository from '@Modules/Users/Repositories/Fakes/FakeUsersRepository' import FakeHighlightsRepository from '../Repositories/Fakes/FakeHighlightsRepository' import FakeStorageProvider from '@Shared/Container/Providers/StorageProvider/Fakes/FakeStorageProvider' import CreateHighlightService from './Crea...
45,861
https://github.com/0xR00KIE/Decomp-for-S1F/blob/master/RSDKv4/Math.cpp
Github Open Source
Open Source
Unlicense
2,022
Decomp-for-S1F
0xR00KIE
C++
Code
300
916
#include "RetroEngine.hpp" #include <math.h> #ifndef M_PI #define M_PI 3.14159265358979323846264338327950288 #endif int sinValM7[0x200]; int cosValM7[0x200]; int sinVal512[0x200]; int cosVal512[0x200]; int sinVal256[0x100]; int cosVal256[0x100]; byte atanVal256[0x100 * 0x100]; void CalculateTrigAngles() { for...
42,934
https://github.com/pravgupt/aws-sdk-js-v3/blob/master/clients/node/client-ec2-node/model/shapes/CreateSnapshotsInput.ts
Github Open Source
Open Source
Apache-2.0
null
aws-sdk-js-v3
pravgupt
TypeScript
Code
70
213
import { _InstanceSpecification } from "./_InstanceSpecification"; import { _TagSpecificationList } from "./_TagSpecificationList"; import { Structure as _Structure_ } from "@aws-sdk/types"; export const CreateSnapshotsInput: _Structure_ = { type: "structure", required: ["InstanceSpecification"], members: { ...
46,750
https://github.com/hal-platform/hal/blob/master/templates/encrypted-configuration/add_encrypted.twig
Github Open Source
Open Source
MIT
2,021
hal
hal-platform
Twig
Code
228
759
{% extends 'base.twig' %} {% import 'macros.form.twig' as form_macros %} {% set page_title = 'Add Encrypted Configuration' %} {% block breadcrumb_links %} <li><a href="{{ uriFor('applications') }}">Applications</a></li> <li><a href="{{ uriFor('application', {'application': application.id}) }}">{{ application....
37,487
https://github.com/sirivus/studioonline/blob/master/node_modules/eth-connect/dist/ContractFactory.d.ts
Github Open Source
Open Source
MIT
null
studioonline
sirivus
TypeScript
Code
186
390
import { RequestManager } from './RequestManager'; import { Contract } from './Contract'; import { TransactionOptions, Data } from './Schema'; /** * Should be called to create new ContractFactory instance * * @method ContractFactory * @param {Array} abi */ export declare class ContractFactory { requestManager:...
33,196
https://github.com/ZackaryCowled/Unity-Blueprints/blob/master/Assets/Blueprint/Scripts/Source/Nodes/BaseNodes/BlueprintNodeConnection.cs
Github Open Source
Open Source
MIT
2,022
Unity-Blueprints
ZackaryCowled
C#
Code
338
942
using System.Collections; using System.Collections.Generic; using UnityEngine; [System.Serializable] public class BlueprintNodeConnection : BlueprintNode { //Returns the blueprint node connections output attribute public override object GetAttribute() { //If the input connections connection node ID is valid if...
46,705
https://github.com/Sphereon-SDK/pdf-stamper-sdk/blob/master/java8-okhttp-gson/src/main/java/com/sphereon/sdk/pdf/stamper/model/ResultSettings.java
Github Open Source
Open Source
Apache-2.0
2,021
pdf-stamper-sdk
Sphereon-SDK
Java
Code
653
1,902
/* * PDF stamper * The PDF Stamper API enables the possibility to add both static and dynamic stamps on existing PDFs. The stamps can consist of one or more barcode, hyperlink, image, line or text elements. The API also supports digital signatures (blue bar), blockchain registrations and filling out forms The flow...
49,088
https://github.com/clickfunnels2/liquidjs/blob/master/src/builtin/tags/continue.ts
Github Open Source
Open Source
MIT
2,022
liquidjs
clickfunnels2
TypeScript
Code
22
47
import { Emitter, Context } from '../../types' export default { render: function (ctx: Context, emitter: Emitter) { emitter['continue'] = true } }
39,075
https://github.com/Fajar2020/managecompanybasiclaravel/blob/master/app/Models/Employee.php
Github Open Source
Open Source
MIT
null
managecompanybasiclaravel
Fajar2020
PHP
Code
42
175
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\SoftDeletes; class Employee extends Model { use SoftDeletes; protected $fillable = [ 'company_id', 'firstName', 'lastName', ...
2,333
https://github.com/toughdude07/Distributed-Chat-Server/blob/master/DISTRIBUTE-CHAT-SERVER/Client/src/my_swing/Send_Emoji.java
Github Open Source
Open Source
OML
null
Distributed-Chat-Server
toughdude07
Java
Code
93
500
package my_swing; import javax.swing.ImageIcon; public class Send_Emoji extends javax.swing.JPanel { public Send_Emoji() { initComponents(); } public void setPhoto(String emoji) { lb.setIcon(new ImageIcon(getClass().getResource("/emoji/" + emoji))); } @SuppressWarnings("unchecke...
27,960
https://github.com/T1ti/WoWDatabaseEditor/blob/master/WoWDatabaseEditor/Services/FindAnywhere/IFindAnywhereResultsViewModel.cs
Github Open Source
Open Source
Unlicense
null
WoWDatabaseEditor
T1ti
C#
Code
23
95
using System.Collections.Generic; using System.Threading.Tasks; using WDE.Common.Managers; using WDE.Module.Attributes; namespace WoWDatabaseEditorCore.Services.FindAnywhere; [UniqueProvider] public interface IFindAnywhereResultsViewModel : IDocument { Task Search(IReadOnlyList<string> parameter, IReadOnlyList<lo...
50,213
https://github.com/CosmicSharts/ccapi/blob/master/include/ccapi_cpp/service/ccapi_market_data_service_bitfinex.h
Github Open Source
Open Source
MIT
2,021
ccapi
CosmicSharts
C++
Code
1,449
7,655
#ifndef INCLUDE_CCAPI_CPP_SERVICE_CCAPI_MARKET_DATA_SERVICE_BITFINEX_H_ #define INCLUDE_CCAPI_CPP_SERVICE_CCAPI_MARKET_DATA_SERVICE_BITFINEX_H_ #ifdef CCAPI_ENABLE_SERVICE_MARKET_DATA #ifdef CCAPI_ENABLE_EXCHANGE_BITFINEX #include "ccapi_cpp/service/ccapi_market_data_service.h" namespace ccapi { class MarketDataService...
9,596
https://github.com/cshook/jstl-tmbundle/blob/master/Snippets/c:out.tmSnippet
Github Open Source
Open Source
MIT
2,012
jstl-tmbundle
cshook
XML Property List
Code
28
239
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>content</key> <string>&lt;c:out value="${2:\${$1\}}"${3: escapeXml="false"}${4: default="$5"}/&gt;</string> <key>name</key> <string>c:out</s...
26,706
https://github.com/RomanPoplietukhin/routing/blob/master/src/components/Filters/index.js
Github Open Source
Open Source
MIT
null
routing
RomanPoplietukhin
JavaScript
Code
4
8
export * from './Filters'
11,158
https://github.com/markhiveit/explore-education-statistics/blob/master/src/GovUk.Education.ExploreEducationStatistics.Data.Api/Services/Interfaces/ISeedService.cs
Github Open Source
Open Source
MIT
null
explore-education-statistics
markhiveit
C#
Code
13
50
namespace GovUk.Education.ExploreEducationStatistics.Data.Api.Services.Interfaces { public interface ISeedService { void DeleteAll(); void Seed(); } }
33,085
https://github.com/erick02john/casadetobiasofficial/blob/master/Guest/summary.php
Github Open Source
Open Source
MIT
null
casadetobiasofficial
erick02john
PHP
Code
873
3,839
<?php session_start(); include("dbconn.php"); include ('../scriptvalidation.php'); $modeofpayment = $_SESSION['modeofpayment']; $payment = $_SESSION['payment']; if(!empty($_SESSION['Email'])){ $guestid = $_SESSION['guestid']; $email = $_SESSION['Email']; }else{ echo ("<script language='JavaScript'> ...
26,051
https://github.com/MCLifeLeader/CS165/blob/master/Final/UTF8.ged
Github Open Source
Open Source
MIT
2,023
CS165
MCLifeLeader
GEDCOM
Code
20,000
43,629
0 HEAD 1 SOUR PAF 2 NAME Personal Ancestral File 2 VERS 5.1.12.0 2 CORP The Church of Jesus Christ of Latter-day Saints 3 ADDR 50 East North Temple Street 4 CONT Salt Lake City, UT 84150 4 CONT USA 1 DEST Other 1 DATE 15 Jan 2002 2 TIME 22:30:05 1 FILE UTF8.ged 1 GEDC 2 VERS 5.5 2 FORM LINEAGE-LINKED 1 CHAR UTF-8 1 LA...
50,415
https://github.com/DimaRU/FastRTPSSwift/blob/master/Sources/FastRTPSWrapper/CustomLogConsumer.h
Github Open Source
Open Source
MIT
2,020
FastRTPSSwift
DimaRU
C
Code
63
173
///// //// CustomLogConsumer.h /// Copyright © 2019 Dmitriy Borovikov. All rights reserved. // #pragma once #include <fastdds/dds/log/Log.hpp> namespace eprosima { namespace fastdds { namespace dds { class CustomLogConsumer : public LogConsumer { public: virtual ~CustomLogConsumer() {} RTPS_DllAPI virtua...
25,527
https://github.com/OpenNebula/one/blob/master/src/rm/RequestManagerAllocate.cc
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, Apache-2.0, LicenseRef-scancode-proprietary-license
2,023
one
OpenNebula
C++
Code
3,290
12,203
/* -------------------------------------------------------------------------- */ /* Copyright 2002-2023, OpenNebula Project, OpenNebula Systems */ /* */ /* Licensed under the Apache License, Version 2.0 (the "License"); you may ...
29,837
https://github.com/strangerattractor/Soundvision/blob/master/SOUNDVISION_PUBLIC/Assets/Scripts/Visualizer/SpectrumVisualizer.cs
Github Open Source
Open Source
CC-BY-4.0
2,021
Soundvision
strangerattractor
C#
Code
69
239
using UnityEngine; namespace cylvester { public interface ISpectrumVisualizer { float[] Spectrum { set; } } [RequireComponent(typeof(MeshFilter))] [RequireComponent(typeof(MeshRenderer))] public class SpectrumVisualizer : MonoBehaviour, ISpectrumVisualizer { priva...
24,742
https://github.com/johnsietsma/eons/blob/master/Assets/Cubehedron/Props/Materials/M_139156.mat.meta
Github Open Source
Open Source
MIT
2,016
eons
johnsietsma
Unity3D Asset
Code
6
40
fileFormatVersion: 2 guid: c5fc1d70737f8469ea2a602f2deb2429 NativeFormatImporter: userData:
41,298
https://github.com/danielsunzhongyuan/puruan-training/blob/master/spring-boot-root/chapter3-jpa-demo/src/main/java/org/github/zsun/java/puruantraining/chapter3jpademo/model/Stock.java
Github Open Source
Open Source
Apache-2.0
null
puruan-training
danielsunzhongyuan
Java
Code
107
319
package org.github.zsun.java.puruantraining.chapter3jpademo.model; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Id; import javax.persistence.Table; @Entity @Table(name = "stock") //和Stock数据表关联 public class Stock { @Id //通过@Id定义主键 private int id; @Column(name =...
40,683
https://github.com/lutzilutz/TraficCERN/blob/master/src/utils/Defaults.java
Github Open Source
Open Source
MIT
2,018
TraficCERN
lutzilutz
Java
Code
429
871
package utils; public class Defaults { private static boolean drawWire = false; // true for rendering the border of the cells private static boolean drawColors = false; // true for rendering color codes (end of road, out cells, ...) private static boolean drawRoadID = false; // true for rendering roads ID private...
9,519
https://github.com/DutchDS/Project-2/blob/master/aukjes_sandbox/static/sql/world_top_10.sql
Github Open Source
Open Source
MIT
null
Project-2
DutchDS
SQL
Code
30
107
select country, sum(conf_count) total, sum(conf_count)-sum(cured_count)-sum(dead_count) sick, sum(cured_count) cured, sum(dead_count) dead, max(date) from daily_stats_world where date = (select max(date ) from daily_stats_world) group by country order by total desc limit 10
45,788
https://github.com/tschaban/AFE-Firmware/blob/master/core/lib/AFE-Firmware-Pro/AFE-Firmware-Pro.h
Github Open Source
Open Source
MIT
2,022
AFE-Firmware
tschaban
C
Code
68
227
/* AFE Firmware for smarthome devices, More info: https://afe.smartnydom.pl/ */ #ifndef _AFE_Firmware_Pro_h #define _AFE_Firmware_Pro_h #include <AFE-Data-Access.h> #include <AFE-API-JSONRPC.h> #ifdef DEBUG #include <Streaming.h> #endif class AFEFirmwarePro { private: AFEDataAccess *Data; AFEJSONRPC *RestAPI; ...
35,929
https://github.com/nuralja/casimir-programming-2/blob/master/test.py
Github Open Source
Open Source
MIT
null
casimir-programming-2
nuralja
Python
Code
26
58
print('hello world') import numpy as np def circumference(r): circum = 2 * np.pi * r return circum def SurfArea(r): SA = np.pi * r**2 return SA
20,651
https://github.com/fixxar/celos/blob/master/celos-server/src/main/java/com/collective/celos/trigger/OffsetTrigger.java
Github Open Source
Open Source
Apache-2.0
2,020
celos
fixxar
Java
Code
228
503
/* * Copyright 2015 Collective, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
39,424
https://github.com/Ogunn/restaurant-menu/blob/master/src/App.tsx
Github Open Source
Open Source
Apache-2.0
null
restaurant-menu
Ogunn
TypeScript
Code
44
111
import * as React from "react"; import Container from "@material-ui/core/Container"; // import MenuList from "./components/MenuList"; import MenuCard from "./components/MenuCard"; import "./App.css"; const App: React.FC = () => { return ( <div className="App"> {/* <MenuList /> */} <MenuCard /> ...
26,758
https://github.com/citartech/open-cnab-php/blob/master/src/resources/B341/remessa/cnab400/Registro1.php
Github Open Source
Open Source
MIT
null
open-cnab-php
citartech
PHP
Code
362
2,372
<?php namespace CnabPHP\resources\B341\remessa\cnab400; use CnabPHP\resources\generico\remessa\cnab400\Generico1; use CnabPHP\RegistroRemAbstract; use CnabPHP\RemessaAbstract; class Registro1 extends Generico1 { public $protestar; protected $meta = array( 'tipo_registro'=>array( 'tamanho'...
17,112
https://github.com/mikosu3/nsen_batch/blob/master/src/main/java/net/tiger/star/nsen/service/NsenUserService.java
Github Open Source
Open Source
Apache-2.0
2,016
nsen_batch
mikosu3
Java
Code
252
1,069
package net.tiger.star.nsen.service; import static net.tiger.star.nsen.entity.NsenUserNames.*; import static org.seasar.extension.jdbc.operation.Operations.*; import java.util.List; import javax.annotation.Generated; import net.tiger.star.nsen.entity.NsenUser; /** * {@link NsenUser}のサービスクラスです。 * */ @Generated(v...
40,243
https://github.com/dotnet/runtime/blob/master/src/coreclr/pal/tests/palsuite/locale_info/WideCharToMultiByte/test2/test2.cpp
Github Open Source
Open Source
MIT
2,023
runtime
dotnet
C++
Code
263
731
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. /*============================================================================ ** ** Source: test2.c ** ** Purpose: Tests that WideCharToMultiByte respects the length of the wide **...
47,650
https://github.com/uQr/AutoTest.Net/blob/master/lib/NUnit/src/NUnit-2.6.0.12051/src/NUnitFramework/framework/Constraints/ComparisonConstraints.cs
Github Open Source
Open Source
MIT
2,021
AutoTest.Net
uQr
C#
Code
234
566
// **************************************************************** // Copyright 2011, Charlie Poole // This is free software licensed under the NUnit license. You may // obtain a copy of the license at http://nunit.org // **************************************************************** using System; using System.Coll...
44,921
https://github.com/no-chris/chord-symbol/blob/master/packages/documentation/src/components/renderer/rendererConfig/TransposeValueConfig.js
Github Open Source
Open Source
MIT
2,023
chord-symbol
no-chris
JavaScript
Code
64
204
import React from 'react'; const TransposeValueConfig = ({ transposeValue, setTransposeValue }) => { const increaseTransposeValue = () => { if (transposeValue < 12) { setTransposeValue(transposeValue + 1); } }; const decreaseTransposeValue = () => { if (transposeValue > -12) { setTransposeValue(transpos...
33,918
https://github.com/Karynageek/bank/blob/master/app/Http/Controllers/DepositController.php
Github Open Source
Open Source
MIT
null
bank
Karynageek
PHP
Code
113
487
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use Illuminate\Support\Facades\Validator; use Illuminate\Support\Facades\View; use Illuminate\Support\Facades\Redirect; use App\Deposit; use App\History; use App\Account; use App\Http\Requests\DepositRequest; use Auth; class DepositController extends...
42,293
https://github.com/correar/FGV/blob/master/application/views/order/upload_file.php
Github Open Source
Open Source
MIT
null
FGV
correar
PHP
Code
252
1,162
<?php $i=1; foreach ($profiles as $profile): $idperfil = $profile['idperfil']; $perfil = $profile['nome']; $acabamento = $profile['acabamento']; $sobre = $profile['sobre']; $imagem = $profile['imagem']; $infos[$i]['tipo'] = str_replace(' ','_',$profile['tipo']); $infos[$i]['gramatura'] = $profile[...
20,576
https://github.com/mcous/mcous.github.io/blob/master/src/components/atoms.tsx
Github Open Source
Open Source
MIT
2,023
mcous.github.io
mcous
TSX
Code
391
1,162
import type { FunctionComponent, RenderableProps } from 'preact' type Atom<E extends HTMLElement> = FunctionComponent<JSX.HTMLAttributes<E>> interface ParsedProps<P> { id: string className: string passProps: Omit<P, 'class'> } export const parseProps = < P extends RenderableProps<JSX.HTMLAttributes<never>> >...
10,803
https://github.com/SymmetryDesign/mindflux/blob/master/app/Billing/Stripe/StripeSubscriptionStatus.php
Github Open Source
Open Source
MIT
2,021
mindflux
SymmetryDesign
PHP
Code
71
205
<?php namespace App\Billing\Stripe; use App\Models\Subscription; class StripeSubscriptionStatus { /** * Determine the subscription status code by Stripe status value. * * @param string $status * @return int */ public static function determine($status) { if ($status === 'a...
47,505
https://github.com/stefanolsen/ka-ching-episerver-app/blob/master/src/KachingPlugIn.Web/Customers/CustomerViewModelFactory.cs
Github Open Source
Open Source
MIT
null
ka-ching-episerver-app
stefanolsen
C#
Code
98
339
using System.Collections.Generic; using System.Linq; using EPiServer.ServiceLocation; using Mediachase.Commerce.Customers; namespace KachingPlugIn.Web.Customers { [ServiceConfiguration(typeof(CustomerViewModelFactory))] public class CustomerViewModelFactory { public virtual IEnumerable<CustomerVie...
38,179
https://github.com/hw233/KFrame/blob/master/1.Server/2.Midware/KFPlugin/KFDataShard/KFDataShardModule.cpp
Github Open Source
Open Source
Apache-2.0
2,019
KFrame
hw233
C++
Code
646
2,674
#include "KFDataShardModule.h" #include "KFUtility/KFCompress.h" namespace KFrame { #define __DATA_REDIS_DRIVER__( zoneid ) _kf_redis->Create( __KF_STRING__( data ), _invalid_int ) void KFDataShardModule::BeforeRun() { __REGISTER_LOOP_TIMER__( 1, 10000, &KFDataShardModule::OnTimerSaveDataKeeper ); ...
41,258
https://github.com/MrinmoiHossain/Algorithms/blob/master/C++ STL(Standard Template Library)/Iterator.cpp
Github Open Source
Open Source
MIT
2,020
Algorithms
MrinmoiHossain
C++
Code
76
194
#include <iostream> #include <vector> #include <iterator> using namespace std; int main(void) { vector<int> v; for(int i = 0; i < 10; i++) v.push_back(i * i); vector<int>::iterator it; vector<int>::reverse_iterator rit; cout << "First to Last" << endl; for(it = v.begin(); it != v.end(); it++) cout << *it ...
7,283
https://github.com/manga-download/hakuneko/blob/master/src/web/mjs/connectors/AnubisScans.mjs
Github Open Source
Open Source
Unlicense
2,023
hakuneko
manga-download
JavaScript
Code
32
111
import WordPressMadara from './templates/WordPressMadara.mjs'; export default class AnubisScans extends WordPressMadara { constructor() { super(); super.id = 'anubisscans'; super.label = 'Anubis Scans'; this.tags = [ 'webtoon', 'turkish' ]; this.url = 'https://anubisscans.c...
12,428
https://github.com/pgvr/mini-news/blob/master/src/app/services/update.service.ts
Github Open Source
Open Source
Apache-2.0
null
mini-news
pgvr
TypeScript
Code
48
144
import { Injectable } from '@angular/core'; import { SwUpdate } from '@angular/service-worker'; @Injectable({ providedIn: 'root', }) export class UpdateService { public showAlert: boolean; constructor(private swUpdate: SwUpdate) { this.swUpdate.available.subscribe(evt => { this.showAlert = true; })...
18,818
https://github.com/crici/gradle-native/blob/master/subprojects/docs/src/docs/samples/gradle-plugin-development-with-minimum-gradle-version/README.adoc
Github Open Source
Open Source
Apache-2.0
2,022
gradle-native
crici
AsciiDoc
Code
357
1,504
= Minimum Supported Gradle Version :jbake-summary: Target a different Gradle version than the current running Gradle during plugin development. :jbake-type: sample_chapter :jbake-tags: sample, gradle plugin development, gradle :jbake-category: Gradle Plugin Development :jbake-description: See how the Nokee team is help...
11,039
https://github.com/thanujkumar/spring5.teach/blob/master/data-access/src/main/java/org/tk/spring/jpa3/Stock3Entity.java
Github Open Source
Open Source
MIT
2,023
spring5.teach
thanujkumar
Java
Code
37
129
package org.tk.spring.jpa3; import lombok.Data; import lombok.ToString; import javax.persistence.Entity; import javax.persistence.Id; import javax.persistence.Table; import javax.validation.constraints.NotNull; @Entity @Table(name = "stocks") @Data @ToString public class Stock3Entity { @Id private String id...
25,107
https://github.com/Charleo85/WuChat/blob/master/TSWeChat/Classes/Chat/Views/TSChatEmotionCell.swift
Github Open Source
Open Source
MIT
2,021
WuChat
Charleo85
Swift
Code
150
456
// // TSChatEmotionCell.swift // TSWeChat // // Created by Hilen on 12/22/15. // Copyright © 2015 Hilen. All rights reserved. // import UIKit class TSChatEmotionCell: UICollectionViewCell { @IBOutlet weak var emotionImageView: UIImageView! internal var isDelete: Bool = false var emotionModel: EmotionM...
9,145
https://github.com/dictybase-playground/mock-catalog-search/blob/master/src/common/hooks/useCheckboxes.tsx
Github Open Source
Open Source
BSD-2-Clause
2,017
mock-catalog-search
dictybase-playground
TypeScript
Code
155
454
import { CatalogActionType } from "features/Stocks/Catalogs/context/CatalogContext" import useCatalogStore from "features/Stocks/Catalogs/context/useCatalogStore" import { CartItem } from "common/types" interface CartItemWithStatus extends CartItem { in_stock: boolean } /** * useCheckboxes is a hook for handling c...
7,923
https://github.com/shtch/vdemo/blob/master/src/main/java/ru/vapp/views/page04/Page04View.java
Github Open Source
Open Source
Unlicense
null
vdemo
shtch
Java
Code
165
622
package ru.vapp.views.page04; import com.vaadin.flow.router.RouteAlias; import com.vaadin.flow.component.Tag; import com.vaadin.flow.component.button.Button; import com.vaadin.flow.component.dependency.JsModule; import com.vaadin.flow.component.polymertemplate.Id; import com.vaadin.flow.component.polymertemplate.Polym...
18,762
https://github.com/adoptapanama/admin-api/blob/master/services.env
Github Open Source
Open Source
MIT
2,018
admin-api
adoptapanama
Shell
Code
4
115
FRONTEND_DOMAIN=http://local-dev/ NEWRELIC_APP_NAME=adoptapanama-api SERVER_SESSION_KEY=m6J63c3qdkcAADSy7FgeXqLkRLqvjAGDsSPZcwKQw6QmhJyNq5FdpZAxM3E8ZqN3 SESSION_SALT=2QMXdVnsrc5d2tsd6AAc8AZ6
26,650
https://github.com/ampydeveloper/WA-Admin-Panel/blob/master/app/CustomerCardDetail.php
Github Open Source
Open Source
MIT
null
WA-Admin-Panel
ampydeveloper
PHP
Code
40
137
<?php namespace App; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\SoftDeletes; class CustomerCardDetail extends Model { use SoftDeletes; /** * The attributes that are mass assignable. * * @var array */ protected $fillable = [ 'customer_id', 'card_i...
8,457
https://github.com/itgalaxy/pillar/blob/master/src/Itgalaxy/Feature/ShortcodesEverywhereFeature.php
Github Open Source
Open Source
MIT
2,018
pillar
itgalaxy
PHP
Code
118
400
<?php namespace Itgalaxy\Pillar\Feature; use Itgalaxy\Pillar\Base\FeatureAbstract; class ShortcodesEverywhereFeature extends FeatureAbstract { /** * Register our class method(s) with the appropriate WordPress hooks. * * @return void */ public function initialize() { // In post ...
48,983
https://github.com/jjmanton/JsonPatch/blob/master/src/Marvin.JsonPatch/IJsonPatchDocument.cs
Github Open Source
Open Source
MIT
2,022
JsonPatch
jjmanton
C#
Code
37
128
// Any comments, input: @KevinDockx // Any issues, requests: https://github.com/KevinDockx/JsonPatch // // Enjoy :-) using Marvin.JsonPatch.Operations; using Newtonsoft.Json.Serialization; using System.Collections.Generic; namespace Marvin.JsonPatch { public interface IJsonPatchDocument { IContractRe...
13,244
https://github.com/smirkingman/GraphVizio/blob/master/GraphVizio/VISIO/RGBfromPalette.vb
Github Open Source
Open Source
BSD-2-Clause-FreeBSD, MIT
2,021
GraphVizio
smirkingman
Visual Basic
Code
62
146
Imports Visio Module _RGBfromPalette Function RGBfromPalette(ByVal palette As Colors, ByVal colour As Integer) As String Try ' Sometimes Visio returns colours that are outside the current palette Dim r As String = palette(colour).Red.ToString("X2") Dim g As String = palette(colour).G...
1,846
https://github.com/zx1993312/ry/blob/master/ruoyi-system/src/main/java/com/ruoyi/system/domain/HyTestparameter.java
Github Open Source
Open Source
MIT
null
ry
zx1993312
Java
Code
232
830
package com.ruoyi.system.domain; import org.apache.commons.lang3.builder.ToStringBuilder; import org.apache.commons.lang3.builder.ToStringStyle; import com.ruoyi.common.annotation.Excel; import com.ruoyi.common.core.domain.BaseEntity; /** * 检测参数对象 hy_testparameter * * @author Administrator * @date 2021-05-10 */...
18,017
https://github.com/gitpan/ObjectDB/blob/master/t/related/one-to-one.t
Github Open Source
Open Source
Artistic-1.0
null
ObjectDB
gitpan
Perl
Code
338
1,099
use Test::Spec; use Test::Fatal; use lib 't/lib'; use TestDBH; use TestEnv; use Book; use BookDescription; describe 'one to one' => sub { before each => sub { TestEnv->prepare_table('book'); TestEnv->prepare_table('book_description'); }; it 'throws when trying to create multiple objects...
14,746
https://github.com/michalporeba/Knockout.Extensions/blob/master/Demo/Knockout.Extensions.Demo.Web/Views/Demo/CheckRadioList.cshtml
Github Open Source
Open Source
CC-BY-3.0
2,012
Knockout.Extensions
michalporeba
HTML+Razor
Code
306
1,122
@{ ViewBag.Title = "CheckRadioList"; Layout = "~/Views/Shared/_Layout.cshtml"; } <script src='@Url.Content("~/Scripts/knockout.bindings.radiochecklist.js")' type="text/javascript"></script> <style type="text/css"> .cog-radiolist, .cog-checklist { width: 300px; display:inline-block;...
17,844