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/KAMP-Research/KAMP4APS/blob/master/edu.kit.ipd.sdq.kamp4aps.model.fieldofactivityannotations/src/edu/kit/ipd/sdq/kamp4aps/model/fieldofactivityannotations/impl/KAMP4aPSFieldofactivityannotationsFactoryImpl.java | Github Open Source | Open Source | Apache-2.0 | 2,020 | KAMP4APS | KAMP-Research | Java | Code | 1,205 | 4,373 | /**
*/
package edu.kit.ipd.sdq.kamp4aps.model.fieldofactivityannotations.impl;
import edu.kit.ipd.sdq.kamp4aps.model.fieldofactivityannotations.*;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.impl.EFactoryImpl;
import... | 18,237 |
https://github.com/sergiotorreslozano/spring-boot-demo-2016/blob/master/Procfile | Github Open Source | Open Source | MIT | 2,016 | spring-boot-demo-2016 | sergiotorreslozano | null | Spoken | 5 | 37 | web: java -Dserver.port=$PORT -jar target/spring-boot-demo-2016-0.0.1-SNAPSHOT.jar
| 47,006 |
https://github.com/school-engagements/pikater-vaadin/blob/master/src/org/pikater/web/HttpContentType.java | Github Open Source | Open Source | Apache-2.0 | null | pikater-vaadin | school-engagements | Java | Code | 207 | 728 | package org.pikater.web;
import java.util.Iterator;
import java.util.LinkedHashSet;
import java.util.Set;
/**
* There are various enumerations like this in various libraries but none of
* them seems to be complete or provide interface we require so we made our own
* implementation, sufficient to cover the needs of... | 2,756 |
https://github.com/Hyrex/SFML-Basketball/blob/master/Source/Public/Interface.h | Github Open Source | Open Source | MIT | 2,020 | SFML-Basketball | Hyrex | C | Code | 12 | 30 | #pragma once
class ITickable
{
public:
virtual void Tick() = 0;
};
| 49,527 |
https://github.com/ViniciusNicoceli/furb-desenvolvimentos-seguros/blob/master/Scutum/Scutum.Data/CartaoCredito.cs | Github Open Source | Open Source | MIT | 2,016 | furb-desenvolvimentos-seguros | ViniciusNicoceli | C# | Code | 25 | 83 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Scutum.Data
{
public class CartaoCredito : Base<Model.CartaoCredito>
{
public CartaoCredito()
{
}
}
}
| 47,662 |
https://github.com/MapperTV/embellishcraft/blob/master/src/main/java/tv/mapper/embellishcraft/core/proxy/ClientProxy.java | Github Open Source | Open Source | MIT | 2,022 | embellishcraft | MapperTV | Java | Code | 116 | 767 | package tv.mapper.embellishcraft.core.proxy;
import java.util.function.Predicate;
import net.minecraft.client.gui.screens.MenuScreens;
import net.minecraft.client.renderer.ItemBlockRenderTypes;
import net.minecraft.client.renderer.RenderType;
import net.minecraft.world.level.block.Block;
import net.minecraftforge.fml... | 51,229 |
https://github.com/SanderRonde/password-manager-server/blob/master/shared/components/util/loadable-block/loadable-block.ts | Github Open Source | Open Source | MIT | 2,020 | password-manager-server | SanderRonde | TypeScript | Code | 294 | 1,124 | /// <reference path="../../../types/elements.d.ts" />
import { ConfigurableWebComponent, config, Props, PROP_TYPE, awaitMounted, createCancellableTimeout, wait } from "wclib";
import { LoadableBlockIDMap, LoadableBlockClassMap } from './loadable-block-querymap';
import { LoadableBlockCSS, ANIMATE_TIME } from './loadabl... | 5,309 |
https://github.com/axelhuizinga/haxe.php/blob/master/src/tink/io/std/InputSource.php | Github Open Source | Open Source | MIT | 2,021 | haxe.php | axelhuizinga | PHP | Code | 308 | 1,132 | <?php
/**
* Generated by Haxe 4.1.5
*/
namespace tink\io\std;
use \php\_Boot\HxAnon;
use \tink\core\_Lazy\LazyFunc;
use \php\Boot;
use \haxe\Exception;
use \tink\streams\Step;
use \haxe\io\Eof;
use \tink\streams\Generator;
use \tink\core\TypedError;
use \tink\io\_Worker\Worker_Impl_;
use \tink\chunk\ByteChunk;
use ... | 16,871 |
https://github.com/Forcepoint/fp-bd-riskscore-ping-api/blob/master/src/modules/configs.py | Github Open Source | Open Source | Apache-2.0 | null | fp-bd-riskscore-ping-api | Forcepoint | Python | Code | 262 | 1,436 | import logging
import os
from common import (
create_dir,
get_user_config_env_values,
get_user_defined_configuration,
get_yaml_content,
is_user_configurations_complete,
)
from log_config import LogConfig
from program_constants import (
CASB_REQUIRED_CONFIGS_LIST,
FBA_REQUIRED_CONFIGS_LIST,
... | 46,765 |
https://github.com/michael-jeulinl/HTTP-Headers-Status/blob/master/src/containers/Dashboard/reducer.tsx | Github Open Source | Open Source | MIT | null | HTTP-Headers-Status | michael-jeulinl | TypeScript | Code | 156 | 385 | /*
* DashboardReducer
*
* The reducer takes care of our requests and their status.
* It use reqId to handle the update.
*
*/
import { getCurDate } from '../../utils';
export type Action =
{ type: 'PENDING'; reqId: string, reqUrl: string }
| { type: 'SUCCESS'; reqId: string; payload: any }
| { type: 'ERR... | 26,086 |
https://github.com/linhfishCR7/WEB03/blob/master/app/HoaDonSi.php | Github Open Source | Open Source | MIT | 2,021 | WEB03 | linhfishCR7 | PHP | Code | 69 | 335 | <?php
namespace App;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes; // add soft delete
class HoaDonSi extends Model
{
use SoftDeletes;// add soft delete
const CREATED_AT = 'hds_taoMoi';
const UPDATED_AT = 'hds_capNhat';
protected $table = ... | 35,717 |
https://github.com/IBaaNB/blenderpython/blob/master/scripts/addons_extern/booltron-master/operators.py | Github Open Source | Open Source | MIT | 2,016 | blenderpython | IBaaNB | Python | Code | 128 | 411 | import bpy
from bpy.types import Operator
from . import helpers
class UNION(Operator):
'''Performes a boolean union operation'''
bl_idname = "booltron.union"
bl_label = "Booltron Union"
bl_options = {'REGISTER', 'UNDO'}
def execute(self, context):
helpers.union()
return {'FINISHED'}
class DIFFERENCE(Opera... | 3,617 |
https://github.com/Feralidragon/php-dracodeum-kit/blob/master/tests/bootstrap.php | Github Open Source | Open Source | MIT | 2,021 | php-dracodeum-kit | Feralidragon | PHP | Code | 11 | 58 | <?php
//autoload
require_once __DIR__ . '/../vendor/autoload.php';
//use
use Dracodeum\Kit\Root\System;
//environment
System::setEnvironment('debug');
| 14,015 |
https://github.com/Kuangcp/JavaBase/blob/master/pattern/src/test/java/com/github/kuangcp/abstractfactory/FactoryProducerTest.java | Github Open Source | Open Source | MIT | 2,021 | JavaBase | Kuangcp | Java | Code | 56 | 300 | package com.github.kuangcp.abstractfactory;
import com.github.kuangcp.abstractfactory.base.Color;
import com.github.kuangcp.abstractfactory.base.Shape;
import com.google.common.base.Preconditions;
import java.util.Optional;
import org.junit.Test;
/**
* 隐藏内部实现
* @author kuangcp on 2019-04-07 12:42 AM
*/
public clas... | 17,658 |
https://github.com/conceptslearningmachine-FEIN-85-1759293/mavlink-vehicles/blob/master/src/mavlink_vehicles.hh | Github Open Source | Open Source | Apache-2.0 | 2,017 | mavlink-vehicles | conceptslearningmachine-FEIN-85-1759293 | C++ | Code | 764 | 2,478 | /*
// Copyright (c) 2016 Intel Corporation
//
// 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... | 34,593 |
https://github.com/Computational-Plant-Science/plan/blob/master/plantit/plantit/feedback/views.py | Github Open Source | Open Source | BSD-3-Clause | 2,022 | plan | Computational-Plant-Science | Python | Code | 77 | 314 | import json
import pprint
from django.conf import settings
from django.http import HttpResponse, FileResponse
from plantit.feedback.models import Feedback
from plantit.sns import SnsClient
def submit_feedback(request):
body = json.loads(request.body.decode('utf-8'))
anon = body['anonymous']
feedback = F... | 1,010 |
https://github.com/martinrocket/playground/blob/master/nytApi/js/script.js | Github Open Source | Open Source | MIT | null | playground | martinrocket | JavaScript | Code | 23 | 128 | function loadData() {
var myURL = 'http://api.openweathermap.org/data/2.5/weather?zip=94040,us';
//var myURL = 'https://google.com'
fetch(myURL, {
mode: 'cors',
credentials: 'include',
}).then(function(data){
console.log(data.ok);
});
console.log(myURL);
};
$('#butt... | 46,877 |
https://github.com/beamosec/remarque/blob/master/server/config.js | Github Open Source | Open Source | MIT | null | remarque | beamosec | JavaScript | Code | 17 | 73 | module.exports = {
db: process.env.db || 'localhost',
clientSecret: process.env.clientSecret || 'a3d5810986974e7db27003a5658a5ad4',
tokenSecret: process.env.tokenSecret || 'difficult string'
};
| 3,272 |
https://github.com/mrbalkan/sin-number-validator/blob/master/src/main/java/net/muratbalkan/sinnumbervalidator/AppExceptionHandlers.java | Github Open Source | Open Source | MIT | null | sin-number-validator | mrbalkan | Java | Code | 89 | 380 | package net.muratbalkan.sinnumbervalidator;
import org.springframework.core.Ordered;
import org.springframework.core.annotation.Order;
import org.springframework.http.HttpHeaders;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.web.HttpRequestMetho... | 14,438 |
https://github.com/ChazMaWong/Eurobot-2019/blob/master/bin/arduino-cmd | Github Open Source | Open Source | MIT | 2,019 | Eurobot-2019 | ChazMaWong | Shell | Code | 9 | 45 | #!/usr/bin/env bash
arduino src/arduino/robot.ino --board arduino:avr:uno --pref build.path=./out $*
| 27,307 |
https://github.com/warlock135/grpc/blob/master/test/cpp/microbenchmarks/bm_timer.cc | Github Open Source | Open Source | Apache-2.0 | 2,021 | grpc | warlock135 | C++ | Code | 384 | 1,300 | /*
*
* Copyright 2017 gRPC 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 agree... | 49,587 |
https://github.com/revul93/KafStore/blob/master/client/src/components/PublicComponenets/Search.js | Github Open Source | Open Source | Apache-2.0 | 2,020 | KafStore | revul93 | JavaScript | Code | 72 | 231 | // modules
import React, { useState } from 'react';
import { Redirect } from 'react-router-dom';
// static
import '../../stylesheet/Search.css';
const Search = () => {
const [query, setQuery] = useState(false);
// when query submitted
if (query) {
return <Redirect to={`/search/${query}`} />;
}
return ... | 5,367 |
https://github.com/shaokiat/tp/blob/master/src/test/java/seedu/address/logic/commands/YesCommandTest.java | Github Open Source | Open Source | MIT | 2,020 | tp | shaokiat | Java | Code | 45 | 177 | package seedu.address.logic.commands;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static seedu.address.commons.core.Messages.MESSAGE_NO_CONFIRMATION;
import org.junit.jupiter.api.Test;
import seedu.address.model.Model;
import seedu.address.model.ModelManager;
class YesCommandTest {
@Test... | 31,581 |
https://github.com/Edward01S2/beer/blob/master/resources/scripts/app.js | Github Open Source | Open Source | MIT | null | beer | Edward01S2 | JavaScript | Code | 788 | 3,150 | /**
* External Dependencies
*/
import 'jquery';
import 'alpinejs';
import Typewriter from 'typewriter-effect/dist/core';
import Swiper, { Navigation, Pagination, EffectFade } from 'swiper';
Swiper.use([Navigation, Pagination, EffectFade]);
import { gsap } from "gsap";
import { ScrollTrigger } from "gsap/ScrollTrig... | 11,602 |
https://github.com/kriit24/Autoload/blob/master/Autoload.php | Github Open Source | Open Source | MIT | null | Autoload | kriit24 | PHP | Code | 1,196 | 4,481 | <?php
defined('_DIR') || define('_DIR', get_include_path());
$autoload = $die = true;
/**
* @property string _dir
*/
class Autoload
{
private $option = [];
private $require = [];
private static $files = [];
private static $aliases = [];
private $applicationPath = '';
private $aliasSpaceName ... | 21,563 |
https://github.com/therealjeffg/express-ifttt-webhook/blob/master/example/server.js | Github Open Source | Open Source | MIT | 2,021 | express-ifttt-webhook | therealjeffg | JavaScript | Code | 36 | 134 | var express = require('express');
var webhook = require('../lib/webhook');
var app = express();
app.set('port', process.env.PORT || 3000);
app.use(webhook());
app.get('/', function(req, res) {
return res.redirect('https://github.com/b00giZm/express-ifttt-webhook');
});
var server = app.listen(app.get('port'), fu... | 541 |
https://github.com/jbcarta/hackaton_galicia/blob/master/views/blockchain/asset_detail_create.hbs | Github Open Source | Open Source | Apache-2.0 | null | hackaton_galicia | jbcarta | null | Spoken | 4,358 | 19,851 | <!-- *****************************************
access_detail_create.hbs
***************************************** -->
<!--
<div w3-include-html="supplierinvoice_detail_menu.hbs"></div>
-->
<!--
<script type="text/hbs" src="supplierinvoice_detail_menu.hbs"></script>
==>
<!-- *******************************... | 4,605 |
https://github.com/manifoldco/heighliner/blob/master/apis/v1alpha1/security_policy.go | Github Open Source | Open Source | BSD-3-Clause | 2,021 | heighliner | manifoldco | Go | Code | 94 | 415 | package v1alpha1
import (
corev1 "k8s.io/api/core/v1"
"k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
)
// SecurityPolicy describes the configuration options for the SecurityPolicy.
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
... | 43,191 |
https://github.com/datachainlab/ibc-proxy/blob/master/modules/proxy/keeper/channel.go | Github Open Source | Open Source | Apache-2.0 | 2,022 | ibc-proxy | datachainlab | Go | Code | 871 | 2,525 | package keeper
import (
"fmt"
sdk "github.com/cosmos/cosmos-sdk/types"
sdkerrors "github.com/cosmos/cosmos-sdk/types/errors"
connectiontypes "github.com/cosmos/ibc-go/modules/core/03-connection/types"
channeltypes "github.com/cosmos/ibc-go/modules/core/04-channel/types"
"github.com/cosmos/ibc-go/modules/core/ex... | 15,339 |
https://github.com/njbradley/bcr-dist/blob/master/bcrdist/cmodule/scripts/table.h | Github Open Source | Open Source | MIT | 2,021 | bcr-dist | njbradley | C | Code | 72 | 238 | #ifndef TABLE_H
#define TABLE_H
#include "classes.h"
struct tablerow {
bool eof;
unordered_map<string,string> items;
tablerow();
tablerow(itablestream* itable);
void add(string header, string value);
void add(string header, int value);
void add(string header, double value);
string get(string header);
};
stru... | 30,269 |
https://github.com/xarephonic/mercenarywings/blob/master/Assets/Models/Misc/Materials/Central-Caribbean-Airbase-and-Regional-Airport-front doors big.mat.meta | Github Open Source | Open Source | CC-BY-3.0, CC-BY-4.0 | 2,017 | mercenarywings | xarephonic | Unity3D Asset | Code | 12 | 65 | fileFormatVersion: 2
guid: 777fdfcd3fbd22748b08085d3ee49ddb
timeCreated: 1486297720
licenseType: Free
NativeFormatImporter:
userData:
assetBundleName:
assetBundleVariant:
| 33,098 |
https://github.com/MeadowSuite/Meadow/blob/master/src/Meadow.Cli/Commands/AccountCommands.cs | Github Open Source | Open Source | MIT | 2,021 | Meadow | MeadowSuite | C# | Code | 827 | 2,810 | using ExposedObject;
using Meadow.Contract;
using Meadow.Core.AccountDerivation;
using Meadow.Core.Cryptography.Ecdsa;
using Meadow.Core.EthTypes;
using Meadow.Core.Utils;
using Meadow.JsonRpc.Client;
using Meadow.JsonRpc.Types;
using Microsoft.PowerShell.Commands;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
us... | 7,818 |
https://github.com/tony2001/kowl/blob/master/backend/pkg/kafka/delete_topics.go | Github Open Source | Open Source | Apache-2.0 | 2,019 | kowl | tony2001 | Go | Code | 112 | 270 | // Copyright 2022 Redpanda Data, Inc.
//
// Use of this software is governed by the Business Source License
// included in the file https://github.com/redpanda-data/redpanda/blob/dev/licenses/bsl.md
//
// As of the Change Date specified in that file, in accordance with
// the Business Source License, use of this softwa... | 13,802 |
https://github.com/annelfitz/annelfitz.github.io/blob/master/tests/covid-422/app/timeOptions.js | Github Open Source | Open Source | Apache-2.0 | 2,023 | annelfitz.github.io | annelfitz | JavaScript | Code | 73 | 243 | define(["require", "exports"], function (require, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.endDate = getPreviousDay(new Date());
exports.initialTimeExtent = {
start: new Date(2020, 0, 22),
end: exports.endDate
};
function get... | 48,272 |
https://github.com/JeeSky/vue-table/blob/master/src/styles/table/_table-mask.scss | Github Open Source | Open Source | MIT | 2,020 | vue-table | JeeSky | SCSS | Code | 68 | 227 | .vue-table__mask {
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
margin: 0;
background-color: transparent;
z-index: 2000;
.vue-table__mask-spin {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
svg {
animation: antRotate 1s infinite li... | 10,997 |
https://github.com/dinhnhat0401/OCP/blob/master/assertion/Assertion.java | Github Open Source | Open Source | MIT | null | OCP | dinhnhat0401 | Java | Code | 38 | 129 | class Assertion {
private static void doStuff(int x) {
assert (x > 0);
System.out.println("Finished stuff");
}
public static void main(String[] args) {
try {
doStuff(Integer.parseInt(args[0]));
System.out.println("Input value " + Integer.parseInt(args[0]));
} catch(NumberFormatE... | 9,124 |
https://github.com/sambitgaan/nupic.son/blob/master/app/soc/logic/timeline.py | Github Open Source | Open Source | Apache-2.0 | 2,014 | nupic.son | sambitgaan | Python | Code | 138 | 247 | # Copyright 2013 the Melange 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 to in wr... | 10,359 |
https://github.com/leishiguang/models-of-concurrency/blob/master/concurrent/src/test/java/demo/concurrent/list/SinglyLinkedListTest.java | Github Open Source | Open Source | MIT | 2,020 | models-of-concurrency | leishiguang | Java | Code | 98 | 547 | package demo.concurrent.list;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.*;
/**
* 单向链表的测试
*
* @author leishiguang
* @since v1.0
*/
class SinglyLinkedListTest {
SinglyLinkedList<String> stringList;
@BeforeEach
void befor... | 36,781 |
https://github.com/louis-gabel/run-time-information-gathering/blob/master/tests/method_returning_typeof/methodSimpleReturnTypeOf.js | Github Open Source | Open Source | MIT | 2,021 | run-time-information-gathering | louis-gabel | JavaScript | Code | 56 | 151 | 'use strict';
function executeFunctions(obj) {
obj.returnString();
obj.returnNumber();
obj.returnFunction();
obj.returnObject();
}
var a = {
returnString: function () {
return 'hello';
},
returnNumber: function () {
return 123;
},
returnFunction: function () {
var f = function () {
... | 50,370 |
https://github.com/MukundVarmaT/layerwiseclr/blob/master/lwclr/models/deprecated/lit_lwclr_cont.py | Github Open Source | Open Source | MIT | 2,021 | layerwiseclr | MukundVarmaT | Python | Code | 322 | 1,568 | import random
import torch
import torch.nn as nn
import torch.nn.functional as F
import pytorch_lightning as pl
from .lit_simclr import SimCLR
from .heads import ProjectionHead, ProjectionMLP
from .model_selection import load_model
from .custom_losses import NT_XentSimCLR, SupConLoss
from .scheduler import WarmupCosin... | 5,377 |
https://github.com/farisdurrani/buzzex/blob/master/screens/SamTheSeller/ItemPriceScreen.js | Github Open Source | Open Source | CC-BY-4.0, MIT | null | buzzex | farisdurrani | JavaScript | Code | 295 | 1,071 | import {
StyleSheet,
Text,
TouchableOpacity,
View,
KeyboardAvoidingView,
Image,
TextInput,
} from "react-native";
import React, { useState, useEffect } from "react";
import { BButton, BackCancelButtons } from "../../components/index";
import { AntDesign, Ionicons, MaterialIcons } from "@expo/vector-icons"... | 11,874 |
https://github.com/immunnak/munnak/blob/master/src/components/forms/mailchimp-two/form/mailchimp.stc.js | Github Open Source | Open Source | MIT | 2,021 | munnak | immunnak | JavaScript | Code | 72 | 246 | import styled from 'styled-components'
import { themeGet } from '@styled-system/theme-get';
export const MailchimpWrap = styled.div `
position: relative;
input{
padding-right: 50px;
background: #fff;
color: #63696a;
border-color: ${themeGet("colors.themeColor")};
height:... | 44,517 |
https://github.com/kav-it/SharpLib/blob/master/Source/SharpLib.Log/Source/Conditions/Condition.Expression.Level.cs | Github Open Source | Open Source | MIT | 2,015 | SharpLib | kav-it | C# | Code | 35 | 97 |
using System;
namespace SharpLib.Log
{
internal sealed class ConditionLevelExpression : ConditionExpression
{
#region Методы
public override string ToString()
{
return "level";
}
protected override object EvaluateNode(LogEventInfo context)
{
... | 47,715 |
https://github.com/gonnaup/examples/blob/master/springs/src/main/java/org/gonnaup/examples/springs/beans/Product.java | Github Open Source | Open Source | Apache-2.0 | null | examples | gonnaup | Java | Code | 42 | 120 | package org.gonnaup.examples.springs.beans;
import lombok.Data;
/**
* 产品对象
*
* @author gonnaup
* @version 2021/7/12 10:21
*/
@Data
public class Product {
private Integer id;
private String name;
private Double price;
//产地
private String origin;
//总量
private double total;
pri... | 46,298 |
https://github.com/qq81860186/tuya-weapp-demo/blob/master/cloudfunctions/ty-service/node_modules/@cloudbase/database/src/transaction/collection.ts | Github Open Source | Open Source | MIT | 2,022 | tuya-weapp-demo | qq81860186 | TypeScript | Code | 159 | 435 | // import { Db } from './index'
import { Transaction } from './index'
import { DocumentReference } from './document'
import { Query } from './query'
// import Aggregation from './aggregate'
/**
* 集合模块,继承 Query 模块
*
* @author haroldhu
*/
export class CollectionReference extends Query {
/**
* 初始化
*
* @in... | 52,936 |
https://github.com/m33-WebDev/FPCW/blob/master/src/core.d.ts | Github Open Source | Open Source | MIT | null | FPCW | m33-WebDev | TypeScript | Code | 17 | 33 | // Allows us to import static image files
declare module "*.png";
declare module "*.webp";
declare module "*.jpg";
| 9,381 |
https://github.com/YuanGongND/Speech_DB_Engine/blob/master/speechdb/pitch_database.py | Github Open Source | Open Source | MIT | 2,018 | Speech_DB_Engine | YuanGongND | Python | Code | 371 | 1,429 | import numpy as np
class PitchDatabase( SpeechDatabase ):
#
dataType = 'waveform'
testType = 'holdOut'
dataName = 'Pitch'
# labelPosition
labelPosition = 0
# ground truth frequencies
groundTruth = np.linspace( 500, 8000, 16 )
def getDataPathHO( self, targetSet ):
... | 32,267 |
https://github.com/cormas/cormas/blob/master/repository/Cormas-UI/CMSpecPovSetter_Agent.class.st | Github Open Source | Open Source | MIT | 2,023 | cormas | cormas | null | Spoken | 674 | 1,934 | "
CMSpecPovSetter_Agent example.
For the Collaborators Part: State my main collaborators and one line about how I interact with them.
Public API and Key Messages
- message one
- message two
- (for bonus points) how to create instances.
One simple example is simply gorgeous.
Internal Representation and Key... | 27,197 |
https://github.com/isabella232/datafu-1/blob/master/datafu-pig/src/main/java/datafu/pig/stats/HyperLogLogPlusPlus.java | Github Open Source | Open Source | Apache-2.0 | 2,017 | datafu-1 | isabella232 | Java | Code | 727 | 1,952 | /*
* 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 ... | 9,518 |
https://github.com/Arquisoft/dechat_es2b/blob/master/e2e/features/steps/login.steps.ts | Github Open Source | Open Source | MIT | 2,019 | dechat_es2b | Arquisoft | TypeScript | Code | 129 | 418 | import {Given, Then, When} from 'cucumber';
import {by, element} from 'protractor';
import * as chai from 'chai';
import * as chaiAsPromised from 'chai-as-promised';
import {LoginPage} from '../../pageobjects/Login.po';
import {AppPage} from '../../pageobjects/App.po';
const expect = chai.use(chaiAsPromised).expect;
... | 3,255 |
https://github.com/kmalakoff/mixin/blob/master/src/lib/mixin-js-timeouts.coffee | Github Open Source | Open Source | MIT | 2,020 | mixin | kmalakoff | CoffeeScript | Code | 225 | 883 | ###
mixin-js-timeouts.js 0.1.5
(c) 2011, 2012 Kevin Malakoff - http://kmalakoff.github.com/mixin/
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Dependencies: Mixin.Core
###
Mixin.Timeouts or= {}
Mixin.Timeouts._mixin_info =
mixin_name: 'Timeouts'
initialize: ->
Mixin.instanceData(t... | 22,984 |
https://github.com/titomtd/Sylius/blob/master/src/Sylius/Component/Core/Model/ShopBillingData.php | Github Open Source | Open Source | MIT | 2,019 | Sylius | titomtd | PHP | Code | 205 | 581 | <?php
/*
* This file is part of the Sylius package.
*
* (c) Paweł Jędrzejewski
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace Sylius\Component\Core\Model;
class ShopBillingData implements Sho... | 17,679 |
https://github.com/apahl/vstools/blob/master/cmd/smina_post/main.go | Github Open Source | Open Source | MIT | 2,021 | vstools | apahl | Go | Code | 296 | 938 | // smina_post
// Writes all docking scores into one file `vs_scores.txt`
// Result files with scores <= -8.5 are put into the current dir
// parallel version with max. 5 goroutines - fastest with no ReadFile errors.
package main
import (
"errors"
"fmt"
"io/ioutil"
"os"
"path/filepath"
"strconv"
"strings"
"git... | 7,941 |
https://github.com/apache/jena/blob/master/jena-arq/src/main/java/org/apache/jena/sparql/function/scripting/NV.java | Github Open Source | Open Source | BSD-3-Clause, Apache-2.0 | 2,023 | jena | apache | Java | Code | 954 | 2,174 | /*
* 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 ... | 30,957 |
https://github.com/larrywhitefie1/schematics-task/blob/master/src/task/register.ts | Github Open Source | Open Source | MIT | null | schematics-task | larrywhitefie1 | TypeScript | Code | 76 | 245 | import { Rule } from '@angular-devkit/schematics';
import { RunSchematicTask } from '@angular-devkit/schematics/tasks';
import path from 'path';
import debugLib from 'debug';
export type TaskFn = Rule;
const debug = debugLib('schematics-task:register');
export function newTask(taskFn: TaskFn): RunSchematicTask<TaskF... | 13,099 |
https://github.com/teranders/godot-powerful/blob/master/addons/vector_resource/vector_resource_inspector.gd | Github Open Source | Open Source | MIT | 2,020 | godot-powerful | teranders | GDScript | Code | 30 | 114 | extends EditorInspectorPlugin
func can_handle(p_object):
return p_object is VectorResource
func parse_property(object, type, path, hint, hint_text, usage):
match path:
"value":
var editor = preload("editor/vector_editor.tscn").instance()
editor.edited_vector = object
add_custom_control(editor)
retur... | 1,662 |
https://github.com/tina1998612/js-libp2p/blob/master/test/metrics/index.node.js | Github Open Source | Open Source | MIT | 2,020 | js-libp2p | tina1998612 | JavaScript | Code | 389 | 1,364 | 'use strict'
/* eslint-env mocha */
const chai = require('chai')
chai.use(require('dirty-chai'))
chai.use(require('chai-as-promised'))
const { expect } = chai
const sinon = require('sinon')
const { randomBytes } = require('libp2p-crypto')
const pipe = require('it-pipe')
const concat = require('it-concat')
const delay... | 48,016 |
https://github.com/teaguesterling/django-chem/blob/master/django_chem/db/models/sql/compiler.py | Github Open Source | Open Source | BSD-3-Clause | 2,013 | django-chem | teaguesterling | Python | Code | 882 | 2,621 | from itertools import izip
from django.db.backends.util import truncate_name
from django.db.models.sql import compiler
from django.db.models.sql.constants import TABLE_NAME
from django.db.models.sql.query import get_proxied_model
SQLCompiler = compiler.SQLCompiler
# renamed portions of the GeoDjango SQL compiler, mor... | 50,879 |
https://github.com/contacttomukesh/TDS-Hackathon-2018/blob/master/DXA-theming/Hackathon/html/design/src/templates/pages/ajax/popup.hbs | Github Open Source | Open Source | MIT | 2,017 | TDS-Hackathon-2018 | contacttomukesh | null | Spoken | 68 | 183 | ---
layout: src/templates/layouts/blank.hbs
---
<div class="popup-content">
<!-- ToDo: convert dummy text into documentation or usage instruction -->
<h3>Some ajax content <small>(.popup-content .mfp-hide)</small></h3>
<p>Leverage agile frameworks to provide a robust synopsis for high level
overviews. Iterative ap... | 18,936 |
https://github.com/udn/multi_currency/blob/master/lib/converter/openexchange.rb | Github Open Source | Open Source | MIT | 2,015 | multi_currency | udn | Ruby | Code | 73 | 414 | module MultiCurrency
module Converter
module Openexchange
def self.get_rate_and_cache(source_currency, to_currency, date)
app_id = ENV['OPEN_EXCHANGE_RATES_APP_ID'] || '6ecb58dda5bb46a2b4fc6bcfbffc8c91'
if (source_currency.try(:downcase) == to_currency.try(:downcase)) || (source_currenc... | 146 |
https://github.com/Start-fitness/Forex/blob/master/src/app/components/main-sidebar/main-sidebar.component.scss | Github Open Source | Open Source | MIT | null | Forex | Start-fitness | SCSS | Code | 5 | 21 | .sidebar-color{
background: #12161C !important;
}
| 37,786 |
https://github.com/uxder/yano/blob/master/src/angular/directive-visibility-optimize.ts | Github Open Source | Open Source | MIT | 2,020 | yano | uxder | TypeScript | Code | 152 | 457 | import {
elementVisibility,
ElementVisibilityObject,
} from '../dom/element-visibility';
import {Raf} from '../raf/raf';
/**
* A directive used to immediately toggle visibility of elements when it goes out of view.
*/
export class VisibilityOptimizeController {
static get $inject() {
return ['$scope', '$el... | 7,522 |
https://github.com/sjalander/android-squeezer/blob/master/Squeezer/src/main/java/uk/org/ngo/squeezer/homescreenwidgets/SqueezerRemoteControlButtonSelectActivity.java | Github Open Source | Open Source | Apache-2.0 | null | android-squeezer | sjalander | Java | Code | 368 | 1,531 | package uk.org.ngo.squeezer.homescreenwidgets;
import android.appwidget.AppWidgetManager;
import android.content.Intent;
import android.content.res.Resources;
import android.content.res.TypedArray;
import android.graphics.Color;
import android.os.Bundle;
import android.util.Log;
import android.view.LayoutInflater;
imp... | 47,791 |
https://github.com/JacobMiske/rust-learning/blob/master/datatypes/src/main.rs | Github Open Source | Open Source | MIT | null | rust-learning | JacobMiske | Rust | Code | 83 | 240 | fn main() {
println!("Tuples!");
let x: (i32, f64, u8) = (500, 6.4, 1);
let _five_hundred = x.0;
let _six_point_four = x.1;
let _one = x.2;
println!("Arrays!");
let a = [1, 2, 3, 4, 5];
let _first = a[0];
let _second = a[1];
println!("Functions!");
second_function(5, 5)... | 34,589 |
https://github.com/BeastNeedsMoreTorque/Distribution/blob/master/o/octokit__types/src/main/scala/typings/octokitTypes/anon/ParametersReposDeleteFileEndpoint.scala | Github Open Source | Open Source | MIT | 2,020 | Distribution | BeastNeedsMoreTorque | Scala | Code | 62 | 311 | package typings.octokitTypes.anon
import typings.octokitTypes.endpointsMod.ReposDeleteFileEndpoint
import typings.octokitTypes.endpointsMod.ReposDeleteFileRequestOptions
import typings.octokitTypes.endpointsMod.ReposDeleteFileResponseData
import typings.octokitTypes.octokitResponseMod.OctokitResponse
import scala.scal... | 50,009 |
https://github.com/fadelmuhammad/spk-pm/blob/master/application/views/hasil_seleksi_syarat/tampil_data.php | Github Open Source | Open Source | MIT | null | spk-pm | fadelmuhammad | PHP | Code | 2,272 | 10,203 | <div class="box">
<div class="box-header">
<h3 class="box-title">Data Peserta Seleksi Syarat Yang Lulus</h3><br>
</div><!-- /.box-header -->
<div class="box-body">
<a class="btn btn-mini btn... | 9,546 |
https://github.com/MayMeow/webapp-ce/blob/master/app/Http/Controllers/Api/TagsController.php | Github Open Source | Open Source | MIT | 2,018 | webapp-ce | MayMeow | PHP | Code | 76 | 231 | <?php
namespace App\Http\Controllers\Api;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use App\Tag;
use App\Project;
use App\Http\Resources\Git\TagsResource;
class TagsController extends Controller
{
/**
* Create a new controller instance.
*
* @return void
*/
public f... | 20,997 |
https://github.com/ivcivc/angular/blob/master/examples/app/orange.service.d.ts | Github Open Source | Open Source | MIT | null | angular | ivcivc | TypeScript | Code | 18 | 40 | export declare class Orange {
day: string;
oranges: number;
}
export declare class OrangeService {
getOranges(): Orange[];
}
| 42,356 |
https://github.com/jeremyhakoune/connective/blob/master/client/src/views/Invite/InviteVendors.vue | Github Open Source | Open Source | MIT | 2,021 | connective | jeremyhakoune | Vue | Code | 307 | 1,393 | <template>
<div class="w-90 mx-auto mt-16">
<h1 class="mb-5" v-text="$t('invite.inviteVendors')" />
<h2
class="pb-12"
v-text="$t('invite.clickOnInviteUserButtonToInviteAdditionalVendorsViaEmail')"
/>
<div class="mx-auto d-flex justify-center mt-10 mb-3">
<pagination-complex-table
... | 32,186 |
https://github.com/jayrulez/NazaraEngine/blob/master/include/Nazara/Shader/Ast/ExpressionType.inl | Github Open Source | Open Source | BSD-3-Clause-Clear, Apache-2.0, MIT | null | NazaraEngine | jayrulez | C++ | Code | 399 | 1,416 | // Copyright (C) 2022 Jérôme "Lynix" Leclercq (lynix680@gmail.com)
// This file is part of the "Nazara Engine - Shader module"
// For conditions of distribution and use, see copyright notice in Config.hpp
#include <Nazara/Shader/Ast/ExpressionType.hpp>
#include <Nazara/Core/Algorithm.hpp>
#include <Nazara/Shader/Debug... | 31,462 |
https://github.com/srihi/YapTalker/blob/master/app/src/main/java/com/sedsoftware/yaptalker/presentation/features/authorization/di/AuthorizationFragmentModule.kt | Github Open Source | Open Source | Apache-2.0 | 2,018 | YapTalker | srihi | Kotlin | Code | 36 | 214 | package com.sedsoftware.yaptalker.presentation.features.authorization.di
import com.sedsoftware.yaptalker.data.repository.YapSitePreferencesRepository
import com.sedsoftware.yaptalker.data.service.YapSignInService
import com.sedsoftware.yaptalker.di.scopes.FragmentScope
import com.sedsoftware.yaptalker.domain.reposito... | 3,581 |
https://github.com/mkomaiha/TheAVClub/blob/master/backup/client/src/store/reducers/session.js | Github Open Source | Open Source | MIT | null | TheAVClub | mkomaiha | JavaScript | Code | 29 | 73 | import {GET_SESSION} from '../actions/constants'
const sessionReducer = (state = [], {type, payload}) => {
switch (type) {
case GET_SESSION:
return payload
default:
return state
}
}
export default sessionReducer;
| 20,026 |
https://github.com/lamductan/FunPhoto/blob/master/src/posts/views.py | Github Open Source | Open Source | MIT | null | FunPhoto | lamductan | Python | Code | 451 | 1,864 | from django.contrib import messages
from django.core.paginator import Paginator, EmptyPage, PageNotAnInteger
from django.http import HttpResponse, HttpResponseRedirect, FileResponse
from django.shortcuts import render, get_object_or_404, redirect
from django.core.files.storage import FileSystemStorage
from django.forms... | 25,006 |
https://github.com/GoogleCloudPlatform/k8s-config-connector/blob/master/pkg/k8s/state_into_spec_annotation.go | Github Open Source | Open Source | Apache-2.0 | 2,023 | k8s-config-connector | GoogleCloudPlatform | Go | Code | 296 | 789 | // Copyright 2022 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 11,348 |
https://github.com/Dpezz/tucv/blob/master/app/cache/dev/twig/d8/f9/99c8b2945b4cf34c3468c92c79fe75f321c85d3cd488c4eb9ba8e7abb190.php | Github Open Source | Open Source | MIT | null | tucv | Dpezz | PHP | Code | 113 | 433 | <?php
/* PCVDemoBundle:Show:video.html.twig */
class __TwigTemplate_d8f999c8b2945b4cf34c3468c92c79fe75f321c85d3cd488c4eb9ba8e7abb190 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = array(
... | 13,074 |
https://github.com/erda-project/erda/blob/master/cmd/monitor/streaming/conf/clickhouse/external_metrics/ddl_create_default_tables.sql.tpl | Github Open Source | Open Source | Apache-2.0 | 2,023 | erda | erda-project | null | Spoken | 158 | 733 | CREATE TABLE IF NOT EXISTS <database>.external_metrics ON CLUSTER '{cluster}'
(
`org_name` LowCardinality(String),
`tenant_id` LowCardinality(String),
`metric_group` LowCardinality(String),
`timestamp` DateTime64(9,'Asia/Shanghai') CODEC (DoubleDelta),
`number_f... | 793 |
https://github.com/whyalix/alixlucas/blob/master/assets/sass/components/_banner.scss | Github Open Source | Open Source | MIT | null | alixlucas | whyalix | SCSS | Code | 20 | 67 | .Banner {
}
.Banner__image > img {
max-height: 75vh;
}
.Title.Banner__title {
@media (min-width: 900px) {
font-size: 300%;
}
}
| 12,288 |
https://github.com/cnzakimuena/segPLEX/blob/master/subFunctions/preSeg_functions/getRetinaAndBm3.m | Github Open Source | Open Source | MIT | 2,021 | segPLEX | cnzakimuena | MATLAB | Code | 1,562 | 6,645 | function [ret,bm,yRPEt,yRPEb] = getRetinaAndBm3(im, lShift, rShift, CP)
%GETRETINAANDBM3 : find the position of the retina, bm, rpe (top and
%bottom).
% ret : position of the retina after alignment
% bm : position of the bm before (!) alignment
% yRPEt : position of the anterior interface RPE after alignment
% ... | 50,689 |
https://github.com/aniruddhabarapatre/twog/blob/master/twog.gemspec | Github Open Source | Open Source | MIT, LicenseRef-scancode-unknown-license-reference | 2,013 | twog | aniruddhabarapatre | Ruby | Code | 240 | 1,546 | # Generated by jeweler
# DO NOT EDIT THIS FILE DIRECTLY
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
# -*- encoding: utf-8 -*-
Gem::Specification.new do |s|
s.name = "twog"
s.version = "0.3.2"
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_ve... | 21,041 |
https://github.com/kontext-e/uneven-modules/blob/master/src/main/java/de/kontext_e/demo/processor/Processor.java | Github Open Source | Open Source | Apache-2.0 | 2,018 | uneven-modules | kontext-e | Java | Code | 12 | 49 | package de.kontext_e.demo.processor;
import de.kontext_e.demo.exporter.Exporter;
public class Processor {
private Exporter exporter;
}
| 23,497 |
https://github.com/varunkothamachu/yelo-android/blob/master/app/src/main/java/red/yelo/adapters/NotificationSummaryAdapter.java | Github Open Source | Open Source | Apache-2.0 | 2,015 | yelo-android | varunkothamachu | Java | Code | 444 | 1,568 | /*
*
* * Copyright (C) 2015 yelo.red
* *
* * 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... | 39,360 |
https://github.com/cfelder/installer/blob/master/vendor/github.com/hashicorp/terraform-provider-vsphere/vsphere/config.go | Github Open Source | Open Source | Apache-2.0 | 2,022 | installer | cfelder | Go | Code | 2,210 | 5,699 | package vsphere
import (
"context"
"crypto/sha1"
"encoding/json"
"fmt"
"log"
"net/http"
"net/url"
"os"
"path/filepath"
"time"
"github.com/vmware/govmomi/vapi/rest"
"github.com/hashicorp/terraform-plugin-sdk/helper/schema"
"github.com/hashicorp/terraform-provider-vsphere/vsphere/internal/helper/viapi"
"... | 35,834 |
https://github.com/rko281/ReStoreForPharo/blob/master/SSW ReStore P3/package.st | Github Open Source | Open Source | MIT | 2,023 | ReStoreForPharo | rko281 | null | Spoken | 8 | 17 | Package { #name : #'SSW ReStore P3' }
| 4,594 |
https://github.com/Shane-Park/playddit/blob/master/playddit/WebContent/preScript.jsp | Github Open Source | Open Source | MIT | 2,022 | playddit | Shane-Park | null | Spoken | 16 | 77 | <%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<!DOCTYPE html>
<script>
function getContextPath() {
return "<%=request.getContextPath()%>";
}
</script> | 19,390 |
https://github.com/unixisevil/copernicus-utxo-log/blob/master/model/utxo/coinsmap.go | Github Open Source | Open Source | BSD-2-Clause | null | copernicus-utxo-log | unixisevil | Go | Code | 401 | 1,328 | package utxo
import (
"fmt"
"github.com/copernet/copernicus/model/outpoint"
"github.com/copernet/copernicus/util"
)
type CoinsMap struct {
cacheCoins map[outpoint.OutPoint]*Coin
hashBlock util.Hash
}
func (cm *CoinsMap) GetMap() map[outpoint.OutPoint]*Coin {
return cm.cacheCoins
}
func NewEmptyCoinsMap() *C... | 12,095 |
https://github.com/Fi0x/DeepMagic/blob/master/src/main/java/com/fi0x/deepmagic/init/ModFluids.java | Github Open Source | Open Source | MIT | 2,021 | DeepMagic | Fi0x | Java | Code | 43 | 222 | package com.fi0x.deepmagic.init;
import com.fi0x.deepmagic.fluids.InsanityWater;
import net.minecraft.util.ResourceLocation;
import net.minecraftforge.fluids.Fluid;
import net.minecraftforge.fluids.FluidRegistry;
public class ModFluids
{
public static final Fluid INSANITY_WATER = new InsanityWater("insanity_water... | 11,575 |
https://github.com/VinulaUthsara/carbon-apimgt/blob/master/components/oidc-authenticator/org.wso2.carbon.apimgt.authenticator.oidc/src/main/java/org/wso2/carbon/apimgt/authenticator/oidc/OIDCAuthenticator.java | Github Open Source | Open Source | Apache-2.0 | 2,020 | carbon-apimgt | VinulaUthsara | Java | Code | 1,365 | 4,989 | /*
* Copyright (c) 2005-2010, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you 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.o... | 28,353 |
https://github.com/rahulkusuma1999/Architectures-From-Scratch/blob/master/AlexNet/alexnet.py | Github Open Source | Open Source | MIT | null | Architectures-From-Scratch | rahulkusuma1999 | Python | Code | 500 | 2,028 | # -*- coding: utf-8 -*-
"""AlexNet.ipynb
Automatically generated by Colaboratory.
Original file is located at
https://colab.research.google.com/drive/1k4UxfQaidO6cD17y2P6KhJ9U4Pmla2RZ
"""
import os
import time
import numpy as np
import pandas as pd
import torch
import torch.nn as nn
import torch.nn.functional as... | 21,654 |
https://github.com/winksaville/fuchsia/blob/master/third_party/rust_crates/vendor/multipart/src/server/save.rs | Github Open Source | Open Source | BSD-3-Clause, Apache-2.0, MIT, LicenseRef-scancode-unknown-license-reference | 2,019 | fuchsia | winksaville | Rust | Code | 4,627 | 10,835 | // Copyright 2016 `multipart` Crate Developers
//
// Licensed under the Apache License, Version 2.0, <LICENSE-APACHE or
// http://apache.org/licenses/LICENSE-2.0> or the MIT license <LICENSE-MIT or
// http://opensource.org/licenses/MIT>, at your option. This file may not be
// copied, modified, or distributed except ac... | 508 |
https://github.com/yangguang760/fooltrader/blob/master/genSummary.py | Github Open Source | Open Source | MIT | 2,020 | fooltrader | yangguang760 | Python | Code | 72 | 420 | from fooltrader.datamanager.china_future_manager import *
from fooltrader.transform.agg_future_dayk import agg_future_dayk
from fooltrader.settings import SUMMARY_PATH
import pandas as pd
import logging
logging.basicConfig(level=logging.DEBUG,#控制台打印的日志级别
filename='yg.log',
filemo... | 2,801 |
https://github.com/joshi4/corevault/blob/master/Godeps/_workspace/src/github.com/libgit2/git2go/vendor/libgit2/src/cc-compat.h | Github Open Source | Open Source | Apache-2.0 | 2,015 | corevault | joshi4 | C | Code | 268 | 643 | /*
* Copyright (C) the libgit2 contributors. All rights reserved.
*
* This file is part of libgit2, distributed under the GNU GPL v2 with
* a Linking Exception. For full terms see the included COPYING file.
*/
#ifndef INCLUDE_compat_h__
#define INCLUDE_compat_h__
#include <stdarg.h>
/*
* See if our compiler is ... | 24,869 |
https://github.com/marialouisee/sommerpalast-react/blob/master/src/scss/components/_Back.scss | Github Open Source | Open Source | MIT, Unlicense | null | sommerpalast-react | marialouisee | SCSS | Code | 18 | 63 | .backToHome {
display: flex;
justify-content: flex-end;
height: 80px;
a{
@include center;
svg {
margin-right: 0.5rem
}
}
} | 37,150 |
https://github.com/luannguyen252/my-swift-journey/blob/master/___KovSoft-SwiftUI-Tutorials/VPN-App-UI-With-Complex-Curves/Complex Curve/View/BottomSheet.swift | Github Open Source | Open Source | MIT | 2,021 | my-swift-journey | luannguyen252 | Swift | Code | 171 | 723 | //
// BottomSheet.swift
// Complex Curve
//
// Created by Balaji on 07/11/20.
//
import SwiftUI
struct BottomSheet: View {
@ObservedObject var serverData : ServerViewModel
var edges = UIApplication.shared.windows.first?.safeAreaInsets
@State var offset : CGFloat = 0
var body: so... | 16,887 |
https://github.com/veaversvand/mailwizz-wp-newsletter-box/blob/master/.gitmodules | Github Open Source | Open Source | MIT | 2,013 | mailwizz-wp-newsletter-box | veaversvand | Git Config | Code | 8 | 49 | [submodule "mailwizz-php-sdk"]
path = mailwizz-php-sdk
url = git://github.com/twisted1919/mailwizz-php-sdk.git
| 35,852 |
https://github.com/nikkimsqd/hello-cruel-world/blob/master/app/Http/Controllers/BoutiqueController.php | Github Open Source | Open Source | MIT | null | hello-cruel-world | nikkimsqd | PHP | Code | 5,540 | 25,912 | <?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Product;
use App\File;
use App\Category;
use App\User;
use App\Boutique;
use App\Rent;
use App\Tag;
use App\Declinedtransaction;
use App\Itemtag;
use App\Order;
use App\Categoryrequest;
use App\Mto;
use App\Measurementtype;
use App\Measurement... | 20,415 |
https://github.com/surendranadhk/surendra_spark_repo/blob/master/spark2.0/src/main/scala/com/examples/sparktwo/sparksql/DFMapExample.scala | Github Open Source | Open Source | Apache-2.0 | null | surendra_spark_repo | surendranadhk | Scala | Code | 48 | 242 |
package com.spark.migration.sparktwo
import org.apache.spark.sql._
import org.apache.spark.SparkConf
import org.apache.spark.SparkContext
object DFMapExample {
def main(args: Array[String]) = {
val sparkSession = SparkSession.builder.master("local").appName("mapexample").getOrCreate()
val loadedDF = spar... | 47,570 |
https://github.com/JasmineZhen218/P-WL/blob/master/data/IMDB_BINARY/0315.gml | Github Open Source | Open Source | MIT | 2,021 | P-WL | JasmineZhen218 | null | Spoken | 2,054 | 4,803 | graph [
directed 0
node [
id 6324
]
node [
id 6327
]
node [
id 6330
]
node [
id 6334
]
node [
id 6337
]
node [
id 6339
]
node [
id 6342
]
node [
id 6331
]
node [
id 6341
]
node [
id 6347
]
node [
id 6320
]
node [
id 6344
]... | 46,312 |
https://github.com/jangerhofer/votify/blob/master/rn-client/app/ui/list/like.js | Github Open Source | Open Source | MIT | 2,016 | votify | jangerhofer | JavaScript | Code | 75 | 222 | import React, { PropTypes } from 'react';
import {
View,
Text,
Image,
StyleSheet,
} from 'react-native';
import heart from '../../../assets/heart.png';
const styles = StyleSheet.create({
image: {
width: 19.44,
height: 17.42,
},
container: {
position: 'absolute',
right: 10,
top: 0,
}... | 18,926 |
https://github.com/GreenPioneer/buildreq/blob/master/lib/routing.js | Github Open Source | Open Source | MIT | 2,016 | buildreq | GreenPioneer | JavaScript | Code | 1,021 | 3,904 | var _ = require('lodash')
var express = require('express')
var chalk = require('chalk')
var bodyParser = require('body-parser')
var methodOverride = require('method-override')
var helmet = require('helmet')
var compression = require('compression')
// var async = require('async')
var auto = require('run-auto')
var debug... | 8,440 |
https://github.com/nistefan/cmssw/blob/master/DataFormats/CTPPSReco/interface/CTPPSDiamondRecHit.h | Github Open Source | Open Source | Apache-2.0 | 2,019 | cmssw | nistefan | C | Code | 257 | 716 | /****************************************************************************
*
* This is a part of CTPPS offline software.
* Authors:
* Laurent Forthomme (laurent.forthomme@cern.ch)
* Nicola Minafra (nicola.minafra@cern.ch)
*
****************************************************************************/
#if... | 35,546 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.