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/RubyNova/MODiX/blob/master/Modix.Data/Models/Moderation/InfractionEntity.cs
Github Open Source
Open Source
MIT
null
MODiX
RubyNova
C#
Code
272
742
using System; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using Modix.Data.Models.Core; namespace Modix.Data.Models.Moderation { /// <summary> /// Describes the result of one or more moderation actions performed upon a user, by a staff member. /// </su...
6,818
https://github.com/alex-petrenko/sample-factory/blob/master/sample_factory/envs/create_env.py
Github Open Source
Open Source
MIT
2,023
sample-factory
alex-petrenko
Python
Code
145
459
from __future__ import annotations from typing import Optional from sample_factory.algo.utils.context import global_env_registry from sample_factory.algo.utils.gymnasium_utils import patch_non_gymnasium_env from sample_factory.utils.attr_dict import AttrDict from sample_factory.utils.typing import Config from sample_...
45,752
https://github.com/machadowma/ListaApp/blob/master/app/src/main/java/com/github/machadowma/listaapp/MainActivity.java
Github Open Source
Open Source
MIT
null
ListaApp
machadowma
Java
Code
91
379
package com.github.machadowma.listaapp; import android.content.Intent; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.Button; public class MainActivity extends AppCompatActivity { public Button listView, gridView; @Override prote...
34,958
https://github.com/dkarter/prettier/blob/master/tests/flow/objectTypeProperty/objectTypeProperty.js
Github Open Source
Open Source
MIT
2,020
prettier
dkarter
JavaScript
Code
42
98
/* @flow */ declare var BAZ: {stuff?: (x: number) => void} | void; declare class Foo<T> { constructor(): void; foo: () => void; } let x: { x?: number } type T = { get goodGetterWithAnnotation(): number, set goodSetterWithAnnotation(x: number): void, }
35,652
https://github.com/uchuhimo/konf/blob/master/konf-core/src/test/kotlin/com/uchuhimo/konf/NetworkBuffer.kt
Github Open Source
Open Source
Apache-2.0
2,021
konf
uchuhimo
Kotlin
Code
195
365
/* * Copyright 2017-2021 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
6,658
https://github.com/elimirks/miscprojects/blob/master/pathfinder/main.c
Github Open Source
Open Source
MIT
2,019
miscprojects
elimirks
C
Code
50
145
#include "graph.h" int main(int argc, char **argv) { struct grid *g = read_grid(argv[1]); printf("Input map:\n"); print_grid(g); struct graph *graph = create_graph(g); printf("\nAnnotated map:\n"); annotate_grid(g, graph); print_grid(g); return 0; } /* * Pathfinding algorithm ideas: ...
53,205
https://github.com/edwinsbyk/profil-industri/blob/master/assets/tinymce/modules/tinymce/src/plugins/paste/test/ts/browser/PasteSettingsTest.ts
Github Open Source
Open Source
MIT, LGPL-2.0-or-later, LicenseRef-scancode-generic-cla, LGPL-2.1-only
2,021
profil-industri
edwinsbyk
TypeScript
Code
107
405
import { Assertions, Chain, Pipeline, Guard, Log } from '@ephox/agar'; import { UnitTest } from '@ephox/bedrock'; import { Merger } from '@ephox/katamari'; import { Editor as McEditor } from '@ephox/mcagar'; import Plugin from 'tinymce/plugins/paste/Plugin'; import Theme from 'tinymce/themes/silver/Theme'; UnitTest.a...
28,443
https://github.com/paladin952/cwmd/blob/master/cwmd_core/src/main/java/application/core/model/PKs/FlowDocumentPK.java
Github Open Source
Open Source
Apache-2.0
2,017
cwmd
paladin952
Java
Code
28
97
package application.core.model.PKs; import application.core.model.Document; import application.core.model.Flow; import lombok.*; import java.io.Serializable; @AllArgsConstructor @NoArgsConstructor @Getter @Setter @EqualsAndHashCode public class FlowDocumentPK implements Serializable { private Flow flow; priv...
51,615
https://github.com/anupmohan-sinha/UI/blob/master/corona-update/src/app/app.module.ts
Github Open Source
Open Source
MIT
null
UI
anupmohan-sinha
TypeScript
Code
165
517
import { MapModule } from './map/map.module'; import { InfoModule } from './info/info.module'; import { BrowserModule } from '@angular/platform-browser'; import { NgModule } from '@angular/core'; import { WorldModule } from './world/world.module'; import { IndiaModule } from './india/india.module'; import { NewsModule...
38,783
https://github.com/Azure/autorest.ruby/blob/master/test/azure/RspecTests/lro_spec.rb
Github Open Source
Open Source
LicenseRef-scancode-generic-cla, MIT
2,023
autorest.ruby
Azure
Ruby
Code
1,566
6,363
# encoding: utf-8 $: << 'RspecTests/Generated/lro' require 'rspec' require '1.0.0/generated/lro' include LroModule include LroModule::Models describe 'Long Running Operation' do before(:all) do base_url = ENV['StubServerURI'] dummyToken = 'dummy12321343423' credentials = MsRest::TokenCredentials.new(...
19,229
https://github.com/mzur/kirby-uniform/blob/master/tests/Guards/HoneytimeGuardTest.php
Github Open Source
Open Source
MIT
2,023
kirby-uniform
mzur
PHP
Code
148
618
<?php namespace Uniform\Tests\Guards; use Uniform\Form; use Uniform\Tests\TestCase; use Uniform\Guards\HoneytimeGuard; use Uniform\Exceptions\PerformerException; class HoneytimeGuardTest extends TestCase { public $key = 'base64:m9pAO+r/7SbyT0lfWTYM4+iV9BwZiT3ouxBurDoNAXs='; public function testPerform() ...
12,914
https://github.com/andrewhoi/squidex/blob/master/tests/Squidex.Domain.Apps.Core.Tests/Schemas/StringFieldPropertiesTests.cs
Github Open Source
Open Source
MIT
null
squidex
andrewhoi
C#
Code
335
1,147
// ========================================================================== // StringFieldPropertiesTests.cs // Squidex Headless CMS // ========================================================================== // Copyright (c) Squidex Group // All rights reserved. // ============================================...
53,888
https://github.com/Xin-Zheng/Jinan-Land-Use-and-Transportation-Database/blob/master/25City-Accessibility2/25City-Accessibility2.py
Github Open Source
Open Source
MIT
2,014
Jinan-Land-Use-and-Transportation-Database
Xin-Zheng
Python
Code
84
580
''' Created on 20141023 @author: xiaogelunbu ''' import arcpy import os import math arcpy.env.overwriteOutput=True fcparcel=arcpy.GetParameterAsText(0) poilayer=arcpy.GetParameterAsText(1) betavalue=arcpy.GetParameterAsText(2) addfieldname=arcpy.GetParameterAsText(3) tempDatapar = arcpy.env.scratchGDB + os.path...
38,836
https://github.com/CodeURJC-DAW-2021-22/webapp10/blob/master/frontend/src/app/pages/NewCoursePage/new-course.component.ts
Github Open Source
Open Source
Apache-2.0
null
webapp10
CodeURJC-DAW-2021-22
TypeScript
Code
50
170
import { Component } from '@angular/core'; import { Router } from '@angular/router'; import { LoginService } from 'src/app/services/login.service'; @Component({ selector: 'app-new-course', templateUrl: 'new-course.component.html', }) export class NewCourseComponent { constructor(private loginService: LoginServic...
32,715
https://github.com/eatskolnikov/mobileapp/blob/master/Toggl.Foundation.MvvmCross/ViewModels/TimeEntriesLog/DaySummaryViewModel.cs
Github Open Source
Open Source
BSD-2-Clause
2,019
mobileapp
eatskolnikov
C#
Code
57
194
using System; using Toggl.Foundation.MvvmCross.Collections; using Toggl.Foundation.MvvmCross.ViewModels.TimeEntriesLog.Identity; using Toggl.Multivac; namespace Toggl.Foundation.MvvmCross.ViewModels.TimeEntriesLog { public sealed class DaySummaryViewModel : IDiffable<IMainLogKey> { public string Title...
10,693
https://github.com/ryslanzaharov/rzaharov/blob/master/chapter_010/springboot/src/main/java/com/example/springboot/web/LoginController.java
Github Open Source
Open Source
Apache-2.0
null
rzaharov
ryslanzaharov
Java
Code
110
320
//package com.example.springboot.web; // //import org.springframework.stereotype.Controller; //import org.springframework.ui.Model; //import org.springframework.web.bind.annotation.RequestMapping; //import org.springframework.web.bind.annotation.RequestMethod; //import org.springframework.web.bind.annotation.RequestPar...
21,508
https://github.com/whatevery1says/we1s-collector/blob/master/Dockerfile
Github Open Source
Open Source
MIT
2,020
we1s-collector
whatevery1says
Dockerfile
Code
36
121
FROM python:3.6 RUN useradd -u 1000 -g users -m -s /bin/sh jovyan COPY --chown=jovyan:users requirements.txt /app/requirements.txt RUN pip install --no-cache-dir lxml RUN pip install -r /app/requirements.txt COPY --chown=jovyan:users . /app ENV PATH="${PATH}:/app" ENTRYPOINT ["tail", "-f", "/dev/null"]
23,005
https://github.com/7Raj007/OJ-Solutions/blob/master/src/com/darrensun/timus/Q1877.java
Github Open Source
Open Source
Apache-2.0
2,021
OJ-Solutions
7Raj007
Java
Code
119
233
package com.darrensun.timus; import java.util.Scanner; /** * Timus 1877 - Bicycle Codes * Created by Darren on 14-7-8. * On odd nights, the first lock is used, and the thief uses even codes; on even nights, * the second lock is used, and the thief uses odd codes. The only possibility that the thief * will never ...
32,005
https://github.com/rayglover-ibm/serving-caffe/blob/master/tensorflow_serving/servables/caffe/caffe_source_adapter.h
Github Open Source
Open Source
Apache-2.0
2,021
serving-caffe
rayglover-ibm
C
Code
173
624
/* Copyright 2016 Google Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in ...
28,884
https://github.com/prayagupd/learnyouascala.fm/blob/master/5_1_Types_Pattern_Matching/src/test/scala/ShapelessGenericStuffs2018.scala
Github Open Source
Open Source
MIT
2,018
learnyouascala.fm
prayagupd
Scala
Code
394
1,037
import shapeless.syntax.SingletonOps object GenericStuffs2018 { // https://harrylaou.com/slides/shapeless101.pdf def main(args: Array[String]): Unit = { import shapeless._ val intents = Map( "phone repair" -> List( "how can i repair my phone" :: 1 :: HNil, "I need to repair my pho...
23,641
https://github.com/4sh/datamaintain/blob/master/samples/k8s/docker/Dockerfile
Github Open Source
Open Source
Apache-2.0
2,023
datamaintain
4sh
Dockerfile
Code
30
110
FROM docker.pkg.github.com/4sh/datamaintain/datamaintain:1.2.0-mongo-4.2 # Copy entrypoint for execute datamaintain with a lock and arguments COPY entrypoint.sh /code/entrypoint.sh # Add scripts that will be executed COPY scripts /workspace/scripts ENTRYPOINT ["/bin/bash", "-c", "/code/entrypoint.sh"]
50,727
https://github.com/tomual/ratsnet/blob/master/application/views/explore/edith/custard_tree_bench_sit.php
Github Open Source
Open Source
MIT
null
ratsnet
tomual
PHP
Code
28
127
<?php $this->load->view('header') ?> <div class="row"> <div class="col"> <img src="<?php echo base_url('img/explore/edith/custard tree.png') ?>"> <p>You sat.</p> <a href="<?php echo base_url('world/edith/custard-tree') ?>"><button>Back to the bench</button></a> </div> </div> <?php $this...
15,917
https://github.com/VeljkoMaksimovic/VIVO/blob/master/api/src/main/java/org/vivoweb/webapp/createandlink/crossref/CrossrefNativeAPI.java
Github Open Source
Open Source
BSD-3-Clause
2,022
VIVO
VeljkoMaksimovic
Java
Code
983
3,227
/* $This file is distributed under the terms of the license in /doc/license.txt$ */ package org.vivoweb.webapp.createandlink.crossref; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.databind.DeserializationFeature; impor...
6,405
https://github.com/Z-snails/inigo/blob/master/Client/Action/Exec.idr
Github Open Source
Open Source
MIT
2,022
inigo
Z-snails
null
Spoken
103
231
module Client.Action.Exec import Client.Action.Build import Fmt import Inigo.Async.Base import Inigo.Async.Package import Inigo.Async.Promise import Inigo.Package.CodeGen as CodeGen import Inigo.Package.Package import System.Path execDir : String execDir = "build/exec" -- TODO: Better handling of base paths export...
48,463
https://github.com/ExidCuter/DockerRegistryV2Wrapper/blob/master/src/main/java/org/tdfl/docker/model/Jwk.java
Github Open Source
Open Source
MIT
2,021
DockerRegistryV2Wrapper
ExidCuter
Java
Code
37
177
package org.tdfl.docker.model; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import lombok.Data; @Data @JsonInclude(JsonInclude.Include.NON_NULL) public class Jwk { @JsonProperty("crv") pr...
47,940
https://github.com/xfce-mirror/xfce4-mpc-plugin/blob/master/panel-plugin/simple-libmpd.h
Github Open Source
Open Source
ISC
2,020
xfce4-mpc-plugin
xfce-mirror
C
Code
478
1,386
/* simple-libmpd.h * * Copyright (c) 2006-2012 Landry Breuil <landry at xfce.org> * This code is licenced under a BSD-style licence. * (OpenBSD variant modeled after the ISC licence) * All rights reserved. * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is he...
41
https://github.com/zollinka/brewed_app/blob/master/lib/ui/beer/attr_rating_slider.dart
Github Open Source
Open Source
Apache-2.0
null
brewed_app
zollinka
Dart
Code
122
450
import 'package:brewed/ui/beer/attr_slider_thumb.dart'; import 'package:flutter/material.dart'; import 'package:flutter/widgets.dart'; class AttributeRatingSlider extends StatefulWidget { final Function(String attribute, double value) updateRatingValue; final double value; final String attribute; final double ...
43,662
https://github.com/hirwablessing/renderlesskit-react-tailwind/blob/master/src/checkbox/Checkbox.tsx
Github Open Source
Open Source
MIT
2,021
renderlesskit-react-tailwind
hirwablessing
TypeScript
Code
252
814
import { CheckboxStateReturn, CheckboxOptions as ReakitCheckboxOptions, } from "reakit"; import * as React from "react"; import { useControllableState } from "@renderlesskit/react"; import { BoxProps } from "../box"; import { CheckboxIcon } from "./CheckboxIcon"; import { CheckboxText } from "./CheckboxText"; impo...
48,833
https://github.com/benderTheCrime/jsxdom/blob/master/dist/Array.prototype.fill.js
Github Open Source
Open Source
MIT
2,016
jsxdom
benderTheCrime
JavaScript
Code
79
184
"use strict"; if (![].fill) { Array.prototype.fill = function (value) { var len = parseInt(this.length, 10), start = arguments[1], relativeStart = parseInt(start, 10) || 0, k = relativeStart < 0 ? Math.max(len + relativeStart, 0) : Math.min(relativeStart, len), ...
50,918
https://github.com/i-gaven/Just_a_dumper/blob/master/all_headers/360手机卫士-电话短信防骚扰的安全助手-8.4.3(越狱应用)_headers/QHCallerExtensionConfiguration.h
Github Open Source
Open Source
MIT
2,018
Just_a_dumper
i-gaven
Objective-C
Code
109
528
// // 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 <objc/NSObject.h> @interface QHCallerExtensionConfiguration : NSObject { } + (id)objectForKey:(id)arg1; + (void)removeObjectF...
5,464
https://github.com/ditointernet/blog_tecnologia/blob/master/assets/css/_sass/fonts.scss
Github Open Source
Open Source
MIT
null
blog_tecnologia
ditointernet
SCSS
Code
100
874
@font-face { font-family: 'roboto_light'; src: url('../fonts/RobotoSlab-Light-webfont.eot'); src: url('../fonts/RobotoSlab-Light-webfont.eot?#iefix') format('embedded-opentype'), url('../fonts/RobotoSlab-Light-webfont.woff') format('woff'), url('../fonts/RobotoSlab-Light-webfont.ttf') format('truety...
19,121
https://github.com/cquoss/jboss-4.2.3.GA-jdk8/blob/master/server/src/main/org/jboss/jms/jndi/AbstractJMSProviderAdapter.java
Github Open Source
Open Source
Apache-2.0
null
jboss-4.2.3.GA-jdk8
cquoss
Java
Code
427
936
/* * JBoss, Home of Professional Open Source. * Copyright 2006, Red Hat Middleware LLC, and individual contributors * as indicated by the @author tags. See the copyright.txt file in the * distribution for a full listing of individual contributors. * * This is free software; you can redistribute it and/or modify i...
28,844
https://github.com/Joshuauzor/zichiteff/blob/master/app/Views/admin/pending.php
Github Open Source
Open Source
MIT, LicenseRef-scancode-unknown-license-reference
2,021
zichiteff
Joshuauzor
PHP
Code
183
850
<?php echo view('admin/partials/head')?> <?php echo view('admin/partials/header')?> <?php echo view('admin/partials/themeSettings')?> <?php echo view('admin/partials/navBar')?> <?php echo view('admin/partials/intro')?> <!-- validation messages --> <?php echo view('validationMessages')?> <!-- validation messages end-->...
45,584
https://github.com/jponnusamy/apache-rex/blob/master/mod_cgi-basic/run.sh
Github Open Source
Open Source
LicenseRef-scancode-other-permissive, MIT, NTP, LicenseRef-scancode-rsa-1990, LicenseRef-scancode-rsa-md4, Beerware, RSA-MD, HPND-sell-variant, Spencer-94, LicenseRef-scancode-zeusbench, metamail, Apache-2.0
2,016
apache-rex
jponnusamy
Shell
Code
93
320
exit_code=0 cgi_dir=$AREX_RUN_DIR/cgi-bin mkdir -p $cgi_dir echo "[1] correct cgi script" cat << EOF > $cgi_dir/correct.cgi #!/bin/bash echo 'Content-type: text/html' echo '' echo 'CGI Bash Example' EOF chmod 755 $cgi_dir/correct.cgi curl -s http://localhost:$AREX_PORT/cgi-bin/correct.cgi | grep 'CGI Bash Example' |...
22,225
https://github.com/fossabot/omim/blob/master/iphone/Maps/Classes/MapsAppDelegate.mm
Github Open Source
Open Source
Apache-2.0
null
omim
fossabot
Objective-C++
Code
2,312
9,549
#import "MapsAppDelegate.h" #import "CoreNotificationWrapper+Core.h" #import "EAGLView.h" #import "LocalNotificationManager.h" #import "MWMAuthorizationCommon.h" #import "MWMCommon.h" #import "MWMCoreRouterType.h" #import "MWMFrameworkListener.h" #import "MWMFrameworkObservers.h" #import "MWMMapViewControlsManager.h" ...
108
https://github.com/k4rtik/Campus-Radio/blob/master/code/cr/functions/forms/simple.php
Github Open Source
Open Source
MIT
null
Campus-Radio
k4rtik
PHP
Code
50
213
submit a form with hidden field named 'myfield[1]': <form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="POST"> <input type="hidden" name="myfield[1]" value="1" > <input type="submit"> </form> <?php function testit($a) { static $tick = 1; echo "<li>test ", $tick++, ":\n"; var_dump($a, array_key_exists(key($a),...
13,436
https://github.com/jasync-sql/jasync-sql/blob/master/postgresql-async/src/main/java/com/github/jasync/sql/db/postgresql/exceptions/AuthenticationException.kt
Github Open Source
Open Source
Apache-2.0
2,023
jasync-sql
jasync-sql
Kotlin
Code
25
93
package com.github.jasync.sql.db.postgresql.exceptions import com.github.jasync.sql.db.exceptions.DatabaseException class AuthenticationException : DatabaseException { constructor(message: String) : super("Authentication exception: $message") constructor(message: String, cause: Throwable) : super("Authenticat...
42,790
https://github.com/mickelus/tetra/blob/master/src/main/java/se/mickelus/tetra/effect/potion/MiningSpeedPotionEffect.java
Github Open Source
Open Source
2,023
tetra
mickelus
Java
Code
77
395
package se.mickelus.tetra.effect.potion; import net.minecraft.world.effect.MobEffect; import net.minecraft.world.effect.MobEffectCategory; import net.minecraftforge.api.distmarker.Dist; import net.minecraftforge.api.distmarker.OnlyIn; import net.minecraftforge.client.EffectRenderer; import net.minecraftforge.event.ent...
10,431
https://github.com/TerraFormersApp/client-code/blob/master/src/components/Card.vue
Github Open Source
Open Source
MIT
2,020
client-code
TerraFormersApp
Vue
Code
317
1,243
<template> <div id="Card" :class="{shakeable}"> <div class="card border-info mb-3" style="width:400px"> <div class="card-header"> <h3>{{data.name}}</h3> </div> <div class="card-body"> <canvas :id="data.name" width="375" height="300"></canvas> <h5 class="card-title">TerraForm Description:</h...
1,014
https://github.com/isabella232/oja/blob/master/packages/oja-action/__tests__/fixtures/app/modules/bar/index.js
Github Open Source
Open Source
MIT
2,022
oja
isabella232
JavaScript
Code
10
23
'use strict'; module.exports = context => { return 'barv'; };
19,561
https://github.com/scottelane/DataTidy/blob/master/Dynamics365/Converters/Dynamics365EntityFieldConverter.cs
Github Open Source
Open Source
MIT
null
DataTidy
scottelane
C#
Code
201
674
using System; using System.Collections.Generic; using System.ComponentModel; using System.Globalization; using System.Linq; using System.Text.RegularExpressions; using ScottLane.DataTidy.Core; namespace ScottLane.DataTidy.Dynamics365 { public class Dynamics365EntityFieldConverter : TypeConverter { pri...
35,573
https://github.com/matthughes/scalajs-react/blob/master/test/src/main/scala/japgolly/scalajs/react/test/package.scala
Github Open Source
Open Source
Apache-2.0
null
scalajs-react
matthughes
Scala
Code
49
235
package japgolly.scalajs.react package object test { val Simulate = japgolly.scalajs.react.test.raw.ReactTestUtils.Simulate type ReactOrDomNode = japgolly.scalajs.react.test.raw.ReactOrDomNode implicit def reactOrDomNodeFromMounted(m: GenericComponent.MountedRaw): ReactOrDomNode = ReactDOM.findDOMNode(m.r...
30,218
https://github.com/carlosmagnofcamara/webpackpokedex/blob/master/pokedexreact/components/details/styles.js
Github Open Source
Open Source
Unlicense
2,020
webpackpokedex
carlosmagnofcamara
JavaScript
Code
160
536
import styled from 'styled-components'; export const Container = styled.div` margin-left: auto; margin-right: auto; margin-top: 20px; padding: 50px; width:50%; background-color: #FFA3AF; border-radius: 8px; box-shadow: 0px 8px 10px 0px gray; display: flex; flex-direction: column; justify-content: space-around; align-i...
54,249
https://github.com/gbpoole/gbpCode/blob/master/src/gbpMath/gbpHist/local.cmake
Github Open Source
Open Source
MIT
2,015
gbpCode
gbpoole
CMake
Code
259
794
# Set empty defaults set(LIBDIRS "" ) set(SRCDIRS "" ) set(INCFILES "" ) set(SRCFILES "" ) set(EXEFILES "" ) set(DATAFILES "" ) set(PASSDIRS "" ) set(DATASUBDIR "" ) # Add subdirectories that are roots to libraries # eg. list(APPEND LIBDIRS "dir" ) # -- NONE FOR THIS DIR -- # Add directories that contr...
23,715
https://github.com/muxanick/scala-native-java-stubs/blob/master/javax/naming/event/NamespaceChangeListener.scala
Github Open Source
Open Source
MIT
null
scala-native-java-stubs
muxanick
Scala
Code
159
327
package javax.naming.event import scala.scalanative.annotation.stub /** Specifies the methods that a listener interested in namespace changes * must implement. * Specifically, the listener is interested in NamingEvents * with event types of OBJECT_ADDED, OBJECT_RENAMED, or * OBJECT_REMOVED. * * Such a lis...
16,906
https://github.com/PerpetualColor/science_fair_2018_aes_speeds/blob/master/unicorn/run_16bit.py
Github Open Source
Open Source
MIT
2,019
science_fair_2018_aes_speeds
PerpetualColor
Python
Code
29
105
import emu time = 0 for i in range(1, 51): print("TEST #" + str(i)) time += emu.emulate("../16_bit/implementation/bin/aes", 0x1090+0xA35, 0x1090+0x1054) print("RUNNING AVERAGE: " + str(time/i)) print("Average cycles: " + str(time/50))
6,586
https://github.com/schism-dev/schism/blob/master/src/Utility/OneWayNestScripts/CMakeLists.txt
Github Open Source
Open Source
Apache-2.0
2,023
schism
schism-dev
CMake
Code
24
178
add_executable(interpolate_variables7 interpolate_variables7.f90 ) add_executable(timeint_3Dth2 timeint_3Dth2.f90) add_dependencies(utility interpolate_variables7 timeint_3Dth2) target_link_libraries(interpolate_variables7 utillib ${NetCDFLIBS} ${HDF5_LIBRARIES} ) add_executable(interpolate_variables8 interpolate_va...
20,433
https://github.com/evandojunior/urbem3.0/blob/master/src/Urbem/CoreBundle/Entity/Tcmgo/TipoVeiculoTcm.php
Github Open Source
Open Source
MIT
null
urbem3.0
evandojunior
PHP
Code
288
1,637
<?php namespace Urbem\CoreBundle\Entity\Tcmgo; /** * TipoVeiculoTcm */ class TipoVeiculoTcm { /** * PK * @var integer */ private $codTipoTcm; /** * @var string */ private $nomTipoTcm; /** * OneToMany * @var \Doctrine\Common\Collections\Collection|\Urbem\Core...
41,330
https://github.com/carbon3d/openapi-enforcer-middleware/blob/master/demo/server/controllers/todo.js
Github Open Source
Open Source
Apache-2.0
2,021
openapi-enforcer-middleware
carbon3d
JavaScript
Code
276
589
'use strict' module.exports = function (dbClient) { return { addTask: async (req, res) => { // no need to validate the body because // the middleware has already validated the request const query = { text: 'INSERT INTO tasks (title, completed, due) VALUES ($1, $2, $3) RETURNING *', ...
43,682
https://github.com/drpacman/zipkin/blob/master/zipkin-web/src/main/scala/com/twitter/zipkin/common/json/JsonTraceCombo.scala
Github Open Source
Open Source
Apache-2.0
2,018
zipkin
drpacman
Scala
Code
136
307
/* * Copyright 2012 Twitter 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 t...
38,761
https://github.com/wardlem/graphlite/blob/master/data/edge_list.go
Github Open Source
Open Source
MIT
null
graphlite
wardlem
Go
Code
62
145
package data // error messages const ( nilEdgeList = "attempt to operate on a nil edge list" ) type edgeList map[uint32]*Edge func (m edgeList) add (e *Edge) { Assert (nilEdgeList, m != nil) Assert (nilEdge, e != nil) m[e.Id] = e } func (m edgeList) remove (e *Edge) { Assert (nilEdgeList, ...
30,617
https://github.com/scc-digitalhub/dremio-oss/blob/master/services/transientstore/src/main/java/com/dremio/datastore/transientstore/InMemoryTransientStore.java
Github Open Source
Open Source
Apache-2.0, LicenseRef-scancode-unknown-license-reference
2,022
dremio-oss
scc-digitalhub
Java
Code
889
2,330
/* * Copyright (C) 2017-2019 Dremio Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable l...
42,082
https://github.com/Cocoanetics/DTCoreText/blob/master/Core/Source/DTCoreTextLayouter.h
Github Open Source
Open Source
BSD-2-Clause
2,023
DTCoreText
Cocoanetics
Objective-C
Code
249
560
// // DTCoreTextLayouter.h // DTCoreText // // Created by Oliver Drobnik on 1/24/11. // Copyright 2011 Drobnik.com. All rights reserved. // #import "DTCompatibility.h" #if TARGET_OS_IPHONE #import <CoreText/CoreText.h> #elif TARGET_OS_MAC #import <ApplicationServices/ApplicationServices.h> #endif #import "DTCore...
34,755
https://github.com/rust-db/refinery/blob/master/refinery_core/src/util.rs
Github Open Source
Open Source
MIT
2,023
refinery
rust-db
Rust
Code
388
1,725
use crate::error::{Error, Kind}; use regex::Regex; use std::ffi::OsStr; use std::path::{Path, PathBuf}; use walkdir::{DirEntry, WalkDir}; lazy_static::lazy_static! { static ref RE: regex::Regex = Regex::new(r"^(U|V)(\d+(?:\.\d+)?)__\w+\.(rs|sql)$").unwrap(); } /// enum containing the migration types used to searc...
21,915
https://github.com/sylvanase/fotoplace-h5/blob/master/smg/static/js/smg/common.js
Github Open Source
Open Source
MIT
null
fotoplace-h5
sylvanase
JavaScript
Code
1,525
6,594
var uToken = parseUrl('uToken'), //页面token jsTicket = parseUrl('jsTicket'), nickName = decodeURI(parseUrl('nickname')), host = 'http://' + window.location.host, APPID = 'wxc695aff9cd412873', REDIRECT_URI = '/ws/wx/redirect', imgId = '', //上传图片返回的id值 originSrc = host + '/static/img/smg/demo.j...
14,180
https://github.com/OmiyaGames/prototype-munch/blob/master/Assets/JMO Assets.meta
Github Open Source
Open Source
CC-BY-3.0, CC-BY-4.0
2,016
prototype-munch
OmiyaGames
Unity3D Asset
Code
8
46
fileFormatVersion: 2 guid: 5b369ef3b29b9c1478b6a30a13dc5806 folderAsset: yes DefaultImporter: userData:
17,056
https://github.com/DavidPaguay/Practica08---Laberinto-VR/blob/master/VR-Software-Development_A-Maze-6.1.1/A Maze/Assets/UdacityVR/Scenes/Main.unity
Github Open Source
Open Source
MIT
2,021
Practica08---Laberinto-VR
DavidPaguay
Unity3D Asset
Code
20,000
81,333
%YAML 1.1 %TAG !u! tag:unity3d.com,2011: --- !u!29 &1 OcclusionCullingSettings: m_ObjectHideFlags: 0 serializedVersion: 2 m_OcclusionBakeSettings: smallestOccluder: 5 smallestHole: 0.25 backfaceThreshold: 100 m_SceneGUID: 00000000000000000000000000000000 m_OcclusionCullingData: {fileID: 0} --- !u!104 &2 RenderSettings:...
43,550
https://github.com/geekdevs/oauth2-cronofy/blob/master/src/Hydrator/ArrayHydrator.php
Github Open Source
Open Source
MIT
2,018
oauth2-cronofy
geekdevs
PHP
Code
35
111
<?php namespace Geekdevs\OAuth2\Client\Hydrator; /** * Class ArrayHydrator * @package Geekdevs\OAuth2\Client\Hydrator */ class ArrayHydrator implements HydratorInterface { /** * @param array $data * * @return array */ public function hydrate(array $data) { return $data; }...
27,874
https://github.com/soundphysicians/NHapiTools/blob/master/tools/NHapiTools.Generator/Program.cs
Github Open Source
Open Source
MIT
2,022
NHapiTools
soundphysicians
C#
Code
92
333
using System; using System.IO; namespace NHapiTools.Generator { class Program { private static string BaseDirectory { get; } = AppDomain.CurrentDomain.BaseDirectory; static void Main(string[] args) { var nhapiDllDir = args.Length == 0 ? BaseDirectory : args[0]; ...
36,446
https://github.com/jzamss/rsi-react-components/blob/master/src/ui/Form.js
Github Open Source
Open Source
MIT
2,021
rsi-react-components
jzamss
JavaScript
Code
104
312
import React, { useRef } from "react"; import { Form as RFForm } from "react-final-form"; import createDecorator from "final-form-focus"; const focusOnError = createDecorator(); const Form = ({ initialData = {}, onSubmit, validate, children, decorators = [focusOnError] }) => { const formRef = useRef(); ...
8,732
https://github.com/kitsonk/swc/blob/master/ecmascript/minifier/tests/terser/compress/rename/mangle_catch_redef_1_toplevel/input.js
Github Open Source
Open Source
Apache-2.0, MIT
2,022
swc
kitsonk
JavaScript
Code
18
43
var a = "PASS"; try { throw "FAIL1"; } catch (a) { var a = "FAIL2"; } console.log(a);
6,632
https://github.com/khuddlefish/gpdb/blob/master/src/test/tinc/tincrepo/mpp/gpdb/tests/storage/filerep_end_to_end/ck_sync1/sql/ck_sync1_create_drop_reassign_owned.sql
Github Open Source
Open Source
PostgreSQL, Apache-2.0
2,017
gpdb
khuddlefish
SQL
Code
240
795
-- start_ignore SET gp_create_table_random_default_distribution=off; -- end_ignore -- -- CK_SYNC1 -- CREATE ROLE ck_sync1_user1; CREATE ROLE ck_sync1_user2; CREATE ROLE ck_sync1_user3; CREATE ROLE ck_sync1_user4; CREATE ROLE ck_sync1_user5; CREATE ROLE ck_sync1_user6; CREATE ROLE ck_sync1_admin; CREATE TABLE ck_sync...
11,636
https://github.com/Haakenlid/tassen/blob/master/webpack/src/universitas/components/Strossle/index.js
Github Open Source
Open Source
Apache-2.0
2,021
tassen
Haakenlid
JavaScript
Code
9
30
import Strossle from './Strossle.js' import './Strossle.scss' export default Strossle
19,274
https://github.com/ssit-ml/usergrid/blob/master/stack/corepersistence/collection/src/main/java/org/apache/usergrid/persistence/collection/MvccLogEntry.java
Github Open Source
Open Source
Apache-2.0, CC-BY-SA-3.0, BSD-3-Clause, MIT
2,020
usergrid
ssit-ml
Java
Code
336
628
/* * 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 ...
20,275
https://github.com/qianfu1997/synchro_new/blob/master/mmdet/datasets/panoptic_custom.py
Github Open Source
Open Source
Apache-2.0
null
synchro_new
qianfu1997
Python
Code
515
1,828
# # @author:charlotte.Song # @file: panoptic_custom.py # @Date: 2019/9/18 20:53 # @description: # -*- coding: utf-8 -*- from __future__ import absolute_import from __future__ import division from __future__ import print_function import os.path as osp import mmcv import numpy as np from torch.utils.data import Dataset ...
23,523
https://github.com/zhangyang110/learn-webshow/blob/master/src/routes/dashboard/recommend/index.less
Github Open Source
Open Source
MIT
null
learn-webshow
zhangyang110
Less
Code
70
439
@font-face { font-family: "微软雅黑"; src: url("../../../public/微软雅黑.woff") format("woff"), url("../../../public/微软雅黑.ttf") format("truetype"), url("../../../public/微软雅黑.otf") format("opentype"); font-weight: normal; font-style: normal; } @font-face { font-family: "方正准圆简体"; src: url("../../../public/方正准圆简体...
33,559
https://github.com/biolisp/cl-bio/blob/master/scratch.lisp
Github Open Source
Open Source
BSD-1-Clause
2,021
cl-bio
biolisp
Common Lisp
Code
202
952
(asdf:oos 'asdf:load-op :cl-bio) (asdf:oos 'asdf:load-op :cl-bio-entrez) (in-package :bio-user) (defparameter *d* (make-random-dna-sequence 100)) (residues-string *d*) (defparameter *dna-seq-1* (make-instance 'adjustable-dna-sequence)) (insert-residues *dna-seq-1* 0 "GAATTC") (residues-string *dna-seq-1*) (defpara...
3,213
https://github.com/dcajasn/Riskfolio-Lib/blob/master/lib/armadillo-11.4.1/include/armadillo_bits/arma_rng.hpp
Github Open Source
Open Source
Apache-2.0
2,023
Riskfolio-Lib
dcajasn
C++
Code
2,297
9,005
// SPDX-License-Identifier: Apache-2.0 // // Copyright 2008-2016 Conrad Sanderson (http://conradsanderson.id.au) // Copyright 2008-2016 National ICT Australia (NICTA) // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may ob...
22,463
https://github.com/dawmlight/device_beken/blob/master/device/bk_corp/bk72xx_liteosm_sdk/beken378/func/rf_test/SConscript
Github Open Source
Open Source
MIT
2,021
device_beken
dawmlight
Python
Code
158
549
from building import * cwd = GetCurrentDir() src = [] src += ["rx_sensitivity.c"] src += ["tx_evm.c"] path = [] path += [cwd + '/'] sys_config = os.path.join(cwd, '..', '..', '..', 'config', 'sys_config.h') options = LocalOptions(sys_config) rf_test_lib_name = 'rf_test' platform_match = 'yes' if (GetLocalDepend(...
45,740
https://github.com/GrifoDev/IronMan-ModdedFiles/blob/master/SystemUI/smali/com/android/settingslib/R$attr.smali
Github Open Source
Open Source
Apache-2.0
2,021
IronMan-ModdedFiles
GrifoDev
Smali
Code
82
271
.class public final Lcom/android/settingslib/R$attr; .super Ljava/lang/Object; .source "R.java" # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = Lcom/android/settingslib/R; .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x19 name = "attr" .end a...
34,960
https://github.com/nguyenquangtin/rsuite/blob/master/styles/less/pickers/index.less
Github Open Source
Open Source
MIT
2,021
rsuite
nguyenquangtin
Less
Code
16
78
@charset "utf-8"; @import "calendar-picker"; @import "cascader"; @import "check-picker"; @import "check-tree-picker"; @import "date-range-picker"; @import "select-picker"; @import "tree-picker";
13,848
https://github.com/june20516/JavaWorks/blob/master/20190501/src/bean/JDBCControl.java
Github Open Source
Open Source
MIT
2,019
JavaWorks
june20516
Java
Code
170
684
package bean; import java.sql.Connection; import java.sql.DriverManager; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.util.ArrayList; import java.util.List;; public class JDBCControl { private Connection connection; private PreparedStatement prepStat; priva...
24,154
https://github.com/chinmaygarde/firebase-dart/blob/master/lib/src/mojo/firebase.dart
Github Open Source
Open Source
MIT
2,016
firebase-dart
chinmaygarde
Dart
Code
1,428
4,329
library firebase.mojo.firebase; import 'dart:async'; import 'dart:convert'; import 'package:flutter/services.dart'; import 'package:sky_services/firebase/firebase.mojom.dart' as mojo; import '../firebase.dart'; import '../disconnect.dart'; import '../event.dart'; import '../data_snapshot.dart'; import '../transactio...
27,939
https://github.com/miraj-alam6/CSE306Project/blob/master/nachos/kernel/filesys/Directory.java
Github Open Source
Open Source
BSD-4-Clause
null
CSE306Project
miraj-alam6
Java
Code
980
1,847
// Directory.java // Class to manage a directory of file names. // // Copyright (c) 1992-1993 The Regents of the University of California. // Copyright (c) 1998 Rice University. // Copyright (c) 2003 State University of New York at Stony Brook. // All rights reserved. See the COPYRIGHT file for copyright notice and /...
35,509
https://github.com/renjithbaby23/tf2.0_examples/blob/master/20_sequence_data_processing.py
Github Open Source
Open Source
MIT
2,019
tf2.0_examples
renjithbaby23
Python
Code
602
1,523
""" Preparing a sample time series dataset and preprocessing it to be ready to be used by neural networks. Requires tensorflow 2.x """ import tensorflow as tf import numpy as np dataset = tf.data.Dataset.range(10) # windowing the dataset with shift # try without drop_remainder dataset = dataset.window(5, shift=1, dr...
41,178
https://github.com/afermon/mypass-web/blob/master/src/main/webapp/app/entities/secret/secret.service.ts
Github Open Source
Open Source
MIT
2,019
mypass-web
afermon
TypeScript
Code
246
830
import { Injectable } from '@angular/core'; import { HttpClient, HttpResponse } from '@angular/common/http'; import { Observable } from 'rxjs'; import * as moment from 'moment'; import { DATE_FORMAT } from 'app/shared/constants/input.constants'; import { map } from 'rxjs/operators'; import { SERVER_API_URL } from 'app...
34,286
https://github.com/JimmyKenMerchant/supermathtestforkids_alpha/blob/master/SuperMathFrameCondition.java
Github Open Source
Open Source
Unlicense
null
supermathtestforkids_alpha
JimmyKenMerchant
Java
Code
522
2,757
package jimmykenmerchant.mathforkids_alpha; import java.awt.Color; /** * * @author KENTA ISHII, TOKYO * Copyright 2015 KENTA ISHII All Rights Reserved * */ class SuperMathFrameCondition extends javax.swing.JFrame { int level = 1; Color copper = new Color(200, 150, 0); Color silver = new Color(100, 1...
40,494
https://github.com/HiJesse/Android-OmegaNet/blob/master/omeganet/src/main/java/cn/jesse/omeganet/util/reference/ReferenceCounted.java
Github Open Source
Open Source
Apache-2.0
null
Android-OmegaNet
HiJesse
Java
Code
27
86
package cn.jesse.omeganet.util.reference; /** * Created by jesse on 16-8-16. */ public interface ReferenceCounted { int refCnt(); ReferenceCounted retain(); ReferenceCounted retain(int increment); boolean release(); boolean release(int decrement); }
24,595
https://github.com/jasenfinch/Index_measures_for_oak_decline_severity_using_phenotypic_descriptors/blob/master/R/functions/optimalParams.R
Github Open Source
Open Source
CC-BY-4.0
2,021
Index_measures_for_oak_decline_severity_using_phenotypic_descriptors
jasenfinch
R
Code
17
77
optimalParams <- function(tuning_results){ tuning_results %>% filter(PMAE == min(PMAE)) %>% {list(mtry = .$mtry[1],ntree = .$ntree[1],PMAE = .$PMAE[1])} }
42,975
https://github.com/1v4n4/cocktails/blob/master/src/actions/searchActions.js
Github Open Source
Open Source
MIT
null
cocktails
1v4n4
JavaScript
Code
62
214
import axios from 'axios'; const SEARCH_LOADING = 'SEARCH LOADING'; const SEARCH_FAIL = 'SEARCH FAIL'; const SEARCH_SUCCESS = 'SEARCH SUCCESS'; const getSearch = (search) => async (dispatch) => { try { dispatch({ type: SEARCH_LOADING, }); const result = await axios.get(`https://www.thecocktaildb.c...
25,627
https://github.com/daryl-17/rf-online-gs-editor/blob/master/src/structs/server/item/dungeonkey_reader.js
Github Open Source
Open Source
MIT
2,018
rf-online-gs-editor
daryl-17
JavaScript
Code
51
159
import FileReader from '~/classes/FileReader'; import { DUNGEONKEY } from '~/structs/item_types'; import defaultHeader from './default_header'; import dungeonkeyStruct from './dungeonkey_struct'; export default class ServerItemDungeonkeyReader extends FileReader { constructor(props = {}) { super({ ...props...
9,521
https://github.com/tgworkshop/destekbizden/blob/master/CoronaSupportPlatform.Models/UserProperty.cs
Github Open Source
Open Source
MIT
2,020
destekbizden
tgworkshop
C#
Code
46
135
using CoronaSupportPlatform.Models.Identity; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CoronaSupportPlatform.Models { public class UserProperty : Property { public in...
23,537
https://github.com/leelaser/thesis_docker/blob/master/docker-workspace/colcon_ws/install/hls_lfcd_lds_driver/share/hls_lfcd_lds_driver/local_setup.bash
Github Open Source
Open Source
BSD-3-Clause
2,021
thesis_docker
leelaser
Shell
Code
1
40
/workspace/colcon_ws/build/hls_lfcd_lds_driver/ament_cmake_environment_hooks/local_setup.bash
715
https://github.com/airfranceklm/masherylocal-adapters/blob/master/yaml/src/main/java/com/airfranceklm/amt/yaml/YamlReadable.java
Github Open Source
Open Source
MIT
2,021
masherylocal-adapters
airfranceklm
Java
Code
30
122
package com.airfranceklm.amt.yaml; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * Marks the class as Yaml-readable for loading the {@link YamlLoader}. */ @Retention(RetentionPolicy.RUNTIME) @Targe...
42,343
https://github.com/emiliopf/chat-frontend/blob/master/src/app/rooms/rooms.module.ts
Github Open Source
Open Source
MIT
null
chat-frontend
emiliopf
TypeScript
Code
125
372
import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { RoomsService } from './rooms.service'; import { BrowserModule } from '@angular/platform-browser'; import { HttpClientModule } from '@angular/common/http'; import { MatTableModule } from '@angular/material/table'; import {...
44,856
https://github.com/wangling97/tokokue/blob/master/include/admin/data_kue/delete.php
Github Open Source
Open Source
MIT
null
tokokue
wangling97
PHP
Code
21
97
<?php include "../../config/database.php"; $id_kue = trim(mysqli_real_escape_string($conn, $_POST['id'])); mysqli_query($conn, "UPDATE ms_kue SET status_hapus = '0' WHERE id_kue = '$id_kue'") or die(mysqli_error($conn)); ?>
6,838
https://github.com/nickbradley/codestory/blob/master/service/src/rest/frontend/codestory/codestory-frontend.js
Github Open Source
Open Source
MIT
2,017
codestory
nickbradley
JavaScript
Code
120
529
// See: http://nicholascbradley.com:4321/codestory/623e244d5 (function() { var REST_URL = 'http://nicholascbradley.com:4321/codestory/rest/'; var TEST_HASH = '2f6a3220b'; var source = $("#codestory-template").html(); var template = Handlebars.compile(source); function onLoad(data) { var context = { questi...
27,206
https://github.com/quasics/quasics-frc-sw-2015/blob/master/Quasics2019Code/HedyLamarr/src/main/cpp/Subsystems/DriveBase.cpp
Github Open Source
Open Source
BSD-3-Clause
2,021
quasics-frc-sw-2015
quasics
C++
Code
227
713
// RobotBuilder Version: 2.0 // // This file was generated by RobotBuilder. It contains sections of // code that are automatically generated and assigned by robotbuilder. // These sections will be updated in the future when you export to // C++ from RobotBuilder. Do not put any code or make any change in // the blocks ...
38,420
https://github.com/fromseto/MaranasTools/blob/master/lib/MaranasTools/CreateReportSteadyCom.py
Github Open Source
Open Source
MIT
2,018
MaranasTools
fromseto
Python
Code
275
1,026
from KBaseReport.KBaseReportClient import KBaseReport from DataFileUtil.DataFileUtilClient import DataFileUtil import uuid import os import errno import shutil class CreateReport(object): def __init__(self, callback_url, scratch_dir): self.scratch_dir = scratch_dir self.report_client = KBaseReport...
45,529
https://github.com/1806Java-Trevin/janus-webapp/blob/master/client-side/src/environments/environment.ts
Github Open Source
Open Source
Apache-2.0
2,018
janus-webapp
1806Java-Trevin
TypeScript
Code
155
430
// The file contents for the current environment will overwrite these during build. // The build system defaults to the dev environment which uses `environment.ts`, but if you do // ng build --env=prod` then `environment.prod.ts` will be used instead. // The list of which env maps to which file can be found in `.angula...
30,234
https://github.com/yeastrc/proteomics-utils/blob/master/src/main/java/org/yeastrc/proteomics/peptide/atom/Carbon.java
Github Open Source
Open Source
Apache-2.0
null
proteomics-utils
yeastrc
Java
Code
49
159
package org.yeastrc.proteomics.peptide.atom; import org.yeastrc.proteomics.mass.MassUtils.MassType; public class Carbon extends Atom { @Override public double getMass( MassType massType ) { if( massType == MassType.MONOISOTOPIC ) return 12.0; if( massType == MassType.AVERAGE ) return 12.0107; th...
45,242
https://github.com/naxxfish/joplin-share-server/blob/master/src/util/install.js
Github Open Source
Open Source
MIT
2,021
joplin-share-server
naxxfish
JavaScript
Code
153
526
const pg = require('pg'); const connectionString = process.env.DATABASE_URL; console.log('Installing database schema...'); if (connectionString === undefined) { console.error('No connection string supplied!'); process.exit(1); } console.log('Connection string defined!'); let client; try { client = new pg.Client(co...
21,270
https://github.com/its-izhar/char-device-driver/blob/master/ioctl_test.c
Github Open Source
Open Source
MIT
2,017
char-device-driver
its-izhar
C
Code
225
703
/** * @Author: Izhar Shaikh <izhar> * @Date: 2017-03-21T21:21:09-04:00 * @Email: izharits@gmail.com * @Filename: ioctl_test.c * @Last modified by: izhar * @Last modified time: 2017-03-24T12:46:37-04:00 * @License: MIT */ /* IOCTL Test @*/ #include <stdio.h> #include <unistd.h> #include <fcntl.h> ...
15,732
https://github.com/kikko/devart-template/blob/master/project_code/prod/app/src/coffee/m11s/books/items/stars.coffee
Github Open Source
Open Source
Apache-2.0
2,019
devart-template
kikko
CoffeeScript
Code
197
572
class mk.m11s.books.Stars constructor : (@head) -> @view = new paper.Group() @view.transformContent = false @view.z = -3000 @height = window.viewport.height @offset = -window.viewport.height*0.5 @path = new paper.Path.Circle center : [0,0] radius : 4 fillColor : 'white' ...
7,602
https://github.com/pineipol/becominganagilearchitect.com/blob/master/src/Pineipol/BaaBundle/Resources/public/less/post-list.less
Github Open Source
Open Source
MIT
null
becominganagilearchitect.com
pineipol
Less
Code
257
996
.post-container { display: table; margin-bottom: 60px; @media (max-width: @landscape-tablet-width) { display: block; margin-bottom: 20px; } .left-column { display: table-cell; vertical-align: top; width: 65%; @media (max-width: @landscape-tablet-width)...
9,730
https://github.com/Terra-jin/Humanizer/blob/master/src/Humanizer.Tests.Shared/Localisation/id/TimeSpanHumanizeTests.cs
Github Open Source
Open Source
MIT
2,022
Humanizer
Terra-jin
C#
Code
227
880
using System; using Xunit; namespace Humanizer.Tests.Localisation.id { [UseCulture("id-ID")] public class TimeSpanHumanizeTests { [Theory] [Trait("Translation", "Google")] [InlineData(366, "1 tahun")] [InlineData(731, "2 tahun")] [InlineData(1096, "3 tahun")] ...
14,172
https://github.com/apsmachiques/lila/blob/master/app/setup/FriendJoiner.scala
Github Open Source
Open Source
MIT
null
lila
apsmachiques
Scala
Code
135
388
package lila package setup import chess.{ Color ⇒ ChessColor } import game.{ GameRepo, DbGame, Pov } import user.User import round.{ Event, Progress, Messenger } import controllers.routes import scalaz.effects._ final class FriendJoiner( gameRepo: GameRepo, messenger: Messenger, timelinePush: DbGame ⇒ IO...
21,777
https://github.com/humam-nameer-10p/Behind-Enemy-Lines/blob/master/Assets/Crap/3dModels/Textures_/01a87699.dds.meta
Github Open Source
Open Source
CC-PDDC
2,016
Behind-Enemy-Lines
humam-nameer-10p
Unity3D Asset
Code
6
40
fileFormatVersion: 2 guid: 26fd56b356ad14eb2b399ba4f3b631c1 DDSImporter: userData:
17,047
https://github.com/Jopie64/WampSharp/blob/master/src/net45/WampSharp/WAMP2/V2/Rpc/Callee/Reflection/ResultExtractor/EmptyResultExtractor.cs
Github Open Source
Open Source
BSD-2-Clause-FreeBSD
2,022
WampSharp
Jopie64
C#
Code
11
36
namespace WampSharp.V2.Rpc { internal class EmptyResultExtractor : WampResultExtractor { } }
31,491
https://github.com/synthetic-borealis/Andromeda-Saving-System/blob/master/Assets/Plugins/Dahomey.Cbor/Serialization/Converters/Mappings/IObjectMappingConvention.cs
Github Open Source
Open Source
MIT
2,022
Andromeda-Saving-System
synthetic-borealis
C#
Code
20
78
using System; using System.Collections.Generic; using System.Text; namespace Dahomey.Cbor.Serialization.Converters.Mappings { public interface IObjectMappingConvention { void Apply<T>(SerializationRegistry registry, ObjectMapping<T> objectMapping); } }
26,471