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/denormans/fed-ach-list/blob/master/services/achCache.js
Github Open Source
Open Source
Apache-2.0
null
fed-ach-list
denormans
JavaScript
Code
185
488
'use strict'; var moment = require('moment'); var achLoader = require('./achLoader.js'); var logger = require('../utils/logger.js').normal; const CACHE_REFRESH_INTERVAL = 60*60*1000; var achInfo = null; var cacheLoadDate = null; /** * Determines whether or not the cache is currently loaded. * * @returns {boolea...
7,950
https://github.com/kaiwu/weui-scalajs/blob/master/example/grid/grid.scala
Github Open Source
Open Source
MIT
2,018
weui-scalajs
kaiwu
Scala
Code
26
92
import scala.scalajs.js import js.Dynamic.literal object Grid extends js.Object { val data = literal(grids=js.Array[Int](0,1,2,3,4,5,6,7,8)) } object Main { def main(args: Array[String]): Unit = { Page(Grid) } }
10,703
https://github.com/juanfcosanz/Java/blob/master/ManejoExcepcionesEjemplo2/src/operaciones/domain/Division.java
Github Open Source
Open Source
Apache-2.0
null
Java
juanfcosanz
Java
Code
118
286
package operaciones.domain; public class Division { // atributos de la clae private int numerador; private int denominador; public Division(int numerador, int denominador) { super(); if (denominador == 0) { // esta excepcion extiende de la clas RuntimeException // ṕor ello no es nec. procesarla y defi...
44,408
https://github.com/TryGhost/Koenig/blob/master/packages/koenig-lexical/test/e2e/modals/UnsplashSelector.test.js
Github Open Source
Open Source
MIT
2,023
Koenig
TryGhost
JavaScript
Code
397
2,543
// TODO: Switch to mocked API. Currently uses real Unsplash API so the asserted test data isn't stable import {expect, test} from '@playwright/test'; import {focusEditor, initialize} from '../../utils/e2e'; test.describe('Modals', async () => { let page; test.beforeAll(async ({browser}) => { page = aw...
54,026
https://github.com/MarekSuchanek/engine-backend/blob/master/engine-wizard/src/Wizard/Model/User/UserEM.hs
Github Open Source
Open Source
Apache-2.0
2,021
engine-backend
MarekSuchanek
Haskell
Code
47
150
module Wizard.Model.User.UserEM where import qualified Data.Map.Strict as M import Shared.Util.Crypto (encryptAES256WithB64) import Wizard.Model.Common.SensitiveData import Wizard.Model.User.User instance SensitiveData User where process key entity = entity {_userSubmissionProps = fmap (process key) (_userSubmissio...
10,591
https://github.com/Interrupt/delverengine/blob/master/Dungeoneer/src/com/interrupt/dungeoneer/entities/MonsterSpawner.java
Github Open Source
Open Source
Zlib, LicenseRef-scancode-free-unknown, LicenseRef-scancode-unknown-license-reference
2,023
delverengine
Interrupt
Java
Code
523
1,796
package com.interrupt.dungeoneer.entities; import com.badlogic.gdx.graphics.Color; import com.badlogic.gdx.math.Vector3; import com.interrupt.dungeoneer.Audio; import com.interrupt.dungeoneer.annotations.EditorProperty; import com.interrupt.dungeoneer.game.Game; import com.interrupt.dungeoneer.game.Level; import com.i...
40,691
https://github.com/oslabs-beta/loQL/blob/master/index.js
Github Open Source
Open Source
MIT
2,021
loQL
oslabs-beta
JavaScript
Code
370
776
import { setMany } from './helpers/initializeIndexDb'; import { sw_log, sw_error_log } from './helpers/loggers'; import { avgDiff, cachedAvg, uncachedAvg, summary } from './helpers/metrics'; /* gqlEndpoints: An array of endpoint URLs, as strings, to explicitly allow added endpoints to be queried from the client API. ...
13,913
https://github.com/trespasserw/MPS/blob/master/core/generator/source/jetbrains/mps/generator/impl/cache/CacheGenLayout.java
Github Open Source
Open Source
Apache-2.0
null
MPS
trespasserw
Java
Code
235
652
/* * Copyright 2003-2016 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
24,238
https://github.com/Sejsel/fsharp-support/blob/master/rider-fsharp/build.gradle.kts
Github Open Source
Open Source
Apache-2.0
null
fsharp-support
Sejsel
Kotlin
Code
744
3,560
import com.jetbrains.rd.generator.gradle.RdgenParams import org.gradle.api.tasks.testing.logging.TestExceptionFormat import org.jetbrains.grammarkit.tasks.GenerateLexer import org.jetbrains.intellij.IntelliJPlugin import org.jetbrains.intellij.tasks.PrepareSandboxTask import org.jetbrains.intellij.tasks.RunIdeTask impo...
633
https://github.com/hipawy/hipawy-backend/blob/master/models/userpet.js
Github Open Source
Open Source
MIT
null
hipawy-backend
hipawy
JavaScript
Code
40
157
"use strict"; module.exports = (sequelize, DataTypes) => { const userPet = sequelize.define("userPet", {}, {}); userPet.associate = function(models) { models.userPet.belongsTo(models.user, { onDelete: "CASCADE", foreignKey: "id_user", targetKey: "id" }); models.userPet.belongsTo(models...
32,492
https://github.com/MatKapp/Products-catalog/blob/master/TheExampleApp.Tests/ViewComponents/MetaTagsViewComponentTests.cs
Github Open Source
Open Source
MIT
null
Products-catalog
MatKapp
C#
Code
108
462
using Microsoft.AspNetCore.Mvc.Localization; using Microsoft.AspNetCore.Mvc.ViewComponents; using Moq; using System; using System.Collections.Generic; using System.Text; using TheExampleApp.ViewComponents; using Xunit; namespace TheExampleApp.Tests.ViewComponents { public class MetaTagsViewComponentTests { ...
20,176
https://github.com/manduSry/platform2/blob/master/camera/hal/intel/ipu6/modules/algowrapper/IntelAiq.cpp
Github Open Source
Open Source
BSD-3-Clause
2,020
platform2
manduSry
C++
Code
483
1,913
/* * Copyright (C) 2019-2020 Intel Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable l...
15,957
https://github.com/arimah/condict/blob/master/packages/app/src/renderer/dialogs/settings/update-status/progress-ring.tsx
Github Open Source
Open Source
MIT
2,023
condict
arimah
TSX
Code
88
264
import * as S from './styles'; export type Props = { progress: number; }; const StrokeWidth = 3; const ProgressRing = (props: Props): JSX.Element => { const {progress} = props; // SVG strokes end up on the outside of the shape. const innerDiameter = S.SpinnerSize - StrokeWidth; const circumference = inner...
35,640
https://github.com/ayser259/tasktrader/blob/master/V.0.1/tasktrader02/tasktrader/urls.py
Github Open Source
Open Source
MIT
null
tasktrader
ayser259
Python
Code
59
267
from django.conf.urls import url from . import views urlpatterns = [ # urls to access pages url(r'^$', views.index, name='index'), url(r'applied', views.applied, name='applied'), url(r'create', views.create, name='create'), url(r'dashboard', views.dashboard, name='dashboard'), url(r'explore', view...
19,598
https://github.com/p4535992/openapi-generator-plus-generators/blob/master/packages/java-jaxrs-common/templates/interface.hbs
Github Open Source
Open Source
Apache-2.0
2,021
openapi-generator-plus-generators
p4535992
null
Spoken
13
72
{{>generatedAnnotation}} {{>frag/pojoHeader}} public interface {{className name}} {{>interfaceExtends}}{{#if parent.isInterface}}, {{{parentNativeType.concreteType}}}{{/if}} { {{>nestedModels}} {{>interfaceContents}} }
21,155
https://github.com/drollicdotcom/devart-template/blob/master/project_code/com/drollic/graphics/painting/nativeprocessing/NativeMomentComputation.h
Github Open Source
Open Source
Apache-2.0, LicenseRef-scancode-warranty-disclaimer
2,014
devart-template
drollicdotcom
C++
Code
251
909
#pragma once //#include "RawImage.h" #include "FastRawImage.h" #include "NativeStroke.h" #include <vector> #include <map> #include <set> namespace com { namespace raymatthieu { namespace graphics { namespace painting { namespace native { namespace processing { enum StrokeGene...
22,010
https://github.com/JieGou/mh-master/blob/master/Hao.Geometry/RectangleExtensionMethods.cs
Github Open Source
Open Source
Apache-2.0
2,020
mh-master
JieGou
C#
Code
62
208
using System; namespace Hao.Geometry { // Token: 0x0200007E RID: 126 public static class RectangleExtensionMethods { // Token: 0x0600048D RID: 1165 RVA: 0x00016CC0 File Offset: 0x00014EC0 public static AxisAlignedBox3 ComputeAxisAlignedBoundingBox(this Rectangle3 rectangle) { Vector3 vector = rectangle.Ce...
50,725
https://github.com/alpha-team-0/feature-toggle-service/blob/master/ft-jira-integration/src/main/java/org/ft/jira/integration/client/FeatureToggleJiraIntegration.java
Github Open Source
Open Source
ECL-2.0, Apache-2.0
null
feature-toggle-service
alpha-team-0
Java
Code
192
651
/* * Copyright 2019-2030 codecuriosity * * 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...
1,223
https://github.com/AnjaliiYadav/MyNotes-Basic-Room/blob/master/app/src/main/java/com/yadav_anjalii/my_notes/db/NoteDatabase.java
Github Open Source
Open Source
MIT
null
MyNotes-Basic-Room
AnjaliiYadav
Java
Code
85
315
package com.yadav_anjalii.my_notes.db; import android.content.Context; import androidx.annotation.NonNull; import androidx.room.Database; import androidx.room.Room; import androidx.room.RoomDatabase; import androidx.sqlite.db.SupportSQLiteDatabase; import com.yadav_anjalii.my_notes.dao.NoteDao; import com.yadav_anja...
48,354
https://github.com/nunit/nunit3-vs-adapter.issues/blob/master/done/Issue622/nUnitExpressionTest/nUnitExpressionTest/Model/Account.cs
Github Open Source
Open Source
MIT
2,023
nunit3-vs-adapter.issues
nunit
C#
Code
182
425
 using System; using System.Collections.Generic; namespace nUnitExpressionTest.Model { public class Account : IEquatable<Account> { public string ID { get; set; } /// <summary> /// Parses the <see cref="Value"/> as a <see cref="Guid"/>. If the ID is not a valid Guid, then null is retu...
41,447
https://github.com/sadupally/Dev/blob/master/unisa-tools/unisa-discussionforums_CR/src/java/za/ac/unisa/lms/tools/discussionforums/dao/ForumRowMapper.java
Github Open Source
Open Source
ECL-2.0
null
Dev
sadupally
Java
Code
179
922
package za.ac.unisa.lms.tools.discussionforums.dao; import java.sql.ResultSet; import java.sql.SQLException; import org.sakaiproject.component.cover.ComponentManager; import org.sakaiproject.user.api.User; import org.sakaiproject.user.api.UserDirectoryService; import org.springframework.jdbc.core.RowMapper; import z...
53,755
https://github.com/srsvybes1/ruby-music-library-cli-onl01-seng-pt-032320/blob/master/lib/song.rb
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, LicenseRef-scancode-public-domain
2,020
ruby-music-library-cli-onl01-seng-pt-032320
srsvybes1
Ruby
Code
225
603
class Song #accepts a name upon initialization and set that property #name property should be readable and writable by object attr_accessor :name attr_reader :artist, :genre @@all = [] # can be invoked with an optional second argument artist # assign the artist property if artist is provided (song belongs ...
53,233
https://github.com/sayedihashimi/dotnet-new-web/blob/master/src/mobile/DotnetNewMobile/ViewModels/TemplatePackViewModel.cs
Github Open Source
Open Source
Apache-2.0
2,022
dotnet-new-web
sayedihashimi
C#
Code
406
1,362
using System; using System.Collections; using System.Windows.Input; using System.Linq; using Plugin.Share; using Plugin.Share.Abstractions; using TemplatesShared; using Xamarin.Forms; using System.Collections.Generic; using DotnetNewMobile.Views; namespace DotnetNewMobile.ViewModels { public class TemplatePackVie...
30,264
https://github.com/Altazi-Hussein/metaplex/blob/master/js/packages/graphql/src/adapters/mongo/index.ts
Github Open Source
Open Source
Apache-2.0, LicenseRef-scancode-unknown
2,021
metaplex
Altazi-Hussein
TypeScript
Code
12
28
export * from "./MongoWriter"; export * from "./MongoReader"; export * from "./MongoAdapter";
25,450
https://github.com/Renkert/CodeIgniter-Fresh/blob/master/app/core/APP_Controller.php
Github Open Source
Open Source
MIT
null
CodeIgniter-Fresh
Renkert
PHP
Code
82
219
<?php defined('BASEPATH') OR exit('No direct script access allowed'); /** * Base Controller which has to be extended by all Controllers * * @package app\core\APP_Controller.php * @category Core Controller * @author EstateDesign DevTeam | Rüdiger Renkert - renkert.net * @link https://renkert.net * @copyright 20...
55,435
https://github.com/bigandbuy/gravity/blob/master/web/src/cluster/components/Users/UserResetDialog/UserResetDialog.jsx
Github Open Source
Open Source
Apache-2.0
2,022
gravity
bigandbuy
null
Spoken
338
991
/* Copyright 2019 Gravitational, 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 to in writing, soft...
28,403
https://github.com/gotto/mlayers/blob/master/scripts/script.js
Github Open Source
Open Source
MIT
2,016
mlayers
gotto
JavaScript
Code
14
68
$(function() { $(".menu-button").click(function() { $(".menu").slideToggle(); }); $(".menu li").click(function() { location.href = $(this).children("a").attr("href"); }); });
38,732
https://github.com/madonius/python_mvg_api/blob/master/mvg_api/__init__.py
Github Open Source
Open Source
MIT
null
python_mvg_api
madonius
Python
Code
886
2,804
# coding=utf-8 import requests import json import datetime from time import mktime api_key = "5af1beca494712ed38d313714d4caff6" query_url_name = "https://www.mvg.de/api/fahrinfo/location/queryWeb?q={name}" #for station names query_url_id = "https://www.mvg.de/api/fahrinfo/location/query?q={id}" #for station ids depar...
22,286
https://github.com/apaxa-go/helper/blob/master/strconvh/parseint_test.go
Github Open Source
Open Source
Apache-2.0
2,021
helper
apaxa-go
Go
Code
148
510
package strconvh import ( "github.com/apaxa-go/helper/mathh" "testing" ) //replacer:ignore //go:generate go run $GOPATH/src/github.com/apaxa-go/generator/replacer/main.go -- $GOFILE //replacer:replace //replacer:old int64 Int64 //replacer:new int Int //replacer:new int8 Int8 //replacer:new int16 Int16 //replacer:ne...
43,345
https://github.com/jlh20l7/treeleaf/blob/master/treeleaf-common/src/main/java/org/treeleaf/common/validate/MobileNumValidator.java
Github Open Source
Open Source
Apache-2.0
2,015
treeleaf
jlh20l7
Java
Code
56
326
package org.treeleaf.common.validate; import org.apache.commons.lang3.StringUtils; import org.apache.commons.lang3.math.NumberUtils; import java.util.regex.Matcher; import java.util.regex.Pattern; /** * 验证输入的字符串是否是手机号码格式 * @author yaoshuhong * @date 2014-11-14 上午12:02:32 */ public class MobileNumValidator implem...
24,317
https://github.com/RMBLWorx/timey/blob/master/src/test/java/rmblworx/tools/timey/gui/OptionsControllerTest.java
Github Open Source
Open Source
MIT
2,017
timey
RMBLWorx
Java
Code
63
223
package rmblworx.tools.timey.gui; import org.junit.Test; import org.junit.experimental.categories.Category; import org.loadui.testfx.categories.TestFX; /* * Copyright 2014-2015 Christian Raue * MIT License http://opensource.org/licenses/mit-license.php */ /** * GUI-Tests für die Optionen. * @author Christian Rau...
52,178
https://github.com/OrleansContrib/Orleans.Persistence.Cassandra/blob/master/src/Orleans.Persistence.Cassandra/Concurrency/NullConcurrentGrainStateTypesProvider.cs
Github Open Source
Open Source
MIT
2,019
Orleans.Persistence.Cassandra
OrleansContrib
C#
Code
21
82
using System; using System.Collections.Generic; namespace Orleans.Persistence.Cassandra.Concurrency { public sealed class NullConcurrentGrainStateTypesProvider : IConcurrentGrainStateTypesProvider { public IReadOnlyCollection<Type> GetGrainStateTypes() => Array.Empty<Type>(); } }
50,921
https://github.com/hong195/filemanager/blob/master/app/Http/Controllers/PostController.php
Github Open Source
Open Source
MIT
null
filemanager
hong195
PHP
Code
154
651
<?php namespace App\Http\Controllers; use App\Forms\PostForm; use App\Http\Requests\PostRequest; use App\Http\Resources\MediaResource; use App\Http\Resources\PostResource; use App\Models\Post; use App\Queries\PostsQueryInterface; use Illuminate\Http\JsonResponse; use Illuminate\Http\Request; class PostController ext...
47,095
https://github.com/Selmy77/prueba-tecnica/blob/master/src/main/resources/application.properties
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, Apache-2.0
2,017
prueba-tecnica
Selmy77
null
Spoken
9
60
server.port=8000 server.contextPath=/api logging.level.com.gigy=DEBUG # Data source properties spring.jpa.hibernate.ddl-auto=validate spring.jpa.show-sql=true
16,534
https://github.com/vip32/Naos.Core/blob/master/tests/UnitTests/FileStorage/InMemoryFileStorageTests.cs
Github Open Source
Open Source
MIT
2,019
Naos.Core
vip32
C#
Code
169
697
namespace Naos.UnitTests.FileStorage { using System.Threading.Tasks; using Microsoft.Extensions.Logging; using Naos.FileStorage; using Naos.FileStorage.Domain; using NSubstitute; using Xunit; public class InMemoryFileStorageTests : FileStorageBaseTests { [Fact] public o...
50,395
https://github.com/kskpremier/selfin.tk/blob/master/reception/repositories/MyRent/LaundriesRepository.php
Github Open Source
Open Source
BSD-3-Clause
null
selfin.tk
kskpremier
PHP
Code
64
225
<?php namespace reception\repositories\MyRent; use reception\entities\MyRent\Laundries; use reception\repositories\NotFoundException; class LaundriesRepository { public function get($id): Laundries { if (! $laundries = Laundries::findOne($id)) { throw new NotFoundException('Laundries is ...
6,843
https://github.com/DanyBin/code_diary/blob/master/base/src/main/java/io/file/MakeDirectories.java
Github Open Source
Open Source
Apache-2.0
null
code_diary
DanyBin
Java
Code
124
432
package io.file; import java.io.File; /** * @ClassName MakeDirectories * @Author bin * @Date 2020/7/24 下午12:02 * @Decr TODO * @Link TODO **/ public class MakeDirectories { private static void fileData(File file){ System.out.println( "Absolute path: "+ file.getAbsolutePath() + ...
26,928
https://github.com/TheEconomyst/Service-reservation-system/blob/master/frontend/src/components/SuccessAlert.jsx
Github Open Source
Open Source
MIT
null
Service-reservation-system
TheEconomyst
null
Spoken
42
124
import React from "react"; import { AlertTitle } from "@mui/material"; import { Alert } from "@mui/material"; export const SuccessAlert = () => { return ( <div> <Alert variant="filled" severity="success" style={{ textAlign: "left", marginBlock: "2...
51,179
https://github.com/Ry-Hebert/RedwoodBlogSite/blob/master/node_modules/@redwoodjs/cli/dist/commands/generate/helpers.js
Github Open Source
Open Source
MIT
null
RedwoodBlogSite
Ry-Hebert
JavaScript
Code
513
1,700
"use strict"; var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault"); var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property"); _Object$defineProperty(exports, "__esModule", { value: true }); exports.intForeignKeysForModel = exports.relati...
8,701
https://github.com/matyioe92/SlinkyTyped/blob/master/a/aws-sdk/src/main/scala/typingsSlinky/awsSdk/iotanalyticsMod/DatasetTrigger.scala
Github Open Source
Open Source
MIT
2,021
SlinkyTyped
matyioe92
Scala
Code
121
408
package typingsSlinky.awsSdk.iotanalyticsMod import org.scalablytyped.runtime.StObject import scala.scalajs.js import scala.scalajs.js.`|` import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess} @js.native trait DatasetTrigger extends StObject { /** * The data set whos...
22,836
https://github.com/gprossliner/go-graylog/blob/master/graylog/terraform/resource_dashboard.go
Github Open Source
Open Source
MIT
2,022
go-graylog
gprossliner
Go
Code
367
1,222
package terraform import ( "context" "github.com/hashicorp/terraform/helper/schema" "github.com/suzuki-shunsuke/go-graylog/v11/graylog/graylog" ) func resourceDashboard() *schema.Resource { return &schema.Resource{ Create: resourceDashboardCreate, Read: resourceDashboardRead, Update: resourceDashboardUp...
25,859
https://github.com/azonys/imodeljs/blob/master/full-stack-tests/backend/src/integration/ChangeSummary.test.ts
Github Open Source
Open Source
MIT
2,021
imodeljs
azonys
TypeScript
Code
2,319
9,182
/*--------------------------------------------------------------------------------------------- * Copyright (c) Bentley Systems, Incorporated. All rights reserved. * See LICENSE.md in the project root for license terms and full copyright notice. *-------------------------------------------------------------------------...
21,240
https://github.com/kiansheik/ArduEmu/blob/master/trunk/src/emulator/command/CommandEnum.java
Github Open Source
Open Source
MIT
2,016
ArduEmu
kiansheik
Java
Code
1,145
3,952
package emulator.command; import emulator.EmuMath; import emulator.memory.MemData; import emulator.memory.MemEEProm; import emulator.memory.MemProg; import emulator.processor.StatusRegister; public enum CommandEnum { EICALL(0x9519, new ComEICALL()), EIJMP(0x9419, new ComEIJMP()), ELPM(0x95D8, new ComELPM()),...
24,464
https://github.com/jmozah/intOS-dfs/blob/master/pkg/feed/query.go
Github Open Source
Open Source
Apache-2.0
2,020
intOS-dfs
jmozah
Go
Code
245
437
// Copyright 2018 The go-ethereum Authors // This file is part of the go-ethereum library. // // The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License...
30,769
https://github.com/Swiftgram/TDLibKit/blob/master/Sources/TDLibKit/Generated/Models/EmojiStatuses.swift
Github Open Source
Open Source
MIT
2,023
TDLibKit
Swiftgram
Swift
Code
66
187
// // EmojiStatuses.swift // tl2swift // // Generated automatically. Any changes will be lost! // Based on TDLib 1.8.16-470c36ce // https://github.com/tdlib/td/tree/470c36ce // import Foundation /// Contains a list of custom emoji identifiers, which can be set as emoji statuses public struct EmojiStatuses: Coda...
6,885
https://github.com/ryancatalani/berkeley_beacon_cms/blob/master/db/migrate/20120126070554_add_title_to_series.rb
Github Open Source
Open Source
MIT
null
berkeley_beacon_cms
ryancatalani
Ruby
Code
12
35
class AddTitleToSeries < ActiveRecord::Migration def change add_column :series, :title, :string end end
41,227
https://github.com/ANNIEB45/HangryMonster/blob/master/test/system/menus_test.rb
Github Open Source
Open Source
MIT
null
HangryMonster
ANNIEB45
Ruby
Code
128
410
require "application_system_test_case" class MenusTest < ApplicationSystemTestCase setup do @menu = menus(:one) end test "visiting the index" do visit menus_url assert_selector "h1", text: "Menus" end test "creating a Menu" do visit menus_url click_on "New Menu" fill_in "Descriptio...
6,453
https://github.com/aesmaeili/vectorview/blob/master/Makefile
Github Open Source
Open Source
MIT
2,018
vectorview
aesmaeili
Makefile
Code
82
341
ifeq ($(origin JAVA_HOME), undefined) JAVA_HOME=/usr endif ifneq (,$(findstring CYGWIN,$(shell uname -s))) JAVA_HOME := `cygpath -up "$(JAVA_HOME)"` COLON=\; else COLON=: endif SRCS=$(wildcard src/*.java) vectorview.jar vectorview.jar.pack.gz: $(SRCS) manifest.txt NetLogo.jar VectorGraphics2D-0.9.3.jar mkd...
32,130
https://github.com/adinapoli-iohk/sto-rage/blob/master/src/Rage/Backend/TCache.hs
Github Open Source
Open Source
BSD-3-Clause
null
sto-rage
adinapoli-iohk
Haskell
Code
3
12
module Rage.Backend.TCache where
2,334
https://github.com/justinlettau/sql-source-control/blob/master/src/queries/mssql.ts
Github Open Source
Open Source
MIT
2,023
sql-source-control
justinlettau
TypeScript
Code
742
2,692
/** * Get SQL table information. */ export const tablesRead = ` SELECT o.object_id, o.type, s.name AS [schema], o.name, ISNULL(c.identity_count, 0) AS [identity_count] FROM sys.objects o JOIN sys.schemas s ON o.schema_id = s.schema_id LEFT JOIN ( SELECT i.object_id, ...
11,260
https://github.com/guancgsuccess/student-manager/blob/master/Study/src/main/java/com/tz/dao/impl/LeaveDaoImpl.java
Github Open Source
Open Source
Apache-2.0
null
student-manager
guancgsuccess
Java
Code
75
303
package com.tz.dao.impl; import com.tz.dao.ILeaveDao; import com.tz.entity.Leave; import org.hibernate.Session; import org.hibernate.SessionFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Repository; import javax.transaction.Transactional; import java.util...
12,470
https://github.com/ktisha/TheRPlugin/blob/master/test/com/jetbrains/ther/debugger/mock/TheRDebuggerEvaluatorReceiver.java
Github Open Source
Open Source
MIT
2,020
TheRPlugin
ktisha
Java
Code
86
277
package com.jetbrains.ther.debugger.mock; import com.jetbrains.ther.debugger.evaluator.TheRDebuggerEvaluator; import org.jetbrains.annotations.NotNull; import static org.junit.Assert.assertEquals; public class TheRDebuggerEvaluatorReceiver implements TheRDebuggerEvaluator.Receiver { @NotNull private final Strin...
45,050
https://github.com/lauxjpn/EntityFrameworkCore.Jet/blob/master/test/EFCore.Jet.FunctionalTests/BuiltInDataTypesJetTest.cs
Github Open Source
Open Source
Apache-2.0
null
EntityFrameworkCore.Jet
lauxjpn
C#
Code
8,100
32,755
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Text; using EntityFramework.Jet.FunctionalTests.TestUtilities; using EntityFrameworkCore.Jet.Infrastructure; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Diagno...
36,808
https://github.com/bkfrye/Locus/blob/master/src/plugins/all-in-one-seo-pack/app/Common/Sitemap/Content.php
Github Open Source
Open Source
MIT, GPL-2.0-or-later
2,022
Locus
bkfrye
PHP
Code
1,879
6,180
<?php namespace AIOSEO\Plugin\Common\Sitemap; // Exit if accessed directly. if ( ! defined( 'ABSPATH' ) ) { exit; } /** * Determines which content should be included in the sitemap. * * @since 4.0.0 */ class Content { /** * This is cached so we don't do the lookup each query. * * @since 4.0.0 * * @var...
9,435
https://github.com/mike-north/css-blocks/blob/master/packages/@css-blocks/webpack/src/LoaderOptions.ts
Github Open Source
Open Source
BSD-2-Clause
2,022
css-blocks
mike-north
TypeScript
Code
17
41
import { ObjectDictionary } from "@opticss/util"; import { WebpackAny } from "./Plugin"; export type LoaderOptions = ObjectDictionary<WebpackAny>;
39,879
https://github.com/4bitsteams/APBD-Project/blob/master/APBD-Advert-Project/src/Core/Advert_Database/Migrations/20200615114909_EmailAndLoginChangedToUniqeInClientsTable.cs
Github Open Source
Open Source
Unlicense
2,020
APBD-Project
4bitsteams
C#
Code
46
210
using Microsoft.EntityFrameworkCore.Migrations; namespace Advert.Database.Migrations { public partial class EmailAndLoginChangedToUniqeInClientsTable : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.CreateIndex( "IX_Clie...
8,210
https://github.com/jeffersonezra/azure-powershell/blob/master/src/ResourceManager/RecoveryServices.Backup/Commands.RecoveryServices.Backup.Models/AzureVmModels/AzureVmRPMountScriptDetails.cs
Github Open Source
Open Source
Apache-2.0, MIT
2,017
azure-powershell
jeffersonezra
C#
Code
216
420
// ---------------------------------------------------------------------------------- // // Copyright Microsoft 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.apa...
358
https://github.com/peng8350/react-native-Gank/blob/master/index.js
Github Open Source
Open Source
MIT
2,019
react-native-Gank
peng8350
JavaScript
Code
37
108
/* * @Author: Jpeng * @Date: 2018-03-24 22:55:21 * @Last Modified by: Jpeng * @Last Modified time: 2018-03-26 18:20:55 * @Email: peng8350@gmail.com */ import { AppRegistry } from 'react-native' import App from './jscore/App' AppRegistry.registerComponent('Gank', () => App)
55,373
https://github.com/zhouzhiqian/code/blob/master/packages/peripheralsInterface/include/int/Kicker.rpc.pb.h
Github Open Source
Open Source
Apache-2.0
2,021
code
zhouzhiqian
C++
Code
101
351
// Copyright 2019 Erik Kouters (Falcons) // SPDX-License-Identifier: Apache-2.0 // THIS FILE IS GENERATED, DO NOT EDIT! #ifndef KICKER_ #define KICKER_ #include <string> #include "Rpc.hpp" #include "Kicker.pb.h" namespace Kicker { class Client : public Rpc::Client { public: Client(const std::string host, uint16...
38,132
https://github.com/mankins/web-monetization-projects/blob/master/packages/coil-extension/six-apktool-decoded/smali/androidx/appcompat/view/menu/l$b.smali
Github Open Source
Open Source
Apache-2.0
2,022
web-monetization-projects
mankins
Smali
Code
39
140
.class public interface abstract Landroidx/appcompat/view/menu/l$b; .super Ljava/lang/Object; .source "" # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = Landroidx/appcompat/view/menu/l; .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x609 name ...
10,080
https://github.com/anantb/barista/blob/master/src/client/go/run.sh
Github Open Source
Open Source
MIT
2,020
barista
anantb
Shell
Code
26
130
#!/bin/sh abspath=$(cd "$(dirname "$BASH_SOURCE")"; pwd) basepath=$(cd "$abspath/../../.."; pwd) rm -rf $abspath/gen-go mkdir -p $abspath/gen-go/src thrift --gen go -out $abspath/gen-go/src $basepath/src/barista.thrift GOPATH=$abspath/gen-go export GOPATH go run $abspath/client.go
31,445
https://github.com/4dn-dcic/Rpairix/blob/master/man/px_get_column_names.Rd
Github Open Source
Open Source
MIT
2,019
Rpairix
4dn-dcic
R
Code
74
227
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/px_get_column_names.R \name{px_get_column_names} \alias{px_get_column_names} \title{Column name retrival function on pairix-indexed pairs file.} \usage{ px_get_column_names(filename) } \arguments{ \item{filename}{a pairs file, or a bgzipped t...
2,922
https://github.com/mikekaram/anybotics_any_node/blob/master/any_node/src/Node.cpp
Github Open Source
Open Source
BSD-3-Clause
2,021
anybotics_any_node
mikekaram
C++
Code
99
278
/*! * @file Node.cpp * @author Philipp Leemann * @date July, 2016 */ #include <csignal> #include "any_node/Node.hpp" #include "message_logger/message_logger.hpp" namespace any_node { Node::Node(NodeHandlePtr nh) : nh_(std::move(nh)), workerManager_() {} void Node::shutdown() { // raise SIGINT, which will be ...
33,850
https://github.com/hugohooverwang/projBerakningsbiologi/blob/master/Rakefile
Github Open Source
Open Source
MIT
2,019
projBerakningsbiologi
hugohooverwang
Ruby
Code
148
541
require 'fileutils' # define paths and configures ROOT = "./" CONFIG = { 'orgfilen' => File.join(ROOT, 'src/orgmode'), 'orgmode_ext' => "org" } # definitioner def ask(message, valid_options) if valid_options answer = get_stdin("#{message} #{valid_options.to_s.gsub(/"/, '').gsub(/,/, '/')}") while !valid_opt...
39,653
https://github.com/SirWaddles/Jimmy/blob/master/src/client/components/editor.jsx
Github Open Source
Open Source
MIT
null
Jimmy
SirWaddles
null
Spoken
212
858
import React from 'react'; import ReactSelect from 'react-select'; import Container from 'samsio/Container'; import siglist from '../../../data/sigs'; import NodeStore from '../stores/nodestore'; import {ModalBase} from './modals'; const SIG_GROUPS = [ 'Wormhole', 'Combat Site', 'Ore Site', 'Data Site'...
16,327
https://github.com/tmpsantos/chromium/blob/master/chrome/browser/extensions/bundle_installer.cc
Github Open Source
Open Source
BSD-3-Clause-No-Nuclear-License-2014, BSD-3-Clause
null
chromium
tmpsantos
C++
Code
824
3,403
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/extensions/bundle_installer.h" #include <algorithm> #include <string> #include <vector> #include "base/command_line.h" #inc...
3,818
https://github.com/bodhisatan/SSM/blob/master/target/Glasses/js/table.js
Github Open Source
Open Source
MIT
2,021
SSM
bodhisatan
JavaScript
Code
623
2,663
/** * Created by zxk175 on 16/12/2. */ var $table = $('#infos'); //bootstrapTable使用中文 $.extend($.fn.bootstrapTable.defaults, $.fn.bootstrapTable.locales['zh-CN']); //防止表头与表格不对齐 $(window).resize(function () { $table.bootstrapTable('resetView'); }); $(function () { //使用严格模式 "use strict"; tableInit(...
8,476
https://github.com/bibajz/cattrs/blob/master/tests/test_recursive.py
Github Open Source
Open Source
MIT
2,021
cattrs
bibajz
Python
Code
48
131
"""Test un/structuring recursive class graphs.""" from __future__ import annotations from typing import List from attr import define from cattr import GenConverter @define class A: inner: List[A] def test_simple_recursive(): c = GenConverter() orig = A([A([])]) unstructured = c.unstructure(orig)...
53,901
https://github.com/Venryx/web-vcore/blob/master/nm_Source/@All.ts
Github Open Source
Open Source
MIT
null
web-vcore
Venryx
TypeScript
Code
79
318
// all packages should be listed here, except those in the "@opt" folder (those are imports with side-effects user may want to avoid) import "./@apollo/client.js"; import "./@apollo/client_deep.js"; import "./codemirror.js"; import "./graphql-tag.js"; import "./graphql.js"; import "./immer.js"; import "./js-vextensions...
24,489
https://github.com/eea/volto/blob/master/src/actions/userSession/userSession.test.js
Github Open Source
Open Source
MIT
2,020
volto
eea
JavaScript
Code
103
324
import { login, loginRenew, logout } from './userSession'; import { LOGIN, LOGIN_RENEW, LOGOUT } from '@plone/volto/constants/ActionTypes'; describe('User session action', () => { describe('login', () => { it('should create an action to login', () => { const username = 'admin'; const password = 'admi...
55,627
https://github.com/cookiehacker29/Stockage_DVD_Android/blob/master/app/src/main/java/perso/stockagedvd/ActionBoutonDVD.java
Github Open Source
Open Source
Unlicense
2,018
Stockage_DVD_Android
cookiehacker29
Java
Code
69
279
package perso.stockagedvd; import android.content.Intent; import android.graphics.Bitmap; import android.util.Base64; import android.view.View; import android.widget.Button; import java.io.ByteArrayOutputStream; public class ActionBoutonDVD implements View.OnClickListener { private ShowDVDActivity app; Act...
27,243
https://github.com/microfleet/microfleet.io/blob/master/src/pages/index.jsx
Github Open Source
Open Source
MIT
null
microfleet.io
microfleet
null
Spoken
595
2,049
import React from 'react' import Link from 'gatsby-link' import injectSheet from 'react-jss' import { InfoBlock } from '../components/InfoBlock' import { Layout } from '../components/Layout' import { colors, fonts, dimensions, media, } from '../theme' import { MAIN } from '../config/content' import mainImage ...
4,391
https://github.com/dwp/data-key-service/blob/master/images/tests/Dockerfile
Github Open Source
Open Source
MIT, LicenseRef-scancode-proprietary-license
2,023
data-key-service
dwp
Dockerfile
Code
30
95
FROM python:3.8 RUN mkdir /tests WORKDIR /tests COPY ./features . COPY ./integration-tests-crt.pem . COPY ./integration-tests-key.pem . COPY ./dks-crt.pem . COPY ./requirements.txt . RUN pip install -r requirements.txt ENTRYPOINT ["behave", "--no-capture"]
40,853
https://github.com/astrorog/YumeEngine/blob/master/Engine/Renderers/OpenGL/YumeGLRequired.h
Github Open Source
Open Source
MIT
2,020
YumeEngine
astrorog
C
Code
232
801
//---------------------------------------------------------------------------- //Yume Engine //Copyright (C) 2015 arkenthera //This program is free software; you can redistribute it and/or modify //it under the terms of the GNU General Public License as published by //the Free Software Foundation; either version 2 of ...
43,312
https://github.com/advence-liz/vuepress/blob/master/bin/server.js
Github Open Source
Open Source
MIT
2,018
vuepress
advence-liz
JavaScript
Code
63
208
const Koa = require('koa') const path = require('path') const koaStatic = require('koa-static') const chalk = require('chalk') const app = new Koa() // 静态资源目录对于相对入口文件index.js的路径 const staticPath = path.join('docs', '.vuepress', 'dist') // console.log(process.cwd()) app.use(koaStatic(path.join(staticPath))) // app.use...
3,603
https://github.com/ajaygk95/cloudsuite/blob/master/benchmarks/media-streaming/client/files/videoperf/gen/rate.h
Github Open Source
Open Source
PHP-3.01, Apache-2.0
2,022
cloudsuite
ajaygk95
C
Code
206
430
/* httperf -- a tool for measuring web server performance Copyright (C) 2000 Hewlett-Packard Company Contributed by David Mosberger-Tang <davidm@hpl.hp.com> This file is part of httperf, a web server performance measurment tool. This program is free software; you can redistribute it and/or ...
11,629
https://github.com/Sparker0i/LockLaunch/blob/master/app/src/main/java/me/sparker0i/wallpaperpicker/WallpaperUtils.java
Github Open Source
Open Source
LicenseRef-scancode-free-unknown, LicenseRef-scancode-proprietary-license, Apache-2.0
2,017
LockLaunch
Sparker0i
Java
Code
438
1,043
/* * Copyright (C) 2015 The Android Open Source Project * * 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...
46,667
https://github.com/zllzll33/indexr-compress-lib/blob/master/src/compress/Dictionary.cpp
Github Open Source
Open Source
Apache-2.0
2,017
indexr-compress-lib
zllzll33
C++
Code
894
2,428
/* Copyright (C) 2005-2008 Infobright Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2.0 as published by the Free Software Foundation. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; wi...
38,697
https://github.com/ballercat/momo/blob/master/index.js
Github Open Source
Open Source
MIT
2,021
momo
ballercat
JavaScript
Code
3
17
module.exports = require("./dist/momo.js");
45,559
https://github.com/L-space/L-space-NS/blob/master/ns/shared/src/main/scala/lspace/ns/vocab/schema/SatiricalArticle.scala
Github Open Source
Open Source
MIT
2,019
L-space-NS
L-space
Scala
Code
84
314
package lspace.ns.vocab.schema import lspace.ns.vocab.schema._ import lspace.structure.{Property => LProperty, OntologyDef} object SatiricalArticle extends OntologyDef( iri = "http://schema.org/SatiricalArticle", iris = Set("http://schema.org/SatiricalArticle"), label = "SatiricalArticle", ...
43,548
https://github.com/joseluisordonez/fm/blob/master/app/controllers/HomeController.php
Github Open Source
Open Source
MIT
null
fm
joseluisordonez
PHP
Code
197
694
<?php class HomeController extends BaseController { /* |-------------------------------------------------------------------------- | Default Home Controller |-------------------------------------------------------------------------- | | You may wish to use controllers instead of, or in addition to, Closure | b...
42,566
https://github.com/freebsd/freebsd-ports/blob/master/x11-fonts/anonymous-pro/Makefile
Github Open Source
Open Source
BSD-2-Clause
2,023
freebsd-ports
freebsd
Makefile
Code
50
307
PORTNAME= anonymous-pro PORTVERSION= 1.002 PORTREVISION= 3 CATEGORIES= x11-fonts MASTER_SITES= http://www.marksimonson.com/assets/content/fonts/ DISTNAME= AnonymousPro-${PORTVERSION} MAINTAINER= nlopes.ml@gmail.com COMMENT= Fixed width sans designed especially for coders WWW= https://www.ms-studio.com/FontSales/anony...
51,865
https://github.com/trihx/QuanLyKho/blob/master/QuanLyKho/Scripts/DTO/NhomHangHoa.js
Github Open Source
Open Source
MIT
2,018
QuanLyKho
trihx
JavaScript
Code
204
822
 function loadTable() { //load Nhom hang hoa var table = $("#listNhom").DataTable({ "language": language, destroy: true, ajax: { url: "/api/nhomhanghoa", dataSrc: '', type: 'GET' }, columns: [ { data: "MaNho...
28,560
https://github.com/freddiewanah/UIautoTest/blob/master/droidbot-master/data/packages/duolingo/smali/d/i/b/b/g/a/vP.2.smali
Github Open Source
Open Source
MIT
2,019
UIautoTest
freddiewanah
Smali
Code
236
1,291
.class public final Ld/i/b/b/g/a/vP; .super Ld/i/b/b/g/a/iP; .source "SourceFile" # annotations .annotation system Ldalvik/annotation/Signature; value = { "Ld/i/b/b/g/a/iP<", "Ld/i/b/b/g/a/vP;", ">;" } .end annotation # instance fields .field public c:[Ld/i/b/b/g/a/uP; # direct met...
5,988
https://github.com/ITesserakt/diskordin/blob/master/diskordin-base/src/main/kotlin/org/tesserakt/diskordin/core/data/json/response/GatewayBotResponse.kt
Github Open Source
Open Source
Apache-2.0
2,021
diskordin
ITesserakt
Kotlin
Code
59
260
package org.tesserakt.diskordin.core.data.json.response import com.google.gson.annotations.SerializedName import org.tesserakt.diskordin.core.entity.`object`.IGatewayStats import org.tesserakt.diskordin.impl.core.entity.`object`.GatewayStats data class GatewayBotResponse( val url: String, val shards: Int, ...
40,009
https://github.com/Softhouse/xyz-deploy/blob/master/swarm/docker-swarm.sh
Github Open Source
Open Source
MIT
2,017
xyz-deploy
Softhouse
Shell
Code
168
787
#!/usr/bin/env bash driver="${1:-virtualbox}" path="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" machine_prefix=${path##*/} for label in {1..2} ;do export machine_name=${machine_prefix}-consul-${label} docker-machine create \ -d ${driver} \ --${driver}-memory 512 \ ${machine_name} export...
33,437
https://github.com/Malvid/Malvid/blob/master/test/reducers/error.js
Github Open Source
Open Source
MIT
2,022
Malvid
Malvid
JavaScript
Code
62
175
'use strict' const assert = require('chai').assert const uuid = require('uuid').v4 const error = require('../../src/reducers/error') describe('error()', function() { it('should return initial state', function() { const state = undefined const action = {} const nextState = error(state, action) assert.stric...
22,711
https://github.com/edawson/dsub/blob/master/test/integration/io_setup.sh
Github Open Source
Open Source
Apache-2.0
null
dsub
edawson
Shell
Code
687
3,084
# Copyright 2017 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 a...
37,493
https://github.com/okharkovskyi/scala-cloud-skeleton/blob/master/startup.sh
Github Open Source
Open Source
Apache-2.0
null
scala-cloud-skeleton
okharkovskyi
Shell
Code
17
40
#!/bin/bash mvn clean install \ && eval $(docker-machine env) \ && docker-compose build \ && docker-compose up
3,910
https://github.com/kuo3/AtGorilla/blob/master/src/AtGLib.hs
Github Open Source
Open Source
MIT
null
AtGorilla
kuo3
Haskell
Code
2,166
6,468
{-# LANGUAGE MultiWayIf #-} {-# LANGUAGE OverloadedStrings #-} module AtGLib ( Mode (..), cc, pwc, login, logout, test, testw, submit, status, archive, extract, ) where import Codec.Binary.UTF8.String import Control.Concurrent import qualified Control.Exception.Safe as E import Control.Monad imp...
16,726
https://github.com/jellyfishsolutions/lynx-users-administration/blob/master/src/libs/datatables.ts
Github Open Source
Open Source
Apache-2.0
2,021
lynx-users-administration
jellyfishsolutions
TypeScript
Code
850
2,484
import { Repository, SelectQueryBuilder } from "typeorm"; import { Request } from "express"; export class Element { _class: string; text: string; } export class TableConfiguration { _class: string = ""; ordersBy: Number[] = []; header: Element[] = []; data: Element[][] = []; addClass(_cla...
21,872
https://github.com/kellyselden/ember-cpm/blob/master/addon/macros/first-present.js
Github Open Source
Open Source
Apache-2.0, MIT
2,017
ember-cpm
kellyselden
JavaScript
Code
83
230
import { isBlank } from 'ember-utils'; import { resolveKeys } from '../utils'; /** Returns the first argument that is not blank (as in Ember.isBlank) Example ```javascript var obj = Ember.Object.extend({ nickname: '', name: 'Jean-Luc', email: 'jean@starship-enterprise.space', displayName: fir...
5,205
https://github.com/OpenESDH/OpenESDH-UI/blob/master/app/src/documents/SendDocumentsActionsController.js
Github Open Source
Open Source
MIT
2,016
OpenESDH-UI
OpenESDH
JavaScript
Code
56
245
angular .module('openeApp.documents') .controller('SendDocumentsActionsController', SendDocumentsActionsController); function SendDocumentsActionsController($injector, $q, sendDocumentsActionsService){ var vm = this; vm.execute = execute; vm.menuItems = sendDocuments...
25,209
https://github.com/praghus/chwat/blob/master/src/js/lib/animations/spider-trap.js
Github Open Source
Open Source
MIT
2,020
chwat
praghus
JavaScript
Code
24
53
export default { DEFAULT: { strip: { x: 0, y: 0, frames: 2, duration: 500 }, width: 16, height: 23, loop: true } }
31,598
https://github.com/exprmntr/catboost/blob/master/util/generic/type_name.cpp
Github Open Source
Open Source
Apache-2.0
2,021
catboost
exprmntr
C++
Code
20
91
#include "type_name.h" #include <util/system/demangle.h> TString TypeName(const std::type_info& typeInfo) { return CppDemangle(typeInfo.name()); } TString TypeName(const std::type_index& typeIndex) { return CppDemangle(typeIndex.name()); }
24,410
https://github.com/ChristosMonogios/My-HackerRank-Solutions/blob/master/Contests/30 Days of Code/Day 3 - If-Else Statements!.js
Github Open Source
Open Source
MIT
2,016
My-HackerRank-Solutions
ChristosMonogios
JavaScript
Code
91
223
function decideIfweirdOrNotWeird(number) { var answer = ""; if (number%2 !== 0) { answer = actionWhenNumberIsOdd(); } else { answer = actionWhenNumberIsEven(number); } return answer; } function actionWhenNumberIsOdd () { return "Weird"; } function actionWhenNumberIsEv...
31,232
https://github.com/edgBR/econ-dispatch/blob/master/componentdrafts/Matlab Boiler Model/BoilerPrediction.m
Github Open Source
Open Source
BSD-2-Clause-Views
2,019
econ-dispatch
edgBR
MATLAB
Code
218
682
clc clear all % ********* Deployment Module ******* % ********* Boiler Model ******** % here we assumed that regression models were built separately and % therefore regression model coefficients are available. also, forecasted values % for boiler heat output were estimated from building load predictions....
20,284
https://github.com/yodaos-project/yodaos/blob/master/openwrt/feeds/packages/mail/pigeonhole/Makefile
Github Open Source
Open Source
Apache-2.0
2,022
yodaos
yodaos-project
Makefile
Code
114
708
# # Copyright (C) 2006-2017 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. # include $(TOPDIR)/rules.mk PKG_NAME:=pigeonhole PKG_VERSION:=0.4.16 PKG_RELEASE:=1 DOVECOT_VERSION:=2.2 PKG_SOURCE:=dovecot-$(DOVECOT_VERSION)-$(PKG_NAME)-$(PKG...
52,887
https://github.com/pavel-one/mini-crm/blob/master/app/Http/Controllers/VkController.php
Github Open Source
Open Source
MIT
null
mini-crm
pavel-one
PHP
Code
407
1,497
<?php namespace App\Http\Controllers; use App\CrmClient; use App\User; use Illuminate\Http\Request; use Illuminate\Support\Facades\Log; class VkController extends Controller { protected $secret; protected $type; protected $object; protected $chat_id; public function valid() { if ($th...
49,191
https://github.com/small-Teenager/letecode/blob/master/src/main/java/spi/java/JavaSpiTest.java
Github Open Source
Open Source
Apache-2.0
2,020
letecode
small-Teenager
Java
Code
50
160
package spi.java; import java.util.Iterator; import java.util.ServiceLoader; /** * @Description TODO * @Author quancong * @Email quancong@ixiappu.com * @Date 2020/10/26 */ public class JavaSpiTest { public static void main(String[] args) { ServiceLoader<Search> serviceLoader = ServiceLoader.load(Sea...
41,498