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/meddylex-development/kustodya-front/blob/master/src/app/pages/parameterization/adjustment-type/add-adjustment-type/add-adjustment-type.component.ts | Github Open Source | Open Source | MIT | null | kustodya-front | meddylex-development | TypeScript | Code | 229 | 925 | import { Component, OnInit } from '@angular/core';
import { Router, ActivatedRoute } from '@angular/router';
import { NbDialogRef } from '@nebular/theme';
import { ParameterizationService } from "../../../../shared/api/services/parameterization.service";
import { UtilitiesService } from "../../../../shared/api/services... | 33,422 |
https://github.com/YJBeetle/QtAndroidAPI/blob/master/android-31/android/renderscript/Short4.hpp | Github Open Source | Open Source | Apache-2.0 | 2,022 | QtAndroidAPI | YJBeetle | C++ | Code | 62 | 204 | #pragma once
#include "../../JObject.hpp"
namespace android::renderscript
{
class Short4 : public JObject
{
public:
// Fields
jshort w();
jshort x();
jshort y();
jshort z();
// QJniObject forward
template<typename ...Ts> explicit Short4(const char *className, const char *sig, Ts...agv) : JObject(c... | 22,707 |
https://github.com/gao-hub/cr-parking-admin/blob/master/src/pages/WisdomTripManage/HomePageConfig/models/index.js | Github Open Source | Open Source | MIT | null | cr-parking-admin | gao-hub | JavaScript | Code | 588 | 1,708 | import { notification } from 'antd';
import { addListKey } from '@/utils/utils';
import moment from 'moment';
import * as api from '../services';
export default {
namespace: 'homeConfig',
state: {
list: [], // 列表
total: '', // 总条数
tabList: [], // 列表
tabTotal: '', // 总条数
searchInfo: {},... | 54,189 |
https://github.com/mobiusklein/psims/blob/master/psims/mzmlb/components.py | Github Open Source | Open Source | Apache-2.0 | 2,023 | psims | mobiusklein | Python | Code | 104 | 442 | from ..mzml.components import BinaryDataArray, Binary, NullMap
from ..xml import _element
EXTERNAL_DATASET_PARAM = "external HDF5 dataset"
# EXTERNAL_DATASET_PARAM = "external dataset"
class ExternalBinaryDataArray(BinaryDataArray):
def __init__(self, external_dataset_name, data_processing_reference=None,
... | 13,513 |
https://github.com/Allfianaz/si-rekap/blob/master/app/Views/user/case/dashboard.php | Github Open Source | Open Source | MIT | 2,021 | si-rekap | Allfianaz | PHP | Code | 769 | 3,426 | <?= $this->extend('_partials/layout') ?>
<?= $this->section('content') ?>
<script src="<?= base_url() ?>/ckeditor/ckeditor.js"></script>
<div class="page-title">
<div class="title_left">
<div class="swal" data-swal="<?= session()->get('message'); ?>"></div>
<h3>Main Dashboard</h3>
</div>
<... | 13,580 |
https://github.com/nytyn/dashboard/blob/master/src/components/VersionCheck.js | Github Open Source | Open Source | MIT | 2,020 | dashboard | nytyn | JavaScript | Code | 181 | 548 | //
// Copyright 2020 Wireline, Inc.
//
import compareVersions from 'compare-versions';
import get from 'lodash.get';
import React, { useEffect, useState } from 'react';
import { makeStyles } from '@material-ui/core/styles';
import red from '@material-ui/core/colors/red';
import { httpGet, ignorePromise } from '../li... | 40,270 |
https://github.com/NIMESH07/MedicineManageApp/blob/master/app/Http/Controllers/BillController.php | Github Open Source | Open Source | MIT | 2,020 | MedicineManageApp | NIMESH07 | PHP | Code | 98 | 506 | <?php
namespace App\Http\Controllers;
use Anand\LaravelPaytmWallet\Facades\PaytmWallet as FacadesPaytmWallet;
use Illuminate\Http\Request;
use App\Medicine;
use App\Coustomers;
use PaytmWallet;
class BillController extends Controller
{
public function index(Request $request)
{
$cus = Coustomers::take... | 8,839 |
https://github.com/csyuxuan/Ctool/blob/master/packages/ctool-core/src/components/Display.vue | Github Open Source | Open Source | MIT | 2,023 | Ctool | csyuxuan | Vue | Code | 492 | 1,778 | <template>
<template v-if="is">
<div class="ctool-display" v-bind="$attrs">
<slot></slot>
<div :style="extraStyle" style="display:inline-flex;">
<span
ref="extra"
:class="[
`ctool-display-extra`,
... | 39,195 |
https://github.com/miottid/SwiftHelpers/blob/master/SwiftHelpers/UI/SHPopupPresentationController.swift | Github Open Source | Open Source | MIT | null | SwiftHelpers | miottid | Swift | Code | 1,853 | 4,458 | //
// SHPopupPresentationController.swift
// SwiftHelpers
//
// Created by David Miotti on 18/01/2018.
// Copyright © 2018 Muxu.Muxu. All rights reserved.
//
#if os(iOS)
public protocol SHPopupPresentationControllerDelegate: AnyObject {
func presentationControllerDidDismiss(presentationController: SHPopup... | 37,067 |
https://github.com/dgoodlad/crabdac/blob/master/stm32f4/src/stm32f469/ltdc/layer/dccr.rs | Github Open Source | Open Source | MIT | null | crabdac | dgoodlad | Rust | Code | 817 | 2,427 | #[doc = "Register `DCCR` reader"]
pub struct R(crate::R<DCCR_SPEC>);
impl core::ops::Deref for R {
type Target = crate::R<DCCR_SPEC>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
impl From<crate::R<DCCR_SPEC>> for R {
#[inline(always)]
fn from(reader: crate::R<DCCR_SP... | 32,394 |
https://github.com/Kannix2005/python-selve/blob/master/selve/commandClasses/senSim.py | Github Open Source | Open Source | MIT | null | python-selve | Kannix2005 | Python | Code | 463 | 2,404 | from selve.commandClasses.sender import CommeoSenderGetInfo
from selve.device import Device
from selve.communication import Command, CommandSingle
from selve.protocol import CommunicationType, DeviceClass, lightDigital, rainDigital, tempDigital, windDigital
from selve.protocol import ParameterType
from selve.commands i... | 19,608 |
https://github.com/PointCloudLibrary/pcl/blob/master/test/io/test_grabbers.cpp | Github Open Source | Open Source | BSD-3-Clause | 2,023 | pcl | PointCloudLibrary | C++ | Code | 1,731 | 7,069 | #include <pcl/test/gtest.h>
#include <pcl/point_types.h>
#include <pcl/io/pcd_io.h>
#include <pcl/io/pcd_grabber.h>
#include <pcl/io/image_grabber.h>
#include <string>
#include <thread>
#include <vector>
#include <boost/filesystem.hpp> // for directory_iterator, extension
#include <boost/algorithm/string/case_conv.hpp... | 35,536 |
https://github.com/cmeng-git/atalk-android/blob/master/aTalk/src/main/java/org/atalk/impl/neomedia/codec/audio/silk/TablesLTP.java | Github Open Source | Open Source | Apache-2.0 | 2,023 | atalk-android | cmeng-git | Java | Code | 1,450 | 4,334 | /*
* Jitsi, the OpenSource Java VoIP and Instant Messaging client.
*
* Distributable under LGPL license. See terms of license at gnu.org.
*/
package org.atalk.impl.neomedia.codec.audio.silk;
/**
*
* @author Jing Dai
* @author Dingxin Xu
*/
public class TablesLTP
{
static int[] SKP_Silk_LTP_per_index_CDF = { ... | 3,365 |
https://github.com/DocDonkeys/Crazy-Taxi/blob/master/Crazy_Taxi/PhysVehicle3D.cpp | Github Open Source | Open Source | MIT | 2,020 | Crazy-Taxi | DocDonkeys | C++ | Code | 304 | 1,614 | #include "PhysVehicle3D.h"
#include "Primitive.h"
#include "Bullet/include/btBulletDynamicsCommon.h"
// ----------------------------------------------------------------------------
VehicleInfo::~VehicleInfo()
{
//if(wheels != NULL)
//delete wheels;
}
// -------------------------------------------------------------... | 15,944 |
https://github.com/wooooooong/StorytellingViewExam/blob/master/Pods/UIScrollView_minimap/ScrollViewMinimap/Minimap/MinimapView.swift | Github Open Source | Open Source | MIT | null | StorytellingViewExam | wooooooong | Swift | Code | 128 | 504 | //
// MinimapView.swift
// ScrollViewMinimap
//
// Created by Seong ho Hong on 2017. 12. 30..
// Copyright © 2017년 Seong ho Hong. All rights reserved.
//
import UIKit
open class MinimapView: UIView {
private var dataSource: MinimapDataSource?
public var minimapImageView: UIImageView?
public var focu... | 9,239 |
https://github.com/yingDev/Strongly-Typed-Events-for-TypeScript/blob/master/strongly-typed-events.d.ts | Github Open Source | Open Source | MIT | 2,017 | Strongly-Typed-Events-for-TypeScript | yingDev | TypeScript | Code | 2,341 | 5,054 | /*!
* Strongly Typed Events for TypeScript - 0.4.1
* https://github.com/KeesCBakker/StronlyTypedEvents/
* http://keestalkstech.com
*
* Copyright Kees C. Bakker / KeesTalksTech
* Released under the MIT license
*/
/**
* Event handler function with a generic sender and a generic argument.
*/
export interface IEve... | 43,127 |
https://github.com/powervr-graphics/Native_SDK/blob/master/framework/PVRUtils/Vulkan/UIRendererVk.cpp | Github Open Source | Open Source | MIT | 2,023 | Native_SDK | powervr-graphics | C++ | Code | 1,510 | 8,213 | /*!
\brief Contains implementations of functions for the UIRenderer class.
\file PVRUtils/Vulkan/UIRendererVk.cpp
\author PowerVR by Imagination, Developer Technology Team
\copyright Copyright (c) Imagination Technologies Limited.
*/
//!\cond NO_DOXYGEN
#include "PVRCore/stream/BufferStream.h"
#include "PVRVk/ImageVk.... | 16,196 |
https://github.com/gmacon/poetry2nix/blob/master/tests/composable-defaults/default.nix | Github Open Source | Open Source | MIT | 2,022 | poetry2nix | gmacon | null | Spoken | 46 | 169 | { lib, poetry2nix, python3 }:
let
p2nix = poetry2nix.overrideScope' (self: super: {
defaultPoetryOverrides = (super.defaultPoetryOverrides.extend (pyself: pysuper: {
my-custom-pkg = super.my-custom-pkg.overridePythonAttrs (oldAttrs: { });
}));
});
in
p2nix.mkPoetryApplication {
python = python3;
... | 26,724 |
https://github.com/kancve/mr4c/blob/master/native/src/cpp/api/context/AlgorithmContext.h | Github Open Source | Open Source | Apache-2.0 | 2,020 | mr4c | kancve | C++ | Code | 499 | 1,087 | /**
* Copyright 2014 Google Inc. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requir... | 18,709 |
https://github.com/dengcqw/Another-UITableView-Adaptor/blob/master/Sources/UIView+BorderLine.swift | Github Open Source | Open Source | MIT | null | Another-UITableView-Adaptor | dengcqw | Swift | Code | 493 | 1,844 | //
// UIView+BorderLine.swift
// QAHelp
//
// Created by Deng Jinlong on 2018/7/9.
// Copyright © 2018 TVGuo. All rights reserved.
//
import UIKit
private struct BorderLineConst {
static var topKey: NSObject = NSObject()
static var bottomKey: NSObject = NSObject()
static var leftKey: NSObject = NSObje... | 26,642 |
https://github.com/huangshenno1/algo/blob/master/soj/3651.cpp | Github Open Source | Open Source | MIT | 2,016 | algo | huangshenno1 | C++ | Code | 219 | 803 | #include <cstdio>
#include <queue>
using namespace std;
const int maxn = 760;
const int di[] = {0,0,1,-1,1,-1,1,-1};
const int dj[] = {1,-1,0,0,1,-1,-1,1};
int n, m, ans;
char mp[maxn][maxn];
bool vis[maxn][maxn];
bool out(int i, int j)
{
if (i<=0 || j<=0 || i>n || j>n) return 1;
return 0;
}
void find(int i... | 36,206 |
https://github.com/bertrandmartel/metec-braille-driver/blob/master/src/braille.cpp | Github Open Source | Open Source | MIT | 2,022 | metec-braille-driver | bertrandmartel | C++ | Code | 682 | 2,634 | #include "braille.h"
#ifdef _WIN32
using namespace Windows::Devices::Gpio;
using namespace Windows::Foundation;
#endif //_WIN32
#ifdef ARDUINO
#include "Arduino.h"
#else
#define bitRead(value, bit) (((value) >> (bit)) & 0x01)
#endif //ARDUINO
#ifdef __arm__
#include "stdlib.h"
#include "stdint.h"
#include "wiringPi.h... | 42,008 |
https://github.com/derpomorj/PicardProject/blob/master/src/test/java/picard/analysis/FastWgsMetricsCollectorTest.java | Github Open Source | Open Source | MIT | 2,021 | PicardProject | derpomorj | Java | Code | 841 | 3,730 | package picard.analysis;
import htsjdk.samtools.SAMFileHeader;
import htsjdk.samtools.SAMRecord;
import htsjdk.samtools.SAMSequenceRecord;
import htsjdk.samtools.reference.ReferenceSequence;
import htsjdk.samtools.util.AbstractLocusInfo;
import htsjdk.samtools.util.AbstractLocusIterator;
import htsjdk.samtools.util.E... | 34,430 |
https://github.com/askmetoo/flutter-client/blob/master/lib/ui/dashboard/dashboard_screen_vm.dart | Github Open Source | Open Source | AAL | 2,021 | flutter-client | askmetoo | Dart | Code | 294 | 1,458 | import 'dart:async';
import 'package:built_collection/built_collection.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:flutter/widgets.dart';
import 'package:flutter_redux/flutter_redux.dart';
import 'package:invoiceninja_flutter/data/models/dashboard_model.dart... | 7,371 |
https://github.com/sodero/clib2-1/blob/master/library/posix/uio_headers.h | Github Open Source | Open Source | Unlicense, BSD-3-Clause | null | clib2-1 | sodero | C | Code | 47 | 213 | /*
* $Id: uio_headers.h,v 1.2 2006-01-08 12:04:27 clib2devs Exp $
*/
#ifndef _UIO_HEADERS_H
#define _UIO_HEADERS_H
/****************************************************************************/
#ifndef _STDIO_HEADERS_H
#include "stdio_headers.h"
#endif /* _STDIO_HEADERS_H */
/**************************************... | 43,681 |
https://github.com/sbyte91/eulimsreferral/blob/master/frontend/modules/pstc/views/customer/_form.php | Github Open Source | Open Source | BSD-3-Clause | 2,020 | eulimsreferral | sbyte91 | PHP | Code | 136 | 621 | <?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model common\models\referral\Customer */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="customer-form">
<?php $form = ActiveForm::begin(); ?>
<?= $form->field($model, 'rstl_id')->textInput() ?>
<?= $... | 52,605 |
https://github.com/TechupBusiness/ost-kit-php/blob/master/Enums/KindEnum.php | Github Open Source | Open Source | MIT | null | ost-kit-php | TechupBusiness | PHP | Code | 45 | 129 | <?php
namespace Techup\SimpleTokenApi\Enums;
class KindEnum extends TypedEnumHelper {
/** @return $this */
public static function user_to_user() { return self::_create('user_to_user'); }
/** @return $this */
public static function company_to_user() { return self::_create('company_to_user'); }
/** @return $this ... | 21,626 |
https://github.com/leostra/CMIS/blob/master/CmisWebBrowser/WebContent/jsp/common/show-repo.jsp | Github Open Source | Open Source | Apache-2.0 | null | CMIS | leostra | null | Spoken | 212 | 1,094 | <%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib uri="/struts-tags" prefix="s"%>
<s:include value="/jsp/common/header.jsp" />
<div class="panel with-nav-tabs panel-success">
<div class="panel-heading">
<ul class="nav nav-tabs">
<li class="active"><a data-toggle="tab" href="#syntacticTab">Synt... | 25,855 |
https://github.com/NamBker/Reapeater/blob/master/public/assets/js/repeater/src/reducers/index.js | Github Open Source | Open Source | MIT | null | Reapeater | NamBker | JavaScript | Code | 308 | 892 | import { combineReducers } from 'redux'
import { users, user_count } from './users'
import { currentUser, currentCompanies, currentBrands, currentAreas, currentStores } from './currentUser'
import { updateUser } from './updateUser'
import { brands, brands_count } from './brands'
import { stores, stores_count, storeDeta... | 49,940 |
https://github.com/ruancorrea/manipulating_Text/blob/master/views/index.handlebars | Github Open Source | Open Source | MIT | null | manipulating_Text | ruancorrea | null | Spoken | 1,104 | 3,656 | <style>
.btn-dark{
width: 180px;
display: block;
margin-left: auto;
margin-right: auto;
font-size: 14px;;
}
.table{
border-radius: 1%;
}
#cabc{
position: absolute;
left: 40%;
font-weight: 100;
font: bold 20px serif;
... | 36,749 |
https://github.com/intel-hpdd/GUI/blob/master/source/iml/panels/slider-panel-component.js | Github Open Source | Open Source | MIT | 2,017 | GUI | intel-hpdd | JavaScript | Code | 93 | 291 | // @flow
//
// Copyright (c) 2018 DDN. All rights reserved.
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file.
import global from "../global.js";
export function Controller() {
"ngInject";
const onMove = (ev: MouseEvent) => {
this.rootPanel.onChange(ev.cli... | 54,233 |
https://github.com/AmrDeveloper/SnapMacro/blob/master/src/snapmacro/lang/KeyboardStatement.java | Github Open Source | Open Source | MIT | 2,021 | SnapMacro | AmrDeveloper | Java | Code | 54 | 152 | package snapmacro.lang;
public class KeyboardStatement extends Statement {
private final Token order;
private final KeyboardKey keyboardKey;
public KeyboardStatement(Token order, KeyboardKey keyboardKey) {
this.order = order;
this.keyboardKey = keyboardKey;
}
public Token getOrde... | 44,663 |
https://github.com/jenalgit/TKBARUPHP/blob/master/resources/views/warehouse/edit.blade.php | Github Open Source | Open Source | MIT | 2,017 | TKBARUPHP | jenalgit | Blade | Code | 370 | 2,065 | @extends('layouts.adminlte.master')
@section('title')
@lang('warehouse.edit.title')
@endsection
@section('page_title')
<span class="fa fa-wrench fa-fw"></span> @lang('warehouse.edit.page_title')
@endsection
@section('page_title_desc')
@lang('warehouse.edit.page_title_desc')
@endsection
@section('br... | 50,061 |
https://github.com/technicalpoets/producer/blob/master/Producer/Producer.Functions/Domain/FunctionExtensions.cs | Github Open Source | Open Source | MIT | 2,020 | producer | technicalpoets | C# | Code | 151 | 444 | using System;
using Microsoft.WindowsAzure.Storage.Blob;
using Producer.Domain;
namespace Producer.Functions
{
public static class FunctionExtensions
{
public static void HasValueOrThrow (params (string Name, string Value) [] parameters)
{
foreach (var parameter in parameters)
{
if (string.IsNullOrE... | 19,602 |
https://github.com/notriddle/stdweb/blob/master/src/webapi/html_elements/input.rs | Github Open Source | Open Source | Apache-2.0, MIT | 2,022 | stdweb | notriddle | Rust | Code | 338 | 980 | use webcore::value::Reference;
use webcore::try_from::TryInto;
use webapi::dom_exception::InvalidStateError;
use webapi::event_target::{IEventTarget, EventTarget};
use webapi::node::{INode, Node};
use webapi::element::{IElement, Element};
use webapi::html_element::{IHtmlElement, HtmlElement};
/// The HTML input elemen... | 49,867 |
https://github.com/pandepic/GAME_OFF_2020/blob/master/GameStates/GameStateWon.cs | Github Open Source | Open Source | MIT | null | GAME_OFF_2020 | pandepic | C# | Code | 138 | 456 | using ElementEngine;
using System;
using System.Collections.Generic;
using System.Text;
using Veldrid;
namespace GAME_OFF_2020.GameStates
{
public class GameStateWon : GameState
{
public SpriteFont DefaultFont { get; set; }
public SpriteBatch2D SpriteBatch;
public Sprite TitleSprite { ... | 43,736 |
https://github.com/railsware/piro/blob/master/assets/javascripts/views/projects/settings.js.coffee | Github Open Source | Open Source | Apache-2.0 | 2,016 | piro | railsware | CoffeeScript | Code | 159 | 916 | class PiroPopup.Views.ProjectsSettings extends Backbone.View
template: SHT['projects/settings']
events:
"click .close_settings" : "closeSettings"
"click .delete_icon" : "deleteIcon"
"change .project_upload_icon" : "uploadIconFile"
"dragover #uploadIconZon... | 16,666 |
https://github.com/gitter-badger/NetworkParser/blob/master/src/test/java/de/uniks/networkparser/test/javafx/AutoCompletion.java | Github Open Source | Open Source | MIT | null | NetworkParser | gitter-badger | Java | Code | 85 | 376 | package de.uniks.networkparser.test.javafx;
import de.uniks.networkparser.ext.javafx.controls.AutoCompletionList;
import de.uniks.networkparser.ext.javafx.controls.TextEditorControl;
import javafx.application.Application;
import javafx.scene.Scene;
import javafx.scene.control.Label;
import javafx.scene.layout.GridPane... | 48,297 |
https://github.com/icxldd/abp-vue-admin-element-typescript/blob/master/aspnet-core/tests/LINGYUN.Abp.AuditLogging.Elasticsearch.Tests/LINGYUN/Abp/AuditLogging/Elasticsearch/AbpAuditLoggingElasticsearchTestModule.cs | Github Open Source | Open Source | MIT | 2,021 | abp-vue-admin-element-typescript | icxldd | C# | Code | 82 | 402 | using LINGYUN.Abp.Elasticsearch;
using LINGYUN.Abp.Tests;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
using Volo.Abp;
using Volo.Abp.Modularity;
namespace LINGYUN.Abp.AuditLogging.Elasticsearch
{
[DependsOn(
typeof(AbpTestsBa... | 643 |
https://github.com/bruckwubete/tibeb.front/blob/master/src/app/@core/@data/actions/data.ts | Github Open Source | Open Source | MIT | null | tibeb.front | bruckwubete | TypeScript | Code | 220 | 480 | import { Action } from '@ngrx/store';
import { Data, RegisterDataPayload } from '../models/data';
export enum DataActionTypes {
Register = '[Data] Register',
Get = '[Data] Get',
GetDone = '[Data] Get Done',
QueryData = '[Data] QueryData',
QueryDataDone = '[Data] QueryData Done',
Update = '[Data] Update',
... | 29,599 |
https://github.com/baracil/jdgen/blob/master/perococco.jdgen.core/src/test/java/perococco/jdgen/core/TestCouple.java | Github Open Source | Open Source | MIT | null | jdgen | baracil | Java | Code | 56 | 264 | package perococco.jdgen.core;
import lombok.NonNull;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.Arguments;
import org.junit.jupiter.params.provider.MethodSource;
import java.util.Set;
import java.util.stream.Stream;
public clas... | 44,204 |
https://github.com/mkhare/tunnelpi/blob/master/pubnub-gateway/c-core-master/core/samples/pubnub_sync_send.c | Github Open Source | Open Source | MIT | 2,017 | tunnelpi | mkhare | C | Code | 190 | 740 | #include "pubnub_sync.h"
#include <unistd.h>
#include <codec.h>
#include <string.h>
void
start_btmon_caputre()
{
int rc = 0;
char cmd[256];
snprintf(cmd, sizeof(cmd), "btmon -w %s &", SRC_FILE_PATH);
printf("cmd generated is %s\n", cmd);
rc = system(cmd);
if (rc) {
printf("opening BT ... | 28,626 |
https://github.com/dragonfruitnetwork/link/blob/master/DragonFruit.Link/Store/Responses/SteamFeaturedAppListingResponse.cs | Github Open Source | Open Source | MIT | 2,020 | link | dragonfruitnetwork | C# | Code | 78 | 266 | // DragonFruit Link Copyright (C) DragonFruit Network <inbox@dragonfruit.network>
// Licensed under MIT. Please refer to the LICENCE file for more info
using System.Collections.Generic;
using DragonFruit.Link.Store.Objects;
using Newtonsoft.Json;
namespace DragonFruit.Link.Store.Responses
{
public class SteamFea... | 2,665 |
https://github.com/swcest/jpo-ode/blob/master/jpo-ode-core/src/main/java/us/dot/its/jpo/ode/wrapper/serdes/MessagingSerializer.java | Github Open Source | Open Source | Apache-2.0 | 2,018 | jpo-ode | swcest | Java | Code | 51 | 186 | package us.dot.its.jpo.ode.wrapper.serdes;
import java.util.Map;
import org.apache.kafka.common.serialization.Serializer;
import us.dot.its.jpo.ode.util.SerializationUtils;
public class MessagingSerializer<T> implements Serializer<T> {
SerializationUtils<T> serializer = new SerializationUtils<T>();
@Overr... | 17,705 |
https://github.com/Boyquotes/godot-dialink/blob/master/Simple.gd | Github Open Source | Open Source | MIT | 2,020 | godot-dialink | Boyquotes | GDScript | Code | 229 | 830 | extends Node
onready var select := $UI/Menu/DialogSelection as OptionButton
onready var choices_container := $UI/Dialog/Content/Choices as VBoxContainer
onready var dialog_text := $UI/Dialog/Content/DialogText as RichTextLabel
onready var dialog_title := $UI/Dialog/Title as Label
onready var dialog_next := $UI/Dialog/... | 53,282 |
https://github.com/splangi/XChange/blob/master/xchange-bitmex/src/main/java/org/knowm/xchange/bitmex/service/BitmexTradeServiceRaw.java | Github Open Source | Open Source | MIT | 2,018 | XChange | splangi | Java | Code | 129 | 498 | package org.knowm.xchange.bitmex.service;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import org.knowm.xchange.Exchange;
import org.knowm.xchange.bitmex.BitmexException;
import org.knowm.xchange.bitmex.dto.marketdata.BitmexPrivateOrder;
import org.knowm.xchange.bitmex.dto.trade.Bitm... | 12,852 |
https://github.com/sunyongtao87/dbsyncer/blob/master/dbsyncer-biz/src/main/java/org/dbsyncer/biz/impl/MappingServiceImpl.java | Github Open Source | Open Source | Apache-2.0 | 2,022 | dbsyncer | sunyongtao87 | Java | Code | 489 | 2,180 | package org.dbsyncer.biz.impl;
import org.dbsyncer.biz.BizException;
import org.dbsyncer.biz.ConnectorService;
import org.dbsyncer.biz.MappingService;
import org.dbsyncer.biz.TableGroupService;
import org.dbsyncer.biz.checker.impl.mapping.MappingChecker;
import org.dbsyncer.biz.vo.ConnectorVo;
import org.dbsyncer.biz.... | 21,326 |
https://github.com/statisticssweden/PxWeb/blob/master/PXWeb/Code/Security/PXWebDefaultMembershipProvider.cs | Github Open Source | Open Source | Apache-2.0 | 2,023 | PxWeb | statisticssweden | C# | Code | 569 | 1,841 | using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Configuration;
using System.Web.Security;
namespace PXWeb.Security
{
public class PXWebDefaultMembershipProvider : MembershipProvider
{
... | 6,269 |
https://github.com/modichirag/fm_eor/blob/master/codes/solve.py | Github Open Source | Open Source | MIT | 2,019 | fm_eor | modichirag | Python | Code | 270 | 1,064 | import numpy
from scipy.interpolate import InterpolatedUnivariateSpline as interpolate
from cosmo4d.lab import (UseComplexSpaceOptimizer,
LBFGS, ParticleMesh)
from cosmo4d.lab import dg
from abopt.algs.lbfgs import scalar as scalar_diag
import os
#optimizer
def solve(Nmesh, x0, rtol, run, Nsm, ... | 13,576 |
https://github.com/allegrofb/Allegrofb/blob/master/docs/man/al_get_keyboard_state.3 | Github Open Source | Open Source | BSD-3-Clause | null | Allegrofb | allegrofb | null | Spoken | 53 | 177 | .TH al_get_keyboard_state 3 "" "Allegro reference manual"
.SH NAME
.PP
al_get_keyboard_state
.SH SYNOPSIS
.IP
.nf
\f[C]
#include\ <allegro5/allegro.h>
void\ al_get_keyboard_state(ALLEGRO_KEYBOARD_STATE\ *ret_state)
\f[]
.fi
.SH DESCRIPTION
.PP
Save the state of the keyboard specified at the time the function
is called... | 4,762 |
https://github.com/archifacts/fraktalio-example/blob/master/src/main/java/org/archifacts/example/fraktalio/model/FraktalioBuildingBlock.java | Github Open Source | Open Source | Apache-2.0 | 2,021 | fraktalio-example | archifacts | Java | Code | 59 | 275 | package org.archifacts.example.fraktalio.model;
import java.util.Set;
import java.util.stream.Collectors;
import org.archifacts.core.model.Artifact;
import org.archifacts.core.model.ArtifactRelationship;
import org.archifacts.core.model.ArtifactRelationshipRole;
public abstract class FraktalioBuildingBlock {
priva... | 12,796 |
https://github.com/helgeho/ArchiveSpark-server/blob/master/src/main/scala/org/archive/archivespark/server/RequestController.scala | Github Open Source | Open Source | MIT | 2,021 | ArchiveSpark-server | helgeho | Scala | Code | 153 | 513 | package org.archive.archivespark.server
import org.scalatra.guavaCache.GuavaCache
import org.scalatra.{ActionResult, BadRequest, Ok, ScalatraServlet}
import scala.collection.JavaConverters._
class RequestController extends ScalatraServlet {
def cache(key: String)(value: => ActionResult): ActionResult = {
val r... | 22,824 |
https://github.com/horsemaker/TwitterBot/blob/master/node_modules/twitter-api-client/dist/interfaces/types/TrendsPlaceTypes.d.ts | Github Open Source | Open Source | MIT | 2,021 | TwitterBot | horsemaker | TypeScript | Code | 38 | 105 | export default interface TrendsPlace {
trends: Trend[];
as_of: string;
created_at: string;
locations: Location[];
}
export interface Location {
name: string;
woeid: number;
}
export interface Trend {
name: string;
url: string;
promoted_content?: any;
query: string;
tweet_volu... | 50,077 |
https://github.com/ignatovg/Software-University/blob/master/Projects/Army/Last Army/Entities/Ammunitions/Helmet.cs | Github Open Source | Open Source | MIT | 2,019 | Software-University | ignatovg | C# | Code | 19 | 37 | public class Helmet : Ammunition
{
private const double WeightConst = 2.3;
public override double Weight => WeightConst;
}
| 26,656 |
https://github.com/rnotg/bonsai/blob/master/Bonsai.Design.Visualizers/TimestampedTimeSeriesVisualizer.cs | Github Open Source | Open Source | MIT | 2,021 | bonsai | rnotg | C# | Code | 132 | 737 | using System;
using System.Reactive;
using Bonsai;
using Bonsai.Design.Visualizers;
[assembly: TypeVisualizer(typeof(TimestampedTimeSeriesVisualizer<byte>), Target = typeof(Timestamped<byte>))]
[assembly: TypeVisualizer(typeof(TimestampedTimeSeriesVisualizer<int>), Target = typeof(Timestamped<int>))]
[assembly: TypeV... | 47,531 |
https://github.com/delainewendling/bangazon/blob/master/Models/PaymentType.cs | Github Open Source | Open Source | MIT | null | bangazon | delainewendling | C# | Code | 67 | 202 | using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Bangazon.Models
{
//Think of these classes as the actual tables
public class PaymentType
{
[Key]
public int PaymentTypeId {get;set;}
[Required]
[DataType(DataType.Date)]
... | 43,976 |
https://github.com/missaugustina/nova-api-docs-tracker/blob/master/out/body_images.inc | Github Open Source | Open Source | Apache-2.0, ISC | 2,016 | nova-api-docs-tracker | missaugustina | Pascal | Code | 31 | 56 | Verify Body Text for images.inc
Source File: ../tests/test_files/images.inc
Is formatting of the introduction text for each section well formatted?
Check for lists and headers that may have been stripped in processing.
| 35,663 |
https://github.com/nextcloud/android-library/blob/master/library/src/androidTest/java/com/nextcloud/android/lib/richWorkspace/RichWorkspaceDirectEditingRemoteOperationIT.java | Github Open Source | Open Source | MIT, Apache-2.0, LicenseRef-scancode-unknown-license-reference | 2,023 | android-library | nextcloud | Java | Code | 277 | 832 | /*
* Nextcloud Android client application
*
* @author Tobias Kaminsky
* Copyright (C) 2019 Tobias Kaminsky
* Copyright (C) 2019 Nextcloud GmbH
*
* 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 Softwa... | 49,798 |
https://github.com/niemenmaa/leijonaa/blob/master/assets/styles/common/_variables.scss | Github Open Source | Open Source | MIT | 2,017 | leijonaa | niemenmaa | SCSS | Code | 16 | 51 | // Fonts
$sansserif: Oswald, Georgia, times;
$serif: Georgia, times;
$comic: Kalam, comic;
// Colors
$dark: #18191E; | 1,655 |
https://github.com/yuricodes/creative-upload-api-mock/blob/master/src/services/creative/creative.service.js | Github Open Source | Open Source | MIT | null | creative-upload-api-mock | yuricodes | JavaScript | Code | 60 | 145 | // Initializes the `creative` service on path `/creative`
import createService from './creative.class'
import * as hooks from './creative.hooks'
export default function(app) {
const paginate = app.get('paginate')
const options = {
paginate,
}
// Initialize our service with any options it requires
app.use('/cr... | 5,012 |
https://github.com/XiaoMi/mone/blob/master/hera-all/opentelemetry-java-instrumentation/instrumentation/tesla/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/tesla/TeslaInstrumentationModule.java | Github Open Source | Open Source | Apache-2.0 | 2,023 | mone | XiaoMi | Java | Code | 57 | 294 | /*
* Copyright The OpenTelemetry Authors
* SPDX-License-Identifier: Apache-2.0
*/
package io.opentelemetry.javaagent.instrumentation.tesla;
import com.google.auto.service.AutoService;
import io.opentelemetry.javaagent.extension.instrumentation.InstrumentationModule;
import io.opentelemetry.javaagent.extension.inst... | 8,356 |
https://github.com/jdcsma/projavawebapp/blob/master/ch5/customer-support-v3/web/index.jsp | Github Open Source | Open Source | MIT | null | projavawebapp | jdcsma | null | Spoken | 2 | 12 | <c:redirect url="/v3/login"/> | 8,579 |
https://github.com/rodgersea/hw_11/blob/master/routes/apiRoutes.js | Github Open Source | Open Source | ADSL | null | hw_11 | rodgersea | JavaScript | Code | 89 | 330 | var notes = require('../db/db.json');
var fs = require('fs');
module.exports = function(app) {
app.get('/api/notes', function(req, res) {
fs.readFile("db/db.json", "utf8", function (err, data) {
if (err) throw err;
res.json(notes);
})
})
app.post('/api/notes', ... | 19,548 |
https://github.com/octansIt/environmentassessment/blob/master/EnvironmentAssessment.Wizard/Common/VimApi/P/PassiveNodeDeploymentSpec_LinkedView.cs | Github Open Source | Open Source | MIT | 2,020 | environmentassessment | octansIt | C# | Code | 11 | 45 | namespace EnvironmentAssessment.Common.VimApi
{
public class PassiveNodeDeploymentSpec_LinkedView : NodeDeploymentSpec_LinkedView
{
}
}
| 382 |
https://github.com/yy1365678006/graduation/blob/master/src/main/java/com/yzy/dao/User.java | Github Open Source | Open Source | MIT | 2,020 | graduation | yy1365678006 | Java | Code | 46 | 160 | package com.yzy.dao;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.Date;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class User {
private String id; //用户i... | 40,632 |
https://github.com/loserq/FunnySmali/blob/master/smali/com/android/systemui/screenshot/SaveImageInBackgroundTask.smali | Github Open Source | Open Source | Apache-2.0 | null | FunnySmali | loserq | Smali | Code | 3,100 | 20,255 | .class Lcom/android/systemui/screenshot/SaveImageInBackgroundTask;
.super Landroid/os/AsyncTask;
.source "GlobalScreenshot.java"
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"Landroid/os/AsyncTask<",
"Ljava/lang/Void;",
"Ljava/lang/Void;",
"Ljava/lang/Vo... | 28,514 |
https://github.com/soonoo/nodegui/blob/master/src/lib/QtEnums/SizeMode/index.ts | Github Open Source | Open Source | MIT | 2,021 | nodegui | soonoo | TypeScript | Code | 11 | 22 | export enum SizeMode {
AbsoluteSize = 0,
RelativeSize = 1
} | 34,815 |
https://github.com/xiaohui-j-liu/kanban-board/blob/master/components/task/task.tsx | Github Open Source | Open Source | Apache-2.0 | 2,020 | kanban-board | xiaohui-j-liu | TypeScript | Code | 310 | 1,048 | import { useMutation } from '@apollo/client';
import PropTypes from 'prop-types';
import { Draggable } from 'react-beautiful-dnd';
import { Error } from '../error';
import { GET_COLUMNS_AND_TASKS } from '../../utils/graphql/queries';
import {
UPDATE_TASK_TITLE,
UPDATE_TASK_BODY,
DELETE_TASK,
} from '../../utils/g... | 43,417 |
https://github.com/zaion520/ATtomato/blob/master/release/src-rt-6.x.4708/router/samba3/source4/torture/ldap/nested_search.c | Github Open Source | Open Source | FSFAP | 2,019 | ATtomato | zaion520 | C | Code | 625 | 2,318 | /*
Unix SMB/CIFS implementation.
BRIEF FILE DESCRIPTION
Copyright (C) Kamen Mazdrashki <kamen.mazdrashki@postpath.com> 2010
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either ... | 33,316 |
https://github.com/SvetaSR/lesscss-java/blob/master/src/test/java/integration/BootstrapIT.java | Github Open Source | Open Source | Apache-2.0 | 2,021 | lesscss-java | SvetaSR | Java | Code | 202 | 480 | /* Copyright 2011-2012 The Apache Software Foundation.
*
* 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 appli... | 42,294 |
https://github.com/aartrama/aartrama.github.io/blob/master/node_modules/@effect-ts/system/Hub/_internal/BoundedHubSingle.js | Github Open Source | Open Source | MIT | 2,023 | aartrama.github.io | aartrama | JavaScript | Code | 434 | 1,309 | "use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.BoundedHubSingle = void 0;
require("../../Operator/index.js");
var Chunk = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("../../Collections/Immutable/Chunk/index.js"));
var _Hub = /*#__PURE__*/require("./Hub.js");
f... | 37,138 |
https://github.com/nileshp87/fluentui/blob/master/packages/react-next/src/common/_themeCssVariables.scss | Github Open Source | Open Source | MIT | 2,020 | fluentui | nileshp87 | SCSS | Code | 485 | 4,699 | // This needs to be in sync with Theme shape and how ThemeProvider provides the css variables.
// generated using: https://codepen.io/xugao/pen/wvKrmYo
$paletteThemeDarker: --palette-themeDarker;
$paletteThemeDark: --palette-themeDark;
$paletteThemeDarkAlt: --palette-themeDarkAlt;
$paletteThemePrimary: --palette-themeP... | 4,140 |
https://github.com/1EdVardanyan1/akcion/blob/master/src/AppBundle/Entity/TopSelling.php | Github Open Source | Open Source | MIT | null | akcion | 1EdVardanyan1 | PHP | Code | 106 | 334 | <?php
/**
* Created by PhpStorm.
* User: Comp
* Date: 10/29/2018
* Time: 11:01 PM
*/
namespace AppBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity
* @ORM\Table(name="top_selling")
*/
class TopSelling
{
/**
* @ORM\Id
* @ORM\GeneratedValue(strategy="AUTO")
* @ORM\Column(typ... | 25,179 |
https://github.com/bluecadet/Cinder-BluecadetViews/blob/master/src/bluecadet/touch/TouchManager.cpp | Github Open Source | Open Source | MIT | 2,021 | Cinder-BluecadetViews | bluecadet | C++ | Code | 1,149 | 4,106 | #include "TouchManager.h"
#include "boost/lexical_cast.hpp"
#include "cinder/app/RendererGl.h"
#include "cinder/gl/gl.h"
#include "cinder/gl/TextureFont.h"
#include "cinder/Log.h"
namespace bluecadet {
namespace touch {
using namespace std;
using namespace ci;
using namespace ci::app;
using namespace bluecadet::view... | 46,121 |
https://github.com/eazyliving/podlove-subscribe-button/blob/master/src/stylesheets/_podlove-mixins.scss | Github Open Source | Open Source | MIT | 2,021 | podlove-subscribe-button | eazyliving | SCSS | Code | 20 | 74 | $podlove-easing: cubic-bezier(0.62, 0.28, 0.23, 0.99);
$shadow-level-1: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
| 47,565 |
https://github.com/raindigi/Merchello/blob/master/src/Merchello.Web/Models/ContentEditing/CurrencyDisplay.cs | Github Open Source | Open Source | MIT | 2,022 | Merchello | raindigi | C# | Code | 135 | 369 | namespace Merchello.Web.Models.ContentEditing
{
using System.Diagnostics.CodeAnalysis;
using Merchello.Core.Models;
/// <summary>
/// The currency display.
/// </summary>
public class CurrencyDisplay
{
/// <summary>
/// Gets or sets the name.
/// </summary>
... | 36,653 |
https://github.com/MichaelArestad/Anvil-Kit/blob/master/scss/partials/_form.scss | Github Open Source | Open Source | MIT | 2,015 | Anvil-Kit | MichaelArestad | SCSS | Code | 182 | 576 | // Below, you can choose from either using global form styles or class-driven
// form styles. By default, the global styles are on.
%form {
max-width: 600px;
padding: 20px;
border: 1px solid #95a1ae;
@include border-radius(9px);
@include gradient(#e4eff5, #d4e4eb);
@include box-shadow(rgba(000,... | 36,657 |
https://github.com/modelica/Modelica_LinearSystems2/blob/master/Modelica_LinearSystems2/Examples/StateSpace/plotBodeMIMO.mo | Github Open Source | Open Source | BSD-3-Clause | 2,023 | Modelica_LinearSystems2 | modelica | Modelica | Code | 171 | 631 | within Modelica_LinearSystems2.Examples.StateSpace;
function plotBodeMIMO
"Constructs zeros-and-poles-transfers from state space representation and plots the Bode diagrams with automatic determination of the frequency range to plot "
extends Modelica.Icons.Function;
import Modelica_LinearSystems2.StateSpace;
... | 40,319 |
https://github.com/cloudflare/amphtml/blob/master/extensions/amp-crypto-polyfill/0.1/amp-crypto-polyfill.js | Github Open Source | Open Source | Apache-2.0, LicenseRef-scancode-unknown-license-reference | 2,017 | amphtml | cloudflare | JavaScript | Code | 124 | 237 | /**
* Copyright 2017 The AMP HTML Authors. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless require... | 17,704 |
https://github.com/InversePalindrome/PalindromeNetwork/blob/master/Server/src/ChatServer.cpp | Github Open Source | Open Source | MIT | 2,021 | PalindromeNetwork | InversePalindrome | C++ | Code | 58 | 230 | /*
Copyright (c) 2019 InversePalindrome
Palindrome Network Server - ChatServer.cpp
http://inversepalindrome.com
*/
#include "ChatServer.hpp"
#include "ChatSession.hpp"
#include <iostream>
ChatServer::ChatServer(boost::asio::io_service& service, tcp::endpoint const& endpoint) :
acceptor(service, endpoint),
... | 4,472 |
https://github.com/sk115/use-nodecg/blob/master/src/use-replicant-once.ts | Github Open Source | Open Source | MIT | 2,021 | use-nodecg | sk115 | TypeScript | Code | 56 | 196 | import {useState} from 'react';
export interface UseReplicantOnceOptions {
bundle: string;
}
export const useReplicantOnce = <T>(
replicantName: string,
initialValue: T,
options?: UseReplicantOnceOptions,
): T => {
const [state, setState] = useState(initialValue);
if (options && options.bundle) {
nodecg.readR... | 31,083 |
https://github.com/Mohamed-Hassan-M-M/Attendance/blob/master/resources/views/admin/profile/editProfile.blade.php | Github Open Source | Open Source | MIT | null | Attendance | Mohamed-Hassan-M-M | PHP | Code | 84 | 428 | <form class="form" id="updateform" action="{{route('admin.profile.doEditProfile')}}" method="POST">
@csrf
<div class="d-flex flex-column">
<div class="form-group d-flex flex-row col-md-8 m-auto">
<label for="user_name" class="col-md-4 p-2">{{__('messages.Username')}}</label>
<div... | 45,292 |
https://github.com/shitlsh/action-download-artifact/blob/master/node_modules/@octokit/types/dist-src/VERSION.js | Github Open Source | Open Source | MIT | 2,021 | action-download-artifact | shitlsh | JavaScript | Code | 5 | 15 | export const VERSION = "6.13.2";
| 12,855 |
https://github.com/uros-tm/JSNetworkX/blob/master/src/classes/__tests__/2_MultiGraph-test.js | Github Open Source | Open Source | BSD-3-Clause | 2,022 | JSNetworkX | uros-tm | JavaScript | Code | 508 | 1,779 | /*global assert, utils*/
'use strict';
import BaseMultiGraphTester from './BaseMultiGraphTester';
import {TestGraph} from './0_Graph-test';
import {KeyError, JSNetworkXError} from '../../exceptions';
import MultiGraph from '../MultiGraph';
var Map = utils.Map;
export var TestMultiGraph = Object.assign({}, TestGraph,... | 5,965 |
https://github.com/TF-185/Transactions/blob/master/src/Castle.Facilities.AutoTx/Lifestyles/WrapperResolveLifestyleManager.cs | Github Open Source | Open Source | Apache-2.0 | 2,020 | Transactions | TF-185 | C# | Code | 449 | 1,493 | #region license
// Copyright 2004-2012 Castle Project, Henrik Feldt &contributors - https://github.com/castleproject
//
// 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://w... | 45,622 |
https://github.com/wuxingyu1983/HackerRank/blob/master/HackerRankCity/main.cc | Github Open Source | Open Source | MIT | null | HackerRank | wuxingyu1983 | C++ | Code | 261 | 566 | #include <cmath>
#include <cstdio>
#include <vector>
#include <iostream>
#include <algorithm>
#include <stdio.h>
#include <string.h>
using namespace std;
#define MOD 1000000007
#define DEBUG 0
int main() {
int n;
scanf("%d", &n);
vector<unsigned long long> a;
a.resize(n);
unsigned long... | 4,491 |
https://github.com/google/xls/blob/master/xls/dslx/type_system/unwrap_meta_type.cc | Github Open Source | Open Source | Apache-2.0 | 2,023 | xls | google | C++ | Code | 174 | 459 | // Copyright 2023 The XLS Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed t... | 27,872 |
https://github.com/MethodLevelAnalyzer/spotinst-sdk-java/blob/master/src/main/java/com/spotinst/sdkjava/model/GroupTagSpecification.java | Github Open Source | Open Source | Apache-2.0 | 2,020 | spotinst-sdk-java | MethodLevelAnalyzer | Java | Code | 79 | 294 | package com.spotinst.sdkjava.model;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import java.util.HashSet;
import java.util.Set;
@JsonIgnoreProperties(ignoreUnknown = true)
public class GroupTagSpecification {
//region Members
@JsonIgnore
... | 11,535 |
https://github.com/shykygnd/theHook/blob/master/src/hook.go | Github Open Source | Open Source | MIT | 2,018 | theHook | shykygnd | Go | Code | 373 | 1,321 | package main
import (
"bufio"
"fmt"
"io/ioutil"
"net/http"
"os"
"regexp"
"strings"
"text/template"
)
var (
hooktemplate *template.Template
logf *os.File
cloneurl, port, ipforhook string
)
func init() {
//statustemplate = template.Must(template.ParseFiles("templates/statu... | 54,196 |
https://github.com/MarkDeMaria/origin/blob/master/pkg/template/client/clientset_generated/release_v1_4/typed/core/v1/generated_expansion.go | Github Open Source | Open Source | Apache-2.0 | 2,021 | origin | MarkDeMaria | Go | Code | 5 | 14 | package v1
type TemplateExpansion interface{}
| 9,902 |
https://github.com/johnryan16/Guardian.swift/blob/master/GuardianTests/Keys/ASNPublicKeyDecodableSpec.swift | Github Open Source | Open Source | MIT | 2,021 | Guardian.swift | johnryan16 | Swift | Code | 317 | 857 | // ASNPublicKeyDecodableSpec.swift
//
// Copyright (c) 2018 Auth0 (http://auth0.com)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation th... | 37,206 |
https://github.com/web-player/resolution/blob/master/classes/resolution.class.php | Github Open Source | Open Source | Apache-2.0 | 2,016 | resolution | web-player | PHP | Code | 71 | 330 | <?php
//resolution.class.php
/**
* resolution class
*/
class res
{
public $userid; //userid of user
public $title; //resulatoin title
public $text; //resolution text
public $mode; //resolution visibility mode
public function read_table($uid) //$uid == $userid
{
include '/dbms/dbms_imp.php... | 33,305 |
https://github.com/korneliusdassi/tes-laravel/blob/master/resources/views/mahasiswa/create.blade.php | Github Open Source | Open Source | MIT | 2,022 | tes-laravel | korneliusdassi | PHP | Code | 118 | 567 | @extends('layouts.index')
@section('content')
<div class="card-body mt-5">
<div class="col-md-4 offset-md-4">
<form action="{{ url('mahasiswa') }}" method="POST">
@csrf
<div class="form-group">
<label for="nama" class="form-label">Nama Mahasiswa</label>
<input type="text" ... | 24,622 |
https://github.com/mir597/ml_safe/blob/master/tests/bug_detector_tests/shadowingFuncFunc1.js | Github Open Source | Open Source | BSD-3-Clause | 2,020 | ml_safe | mir597 | JavaScript | Code | 14 | 25 | // first f is shadowed
function f() { }
function f() { }
f();
| 47,557 |
https://github.com/Hevedy/UE4Plugin/blob/master/Source/ThirdParty/mod.io-sdk/include/c/methods/callbacks/DownloadsCallbacks.h | Github Open Source | Open Source | MIT | 2,020 | UE4Plugin | Hevedy | C++ | Code | 38 | 184 | #ifndef MODIO_DOWNLOADS_CALLBACKS_H
#define MODIO_DOWNLOADS_CALLBACKS_H
#include "../../../Globals.h"
#include "../../../ModioUtility.h"
struct CheckIfModsAreUpdatedParams
{
void* object;
void(*callback)(void* object, ModioResponse response, bool mods_are_updated);
};
extern std::map< u32, CheckIfModsAreUpdatedPar... | 29,303 |
https://github.com/gabiusp/ICC1/blob/master/determinante.c | Github Open Source | Open Source | MIT | 2,020 | ICC1 | gabiusp | C | Code | 639 | 1,514 | /*******************************************************************************
| USP-Universidade de São Paulo |
| ICMC-Instituto de Ciências Matemáticas e de Computação |
****************************************************************************... | 31,018 |
https://github.com/Ashmouth/ProjetCA/blob/master/src/base/Label.cpp | Github Open Source | Open Source | MIT | 2,020 | ProjetCA | Ashmouth | C++ | Code | 55 | 198 | #include <Label.h>
Label::Label( string lab){
_line= lab;
_next=NULL;
_prev=NULL;
}
Label::~Label(){
}
string Label::to_string(){
return _line;
}
t_Line Label::type_line(){
return line_Lab;
}
string Label::get_content(){
return _line + ":";
}
void Label::set_content(string line){
_line =line;
}
t_Ins... | 32,031 |
https://github.com/oliveiraCode/SearchNews/blob/master/SearchNews/Models/News.swift | Github Open Source | Open Source | Apache-2.0 | null | SearchNews | oliveiraCode | Swift | Code | 37 | 88 | //
// News.swift
// SearchNews
//
// Created by Leandro Fernandes De Oliveira on 2019-09-06.
// Copyright © 2019 Leandro Oliveira. All rights reserved.
//
import Foundation
struct News:Codable {
let status:String?
let totalResults:Int?
let articles:[Articles]
}
| 36,048 |
https://github.com/ai4reason/mm-atp-benchmark/blob/master/mmsetthf_v2/mnfltxr.p | Github Open Source | Open Source | CC0-1.0 | 2,023 | mm-atp-benchmark | ai4reason | OpenEdge ABL | Code | 197 | 646 | thf(cwcel_tp,type,(cwcel : (($i > $o) > (($i > $o) > $o)))).
thf(ccr_tp,type,(ccr : ($i > $o))).
thf(ccpnf_tp,type,(ccpnf : ($i > $o))).
thf(cwbr_tp,type,(cwbr : (($i > $o) > (($i > $o) > (($i > $o) > $o))))).
thf(ccmnf_tp,type,(ccmnf : ($i > $o))).
thf(cclt_tp,type,(cclt : ($i > $o))).
thf(ajaoi_ax,axiom,(! [Xph:$o] :... | 27,230 |
https://github.com/freestyle076/MyMsInspect/blob/master/extensions/mse_philosof/FeatureStrategyMSe.java | Github Open Source | Open Source | Apache-2.0 | 2,020 | MyMsInspect | freestyle076 | Java | Code | 224 | 1,083 | package org.fhcrc.cpl.viewer.feature.extraction.strategy;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import org.fhcrc.cpl.viewer.MSRun;
import org.fhcrc.cpl.viewer.feature.ExtractMaxima2D;
import org.fhcrc.cpl.viewer.feature.Feature;
import org.fhcrc.cpl.viewer.feature.Spectrum;... | 46,717 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.