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/geky/lpc55s6x-pac/blob/master/src/crc_engine/seed.rs | Github Open Source | Open Source | Apache-2.0, MIT | 2,020 | lpc55s6x-pac | geky | Rust | Code | 230 | 525 | #[doc = "Reader of register SEED"]
pub type R = crate::R<u32, super::SEED>;
#[doc = "Writer for register SEED"]
pub type W = crate::W<u32, super::SEED>;
#[doc = "Register SEED `reset()`'s with value 0xffff"]
impl crate::ResetValue for super::SEED {
type Type = u32;
#[inline(always)]
fn reset_value() -> Self... | 40,944 |
https://github.com/lowRISC/opentitan/blob/master/hw/ip/otp_ctrl/rtl/otp_ctrl_kdi.sv | Github Open Source | Open Source | Apache-2.0, LicenseRef-scancode-unknown-license-reference | 2,023 | opentitan | lowRISC | null | Spoken | 2,079 | 7,504 | // Copyright lowRISC contributors.
// Licensed under the Apache License, Version 2.0, see LICENSE for details.
// SPDX-License-Identifier: Apache-2.0
//
// Scrambling key derivation module for OTP.
//
`include "prim_flop_macros.sv"
module otp_ctrl_kdi
import otp_ctrl_pkg::*;
import otp_ctrl_reg_pkg::*;
import o... | 27,190 |
https://github.com/joschi/java-metadata/blob/master/docs/checksums/liberica/bellsoft-jdk16.0.1+9-linux-aarch64.deb.sha1 | Github Open Source | Open Source | MIT | 2,023 | java-metadata | joschi | null | Spoken | 2 | 49 | 62af0e3e8c07eae32dc678ba65b4c5726c3d60fc bellsoft-jdk16.0.1+9-linux-aarch64.deb
| 5,413 |
https://github.com/owncloud/ocis-accounts/blob/master/ui/tests/acceptance/stepDefinitions/accountsContext.js | Github Open Source | Open Source | Apache-2.0 | 2,020 | ocis-accounts | owncloud | JavaScript | Code | 263 | 738 | const assert = require('assert')
const { client } = require('nightwatch-api')
const { Given, When, Then } = require('cucumber')
When('the user browses to the accounts page', function () {
return client.page.accountsPage().navigateAndWaitUntilMounted()
})
Then('user {string} should be displayed in the accounts list ... | 44,133 |
https://github.com/webcoding/gulp-tasks/blob/master/tasks/zip.js | Github Open Source | Open Source | MIT | 2,016 | gulp-tasks | webcoding | JavaScript | Code | 41 | 139 | 'use strict';
var $ = require('gulp-load-plugins')();
// 打 zip 包
module.exports = function(gulp, config) {
gulp.task('zip', function(cb) {
var options = config.zip;
//format 年月日及版本号
var formatVersion = '';
return gulp.src(options.src)
.pipe($.zip( config.projectName + '-' + formatVersion +... | 19,963 |
https://github.com/stylianos-agapiou-sonarsource/solidity-test-sources/blob/master/src/augur-core/tests/test_trade_gas_costs.py | Github Open Source | Open Source | MIT | null | solidity-test-sources | stylianos-agapiou-sonarsource | Python | Code | 764 | 3,447 | from ethereum.tools import tester
from ethereum.tools.tester import ABIContract, TransactionFailed
from pytest import fixture, mark, raises
from utils import longTo32Bytes, PrintGasUsed, fix
from constants import BID, ASK, YES, NO
from datetime import timedelta
from trading.test_claimTradingProceeds import acquireLongS... | 40,308 |
https://github.com/greysonrzf/admin-dashboard/blob/master/node_modules/admin-bro/src/frontend/components/property-type/boolean/edit.jsx | Github Open Source | Open Source | MIT | 2,019 | admin-dashboard | greysonrzf | JavaScript | Code | 94 | 294 | import React from 'react'
import PropTypes from 'prop-types'
import { simplifiedPropertyType, recordType } from '../../../types'
import PropertyInEdit from '../../ui/property-in-edit'
export default class Edit extends React.PureComponent {
handleChange(event) {
const { property, onChange } = this.props
cons... | 9,301 |
https://github.com/yumetodo/OpenSiv3D/blob/master/Siv3D/src/Siv3D/PoissonDisk2D/SivPoissonDisk2D.cpp | Github Open Source | Open Source | MIT | 2,021 | OpenSiv3D | yumetodo | C++ | Code | 370 | 1,262 | //-----------------------------------------------
//
// This file is part of the Siv3D Engine.
//
// Copyright (c) 2008-2019 Ryo Suzuki
// Copyright (c) 2016-2019 OpenSiv3D Project
//
// Licensed under the MIT License.
//
//-----------------------------------------------
# include <Siv3D/PoissonDisk2D.hpp>
# include ... | 6,144 |
https://github.com/xbib/net/blob/master/net-url/src/main/java/org/xbib/net/template/parse/package-info.java | Github Open Source | Open Source | Apache-2.0 | 2,021 | net | xbib | Java | Code | 10 | 27 | /**
* Classes for URL template parsers.
*/
package org.xbib.net.template.parse;
| 41,547 |
https://github.com/Ercadio/FlightRadiationTracker/blob/master/calculator/bin/calculator.js | Github Open Source | Open Source | MIT | 2,019 | FlightRadiationTracker | Ercadio | JavaScript | Code | 8 | 22 | var flights = [];
window.addEventListener('load', function(e) {
});
| 33,394 |
https://github.com/sourcegraph/create/blob/master/src/github.ts | Github Open Source | Open Source | Apache-2.0 | 2,021 | create | sourcegraph | TypeScript | Code | 43 | 117 | import got, { Got } from 'got'
export type GitHubClient = Got
export const createGitHubClient = ({ token }: { token: string }): GitHubClient =>
got.extend({
prefixUrl: 'https://api.github.com/',
headers: {
Authorization: 'Bearer ' + token,
'User-Agent': 'NodeJS',
},... | 27,274 |
https://github.com/nabhajit-ray/terraform-provider-oneview/blob/master/vendor/github.com/hashicorp/terraform/command/env_list.go | Github Open Source | Open Source | Apache-2.0 | 2,019 | terraform-provider-oneview | nabhajit-ray | Go | Code | 163 | 468 | package command
import (
"bytes"
"fmt"
"strings"
)
type EnvListCommand struct {
Meta
}
func (c *EnvListCommand) Run(args []string) int {
args = c.Meta.process(args, true)
cmdFlags := c.Meta.flagSet("env list")
cmdFlags.Usage = func() { c.Ui.Error(c.Help()) }
if err := cmdFlags.Parse(args); err != nil {
re... | 43,007 |
https://github.com/ynedelchev/fibers-lib/blob/master/fibers.c | Github Open Source | Open Source | MIT | null | fibers-lib | ynedelchev | C | Code | 1,213 | 3,147 | #include "fibers.h"
#include <ucontext.h>
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
/* This is a new internally used element for building a list of created
* fibers. This would be a double linked list of fibers, so that we can
* easily add and remove elements from/to the list.
* each fiber (fib... | 531 |
https://github.com/copasi/COPASI/blob/master/copasi/Provenance/CProvenanceXMLWriter.cpp | Github Open Source | Open Source | LicenseRef-scancode-other-copyleft, Artistic-2.0, LicenseRef-scancode-proprietary-license | 2,023 | COPASI | copasi | C++ | Code | 4,164 | 18,890 | // Copyright (C) 2019 by Pedro Mendes, Rector and Visitors of the
// University of Virginia, University of Heidelberg, and University
// of Connecticut School of Medicine.
// All rights reserved.
// Copyright (C) 2017 - 2018 by Pedro Mendes, Virginia Tech Intellectual
// Properties, Inc., University of Heidelberg, and... | 5,568 |
https://github.com/cryptonft/RPG-JS/blob/master/packages/sample/src/modules/main/client/gui/hp.vue | Github Open Source | Open Source | MIT | null | RPG-JS | cryptonft | Vue | Code | 24 | 94 | <template>
</template>
<script>
export default {
name: 'hp',
inject: ['rpgCurrentPlayer'],
mounted() {
this.rpgCurrentPlayer.subscribe((obj) => {
// console.log(obj.object, obj.paramsChanged)
})
}
}
</script>
<style>
</style> | 31,414 |
https://github.com/gmalara/pms3003-dust-sensor-pc-client/blob/master/AirQualityMonitor/VS2013.sln | Github Open Source | Open Source | MIT | 2,018 | pms3003-dust-sensor-pc-client | gmalara | null | Spoken | 144 | 1,380 |
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Express 2013 for Windows Desktop
VisualStudioVersion = 12.0.21005.1
MinimumVisualStudioVersion = 10.0.40219.1
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libusb-1.0 (static)", "..\libusb-master\msvc\libusb_static_2013.vcxproj", "{349... | 15,464 |
https://github.com/saadahmad201097/WareHouse/blob/master/src/actions/index.js | Github Open Source | Open Source | MIT | null | WareHouse | saadahmad201097 | JavaScript | Code | 4 | 9 | export * from './Checking';
| 519 |
https://github.com/mtimmermann/MultiTenant-Role-Based-Permissions-Nodejs/blob/master/server/passport/local-login.js | Github Open Source | Open Source | MIT | 2,022 | MultiTenant-Role-Based-Permissions-Nodejs | mtimmermann | JavaScript | Code | 337 | 887 | const jwt = require('jsonwebtoken');
const User = require('mongoose').model('User');
const PassportLocalStrategy = require('passport-local').Strategy;
const CompanyData = require('../main/data/company-data');
const Roles = require('../../src/shared/roles');
const subdomains = require('../main/common/sub-domains');
cons... | 36,606 |
https://github.com/smdx24/CPI-Source-Code/blob/master/Org.BouncyCastle.Crypto.Engines/RsaEngine.cs | Github Open Source | Open Source | MIT | 2,022 | CPI-Source-Code | smdx24 | C# | Code | 88 | 292 | // RsaEngine
using Org.BouncyCastle.Crypto;
using Org.BouncyCastle.Crypto.Engines;
using System;
public class RsaEngine : IAsymmetricBlockCipher
{
private RsaCoreEngine core;
public virtual string AlgorithmName => "RSA";
public virtual void Init(bool forEncryption, ICipherParameters parameters)
{
if (core == n... | 1,225 |
https://github.com/Saeris/Yamato/blob/master/packages/server/src/utilities/sqlJoin.js | Github Open Source | Open Source | MIT | null | Yamato | Saeris | JavaScript | Code | 18 | 46 | export const sqlJoin = (parentField = `id`, targetField = `id`) =>
(parent, target, args) => `${parent}.${parentField} = ${target}.${targetField}`
| 23,844 |
https://github.com/AlpenglowIndustries/Alpenglow_FUnicorn/blob/master/examples/Funicorn_ResTouch/FUnicorn_ResTouch.ino | Github Open Source | Open Source | MIT | 2,021 | Alpenglow_FUnicorn | AlpenglowIndustries | null | Spoken | 240 | 515 | /*
Welcome to the FUnicorn!
written by Carrie Sundra for Alpenglow Industries
This example sketch is for resistive touch activation.
Bridge the lower leg of the unicorn and the hoof to activate the blink sequence.
It helps if your finger is moist.
When you activate the resistive touch "button", the FUnicorn executes... | 21,424 |
https://github.com/decred/dcrdata/blob/master/testutil/dbload/main.go | Github Open Source | Open Source | ISC | 2,023 | dcrdata | decred | Go | Code | 218 | 635 | package main
import (
"database/sql"
"fmt"
"log"
"os"
"path/filepath"
tc "github.com/decred/dcrdata/v8/testutil/dbconfig"
_ "github.com/lib/pq"
)
const defaultBlockRange = "0-199"
type client struct {
db *sql.DB
}
// Before running the tool, the appropriate test db should be created by:
// psql -U postgres... | 359 |
https://github.com/fengpf/orion/blob/master/dsl/hook.go | Github Open Source | Open Source | MIT | 2,021 | orion | fengpf | Go | Code | 239 | 745 | package dsl
import (
"fmt"
actions2 "github.com/wesovilabs/orion/actions"
"github.com/wesovilabs/orion/context"
"github.com/hashicorp/hcl/v2"
"github.com/wesovilabs/orion/internal/errors"
)
var schemaHook = &hcl.BodySchema{
Attributes: []hcl.AttributeSchema{
{Name: argDescription, Required: false},
},
Bl... | 5,857 |
https://github.com/meshesha/SimplePhpFormBuilder/blob/master/form.php | Github Open Source | Open Source | MIT | 2,021 | SimplePhpFormBuilder | meshesha | PHP | Code | 1,512 | 6,569 | <?php
require 'settings/tracy-2.6.2/src/tracy.php';
use Tracy\Debugger;
$formId = "";
if(isset($_GET["id"])){
$formId = $_GET["id"];
}
//if($formId == ""){
// die("No form to Render!!!");
//}
if (!preg_match('/^[0-9]+$/', $formId) || $formId == "") {
die("No form to Render!!!");
}
if (session_status() ==... | 13,573 |
https://github.com/cplusgo/go-library/blob/master/encoding.go | Github Open Source | Open Source | Apache-2.0 | null | go-library | cplusgo | Go | Code | 171 | 628 | package go_library
import (
"bytes"
"crypto/md5"
"encoding/base64"
"fmt"
"log"
"sort"
"strconv"
"time"
)
func MD5(origin string) string {
bytes := md5.Sum([]byte(origin))
md5String := fmt.Sprintf("%x", bytes)
return md5String
}
func TimeMd5() string {
timestamp := UnixSeconds()
stamp := strconv.Itoa(int... | 14,744 |
https://github.com/Premanand88/WebGlContainerTest/blob/master/Assets/BayatGames/SaveGamePro/Scripts/Serialization/Types/SaveGameType_Physics2DRaycaster.cs | Github Open Source | Open Source | MIT | null | WebGlContainerTest | Premanand88 | C# | Code | 258 | 968 | using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace BayatGames.SaveGamePro.Serialization.Types
{
/// <summary>
/// Save Game Type Physics2DRaycaster serialization implementation.
/// </summary>
public class SaveGameType_Physics2DRaycaster : SaveGameType
{
///... | 39,478 |
https://github.com/gcontarini/42course/blob/master/fdf/draw_line.c | Github Open Source | Open Source | MIT | null | 42course | gcontarini | C | Code | 297 | 928 | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* draw_line.c :+: :+: :+: ... | 1,197 |
https://github.com/hxy493045049/px-eye/blob/master/library/src/main/java/com/meituan/android/uitool/biz/attr/dialog/provider/impl/PxeDefaultItemsProvider.java | Github Open Source | Open Source | Apache-2.0 | null | px-eye | hxy493045049 | Java | Code | 122 | 641 | package com.meituan.android.uitool.biz.attr.dialog.provider.impl;
import android.view.View;
import com.meituan.android.uitool.biz.attr.dialog.mode.PxeBaseItem;
import com.meituan.android.uitool.biz.attr.dialog.mode.PxeWrapperItem;
import com.meituan.android.uitool.biz.attr.dialog.provider.IPxeItemsProvider;
import co... | 18,106 |
https://github.com/Bil97/ThingLing/blob/master/ColorFinder/ColorFinder.Mobile/ColorFinder.Mobile/MainPage.xaml.cs | Github Open Source | Open Source | MIT | 2,021 | ThingLing | Bil97 | C# | Code | 83 | 302 | using System;
using Xamarin.Essentials;
using Xamarin.Forms;
namespace ColorFinder.Mobile
{
public partial class MainPage : ContentPage
{
public MainPage()
{
InitializeComponent();
}
private void LoadImageButton_Clicked(object sender, EventArgs e)
{
... | 34,051 |
https://github.com/patriarh12/yandex-dialogs-sdk/blob/master/src/command/commandsGroup.ts | Github Open Source | Open Source | MIT | 2,018 | yandex-dialogs-sdk | patriarh12 | TypeScript | Code | 153 | 487 | import { ICommand } from './command';
import { IContext } from '../context';
export interface ICommandRelevance<TContext extends IContext = IContext> {
readonly command: ICommand<TContext>;
readonly relevance: number;
}
export interface ICommandsGroup<TContext extends IContext = IContext> {
add(command: IComma... | 26,360 |
https://github.com/dafpunk/finra-broker-check/blob/master/src/branch.js | Github Open Source | Open Source | MIT | 2,021 | finra-broker-check | dafpunk | JavaScript | Code | 52 | 203 | createBranch = (data) =>{
const Branch = {
address : {
zip : data.bc_branch_zip,
street : data.bc_branch_street1,
city : data.bc_branch_city,
state : data.bc_branch_state,
},
coordinates : {
latitude : parseFloat(data.bc_branch_location.split(',')[0]),
longitude: parseFloat(data.bc_branch_loc... | 41,409 |
https://github.com/theEvilReaper/ts3j/blob/master/src/main/java/com/github/manevolent/ts3j/command/parameter/CommandSingleParameter.java | Github Open Source | Open Source | Apache-2.0 | 2,022 | ts3j | theEvilReaper | Java | Code | 168 | 486 | package com.github.manevolent.ts3j.command.parameter;
import com.github.manevolent.ts3j.util.Ts3String;
public class CommandSingleParameter implements CommandParameter {
private final String key;
private String value;
public CommandSingleParameter(String key) {
this.key = key;
}
public C... | 6,335 |
https://github.com/mojobojo/PublicXboxStuff/blob/master/Applications/Windows/bkextractor/ModelFiles/NabModel.cs | Github Open Source | Open Source | Unlicense | 2,022 | PublicXboxStuff | mojobojo | C# | Code | 401 | 1,396 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
namespace ModelFiles
{
struct PointerTableEntry
{
public int ID;
public int Offset;
}
class NabModel
{
private int MainPointerTableOffset;
private int MainPointer... | 14,841 |
https://github.com/karsaii/thorium-selenium/blob/master/src/main/java/com/github/karsaii/framework/selenium/namespaces/validators/SeleniumDataValidators.java | Github Open Source | Open Source | MIT | null | thorium-selenium | karsaii | Java | Code | 70 | 460 | package com.github.karsaii.framework.selenium.namespaces.validators;
import com.github.karsaii.core.constants.CoreDataConstants;
import com.github.karsaii.core.records.Data;
import com.github.karsaii.framework.core.namespaces.validators.FrameworkCoreFormatter;
import org.openqa.selenium.WebElement;
import com.github.k... | 28,158 |
https://github.com/cytern/paShanHuVue/blob/master/d2-admin-start-kit-master/src/views/pages/managerPage/index.vue | Github Open Source | Open Source | MIT | 2,021 | paShanHuVue | cytern | Vue | Code | 339 | 1,935 | <template>
<d2-container class="page">
<template slot="header">
<el-button type="text" disabled>管理界面</el-button>
</template>
<!-- 首先是三个大标签 分别是脚本数量 数据数量 自身等级 -->
<el-row :gutter="30">
<!-- 脚本数量 -->
<el-col :span="8">
<div @click="showUser">
<el-card style="... | 44,725 |
https://github.com/NAIM-RAHMAN-AHTASAM/Newton/blob/master/app/Http/Controllers/ProductController.php | Github Open Source | Open Source | MIT | null | Newton | NAIM-RAHMAN-AHTASAM | PHP | Code | 315 | 1,712 | <?php
namespace App\Http\Controllers;
use App\product;
use App\Category;
use App\Product_multiple_image;
use Carbon\Carbon;
use Illuminate\Support\Str;
use Illuminate\Http\Request;
use Image;
class ProductController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminat... | 1,362 |
https://github.com/zdjohn/asyncpipetosample/blob/master/AsyncRpcEmulator/AsyncCallEmulator.cs | Github Open Source | Open Source | MIT | 2,017 | asyncpipetosample | zdjohn | C# | Code | 82 | 227 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AsyncRpcEmulator
{
public class AsyncCallEmulator
{
private readonly int _min = 20;
private readonly int _max = 500;
private static Random random = new Random()... | 15,611 |
https://github.com/MarkStega/CQC/blob/master/Source/AllProjects/Drivers/IR/IRClient/IRClient_BlasterTab.hpp | Github Open Source | Open Source | MIT | 2,022 | CQC | MarkStega | C++ | Code | 468 | 1,460 | //
// FILE NAME: IRClient_BlasterTab.hpp
//
// AUTHOR: Dean Roddey
//
// CREATED: 07/02/2003
//
// COPYRIGHT: Charmed Quark Systems, Ltd @ 2020
//
// This software is copyrighted by 'Charmed Quark Systems, Ltd' and
// the author (Dean Roddey.) It is licensed under the MIT Open Source
// license:
//
// https://ope... | 24,118 |
https://github.com/anteczko/pssp/blob/master/app/Models/PageModel.php | Github Open Source | Open Source | MIT | null | pssp | anteczko | PHP | Code | 48 | 201 | <?php
namespace App\Models;
use CodeIgniter\Model;
use mysql_xdevapi\RowResult;
class PageModel extends Model
{
protected $table = 'pages';
protected $allowedFields=['id', 'name', 'type', 'category', 'val1', 'val2','val3','val4', 'description', 'image', 'is_a_spread', 'is_two_sided'];
public function getA... | 2,789 |
https://github.com/bonsaiERP/bonsaiERP/blob/master/lib/generators/haml/controller/controller_generator.rb | Github Open Source | Open Source | MIT | 2,016 | bonsaiERP | bonsaiERP | Ruby | Code | 49 | 167 | require 'generators/haml/base.rb'
module Haml
module Generators
class ControllerGenerator < Haml::Generators::Base
argument :actions, :type => :array, :default => [], :banner => "action action"
def create_view_files
base_path = File.join("app/views", class_path, file_name)
empty_dire... | 50,763 |
https://github.com/platinumthinker/werf/blob/master/cmd/werf/build/build.go | Github Open Source | Open Source | Apache-2.0 | null | werf | platinumthinker | Go | Code | 424 | 1,540 | package build
import (
"fmt"
"github.com/spf13/cobra"
"github.com/flant/werf/cmd/werf/common"
"github.com/flant/werf/cmd/werf/common/docker_authorizer"
"github.com/flant/werf/pkg/build"
"github.com/flant/werf/pkg/docker"
"github.com/flant/werf/pkg/image"
"github.com/flant/werf/pkg/lock"
"github.com/flant/we... | 47,875 |
https://github.com/raynormw/portfolio/blob/master/todos fancy/server/routes/todos.js | Github Open Source | Open Source | MIT | 2,017 | portfolio | raynormw | JavaScript | Code | 25 | 110 | const express = require('express');
const router = express.Router();
const todosController = require('../controllers/todos_controller');
router.get('/', todosController.getAll);
router.post('/', todosController.createTodo);
router.put('/:id', todosController.updateTodo);
router.delete('/:id', todosController.deleteTod... | 29,563 |
https://github.com/raulnq/Jal.Persistence/blob/master/Jal.Persistence.Installer/SqlRepositoryDatabaseInstaller.cs | Github Open Source | Open Source | Apache-2.0 | 2,019 | Jal.Persistence | raulnq | C# | Code | 189 | 818 | using Castle.Core;
using Castle.MicroKernel.Registration;
using Castle.MicroKernel.SubSystems.Configuration;
using Castle.Windsor;
using Jal.Persistence.Impl;
using Jal.Persistence.Impl.Sql;
using Jal.Persistence.Interface;
namespace Jal.Persistence.Installer
{
public class SqlRepositoryDatabaseInstaller : IWinds... | 44,478 |
https://github.com/Maledictus/leechcraft/blob/master/src/plugins/azoth/plugins/metacontacts/metacontacts.h | Github Open Source | Open Source | BSL-1.0 | 2,021 | leechcraft | Maledictus | C | Code | 170 | 653 | /**********************************************************************
* LeechCraft - modular cross-platform feature rich internet client.
* Copyright (C) 2006-2014 Georg Rudoy
*
* Distributed under the Boost Software License, Version 1.0.
* (See accompanying file LICENSE or copy at https://www.boost.org/LICENSE... | 24,530 |
https://github.com/sunalz/boscomerrone/blob/master/resources/views/events/index.blade.php | Github Open Source | Open Source | MIT | null | boscomerrone | sunalz | PHP | Code | 95 | 524 | @extends('main')
@section('title', 'Events')
@section('content')
<br><br><br>
<div class="container-fluid">
<div class="container text-center">
<h1 style="font-size:100px;" class="coca">All Events</h1>
</div>
<div class="row">
@foreach ($posts as $post)
<div class="col-md-4" style="margin-bottom:10px;">
<div... | 4,654 |
https://github.com/knreise/demonstratorer/blob/master/old_code/js/util.js | Github Open Source | Open Source | Apache-1.1 | 2,018 | demonstratorer | knreise | JavaScript | Code | 1,436 | 4,426 | /*global L: false, turf: false, alert: false */
var KR = this.KR || {};
KR.Config = {
contentIcons: {
'IMAGE': 'camera-retro',
'VIDEO': 'file-video-o',
'SOUND': 'music',
'TEXT': 'file-text',
'default': 'file-o'
},
templates: {}
};
KR.Config.ImageCaheUrl = 'http://e... | 38 |
https://github.com/ityuhui/libkubeyaml/blob/master/parse.c | Github Open Source | Open Source | Apache-2.0 | 2,020 | libkubeyaml | ityuhui | C | Code | 135 | 709 | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "kube_config_yaml.h"
int main()
{
kubeconfig_t * kubeconfig = calloc(1,sizeof(kubeconfig_t));
kubeconfig->fileName = strdup("./config");
kubeyaml_load_kubeconfig(kubeconfig);
if (kubeconfig->apiVersion) {
printf("apiVer=%s\n"... | 10,692 |
https://github.com/ChaseMalik/Tower-Defense-Game-Engine/blob/master/src/gamePlayer/guiItemsListeners/GameItemListener.java | Github Open Source | Open Source | MIT | 2,015 | Tower-Defense-Game-Engine | ChaseMalik | Java | Code | 11 | 33 | package gamePlayer.guiItemsListeners;
public interface GameItemListener {
public void selectItem(int itemID);
}
| 10,468 |
https://github.com/mikeulvila/node-webserver/blob/master/routes/sendphoto.js | Github Open Source | Open Source | MIT | null | node-webserver | mikeulvila | JavaScript | Code | 70 | 202 | 'use strict'
const express = require('express');
const router = express.Router();
const path = require('path');
const multer = require('multer');
const storage = multer.diskStorage({
destination: function (req, file, cb) {
cb(null, 'tmp/uploads');
},
filename: function (req, file, cb) {
cb(null, Date.now... | 698 |
https://github.com/gloverab/oo-tic-tac-toe-v-000/blob/master/bin/tictactoe | Github Open Source | Open Source | LicenseRef-scancode-unknown-license-reference, LicenseRef-scancode-public-domain | 2,016 | oo-tic-tac-toe-v-000 | gloverab | Ruby | Code | 18 | 75 | #!/usr/bin/env ruby
require 'pry'
require_relative '../lib/tic_tac_toe.rb'
game_1 = TicTacToe.new
puts "Welcome to Tic Tac Toe, fucker!"
game_1.display_board
game_1.play
| 15,835 |
https://github.com/hpi-classroom/Adversarial-Digital-Twins/blob/master/code/mRUBiS/mRUBiS_CompArch_Simulator/src/de/mdelab/morisia/comparch/simulator/Analyzer.java | Github Open Source | Open Source | MIT | null | Adversarial-Digital-Twins | hpi-classroom | Java | Code | 94 | 207 | package de.mdelab.morisia.comparch.simulator;
import de.mdelab.morisia.comparch.Architecture;
/**
* Analyzer of the model.
*
* @author thomas vogel
* @version 0.21
*
*/
public interface Analyzer {
/**
* @return the name of the analyzer.
*/
public String getName();
/**
* @return the description of th... | 6,535 |
https://github.com/codejamninja/node-log-benchmarks/blob/master/src/index.js | Github Open Source | Open Source | MIT | 2,020 | node-log-benchmarks | codejamninja | JavaScript | Code | 277 | 913 | import _ from 'lodash';
import fs from 'fs-extra';
import path from 'path';
const Json2csvParser = require('json2csv').Parser;
const { argv } = process;
const name = argv[2];
const benchmarkName = _.camelCase(
name.substr(0, name.indexOf(':')) || 'winston'
);
const metricsName = _.camelCase(
name.substr(name.inde... | 25,583 |
https://github.com/WorthyD/d2-clandashboard/blob/master/projects/components/src/lib/shared/shared.module.ts | Github Open Source | Open Source | MIT | 2,021 | d2-clandashboard | WorthyD | TypeScript | Code | 56 | 159 | import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { DirectivesModule } from './directives/directives.module';
import { LoadingModule } from './loading/loading.module';
import { InputsModule } from './inputs/inputs.module';
import { TableSearchBarModule } from './table-sea... | 4,908 |
https://github.com/ITzhangqiang/kylin/blob/master/webapp/app/js/utils/response.js | Github Open Source | Open Source | CC0-1.0, Apache-2.0, GPL-2.0-only, MIT | 2,020 | kylin | ITzhangqiang | JavaScript | Code | 224 | 429 | /*
* 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 ... | 53,134 |
https://github.com/nirzaf/dotnet-webapi-boilerplate/blob/master/src/Core/Domain/Interfaces/IProductRepository.cs | Github Open Source | Open Source | MIT | 2,022 | dotnet-webapi-boilerplate | nirzaf | C# | Code | 14 | 55 | using DN.WebApi.Domain.Entities.Catalog;
namespace DN.WebApi.Domain.Interfaces
{
public interface IProductRepository
{
Task<Product> GetById(Guid id);
}
} | 34,438 |
https://github.com/yujinpan/el-table-infinite-scroll/blob/master/rollupx.config.js | Github Open Source | Open Source | LicenseRef-scancode-free-unknown, MIT | 2,023 | el-table-infinite-scroll | yujinpan | JavaScript | Code | 29 | 111 | module.exports = {
banner:
'/*!\n' +
` * el-table-infinite-scroll v${require('./package.json').version}\n` +
` * (c) 2019-${new Date().getFullYear()} yujinpan\n` +
' */\n',
inputFiles: ['**/*'],
outputDir: 'lib',
typesOutputDir: 'lib',
singleFile: false
};
| 40,997 |
https://github.com/Iemnur/Artina/blob/master/Artina/Attributes/DisplayPropertyAttribute.cs | Github Open Source | Open Source | MIT | 2,016 | Artina | Iemnur | C# | Code | 28 | 82 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Artina.Attributes
{
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field)]
public class DisplayPropertyAttribute : Attribute
{
public DisplayPropertyAttribute() : base() { }
}
}
| 23,214 |
https://github.com/thinkcat21/JLiteSpider/blob/master/JLiteSpider/src/core/Downloader.java | Github Open Source | Open Source | Apache-2.0 | 2,016 | JLiteSpider | thinkcat21 | Java | Code | 30 | 127 | package core;
import java.util.List;
/**
* author: Yixin Luo
* 2016/3/4
*
* 下载器的接口
* **/
public interface Downloader {
/**
* 这个函数将url链表中对应的网页下载,然后将结果保存到字符串链表中,返回
* **/
public List<String> download(List<String> urlList);
}
| 21,743 |
https://github.com/uRepairPC/server/blob/master/app/Events/RequestFiles/ECreate.php | Github Open Source | Open Source | MIT | null | server | uRepairPC | PHP | Code | 137 | 479 | <?php
namespace App\Events\RequestFiles;
use App\Events\Common\ECreateBroadcast;
use Illuminate\Support\Collection;
class ECreate extends ECreateBroadcast
{
use EModel;
/**
* @var int
*/
private $_requestId;
/**
* @var int
*/
private $_userIdUpload;
/**
* Create a ... | 39,356 |
https://github.com/defrindr/koperasi/blob/master/app/Helpers/Html/FormHelper.php | Github Open Source | Open Source | MIT | 2,020 | koperasi | defrindr | PHP | Code | 873 | 2,988 | <?php
namespace App\Helpers\Html;
class FormHelper {
// template
protected static $_instances = null;
protected static $options = [];
protected static $template = "";
protected static $fieldTemplate = "";
protected static $groupTemplate = "";
private static $data;
// name of form field
protected static $na... | 30,508 |
https://github.com/MattFerraro/ecosim/blob/master/Assets/WholeGame.cs | Github Open Source | Open Source | MIT | null | ecosim | MattFerraro | C# | Code | 481 | 1,526 | using System.Collections.Generic;
using UnityEngine;
public class WholeGame : MonoBehaviour
{
public GameObject bunny;
public GameObject fox;
public GameObject omnivore;
public GameObject plant;
List<GameObject> bunnies = new List<GameObject>();
List<GameObject> foxes = new List<GameObject>(... | 24,916 |
https://github.com/OnionStark/Raytracing-Renderer/blob/master/Falcor/Framework/Source/RenderPasses/DepthPass.cpp | Github Open Source | Open Source | BSD-3-Clause | 2,022 | Raytracing-Renderer | OnionStark | C++ | Code | 499 | 1,455 | /***************************************************************************
# Copyright (c) 2015, 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 sourc... | 51,323 |
https://github.com/blacklabelops-legacy/java/blob/master/buildscripts/buildImage.groovy | Github Open Source | Open Source | MIT | 2,019 | java | blacklabelops-legacy | Groovy | Code | 396 | 1,349 | /**
* Jenkins 2.0 Buildfile
**/
def getBranchName() {
def branchName = env.JOB_NAME.replaceFirst('.+/', '')
echo 'Building on Branch: ' + branchName
def tagPostfix = ''
if (branchName != null && !'master'.equals(branchName)) {
tagPostfix = branchName
}
return tagPostfix
}
def buildJobPullI... | 29,243 |
https://github.com/Ryan11099/Sunshine/blob/master/springboot_shiro/src/main/java/com/sunshine/springboot_shiro/SpringbootShiroApplication.java | Github Open Source | Open Source | Apache-2.0 | null | Sunshine | Ryan11099 | Java | Code | 28 | 238 | package com.sunshine.springboot_shiro;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
//之前是,直接在Mapper类上面添加注解@Mapper,这种方式要求每一个mapper类都需要添加此注解,麻烦
//通过使用@MapperScan可以指定要扫描的Mapp... | 28,114 |
https://github.com/janzheng/feathers-vuex-chat/blob/master/node_modules/feathers-vuex/dist/service-module/make-service-module.d.ts | Github Open Source | Open Source | MIT | 2,019 | feathers-vuex-chat | janzheng | TypeScript | Code | 19 | 53 | export default function makeServiceModule(service: any, options: any): {
namespaced: boolean;
state: any;
getters: any;
mutations: any;
actions: any;
};
| 49,569 |
https://github.com/ergo-index/ergo-index-contracts/blob/master/build.sbt | Github Open Source | Open Source | MIT | 2,021 | ergo-index-contracts | ergo-index | Scala | Code | 50 | 240 | import sbt.project
name := "ergo-index-contracts"
version := "0.1"
scalaVersion := "2.12.14"
lazy val sonatypePublic = "Sonatype Public" at "https://oss.sonatype.org/content/groups/public/"
lazy val sonatypeReleases = "Sonatype Releases" at "https://oss.sonatype.org/content/repositories/releases/"
lazy val sonatypeSn... | 48,107 |
https://github.com/p3root/signalr-qt/blob/master/SignalRLibraries/SignalRClient/Transports/AutoTransport.h | Github Open Source | Open Source | BSD-3-Clause | 2,019 | signalr-qt | p3root | C++ | Code | 88 | 342 | #ifndef AUTOTRANSPORT_H
#define AUTOTRANSPORT_H
#include "HttpBasedTransport.h"
#include "SignalR.h"
namespace P3 { namespace SignalR { namespace Client {
class SIGNALR_EXPORT AutoTransport : public HttpBasedTransport
{
Q_OBJECT
public:
AutoTransport();
~AutoTransport();
void negotiate() OVERRIDE_M... | 5,578 |
https://github.com/dmkuchynski/MAVN.FrontEnd.BackOffice/blob/master/src/app/admin/user/models/admin-list-response.interface.ts | Github Open Source | Open Source | MIT | null | MAVN.FrontEnd.BackOffice | dmkuchynski | TypeScript | Code | 17 | 65 | import {User} from './user.interface';
import {PagedResponse} from '../../../shared/pagination-container/models/paged-response.interface';
export interface AdminListResponse {
Items: User[];
PagedResponse: PagedResponse;
}
| 11,771 |
https://github.com/CPJoaquin/mototaxi/blob/master/app/Http/Controllers/HomeController.php | Github Open Source | Open Source | MIT | null | mototaxi | CPJoaquin | PHP | Code | 99 | 359 | <?php
namespace App\Http\Controllers;
use App\Http\Controllers\moto\TravelController;
use Illuminate\Http\Request;
class HomeController extends Controller
{
/**
* Create a new controller instance.
*
* @return void
*/
public function __construct()
{
$this->middleware('auth');
... | 34,506 |
https://github.com/forcedotcom/sfdx-scanner/blob/master/sfge/src/main/java/com/salesforce/apex/jorje/UserTriggerWrapper.java | Github Open Source | Open Source | MIT, Apache-2.0 | 2,023 | sfdx-scanner | forcedotcom | Java | Code | 48 | 222 | package com.salesforce.apex.jorje;
import apex.jorje.semantic.ast.compilation.UserTrigger;
import com.salesforce.graph.Schema;
import java.util.Map;
public final class UserTriggerWrapper extends AstNodeWrapper<UserTrigger>
implements TopLevelWrapper {
UserTriggerWrapper(UserTrigger node, AstNodeWrapper<?>... | 41,965 |
https://github.com/DougGregor/swift/blob/master/stdlib/public/SDK/Dispatch/Source.swift | Github Open Source | Open Source | Apache-2.0, Swift-exception | 2,016 | swift | DougGregor | Swift | Code | 1,524 | 5,325 | //===----------------------------------------------------------------------===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2016 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See http://swift.org/LI... | 51,801 |
https://github.com/cdli-gh/mtaac_cdli_ur3_corpus/blob/master/ur3_corpus_data/conll/P205128.conll | Github Open Source | Open Source | CC0-1.0, LicenseRef-scancode-public-domain | 2,022 | mtaac_cdli_ur3_corpus | cdli-gh | null | Spoken | 47 | 244 | #new_text=P205128
# ID FORM SEGM XPOSTAG HEAD DEPREL MISC
o.1.1 2(disz)
o.1.2 udu
o.1.3 1(disz)
o.1.4 sila3
o.2.1 e2-udu
o.2.2 e2-gal-ta
o.3.1 ki
o.3.2 amar-szuba3-ta
o.4.1 im-ti-dam
o.4.2 i3-dab5
o.5.1 iti
o.5.2 GAN2-masz
o.5.3 u4
o.5.4 7(disz)
o.5.5 ba-zal
o.6.1 mu
o.6.2 us2-sa
o.6.3 hu-hu-nu-ri{ki}
o.6.4 ba-hul
| 49,297 |
https://github.com/hquu/WayFinder/blob/master/php_src/path_test_v2.php | Github Open Source | Open Source | MIT | 2,021 | WayFinder | hquu | PHP | Code | 643 | 3,347 | <?php
$DBNAME = "v2_wayfinder";
$DBUSER = "root";
$DBPASSWD = "YtS0vamSHkmK7IAg#";
$DBHOST = "localhost";
$floor = (string)$_POST['floor'];
$number = (string)$_POST['number'];
$room2 = (string)$_POST['room2'];
$conn = mysqli_connect( $DBHOST, $DBUSER , $DBPASSWD);
if (empty($conn)){
print mysqli_error($conn);
die... | 38,467 |
https://github.com/sergiud/SuiteSparse/blob/master/UMFPACK/Include/umfpack.h | Github Open Source | Open Source | LicenseRef-scancode-unknown-license-reference, LicenseRef-scancode-generic-cla, LicenseRef-scancode-free-unknown, GPL-1.0-or-later, BSD-3-Clause, LGPL-2.1-or-later, LicenseRef-scancode-warranty-disclaimer, GPL-3.0-or-later, GPL-2.0-or-later, Apache-2.0, GPL-3.0-only, LicenseRef-scancode-other-copyleft, LGPL-2.0-or-late... | 2,022 | SuiteSparse | sergiud | C | Code | 20,000 | 39,072 | //------------------------------------------------------------------------------ // UMFPACK/Include/umfpack.h: include file for UMFPACK //------------------------------------------------------------------------------ // UMFPACK, Copyright (c) 2005-2022, Timothy A. Davis, All Rights Reserved. // SPDX-License-Identifier:... | 20,426 |
https://github.com/makepad/makepad/blob/master/libs/objc-sys/src/encode.rs | Github Open Source | Open Source | MIT | 2,023 | makepad | makepad | Rust | Code | 892 | 2,726 | use std::ffi::CStr;
use std::fmt;
use std::os::raw::{c_char, c_void};
use std::str;
use malloc_buf::MallocBuffer;
use runtime::{Class, Object, Sel};
const QUALIFIERS: &[char] = &[
'r', // const
'n', // in
'N', // inout
'o', // out
'O', // bycopy
'R', // byref
'V', // oneway
];
#[cfg(targe... | 18,697 |
https://github.com/bonedaddy/ion-dtn/blob/master/bpv7/doc/pod1/bplist.pod | Github Open Source | Open Source | Unlicense | 2,021 | ion-dtn | bonedaddy | null | Spoken | 226 | 460 | =head1 NAME
bplist - Bundle Protocol (BP) utility for listing queued bundles
=head1 SYNOPSIS
B<bplist> [{count | detail} [I<destination_EID>[/I<priority>]]]
=head1 DESCRIPTION
B<bplist> is a utility program that reports on bundles that currently
reside in the local node, as identified by entries in the local bundl... | 24,798 |
https://github.com/lor6/tutorials/blob/master/spring-web-modules/spring-mvc-basics/src/test/java/com/baeldung/config/BeanNameUrlHandlerMappingConfig.java | Github Open Source | Open Source | MIT | 2,023 | tutorials | lor6 | Java | Code | 33 | 160 | package com.baeldung.config;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.handler.BeanNameUrlHandlerMapping;
import com.baeldung.web.controller.handlermapping.WelcomeController;
@Configuration
public class Bean... | 32,400 |
https://github.com/soumyadipdas37/finescoop.github.io/blob/master/cache/7070c42a91117a6e9cb1c08db50b1e85b0c37510.php | Github Open Source | Open Source | MIT | null | finescoop.github.io | soumyadipdas37 | PHP | Code | 1,138 | 1,776 | <?php $__env->startSection('content'); ?><p>Millions of healthy people should be prescribed blood pressure lowering medication because the pills can prevent heart attacks later in life, a major study has claimed.</p>
<p>In the biggest study of its kind, Oxford University researchers found lowering levels even from a h... | 15,332 |
https://github.com/64chill/java_jpa_project_intro_testing/blob/master/chatapp_code/chatapp/src/com/example/model/ChattingRomInfo.java | Github Open Source | Open Source | MIT | null | java_jpa_project_intro_testing | 64chill | Java | Code | 122 | 318 | package com.example.model;
import java.sql.Date;
public class ChattingRomInfo {
private String msg;
private Date date;
private String subname;
public ChattingRomInfo() {
}
public ChattingRomInfo(String msg, Date date, String subname) {
this.msg = msg;
this.crname = crname;
... | 44,408 |
https://github.com/sfardiansyah/megane/blob/master/pkg/auth/service.go | Github Open Source | Open Source | MIT | 2,020 | megane | sfardiansyah | Go | Code | 218 | 666 | package auth
import (
"errors"
"os"
"strings"
"github.com/dgrijalva/jwt-go"
"golang.org/x/crypto/bcrypt"
)
var (
// ErrInvalidCredentials ...
ErrInvalidCredentials = errors.New("Invalid username or password")
)
// Service ...
type Service interface {
Login(string, string) (*User, string, error)
Register(st... | 15,175 |
https://github.com/bunchtogether/riak-nodejs-client/blob/master/test/unit/crdt/updatehll.js | Github Open Source | Open Source | Apache-2.0 | 2,019 | riak-nodejs-client | bunchtogether | JavaScript | Code | 455 | 1,536 | /**
*
* Copyright 2014-present Basho Technologies, 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 app... | 932 |
https://github.com/steviedale/tesseract/blob/master/tesseract/tesseract_planning/tesseract_motion_planners/src/ompl/ompl_motion_planner.cpp | Github Open Source | Open Source | Apache-2.0, BSD-2-Clause | null | tesseract | steviedale | C++ | Code | 223 | 909 | /**
* @file ompl_motion_planner.cpp
* @brief Tesseract OMPL motion planner
*
* @author Levi Armstrong
* @date April 18, 2018
* @version TODO
* @bug No known bugs
*
* @copyright Copyright (c) 2017, Southwest Research Institute
*
* @par License
* Software License Agreement (Apache License)
* @par
* Licensed... | 11,796 |
https://github.com/fzxen/vue3-ssr/blob/master/src/views/list.vue | Github Open Source | Open Source | MIT | 2,021 | vue3-ssr | fzxen | Vue | Code | 53 | 160 | <template>
<div class="list-wrap">
<h2>This is list page</h2>
<button @click="goToHome">go to home</button>
</div>
</template>
<script lang="ts">
import {} from "vue";
import { useRouter } from 'vue-router';
export default {
name: "List",
setup() {
const router = useRouter()
const goToHome = ... | 40,445 |
https://github.com/Hi-Rez/Satin/blob/master/Sources/Satin/Geometry/TorusGeometry.swift | Github Open Source | Open Source | MIT, LicenseRef-scancode-unknown-license-reference | 2,023 | Satin | Hi-Rez | Swift | Code | 97 | 274 | //
// TorusGeometry.swift
// Satin
//
// Created by Reza Ali on 9/8/19.
// Copyright © 2019 Reza Ali. All rights reserved.
//
import SatinCore
open class TorusGeometry: Geometry {
override public init() {
super.init()
setupData(radius: (1, 2), res: (60, 60))
}
public init(radius: (min... | 42,292 |
https://github.com/appwebtech/Angular/blob/master/Angular_1/Unprofessional_Instructables/29_Angular $scope.$digest()/controller2.js | Github Open Source | Open Source | MIT | null | Angular | appwebtech | JavaScript | Code | 30 | 110 |
var app = angular.module('mainApp', []);
app.controller('app', function($scope){
$scope.myRandomNumber = Math.random();
document.querySelector('input').addEventListener('click', function(){
console.log('button clicked');
$scope.myRandomNumber = Math.random();
$scope.$digest(); // Pass $digest to enable g... | 1,396 |
https://github.com/hqstevenson/integration-deployment/blob/master/affiliates/EPICadINGNMED_ip/SR/src/test/java/com/pronoia/camel/deployment/affiliates/EPICadINGNMED_ip/SR_EPICadINGNMED_ipTest.java | Github Open Source | Open Source | Apache-2.0 | 2,016 | integration-deployment | hqstevenson | Java | Code | 118 | 560 | package com.pronoia.camel.deployment.affiliates.EPICadINGNMED_ip;
import java.util.Dictionary;
import java.util.Hashtable;
import java.util.List;
import java.util.Properties;
import java.util.concurrent.TimeUnit;
import com.pronoia.camel.deployment.interfaces.FilterServiceInterface;
import com.pronoia.camel.deploymen... | 38,556 |
https://github.com/msrLi/portingSources/blob/master/fontconfig/fontconfig-2.12.1/doc/FcAtomicCreate.3 | Github Open Source | Open Source | HPND-sell-variant, Apache-2.0 | 2,019 | portingSources | msrLi | null | Spoken | 89 | 203 | .\" auto-generated by docbook2man-spec from docbook-utils package
.TH "FcAtomicCreate" "3" "05 8月 2016" "Fontconfig 2.12.1" ""
.SH NAME
FcAtomicCreate \- create an FcAtomic object
.SH SYNOPSIS
.nf
\fB#include <fontconfig/fontconfig.h>
.sp
FcAtomic * FcAtomicCreate (const FcChar8 *\fIfile\fB);
.fi\fR
.SH "DESCRIPTION"
.... | 18,300 |
https://github.com/jbddelatorre/host-football/blob/master/app/Http/Controllers/ParticipantDashboardController.php | Github Open Source | Open Source | MIT | 2,018 | host-football | jbddelatorre | PHP | Code | 985 | 4,620 | <?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
use App\User;
use App\Tournament;
use App\Fixture;
use App\ParticipantTournament;
use App\TournamentSubcategory;
use App\Team;
use App\Player;
class ParticipantDashboardController extends Controller
{
functio... | 15,474 |
https://github.com/zhangswings/ZhihuDailyPurify/blob/master/app/src/main/java/io/github/izzyleung/zhihudailypurify/ui/activity/PrefsActivity.java | Github Open Source | Open Source | Apache-2.0 | 2,015 | ZhihuDailyPurify | zhangswings | Java | Code | 57 | 296 | package io.github.izzyleung.zhihudailypurify.ui.activity;
import android.os.Bundle;
import android.view.MenuItem;
import io.github.izzyleung.zhihudailypurify.R;
import io.github.izzyleung.zhihudailypurify.ui.fragment.PrefsFragment;
/**
* 偏好设置页面
*/
public class PrefsActivity extends BaseActivity {
@Override
... | 48,336 |
https://github.com/chromium/chromium/blob/master/third_party/blink/web_tests/external/wpt/fs/FileSystemSyncAccessHandle-close.https.tentative.worker.js | Github Open Source | Open Source | GPL-1.0-or-later, MIT, LGPL-2.0-or-later, Apache-2.0, BSD-3-Clause, LicenseRef-scancode-warranty-disclaimer, LGPL-2.1-only, GPL-2.0-only, LGPL-2.0-only, BSD-2-Clause, LicenseRef-scancode-other-copyleft | 2,023 | chromium | chromium | JavaScript | Code | 112 | 485 | importScripts("/resources/testharness.js");
importScripts('resources/sync-access-handle-test.js');
'use strict';
sync_access_handle_test((t, handle) => {
assert_equals(handle.close(), undefined);
assert_equals(handle.close(), undefined);
}, 'SyncAccessHandle.close is idempotent');
sync_access_handle_test((t, hand... | 44,893 |
https://github.com/soramitsu/fearless-Android/blob/master/feature-wallet-impl/src/main/java/jp/co/soramitsu/wallet/impl/presentation/model/OperationModel.kt | Github Open Source | Open Source | Apache-2.0 | 2,023 | fearless-Android | soramitsu | Kotlin | Code | 54 | 167 | package jp.co.soramitsu.wallet.impl.presentation.model
import android.graphics.drawable.Drawable
import androidx.compose.ui.graphics.Color
class OperationModel(
val id: String,
val time: Long,
val amount: String,
val amountColor: Color = Color.White,
val header: String,
val statusAppearance: O... | 47,975 |
https://github.com/xingnan88/ISPNM_00007/blob/master/ISPNM_00007/src/jxust/isp4nm/filter/AdminInterceptor.java | Github Open Source | Open Source | MIT | 2,023 | ISPNM_00007 | xingnan88 | Java | Code | 69 | 333 | package jxust.isp4nm.filter;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import org.apache.struts2.StrutsStatics;
import org.junit.runner.Request;
import com.opensymphony.xwork2.ActionContext;
import com.opensymphony.xwork2.ActionInvocation;
import com.opensymphony.xwork2.interceptor.Abstrac... | 36,807 |
https://github.com/izzielau/stat198/blob/master/node_modules/@fluentui/react-icons/lib/components/EllipseIcon.js | Github Open Source | Open Source | MIT, LicenseRef-scancode-unknown-license-reference | 2,021 | stat198 | izzielau | JavaScript | Code | 110 | 404 | import * as React from 'react';
import createSvgIcon from '../utils/createSvgIcon';
var EllipseIcon = createSvgIcon({
svg: function (_a) {
var classes = _a.classes;
return (React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 2048 2048", className: classes.svg },
... | 47,347 |
https://github.com/chiteri/safari/blob/master/src/components/Navigation/NavigationItems/NavigationItems.js | Github Open Source | Open Source | BSD-2-Clause | null | safari | chiteri | JavaScript | Code | 35 | 122 | import React from 'react';
import NavigationItem from './NavigationItem/NavigationItem';
import './NavigationItems.module.css';
const navigationItems = () => (
<ul>
<NavigationItem link="/" active> Dash</NavigationItem>
<NavigationItem link="/trips/"> Trips</NavigationItem>
<NavigationItem ... | 38,342 |
https://github.com/HastingsGreer/mermaid/blob/master/mermaid/deep_networks.py | Github Open Source | Open Source | Apache-2.0 | 2,022 | mermaid | HastingsGreer | Python | Code | 4,560 | 23,977 | from __future__ import print_function
from __future__ import absolute_import
from builtins import object
from abc import ABCMeta, abstractmethod
from future.utils import with_metaclass
import torch
import torch.nn as nn
from . import finite_differences as fd
from . import module_parameters as pars
from . import nois... | 36,550 |
https://github.com/yqnProject/umi-dva-typescript-mock/blob/master/.umirc.mock.js | Github Open Source | Open Source | MIT | 2,019 | umi-dva-typescript-mock | yqnProject | JavaScript | Code | 51 | 170 | const Mock = require('mockjs');
const app = {
[`/api/menu`]: [
{
path: '/',
title: '首页',
id: 1,
},
{
path: '/page1',
title: '页面1',
id: 2,
},
],
};
const page1 = {
[`/api/page1`]: Mock.mock({
'list|11': [
{
'id|+1': 1,
name: '@CNAME',
... | 15,376 |
https://github.com/KittenYang/chordabra/blob/master/rechord/model/chord-guessing/chords/MajorSeventh.swift | Github Open Source | Open Source | MIT | 2,019 | chordabra | KittenYang | Swift | Code | 101 | 261 | //
// MajorSeventh.swift
// rechord
//
// Created by Julian Tigler on 11/24/19.
// Copyright © 2019 High5! Apps. All rights reserved.
//
import Foundation
class MajorSeventh: Chord {
override class var friendlyName: String {
return "Major Seventh"
}
override var description : String ... | 24,403 |
https://github.com/NCIEVS/ops-owl-applications/blob/master/OWLKb/src/main/java/gov/nih/nci/evs/owl/interfaces/PropertyDefInterface.java | Github Open Source | Open Source | BSD-3-Clause | 2,022 | ops-owl-applications | NCIEVS | Java | Code | 75 | 284 | package gov.nih.nci.evs.owl.interfaces;
import gov.nih.nci.evs.owl.entity.PropertyType;
import gov.nih.nci.evs.owl.meta.PropertyDef;
import java.net.URI;
import java.util.Vector;
import org.semanticweb.owlapi.model.IRI;
public interface PropertyDefInterface {
public int compare(PropertyDef propDef);
public Stri... | 34,394 |
https://github.com/rammarj/Escuela/blob/master/Projects/Tienda/Tienda.sln | Github Open Source | Open Source | MIT | 2,022 | Escuela | rammarj | null | Spoken | 60 | 406 |
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2013
VisualStudioVersion = 12.0.21005.1
MinimumVisualStudioVersion = 10.0.40219.1
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Tienda", "Tienda\Tienda.vcxproj", "{282878D0-4335-4D64-8C5B-E78656B4B4A4}"
EndProject
Global
GlobalSection... | 45,426 |
https://github.com/vasttrafik/wso2-community-api/blob/master/java/src/main/java/org/vasttrafik/wso2/carbon/community/api/beans/Report.java | Github Open Source | Open Source | MIT | 2,019 | wso2-community-api | vasttrafik | Java | Code | 185 | 491 | package org.vasttrafik.wso2.carbon.community.api.beans;
import java.util.Date;
import java.util.List;
/**
*
* @author Lars Andersson
*
*/
public final class Report {
public enum TypeEnum {user, system};
private Long id = null;
private Post post = null;
private TypeEnum type = null;
private String tex... | 4,965 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.