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/alucard263096/MagicMainLand/blob/master/app/src/main/java/com/helpfooter/magicmainland/Classes/MenuExtendes/ConsumerItemUseMenu.java | Github Open Source | Open Source | Apache-2.0 | null | MagicMainLand | alucard263096 | Java | Code | 111 | 833 | package com.helpfooter.magicmainland.Classes.MenuExtendes;
import com.helpfooter.magicmainland.Common.StaticObject;
import com.helpfooter.magicmainland.Classes.MenuManager;
import com.helpfooter.magicmainland.Classes.SceneBuilder;
import com.helpfooter.magicmainland.Classes.DialogExtends.HeroStatusDialog;
import com.h... | 30,631 |
https://github.com/Rohit484/Distribution/blob/master/a/aws-sdk/src/main/scala/typings/awsSdk/mturkMod/NotifyWorkersResponse.scala | Github Open Source | Open Source | MIT | 2,020 | Distribution | Rohit484 | Scala | Code | 136 | 551 | package typings.awsSdk.mturkMod
import scala.scalajs.js
import scala.scalajs.js.`|`
import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess}
@js.native
trait NotifyWorkersResponse extends js.Object {
/**
* When MTurk sends notifications to the list of Workers, it retur... | 13,408 |
https://github.com/andriux26/wx-ground-station/blob/master/aws-s3/upload-wx-images.js | Github Open Source | Open Source | MIT | 2,020 | wx-ground-station | andriux26 | JavaScript | Code | 557 | 1,692 | var fs = require('fs');
var path = require('path');
var glob = require("glob");
var AWS = require('aws-sdk');
var uuid = require('uuid');
var Jimp = require('jimp');
var dateFormat = require('dateformat');
var REGION = "";
var BUCKET = "";
var LOCATION = "";
var IMAGE_DIR = "images/";
AWS.config.update({region: REGI... | 1,244 |
https://github.com/armandomeeuwenoord/freight/blob/master/freight/api/serializer/base.py | Github Open Source | Open Source | Apache-2.0 | 2,021 | freight | armandomeeuwenoord | Python | Code | 32 | 128 | __all__ = ["Serializer"]
class Serializer(object):
def __call__(self, *args, **kwargs):
return self.serialize(*args, **kwargs)
def get_attrs(self, item_list):
return {}
def serialize(self, item, attrs):
return {}
def format_datetime(self, datetime):
if not datetime:
... | 26,616 |
https://github.com/stevegio/jekyll/blob/master/doc/book/book.asc | Github Open Source | Open Source | LicenseRef-scancode-unknown-license-reference, MIT | 2,011 | jekyll | stevegio | AsciiDoc | Code | 10 | 72 | Jekyll
======
:Author: Tom Preston-Werner
:Email: <tom@mojombo.com>
include::ch00-preface.asc[]
include::ch01-quick-start.asc[]
include::ch02-directory-layout.asc[]
| 26,336 |
https://github.com/zachdimitrov/Learning_2016/blob/master/CSharp-Part-1/04.Console-In-and-Out/10. Fibonacci Numbers/10.Fibonacci.cs | Github Open Source | Open Source | MIT | 2,020 | Learning_2016 | zachdimitrov | C# | Code | 160 | 294 | using System;
class Fibonacci
{
static void Main()
{
ulong N = ulong.Parse(Console.ReadLine());
ulong a = 0;
ulong b = 1;
for (ulong i = 0; i < N - 1; i++)
{
Console.Write("{0}, ", a);
ulong c = a + b;
a = b;
b = c;
... | 3,581 |
https://github.com/game-x50/android_client_app/blob/master/features/game/storage/impl/src/main/java/com/ruslan/hlushan/game/storage/impl/local/db/entities/LocalActionTypeDb.kt | Github Open Source | Open Source | Apache-2.0 | null | android_client_app | game-x50 | Kotlin | Code | 62 | 233 | package com.ruslan.hlushan.game.storage.impl.local.db.entities
import com.ruslan.hlushan.game.api.play.dto.LocalAction
internal enum class LocalActionTypeDb {
CREATE,
UPDATE,
DELETE;
}
internal val LocalAction.typeDb: LocalActionTypeDb
get() = when (this) {
is LocalAction.Create -> LocalActio... | 9,456 |
https://github.com/swsachith/harp/blob/master/core/harp-collective/src/main/java/edu/iu/harp/combiner/IntArrCombiner.java | Github Open Source | Open Source | Apache-1.1 | 2,021 | harp | swsachith | Java | Code | 202 | 567 | package edu.iu.harp.combiner;
import edu.iu.harp.partition.PartitionCombiner;
import edu.iu.harp.partition.PartitionStatus;
import edu.iu.harp.resource.IntArray;
/**
* Combine two Integer arrays according to a operation specified.
* Supported operations are
* SUM,
* MINUS,
* MULTIPLY,
* MAX,
* ... | 46,352 |
https://github.com/mukeshbasira/swift-animation/blob/master/Source/render/TextRenderer.swift | Github Open Source | Open Source | MIT | null | swift-animation | mukeshbasira | Swift | Code | 356 | 1,054 | import Foundation
import UIKit
class TextRenderer: NodeRenderer {
weak var text: Text?
init(text: Text, ctx: RenderContext, animationCache: AnimationCache?) {
self.text = text
super.init(node: text, ctx: ctx, animationCache: animationCache)
}
override func node() -> Node? {
... | 23,611 |
https://github.com/ASWC/pixi-5-ts/blob/master/raw-pixi-ts/ProjectionSystem.ts | Github Open Source | Open Source | MIT | 2,019 | pixi-5-ts | ASWC | TypeScript | Code | 390 | 1,002 | import { System } from "./System";
import { Matrix } from "./Matrix";
export class ProjectionSystem extends System
{
destinationFrame
defaultFrame
transform
sourceFrame
projectionMatrix
constructor(renderer)
{
super(renderer);
/**
* Destination frame
* @mem... | 22,628 |
https://github.com/mDemianchuk/Arabic-Roman-Converter/blob/master/src/main/java/com/demianchuk/models/converter/NumeralConverter.java | Github Open Source | Open Source | MIT | 2,018 | Arabic-Roman-Converter | mDemianchuk | Java | Code | 10 | 33 | package com.demianchuk.models.converter;
public interface NumeralConverter {
String convert(String value);
}
| 7,699 |
https://github.com/dirkvanrensburg/hazelcast/blob/master/hazelcast/src/main/java/com/hazelcast/cluster/client/AddMembershipListenerRequest.java | Github Open Source | Open Source | Apache-2.0 | 2,020 | hazelcast | dirkvanrensburg | Java | Code | 348 | 1,118 | /*
* Copyright (c) 2008-2013, Hazelcast, Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required ... | 35,961 |
https://github.com/jackw/eyeglass-image-dimensions/blob/master/sass/index.scss | Github Open Source | Open Source | Apache-2.0 | 2,017 | eyeglass-image-dimensions | jackw | SCSS | Code | 23 | 113 | @import "eyeglass/assets";
@function image-width($assetPath) {
@return eg-image-width($assetPath, $eg-registered-assets);
}
@function image-height($assetPath) {
@return eg-image-height($assetPath, $eg-registered-assets);
}
@function image-dimensions($assetPath) {
@return eg-image-dimensions($assetPath, $eg-regist... | 29,261 |
https://github.com/chromium/chromium/blob/master/chrome/test/data/extensions/api_test/gcm/events/on_messages_deleted.js | Github Open Source | Open Source | BSD-3-Clause, GPL-3.0-only | 2,023 | chromium | chromium | JavaScript | Code | 43 | 110 | // Copyright 2013 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
onload = function() {
chrome.test.runTests([
function messagesDeleted() {
chrome.test.listenOnce(chrome.gcm.onMessagesDeleted, function() {
chrome.test.asse... | 21,980 |
https://github.com/coderYB/ZYKit/blob/master/Pods/Headers/Private/SensorsAnalyticsSDK/SAServerUrl.h | Github Open Source | Open Source | MIT | 2,021 | ZYKit | coderYB | C | Code | 183 | 433 | //
// SAServerUrl.h
// SensorsAnalyticsSDK
//
// Created by 王灼洲 on 2018/1/2.
// Copyright © 2015-2019 Sensors Data Inc. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the Li... | 41,275 |
https://github.com/bozzzzo/quark/blob/master/quarkc/test/emit/expected/java/static/src/main/java/static_/Functions.java | Github Open Source | Open Source | Apache-2.0 | 2,016 | quark | bozzzzo | Java | Code | 72 | 855 | package static_;
public class Functions {
static static_md.Root root = new static_md.Root();
public static final void main(String[] args) {
main(new java.util.ArrayList(java.util.Arrays.asList(args)));
}
public static void main(java.util.ArrayList<String> args) {
do{System.out.print... | 15,481 |
https://github.com/disco-trooper/blog-api/blob/master/controllers/commentController.js | Github Open Source | Open Source | MIT | null | blog-api | disco-trooper | JavaScript | Code | 159 | 475 | const { body, validationResult } = require('express-validator');
const debug = require('debug')('commentController');
const createError = require('http-errors');
const Comment = require('../models/comment');
// GET Comments
exports.getComments = async (req, res, next) => {
try {
const comments = await Comment.fi... | 13,077 |
https://github.com/cdsalmons/gridgain/blob/master/modules/core/src/test/java/org/gridgain/grid/kernal/processors/cache/GridCacheAbstractMetricsSelfTest.java | Github Open Source | Open Source | Apache-2.0 | 2,015 | gridgain | cdsalmons | Java | Code | 757 | 1,959 | /*
Copyright (C) GridGain Systems. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or... | 2,508 |
https://github.com/piteredo/SOCKET.IO_PHINA.JS_TEST/blob/master/assets.js | Github Open Source | Open Source | MIT | 2,021 | SOCKET.IO_PHINA.JS_TEST | piteredo | JavaScript | Code | 241 | 968 | //
//
// assets.js
// 2018 @auther piteredo
// This Program is MIT license.
//
//
const ASSETS = {
image: {
"tomapiko": "https://rawgit.com/phi-jp/phina.js/develop/assets/images/tomapiko_ss.png",
"nasupiyo": "https://rawgit.com/phinajs/phina.js/develop/assets/images/character/nasupiyo.png"
},
spritesheet: {
"... | 16,582 |
https://github.com/Rishank2610/gammapy/blob/master/gammapy/astro/darkmatter/utils.py | Github Open Source | Open Source | BSD-3-Clause | 2,022 | gammapy | Rishank2610 | Python | Code | 167 | 540 | # Licensed under a 3-clause BSD style license - see LICENSE.rst
"""Utilities to compute J-factor maps."""
import astropy.units as u
__all__ = ["JFactory"]
class JFactory:
"""Compute J-Factor maps.
All J-Factors are computed for annihilation. The assumed dark matter
profiles will be centered on the cente... | 49,575 |
https://github.com/kjappelbaum/xrd-analysis/blob/master/src/from/__tests__/fromPowDLLXY.test.js | Github Open Source | Open Source | MIT | null | xrd-analysis | kjappelbaum | JavaScript | Code | 58 | 322 | import { readFileSync } from 'fs';
import { join } from 'path';
import { fromPowDLLXY } from '../fromPowDLLXY';
describe('fromXY', () => {
const xy = readFileSync(
join(__dirname, '../../../testFiles/MG1-Cu2O-28_bg_subtracted.xy'),
'utf8',
);
it('check the dictionary', () => {
const analysis = from... | 37,405 |
https://github.com/trackwayx/Dianoga/blob/master/src/Dianoga/MediaRequestHandler.cs | Github Open Source | Open Source | MIT | null | Dianoga | trackwayx | C# | Code | 115 | 421 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web;
using Dianoga.Invokers.MediaCacheAsync;
using Sitecore.Configuration;
using Sitecore.Resources.Media;
using Sitecore.Rules.Conditions;
namespace Dianoga
{
public class MediaRequestHan... | 21,400 |
https://github.com/tyron/google-oauth-plugin/blob/master/.gitignore | Github Open Source | Open Source | Apache-2.0, LicenseRef-scancode-unknown-license-reference | 2,019 | google-oauth-plugin | tyron | Ignore List | Code | 15 | 40 | # Maven
target
work
# IntelliJ IDEA
.idea/
*.iml
# Jenkins
work/
# Emacs
*~
| 23,273 |
https://github.com/agusismawan/rusdiantokom/blob/master/laporan.php | Github Open Source | Open Source | MIT | null | rusdiantokom | agusismawan | PHP | Code | 328 | 1,870 | <?php include "head.php" ?>
<?php
if (isset($_GET['action']) && $_GET['action']=="detail_transaksi") {
include "detail_transaksi.php";
}
else{
?>
<script type="text/javascript">
document.title="Laporan Penjualan";
document.getElementById('laporan').classList.add('active');
</script>
<div class="content">
<div ... | 19,453 |
https://github.com/forj-oss/puppet-gardener/blob/master/lib/puppet/parser/functions/to_json.rb | Github Open Source | Open Source | Apache-2.0 | null | puppet-gardener | forj-oss | Ruby | Code | 209 | 470 | # (c) Copyright 2014 Hewlett-Packard Development Company, L.P.
#
# 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... | 11,526 |
https://github.com/kudocc/CCKit/blob/master/CCKitDemo/other/CCRemoteNotificationManager.m | Github Open Source | Open Source | MIT | 2,019 | CCKit | kudocc | Objective-C | Code | 372 | 1,104 | //
// CCRemoteNotificationManager.m
// dodopay
//
// Created by KudoCC on 2016/12/7.
// Copyright © 2016年 KudoCC. All rights reserved.
//
#import "CCRemoteNotificationManager.h"
#import <UserNotifications/UserNotifications.h>
@interface CCRemoteNotificationManager () <UNUserNotificationCenterDelegate>
@end
@imp... | 11,513 |
https://github.com/MatthieuPoullin/ethel-core/blob/master/src/utils/actionMapper.js | Github Open Source | Open Source | MIT | 2,019 | ethel-core | MatthieuPoullin | JavaScript | Code | 302 | 800 | /* eslint import/no-dynamic-require: 0, no-loop-func: 0 */
const fs = require('fs');
const path = require('path');
const logger = require('../utils/logger');
let instance;
const actions = {};
function getAllFuncs(param) {
let props = [];
let obj = param;
do {
const l = Object.getOwnPropertyNames(obj)
... | 25,758 |
https://github.com/ryankurte/codechecker/blob/master/web/server/vue-cli/src/components/Icons/AnalyzerStatisticsIcon.vue | Github Open Source | Open Source | Apache-2.0 | 2,022 | codechecker | ryankurte | Vue | Code | 36 | 141 | <template>
<v-icon
v-if="value === 'successful'"
color="#587549"
>
mdi-check
</v-icon>
<v-icon
v-else-if="value === 'failed'"
color="#964739"
>
mdi-close
</v-icon>
</template>
<script>
export default {
name: "AnalyzerStatisticsIcon",
props: {
value: { type: String, required... | 47,644 |
https://github.com/dravanet/ganeti-extstorage-csi/blob/master/pkg/ganeti/extstorage/interface.go | Github Open Source | Open Source | BSD-2-Clause | null | ganeti-extstorage-csi | dravanet | Go | Code | 912 | 1,479 | package extstorage
import "context"
// Interface is the ganeti-extstorage interface according to
// https://docs.ganeti.org/docs/ganeti/3.0/html/man-ganeti-extstorage-interface.html#executable-scripts
type Interface interface {
/*
The create command is used for creating a new volume inside the external storage. Th... | 39,010 |
https://github.com/i-gaven/Just_a_dumper/blob/master/all_headers/百度 - 有事搜一搜,没事看一看-10.4.5(越狱应用)_headers/HSWebCore.h | Github Open Source | Open Source | MIT | 2,018 | Just_a_dumper | i-gaven | Objective-C | Code | 661 | 3,575 | //
// Generated by class-dump 3.5 (64 bit) (Debug version compiled Sep 17 2017 16:24:48).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard.
//
#import <UIKit/UIView.h>
#import "HSPanGestureManagerDelegate-Protocol.h"
#import "HSUIWebViewDelegate-Protocol.h"
#import "HSWebViewP... | 46,108 |
https://github.com/TheGrizzlyDev/natalie/blob/master/include/natalie/string.hpp | Github Open Source | Open Source | MIT | null | natalie | TheGrizzlyDev | C++ | Code | 1,466 | 4,345 | #pragma once
#include <assert.h>
#include <ctype.h>
#include <stdarg.h>
#include <string.h>
#include "natalie/forward.hpp"
#include "natalie/gc.hpp"
// from dtoa.c by David Gay
extern "C" char *dtoa(double d, int mode, int ndigits, int *decpt, int *sign, char **rve);
namespace Natalie {
class String : public Cell ... | 1,093 |
https://github.com/pg83/mix/blob/master/pkgs/boot/9/flex/2.5.10.0.sh | Github Open Source | Open Source | MIT | 2,022 | mix | pg83 | Shell | Code | 209 | 726 | {% extends '//mix/template/c_std.sh' %}
{% block fetch %}
https://github.com/westes/flex/archive/refs/tags/flex-2-5-10.tar.gz
4e57770c7dfc2b1d113729f62d6ae3b6
{% block flex_extra_fetch %}
https://gitlab.com/giomasce/flex/-/raw/506e9605baf4638ba47d37133c348df1385ef06c/scan.lex.l
3a8bef1b4d0b0823aff29ff0dc76d8c3
{% endb... | 22,025 |
https://github.com/YasserMahdi/E_Archiver/blob/master/app/Http/Controllers/ImgController.php | Github Open Source | Open Source | MIT | 2,020 | E_Archiver | YasserMahdi | PHP | Code | 300 | 1,389 | <?php
namespace App\Http\Controllers;
use App\Empimg;
use App\Programimg;
use App\Unitimg;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\DB;
use Image;
use Illuminate\Support\Facades\Response;
class ImgController extends Controller
{
// public function uploadEmpImg(Request $request)
// {
// ... | 9,029 |
https://github.com/ai408/abp-vue-admin-element-typescript/blob/master/aspnet-core/modules/common/LINGYUN.Abp.Notifications/Newtonsoft/Json/HexLongConverter.cs | Github Open Source | Open Source | MIT | 2,021 | abp-vue-admin-element-typescript | ai408 | C# | Code | 86 | 238 | using System;
namespace Newtonsoft.Json
{
public class HexLongConverter : JsonConverter
{
public override void WriteJson(JsonWriter writer, object value, JsonSerializer serializer)
{
long v = value is ulong ? (long)(ulong)value : (long)value;
writer.WriteValue(v.ToStrin... | 24,485 |
https://github.com/yujh-yujh/apgspaceinvaders/blob/master/recompile.sh | Github Open Source | Open Source | MIT | null | apgspaceinvaders | yujh-yujh | Shell | Code | 319 | 923 | #!/bin/bash
set -e
chmod 755 *.sh
# Ensures 'make' works properly:
rm -f ".depend" | true
rm -f "main.o" | true
make clean
# Ensures compilation will fail unless rule2asm succeeds:
rm -f "includes/params.h" | true
rulearg=`echo "$@" | grep -o "\\-\\-rule [^ ]*" | sed "s/\\-\\-rule\\ //"`
symmarg=`echo "$@" | grep -... | 15,535 |
https://github.com/JPMoresmau/camel/blob/master/docs/components/modules/dataformats/pages/mimeMultipart-dataformat.adoc | Github Open Source | Open Source | Apache-2.0 | 2,022 | camel | JPMoresmau | AsciiDoc | Code | 891 | 1,910 | = MIME Multipart DataFormat
:doctitle: MIME Multipart
:shortname: mimeMultipart
:artifactid: camel-mail
:description: Marshal Camel messages with attachments into MIME-Multipart messages and back.
:since: 2.17
:supportlevel: Stable
//Manually maintained attributes
:camel-spring-boot-name: mail
*Since Camel {since}*
T... | 971 |
https://github.com/Junkdance/LDtkUnity/blob/master/.gitignore | Github Open Source | Open Source | MIT | 2,020 | LDtkUnity | Junkdance | Ignore List | Code | 24 | 137 | Temp/
Library/
Logs/
UserSettings/
Assets/AssetStoreTools/
Assets/AssetStoreTools.meta
Assets/Plugins/Editor/JetBrains
Assets/Plugins/Editor/JetBrains.meta
Assets/Plugins.meta
Assets/Plugins/Editor.meta
ExportedObj/
obj/
.vs/
.vscode/
.idea/
*.svd
*.userprefs
*.csproj
*.pidb
*.suo
*.sln
*.user
*.unityproj
*.booproj
| 29,510 |
https://github.com/MateusNazare/desafio_nestjs/blob/master/src/professores/dto/update-professore.dto.ts | Github Open Source | Open Source | MIT | null | desafio_nestjs | MateusNazare | TypeScript | Code | 18 | 57 | import { PartialType } from '@nestjs/mapped-types';
import { CreateProfessoreDto } from './create-professore.dto';
export class UpdateProfessoreDto extends PartialType(CreateProfessoreDto) {}
| 13,500 |
https://github.com/phpactor/phpactor/blob/master/lib/Extension/LanguageServerBridge/TextDocument/WorkspaceTextDocumentLocator.php | Github Open Source | Open Source | MIT | 2,023 | phpactor | phpactor | PHP | Code | 50 | 253 | <?php
namespace Phpactor\Extension\LanguageServerBridge\TextDocument;
use Phpactor\Extension\LanguageServerBridge\Converter\TextDocumentConverter;
use Phpactor\LanguageServer\Core\Workspace\Exception\UnknownDocument;
use Phpactor\LanguageServer\Core\Workspace\Workspace as PhpactorWorkspace;
use Phpactor\TextDocument\... | 1,811 |
https://github.com/steleman/flang9/blob/master/tools/flang/test/f90_correct/src/pre11.f90 | Github Open Source | Open Source | Apache-2.0, NCSA, LLVM-exception | 2,020 | flang9 | steleman | Fortran Free Form | Code | 231 | 413 | !
! Copyright (c) 2014, 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 License at
!
! http://www.apache.org/licenses/LICENSE-2.0
!
! Unless required by app... | 26,186 |
https://github.com/mat-1/brigadier/blob/master/src/lib/arguments/FloatArgumentType.ts | Github Open Source | Open Source | MIT | 2,022 | brigadier | mat-1 | TypeScript | Code | 219 | 622 | import StringReader from "../StringReader"
import CommandContext from "../context/CommandContext"
import CommandSyntaxException from "../exceptions/CommandSyntaxException"
import Suggestions from "../suggestion/Suggestions"
import SuggestionsBuilder from "../suggestion/SuggestionsBuilder"
import ArgumentType from "./Ar... | 4,629 |
https://github.com/reez/Tabs/blob/master/LightningNode/Invoice.swift | Github Open Source | Open Source | MIT | 2,021 | Tabs | reez | Swift | Code | 115 | 324 | //
// LightningNode
//
// Created by Matthew Ramsden on 1/1/19.
// Copyright © 2019 Matthew Ramsden. All rights reserved.
//
import Foundation
import LNDrpc
extension Invoice {
convenience init(value: Int, memo: String) {
self.init()
self.memo = memo
self.value = Int64(value)
}
}
e... | 14,440 |
https://github.com/nicolafavata/SmartLogistics/blob/master/resources/views/employee/profile.blade.php | Github Open Source | Open Source | MIT | null | SmartLogistics | nicolafavata | PHP | Code | 238 | 1,220 | @extends('layouts.employee')
@section('title','Profilo di '.$dati->name.' '.$dati->cognome)
@section('content_header')
<h2 class="shadow verdino center">{{$dati->name.' '.$dati->cognome.' questi sono i dati del tuo profilo'}}</h2>
@endsection
@section('content_section')
<div id="body_page" class="containe... | 46,828 |
https://github.com/SultanKs4/laporan-praktikum-pbo-2019/blob/master/src/14_GUI_dan_Database/backend/Peminjaman1841720019Sultan.java | Github Open Source | Open Source | MIT | 2,019 | laporan-praktikum-pbo-2019 | SultanKs4 | Java | Code | 566 | 2,490 | package id.natlus.backend;
import java.sql.ResultSet;
import java.util.ArrayList;
public class Peminjaman1841720019Sultan {
private int mIdpeminjaman, mIdanggota, mIdbuku;
private Anggota1841720019Sultan mAnggota = new Anggota1841720019Sultan();
private Buku1841720019Sultan mBuku = new Buku1841720019Sulta... | 4,736 |
https://github.com/ScalablyTyped/Distribution/blob/master/a/aws-sdk/src/main/scala/typings/awsSdk/clientsSchemasMod/CreateDiscovererRequest.scala | Github Open Source | Open Source | MIT | 2,023 | Distribution | ScalablyTyped | Scala | Code | 172 | 576 | package typings.awsSdk.clientsSchemasMod
import org.scalablytyped.runtime.StObject
import scala.scalajs.js
import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess}
trait CreateDiscovererRequest extends StObject {
/**
* Support discovery of schemas in events sent to the ... | 28,200 |
https://github.com/joshel123/Api.Core.ControllerTemplates/blob/master/BaseControllerTemplate.cs | Github Open Source | Open Source | MIT | 2,021 | Api.Core.ControllerTemplates | joshel123 | C# | Code | 145 | 504 | using System.Runtime.CompilerServices;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
using System.Reflection;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Text;
namespace Api.Core.ControllerTemplates
{
[ApiController]
public abstract class BaseControllerTemplate<T... | 36,240 |
https://github.com/sifodyas/sifodyas/blob/master/core/src/psr/container/IContainerException.ts | Github Open Source | Open Source | MIT | 2,019 | sifodyas | sifodyas | TypeScript | Code | 20 | 44 | /* eslint-disable @typescript-eslint/no-empty-interface */
/**
* Base interface representing a generic exception in a container.
*/
export interface IContainerException {}
| 37,878 |
https://github.com/m809745357/hospital/blob/master/resources/views/pc/scheduling/index.blade.php | Github Open Source | Open Source | Apache-2.0 | null | hospital | m809745357 | PHP | Code | 10 | 51 | @extends('pc.layouts.app')
@section('content')
<scheduling-index :attributes="{{ $doctors }}" :categories="{{ $departments }}"></scheduling-index>
@endsection | 2,600 |
https://github.com/mcopik/perf-taint/blob/master/benchmarks/milc/milc_qcd-7.8.1/arb_dirac_invert/addsite_fp_bi.h | Github Open Source | Open Source | BSD-3-Clause | 2,021 | perf-taint | mcopik | C | Code | 28 | 53 | /* Addition to site structure for biconjugate gradient inverter */
wilson_vector sss; /* internal biconjugate gradient vector */
wilson_vector tmp; /* auxiliary for other internal biCG vectors */
| 20,686 |
https://github.com/DownloadMii/DownloadMii-3DS/blob/master/source/utils.cpp | Github Open Source | Open Source | MIT | 2,019 | DownloadMii-3DS | DownloadMii | C++ | Code | 3,341 | 12,723 | #include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <malloc.h>
#include <sys/stat.h>
#include <iostream>
#include <string>
#include <sstream>
#include <3ds.h>
#include <zlib.h>
#include "utils.h"
#include "print.h"
#include <sys/socket.h>
#include <netinet/in.h>
#include <netdb.h>
const int commandPor... | 21,946 |
https://github.com/Pis-moove-it/reciclando-mobile/blob/master/src/__test__/__reducers__/Edit-bale-modal-reducer.test.js | Github Open Source | Open Source | MIT | null | reciclando-mobile | Pis-moove-it | JavaScript | Code | 126 | 442 | import editBaleModalReducer, { initialState } from '../../reducers/EditBaleModalReducer';
import { actionTypes } from '../../actions/EditBaleModalActions';
jest.mock(
'react-native-localization',
() =>
class RNLocalization {
language = 'en';
constructor(props) {
this.props = props;
... | 25,124 |
https://github.com/miguelortega03/Inacap_Mobile/blob/master/www/addons/mod/scorm/services/scorm_online.js | Github Open Source | Open Source | Apache-2.0 | null | Inacap_Mobile | miguelortega03 | JavaScript | Code | 1,033 | 2,900 | // (C) Copyright 2015 Martin Dougiamas
//
// 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 agre... | 9,243 |
https://github.com/Topface/plus1-android-sdk/blob/master/sdk/src/ru/wapstart/plus1/sdk/BaseAdView.java | Github Open Source | Open Source | BSD-3-Clause | 2,022 | plus1-android-sdk | Topface | Java | Code | 410 | 950 | /**
* Copyright (c) 2012, Alexander Zaytsev <a.zaytsev@co.wapstart.ru>
* 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... | 37,746 |
https://github.com/TomBrossy/event_map_planner/blob/master/pages/_app.js | Github Open Source | Open Source | MIT | null | event_map_planner | TomBrossy | JavaScript | Code | 35 | 120 | import Layout from '../components/Layout';
import '../styles/global.css';
import 'tailwindcss/tailwind.css'
import "react-notifications-component/dist/theme.css";
import ReactNotification from "react-notifications-component";
export default function MyApp({ Component, pageProps }) {
return (
<>
... | 7,652 |
https://github.com/postBG/CIFAR10-CNN-tensorflow/blob/master/data.py | Github Open Source | Open Source | MIT | null | CIFAR10-CNN-tensorflow | postBG | Python | Code | 344 | 1,275 | import os
import pickle
import numpy as np
from sklearn.preprocessing import LabelBinarizer
from utils import Cifar10, unpickle
preprocessed_data_path = "preprocessed-cifar10-data"
lb = LabelBinarizer()
lb.fit(range(Cifar10.num_classes))
if not os.path.exists(preprocessed_data_path):
os.makedirs(preprocessed_da... | 44,648 |
https://github.com/54481280/tp5/blob/master/runtime/temp/e2b8115d175c8eed1a9b7dbe15247f56.php | Github Open Source | Open Source | Apache-2.0 | 2,019 | tp5 | 54481280 | PHP | Code | 201 | 1,203 | <?php if (!defined('THINK_PATH')) exit(); /*a:1:{s:53:"E:\phpStudy\PHPTutorial\WWW\tp5\addons/digg\vote.html";i:1496373782;}*/ ?>
<link rel="stylesheet" type="text/css" href="__STATIC__/addons/digg/css/style.css">
<link rel="stylesheet" type="text/css" href="__STATIC__/addons/digg/css/font-awesome.min.css">
<script typ... | 13,172 |
https://github.com/YX577/MonthlyRunoffForecastByAutoReg/blob/master/Huaxian_eemd/projects/pred_ana.py | Github Open Source | Open Source | MIT | 2,020 | MonthlyRunoffForecastByAutoReg | YX577 | Python | Code | 79 | 546 | import os
current_path = os.path.dirname(os.path.abspath(__file__))
parent_path = os.path.abspath(os.path.join(current_path, os.path.pardir))
grandpa_path = os.path.abspath(os.path.join(parent_path, os.path.pardir))
data_path = parent_path + '\\data\\'
import matplotlib.pyplot as plt
import pandas as pd
import numpy a... | 44,463 |
https://github.com/NanoCode012/ITStep/blob/master/C Programming/Two Dimension Array Shift/main.cpp | Github Open Source | Open Source | MIT | 2,022 | ITStep | NanoCode012 | C++ | Code | 269 | 709 | #include <iostream>
#include <stdlib.h>
#include <time.h>
using namespace std;
int ShiftHorizontal(bool shiftRight, int amount, int arr[2][6]){
//create a new array which stores new value
//set value from old array into correct position is new array
//copy from new array back into old array
int array[... | 30,474 |
https://github.com/silcam/cmbpayroll/blob/master/db/migrate/20171006140754_create_loans.rb | Github Open Source | Open Source | MIT | null | cmbpayroll | silcam | Ruby | Code | 39 | 151 | class CreateLoans < ActiveRecord::Migration[5.1]
def change
create_table :loans do |t|
t.float :amount
t.string :comment
t.date :origination
t.integer :term
t.timestamps
end
add_reference :loans, :employee
create_table :loan_payments do |t|
t.float :amount
... | 37,944 |
https://github.com/sajeer-nooh/pacbot/blob/master/api/pacman-api-asset/src/main/java/com/tmobile/pacman/api/asset/service/AssetService.java | Github Open Source | Open Source | Apache-2.0 | 2,020 | pacbot | sajeer-nooh | Java | Code | 2,517 | 4,829 | /*******************************************************************************
* Copyright 2018 T Mobile, Inc. or its affiliates. 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
* o... | 34,864 |
https://github.com/sunshinex/jpuppeteer/blob/master/src/main/java/jpuppeteer/cdp/client/entity/dom/ResolveNodeRequest.java | Github Open Source | Open Source | Apache-2.0 | 2,022 | jpuppeteer | sunshinex | Java | Code | 108 | 279 | package jpuppeteer.cdp.client.entity.dom;
/**
*/
public class ResolveNodeRequest {
/**
* Id of the node to resolve.
*/
public final Integer nodeId;
/**
* Backend identifier of the node to resolve.
*/
public final Integer backendNodeId;
/**
* Symbolic group name that can be us... | 48,551 |
https://github.com/issyzac/fhircore/blob/master/android/engine/src/main/java/org/smartregister/fhircore/engine/util/DateUtils.kt | Github Open Source | Open Source | Apache-2.0 | 2,021 | fhircore | issyzac | Kotlin | Code | 230 | 625 | /*
* Copyright 2021 Ona Systems, Inc
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... | 38,016 |
https://github.com/ConnectionMaster/Umbraco-CMS/blob/master/src/Umbraco.Web/umbraco.presentation/umbraco/create/PartialViewTasks.cs | Github Open Source | Open Source | MIT | 2,013 | Umbraco-CMS | ConnectionMaster | C# | Code | 290 | 999 | using System.IO;
using System.Web;
using Umbraco.Core.CodeAnnotations;
using Umbraco.Core.IO;
using Umbraco.Core.Logging;
using Umbraco.Web.Mvc;
using Umbraco.Web.UI;
using umbraco.BasePages;
using Umbraco.Core;
using umbraco.BusinessLogic;
namespace umbraco
{
/// <summary>
/// The UI 'tasks' for the create dialog ... | 24,742 |
https://github.com/Rami-Majdoub/bagel/blob/master/core/src/ru/icarumbas/bagel/engine/components/other/OpenComponent.kt | Github Open Source | Open Source | Apache-2.0 | 2,017 | bagel | Rami-Majdoub | Kotlin | Code | 17 | 58 | package ru.icarumbas.bagel.engine.components.other
import com.badlogic.ashley.core.Component
class OpenComponent() : Component{
var isCollidingWithPlayer = false
var opening = false
} | 49,039 |
https://github.com/RaulV10/Proyecto-Multicapa/blob/master/app/Drink.php | Github Open Source | Open Source | MIT | null | Proyecto-Multicapa | RaulV10 | PHP | Code | 55 | 202 | <?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Drink extends Model
{
protected $guardable = [];
public function saveDrink($data) {
$this->name = $data['name'];
$this->description = $data['description'];
$this->price = $data['price'];
$this->menu_id = $data['menu_id'];
... | 41,866 |
https://github.com/alldatacenter/alldata/blob/master/dts/bitsail/bitsail-base/src/main/java/com/bytedance/bitsail/base/messenger/checker/LowVolumeTestChecker.java | Github Open Source | Open Source | Apache-2.0, BSD-3-Clause, MIT | 2,023 | alldata | alldatacenter | Java | Code | 287 | 636 | /*
* 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 ... | 38,737 |
https://github.com/TobiasLudwig/boost.simd/blob/master/test/api/algorithm/copy_n.cpp | Github Open Source | Open Source | BSL-1.0 | 2,021 | boost.simd | TobiasLudwig | C++ | Code | 83 | 318 | //==================================================================================================
/*
Copyright 2017 NumScale SAS
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE.md or copy_n at http://boost.org/LICENSE_1_0.txt)
*/
//====================================... | 32,499 |
https://github.com/juozasg/suis4j/blob/master/src/com/eviware/soapui/impl/support/definition/support/XmlSchemaBasedInterfaceDefinition.java | Github Open Source | Open Source | MIT | null | suis4j | juozasg | Java | Code | 240 | 724 | /*
* SoapUI, Copyright (C) 2004-2016 SmartBear Software
*
* Licensed under the EUPL, Version 1.1 or - as soon as they will be approved by the European Commission - subsequen
* versions of the EUPL (the "Licence");
* You may not use this work except in compliance with the Licence.
* You may obtain a copy of the Li... | 10,756 |
https://github.com/nathan-lai234/Tierator/blob/master/backend/routes/dummyQuery.js | Github Open Source | Open Source | Apache-2.0 | null | Tierator | nathan-lai234 | JavaScript | Code | 77 | 213 | const express = require("express");
const router = express.Router();
const pool = require("../dev/databaseDetails");
const getUsers = (request, response) => {
pool.query("SELECT * FROM dummy", (error, results) => {
if (error) {
console.log(error);
throw error;
}
response.status(200).json(resu... | 26,630 |
https://github.com/prostickman/retrofit-spring-boot-starter/blob/master/src/main/java/com/github/lianjiatech/retrofit/spring/boot/interceptor/LogLevel.java | Github Open Source | Open Source | Apache-2.0 | 2,021 | retrofit-spring-boot-starter | prostickman | Java | Code | 22 | 84 | package com.github.lianjiatech.retrofit.spring.boot.interceptor;
/**
* @author 陈添明
*/
public enum LogLevel {
/**
* No config
*/
NULL,
ERROR,
WARN,
INFO,
DEBUG,
}
| 39,124 |
https://github.com/OptimusKe/LoveLiveSimulator/blob/master/LoveLiveSimulator/Component/LLBeatCircle.m | Github Open Source | Open Source | MIT | 2,015 | LoveLiveSimulator | OptimusKe | Objective-C | Code | 228 | 764 | //
// LLBeatCircle.m
// LoveLiveSimulator
//
// Created by OptimusKe on 2014/10/11.
// Copyright (c) 2014年 KerKer. All rights reserved.
//
#import "LLBeatCircle.h"
#import "LLBeatManager.h"
@interface LLBeatCircle ()
@property (nonatomic) UIColor *borderColor;
@property (nonatomic, assign) int index;
@property (... | 45,449 |
https://github.com/Ruke45/DManagement/blob/master/DSCMS/DSCMS/Views/Certificate/EditCertificateRequest.aspx.cs | Github Open Source | Open Source | Apache-2.0 | null | DManagement | Ruke45 | C# | Code | 2,689 | 10,412 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using DCISDBManager.objLib.Certificate;
using DCISDBManager.trnLib.CertificateManagement;
using DCISDBManager.trnLib.MasterDataManagement;
using DCISDBManager.trnLib.Utility;
using... | 25,760 |
https://github.com/alhamsya/boilerplate-go/blob/master/transport/grpc/handler/types.go | Github Open Source | Open Source | MIT | null | boilerplate-go | alhamsya | Go | Code | 26 | 157 | package grpcHandler
import (
"github.com/alhamsya/boilerplate-go/lib/helpers/config"
"github.com/alhamsya/boilerplate-go/transport/grpc/routers"
"google.golang.org/grpc"
"google.golang.org/grpc/health/grpc_health_v1"
)
type HealthChecker struct {
grpc_health_v1.HealthServer
}
type Handler struct {
Cfg *... | 12,862 |
https://github.com/Jiansen/TAkka/blob/master/EnMAS/src/main/scala/org/enmas/typed/client/Agent.scala | Github Open Source | Open Source | BSD-Source-Code | 2,019 | TAkka | Jiansen | Scala | Code | 331 | 691 | package org.enmas.typed.client
import org.enmas.pomdp._, org.enmas.typed.messaging._,
takka.actor._
abstract class Agent() extends Client {
private var replyChannel: ActorRef[ClientManagerMessage] = null // type refined
private var aNumber: Int = 0
private var aType: AgentType = Symbol("")
private var ... | 20,676 |
https://github.com/BBVA/purescript-google-apps/blob/master/src/Data/Google/Apps/Forms/ParagraphTextValidation.purs | Github Open Source | Open Source | Apache-2.0 | 2,021 | purescript-google-apps | BBVA | PureScript | Code | 9 | 30 | module Data.Google.Apps.Forms.ParagraphTextValidation where
foreign import data ParagraphTextValidation :: Type
| 48,005 |
https://github.com/wmtiger/shelongmen/blob/master/shelongmen_egret/bin-debug/base/Sound.js | Github Open Source | Open Source | BSD-3-Clause | 2,017 | shelongmen | wmtiger | JavaScript | Code | 126 | 429 | var snd;
(function (snd) {
function setEffect() {
}
snd.setEffect = setEffect;
function setBg() {
}
snd.setBg = setBg;
function playEffect(sound) {
sound.play(0, 1);
}
snd.playEffect = playEffect;
snd.bgShoundChannel = null;
snd.bgSound = null;
/** 如果正在播放相同音乐,是否重新... | 16,912 |
https://github.com/mgjeong/support-dataprocessing-runtime/blob/master/engine/engine-flink/src/main/java/org/edgexfoundry/support/dataprocessing/runtime/engine/flink/connectors/zmq/ZmqSink.java | Github Open Source | Open Source | Apache-2.0 | 2,018 | support-dataprocessing-runtime | mgjeong | Java | Code | 285 | 900 | /*******************************************************************************
* Copyright 2018 Samsung Electronics All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at... | 47,749 |
https://github.com/Saruspete/pawn/blob/master/pawn.cc | Github Open Source | Open Source | Apache-2.0 | null | pawn | Saruspete | C++ | Code | 752 | 2,258 | // Copyright 2014-2018 Google LLC. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by appli... | 12,354 |
https://github.com/swoopfx/cm/blob/master/public/vendors/echarts/src/chart/themeRiver/themeRiverVisual.js | Github Open Source | Open Source | BSD-3-Clause | 2,020 | cm | swoopfx | JavaScript | Code | 54 | 177 | define(function (require) {
return function (ecModel) {
ecModel.eachSeriesByType('themeRiver', function (seriesModel) {
var data = seriesModel.getData();
var rawData = seriesModel.getRawData();
var colorList = seriesModel.get('color');
data.each(function (in... | 14,646 |
https://github.com/bluethefoxofficial/dogehouse-reloaded/blob/master/pilaf/storybook/stories/MultipleUserAvatar.stories.tsx | Github Open Source | Open Source | MIT | 2,021 | dogehouse-reloaded | bluethefoxofficial | TSX | Code | 95 | 300 | // the boolean knob renders a switch which lets you toggle a value between true or false
// you call it like boolean("name here", default_value)
import { radios } from "@storybook/addon-knobs";
import { storiesOf } from "@storybook/react-native";
import React from "react";
import { MultipleUserAvatar } from "../../src/... | 2,955 |
https://github.com/szhorvath/no-no-framework/blob/master/src/client/src/views/Transaction.vue | Github Open Source | Open Source | MIT | 2,020 | no-no-framework | szhorvath | Vue | Code | 868 | 3,796 | <template>
<div class="transaction">
<h1>
Portal Braintree Transaction
<small>{{ $route.params.transactionId }}</small>
<small
v-if="latestHistoryRecord.completed && transaction.status !== 'authorized' && latestHistoryRecord.electraRef"
class="pull-right completed"
>
... | 9,517 |
https://github.com/Thomas-Jensen/dragonlancers/blob/master/resources/lang/da/routes.php | Github Open Source | Open Source | MIT | null | dragonlancers | Thomas-Jensen | PHP | Code | 51 | 158 | <?php
return array(
/*
|--------------------------------------------------------------------------
| Route Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are used for the routes of the app.
|
*/
'home' =... | 27,245 |
https://github.com/MrPSnrub/NMRVisualisation/blob/master/app/Model/Peaks/Peak.py | Github Open Source | Open Source | MIT | null | NMRVisualisation | MrPSnrub | Python | Code | 150 | 411 | class Peak:
"""A peak found in spectra.
Attributes:
id: Rounded X-coordinate used to collate peak data
x: X-coordinates of peak along its traversal through spectra
y: Y-coordinates of peak along its traversal through spectra
z: Z-coordinates of peak along its traversal through s... | 26,226 |
https://github.com/JaxVanYang/acm/blob/master/cyj/cf/div2_712/b.cpp | Github Open Source | Open Source | MIT | 2,022 | acm | JaxVanYang | C++ | Code | 279 | 639 | /*
* @Descripttion:
* @Topic link:
* @Question meaning:
* @Status: Wrong Answer 从前往后做限制条件太多,难以考虑清楚
* @Author: cyj
* @Date: 2021-04-10 20:49:54
* @LastEditTime: 2021-04-10 22:47:06
*/
#include <iostream>
#include <cstring>
#include <cstdio>
using namespace std;
const int N = 3e5+ 10;
int n;
bool st[N];
st... | 5,930 |
https://github.com/royi1000/tizen_mishna/blob/master/html/app.js | Github Open Source | Open Source | MIT | 2,018 | tizen_mishna | royi1000 | JavaScript | Code | 191 | 797 | function update_last_location() {
localStorage.setItem("mish-masechet", $.masechet);
localStorage.setItem("mish-chap", $.chap);
localStorage.setItem("mish-mishna", $.mishna);
}
function load_text() {
console.log("loading text", $.masechet, $.chap, $.mishna)
$('.header-title').text(mishna_text[$.ma... | 46,608 |
https://github.com/UniversalNotification/unotifier-desktop/blob/master/webpack.common.js | Github Open Source | Open Source | MIT | null | unotifier-desktop | UniversalNotification | JavaScript | Code | 76 | 253 | const path = require('path')
const TsconfigPathsPlugin = require('tsconfig-paths-webpack-plugin')
module.exports = {
target: 'web'
, entry: {
'app': './src/renderer/app.tsx'
, 'notification': './src/renderer/notification.tsx'
}
, output: {
path: path.join(__dirname, 'dist')
, filename: '[name].js'
}
... | 10,423 |
https://github.com/felixniemeyer/gluon-app/blob/master/webapp/src/views/Home.vue | Github Open Source | Open Source | Apache-2.0 | 2,021 | gluon-app | felixniemeyer | Vue | Code | 25 | 91 | <template>
<div class="tea-page h-center">
<CommingSoon />
</div>
</template>
<script>
import CommingSoon from '../components/ComingSoon';
export default {
components: {
CommingSoon
}
}
</script>
<style lang="scss">
</style> | 14,662 |
https://github.com/alex-popov-tech/.dotfiles/blob/master/.scripts/backup/backupWithNotify.sh | Github Open Source | Open Source | MIT | 2,023 | .dotfiles | alex-popov-tech | Shell | Code | 27 | 73 | #!/bin/zsh
terminal-notifier -sound default \
-title "Start backing up your passwords?" \
-message "Make sure LastPass is authorized and click on this notification" \
-execute "zsh $HOME/.dotfiles/.scripts/backup/backup.sh"
| 47 |
https://github.com/fickreey149/nakula/blob/master/app/Beli.php | Github Open Source | Open Source | MIT | 2,020 | nakula | fickreey149 | PHP | Code | 61 | 255 | <?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Beli extends Model
{
protected $table = 'bahan_pembelian';
protected $fillable = [
'harga_bahan', 'jumlah', 'bahan_id', 'pembelian_id'
];
protected $guarded = ['id', '_token'];
public function bahan()
{
return $th... | 23,169 |
https://github.com/AlternatiOne/StepikSimple/blob/master/Examples/src/main/java/ru/alttiri/examples/others/trash/test14/Main.java | Github Open Source | Open Source | MIT | null | StepikSimple | AlternatiOne | Java | Code | 37 | 118 | package ru.alttiri.examples.others.trash.test14;
import java.math.BigDecimal;
public class Main {
public static void main(String[] args) {
Number[] numbers = new Integer[10];
numbers[0] = new Integer("0");
//numbers[1] = new BigDecimal(""); // java.lang.NumberFormatException
numbe... | 36,508 |
https://github.com/dvjyothsna/codehouse/blob/master/node_modules/clarity-angular/src/layout/main-container.ts | Github Open Source | Open Source | MIT | 2,017 | codehouse | dvjyothsna | TypeScript | Code | 189 | 753 | /*
* Copyright (c) 2016 VMware, Inc. All Rights Reserved.
* This software is released under MIT license.
* The full license information can be found in LICENSE in the root directory of this project.
*/
import {
Directive,
ElementRef,
OnDestroy,
OnInit
} from "@angular/core";
import {Subscription} fr... | 28,688 |
https://github.com/juanfelipe82193/opensap/blob/master/sapui5-sdk-1.74.0/resources/sap/apf/modeler/ui/utils/staticValuesBuilder-dbg.js | Github Open Source | Open Source | Apache-2.0 | null | opensap | juanfelipe82193 | JavaScript | Code | 145 | 565 | /*!
* SAP APF Analysis Path Framework
*
* (c) Copyright 2012-2014 SAP AG. All rights reserved
*/
sap.ui.define([
'sap/apf/modeler/ui/utils/nullObjectChecker',
'sap/apf/modeler/ui/utils/textManipulator'
], function(nullObjectChecker, textManipulator) {
'use strict';
/**
* @class staticValuesBuilder
* @memberO... | 35,685 |
https://github.com/WorldUtils/world-utils/blob/master/src/main/java/me/frauenfelderflorian/worldutils/commands/CPTimer.java | Github Open Source | Open Source | MIT | null | world-utils | WorldUtils | Java | Code | 640 | 2,080 | package me.frauenfelderflorian.worldutils.commands;
import me.frauenfelderflorian.worldutils.Messages;
import me.frauenfelderflorian.worldutils.Timer;
import me.frauenfelderflorian.worldutils.WorldUtils;
import me.frauenfelderflorian.worldutils.config.Prefs;
import org.bukkit.Bukkit;
import org.bukkit.command.Command;... | 37,651 |
https://github.com/YCOOTRIP/Uni_todo/blob/master/pages/index/index.vue | Github Open Source | Open Source | MIT | null | Uni_todo | YCOOTRIP | Vue | Code | 766 | 3,341 | <template>
<view class="content">
<!-- 状态栏 -->
<view v-if="list.length !== 0" class="todo-header">
<view class="todo-header__left">
<text class="active-text">{{text}}</text>
<text>{{listData.length}}条</text>
</view>
<view class="todo-header__right">
<view class="todo-header__right-item" :class... | 49,298 |
https://github.com/borglab/gtsam.org/blob/master/doxygen/a03864.js | Github Open Source | Open Source | MIT | 2,023 | gtsam.org | borglab | JavaScript | Code | 10 | 54 | var a03864 =
[
[ "boost::serialization::access", "a03864.html#ac98d07dd8f7b70e16ccb9a01abf56b9c", null ]
]; | 49,279 |
https://github.com/itepifanio/vhdl/blob/master/exercicios/trabalho_final/final/modulo_acesso.vhd | Github Open Source | Open Source | MIT | 2,020 | vhdl | itepifanio | VHDL | Code | 662 | 1,817 | library IEEE;
use IEEE.STD_LOGIC_1164.ALL;
entity modulo_acesso is
PORT (
clk, escrever_valor, exec_op: IN STD_LOGIC;
instrucao: IN STD_LOGIC_VECTOR (17 DOWNTO 0);
valor_banco_regs: IN STD_LOGIC_VECTOR (15 DOWNTO 0); -- valor vindo do banco de registradores
valor_ula: IN STD_LOGIC_VECTOR (15 DOWNTO 0)... | 28,719 |
https://github.com/heatblayze/CustomProjectSettings/blob/master/Samples~/ExampleScripts/ExampleSettingsChildA.cs | Github Open Source | Open Source | MIT | 2,023 | CustomProjectSettings | heatblayze | C# | Code | 27 | 68 | using CustomProjectSettings;
using UnityEngine;
public class ExampleSettingsChildA : CustomSettingsChild<ExampleSettingsRoot>
{
public override string Title => "Example Settings A";
public string String => _string;
[SerializeField]
string _string;
}
| 52 |
https://github.com/MostafaEsmaeili/AccessControl/blob/master/src/application/Api/GetById/GetMenuResourceById.cs | Github Open Source | Open Source | MIT | null | AccessControl | MostafaEsmaeili | C# | Code | 84 | 317 | using AutoMapper;
using AutoMapper.QueryableExtensions;
using DotnetAccessControl.Application.Api.Dto;
using DotnetAccessControl.Application.common.interfaces;
using MediatR;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threadin... | 22,517 |
https://github.com/scikit-mine/scikit-mine/blob/master/skmine/tests/test_base.py | Github Open Source | Open Source | BSD-3-Clause | 2,023 | scikit-mine | scikit-mine | Python | Code | 145 | 484 | import pandas as pd
import pytest
from ..base import BaseMiner, MDLOptimizer
def test_inst_params():
class MyMiner(BaseMiner):
def __init__(self, eps=3):
self.eps = eps
self._a = 2
def fit(self, D):
self._a = 12
discover = lambda self: pd.DataFrame()
... | 7,555 |
https://github.com/akamenev/IntelligentExperiences.OnContainers/blob/master/src/core/PersonIdentificationLib/PersonIdentificationLib/Services/VisitorIdentificationManager.cs | Github Open Source | Open Source | MIT | 2,021 | IntelligentExperiences.OnContainers | akamenev | C# | Code | 1,003 | 3,536 | using CognitiveServiceHelpers;
using CoreLib.Abstractions;
using CoreLib.Repos;
using Microsoft.Azure.CognitiveServices.Vision.Face.Models;
using Microsoft.Azure.Documents;
using Microsoft.Azure.Documents.Client;
using PersonIdentificationLib.Abstractions;
using PersonIdentificationLib.Models;
using PersonIdentificati... | 44,139 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.