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/mikebevz/drachtio-srf/blob/master/lib/types.d.ts | Github Open Source | Open Source | MIT | null | drachtio-srf | mikebevz | TypeScript | Code | 92 | 208 | export type Request = import('./request');
export type Response = import('./response');
export type Dialog = typeof import('./dialog').Dialog;
/**
* @typedef {import('./request')} Request
*/
/**
* @typedef {import('./response')} Response
*/
/**
* @typedef {typeof import('./dialog').Dialog} Dialog
*/
/**
* @type ... | 2,678 |
https://github.com/nicejk/KotlinMall/blob/master/UserCenter/src/main/java/com/oscar/usercenter/presenter/view/RegisterView.kt | Github Open Source | Open Source | Apache-2.0 | null | KotlinMall | nicejk | Kotlin | Code | 25 | 91 | package com.oscar.usercenter.presenter.view
import com.oscar.baselibrary.presenter.view.BaseView
/**
*
* @Description:
* @Author: haishan
* @CreateDate: 2020/9/28 3:36 PM
*/
interface RegisterView: BaseView {
fun onRegisterResult(result: Boolean)
} | 16,696 |
https://github.com/burningmantech/ranger-clubhouse-web/blob/master/app/routes/hq/messages.js | Github Open Source | Open Source | Apache-2.0 | 2,023 | ranger-clubhouse-web | burningmantech | JavaScript | Code | 49 | 185 | import ClubhouseRoute from 'clubhouse/routes/clubhouse-route';
export default class HqMessagesRoute extends ClubhouseRoute {
model() {
const person_id = this.modelFor('hq').person.id;
this.store.unloadAll('person-message');
if (this.session.isLMOPEnabled) {
return this.store.query('person-message'... | 35,596 |
https://github.com/giuseppe998e/unito-prog3/blob/master/MailClient/src/main/java/it/unito/prog/controllers/components/ServerStatusDot.java | Github Open Source | Open Source | MIT | null | unito-prog3 | giuseppe998e | Java | Code | 66 | 299 | package it.unito.prog.controllers.components;
import it.unito.prog.Main;
import it.unito.prog.model.modules.observables.Observables;
import javafx.beans.property.SimpleObjectProperty;
import javafx.scene.control.Tooltip;
import javafx.scene.paint.Color;
import javafx.scene.shape.Circle;
public class ServerStatusDot {... | 16,476 |
https://github.com/wireturn/bsv/blob/master/sdk/go-scryptlib/types_test.go | Github Open Source | Open Source | MIT | 2,022 | bsv | wireturn | Go | Code | 115 | 368 | package scryptlib
import (
"testing"
"math/big"
"github.com/stretchr/testify/assert"
)
func TestTypesInt(t *testing.T) {
bigIntObj := big.NewInt(0)
intObj := Int { value: bigIntObj }
hex, _ := intObj.Hex()
assert.Equal(t, "00", hex)
bigIntObj = big.NewInt(1)
intObj = Int { valu... | 10,940 |
https://github.com/papa-hexuan/juno/blob/master/assets/src/pages/confgo/config/views/publishItem.jsx | Github Open Source | Open Source | Apache-2.0 | 2,022 | juno | papa-hexuan | null | Spoken | 337 | 1,215 | import { Form, Icon, Input, Button, Checkbox, Modal, Row, Col, message, Spin } from 'antd';
import React from 'react';
import moment from 'moment';
import { ReactGhLikeDiff } from 'react-gh-like-diff';
import 'react-gh-like-diff/dist/css/diff2html.min.css';
import { getOriginPublishChange, getAppNodes } from '../servic... | 29,381 |
https://github.com/KarthikAbiram/LabVIEW-gRPC-Client-using-CSharp-Example/blob/master/Server/Clients/python/queryserver.py | Github Open Source | Open Source | MIT | 2,021 | LabVIEW-gRPC-Client-using-CSharp-Example | KarthikAbiram | Python | Code | 193 | 433 | #
# Example communication with LabVIEW Querey Server over gRPC
#
# Copyright 2021 National Instruments
# Licensed under the MIT license
#
# Getting Started:
#
# Install the gRPC tools for Python
# > pip install grpcio-tools
# if you are using anaconda
# > conda install grpcio-tools
#
# Generate the python API... | 11,478 |
https://github.com/sthao2/history/blob/master/ui/app/components/H3/index.jsx | Github Open Source | Open Source | MIT, LicenseRef-scancode-unknown-license-reference | 2,019 | history | sthao2 | JavaScript | Code | 15 | 42 | /* eslint-disable jsx-a11y/heading-has-content */
import React from 'react';
export default props => <h3 {...props} />;
| 15,682 |
https://github.com/ValeryPonomarenko/ComponentsManager/blob/master/example/feature_b/src/main/java/me/vponomarenko/feature/b/FragmentB.java | Github Open Source | Open Source | MIT | 2,021 | ComponentsManager | ValeryPonomarenko | Java | Code | 193 | 855 | package me.vponomarenko.feature.b;
import android.os.Bundle;
import android.text.Editable;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.EditText;
import org.jetbrains.annotations.NotNull;
import javax.inject.Inject;
import androidx.annotation.Non... | 16,009 |
https://github.com/GnarlyDave/joverseer/blob/master/joverseerjar/src/org/joverseer/ui/command/ShowCharacterPathMasteryRangeCommand.java | Github Open Source | Open Source | BSD-3-Clause | 2,020 | joverseer | GnarlyDave | Java | Code | 39 | 99 | package org.joverseer.ui.command;
/**
* Shows the movement range for a character using the Path Mastery spell on the map
*
* @author Marios Skounakis
*/
public class ShowCharacterPathMasteryRangeCommand extends ShowCharacterMovementRangeCommand {
public ShowCharacterPathMasteryRangeCommand(int hexNo) {
... | 22,534 |
https://github.com/ZpFate/XcodeTemplates/blob/master/Templates/Project Templates/iOS/Application/Document Based App.xctemplate/Document.h | Github Open Source | Open Source | MIT | 2,020 | XcodeTemplates | ZpFate | C | Code | 8 | 42 | //___FILEHEADER___
#import <UIKit/UIKit.h>
@interface ___FILEBASENAME___ : UIDocument
@end
| 52,753 |
https://github.com/nafiul1351/SoftTech/blob/master/resources/views/seller/not_approved_home.blade.php | Github Open Source | Open Source | MIT | 2,021 | SoftTech | nafiul1351 | PHP | Code | 64 | 280 | @extends('seller.layouts.app')
@section('content')
<div class="container-scroller">
<!-- Navbar -->
@include('seller.partials.navbar')
<div class="container-fluid page-body-wrapper">
<div class="row row-offcanvas row-offcanvas-right">
<!-- Sidebar -->
... | 4,699 |
https://github.com/alexshevelkin/DeepACSON/blob/master/train.py | Github Open Source | Open Source | MIT | 2,020 | DeepACSON | alexshevelkin | Python | Code | 308 | 1,080 | # -*- coding: utf-8 -*-
save_path = 'ADDRESS: save_path'
preview_data_path = 'ADDRESS: preview image of .h5 format'
preview_kwargs = {
'export_class': [0,1,2,3],
'max_z_pred': 1
}
initial_prev_h = 1 # hours: time after which the first preview is made
prev_save_h = 1 # hours: time interval between planne... | 33,755 |
https://github.com/cs11024/checker/blob/master/play-2.2.4/repository/cache/com.typesafe.play/templates-compiler_2.10/ivydata-2.2.4.properties | Github Open Source | Open Source | Apache-2.0 | 2,014 | checker | cs11024 | null | Spoken | 22 | 485 | #ivy cached data file for com.typesafe.play#templates-compiler_2.10;2.2.4
#Fri Oct 03 15:19:19 JST 2014
artifact\:ivy\#ivy.original\#xml\#-856059284.exists=true
resolver=sbt-chain
artifact\:ivy\#ivy\#xml\#2004482653.exists=true
artifact\:ivy\#ivy\#xml\#2004482653.is-local=true
artifact\:ivy\#ivy\#xml\#2004482653.locati... | 3,197 |
https://github.com/Spread0x/swagger-play-2_13/blob/master/play-2.7/swagger-play2/build.sbt | Github Open Source | Open Source | Apache-2.0 | null | swagger-play-2_13 | Spread0x | Scala | Code | 197 | 1,116 | name := "swagger-play2"
version := "1.7.2"
checksums in update := Nil
scalaVersion := "2.13.1"
//scalacOptions ++= Seq("-feature", "-Xfatal-warnings")
libraryDependencies ++= Seq(
"com.fasterxml.jackson.module" %% "jackson-module-scala" % "2.10.0",
"org.slf4j" % "slf4j-api" % "1... | 45,025 |
https://github.com/pauldaustin/gba-revolsys/blob/master/revolsys-core/src/main/java/com/revolsys/util/LongCounter.java | Github Open Source | Open Source | Apache-2.0 | 2,021 | gba-revolsys | pauldaustin | Java | Code | 102 | 274 | package com.revolsys.util;
import java.util.concurrent.atomic.AtomicLong;
public class LongCounter extends AtomicLong implements Counter {
private static final long serialVersionUID = 1L;
private final String name;
public LongCounter(final String name) {
this.name = name;
}
public LongCounter(final ... | 12,280 |
https://github.com/waaberi/chromium/blob/master/base/trace_event/trace_conversion_helper.h | Github Open Source | Open Source | BSD-3-Clause | 2,020 | chromium | waaberi | C++ | Code | 1,074 | 2,935 | // Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef BASE_TRACE_EVENT_TRACE_CONVERSION_HELPER_H_
#define BASE_TRACE_EVENT_TRACE_CONVERSION_HELPER_H_
#include <sstream>
#include <string>
#include "b... | 31,465 |
https://github.com/marcuswestin/iConsole/blob/master/iConsole/QBPopupMenuItem.h | Github Open Source | Open Source | Apache-2.0 | 2,015 | iConsole | marcuswestin | C | Code | 100 | 381 | //
// QBPopupMenuItem.h
// QBPopupMenu
//
// Created by Tanaka Katsuma on 2013/11/22.
// Copyright (c) 2013年 Katsuma Tanaka. All rights reserved.
//
#import <Foundation/Foundation.h>
#undef weak_safe
#if __has_feature(objc_arc_weak)
#define weak_safe weak
#else
#define weak_safe unsafe_unretained
#endif
@interface... | 1,433 |
https://github.com/NVIDIA/DL4AGX/blob/master/common/datasets/coco/data.cpp | Github Open Source | Open Source | Apache-2.0 | 2,023 | DL4AGX | NVIDIA | C++ | Code | 187 | 572 | /**************************************************************************
* Copyright (c) 2018-2019 NVIDIA Corporation. 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 Licens... | 52,001 |
https://github.com/tidepool-org/blip/blob/master/app/pages/patientprofile/patientprofile.js | Github Open Source | Open Source | BSD-2-Clause | 2,023 | blip | tidepool-org | JavaScript | Code | 450 | 1,724 | import React from 'react';
import { connect } from 'react-redux';
import { bindActionCreators } from 'redux';
import * as actions from '../../redux/actions';
import _ from 'lodash';
import Patient from '../patient/';
import { clinicPatientFromAccountInfo } from '../../core/personutils';
/**
* Expose "Smart" Compon... | 23,291 |
https://github.com/l2dy-sonarcloud/VictoriaMetrics/blob/master/vendor/github.com/valyala/gozstd/Makefile | Github Open Source | Open Source | Apache-2.0 | 2,021 | VictoriaMetrics | l2dy-sonarcloud | Makefile | Code | 256 | 1,198 | GOOS ?= $(shell go env GOOS)
GOARCH ?= $(shell go env GOARCH)
GOOS_GOARCH := $(GOOS)_$(GOARCH)
GOOS_GOARCH_NATIVE := $(shell go env GOHOSTOS)_$(shell go env GOHOSTARCH)
LIBZSTD_NAME := libzstd_$(GOOS_GOARCH).a
ZSTD_VERSION ?= v1.5.2
MUSL_BUILDER_IMAGE=golang:1.8.1-alpine
BUILDER_IMAGE := local/builder_musl:2.0.0-$(shel... | 8,595 |
https://github.com/jersonmr/biblioteca_iibcaudo/blob/master/resources/views/admin/areas/update.blade.php | Github Open Source | Open Source | MIT | null | biblioteca_iibcaudo | jersonmr | PHP | Code | 103 | 422 | @extends('layouts.master')
@section('content')
<div class="container">
<div class="row">
<div class="col-xs-12 col-sm-12 col-md-12">
<div class="panel panel-primary">
<div class="panel-heading">
Actualización de área
... | 1,589 |
https://github.com/isleofcode/ember-render-vendor/blob/master/build/compile-glimmer-app.js | Github Open Source | Open Source | MIT | 2,019 | ember-render-vendor | isleofcode | JavaScript | Code | 148 | 534 | const path = require('path');
const { GlimmerApp } = require('@glimmer/application-pipeline');
const Funnel = require('broccoli-funnel');
const mergeTrees = require('broccoli-merge-trees');
const writeFile = require('broccoli-file-creator');
module.exports = function compileGlimmerApp({
dir,
project,
baseSrcFun... | 48,697 |
https://github.com/bchankl/camel/blob/master/components/camel-gora/src/main/java/org/apache/camel/component/gora/GoraConsumer.java | Github Open Source | Open Source | Apache-2.0 | 2,021 | camel | bchankl | Java | Code | 332 | 853 | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | 24,302 |
https://github.com/widget1985/Arm-Rehab-Project/blob/master/Arm rehab unity/Assets/JukeBox/ExampleScene/Example_2.unity | Github Open Source | Open Source | MIT | 2,015 | Arm-Rehab-Project | widget1985 | Unity3D Asset | Code | 993 | 4,280 | %YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!29 &1
SceneSettings:
m_ObjectHideFlags: 0
m_PVSData:
m_PVSObjectsArray: []
m_PVSPortalsArray: []
m_OcclusionBakeSettings:
smallestOccluder: 5
smallestHole: .25
backfaceThreshold: 100
--- !u!104 &2
RenderSettings:
m_Fog: 0
m_FogColor: {r: .5, g: ... | 13,172 |
https://github.com/PulHome/infosystem/blob/master/pylint/tests/civilDefense/test1.t | Github Open Source | Open Source | MIT | 2,023 | infosystem | PulHome | Perl | Code | 8 | 12 | 4
1 2 6 10
2
7 3 | 31,389 |
https://github.com/MelvinG24/dust3d/blob/master/thirdparty/cgal/CGAL-5.1/include/CGAL/gl.h | Github Open Source | Open Source | MIT | 2,022 | dust3d | MelvinG24 | C | Code | 84 | 307 | // Copyright (c) 2008 GeometryFactory, Sophia Antipolis (France)
// All rights reserved.
//
// This file is part of CGAL (www.cgal.org)
//
// $URL: https://github.com/CGAL/cgal/blob/v5.1/Installation/include/CGAL/gl.h $
// $Id: gl.h 52164b1 2019-10-19T15:34:59+02:00 Sébastien Loriot
// SPDX-License-Identifier: LGPL-3.... | 45,485 |
https://github.com/d0scoo1/naga_contracts/blob/master/mainnet/contracts/0x1ccC90F5dd09c747fe46e176f5b5F7762a13Ba8F_SourceGovernor/contracts/chainbridge/SourceGovernor.sol | Github Open Source | Open Source | MIT | 2,023 | naga_contracts | d0scoo1 | Gerber Image | Code | 302 | 806 | // SPDX-License-Identifier: AGPL-3.0-only
pragma solidity ^0.8.0;
import "../oracle/interfaces/FinderInterface.sol";
import "../oracle/implementation/Constants.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "./IBridge.sol";
/**
* @title Governance relayer contract on L1 that receives messages from... | 33,768 |
https://github.com/alex-ren/Learn-ATS-Postiats-contrib/blob/master/contrib/MPI/TEST/Makefile | Github Open Source | Open Source | MIT | null | Learn-ATS-Postiats-contrib | alex-ren | Makefile | Code | 114 | 434 | #
# A simple Makefile
#
######
MPICC=mpicc
######
PATSHOMEQ="${PATSHOME}"
######
PATSCC=$(PATSHOMEQ)/bin/patscc
PATSOPT=$(PATSHOMEQ)/bin/patsopt
######
INCLUDE := -I${PATSHOME}
INCLUDE += -I${PATSHOME}/ccomp/runtime
INCLUDE += -I${PATSHOMERELOC}/contrib
######
all::
regress::
######
all:: \
mpi_hello
mpi_h... | 19,960 |
https://github.com/djpetti/rhodopsin/blob/master/rhodopsin/delegating_callback.py | Github Open Source | Open Source | MIT | null | rhodopsin | djpetti | Python | Code | 64 | 175 | try:
from tensorflow.keras.callbacks import Callback
except ImportError:
raise ImportError("Please install TensorFlow to use Keras integration"
" features.")
class DelegatingCallback(Callback):
"""
A simple Keras callback that delegates to something else.
"""
def __init_... | 43,945 |
https://github.com/fleon-psi/JFSLSMX_receiver/blob/master/hw/hw_action_rx100G.cpp | Github Open Source | Open Source | Apache-2.0 | 2,020 | JFSLSMX_receiver | fleon-psi | C++ | Code | 1,928 | 7,802 | /*
* Copyright 2017 International Business Machines
* Copyright 2019 Paul Scherrer Institute
*
* 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/LIC... | 368 |
https://github.com/weso/rdfshape-client/blob/master/src/components/ByStream.js | Github Open Source | Open Source | MIT | 2,022 | rdfshape-client | weso | JavaScript | Code | 258 | 936 | import PropTypes from "prop-types";
import React, { useContext, useEffect, useState } from "react";
import { InputGroup } from "react-bootstrap";
import Form from "react-bootstrap/Form";
import API from "../API";
import { ApplicationContext } from "../context/ApplicationContext";
import { InitialDataStream } from "../d... | 832 |
https://github.com/brichet/PyCrop2ML/blob/master/test/data/phenology/crop2ml/algo/cpp/VernalizationProgress.cpp | Github Open Source | Open Source | MIT | 2,022 | PyCrop2ML | brichet | C++ | Code | 147 | 498 |
double maxVernaProg, dLverna, primordno, minLeafNumber, tt, potlfno;
if (isVernalizable == 1 && vernaprog < 1)
{
tt = deltaTT; // other sirius versions use previous temperature value
if (tt >= minTvern && tt <= intTvern)
{
vernaprog = vernaprog + vAI * tt + vBEE;
}
if (tt > intTvern)
{
maxVernaProg = VAI * ... | 47,709 |
https://github.com/graphhopper/graphhopper/blob/master/reader-gtfs/src/main/java/com/conveyal/gtfs/model/Frequency.java | Github Open Source | Open Source | Apache-2.0, BSD-3-Clause, LGPL-2.0-or-later, LicenseRef-scancode-public-domain, BSD-2-Clause, MIT, ODbL-1.0 | 2,023 | graphhopper | graphhopper | Java | Code | 483 | 1,089 | /*
* Copyright (c) 2015, Conveyal
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice, this
* list of conditions an... | 37,286 |
https://github.com/shantanu-93/scalable-matrix-multiply/blob/master/target/streams/_global/assemblyOption/_global/streams/assembly/205daceca0d1ad0dedaa5633b1de9720dd169e0e_96acef383c18c14b7efac1b297fdc3553df87f6c_da39a3ee5e6b4b0d3255bfef95601890afd80709/META-INF/maven/org.apache.parquet/parquet-encoding/pom.properties | Github Open Source | Open Source | Apache-2.0 | 2,020 | scalable-matrix-multiply | shantanu-93 | null | Spoken | 12 | 48 | #Generated by Maven
#Fri Jul 17 13:56:13 PDT 2015
version=1.8.1
groupId=org.apache.parquet
artifactId=parquet-encoding
| 14,385 |
https://github.com/e7d/moby-container-stats/blob/master/main.go | Github Open Source | Open Source | MIT | 2,020 | moby-container-stats | e7d | Go | Code | 130 | 593 | package main
import (
"fmt"
"net/http"
"github.com/fatih/structs"
"github.com/infinityworks/go-common/logger"
"github.com/infinityworks/moby-container-stats/config"
"github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/client_golang/prometheus/promhttp"
"github.com/sirupsen/logrus"
im "git... | 21,688 |
https://github.com/dariogithub/tode/blob/master/repository/Topez-OldCommon-Core.package/TZFrameContextElement.class/instance/argsAndTemps..st | Github Open Source | Open Source | MIT | 2,013 | tode | dariogithub | null | Spoken | 8 | 22 | as yet unclassified
argsAndTemps: anArray
argsAndTemps := anArray | 29,949 |
https://github.com/development-hoke/Laravel-Backend/blob/master/app/HttpCommunication/Exceptions/HttpException.php | Github Open Source | Open Source | MIT | null | Laravel-Backend | development-hoke | PHP | Code | 113 | 369 | <?php
namespace App\HttpCommunication\Exceptions;
use App\HttpCommunication\Response\Concrete\Response as ConcreteResponse;
use App\HttpCommunication\Response\ResponseInterface as Response;
use GuzzleHttp\Exception\BadResponseException;
class HttpException extends Exception
{
/**
* @var BadResponseException... | 27,986 |
https://github.com/nzv8fan/reutersDbWvDemo/blob/master/src/main/java/au/edu/unsw/cse/StripSpecialCharactersPreprocessor.java | Github Open Source | Open Source | Apache-2.0 | 2,020 | reutersDbWvDemo | nzv8fan | Java | Code | 28 | 118 | package au.edu.unsw.cse;
import org.deeplearning4j.text.tokenization.tokenizer.preprocessor.CommonPreprocessor;
/**
* Created by Bradford Heap on 5/07/17.
*/
public class StripSpecialCharactersPreprocessor extends CommonPreprocessor {
public String preProcess(String token) {
return super.preProcess(tok... | 19,166 |
https://github.com/Arafat7616/project-id-072K21/blob/master/resources/views/frontend/partials/anime-js.blade.php | Github Open Source | Open Source | Apache-2.0 | null | project-id-072K21 | Arafat7616 | PHP | Code | 196 | 1,135 | <section class="large-padding section-anime-js">
<div class="container">
<div class="row">
<div class="col-lg-4 col-md-6 col-sm-12 col-xs-12 mb-5 element-anime-fadeInUp-js">
<div class="crumina-module crumina-info-box">
<div class="info-box-thumb">
... | 15,849 |
https://github.com/hieu-le296/quiz-client/blob/master/admin/js/ui.js | Github Open Source | Open Source | MIT | null | quiz-client | hieu-le296 | JavaScript | Code | 1,175 | 3,941 | class UI {
constructor() {
this.quiz = document.querySelector('#quiz');
this.show = document.querySelector('#show');
this.modalTitle = document.querySelector('#modal-title');
this.modalBody = document.querySelector('.modal-body');
this.createBtn = document.querySelector('#create');
this.update... | 35,298 |
https://github.com/nikobockerman/async/blob/master/include/concatstream.h | Github Open Source | Open Source | Apache-2.0 | null | async | nikobockerman | C | Code | 91 | 352 | #ifndef __CONCATSTREAM__
#define __CONCATSTREAM__
#include "async.h"
#include "bytestream_1.h"
#ifdef __cplusplus
extern "C" {
#endif
typedef struct concatstream concatstream_t;
/*
* Open a stream that is the concatenation of the given streams, in the
* given order. The count may be zero.
*/
concatstream_t *conc... | 4,635 |
https://github.com/lquterqtd/alibabacloud-java-sdk/blob/master/rds-20140815/src/main/java/com/aliyun/rds20140815/models/DescribeDBInstanceTDEResponseBody.java | Github Open Source | Open Source | Apache-2.0 | 2,021 | alibabacloud-java-sdk | lquterqtd | Java | Code | 222 | 917 | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.rds20140815.models;
import com.aliyun.tea.*;
public class DescribeDBInstanceTDEResponseBody extends TeaModel {
@NameInMap("TDEStatus")
public String TDEStatus;
@NameInMap("RequestId")
public String requestId;
@NameInMap("D... | 4,293 |
https://github.com/juandisay/rabbitmq-connector/blob/master/pkg/openfaas/client.go | Github Open Source | Open Source | MIT | 2,020 | rabbitmq-connector | juandisay | Go | Code | 845 | 2,441 | package openfaas
// Copyright (c) Simon Pelczer 2019. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
import (
"bytes"
"context"
"encoding/json"
"fmt"
types2 "github.com/Templum/rabbitmq-connector/pkg/types"
"io"
"io/ioutil"
"net/http"... | 14,042 |
https://github.com/jibu11/projeto1819/blob/master/Error.cpp | Github Open Source | Open Source | Artistic-2.0 | null | projeto1819 | jibu11 | C++ | Code | 120 | 355 | /* -------------------------------------------------
_ _ ___
__ _| |_ _ _(_)___/ __| __ __ _ _ _ _ _ ___ _ _
/ _` | _| '_| / -_)__ \/ _/ _` | ' \| ' \/ -_) '_|
\__, |\__|_| |_\___|___/\__\__,_|_||_|_||_\___|_|
|___/
gtrieS... | 14,848 |
https://github.com/BaddMann/appleLoops/blob/master/ShellWrappers/postinstalls/optionalinstalls.sh | Github Open Source | Open Source | Apache-2.0 | 2,017 | appleLoops | BaddMann | Shell | Code | 54 | 157 | #!/bin/sh
#Find All Optional Installs, Install
for Optional in $(find /tmp/appleLoops -type d -name optional -mindepth 2 -maxdepth 5); do
for PKG in $(ls "$Optional" | grep "pkg$"); do
echo "Installing: $PKG"
installlog=$(/usr/sbin/installer -pkg "$Optional/$PKG" -tgt / -allowUntrusted)
echo $ins... | 4,186 |
https://github.com/akshat-sahijpal/compose-jb/blob/master/web/widgets/src/commonMain/kotlin/Alignment.kt | Github Open Source | Open Source | Apache-2.0 | 2,021 | compose-jb | akshat-sahijpal | Kotlin | Code | 124 | 244 | package org.jetbrains.compose.common.ui
@ExperimentalComposeWebWidgetsApi
interface Alignment {
interface Vertical : Alignment
interface Horizontal : Alignment
companion object {
val TopStart = object : Alignment {}
val TopCenter = object : Alignment {}
val TopEnd = object : Alignm... | 42,992 |
https://github.com/MontiCore/monticore/blob/master/monticore-test/monticore-grammar-it/src/test/java/mc/typescalculator/CD2EHelper.java | Github Open Source | Open Source | BSD-3-Clause, Unlicense | 2,022 | monticore | MontiCore | Java | Code | 361 | 2,154 | /* (c) https://github.com/MontiCore/monticore */
package mc.typescalculator;
import com.google.common.collect.Lists;
import de.monticore.symbols.basicsymbols._symboltable.FunctionSymbol;
import de.monticore.symbols.basicsymbols._symboltable.TypeSymbol;
import de.monticore.symbols.basicsymbols._symboltable.VariableSymb... | 46,714 |
https://github.com/pavliy/squidex/blob/master/frontend/app/features/settings/pages/clients/client.component.ts | Github Open Source | Open Source | MIT | 2,019 | squidex | pavliy | TypeScript | Code | 145 | 498 | /*
* Squidex Headless CMS
*
* @license
* Copyright (c) Squidex UG (haftungsbeschränkt). All rights reserved.
*/
import { ChangeDetectionStrategy, Component, Input, OnChanges, SimpleChanges } from '@angular/core';
import { AppsState, ClientDto, ClientsState, DialogModel, RoleDto } from '@app/shared';
@Component({... | 20,240 |
https://github.com/theaniket/data-structures-and-algo/blob/master/src/com/github/theaniket/designPatterns/observer/Subject.java | Github Open Source | Open Source | MIT | null | data-structures-and-algo | theaniket | Java | Code | 62 | 204 | package com.github.theaniket.designPatterns.observer;
import java.util.ArrayList;
import java.util.List;
public class Subject implements ISubject {
private List<IObserver> observers;
public Subject(){
observers = new ArrayList<>();
}
@Override
public void register(IObserver observer) {
... | 12,629 |
https://github.com/UbuntuEvangelist/lila/blob/master/modules/team/src/main/PaginatorBuilder.scala | Github Open Source | Open Source | MIT | null | lila | UbuntuEvangelist | Scala | Code | 119 | 396 | package lila.team
import lila.common.paginator._
import lila.db.api._
import lila.db.Implicits._
import lila.db.paginator._
import lila.user.tube.userTube
import lila.user.User
import tube._
private[team] final class PaginatorBuilder(
maxPerPage: Int,
maxUserPerPage: Int) {
def popularTeams(page: Int): Fu[... | 5,508 |
https://github.com/OCR-APPS-WEBSITES/textfairy/blob/master/app/src/main/java/com/renard/ocr/documents/creation/ProgressDialogFragment.java | Github Open Source | Open Source | Apache-2.0 | 2,020 | textfairy | OCR-APPS-WEBSITES | Java | Code | 122 | 481 | package com.renard.ocr.documents.creation;
import com.renard.ocr.R;
import android.os.Bundle;
import androidx.fragment.app.DialogFragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
public class ProgressDialogFragment extends DialogFra... | 10,338 |
https://github.com/cyber-coders-j2017a/modern.core.java.repo/blob/master/ClassCodes/src/fullcodes/session/UtilitiesPacks/Animal.java | Github Open Source | Open Source | MIT | 2,018 | modern.core.java.repo | cyber-coders-j2017a | Java | Code | 94 | 262 | package fullcodes.session.UtilitiesPacks;
/**
* Created by dotcom on 7/21/17.
*/
public class Animal {
//Show the array group that contains the word "ney"
public void showWords(){
String statement = "This is the man who lost his money in the pool yesterday oh";
String [] words = statement.... | 42,220 |
https://github.com/mehmetizci/haydikids/blob/master/lib/utils/ui/components/popupMenu.dart | Github Open Source | Open Source | MIT | 2,021 | haydikids | mehmetizci | Dart | Code | 113 | 420 | import 'package:flutter/material.dart';
class FlexiblePopupMenu extends StatelessWidget {
final Widget child;
final List<String> items;
final Function(String) onItemTap;
final double borderRadius;
final EdgeInsetsGeometry padding;
FlexiblePopupMenu({
@required this.child,
@required this.items,
... | 40,269 |
https://github.com/dressupgeekout/dlugout/blob/master/Makefile | Github Open Source | Open Source | BSD-2-Clause | null | dlugout | dressupgeekout | Makefile | Code | 9 | 36 | RDOC?= rdoc
.PHONY: docs
docs:
$(RDOC) --visibility=private -x ./vendor
| 46,025 |
https://github.com/vinnyvinn/newForwarding/blob/master/packages/wizpack/workflow/src/Views/approvals/show.blade.php | Github Open Source | Open Source | MIT | null | newForwarding | vinnyvinn | PHP | Code | 160 | 1,046 | @extends('layouts.app')
@section('content')
<section class="content-header">
<h3>{{$workflow['name']}}
<small>sent by {{$workflow['sent_by']->name}}</small>
</h3>
</section>
<section class="content">
<div class="box box-primary">
<div class="box-body">
... | 17,276 |
https://github.com/faouzij/TrackMe/blob/master/SOAP-0.13.0/SOAP-0.13.0/tests/deserialize/string.phpt | Github Open Source | Open Source | BSD-2-Clause | 2,015 | TrackMe | faouzij | PHP | Code | 43 | 315 | --TEST--
Deserialize string
--FILE--
<?php
require_once dirname(__FILE__) . '/../test.utility.php';
$msg = '<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://sch... | 2,771 |
https://github.com/XinyueZ/flutter-web-profanity-check/blob/master/lib/entry.dart | Github Open Source | Open Source | MIT | 2,020 | flutter-web-profanity-check | XinyueZ | Dart | Code | 46 | 123 | import 'package:flutter/foundation.dart';
class AddEntry {
AddEntry({
@required this.cls,
@required this.tweet,
}) : assert(cls != null && tweet != null);
int cls;
String tweet;
}
class UpdateEntry {
UpdateEntry({
@required this.pos,
@required this.cls,
}) : assert(cls != null && pos != nu... | 16,600 |
https://github.com/hectorhon/autotrace2/blob/master/app/Apc/Site.hs | Github Open Source | Open Source | BSD-3-Clause | null | autotrace2 | hectorhon | Haskell | Code | 1,405 | 3,388 | {-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE DataKinds #-}
{-# LANGUAGE TypeOperators #-}
module Apc.Site where
import Servant
import Text.Blaze.Html5 hiding (area, i, a)
import Database.Persist.Postgresql
import qualified Database.Esqueleto as E
import Control.Monad.Reader
import Control.Monad.Trans.Either
import... | 45,785 |
https://github.com/lgvital/feast2/blob/master/ingestion/src/main/java/feast/ingestion/ImportJob.java | Github Open Source | Open Source | Apache-2.0 | null | feast2 | lgvital | Java | Code | 513 | 1,727 | /*
* SPDX-License-Identifier: Apache-2.0
* Copyright 2018-2019 The Feast 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*... | 12,587 |
https://github.com/HellcrowAndrey/fenix/blob/master/bitcoin/src/main/java/com/github/bitcoin/controllers/impl/TransactionController.java | Github Open Source | Open Source | Apache-2.0 | null | fenix | HellcrowAndrey | Java | Code | 385 | 1,818 | package com.github.bitcoin.controllers.impl;
import com.github.bitcoin.controllers.ITransactionController;
import com.github.bitcoin.payload.Receipt;
import com.github.bitcoin.dto.TransactionDto;
import com.github.bitcoin.dto.TrialTransactionDto;
import com.github.bitcoin.entity.*;
import com.github.bitcoin.exceptions... | 33,421 |
https://github.com/driehuis/retcon-web/blob/master/app/controllers/quirks_controller.rb | Github Open Source | Open Source | ISC | 2,020 | retcon-web | driehuis | Ruby | Code | 254 | 824 | class QuirksController < ApplicationController
load_and_authorize_resource
# GET /quirks
# GET /quirks.xml
def index
@search = Quirk.accessible_by(current_ability).search(params[:search])
@quirks = @search.result(:order => 'name', :include=>[:servers])
if request.xhr?
render :partial => 'li... | 4,229 |
https://github.com/Kitatine/CloudTides/blob/master/ui/node_modules/@clr/angular/accordion/accordion-title.d.ts | Github Open Source | Open Source | Apache-2.0 | 2,021 | CloudTides | Kitatine | TypeScript | Code | 28 | 312 | import * as ɵngcc0 from '@angular/core';
export declare class ClrAccordionTitle {
static ɵfac: ɵngcc0.ɵɵFactoryDef<ClrAccordionTitle, never>;
static ɵcmp: ɵngcc0.ɵɵComponentDefWithMeta<ClrAccordionTitle, "clr-accordion-title, clr-step-title", never, {}, {}, never, ["*"]>;
}
//# sourceMappingURL=data:applicatio... | 56,184 |
https://github.com/MostafaSayyedi/AxNegar/blob/master/app/Http/Controllers/Backend/User/UserController.php | Github Open Source | Open Source | MIT | 2,020 | AxNegar | MostafaSayyedi | PHP | Code | 779 | 2,888 | <?php
namespace App\Http\Controllers\Backend\User;
use App\Http\Controllers\Controller;
use App\Image;
use Hekmatinasser\Verta\Facades\Verta;
use Intervention\Image\ImageManagerStatic as Images;
use App\SocialAccount;
use App\User;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
use Illuminate\Suppo... | 19,793 |
https://github.com/racedisparityaudit/rd_cms/blob/master/migrations/versions/2018_04_25_migrate_geog_view.py | Github Open Source | Open Source | MIT | 2,021 | rd_cms | racedisparityaudit | Python | Code | 194 | 767 | """ 2018_04_25_migrate_geog_view
Revision ID: 20180425_migrate_geography_view
Revises: 2018_03_22_user_model_refactor
Create Date: 2018-04-12 11:36:07.395067
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = "2018_04_25_migrate_geog_view"
down_revision = "2018_04... | 14,732 |
https://github.com/cml-techniques/Techniques/blob/master/CmlTechniques/CmlTechniques/obj/Release/Package/PackageTmp/CMS/FATestUploadsList1.aspx | Github Open Source | Open Source | MIT | 2,019 | Techniques | cml-techniques | null | Spoken | 332 | 1,693 | <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="FATestUploadsList1.aspx.cs" Inherits="CmlTechniques.CMS.FATestUploadsList1" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtm... | 49,579 |
https://github.com/anatagadaisukidesu/gzlkisp/blob/master/app/src/main/java/com/gzlk/android/isp/model/common/FocusImage.java | Github Open Source | Open Source | Apache-2.0 | null | gzlkisp | anatagadaisukidesu | Java | Code | 241 | 800 | package com.gzlk.android.isp.model.common;
import com.gzlk.android.isp.model.Model;
/**
* <b>功能描述:</b>首页推荐的图片<br />
* <b>创建作者:</b>Hsiang Leekwok <br />
* <b>创建时间:</b>2017/06/03 23:24 <br />
* <b>作者邮箱:</b>xiang.l.g@gmail.com <br />
* <b>最新版本:</b>Version: 1.0.0 <br />
* <b>修改时间:</b>2017/06/03 23:24 <br />
* <b>修... | 33,212 |
https://github.com/kjendrzyca/Klesk/blob/master/app/routes.js | Github Open Source | Open Source | MIT | 2,015 | Klesk | kjendrzyca | JavaScript | Code | 51 | 161 | 'use strict';
import logger from './logger';
import commandBus from './commandBus';
let configure = (app) => {
app.get('/', (req, res) => {
res.end('hello from Klesk');
});
app.post('/', (req, res) => {
logger(req.body);
commandBus.dispatch(req.body, (error, response) => {
... | 55,758 |
https://github.com/Amith2397/Data-Science-and-Analytics-/blob/master/Linear Regression/regression_simple.py | Github Open Source | Open Source | FTL | null | Data-Science-and-Analytics- | Amith2397 | Python | Code | 385 | 934 | # -*- coding: utf-8 -*-
"""
Linear Regression using two models:
There are few data files each of them having a set of values for two variables (say x & y) in the folder, one
pair per line in the data file. We are trying to determine if there is a linear relationship between
them.
• Regression functions are in a modul... | 29,073 |
https://github.com/greck2908/worldview/blob/master/web/js/components/measure-tool/measure-menu.js | Github Open Source | Open Source | NASA-1.3 | 2,022 | worldview | greck2908 | JavaScript | Code | 360 | 1,303 | import PropTypes from 'prop-types';
import { connect } from 'react-redux';
import React, { Component } from 'react';
import { Form } from 'reactstrap';
import { onToggle } from '../../modules/modal/actions';
import IconList from '../util/icon-list';
import { changeUnits } from '../../modules/measure/actions';
import u... | 32,728 |
https://github.com/genexuslabs/twitter-kit-ios/blob/master/vendor/MoPub.framework/Headers/MOPUBNativeVideoImpressionAgent.h | Github Open Source | Open Source | Apache-2.0, BSD-2-Clause-Views, LicenseRef-scancode-unknown-license-reference, BSD-2-Clause | 2,022 | twitter-kit-ios | genexuslabs | Objective-C | Code | 29 | 154 | //
// MOPUBNativeVideoImpressionAgent.h
//
// Copyright (c) 2015 MoPub. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
@interface MOPUBNativeVideoImpressionAgent : NSObject
- (instancetype)initWithVideoView:(UIView *)videoView requiredVisibilityPercentage:(CGFloat)visiblePercenta... | 47,685 |
https://github.com/cjdev/cloud-seeder/blob/master/library/Network/CloudSeeder/Orphans.hs | Github Open Source | Open Source | ISC | 2,021 | cloud-seeder | cjdev | Haskell | Code | 60 | 248 | {-# LANGUAGE TemplateHaskell #-}
{-# OPTIONS_GHC -fno-warn-orphans #-}
module Network.CloudSeeder.Orphans () where
import Data.Aeson.TH
import qualified Network.AWS.CloudFormation as CF
import Network.CloudSeeder.TH
$(deriveJSON capTagOptions ''CF.ChangeSource)
$(deriveJSON capTagOptions ''CF.ExecutionStatus)
$(de... | 3,236 |
https://github.com/bihell/Dice/blob/master/dice-server/blog/src/main/java/com/bihell/dice/blog/utils/DateUtil.java | Github Open Source | Open Source | MIT | 2,022 | Dice | bihell | Java | Code | 206 | 954 | package com.bihell.dice.blog.utils;
import com.bihell.dice.framework.common.exception.TipException;
import java.text.SimpleDateFormat;
import java.time.Instant;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.time.ZoneId;
import java.util.Date;
/**
* @author haseochen
*/
public class DateUt... | 44,833 |
https://github.com/ryhinchey/labs-community-portal/blob/master/app/templates/components/navigation-dropdown.hbs | Github Open Source | Open Source | MIT | 2,017 | labs-community-portal | ryhinchey | null | Spoken | 17 | 101 | {{#power-select
options=options
selected=selected
searchField="name"
placeholder=placeholder
onchange=onchange
oninput=(action 'handleSearch')
as |district|
}}
<strong class="district">{{district.boro}} {{district.cd}}</strong> <small class="neighborhoods">{{district.neighborhoods}}</small>
{{/power-sel... | 24,789 |
https://github.com/carueda/udash-core/blob/master/core/frontend/src/test/scala/io/udash/testing/TestUrlChangeProvider.scala | Github Open Source | Open Source | Apache-2.0 | 2,018 | udash-core | carueda | Scala | Code | 65 | 210 | package io.udash.testing
import io.udash._
import scala.collection.mutable
class TestUrlChangeProvider(init: Url) extends UrlChangeProvider {
var currUrl: Url = init
var urlsHistory: mutable.ArrayBuffer[Url] = mutable.ArrayBuffer.empty
val changeListeners: mutable.Set[(Url) => Unit] = mutable.Set.empty
over... | 40,758 |
https://github.com/bugtsa/avito-android/blob/master/subprojects/gradle/impact-shared/src/test/kotlin/com/avito/impact/changes/ChangesDetectorTest.kt | Github Open Source | Open Source | Apache-2.0 | null | avito-android | bugtsa | Kotlin | Code | 343 | 1,360 | package com.avito.impact.changes
import com.avito.test.gradle.commit
import com.avito.test.gradle.dir
import com.avito.test.gradle.file
import com.avito.test.gradle.git
import com.avito.test.gradle.mutate
import com.avito.utils.logging.FakeCILogger
import com.google.common.truth.Truth.assertThat
import com.google.comm... | 55,163 |
https://github.com/araa47/ocean.py/blob/master/ocean_lib/web3_internal/event_listener.py | Github Open Source | Open Source | Apache-2.0 | null | ocean.py | araa47 | Python | Code | 359 | 1,038 | # Copyright 2018 Ocean Protocol Foundation
# SPDX-License-Identifier: Apache-2.0
import logging
import time
from datetime import datetime
from threading import Thread
from ocean_lib.web3_internal.contract_handler import ContractHandler
from ocean_lib.web3_internal.event_filter import EventFilter
logger = logging.g... | 35,879 |
https://github.com/sitek94/macieksitkowski/blob/master/src/components/header.js | Github Open Source | Open Source | MIT | 2,021 | macieksitkowski | sitek94 | JavaScript | Code | 342 | 1,248 | import * as React from 'react'
import Link from './link'
import {css} from '@emotion/react'
import styled from '@emotion/styled'
import theme from '../../config/theme'
import {fonts} from '../lib/typography'
import MobileNav from './mobile-nav'
import Container from './container'
import {bpMaxSM} from '../lib/breakpoin... | 30,256 |
https://github.com/LGmedia954/ferret-adoption/blob/master/app/controllers/sessions_controller.rb | Github Open Source | Open Source | MIT | null | ferret-adoption | LGmedia954 | Ruby | Code | 93 | 345 | require 'securerandom'
class SessionsController < ApplicationController
def new
end
def create
owner = Owner.find_by(email: params[:session][:email].downcase)
if owner && owner.authenticate(params[:session][:password])
log_in owner
redirect_to controller: 'welcome', actio... | 5,986 |
https://github.com/NeolithEra/geokey/blob/master/geokey/categories/templatetags/filter_fields.py | Github Open Source | Open Source | Apache-2.0 | 2,019 | geokey | NeolithEra | Python | Code | 55 | 158 | """Template tags for filtering fields."""
from django import template
register = template.Library()
@register.filter
def only_fields(fields, type_names):
type_names = [type_name.strip() for type_name in type_names.split(',')]
return [field for field in fields if field.type_name in type_names]
@register.f... | 39,611 |
https://github.com/Lollypop-zmt/sealrtc-ios/blob/master/SealRTC/Chat/Model/ChatLocalVideoRender.m | Github Open Source | Open Source | MIT | 2,019 | sealrtc-ios | Lollypop-zmt | Objective-C | Code | 110 | 488 | //
// ChatLocalVideoRender.m
// SealRTC
//
// Created by jfdreamyang on 2019/5/23.
// Copyright © 2019 RongCloud. All rights reserved.
//
#import "ChatLocalVideoRender.h"
static void *DemoSampleBufferDisplayLayerStatusObserver = &DemoSampleBufferDisplayLayerStatusObserver;
@interface ChatLocalVideoRender ()
@pr... | 53,550 |
https://github.com/IMULMUL/PSReflect-Functions/blob/master/Structures/LUID_AND_ATTRIBUTES.ps1 | Github Open Source | Open Source | BSD-3-Clause | 2,023 | PSReflect-Functions | IMULMUL | PowerShell | Code | 17 | 52 | $LUID_AND_ATTRIBUTES = struct $Module LUID_AND_ATTRIBUTES @{
Luid = field 0 $LUID
Attributes = field 1 $SE_PRIVILEGE
} | 32,145 |
https://github.com/shalhan/weddingdiary/blob/master/public/assets/less/libs/blueimp-file-upload/jquery.fileupload.less | Github Open Source | Open Source | MIT | 2,019 | weddingdiary | shalhan | Less | Code | 80 | 259 | @charset "UTF-8";
/*
* jQuery File Upload Plugin CSS 1.3.0
* https://github.com/blueimp/jQuery-File-Upload
*
* Copyright 2013, Sebastian Tschan
* https://blueimp.net
*
* Licensed under the MIT license:
* http://www.opensource.org/licenses/MIT
*/
.fileinput-button {
position: relative;
overflow: hidden;
}
... | 22,281 |
https://github.com/tjur/polaq_master_thesis/blob/master/polaq_create/Makefile | Github Open Source | Open Source | MIT | 2,020 | polaq_master_thesis | tjur | Makefile | Code | 68 | 385 | .PHONY: clean poetry-install morfeusz-install blas-install install
clean:
rm -rf squad_pl.egg-info
poetry-install:
poetry install --no-dev
morfeusz-install:
wget -O - http://download.sgjp.pl/apt/sgjp.gpg.key|sudo apt-key add -
sudo apt-add-repository http://download.sgjp.pl/apt/ubuntu
sudo apt update
sudo apt ... | 49,662 |
https://github.com/wavetogether/templates_kotlin_spring/blob/master/app-main/src/main/kotlin/com/wavetogether/appConfig/core/service/UserServiceBeansConfig.kt | Github Open Source | Open Source | MIT | 2,021 | templates_kotlin_spring | wavetogether | Kotlin | Code | 31 | 173 | package com.wavetogether.appConfig.core.service
import com.wavetogether.core.domain.user.UserRepository
import com.wavetogether.core.service.user.CreateUserService
import com.wavetogether.core.service.user.SearchUserService
import org.springframework.context.annotation.Bean
import org.springframework.context.annotatio... | 6,355 |
https://github.com/think-gem/lemon/blob/master/webapp/content/disk/disk-home.jsp | Github Open Source | Open Source | Apache-2.0 | 2,016 | lemon | think-gem | null | Spoken | 166 | 953 | <%@page contentType="text/html;charset=UTF-8"%>
<%@include file="/taglibs.jsp"%>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta charset="utf-8">
<title>网盘</title>
<%@include file="_s.jsp"%>
<link rel="stylesheet" href="${ctx}/s/disk/s... | 50,918 |
https://github.com/TuvokVersatileKolinahr/selfies-frontend/blob/master/static/js/main.js | Github Open Source | Open Source | MIT | 2,014 | selfies-frontend | TuvokVersatileKolinahr | JavaScript | Code | 503 | 2,074 | /*
* Selfi data format:
* _id string
* about string
* isActive boolean
* name string
* picture url
* uploaded timestamp
* created_at
*/
document.addEventListener('DOMContentLoaded', function () {
var url = (window.location.href.match(/localhost/) ? 'http://selfies.tuvok.nl' : "") + '/api',
re... | 40,600 |
https://github.com/loviselu/swan-core/blob/master/src/templates/slaves/new-swan-element-template.js | Github Open Source | Open Source | Apache-2.0 | 2,019 | swan-core | loviselu | JavaScript | Code | 150 | 593 | /**
* @file swan组件的模板
* @author yangyang55(yangyang55@baidu.com)
*/
window.define('<%-customComponentPath%>', function (require, modulesExports) {
let componentUsingComponentMap = JSON.parse(`#componentUsingComponentMap#`);
function processTemplateModule(filterTemplateArrs, filterModule) {
eval(filte... | 53,323 |
https://github.com/alldatacenter/alldata/blob/master/kg/GraphScope/interactive_engine/compiler/src/test/java/com/alibaba/graphscope/common/intermediate/operator/DedupOpTest.java | Github Open Source | Open Source | BSD-3-Clause, LicenseRef-scancode-generic-cla, BSL-1.0, Apache-2.0, LicenseRef-scancode-public-domain, BSD-2-Clause, LicenseRef-scancode-unknown-license-reference, MIT | 2,023 | alldata | alldatacenter | Java | Code | 204 | 607 | /*
* Copyright 2020 Alibaba Group Holding Limited.
*
* 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 la... | 23,982 |
https://github.com/P7CoreOrg/PitStopPro/blob/master/src/GQL.SimpleDocumentStore/InMemorySimpleDocumentStore.cs | Github Open Source | Open Source | MIT | 2,019 | PitStopPro | P7CoreOrg | C# | Code | 21 | 72 | using System;
namespace SimpleDocumentStore
{
public class InMemorySimpleDocumentStore<T> :
InMemoryStoreBase<SimpleDocument<T>>,
ISimpleDocumentStore<T> where T : class, IComparable, IDocumentBase, new()
{
}
} | 43,335 |
https://github.com/chris-weekes/atrium/blob/master/LawMate/ucDocView.Designer.cs | Github Open Source | Open Source | MIT | null | atrium | chris-weekes | C# | Code | 5,423 | 37,948 | namespace LawMate.UserControls
{
partial class ucDocView
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... | 47,908 |
https://github.com/ReAnzu/hydrus/blob/master/hydrus/client/gui/ClientGUIResultsSortCollect.py | Github Open Source | Open Source | WTFPL | 2,021 | hydrus | ReAnzu | Python | Code | 984 | 3,965 | import typing
from qtpy import QtCore as QC
from qtpy import QtWidgets as QW
from hydrus.core import HydrusConstants as HC
from hydrus.core import HydrusExceptions
from hydrus.core import HydrusGlobals as HG
from hydrus.client import ClientConstants as CC
from hydrus.client.gui import ClientGUICommon
from hydrus.cli... | 17,526 |
https://github.com/Pharophile/gtoolkit/blob/master/src/GToolkit-Utility-File.package/ZnEntity.extension/class/gtPillar..st | Github Open Source | Open Source | MIT | 2,018 | gtoolkit | Pharophile | null | Spoken | 8 | 30 | *GToolkit-Utility-File
gtPillar: aString
^ self stringEntityClass gtPillar: aString | 28,806 |
https://github.com/wuchangqian/zudress/blob/master/app/code/community/Inchoo/SocialConnect/Block/Adminhtml/System/Config/Form/Field/Redirects.php | Github Open Source | Open Source | BSD-3-Clause | 2,019 | zudress | wuchangqian | PHP | Code | 27 | 158 | <?php
abstract class Inchoo_SocialConnect_Block_Adminhtml_System_Config_Form_Field_Redirects
extends Mage_Adminhtml_Block_System_Config_Form_Field
{
protected function getAuthProvider()
{
return '';
}
protected function _getElementHtml(Varien_Data_Form_Element_Abstract $element) {
... | 55,084 |
https://github.com/adittyas/library/blob/master/app/Http/Controllers/Excel/ExportController.php | Github Open Source | Open Source | MIT | null | library | adittyas | PHP | Code | 59 | 227 | <?php
namespace App\Http\Controllers\Excel;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
use App\Exports\UsersExport;
use App\Exports\PublishersExport;
use App\Exports\MembersExport;
use App\Exports\BooksExport;
use Maatwebsite\Excel\Facades\Excel;
class ExportController extends Controller
{
... | 56,623 |
https://github.com/garritfra/simple-rpg/blob/master/src/view/app.tsx | Github Open Source | Open Source | Unlicense | null | simple-rpg | garritfra | TypeScript | Code | 59 | 172 | import * as React from "react";
import { Container, Col, Row } from "reactstrap";
import PlayerView from "./components/PlayerView/PlayerView";
import Game from "../game/Game";
export default class App extends React.Component<any, any> {
constructor(props: any) {
super(props);
this.state = {
game: Game.... | 31,832 |
https://github.com/mohd-arif-mir/mongo-c-driver/blob/master/src/libmongoc/tests/test-mongoc-transactions.c | Github Open Source | Open Source | Apache-2.0 | 2,019 | mongo-c-driver | mohd-arif-mir | C | Code | 1,676 | 6,782 | #include <mongoc/mongoc.h>
#include "mongoc/mongoc-collection-private.h"
#include "json-test.h"
#include "test-libmongoc.h"
#include "mock_server/mock-rs.h"
#include "mock_server/future.h"
#include "mock_server/future-functions.h"
#include "json-test-operations.h"
static bool
transactions_test_run_operation (json_t... | 36,521 |
https://github.com/aayushkumaraks/Social-Network/blob/master/pages/index.php | Github Open Source | Open Source | MIT | 2,017 | Social-Network | aayushkumaraks | PHP | Code | 381 | 1,807 | <?php
include_once "../data/inc/sessionchk.php";
$user = $_SESSION['user'];
if($user=='sudo'){
?>
<a href="logout.php"><b>LOGOUT</b></a>
<iframe src="/phpmyadmin/db_structure.php?server=1&db=isndb_db" height="100%" width="100%">
<p>asdas</p>
</iframe>
<?php
die();
}
$for_q = "SELECT `for... | 25,666 |
https://github.com/cokolele/terraria-web-editor/blob/master/src/components/inputs/input-link.jsx | Github Open Source | Open Source | MIT | 2,022 | terraria-web-editor | cokolele | null | Spoken | 88 | 307 | import React from "react";
import "/components/styles/input.css";
function InputLink({
label,
onClick,
onBlur,
onMouseEnter,
href,
target,
className,
Icon,
IconLeft,
IconRight
}) {
return (
<div className={`input-container --link --no-grow ${cla... | 23,482 |
https://github.com/gurkenlabs/litiengine/blob/master/litiengine/src/main/java/de/gurkenlabs/litiengine/entities/CombatEntity.java | Github Open Source | Open Source | MIT | 2,023 | litiengine | gurkenlabs | Java | Code | 611 | 2,387 | package de.gurkenlabs.litiengine.entities;
import de.gurkenlabs.litiengine.Game;
import de.gurkenlabs.litiengine.abilities.Ability;
import de.gurkenlabs.litiengine.abilities.effects.Effect;
import de.gurkenlabs.litiengine.attributes.AttributeModifier;
import de.gurkenlabs.litiengine.attributes.Modification;
import de.... | 25,822 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.