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/liuyuhong0324/UserManagerSystem/blob/master/app/index/controller/Index.php
Github Open Source
Open Source
Apache-2.0
null
UserManagerSystem
liuyuhong0324
PHP
Code
15
59
<?php namespace app\index\controller; class Index { public function index() { //重定向至登录 return redirect(url('/user/login/index/')); } }
29,041
https://github.com/weo-edu/supports-localstorage/blob/master/test/index.js
Github Open Source
Open Source
MIT
null
supports-localstorage
weo-edu
JavaScript
Code
111
298
var expect = require('chai').expect // Simulate browser global.window = {} describe('supports-localStorage', function() { var supportsLocalstorage = beforeEach(function() { supportsLocalstorage = require('../') }) // supports-localStorage memoizes itself, so need to clear // the require cache each tim...
19,069
https://github.com/IvonKhalif/Mini-Movie/blob/master/app/src/main/java/com/example/minimovie/features/review/ReviewAdapter.kt
Github Open Source
Open Source
Apache-2.0
null
Mini-Movie
IvonKhalif
Kotlin
Code
142
594
package com.example.minimovie.features.review import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.recyclerview.widget.RecyclerView import com.example.minimovie.R import com.example.minimovie.databinding.ItemReviewBinding import com.example.minimovie.repository.revi...
40,549
https://github.com/CorplayH/Laravel_Mall/blob/master/public/org/app-assets/js/scripts/ui/compact-menu.js
Github Open Source
Open Source
MIT
2,019
Laravel_Mall
CorplayH
JavaScript
Code
41
125
/*========================================================================================= File Name: compact-menu.js Description: Compact menu page level only ---------------------------------------------------------------------------------------- Item Name: Chameleon Admin - Modern Bootstrap 4 WebApp & Dashboard...
28,149
https://github.com/Sransonette/sransonsette_cli_project/blob/master/lib/sransonette_cli_project/pokemon.rb
Github Open Source
Open Source
MIT
2,021
sransonsette_cli_project
Sransonette
Ruby
Code
26
100
require 'pry' require_relative "./version.rb" class SransonetteCliProject::Pokemon attr_accessor :pokemon @@all = [] def initialize(pokemon) @pokemon = pokemon @@all << self #binding.pry end def self.all @@all end end
4,161
https://github.com/HoughIO/ip.properties/blob/master/Makefile
Github Open Source
Open Source
BSD-2-Clause
null
ip.properties
HoughIO
Makefile
Code
13
41
init: virtualenv env pip install -r requirements.txt venv: source env/bin/activate test: nosetests tests
28,475
https://github.com/thesebas/node-properties/blob/master/examples/include/include.js
Github Open Source
Open Source
MIT
2,017
node-properties
thesebas
JavaScript
Code
50
147
"use strict"; var properties = require ("../../lib"); var options = { path: true, include: true, sections: true }; properties.parse (".", options, function (error, p){ if (error) return console.error (error); console.log (p); /* { web: { hostname: "10.10.10.10", port: 1234 }, ...
4,210
https://github.com/canales2002/Hort/blob/master/HortDef/HortDef.ino
Github Open Source
Open Source
Apache-2.0
null
Hort
canales2002
null
Spoken
268
1,071
#include <dht.h> #include <SoftwareSerial.h> #define WATER_SENSOR 14 #define LDR 15 #define DHT_SENSOR 16 dht DHT; SoftwareSerial bt(10,11); // RX, TX byte byteReceived; int earthHumidity; int light; int airHumidity; int temperature; long t = 0; byte wateringFrequency = 8; byte timeWatering = 5; byte waterUnderHumi...
29,313
https://github.com/veikoon/Votix/blob/master/src/Console/Command/ConfigMailerCommand.php
Github Open Source
Open Source
MIT
2,016
Votix
veikoon
PHP
Code
477
1,602
<?php /** * Votix. The advanced and secure online voting platform. * * @author Club*Nix <club.nix@edu.esiee.fr> * * @license MIT */ namespace App\Console\Command; use Exception; use Psr\Log\LoggerInterface; use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Input\InputInterface; use Sym...
49,815
https://github.com/dangel101/ovirt-engine/blob/master/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/validator/RunVmValidator.java
Github Open Source
Open Source
Apache-2.0
null
ovirt-engine
dangel101
Java
Code
1,751
7,730
package org.ovirt.engine.core.bll.validator; import static org.ovirt.engine.core.bll.storage.disk.image.DisksFilter.ONLY_NOT_SHAREABLE; import static org.ovirt.engine.core.bll.storage.disk.image.DisksFilter.ONLY_PLUGGED; import static org.ovirt.engine.core.bll.storage.disk.image.DisksFilter.ONLY_SNAPABLE; import java...
13,917
https://github.com/BBBBeans/Dot2d_esp32/blob/master/src/Dot2D/math/Size.h
Github Open Source
Open Source
MIT
2,021
Dot2d_esp32
BBBBeans
C++
Code
380
894
/**************************************************************************** Copyright (c) 2010-2013 cocos2d-x.org Copyright (c) 2013-2016 Chukong Technologies Inc. Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd. Copyright (c) 2021 Yinbaiyuan http://www.cocos2d-x.org https://www.yinbaiyuan.com Permission...
24,395
https://github.com/JS-Encoder/JS-Encoder-Online/blob/master/src/store/modules/cancelRequest.js
Github Open Source
Open Source
MIT
2,022
JS-Encoder-Online
JS-Encoder
JavaScript
Code
37
120
/** * 存放并取消请求队列 */ const cancelRequest = { namespaced: true, state: { cancelTokenArr: [] // 取消请求token数组 }, mutations: { pushToken (state, payload) { state.cancelTokenArr.push(payload.cancelToken) }, clearToken (state) { state.cancelTokenArr = [] } } } export default cancelR...
51,007
https://github.com/tzuyangliu/Xcode9-Runtime-Headers/blob/master/IDEKit/IDETestReport_TestActivity-Protocol.h
Github Open Source
Open Source
MIT
2,017
Xcode9-Runtime-Headers
tzuyangliu
Objective-C
Code
111
482
// // 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 <IDEKit/IDETest_ActivityAttachment_Base-Protocol.h> @class NSArray, NSDate, NSString; @protocol IDETestReport_TestActivity <I...
45,291
https://github.com/bandysik/LAC/blob/master/app/src/main/java/lac/example/app/AppNavigator.kt
Github Open Source
Open Source
Apache-2.0
2,019
LAC
bandysik
Kotlin
Code
28
102
package lac.example.app import android.app.Activity import android.content.Intent import lac.feature.additional.pro.ProActivity import lac.plugin.navigator.Navigator object AppNavigator : Navigator { override fun startPro(activity: Activity) { val intent = Intent(activity, ProActivity::class.java) ...
5,993
https://github.com/aalto-ui/aim/blob/master/frontend/src/components/Preview.vue
Github Open Source
Open Source
MIT, LicenseRef-scancode-unknown-license-reference
2,023
aim
aalto-ui
Vue
Code
82
285
<template lang="html"> <div> <div class="component-section"> <b-row> <b-col cols="12"> <h2 class="component-title"> Preview </h2> <p>1280 x 800 pixels at 72 dpi (URL) or original image resized to 1280 pixels width at 72 dpi (screenshot)</p> </b-col> ...
41,394
https://github.com/TheCodeTalker/swift-compiler-crashes/blob/master/unique-crash-locations/swift_moduledecl_lookupconformance_swift_type_swift_protocoldecl_swift_lazyresolver_1231.swift
Github Open Source
Open Source
MIT, Apache-2.0
2,016
swift-compiler-crashes
TheCodeTalker
Swift
Code
1
25
../crashes-duplicates/27935-swift-moduledecl-lookupconformance.swift
24,628
https://github.com/synic/frf/blob/master/frf/tests/test_utils/test_date.py
Github Open Source
Open Source
Apache-2.0
2,018
frf
synic
Python
Code
249
653
# Copyright 2016 by Teem, and other contributors, # as noted in the individual source code files. # # 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/LICENS...
30,890
https://github.com/Cingozzz/Distribution/blob/master/o/openui5/src/main/scala/typings/openui5/sap/ui/core/Configuration.scala
Github Open Source
Open Source
MIT
2,021
Distribution
Cingozzz
Scala
Code
3,031
5,838
package typings.openui5.sap.ui.core import typings.openui5.sap.ui.base.Object import typings.openui5.sap.ui.core.Configuration.FormatSettings import org.scalablytyped.runtime.StObject import scala.scalajs.js import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess} @js.native tra...
29,715
https://github.com/HerveNegre/freeadds/blob/master/resources/views/products/search.blade.php
Github Open Source
Open Source
MIT
null
freeadds
HerveNegre
PHP
Code
1,331
6,245
<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <meta name="description" content=""> <meta name="author" content="Mark Otto, Jacob Thornton, and Bootstrap contributors"> <meta name="generator" co...
5,884
https://github.com/s4tori/shima/blob/master/go/internal/ga/ga.go
Github Open Source
Open Source
MIT
2,017
shima
s4tori
Go
Code
303
958
// Package ga manages Google Analytics. package ga import ( "log" "math/rand" "net" "net/http" "net/url" "strconv" "strings" ) const ( cidMin = 100000000 cidMax = 999999999 gaUrl = "https://www.google-analytics.com/collect" trackId = "UA-110169890-1" ) // ==============================================...
52,932
https://github.com/DLR-SC/tigl/blob/master/bindings/python_internal/tigl3/occ_helpers/topology.py
Github Open Source
Open Source
Apache-2.0
2,022
tigl
DLR-SC
Python
Code
224
689
from OCC.Core.TopExp import TopExp_Explorer from OCC.Core.BRepTools import BRepTools_WireExplorer, breptools_Read, breptools_Write from OCC.Core.TopoDS import topods_Edge, topods_Wire, TopoDS_Compound, TopoDS_Shape from OCC.Core.BRep import BRep_Builder from OCC.Core.TopAbs import TopAbs_EDGE, TopAbs_WIRE from pathlib ...
7,829
https://github.com/volodymyr-volynets/communication/blob/master/Mail/Controller/Mailbox/Externals.php
Github Open Source
Open Source
Apache-2.0
null
communication
volodymyr-volynets
PHP
Code
57
235
<?php namespace Numbers\Communication\Mail\Controller\Mailbox; class Externals extends \Object\Controller\Permission { public function actionIndex() { $form = new \Numbers\Communication\Mail\Form\List2\Mailbox\Externals([ 'input' => \Request::input() ]); echo $form->render(); } public function actionEdit()...
21,076
https://github.com/ShafqatAliRafaqat/hospitallcare-website-backend-in-laravel/blob/master/resources/views/adminpanel/users/create.blade.php
Github Open Source
Open Source
MIT
null
hospitallcare-website-backend-in-laravel
ShafqatAliRafaqat
PHP
Code
334
1,500
@extends('adminpanel.layout') @section('title', 'Create Doctor | HospitALL') @section('content') <div class="container-fluid px-xl-5"> <section class="py-5"> <div class="row"> <!-- Form Elements --> <div class="col-lg-12 mb-5"> <div class="card"> <div class="card-header"> ...
50,597
https://github.com/demarey/pakbot/blob/master/repository/CargoPackageManager/CGODirtyPackageWarning.class.st
Github Open Source
Open Source
MIT
2,020
pakbot
demarey
null
Spoken
42
90
" Warning signaled to alert the user that the package is dirty and needs to be saved. " Class { #name : #CGODirtyPackageWarning, #superclass : #Warning, #category : 'CargoPackageManager-Model' } { #category : #testing } CGODirtyPackageWarning >> isResumable [ ^ true ]
47,250
https://github.com/Aravindh-r/Calvin-Communities/blob/master/server/api/v1/modules/webhook/webhook.router.js
Github Open Source
Open Source
Apache-2.0
2,020
Calvin-Communities
Aravindh-r
JavaScript
Code
61
215
const router = require('express').Router(); const jwt = require('jsonwebtoken'); const webhookCtrl = require('./webhook.controller'); const config = require('../../../../appconfig/env/development'); router.post('/:token', (req, res) => { try { console.log('router'); // console.log('router'); // consol...
47,531
https://github.com/salewski/euca2ools/blob/master/euca2ools/commands/misc/generateenvironment.py
Github Open Source
Open Source
BSD-2-Clause
2,022
euca2ools
salewski
Python
Code
458
1,246
# Copyright 2015 Eucalyptus Systems, Inc. # # Redistribution and use of this software in source and binary forms, # with or without modification, are permitted provided that the following # conditions are met: # # Redistributions of source code must retain the above copyright notice, # this list of conditions and t...
34,010
https://github.com/phpshahariar/E-commerce/blob/master/resources/views/backEnd/includes/product/include/product_eng_up.blade.php
Github Open Source
Open Source
MIT
null
E-commerce
phpshahariar
PHP
Code
155
995
<script src="{{asset('backEnd/assets/ckeditor/')}}/ckeditor.js"></script> <script src="{{asset('backEnd/assets/ckeditor/')}}/samples/js/sample.js"></script> {{--<link rel="stylesheet" href="{{asset('backEnd/assets/ckeditor/')}}/samples/css/samples.css">--}} <link rel="stylesheet" href="{{asset('backEnd/assets/ckeditor/...
4,320
https://github.com/Pivot-Sciences/positive-possum/blob/master/theapp/R/edit_employee_Modal.R
Github Open Source
Open Source
MIT
2,018
positive-possum
Pivot-Sciences
R
Code
90
317
# EMPLOYEE INFO & EDIT edit_employee_Modal <- function(session, employee) { ns <- session$ns modalDialog( title = employee, textInput(inputId = ns("employee.full.name"), label = "Full Name:", value = employee), textInput(inputId = ns("employee.preferred...
5,280
https://github.com/programzheng/services/blob/master/nginx/Dockerfile
Github Open Source
Open Source
MIT
2,023
services
programzheng
Dockerfile
Code
23
83
FROM nginx:alpine COPY nginx.conf /etc/nginx/nginx.conf ARG TZ=UTC ENV TZ ${TZ} RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone EXPOSE 80 443
9,853
https://github.com/kariem2k/halley/blob/master/src/tools/tools/include/halley/tools/assets/import_assets_database.h
Github Open Source
Open Source
Apache-2.0
2,019
halley
kariem2k
C++
Code
242
981
#pragma once #include "halley/file/path.h" #include <map> #include <mutex> #include "halley/text/halleystring.h" #include <cstdint> #include "asset_importer.h" #include "halley/core/resources/asset_database.h" namespace Halley { class Project; class Deserializer; class Serializer; class ImportAssetsDatabaseEntry...
9,981
https://github.com/unbgames/Nephesh/blob/master/game/src/Log.cpp
Github Open Source
Open Source
MIT
2,018
Nephesh
unbgames
C++
Code
40
128
#include <fstream> #include <ctime> #include "Log.h" using namespace std; void Log::LogMessage(string message) { time_t nowSec = time(nullptr); char formattedTime[500]; strftime(formattedTime, TIMESTAMP_SIZE, TIMESTAMP_FORMAT, localtime(&nowSec)); cout << formattedTime << message << endl; } void Log:...
53,319
https://github.com/onap/policy-apex-pdp/blob/master/core/core-engine/src/main/java/org/onap/policy/apex/core/engine/engine/package-info.java
Github Open Source
Open Source
Apache-2.0
2,020
policy-apex-pdp
onap
Java
Code
187
339
/*- * ============LICENSE_START======================================================= * Copyright (C) 2016-2018 Ericsson. All rights reserved. * ================================================================================ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use thi...
13,854
https://github.com/ran-li2002/minty-server/blob/master/node_modules/catbuffer-typescript/dist/LockHashAlgorithmDto.d.ts
Github Open Source
Open Source
Apache-2.0
2,021
minty-server
ran-li2002
TypeScript
Code
15
38
export declare enum LockHashAlgorithmDto { SHA3_256 = 0, HASH_160 = 1, HASH_256 = 2 }
9,404
https://github.com/BearerPipelineTest/berty/blob/master/js/packages/components/shared-components/TextInput.tsx
Github Open Source
Open Source
ECL-2.0, Apache-2.0, MIT-0, MIT
null
berty
BearerPipelineTest
TypeScript
Code
116
384
import React, { FC } from 'react' import { TextInputProps, TextInput as RNTextInput, View, ViewProps } from 'react-native' import { useThemeColor } from '@berty/store' import { useStyles } from '@berty/contexts/styles' import { UnifiedText } from './UnifiedText' export const TextInput: FC< TextInputProps & { contain...
9,155
https://github.com/DTStack/DatasourceX/blob/master/solr/src/main/java/com/dtstack/dtcenter/common/loader/solr/DtSolrClient.java
Github Open Source
Open Source
ECL-2.0, Apache-2.0
2,022
DatasourceX
DTStack
Java
Code
945
3,597
/* * 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 ...
32,444
https://github.com/qbit/goblock/blob/master/goblock_test.go
Github Open Source
Open Source
ISC
2,014
goblock
qbit
Go
Code
127
458
package main import ( "bytes" "compress/gzip" "fmt" "io" "io/ioutil" "net/http" "net/http/httptest" "os" "testing" ) func fileContains(t *testing.T, src string, contents string) bool { buf, err := ioutil.ReadFile(src) if err != nil { fmt.Printf("%v\n", err) t.FailNow() } str := string(buf) if str ...
1,664
https://github.com/JJSwigut/DoitToit/blob/master/feature/src/main/java/com/jjswigut/feature/settings/SettingsViewModel.kt
Github Open Source
Open Source
Unlicense
null
DoitToit
JJSwigut
Kotlin
Code
45
175
package com.jjswigut.feature.settings import android.content.SharedPreferences import androidx.lifecycle.ViewModel import dagger.hilt.android.lifecycle.HiltViewModel import javax.inject.Inject @HiltViewModel class SettingsViewModel @Inject constructor( private val prefs: SharedPreferences ) : ViewModel() { p...
24,126
https://github.com/camptocamp/terraboard/blob/master/internal/terraform/registry/errors.go
Github Open Source
Open Source
Apache-2.0
2,022
terraboard
camptocamp
Go
Code
168
383
package registry import ( "fmt" "github.com/camptocamp/terraboard/internal/terraform/registry/regsrc" "github.com/hashicorp/terraform-svchost/disco" ) type errModuleNotFound struct { addr *regsrc.Module } func (e *errModuleNotFound) Error() string { return fmt.Sprintf("module %s not found", e.addr) } // IsMod...
37,479
https://github.com/SkipM4/Kage/blob/master/app/src/main/kotlin/com/absinthe/kage/device/cmd/RemoteControlKeyCommand.kt
Github Open Source
Open Source
Apache-2.0
2,020
Kage
SkipM4
Kotlin
Code
122
499
package com.absinthe.kage.device.cmd import android.content.Context import android.media.AudioManager import android.view.KeyEvent import com.absinthe.kage.connect.protocol.IpMessageConst import com.absinthe.kage.connect.protocol.IpMessageProtocol import com.absinthe.kage.device.Command import com.absinthe.kage.device...
21,885
https://github.com/sizhongxia/admin_n/blob/master/src/main/java/cn/iutils/sys/entity/Sessions.java
Github Open Source
Open Source
MIT
2,018
admin_n
sizhongxia
Java
Code
52
147
package cn.iutils.sys.entity; /** * session管理 * @author iutils.cn * @version 1.0 */ public class Sessions extends DataEntity<Sessions>{ private static final long serialVersionUID = 1L; private String session;//session对象 public Sessions() { super(); } public Sessions(String id){ s...
30,680
https://github.com/EricDDK/3DEngineEEE/blob/master/3DEngine/UI/Button.cpp
Github Open Source
Open Source
MIT
2,020
3DEngineEEE
EricDDK
C++
Code
153
507
#include "Button.h" #include "../Render/Shader.h" #include "../Render/Texture.h" #include "Font.h" ENGINE_NAMESPACE_START Button::Button(const std::string& name, Font *font, std::function<void()> onClick, const Vector2& pos, const Vector2& dims) : _name(name) , _onClick(onClick) , _font(font) , _nameTexture(nullp...
37,719
https://github.com/bmac/audioPromise/blob/master/test/audioPromiseTest.js
Github Open Source
Open Source
MIT
2,014
audioPromise
bmac
JavaScript
Code
259
713
/*globals $,asyncTest,deepEqual,equal,expect,module,notDeepEqual,notEqual, notStrictEqual,ok,QUnit,raises,start,stop,strictEqual,test */ var audioUrl = 'audio/the_black_atlantic_-_dandelion.mp3'; var errorUrl = 'audio/idonotexist.mp3'; asyncTest( " returns a promise object which should resolve with the audio object"...
13,456
https://github.com/zouhang1992/digital-restaurant/blob/master/drestaurant-apps/drestaurant-monolith/src/main/kotlin/com/drestaurant/web/CommandController.kt
Github Open Source
Open Source
Apache-2.0
2,018
digital-restaurant
zouhang1992
Kotlin
Code
436
1,814
package com.drestaurant.web import com.drestaurant.common.domain.api.model.AuditEntry import com.drestaurant.common.domain.api.model.Money import com.drestaurant.common.domain.api.model.PersonName import com.drestaurant.courier.domain.api.AssignCourierOrderToCourierCommand import com.drestaurant.courier.domain.api.Cre...
45,204
https://github.com/YANHAOsTHINGSdb/THINGSui/blob/master/src/main/webapp/js/components/MyReactTable.jsx
Github Open Source
Open Source
MIT
2,019
THINGSui
YANHAOsTHINGSdb
JavaScript
Code
484
2,396
"use strict"; const react = React.createElement; //const ReactTable1 = window.ReactTable.default; const program1 = { title:"检索结果画面", talkInfo: [ { "Did I see this plant in 2016?":"No", "Did I see this plant in 2017?":"Yes", "How Many?":1, "User Data 4":"x", "User Data 5":"", "Did...
10,322
https://github.com/saltstack-formulas/ufw-formula/blob/master/ufw/config/interfaces.sls
Github Open Source
Open Source
Apache-2.0
2,022
ufw-formula
saltstack-formulas
null
Spoken
131
339
# -*- coding: utf-8 -*- # vim: ft=sls {#- Get the `tplroot` from `tpldir` #} {%- set tplroot = tpldir.split('/')[0] %} {%- set sls_package_install = tplroot ~ '.package.install' %} {%- set sls_enable_service = tplroot ~ '.service.enable' %} {%- set sls_reload_service = tplroot ~ '.service.reload' %} {%- from tplroot...
42,163
https://github.com/iquipsys-positron/iqs-libs-clientshell-angular/blob/master/src/common/panels/credit_card/CreditCardPanelString.ts
Github Open Source
Open Source
MIT
null
iqs-libs-clientshell-angular
iquipsys-positron
TypeScript
Code
226
1,329
(() => { function declareCreditCardPanelTranslateResources(pipTranslateProvider: pip.services.ITranslateProvider) { pipTranslateProvider.translations('en', { CREDIT_CARD_VISA: 'visa', CREDIT_CARD_MAESTRO: 'maestro', CREDIT_CARD_MASTERCARD: 'mastercard', CREDIT...
46,408
https://github.com/shbrief/anvil-portal/blob/master/plugins/gatsby-source-studies/dashboard-field-extension.service.js
Github Open Source
Open Source
MIT
2,021
anvil-portal
shbrief
JavaScript
Code
541
1,232
/* * The AnVIL * https://www.anvilproject.org * * Service for dashboard field extension. */ /** * Return the access display text for the specified workspace: * * - "Controlled Access" when study exists * - "Open Access" when access: "Public" * - "Consortium Access" when access: "Private" (and without study) ...
32,524
https://github.com/Luphia/ecProxy/blob/master/src/backend/libs/Bot.js
Github Open Source
Open Source
MIT
null
ecProxy
Luphia
JavaScript
Code
123
340
const Utils = require('./Utils.js'); const Bots = []; class Bot { constructor() { Bots.push(this); } init({ config, database, logger, i18n }) { this.config = config; this.database = database; this.logger = logger; this.i18n = i18n; return Promise.resolve(this); } start() { return ...
35,788
https://github.com/pehlivano/MapApplication/blob/master/src/roadgraph/MapEdge.java
Github Open Source
Open Source
Apache-2.0
null
MapApplication
pehlivano
Java
Code
89
256
package roadgraph; import geography.GeographicPoint; public class MapEdge { private GeographicPoint start; private GeographicPoint end; private String streetName; private String roadType; private double distance; public MapEdge(GeographicPoint start, GeographicPoint end, String streetName, String roadType,...
30,121
https://github.com/ArchangelEkim/dawnoftimebuilder/blob/master/src/main/java/org/dawnoftimebuilder/client/gui/creative/CreativeInventoryEvents.java
Github Open Source
Open Source
Unlicense
null
dawnoftimebuilder
ArchangelEkim
Java
Code
426
1,837
package org.dawnoftimebuilder.client.gui.creative; import net.minecraft.client.Minecraft; import net.minecraft.client.gui.screen.Screen; import net.minecraft.client.gui.screen.inventory.CreativeScreen; import net.minecraft.client.gui.widget.button.Button; import net.minecraft.item.ItemStack; import net.minecraft.util....
49,790
https://github.com/Yet-Another-Developers-Group/Rhapsody/blob/master/src/main/bot/rNonStreamingSearchManager/index.js
Github Open Source
Open Source
MIT
2,022
Rhapsody
Yet-Another-Developers-Group
JavaScript
Code
60
272
const axios = require('axios').default; const urlValidityCheckExpression = new RegExp(/https?:\/\/(www\.)?[-a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,4}\b([-a-zA-Z0-9@:%_\+.~#?&//=]*)/g); const { rllManager } = require('../bot.js'); class rNonSteramingSearchManager { static async search(searchTerm) { const ...
12,966
https://github.com/xingyizhou/mseg-semantic/blob/master/tests/test_distributed_train.py
Github Open Source
Open Source
MIT
2,021
mseg-semantic
xingyizhou
Python
Code
175
744
import os import torch from util import dataset, transform import torch.multiprocessing as mp import torch.distributed as dist def main_process(): """ """ return args['rank'] % 8 == 0 def train(train_loader): """ """ print(args) if main_process(): print('Main process runs in ', args) for i, (input, targe...
31,948
https://github.com/gman-wa/RWLL-Player-Evaluations/blob/master/inc/apple-icons.php
Github Open Source
Open Source
Apache-2.0
2,023
RWLL-Player-Evaluations
gman-wa
PHP
Code
197
1,349
<?php /** * Created by PhpStorm. * User: garth * Date: 1/24/16 * Time: 1:57 PM */ /* * when complete * <link rel="manifest" href="/manifest.json"> * http://www.onlywebpro.com/2015/07/19/optimizing-full-screen-mobile-web-app-for-ios/ * * * <link rel="apple-touch-startup-image" href="iphone-startup.png"> <lin...
8,067
https://github.com/hubearth/pytooth/blob/master/pytooth/bluetooth_manager.py
Github Open Source
Open Source
MIT
2,019
pytooth
hubearth
Python
Code
92
387
from pytooth import bluetooth_base, bluetooth_device, constants, exceptions class BluetoothManager(bluetooth_base.Base): def __init__(self): super(BluetoothManager, self).__init__() self.devices = self.get_devices() def get_devices(self): devices = self.find_interface(constants.DEVIC...
41,519
https://github.com/amitsuryavanshi/rails/blob/master/activerecord/lib/active_record/connection_adapters/postgresql/cast.rb
Github Open Source
Open Source
MIT, Ruby
2,014
rails
amitsuryavanshi
Ruby
Code
180
779
module ActiveRecord module ConnectionAdapters module PostgreSQL module Cast # :nodoc: def point_to_string(point) # :nodoc: "(#{number_for_point(point[0])},#{number_for_point(point[1])})" end def number_for_point(number) number.to_s.gsub(/\.0$/, '') end ...
41,561
https://github.com/blashchyk/test/blob/master/app/Repositories/Contracts/CdnImagesInterface.php
Github Open Source
Open Source
MIT
2,021
test
blashchyk
PHP
Code
23
77
<?php namespace App\Repositories\Contracts; use App\Models\CdnImages; interface CdnImagesInterface { public function getImages(int $projectId) : CdnImages; public function copy(int $projectId, int $newId, array $input); }
5,346
https://github.com/KNMI/VERCE/blob/master/verce-hpc-pe/src/test/dispel4PyDownloadPE/examples/basic_example/submit.sh
Github Open Source
Open Source
MIT
2,019
VERCE
KNMI
Shell
Code
6
34
python -m dispel4py.simple_process dispel4PyDownloadPE.test_downloading_dispel4py -f input.json
6,877
https://github.com/tporadowski/grunt-bower-task/blob/master/tasks/lib/bower_assets.js
Github Open Source
Open Source
MIT
2,014
grunt-bower-task
tporadowski
JavaScript
Code
547
1,634
var _ = require('lodash'); var Emitter = require('events').EventEmitter; var path = require('path'); var grunt = require('grunt'); var packageMatcher = require('./package_matcher'); var Q = require('q'); var Handlebars = require('handlebars'); var Assets = function(cwd, componentsDir) { this._assets = {}; this._cw...
53,593
https://github.com/hacker-coop/hacker-eg-siebdruck/blob/master/.create_png.sh
Github Open Source
Open Source
MIT
2,021
hacker-eg-siebdruck
hacker-coop
Shell
Code
23
66
#!/bin/bash for i in *.svg do echo "Transform Image: $i" inkscape -z -e "export/$i.png" \ --export-dpi 600 \ --export-background white \ $i done
9,596
https://github.com/marabesi/zcpe/blob/master/streams/ogg.php
Github Open Source
Open Source
MIT
2,020
zcpe
marabesi
PHP
Code
3
30
<?php print file_get_contents('ogg:///home/matheus/Download/raimundos.ogg');
37,872
https://github.com/elwayman02/ember-data-twitch/blob/master/tests/dummy/app/templates/index.hbs
Github Open Source
Open Source
MIT
2,017
ember-data-twitch
elwayman02
null
Spoken
9
32
<h2 class="homepage__heading u-align-center">Select a Resource to get started</h2> {{outlet}}
52,831
https://github.com/Jeehut/TMDb/blob/master/Sources/TMDb/Services/TVShow/TVShowService.swift
Github Open Source
Open Source
Apache-2.0
2,020
TMDb
Jeehut
Swift
Code
33
90
// // TVShowService.swift // TMDb // // Created by Adam Young on 16/03/2020. // import Foundation public typealias TVShowService = DiscoverTVShowsService & TrendingTVShowsService & TVShowFetchService & TVShowRecommendationsService & SimilarTVShowsService & TVShowSearchService & TVShowSeasonService
45,895
https://github.com/kristijanPetr/snippet-box/blob/master/client/src/components/SearchBar.tsx
Github Open Source
Open Source
MIT
2,022
snippet-box
kristijanPetr
TypeScript
Code
120
429
import { useRef, useEffect, KeyboardEvent, useContext } from 'react'; import { SnippetsContext } from '../store'; import { searchParser } from '../utils'; export const SearchBar = (): JSX.Element => { const { searchSnippets } = useContext(SnippetsContext); const inputRef = useRef<HTMLInputElement>(document.createE...
21,863
https://github.com/Rhelli/react-redux-capstone---clothes-catalogue-store/blob/master/src/common/components/ProductPageNavbarComponent/ProductPageNavbarComponent.module.scss
Github Open Source
Open Source
MIT
2,021
react-redux-capstone---clothes-catalogue-store
Rhelli
SCSS
Code
152
508
.navbarContainer { display: flex; justify-content: center; align-items: center; background-color: #fdf2e9; height: 60px; position: fixed; width: 100%; top: 0; left: 0; right: 0; border-bottom: 1px solid #ddd4cc; -webkit-box-shadow: 0 3px 6px -4px rgba(105, 105, 105, 1); -moz-box-shadow: 0 3px ...
35,394
https://github.com/Sticky-Finger/algorithms4interviews/blob/master/剑指offer/003-从尾到头打印链表/code.js
Github Open Source
Open Source
MIT
2,020
algorithms4interviews
Sticky-Finger
JavaScript
Code
75
255
/*function ListNode(x){ this.val = x; this.next = null; }*/ /** * 1.遍历链表,将val存入栈,完成后,在出栈,得到结果 */ function printListFromTailToHead(head) { // write code here let stack = [] let curNode = head while (curNode.next) { stack.push(curNode.val) curNode = curNode.next } let res = [] while (curN...
24,959
https://github.com/Strand94/TBA4251/blob/master/src/sidebar/tools/Difference.js
Github Open Source
Open Source
MIT
null
TBA4251
Strand94
JavaScript
Code
162
558
import React, { Component } from 'react'; import "./Difference.css" import { callDifference } from '../Sidebar.js' import $ from "jquery"; // Fetches layer_list from layers, in order to get selection data. export function getLayerListDifference(layer_list) { this.setState({ layer_list }) } class Difference extends...
29,684
https://github.com/heodat234/worldfone4xs_ibm/blob/master/application/controllers/api/report/loan/Monthly_delinquent_occurence_transaction.php
Github Open Source
Open Source
MIT
null
worldfone4xs_ibm
heodat234
PHP
Code
2,076
8,898
<?php defined('BASEPATH') OR exit('No direct script access allowed'); require 'vendor/autoload.php'; use PhpOffice\PhpSpreadsheet\Spreadsheet; use PhpOffice\PhpSpreadsheet\IOFactory; use PhpOffice\PhpSpreadsheet\Writer\Xlsx; use PhpOffice\PhpSpreadsheet\Reader; Class Monthly_delinquent_occurence_transaction extends WF...
8,696
https://github.com/davegurnell/markwrap/blob/master/src/main/scala/org/clapper/markwrap/verbatim.scala
Github Open Source
Open Source
BSD-3-Clause
2,018
markwrap
davegurnell
Scala
Code
97
227
/* --------------------------------------------------------------------------- This software is released under a BSD license, adapted from http://opensource.org/licenses/bsd-license.php Copyright (c) 2010-2018, Brian M. Clapper All rights reserved. See the accompanying license file for details. --------...
41,359
https://github.com/ekohl/nrpe_basic/blob/master/spec/classes/nrpe_basic_spec.rb
Github Open Source
Open Source
Apache-2.0
2,014
nrpe_basic
ekohl
Ruby
Code
94
318
require 'spec_helper' describe 'nrpe_basic' do context 'on RedHat' do let :facts do { :osfamily => 'RedHat' } end it 'should include classes' do should contain_class('nrpe_basic') should contain_class('nrpe_basic::install') should contain_class('nrpe_basic::config') should ...
28,016
https://github.com/ronnelreposo/kbas/blob/master/src/controls/ParentContainer.java
Github Open Source
Open Source
MIT
null
kbas
ronnelreposo
Java
Code
12
33
package controls; import javafx.scene.layout.HBox; public interface ParentContainer { HBox getParentContainer (); }
52,969
https://github.com/neuromusic/PartSeg/blob/master/package/PartSegCore/channel_class.py
Github Open Source
Open Source
BSD-3-Clause
2,022
PartSeg
neuromusic
Python
Code
38
68
class Channel(int): """ This class is introduced to distinguish numerical algorithm parameter from choose chanel. In autogenerated interface field with this type limits input values to number of current image channels """ def __str__(self): return str(self + 1)
55,778
https://github.com/illuminatrix/illuminatrix/blob/master/boot/boot.S
Github Open Source
Open Source
MIT
2,021
illuminatrix
illuminatrix
Unix Assembly
Code
146
467
#include "boot.h" .code16 .globl start start: cli # Set segments on Zero xor %ax, %ax mov %ax, %ds mov %ax, %es mov %ax, %ss mov %dl, init_dl // save boot drive init_dl: .byte 0 CLEAN RESET_CURSOR PRINT_STR $start_msg, $11 LOAD_NSECTOR $1 PRINT_STR $gdt_msg, $11 lgdt gdtdesc PRINT_STR $protecte_msg, $...
48,974
https://github.com/codecason/bigdata-coding-example/blob/master/naga-project/naga-entity/src/main/java/imooc/naga/entity/visual/LocationJpaConverterJson.java
Github Open Source
Open Source
Apache-2.0
null
bigdata-coding-example
codecason
Java
Code
36
144
package imooc.naga.entity.visual; import cn.hutool.json.JSONUtil; import javax.persistence.AttributeConverter; import javax.persistence.Converter; @Converter public class LocationJpaConverterJson implements AttributeConverter<Location, String> { @Override public String convertToDatabaseColumn(Location stringObj...
33,196
https://github.com/i2tResearch/Ciberseguridad_web/blob/master/Botnets/App/App Web/PDG-env/lib/python3.6/site-packages/pandas/tests/plotting/test_series.py
Github Open Source
Open Source
MIT
2,023
Ciberseguridad_web
i2tResearch
Python
Code
2,804
12,455
# coding: utf-8 """ Test cases for Series.plot """ from datetime import datetime from itertools import chain import numpy as np from numpy.random import randn import pytest import pandas.util._test_decorators as td import pandas as pd from pandas import DataFrame, Series, date_range import pandas._testing as tm f...
18,627
https://github.com/PacktPublishing/Scala-High-Performance-Programming/blob/master/chapter7/src/main/scala/highperfscala/free/dsl.scala
Github Open Source
Open Source
MIT
2,021
Scala-High-Performance-Programming
PacktPublishing
Scala
Code
122
411
package highperfscala.free import highperfscala.free.BboUpdatedPipeline.BboProcessingFailure import scala.concurrent.duration.Duration import Thunk._ class TimedStep[R](f: => R, d: Duration) { def orElse[L](l: => L): EitherFree[Thunk, L, R] = new EitherFree(timed(() => f, () => l, LimitMs(d.toMillis))) } clas...
22,082
https://github.com/pankajvc/React-Admin-style-components/blob/master/src/components/IconNormalButton.js
Github Open Source
Open Source
Unlicense
null
React-Admin-style-components
pankajvc
JavaScript
Code
129
430
import React from 'react' import styled from 'styled-components' const IconButton = styled.button` display: inline-flex; align-items: center; justify-content: center; position: relative; box-sizing: border-box; /* background-color: transparent; */ outline: 0px; border: 0px; margin: ...
44,000
https://github.com/FrauBSD/dwatch-json/blob/master/grafio/rc.d/grafio_stats
Github Open Source
Open Source
BSD-2-Clause, JSON
2,022
dwatch-json
FrauBSD
Shell
Code
33
169
#!/bin/sh # # $FrauBSD: dwatch-json/grafio/rc.d/grafio_stats 2022-08-22 15:36:11 -0700 freebsdfrau $ # # PROVIDE: grafio_stats # KEYWORD: nojail shutdown . /etc/rc.subr name=grafio_stats _name=${name%_*} # Program suite rcvar=${name}_enable command=/usr/local/sbin/$name pidfile=/var/run/$_name/stats.pid procname=tel...
3,953
https://github.com/schibsted/account-sdk-android/blob/master/core/src/test/java/com/schibsted/account/test/MockedCall.kt
Github Open Source
Open Source
MIT
2,021
account-sdk-android
schibsted
Kotlin
Code
168
326
/* * Copyright (c) 2018 Schibsted Products & Technology AS. Licensed under the terms of the MIT license. See LICENSE in the project root. */ package com.schibsted.account.test import okhttp3.Request import retrofit2.Call import retrofit2.Callback import retrofit2.Response open class MockedCall<T>(private val respo...
3,395
https://github.com/Big-Silver/Node-NgSlack-API/blob/master/models/user.js
Github Open Source
Open Source
MIT
2,018
Node-NgSlack-API
Big-Silver
JavaScript
Code
184
550
import mongoose from 'mongoose'; import bcrypt from 'bcrypt'; import config from '../core/config/config.dev'; const UserSchema = mongoose.Schema({ username: { type: String, required: true, unique: true, }, email: { type: String, required: true, unique: true, }, password: { type: S...
5,004
https://github.com/Somewater/rabbit/blob/master/PBE/src/com/pblabs/rendering2D/ICachingLayer.as
Github Open Source
Open Source
MIT
2,013
rabbit
Somewater
null
Spoken
88
195
package com.pblabs.rendering2D { import flash.geom.Rectangle; /** * Interface for a scene layer which does caching and needs to know when a * renderer has changed its state. */ public interface ICachingLayer { /** * A renderer has changed its state/appearance/positio...
42,501
https://github.com/morsedigital/rawnet-admin/blob/master/app/controllers/rawnet_admin/application_controller.rb
Github Open Source
Open Source
MIT
2,016
rawnet-admin
morsedigital
Ruby
Code
31
180
module RawnetAdmin class ApplicationController < RawnetAdmin.config.parent_controller.constantize before_filter :authorize_rawnet_admin_user protected def site_name RawnetAdmin.config.site_name end helper_method :site_name def rawnet_admin_user send(RawnetAdmin.config.user_metho...
32,623
https://github.com/rudgusjo/jkh_project/blob/master/double_O_fleamarket/project/public/js/lab/mylab.js
Github Open Source
Open Source
MIT
2,017
jkh_project
rudgusjo
JavaScript
Code
569
2,658
$(document).ready(function(){ $(window).scroll(function(){ if($(document).scrollTop() > 80){ $('.mylab_navbar').css('position', 'fixed'); $('.mylab_navbar').css('top', '0'); } else { $('.mylab_navbar').css('position', 'relative'); $('.mylab_navbar').css('top', '0'); } }); // 20...
20,851
https://github.com/Rohit484/Distribution/blob/master/i/ionic/src/main/scala/typings/ionic/definitionsMod/IPCMessage.scala
Github Open Source
Open Source
MIT
2,020
Distribution
Rohit484
Scala
Code
72
337
package typings.ionic.definitionsMod import typings.ionic.anon.Args import typings.ionic.ionicStrings.`update-check` import typings.ionic.ionicStrings.telemetry import scala.scalajs.js import scala.scalajs.js.`|` import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess} /* Rewrit...
17,153
https://github.com/lightmatter-ai/onnx2pytorch/blob/master/tests/onnx2pytorch/operations/test_scatterelements.py
Github Open Source
Open Source
Apache-2.0
2,021
onnx2pytorch
lightmatter-ai
Python
Code
136
579
import torch import pytest from onnx2pytorch.operations.scatterelements import ScatterElements def test_scatter_elements_with_axis(): op = ScatterElements(dim=1) data = torch.tensor([[1.0, 2.0, 3.0, 4.0, 5.0]], dtype=torch.float32) indices = torch.tensor([[1, 3]], dtype=torch.int64) updates = torch.t...
54,003
https://github.com/pmpon/bc-csharp/blob/master/crypto/src/pqc/crypto/crystals/kyber/KyberKeyParameters.cs
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, Apache-2.0, MIT
2,022
bc-csharp
pmpon
C#
Code
34
128
using Org.BouncyCastle.Crypto; namespace Org.BouncyCastle.Pqc.Crypto.Crystals.Kyber { public class KyberKeyParameters : AsymmetricKeyParameter { private KyberParameters parameters; public KyberKeyParameters( bool isPrivate, KyberParameters parameters) ...
36,847
https://github.com/zrhperson/React_Project/blob/master/src/ScatterPlot/main.less
Github Open Source
Open Source
BSD-3-Clause
null
React_Project
zrhperson
Less
Code
122
329
/** * Copyright 2017-present, BOCOMUI, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. */ .bocomui-scatte...
14,486
https://github.com/msc-acse/acse-9-independent-research-project-Wade003/blob/master/software/multifluids_icferst/tests/fldecomp_1d/Makefile
Github Open Source
Open Source
MIT
2,020
acse-9-independent-research-project-Wade003
msc-acse
Makefile
Code
29
108
default: input input: src/line.tar.bz2 tar -xvjf src/line.tar.bz2 clean: clean-mesh clean-run clean-mesh: rm -f line.bound line.ele line.node clean-run: rm -f line_?*.bound line_?*.ele line_?*.halo line_?*.node rm -f *.log *.err *.log-* *.err-*
27,880
https://github.com/jstuyts/Elko/blob/master/ObjectDatabase/PropertiesBasedObjectDatabase/build.gradle.kts
Github Open Source
Open Source
MIT
2,021
Elko
jstuyts
Kotlin
Code
45
306
import org.elkoserver.develop.gradle.apiclasses.ApiClassesTask import org.jetbrains.kotlin.gradle.tasks.KotlinCompile plugins { kotlin("jvm") } dependencies { api(project(":Properties")) api(project(":JsonMessageHandling")) api(project(":Net:ConnectionRetrier")) api(project(":Running")) api(pr...
17,177
https://github.com/mikel-js/car-value/blob/master/src/interceptors/serialize.interceptor.ts
Github Open Source
Open Source
MIT
2,021
car-value
mikel-js
TypeScript
Code
142
307
// this is trigger for every request that is being sent and will check who is logged in based on the cookies import { NestInterceptor, ExecutionContext, CallHandler, UseInterceptors, } from '@nestjs/common'; import { map } from 'rxjs/operators'; import { Observable } from 'rxjs'; import { plainToClass } from '...
16,597
https://github.com/Pix-00/TransBox/blob/master/app/screens/HoUnits/utils.ts
Github Open Source
Open Source
Apache-2.0
2,021
TransBox
Pix-00
TypeScript
Code
36
89
export function clean(text: string) { const num = text.length ? parseFloat(text) : 0; if (isNaN(num)) { return text; } if (text.endsWith('.') || text.endsWith('0')) { return text; } return num === 0 ? '0' : num.toString(); }
2,143
https://github.com/AgneshKumar/oneview-redfish-toolkit/blob/master/oneview_redfish_toolkit/api/drive.py
Github Open Source
Open Source
Apache-2.0
2,022
oneview-redfish-toolkit
AgneshKumar
Python
Code
307
1,158
# -*- coding: utf-8 -*- # Copyright (2018) Hewlett Packard Enterprise Development LP # # 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...
18,001
https://github.com/razmatei/golang-graphql-example/blob/master/backend/pkg/golang-graphql-example/signalhandler/service.go
Github Open Source
Open Source
Apache-2.0
2,021
golang-graphql-example
razmatei
Go
Code
301
862
package signalhandler import ( "os" "os/signal" "syscall" "time" "github.com/oxyno-zeta/golang-graphql-example/pkg/golang-graphql-example/log" ) const ( TimeBetweenChecks = 200 * time.Millisecond ) type service struct { logger log.Logger serverMode bool signalListToNotify ...
14,913
https://github.com/alobanov/Thinker-evaluater/blob/master/Sources/experiment/Experiment.playground/Contents.swift
Github Open Source
Open Source
MIT
2,020
Thinker-evaluater
alobanov
Swift
Code
13
85
import Foundation import thinker Parser .key("IPHONE_SIMULATOR_ROOT", .prefix(through: ".app")) .run(ProcessInfo.processInfo.environment) Parser.prefix(through: ".app").run( ProcessInfo.processInfo.environment["IPHONE_SIMULATOR_ROOT"]![...] )
11,655
https://github.com/jwhang/TicketToRide/blob/master/src/jsMain/kotlin/ticketToRide/screens/ShowGameIdScreen.kt
Github Open Source
Open Source
MIT
2,021
TicketToRide
jwhang
Kotlin
Code
204
642
package ticketToRide.screens import com.ccfraser.muirwik.components.* import com.ccfraser.muirwik.components.button.* import com.ccfraser.muirwik.components.dialog.* import kotlinx.browser.window import react.* import react.dom.a import react.dom.p import styled.* import ticketToRide.* interface ShowGameIdScreenProps...
21,238
https://github.com/satellite-game/Satellite/blob/master/server.js
Github Open Source
Open Source
BSD-2-Clause
2,021
Satellite
satellite-game
JavaScript
Code
26
44
// This is a shim for Windows Azure. By default Azure will only run Node.js applications that are in the root directory. var shim = require('./server/app.js');
33,120
https://github.com/rafaelfigueredog/EmbeddedDesignPatterns/blob/master/Builder/src/RadioBuilder1.hpp
Github Open Source
Open Source
MIT
2,023
EmbeddedDesignPatterns
rafaelfigueredog
C++
Code
38
131
#ifndef RADIO_BUILDER1_HPP_ #define RADIO_BUILDER1_HPP_ #include "Builder.hpp" #include "Radio.hpp" class RadioBuilder1 : public Builder { private: Radio *radio; public: RadioBuilder1(); ~RadioBuilder1(); void Reset(); void ProduceRadio() const override; void ProduceSPI() const override; void ProduceGP...
42,699
https://github.com/uw-ictd/colte-maps/blob/master/maps/db/migrate/20121202155309_remove_author_name_from_note_comment.rb
Github Open Source
Open Source
MIT
2,020
colte-maps
uw-ictd
Ruby
Code
18
68
class RemoveAuthorNameFromNoteComment < ActiveRecord::Migration[5.0] def up remove_column :note_comments, :author_name end def down add_column :note_comments, :author_name, :string end end
22,456
https://github.com/jwnations/fuentes/blob/master/fonts/simonetta/METADATA.pb
Github Open Source
Open Source
MIT
2,020
fuentes
jwnations
null
Spoken
129
523
name: "Simonetta" designer: "Brownfox" license: "OFL" category: "DISPLAY" date_added: "2012-04-04" fonts { name: "Simonetta" style: "normal" weight: 400 filename: "Simonetta-Regular.ttf" post_script_name: "Simonetta-Regular" full_name: "Simonetta Regular" copyright: "Copyright (c) 2011-2012, Brownfox (www...
55,071
https://github.com/freebsd/freebsd-ports/blob/master/misc/clifm/Makefile
Github Open Source
Open Source
BSD-2-Clause
2,023
freebsd-ports
freebsd
Makefile
Code
59
341
PORTNAME= clifm PORTVERSION= 1.13 DISTVERSIONPREFIX= v CATEGORIES= misc MAINTAINER= danfe@FreeBSD.org COMMENT= Non-curses, KISS file manager for the terminal WWW= https://github.com/leo-arch/clifm/wiki LICENSE= GPLv2+ RUN_DEPENDS= gfind:misc/findutils guniq:sysutils/coreutils USES= desktop-file-utils gettext-runt...
9,210
https://github.com/obs145628/dcgan-cuda/blob/master/src/ops/mat-mat-mul.hh
Github Open Source
Open Source
MIT
2,021
dcgan-cuda
obs145628
C++
Code
49
126
#pragma once #include "op.hh" namespace ops { /** * Perform a matrix-matrix multiplication * Handle cases of transpose */ class MatMatMul : public Op { public: MatMatMul(Op* left, Op* right, bool left_tr = false, bool right_tr = false); virtual void c...
14,960