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/francis-pouatcha/forgelab/blob/master/adpharma/adpharma.modules/adpharma.client.frontoffice/src/main/java/org/adorsys/adpharma/client/jpa/articlelot/ModalArticleLotTransferCreateView.java
Github Open Source
Open Source
Apache-2.0
null
forgelab
francis-pouatcha
Java
Code
264
1,558
package org.adorsys.adpharma.client.jpa.articlelot; import java.util.HashSet; import java.util.Locale; import java.util.ResourceBundle; import java.util.Set; import javafx.scene.control.Button; import javafx.scene.control.ComboBox; import javafx.scene.layout.AnchorPane; import javafx.scene.layout.HBox; import javax....
6,422
https://github.com/chengllNice/monkey-ui/blob/master/src/styles/checkbox.scss
Github Open Source
Open Source
MIT
2,020
monkey-ui
chengllNice
SCSS
Code
373
1,572
@import "./base/var"; @import "./mixins/index.scss"; @mixin checkboxSize($size) { $font-size: $--font-size-default; $width: $--checkbox-input-width-default; $height: $--checkbox-input-height-default; $after-width: 4px; $after-height: 8px; $border-width: 1px; @if ($size == 'mini') { ...
38,834
https://github.com/ds-modules/EPS-130-SP21/blob/master/HW2/tests/q1.1.py
Github Open Source
Open Source
BSD-3-Clause
2,021
EPS-130-SP21
ds-modules
Python
Code
54
210
test = { 'name': 'q1.1', 'points': 1, 'suites': [ { 'cases': [ { 'code': '>>> assert abs(P[0] - 0.003819) < .1*0.003819;\n' '>>> assert abs(P[1] - 0.016803) < .1*0.016803;\n' '>>> assert abs(P[2] - 0.180881) ...
7,228
https://github.com/fabianofranz/release/blob/master/clusters/build-clusters/01_cluster/_install/install_cluster.sh
Github Open Source
Open Source
Apache-2.0
2,022
release
fabianofranz
Shell
Code
159
662
#!/bin/bash ### prerequisites ### 1. ~/.aws/credentials contains aws_access_key_id and aws_secret_access_key for an IAMUSER under openshift-ci-infra account set -o errexit set -o nounset set -o pipefail SCRIPT="$0" readonly SCRIPT if [[ "$#" -lt 1 ]]; then >&2 echo "[FATAL] Illegal number of parameters" >&2 ec...
33,390
https://github.com/code-dot-org/javabuilder/blob/master/org-code-javabuilder/protocol/src/main/java/org/code/protocol/InputAdapter.java
Github Open Source
Open Source
Apache-2.0
2,021
javabuilder
code-dot-org
Java
Code
21
40
package org.code.protocol; public interface InputAdapter { /** @return The next user input to the currently running program */ String getNextMessage(); }
20,068
https://github.com/2kai2kai2/AntiGravMod/blob/master/src/main/java/com/kaikai/antigrav/item/ItemAntiGravSword.java
Github Open Source
Open Source
MIT
2,017
AntiGravMod
2kai2kai2
Java
Code
52
282
package com.kaikai.antigrav.item; import java.util.concurrent.TimeUnit; import com.kaikai.antigrav.main.Main; import com.kaikai.antigrav.main.AntiGravTicks; import net.minecraft.client.Minecraft; import net.minecraft.creativetab.CreativeTabs; import net.minecraft.entity.EntityLivingBase; import net.minecraft.item.It...
42,915
https://github.com/DPS2004/quest/blob/master/GameBrowser/PlayBrowser.xaml.vb
Github Open Source
Open Source
MIT
2,022
quest
DPS2004
Visual Basic
Code
396
1,441
Imports TextAdventures.Utility.Language.L Public Class PlayBrowser Private m_recentItems As RecentItems Private WithEvents m_onlineGames As New OnlineGames Private m_initialised As Boolean = False Public Event LaunchGame(filename As String) Public Event GotUpdateData(data As UpdatesData) Pub...
6,301
https://github.com/Vizzuality/mangrove-atlas/blob/master/src/containers/blog/post/index.tsx
Github Open Source
Open Source
MIT
2,023
mangrove-atlas
Vizzuality
TSX
Code
109
376
import Image from 'next/image'; import { usePostTags } from 'hooks/blog'; export const Post = ({ post, }: { post: { id: number; title: { rendered: string }; yoast_head_json: { og_image: { url: string }[] }; }; }) => { const { data } = usePostTags({ id: post.id }); return ( <div className="f...
16,644
https://github.com/AndrinPelican/ugd/blob/master/ugd/help_function/util_statistic.py
Github Open Source
Open Source
MIT
2,022
ugd
AndrinPelican
Python
Code
177
532
''' Utility functions for statistic: Graph statistic and evaluation of quartiles. ''' import numpy as np from ugd.help_function.util import check_symmetric def get_quantile(true_val, sim_values): numb_lower = 0 for value in sim_values: if value < true_val: numb_lower += 1 if value...
39,215
https://github.com/xbwen/bugu-mongo/blob/master/bugu-mongo-core/src/main/java/com/bugull/mongo/geo/GeoQuery.java
Github Open Source
Open Source
Apache-2.0
2,021
bugu-mongo
xbwen
Java
Code
285
875
/* * Copyright (c) www.bugull.com * * 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...
9,607
https://github.com/thebeline/phroute/blob/master/src/Yaprouter/Route.php
Github Open Source
Open Source
BSD-3-Clause
null
phroute
thebeline
PHP
Code
655
1,806
<?php namespace Yaprouter\Yaprouter; class Route extends AbstractParsedRouteData { const EVENTS = 'events'; /** * Miscellaneous Constants */ const PREFIX = 'prefix'; /** * Constants for common HTTP methods */ const ANY = 'ANY'; const GET = 'GET'; con...
12,959
https://github.com/tanaka-takayoshi/csharp-grammar-sample-for-linqpd/blob/master/CSharp CheatSheet/4-2 Switch.linq
Github Open Source
Open Source
MIT
2,017
csharp-grammar-sample-for-linqpd
tanaka-takayoshi
C#
Code
66
295
<Query Kind="Program" /> void Main() { var dayOfWeek = DayOfWeek.Thursday; string text; switch (dayOfWeek) { case DayOfWeek.Monday: text = "月"; break; case DayOfWeek.Tuesday: text = "火"; break; case DayOfWeek.Wednesday: text = "水"; break; case DayOfWeek.Thursday: text = "木"; break;...
8,028
https://github.com/yazhenchua/PlayFab-Samples/blob/master/Samples/Win32/ThunderRumble/Common/StarfieldScreen.cpp
Github Open Source
Open Source
MIT
2,022
PlayFab-Samples
yazhenchua
C++
Code
304
1,075
//-------------------------------------------------------------------------------------- // StarfieldScreen.cpp // // Advanced Technology Group (ATG) // Copyright (C) Microsoft Corporation. All rights reserved. //-------------------------------------------------------------------------------------- #include "pch.h" #i...
47,454
https://github.com/AjayGhalay/ticdesign/blob/master/ticDesign/src/main/java/ticwear/design/widget/ViewPropertiesHelper.java
Github Open Source
Open Source
Apache-2.0
2,022
ticdesign
AjayGhalay
Java
Code
206
474
/* * Copyright (c) 2016 Mobvoi 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 agreed...
39,107
https://github.com/deepcloudlabs/dcl202-2021-mar-01/blob/master/study-primitive-types/src/com/example/StudyChar.java
Github Open Source
Open Source
MIT
null
dcl202-2021-mar-01
deepcloudlabs
Java
Code
32
118
package com.example; public class StudyChar { public static void main(String[] args) { char c = 'a'; // 2-Byte, Unicode, Integral Type (unsigned int) System.out.println("c="+(char)(c+0)); System.out.println("c="+(char)(c+1)); char d = '\u20BA'; System.out.println("d="+d); } }
8,295
https://github.com/microsoft/frontend-appsells/blob/master/src/components/MainPanel.js
Github Open Source
Open Source
MIT
2,020
frontend-appsells
microsoft
JavaScript
Code
146
489
import React from 'react'; import LedgersWidget from '../ledgers.js-react-widget/LedgersWidget'; import NoEthereumWalletComponent from './NoEthereumWalletComponent'; import ErrorComponent from './ErrorComponent'; import FeatureComponent from './FeatureComponent'; class MainPanel extends React.Component { constructo...
18,971
https://github.com/runpengl/tesla-node-api/blob/master/src/middlewares/convert-error.js
Github Open Source
Open Source
MIT
2,020
tesla-node-api
runpengl
JavaScript
Code
25
66
import {newError} from "../errors" export var convertError = [null, function error(err) { if ('status' in err) { err = newError(err) } return Promise.reject(err) } ]
29,434
https://github.com/mHealthKenya/ushauri_api/blob/master/models/clinic.js
Github Open Source
Open Source
MIT
2,021
ushauri_api
mHealthKenya
JavaScript
Code
48
191
const sequelize = require("../db_config"); const Sequelize = require("sequelize"); const Clinic = sequelize.sequelize.define( "tbl_clinic", { id: { type: Sequelize.INTEGER, primaryKey: true, autoIncrement: true }, name: Sequelize.TEXT, status: Seq...
49,054
https://github.com/mathijsco/DBTestSetManager/blob/master/src/DatabaseTestSetManager.Lib/DataHandlers/DataValidators/DateTimeOffsetDataValidator.cs
Github Open Source
Open Source
MIT
null
DBTestSetManager
mathijsco
C#
Code
43
122
using System; namespace DatabaseTestSetManager.Lib.DataHandlers.DataValidators { public class DateTimeOffsetDataValidator : IDataValidator { public bool Validate(string input) { DateTimeOffset n; return input == null || DateTimeOffset.TryParse(input, out n); } ...
15,933
https://github.com/zhangkn/iOS14Header/blob/master/System/Library/PrivateFrameworks/SpotlightServices.framework/SPResultSuggestion.h
Github Open Source
Open Source
MIT
2,020
iOS14Header
zhangkn
C
Code
79
256
/* * This header is generated by classdump-dyld 1.0 * on Sunday, September 27, 2020 at 11:52:17 AM Mountain Standard Time * Operating System: Version 14.0 (Build 18A373) * Image Source: /System/Library/PrivateFrameworks/SpotlightServices.framework/SpotlightServices * classdump-dyld is licensed under GPLv3, Copyright © ...
10,181
https://github.com/joseroberto/docker-ejbca/blob/master/dbinit.sh
Github Open Source
Open Source
MIT
2,019
docker-ejbca
joseroberto
Shell
Code
90
357
#!/bin/bash mkdir -p /etc/ejbca/ if [ ! -f /etc/ejbca/dbinit ]; then # fix the javax.xml.parsers.FactoryConfigurationError error echo "Copying /jboss-modules.jar ==> ${JBOSS_HOME}/jboss-modules.jar" \cp /opt/jboss-modules.jar ${JBOSS_HOME}/jboss-modules.jar echo "This is the first launch - will init ssl ce...
1,907
https://github.com/FedML-AI/FedML/blob/master/android/app/src/main/java/ai/fedml/ui/adapter/FileItem.java
Github Open Source
Open Source
Apache-2.0
2,023
FedML
FedML-AI
Java
Code
25
72
package ai.fedml.ui.adapter; import lombok.Builder; import lombok.Data; @Data @Builder public class FileItem { private int fileIcon; private String fileName; private String fileSize; private String fileLastModifiedTime; }
40,586
https://github.com/reejit/spotify_download_bot/blob/master/command_hanlders/helpers/spotdl.py
Github Open Source
Open Source
MIT
2,021
spotify_download_bot
reejit
Python
Code
75
331
import os import subprocess from telegram import Update from telegram.ext import CallbackContext def create_download_list_from_link(link: str, link_type: str, list_path: str): subprocess.run( [ 'spotdl', f'--{link_type}', link, "--write-to", lis...
31,895
https://github.com/alfazzafashion/image-js/blob/master/node_modules/jsdoc-type-pratt-parser/src/parslets/IntersectionParslet.ts
Github Open Source
Open Source
MIT
2,021
image-js
alfazzafashion
TypeScript
Code
59
187
import { composeParslet } from './Parslet' import { Precedence } from '../Precedence' import { assertRootResult } from '../assertTypes' export const intersectionParslet = composeParslet({ name: 'intersectionParslet', accept: type => type === '&', precedence: Precedence.INTERSECTION, parseInfix: (parser, left) ...
8,244
https://github.com/CanadianSolar/CASSYS/blob/master/CASSYS Interface/UF_AddModuleOptions.vba
Github Open Source
Open Source
BSD-3-Clause
2,021
CASSYS
CanadianSolar
Visual Basic
Code
305
760
VERSION 5.00 Begin {C62A69F0-16DC-11CE-9E98-00AA00574A4F} UF_AddModuleOptions Caption = "CASSYS - Add New PV Modules" ClientHeight = 2055 ClientLeft = 45 ClientTop = 375 ClientWidth = 8310 OleObjectBlob = "UF_AddModuleOptions.frx":0000 StartUpPosition = 1 ...
23,131
https://github.com/ermshiperete/keyman-developer-online/blob/master/frontend/src/app/model/git-hub-pull-request.ts
Github Open Source
Open Source
MIT
2,021
keyman-developer-online
ermshiperete
TypeScript
Code
42
118
export class GitHubPullRequest { public keyboardId: string; public pullRequest: number; public url: string; public action: string; public constructor( keyboardId: string, pullRequest: number, url: string, action: string, ) { this.keyboardId = keyboardId; this.pullRequest = pullReque...
32,936
https://github.com/harana-oss/scala-stripe/blob/master/core/jvm/src/main/scala/com/outr/stripe/balance/BalanceEntry.scala
Github Open Source
Open Source
MIT
2,022
scala-stripe
harana-oss
Scala
Code
12
46
package com.outr.stripe.balance import com.outr.stripe.Money case class BalanceEntry(currency: String, amount: Money, sourceTypes: SourceType)
49,746
https://github.com/JBIMat/django-deep-link/blob/master/django_deep_link/urls.py
Github Open Source
Open Source
MIT
2,021
django-deep-link
JBIMat
Python
Code
18
65
from django.urls import path from .views import AppDownloadView app_name = "django-deep-link" urlpatterns = [ path("<uuid:code>/", AppDownloadView.as_view(), name="deep-link"), ]
37,459
https://github.com/hellaxe/nylas-ruby/blob/master/lib/nylas/version.rb
Github Open Source
Open Source
MIT
null
nylas-ruby
hellaxe
Ruby
Code
9
31
# frozen_string_literal: true module Nylas VERSION = "5.1.0" end
45
https://github.com/Q-Angelo/SpringBoot-Course/blob/master/chapter8/chapter8-2/src/main/java/com/may/rabbitmq/consumer/message/OrderConsumerMessage.java
Github Open Source
Open Source
MIT
2,020
SpringBoot-Course
Q-Angelo
Java
Code
38
161
package com.may.rabbitmq.consumer.message; import com.rabbitmq.client.Channel; import org.springframework.amqp.core.Message; import org.springframework.amqp.rabbit.listener.api.ChannelAwareMessageListener; import org.springframework.stereotype.Component; @Component public class OrderConsumerMessage implements Channel...
22,316
https://github.com/LonghronShen/MMDX/blob/master/MikuMikuDanceCore/Misc/MMDVertex.cs
Github Open Source
Open Source
MIT
2,017
MMDX
LonghronShen
C#
Code
143
547
using System; using System.Collections.Generic; using System.Linq; using System.Text; #if XNA using Microsoft.Xna.Framework; #elif SlimDX using SlimDX; #endif namespace MikuMikuDance.Core.Misc { /// <summary> /// MMD頂点データ(法線付き) /// </summary> public class MMDVertexNm { /// <summary> ...
34,778
https://github.com/SenseTW/sensetw/blob/master/sensemap/src/components/SVGIcon/Copy/index.tsx
Github Open Source
Open Source
MIT-0
2,021
sensetw
SenseTW
TypeScript
Code
79
323
import * as React from 'react'; import SVGIcon, { Props } from '../'; // tslint:disable:max-line-length class Copy extends React.PureComponent<Props> { render() { return ( <SVGIcon {...this.props}> <title>icon / copy</title> <g id="icon-/-copy" stroke="none" fill="currentColor" fillRule="ev...
25,509
https://github.com/marcelocmedeiros/EstudandoC/blob/master/EstruturaDeRepeticao/Exercicios/Exerc023.c
Github Open Source
Open Source
MIT
null
EstudandoC
marcelocmedeiros
C
Code
54
145
#include <stdio.h> int main(void) { int num; printf("Informe uma numero inteiro positivo: \n>"); scanf("%d", &num); while (num <=0 ) { printf("Informe uma numero inteiro positivo: \n>"); scanf("%d", &num); } for (int i = 1; i <= num; i++) { if (num % i == 0) ...
48,489
https://github.com/vinhch/NHibernatePostgre/blob/master/NHibernatePostgre/Repositories/Products/IProductRepository.cs
Github Open Source
Open Source
MIT
null
NHibernatePostgre
vinhch
C#
Code
13
49
using NHibernatePostgre.Domains; namespace NHibernatePostgre.Repositories { public interface IProductRepository : IRepository<Product> { } }
44,676
https://github.com/abdulrehman97/ynz/blob/master/wp-content/plugins/amazon-auto-links/template/preview/template.php
Github Open Source
Open Source
GPL-2.0-only, GPL-2.0-or-later, GPL-1.0-or-later, Apache-2.0, LicenseRef-scancode-unknown-license-reference
2,020
ynz
abdulrehman97
PHP
Code
200
560
<?php /* * Available variables: * * $aOptions - the plugin options * $aProducts - the fetched product links * $aArguments - the user defined unit arguments such as image size and count etc. */ ?> <?php if ( empty( $aProducts ) ) : ?> <div><p><?php _e( 'No products found.', 'amazon-auto-links' ); ?></p></...
9,691
https://github.com/jeesd/jeesd-vue/blob/master/src/api/login.js
Github Open Source
Open Source
MIT
2,019
jeesd-vue
jeesd
JavaScript
Code
160
516
import api from './index' import { axios } from '@/utils/request' import qs from 'qs' /** * login func * parameter: { * username: '', * password: '', * remember_me: true, * captcha: '12345' * } * @param parameter * @returns {*} */ export function login (parameter) { let grant_type = 'pass...
46,171
https://github.com/Usm-Mlk/dealer-buildearth/blob/master/components/services/index.js
Github Open Source
Open Source
MIT
null
dealer-buildearth
Usm-Mlk
JavaScript
Code
258
1,249
import React from 'react'; import {CommonContent, CommonFooter, CommonHeader, LatestPost, NavLogo} from "components/commons"; import {Navigation} from "components/home/components"; const ServicesHomePage = () => { const serviceContent = ( <> <div className="row mt-5"> <div className="col-md-6"> ...
40,957
https://github.com/gitter-badger/guard/blob/master/guard-server/src/main/java/com/demkada/guard/server/commons/model/InternalScope.java
Github Open Source
Open Source
Apache-2.0
2,021
guard
gitter-badger
Java
Code
126
386
package com.demkada.guard.server.commons.model; /* * Copyright 2019 DEMKADA. * * 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 * * Unles...
370
https://github.com/kirubakaranthirumal/crm/blob/master/app/Http/Controllers/old/LoginController_17-5-16_11-37-am.php
Github Open Source
Open Source
MIT
null
crm
kirubakaranthirumal
PHP
Code
236
1,158
<?php namespace App\Http\Controllers; use Session; use Validator; use Illuminate\Http\Request; use Illuminate\Support\Facades\Hash; class LoginController extends Controller{ public function index(){ if(!empty(session()->get('userId'))){ header('Location:admin/dashboard'); exit; } else{ return view('a...
32,889
https://github.com/mavanmanen/Mavanmanen.StreamDeckSharp/blob/master/src/Mavanmanen.StreamDeckSharp/PropertyInspector/PropertyInspectorItemBase.cs
Github Open Source
Open Source
MIT
null
Mavanmanen.StreamDeckSharp
mavanmanen
C#
Code
77
178
using System; namespace Mavanmanen.StreamDeckSharp.PropertyInspector { public abstract class PropertyInspectorItemBase : Attribute { internal string Label { get; } internal string Type { get; } internal bool Required { get; } /// <summary> /// /// </summary> ...
10,086
https://github.com/gaswelder/ethyl/blob/master/tests/erc20.js
Github Open Source
Open Source
MIT
null
ethyl
gaswelder
JavaScript
Code
329
1,259
const { Compiler, Blockchain } = require("../src"); const { assert } = require("chai"); // after(() => process.exit(0)); const ipc = "ipc://./data/geth.ipc"; const rpc = "http://localhost:8545"; const local = Blockchain.at(ipc); const remote = Blockchain.at(rpc); describe("ERC20", async function() { const comp = n...
41,820
https://github.com/matsumoto4510/AmiTemplate-PHP/blob/master/public/inc/foot.php
Github Open Source
Open Source
MIT
2,016
AmiTemplate-PHP
matsumoto4510
PHP
Code
6
25
<?php include ($inc_path."/inc/tags.php") ?> </body> </html>
2,890
https://github.com/Bnjorogedev/pyspotify-client/blob/master/pyspotify/auth/authorization.py
Github Open Source
Open Source
MIT
2,021
pyspotify-client
Bnjorogedev
Python
Code
12
44
from collections import namedtuple Authorization = namedtuple('Authorization', ['access_token', 'token_type', 'expires_in', 'scope', 'refresh_token'])
3,673
https://github.com/cabbibo/volume/blob/master/app/shaders/marker.vert
Github Open Source
Open Source
BSD-3-Clause
2,015
volume
cabbibo
GLSL
Code
95
245
#version 330 core uniform mat4 uModel; uniform mat4 uViewProjection; uniform mat4 uModelViewProjection; uniform mat4 uNormalMatrix; uniform mat4 uInverseModel; uniform vec3 uRepelPosition; in vec3 aPosition; in vec3 aNormal; in vec2 aUV; in vec3 aTangent; out vec3 vPosition; out vec3 vNor...
30,000
https://github.com/kibet-gilbert/co1_metaanalysis/blob/master/code/tools/arlequin/arlecore_linux/Rfunctions/haplotypeDistMatrix.r
Github Open Source
Open Source
CC-BY-3.0
2,021
co1_metaanalysis
kibet-gilbert
R
Code
350
1,214
################################################################################ # haplotypeDistMatrix function - (matrix) # # Author: Heidi Lischer # Date: 10.2008 ################################################################################ haplotypeDistMatrix <- function(xmlText, Labels, timeAttr, outfile=outf...
27,372
https://github.com/Mu-L/cloudopt-next/blob/master/plugins/cloudopt-next-jooq/src/main/kotlin/net/cloudopt/next/jooq/pool/HikariCPPool.kt
Github Open Source
Open Source
Apache-2.0
2,022
cloudopt-next
Mu-L
Kotlin
Code
187
497
/* * Copyright 2017-2021 Cloudopt * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
3,740
https://github.com/cf-container-networking/bosh/blob/master/src/bosh-director/lib/bosh/director/legacy_deployment_helper.rb
Github Open Source
Open Source
LGPL-2.1-only, LicenseRef-scancode-other-permissive, LGPL-2.1-or-later, LGPL-2.0-or-later, LicenseRef-scancode-unicode-mappings, Artistic-2.0, LGPL-3.0-only, LicenseRef-scancode-warranty-disclaimer, GPL-3.0-or-later, GPL-2.0-or-later, GPL-3.0-only, MPL-1.1, Artistic-1.0, GPL-1.0-or-later, MIT, LicenseRef-scancode-publi...
2,019
bosh
cf-container-networking
Ruby
Code
10
51
module Bosh::Director module LegacyDeploymentHelper def ignore_cloud_config?(manifest_hash) manifest_hash.has_key?('networks') end end end
13,481
https://github.com/java110/MicroCommunity/blob/master/service-community/src/main/java/com/java110/community/bmo/activitiesType/impl/GetActivitiesTypeBMOImpl.java
Github Open Source
Open Source
Apache-2.0
2,023
MicroCommunity
java110
Java
Code
92
446
package com.java110.community.bmo.activitiesType.impl; import com.java110.community.bmo.activitiesType.IGetActivitiesTypeBMO; import com.java110.dto.activitiesType.ActivitiesTypeDto; import com.java110.intf.community.IActivitiesTypeInnerServiceSMO; import com.java110.vo.ResultVo; import org.springframework.beans.facto...
9,306
https://github.com/jre233kei/slim/blob/master/src/vm/system_ruleset.cpp
Github Open Source
Open Source
BSD-3-Clause
2,021
slim
jre233kei
C++
Code
705
2,786
/* * system_ruleset.cpp - default System Ruleset * * Copyright (c) 2008, Ueda Laboratory LMNtal Group * <lmntal@ueda.info.waseda.ac.jp> All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * m...
4,711
https://github.com/allenfancy/com.allen.enhance/blob/master/com.allen.enhance.tomcat/src/main/java/org/com/allen/enhance/tomcat/servlet/StaticResourceProcessor.java
Github Open Source
Open Source
Apache-2.0
2,020
com.allen.enhance
allenfancy
Java
Code
30
88
package org.com.allen.enhance.tomcat.servlet; /** * @author allen.wu */ public class StaticResourceProcessor { public void process(Request request, Response response) { try { response.sendStaticResource(); } catch (Exception e) { e.printStackTrace(); } } }
13,505
https://github.com/LukeBillo/project-votestorm/blob/master/ProjectVotestorm.UnitTests/PollControllerTests/GivenThatPollsCanBeRetrievedAndSeveralPollsExist.cs
Github Open Source
Open Source
MIT
2,019
project-votestorm
LukeBillo
C#
Code
120
621
using System.Linq; using System.Threading.Tasks; using Bogus; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging.Abstractions; using Moq; using NUnit.Framework; using ProjectVotestorm.Controllers; using ProjectVotestorm.Data.Models.Http; using ProjectVotestorm.Data.Repositories; using ProjectVotestorm....
13,093
https://github.com/pavlukha/react-web/blob/master/components/Layout/sidebar.js
Github Open Source
Open Source
MIT
null
react-web
pavlukha
JavaScript
Code
36
107
import React from "react"; import Image from "next/image"; const Sidebar = () => ( <div id="sidebar"> <Image src="/img/banner.png" width={300} height={140} /> <div style={{ height: 15 }}></div> <Image src="/img/banners.png" width={300} height={544} /> </div> ); export default Sidebar;
35,161
https://github.com/bovisp/training-tracker/blob/master/resources/assets/js/components/notifications/types/LogbookEntryAdded.vue
Github Open Source
Open Source
MIT
2,020
training-tracker
bovisp
Vue
Code
59
229
<template> <div> <p>{{ notification.data.creatorName }} added a <a @click.prevent="$emit('view')">logbook entry</a> to {{ isOwner }} lesson package <a :href="`${urlBase}/users/${notification.data.userlessonUserId}/userlessons/${notification.data.userlessonId}`">"{{ notification.data.userlessonName }}"</a> under t...
40,789
https://github.com/juanpicado/remirror/blob/master/packages/@remirror/preset-list/src/list-item-extension.ts
Github Open Source
Open Source
MIT
null
remirror
juanpicado
TypeScript
Code
88
302
import { ApplySchemaAttributes, convertCommand, extensionDecorator, KeyBindings, NodeExtension, NodeExtensionSpec, } from '@remirror/core'; import { liftListItem, sinkListItem, splitListItem } from '@remirror/pm/schema-list'; /** * Creates the node for a list item. */ @extensionDecorator({}) export class...
18,498
https://github.com/rosiecowling/specialist-publisher/blob/master/app/models/service_standard_report.rb
Github Open Source
Open Source
MIT
null
specialist-publisher
rosiecowling
Ruby
Code
34
175
class ServiceStandardReport < Document FORMAT_SPECIFIC_FIELDS = %i( assessment_date result stage ).freeze attr_accessor(*FORMAT_SPECIFIC_FIELDS) def initialize(params = {}) super(params, FORMAT_SPECIFIC_FIELDS) end def taxons [DIGITAL_SERVICE_STANDARD_TAXON_ID] end def self.title...
24,053
https://github.com/palaxi00/palaxi00.github.io/blob/master/Codeeval/nice_angles.py
Github Open Source
Open Source
MIT
null
palaxi00.github.io
palaxi00
Python
Code
21
96
import sys with open(sys.argv[1], 'r') as test_cases: for test in test_cases: mins,secs = divmod(float(test)*3600,60) degr,mins = divmod(mins,60) print ("%d.%02d'%02d\"" % (degr,mins,secs))
46,413
https://github.com/Daramkun/ProjectLiqueur/blob/master/Daramkun.Liqueur.Core/Graphics/IVertexBuffer.cs
Github Open Source
Open Source
Apache-2.0
null
ProjectLiqueur
Daramkun
C#
Code
96
235
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Daramkun.Liqueur.Graphics { [Flags] public enum FlexibleVertexFormat { PositionXY = 1 << 0, PositionXYZ = 1 << 1, Diffuse = 1 << 2, Normal = 1 << 3, TextureUV1 = 1 << 4, TextureUV2 = 1 << 5, TextureUV3 ...
9,879
https://github.com/Jimbly/timezone-mock/blob/master/tests/test-vs-local.js
Github Open Source
Open Source
MIT
2,022
timezone-mock
Jimbly
JavaScript
Code
369
1,163
var assert = require('assert'); var timezone_mock = require('../'); ////////////////////////////////////////////////////////////////////////// // Test that the mocked date behaves exactly the same as the system date when // mocking the same timezone. // JE: 2017-05-26, Node 6.9.1: This test seems to fail when specif...
42,954
https://github.com/alex-vincent/runelite/blob/master/runescape-client/src/main/java/Bounds.java
Github Open Source
Open Source
BSD-2-Clause
null
runelite
alex-vincent
Java
Code
291
1,247
import net.runelite.mapping.Implements; import net.runelite.mapping.ObfuscatedGetter; import net.runelite.mapping.ObfuscatedName; import net.runelite.mapping.ObfuscatedSignature; @ObfuscatedName("lb") @Implements("Bounds") public class Bounds { @ObfuscatedName("t") @ObfuscatedGetter( intValue = -1245223283...
31,683
https://github.com/fremontmj/Blot/blob/master/app/clients/index.js
Github Open Source
Open Source
CC0-1.0
2,022
Blot
fremontmj
JavaScript
Code
160
414
var client; var config = require("config"); var ensure = require("helper/ensure"); // Register new clients here var clients = { git: require("./git"), }; // If we have specified the required // configuration to run the Dropbox app if ( config.dropbox.app.key && config.dropbox.app.secret && config.dropbox.full...
28,041
https://github.com/cakebin/smush/blob/master/server/routes/api_user.go
Github Open Source
Open Source
MIT
null
smush
cakebin
Go
Code
660
2,205
package routes import ( "encoding/json" "fmt" "net/http" "strconv" "github.com/cakebin/smush/server/services/db" ) /*--------------------------------- Response Data ----------------------------------*/ type UserGetAllResponseData struct { Users []*db.User `json:"users"` } // UserGetRespons...
30,812
https://github.com/fazilvk786/igbot/blob/master/node_modules/instagram-private-api/dist/feeds/thread-items.feed.d.ts
Github Open Source
Open Source
MIT
2,022
igbot
fazilvk786
TypeScript
Code
24
59
import { AbstractFeed } from './abstract.feed'; export declare class ThreadItemsFeed extends AbstractFeed<any> { threadId: any; constructor(session: any, threadId: any, limit: any); get(): any; }
21,761
https://github.com/tbeu/OpenHPL/blob/master/OpenHPL/Icons/Governor.mo
Github Open Source
Open Source
BSD-Source-Code
2,021
OpenHPL
tbeu
Modelica
Code
36
161
within OpenHPL.Icons; partial class Governor "Governor icon" annotation ( Icon(coordinateSystem(preserveAspectRatio = false), graphics={ Bitmap(extent = {{-60, -60}, {60, 60}}, origin = {2, 0}, rotation = 360, fileName="modelica://OpenHPL/Resources/Images/governor.svg"), Text(lineColor={28,108,...
6,986
https://github.com/chiao45/DataTransferKit/blob/master/packages/Operators/test/tstCenterDistributor.cpp
Github Open Source
Open Source
BSD-3-Clause
2,020
DataTransferKit
chiao45
C++
Code
781
2,209
//---------------------------------------------------------------------------// /* Copyright (c) 2012, Stuart R. Slattery 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 o...
11,831
https://github.com/lwardzala/Business-Rules-Reasoning-System/blob/master/Source/Reasoning.MongoDb/Repositories/ReasoningTaskRepository.cs
Github Open Source
Open Source
MIT
2,022
Business-Rules-Reasoning-System
lwardzala
C#
Code
149
569
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Threading.Tasks; using MongoDB.Driver; using Reasoning.Core.Contracts; using Reasoning.MongoDb.Configuration; using Reasoning.MongoDb.Models; namespace Reasoning.MongoDb.Repositories { public class Reas...
21,283
https://github.com/HerrB92/obp/blob/master/OpenBeaconPackage/libraries/hibernate-release-4.2.7.SP1/project/hibernate-envers/src/test/java/org/hibernate/envers/test/entities/onetomany/detached/ListJoinColumnBidirectionalInheritanceRefEdChildEntity.java
Github Open Source
Open Source
MIT
null
obp
HerrB92
Java
Code
201
670
package org.hibernate.envers.test.entities.onetomany.detached; import javax.persistence.DiscriminatorValue; import javax.persistence.Entity; import javax.persistence.Table; import org.hibernate.envers.Audited; /** * Entity for {@link org.hibernate.envers.test.integration.onetomany.detached.JoinColumnBidirectionalLis...
27,623
https://github.com/odorizzi28/GitC/blob/master/Treinamento HBSIS/05-08-19-09-08-19/ExercicioValidacao/View/ucNumero.xaml.cs
Github Open Source
Open Source
MIT
null
GitC
odorizzi28
C#
Code
112
501
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Medi...
45,171
https://github.com/TalkingData/rxloop-immer/blob/master/jest.config.js
Github Open Source
Open Source
MIT
2,019
rxloop-immer
TalkingData
JavaScript
Code
8
47
module.exports = { testURL: 'http://localhost/', testMatch: ['**/?*.(spec|test|e2e).(j|t)s?(x)'] };
47,941
https://github.com/TimothyRHuertas/turicreate/blob/master/src/unity/python/turicreate/visualization/plot.py
Github Open Source
Open Source
BSD-3-Clause
null
turicreate
TimothyRHuertas
Python
Code
178
963
from __future__ import print_function as _ from __future__ import division as _ from __future__ import absolute_import as _ import logging as _logging import json as _json class Plot(object): def __init__(self, _proxy=None): if (_proxy): self.__proxy__ = _proxy else: self...
22,180
https://github.com/yoshuawuyts/spec-rust/blob/master/src/submodule/internal.rs
Github Open Source
Open Source
Apache-2.0
2,018
spec-rust
yoshuawuyts
Rust
Code
9
25
pub(crate) fn print() { println!("for internal use only!") }
49,467
https://github.com/nagaremono/shop-service-v2/blob/master/prisma/generated/type-graphql/resolvers/crud/Product/ProductCrudResolver.ts
Github Open Source
Open Source
MIT
null
shop-service-v2
nagaremono
TypeScript
Code
585
2,138
import * as TypeGraphQL from "type-graphql"; import graphqlFields from "graphql-fields"; import { GraphQLResolveInfo } from "graphql"; import { AggregateProductArgs } from "./args/AggregateProductArgs"; import { CreateManyProductArgs } from "./args/CreateManyProductArgs"; import { CreateProductArgs } from "./args/Creat...
1,221
https://github.com/b-cube/bcube-triplestore/blob/master/ttl/6f/6f1270255193f3eb0100afcbacf7e4d9ec6edfd7_triples.ttl
Github Open Source
Open Source
MIT
null
bcube-triplestore
b-cube
Turtle
Code
281
1,899
@prefix bcube: <http://purl.org/BCube/#> . @prefix bibo: <http://purl.org/ontology/bibo/#> . @prefix dc: <http://purl.org/dc/elements/1.1/> . @prefix dcat: <http://www.w3.org/TR/vocab-dcat/#> . @prefix dcterms: <http://purl.org/dc/terms/> . @prefix esip: <http://purl.org/esip/#> . @prefix foaf: <http://xmlns.com/foaf/0...
17,851
https://github.com/syedomair/ct_client_admin/blob/master/src/AppBundle/Resources/views/Admin/dashboard.html.twig
Github Open Source
Open Source
MIT
null
ct_client_admin
syedomair
Twig
Code
1,755
6,731
{% extends 'base.html.twig' %} {% block stylesheets %} <link href="{{ asset('bundles/app/css/bootstrap.min.css') }}" rel="stylesheet"> <link href="{{ asset('bundles/app/css/bootstrap-responsice.min.css') }}" rel="stylesheet"> <link href="{{ asset('bundles/app/css/fullcalendar.css') }}" rel="stylesheet"> ...
33,351
https://github.com/consulo/consulo-jakartaee/blob/master/javaee-api/src/main/java/com/intellij/javaee/model/xml/ejb/RemoveMethod.java
Github Open Source
Open Source
Apache-2.0
2,021
consulo-jakartaee
consulo
Java
Code
198
485
/* * Copyright 2000-2007 JetBrains s.r.o. * * 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...
15,663
https://github.com/wolfman199311/laravel_react.js/blob/master/app/Http/Controllers/API/PluginController.php
Github Open Source
Open Source
MIT
null
laravel_react.js
wolfman199311
PHP
Code
34
166
<?php namespace App\Http\Controllers\API; use App\Company; use App\Http\Controllers\Controller; use App\Level; use App\UserLevel; use Illuminate\Http\Request; use Spatie\Permission\Models\Role; class PluginController extends Controller { public function __construct() { } public function rss(Reques...
16,807
https://github.com/blakehagen/blake-site/blob/master/src/components/TopBar/topBar.module.scss
Github Open Source
Open Source
MIT
null
blake-site
blakehagen
SCSS
Code
103
371
.headerWrapper { background: #FFF; border-bottom: 1px solid #EEE; height: 50px; width: 100%; max-width: 1100px; display: flex; align-items: center; justify-content: flex-end; position: sticky; top: 0; z-index: 999; } .navContainer { height: 100%; margin-right: 20px; display: flex; align-i...
26,880
https://github.com/13human/scala-cgdk/blob/master/src/main/scala/model/TileType.scala
Github Open Source
Open Source
Apache-2.0
2,015
scala-cgdk
13human
Scala
Code
258
738
package model /** * Тип тайла. */ sealed trait TileType object TileType { /** * Пустой тайл. */ case object EMPTY extends TileType /** * Тайл с прямым вертикальным участком дороги. */ case object VERTICAL extends TileType /** * Тайл с прямым горизонтальным участком дороги. */ ...
1,358
https://github.com/Kinnara/ModernWpf/blob/master/samples/SamplesCommon/SamplePages/SamplePage5.xaml.cs
Github Open Source
Open Source
MIT
2,022
ModernWpf
Kinnara
C#
Code
15
45
namespace SamplesCommon.SamplePages { public partial class SamplePage5 { public SamplePage5() { InitializeComponent(); } } }
47,021
https://github.com/westmelon/leetcode/blob/master/src/main/java/com/neo/sword2offer/q24/App.java
Github Open Source
Open Source
MIT
null
leetcode
westmelon
Java
Code
63
178
package com.neo.sword2offer.q24; import com.neo.struct.ListNode; public class App { public static void main(String[] args) { ListNode head = new ListNode("a"); ListNode b = new ListNode("b"); ListNode c = new ListNode("c"); ListNode d = new ListNode("d"); ListNode e = new...
20,406
https://github.com/the-gophers/kind-knative/blob/master/Makefile
Github Open Source
Open Source
MIT
2,020
kind-knative
the-gophers
Makefile
Code
759
2,945
GOPATH := $(shell go env GOPATH) GOARCH := $(shell go env GOARCH) GOOS := $(shell go env GOOS) GOPROXY := $(shell go env GOPROXY) ifeq ($(GOPROXY),) GOPROXY := https://proxy.golang.org endif export GOPROXY ROOT_DIR :=$(shell dirname $(realpath $(firstword $(MAKEFILE_LIST)))) APP = go-action PAC...
19,068
https://github.com/saltyrtc/saltyrtc-client-js/blob/master/src/signaling/handoverstate.ts
Github Open Source
Open Source
MIT
2,021
saltyrtc-client-js
saltyrtc
TypeScript
Code
200
430
/** * Copyright (C) 2016-2018 Threema GmbH * * This software may be modified and distributed under the terms * of the MIT license. See the `LICENSE.md` file for details. */ export class HandoverState { private _local: boolean; private _peer: boolean; constructor() { this.reset(); } ...
22,627
https://github.com/hyorek/IMIESHPERE/blob/master/application/controleurs/addEventControler.php
Github Open Source
Open Source
MIT
2,016
IMIESHPERE
hyorek
PHP
Code
98
232
<?php class addEventController { public function addEvent() { require_once ("/application/models/addEventModel.php"); $addEvent = new addEventModel (); require_once ("/application/views/IMIE/addEvent.php"); if (isset ( $_POST ['nameEvent'] ) && isset ( $_POST ['streeNumber'] ) && isset ( $_POST ['addressEve...
41,183
https://github.com/selarassolusindo/sia2/blob/master/application/modules/t01_package/models/T01_package_model.php
Github Open Source
Open Source
MIT
null
sia2
selarassolusindo
PHP
Code
259
1,460
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); class T01_package_model extends CI_Model { public $table = 't01_package'; public $id = 'idprice'; public $order = 'ASC'; function __construct() { parent::__construct(); $this->db = $this->load->database(...
17,862
https://github.com/bnomei/kirby3-stopwatch/blob/master/vendor/composer/autoload_psr4.php
Github Open Source
Open Source
MIT
2,022
kirby3-stopwatch
bnomei
PHP
Code
40
181
<?php // autoload_psr4.php @generated by Composer $vendorDir = dirname(dirname(__FILE__)); $baseDir = dirname($vendorDir); return array( 'Symfony\\Contracts\\Service\\' => array($vendorDir . '/symfony/service-contracts'), 'Symfony\\Component\\Stopwatch\\' => array($vendorDir . '/symfony/stopwatch'), 'Psr...
39,884
https://github.com/manacespereira/upstart-weather-ui/blob/master/src/pages/HomePage/components/Weather/styles.ts
Github Open Source
Open Source
Apache-2.0
null
upstart-weather-ui
manacespereira
TypeScript
Code
15
40
import styled from 'styled-components'; export const Container = styled.div` button { margin-top: 15px; } `;
18,762
https://github.com/Huxx0804/gibbon_lib/blob/master/gibbon/maps/_building_map.py
Github Open Source
Open Source
MIT
null
gibbon_lib
Huxx0804
Python
Code
211
808
import uuid import json import pandas as pd import numpy as np from gibbon.utility import Convert class Buildings: def __init__(self, sensor, path=None): self.sensor = sensor self.df = None self.selected = None if path: self.load_dataframe(path) def load_dataframe...
41,746
https://github.com/ucd-library/wine-price-extraction/blob/master/ark_87287/d7c889/d7c889-008/rotated.r
Github Open Source
Open Source
MIT
2,021
wine-price-extraction
ucd-library
R
Code
3
86
r=358.90 https://sandbox.dams.library.ucdavis.edu/fcrepo/rest/collection/sherry-lehmann/catalogs/d7c889/media/images/d7c889-008/svc:tesseract/full/full/358.90/default.jpg Accept:application/hocr+xml
32,578
https://github.com/goldmansachs/reladomo/blob/master/reladomo/src/main/java/com/gs/fw/common/mithra/attribute/calculator/arithmeticCalculator/TimestampDayOfMonthCalculator.java
Github Open Source
Open Source
Apache-2.0, BSD-3-Clause, MIT, LicenseRef-scancode-public-domain
2,023
reladomo
goldmansachs
Java
Code
237
837
/* Copyright 2016 Goldman Sachs. 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 writing, softw...
41,702
https://github.com/matesglobal-spec/freshexport.com.au/blob/master/application/views/index.php
Github Open Source
Open Source
MIT, LicenseRef-scancode-unknown-license-reference
2,019
freshexport.com.au
matesglobal-spec
PHP
Code
1,003
5,330
<!-- =====Quick view ============================ --> <!--<div class="product-view-modal modal fade bd-example-modal-lg-product-1" tabindex="-1" aria-hidden="true"> <div class="modal-dialog modal-lg"> <div class="modal-content"> <div class="row"> <div class="pro...
8,922
https://github.com/j-u-p-iter/form-base/blob/master/src/packages/form-base/modules/reducers/createFormBaseReducer.js
Github Open Source
Open Source
MIT
null
form-base
j-u-p-iter
JavaScript
Code
177
482
import invariant from 'invariant'; import { formBaseActions } from '../actions'; import { formBaseRowActions } from '../actions'; const updateState = (state, formType, dataToUpdate) => ({ ...state, [formType]: { ...state[formType], ...dataToUpdate }, }); const setState = (state, formType, stateToSet) => ({ .....
49,711
https://github.com/BigCatBrother/TableViewUnfold/blob/master/TableViewCell_openAndClosedemo/ViewController.m
Github Open Source
Open Source
MIT
2,017
TableViewUnfold
BigCatBrother
Objective-C
Code
628
3,283
// // ViewController.m // TableViewCell_openAndClosedemo // // Created by qianfeng on 15/11/25. // Copyright © 2015年 qianfeng. All rights reserved. // #import "ViewController.h" #import "MyTableViewCell.h" @interface ViewController ()<UITableViewDataSource,UITableViewDelegate> { UITableView *_tableView; N...
22,678
https://github.com/JunkieLand/spark-tools/blob/master/src/main/scala/it/trenzalore/tools/utils/spark/SparkUtils.scala
Github Open Source
Open Source
Apache-2.0
null
spark-tools
JunkieLand
Scala
Code
95
371
package it.trenzalore.tools.utils.spark import org.apache.spark.sql.{ Column, DataFrame, Dataset, Encoders, SparkSession } import org.apache.spark.sql.types.StructType import org.apache.spark.storage.StorageLevel import org.apache.spark.sql.functions.col import scala.reflect.runtime.universe.TypeTag object SparkUtil...
2,178
https://github.com/maki-nage/makinage/blob/master/makinage/driver/app_sink.py
Github Open Source
Open Source
MIT
2,022
makinage
maki-nage
Python
Code
376
1,097
from typing import Callable from collections import namedtuple import queue import asyncio import rx import rx.operators as ops from rx.core.notification import OnNext, OnError from rx.scheduler import NewThreadScheduler from rx.scheduler.eventloop import AsyncIOThreadSafeScheduler from cyclotron import Component d...
50,157
https://github.com/onap/aai-traversal/blob/master/aai-traversal/src/test/java/org/onap/aai/rest/search/OwningEntityfromServiceInstance.java
Github Open Source
Open Source
Apache-2.0
2,021
aai-traversal
onap
Java
Code
263
946
/** * ============LICENSE_START======================================================= * org.onap.aai * ================================================================================ * Copyright © 2017-2018 AT&T Intellectual Property. All rights reserved. * =======================================================...
6,454
https://github.com/chuong9x/DynamoNodeModelsEssentials/blob/master/src/Essentials/NodeModelsEssentialsFunctions/NodeModelsEssentialsFunctions.cs
Github Open Source
Open Source
MIT
2,021
DynamoNodeModelsEssentials
chuong9x
C#
Code
917
2,401
using System; using System.Collections.Generic; using Autodesk.DesignScript.Runtime; // needed to add flags like [IsVisibleDynamoLibrary(false)] using Autodesk.DesignScript.Geometry; using Autodesk.DesignScript.Interfaces; using System.Threading; using System.Threading.Tasks; using System.IO; namespace NodeModelsEsse...
25,121
https://github.com/anishdhakal54/newpooshak/blob/master/resources/views/emails/order-updated.blade.php
Github Open Source
Open Source
MIT
2,021
newpooshak
anishdhakal54
Blade
Code
64
244
@component('mail::layout') {{-- Header --}} @slot('header') @component('mail::header', ['url' => config('app.url')]) <img src="{{ asset('img/poosak.png') }}" alt="" width="150px"> @endcomponent @endslot ** The Order #{{$content['id']}} has been {{$content['value']}},Please...
16,440
https://github.com/bigstar18/prjs/blob/master/prj/bank/web-pingan-b2bic/src/main/java/cn/com/agree/eteller/generic/nnatp/impl/Tools.java
Github Open Source
Open Source
Apache-2.0
2,016
prjs
bigstar18
Java
Code
317
968
package cn.com.agree.eteller.generic.nnatp.impl; import java.io.BufferedReader; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.util.ArrayList; imp...
5,259
https://github.com/lsst-sims/smtn-006/blob/master/software/validation/dec_vs_mag.py
Github Open Source
Open Source
CC-BY-4.0
2,017
smtn-006
lsst-sims
Python
Code
352
1,351
""" This script queries the CatSim database for all bright stars in 0 < ra < 20 and then returns density plots of declination versus magnitude. """ import numpy as np import matplotlib.pyplot as plt from lsst.sims.catalogs.generation.db import DBObject import time if __name__ == "__main__": # grid step size in...
36,767
https://github.com/hjc851/Dataset2-HowToDetectAdvancedSourceCodePlagiarism/blob/master/Variant Programs/1-2/6/commemorate/GalaTape.java
Github Open Source
Open Source
MIT
null
Dataset2-HowToDetectAdvancedSourceCodePlagiarism
hjc851
Java
Code
28
75
package commemorate; public abstract class GalaTape { protected double beginning; protected java.lang.String update; public double opportunity() { return this.beginning; } public java.lang.String know() { return this.update; } }
8,217
https://github.com/DSCI-310/Group-2/blob/master/src/modeling.r
Github Open Source
Open Source
MIT
null
Group-2
DSCI-310
R
Code
334
1,133
"Fits a k-nn model on the pre-processed training data from the Cleveland Heart Disease dataset (https://archive-beta.ics.uci.edu/ml/datasets/heart+disease) Saves the model as a rds file. Usage: src/modeling.r --train=<train> --test=<test> --out_dir=<out_dir> Options: --train=<train> Path (including filename) to tr...
37,677