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/Klynger/genus-client/blob/master/src/queryGenerators/discussionMutations.js
Github Open Source
Open Source
MIT
null
genus-client
Klynger
JavaScript
Code
23
69
import { loader } from 'graphql.macro'; export const mutationCreateDiscussion = input => ({ query: loader('./graphql/discussion/createDiscussion.graphql').loc.source.body, variables: { input, }, }); export default {};
23,838
https://github.com/worldSpark/springBoot-UI/blob/master/layui/src/main/java/com/fc/shiro/service/ExtendRolesAuthorizationFilter.java
Github Open Source
Open Source
MIT
null
springBoot-UI
worldSpark
Java
Code
111
348
package com.fc.shiro.service; import org.apache.shiro.web.filter.authz.RolesAuthorizationFilter; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java.io.IOException; /** * 通过角色验证权限 * @ClassName: ExtendRolesAuthorizationFilter * @author fuce * @date 2018年8月26日 ...
3,596
https://github.com/firminofl/simula-home-broker-backend/blob/master/api-gateway/db/index.js
Github Open Source
Open Source
MIT
2,019
simula-home-broker-backend
firminofl
JavaScript
Code
81
256
const { Client } = require('pg') const PORT = 3000 const client = new Client({ user: 'postgres', host: 'localhost', database: 'shb', password: 'sml3uc0', port: 5432, }) client.connect((err) => { if (err) { console.log(`***********************************`); console.error(`* Dat...
4,992
https://github.com/ProteinsWebTeam/domain-gfx/blob/master/src/utils/dataset.js
Github Open Source
Open Source
Apache-2.0
2,020
domain-gfx
ProteinsWebTeam
JavaScript
Code
22
69
export default (element) => { return { set (key, value) { element.setAttribute(`data-${key}`, value); }, get (key) { return element.getAttribute(`data-${key}`); } }; };
41,235
https://github.com/envatic/jobschain-/blob/master/resources/views/auth/twostep/exceeded.blade.php
Github Open Source
Open Source
MIT
null
jobschain-
envatic
PHP
Code
101
530
@extends('layouts.auth') @section('title', __('app.reset_password')) @section('content') <div class="signup-wrapper mg-lg-l-50 mg-xl-l-60"> <div class="wd-100p text-center"> <img class="mb-3" width="180px" src="/assets/images/Jobit.png" /> <div class="card p-5 verification-exceeded-card"> <div class="card-h...
38,965
https://github.com/ADCDS/tvpp-log-parser/blob/master/src/parserLib/UserOption.js
Github Open Source
Open Source
MIT
2,020
tvpp-log-parser
ADCDS
JavaScript
Code
95
260
// @flow import Filter from "./Graph/Filter/Filter"; class UserOption<T> { name: string; type: Class<T>; default: any; constructor(name: string, type: Class<T>, defaultValue: any) { this.name = name; this.type = type; this.default = defaultValue; } isFilter(): boolean { // eslint-disable-next-line flo...
26,585
https://github.com/basicBrogrammer/ash_graphql/blob/master/lib/resource/transformers/require_id_pkey.ex
Github Open Source
Open Source
MIT
2,021
ash_graphql
basicBrogrammer
null
Spoken
70
245
defmodule AshGraphql.Resource.Transformers.RequireIdPkey do @moduledoc "Ensures that the resource has a primary key called `id`" use Ash.Dsl.Transformer alias Ash.Dsl.Transformer def transform(resource, dsl) do if Ash.Resource.Info.embedded?(resource) do {:ok, dsl} else primary_key = ...
19,002
https://github.com/demystify2014/my-rpc/blob/master/my-rpc-common/src/main/java/indi/uhyils/rpc/exception/RpcVersionNotSupportedException.java
Github Open Source
Open Source
MIT
2,022
my-rpc
demystify2014
Java
Code
34
142
package indi.uhyils.rpc.exception; /** * rpc版本不正确 * * @author uhyils <247452312@qq.com> * @date 文件创建日期 2020年12月18日 11时39分 */ public class RpcVersionNotSupportedException extends RpcException { public RpcVersionNotSupportedException(Integer version, Integer maxVersion) { super(String.format("版本:%d 不...
19,183
https://github.com/giusaito/amic/blob/master/app/Http/Controllers/Backend/SettingController.php
Github Open Source
Open Source
MIT
2,020
amic
giusaito
PHP
Code
466
1,548
<?php namespace App\Http\Controllers\Backend; use App\Http\Controllers\Controller; use Illuminate\Http\Request; use App\Http\Models\Setting; use Illuminate\Support\Facades\Storage; use Image; class SettingController extends Controller { /** * Display a listing of the resource. * * @return \Illumin...
22,969
https://github.com/tycooc/ERP/blob/master/src/main/java/com/fxt/action/basic/CategoryAction.java
Github Open Source
Open Source
Apache-2.0
2,017
ERP
tycooc
Java
Code
565
2,656
package com.fxt.action.basic; import java.io.IOException; import java.sql.Timestamp; import java.util.HashMap; import java.util.List; import java.util.Map; import net.sf.json.JSONArray; import net.sf.json.JSONObject; import org.springframework.dao.DataAccessException; import com.fxt.base.BaseAction; import com.fxt.bas...
36,549
https://github.com/patrickweaver/pwbot1/blob/master/public/js/project.js
Github Open Source
Open Source
MIT
2,016
pwbot1
patrickweaver
JavaScript
Code
116
509
// Project projectGET = function(api_response) { console.log("⚙ projectGET()"); switch (special){ case 5: tilde_insert = []; for (p in api_response){ if (api_response[p].media){ for (m in api_response[p].media){ if (tilde_insert.indexOf(api_response[p].media[m]) === -1){ tilde_insert.p...
44,659
https://github.com/akwabasystems/html/blob/master/src/is-visible.js
Github Open Source
Open Source
MIT
null
html
akwabasystems
JavaScript
Code
64
136
import isString from "@akwaba/object-extensions/src/is-string"; import getElement from "./get-element"; /** * Returns true if the specified element is visible (display not "none"); otherwise, returns false * * @param {Node|String} element the DOM element to check * @return {Boolean} true if the ...
44,974
https://github.com/groupe-sii/ogham/blob/master/documentation-generator/src/main/java/fr/aba/ogham/documentation/generator/helper/parse/Line.java
Github Open Source
Open Source
Apache-2.0
2,021
ogham
groupe-sii
Java
Code
18
53
package fr.aba.ogham.documentation.generator.helper.parse; import lombok.Data; @Data public class Line { private final int lineNumber; private final String text; }
2,026
https://github.com/samuelbosch/blogbits/blob/master/misc/raster2png.R
Github Open Source
Open Source
MIT
2,021
blogbits
samuelbosch
R
Code
191
661
# Version 1: using the raster::plot function and png function if(!requireNamespace("sdmpredictors")) { install.packages("sdmpredictors") } library(raster) x <- sdmpredictors::load_layers("BO_bathymean", equalarea = TRUE) png("bathymetry_plot1.png", width=ncol(x), height=nrow(x)) col <- rev(c("#f7fbff", "#deebf7", "#...
30,156
https://github.com/ai-man-123/MDyoobotz/blob/master/node_modules/browser-process-hrtime/index.d.ts
Github Open Source
Open Source
MIT
2,022
MDyoobotz
ai-man-123
TypeScript
Code
14
40
declare module "browser-process-hrtime" { function hrtime(time?: [number, number]): [number, number]; export = hrtime; }
42,556
https://github.com/rjb75/xplored/blob/master/gateway/routes/router.go
Github Open Source
Open Source
MIT
null
xplored
rjb75
Go
Code
112
565
package routes import ( "context" "log" "os" firebase "firebase.google.com/go" "github.com/gofiber/fiber/v2" "github.com/rjb75/xplored-api-gateway/handlers" "github.com/rjb75/xplored-api-gateway/middleware" "google.golang.org/api/option" ) func RegisterRoutes(app *fiber.App) { firebase_config := new(fireb...
6,600
https://github.com/dcreager/clogger/blob/master/scripts/distcheck
Github Open Source
Open Source
2,020
clogger
dcreager
Shell
Code
12
37
#!/bin/sh set -e ./autogen.sh mkdir .build cd .build ../configure make make distcheck
5,474
https://github.com/jrgrimshaw/craftedin/blob/master/app/classes/Mail.php
Github Open Source
Open Source
MIT
2,020
craftedin
jrgrimshaw
PHP
Code
547
1,680
<?php class Mail { public function sendActivationEmail($toName, $toEmail, $code) { $m = new PHPMailer; $m->isSMTP(); $m->SMTPAuth = true; $m->Host = ''; $m->Username = ''; $m->Password = ''; $m->SMTPSecure = 'ssl'; $m->Port = 465; $m->From = ''...
34,174
https://github.com/Alban098/NEmuS/blob/master/src/core/cartridge/mappers/Mapper002.java
Github Open Source
Open Source
MIT
2,022
NEmuS
Alban098
Java
Code
463
953
package core.cartridge.mappers; import utils.IntegerWrapper; /** * This class implements the iNES Mapper 002 (UxROM) */ public class Mapper002 extends Mapper { private int selected_PRG_bank_low = 0x00; private int selected_PRG_bank_high = 0x00; /** * Create a new instance of Mapper 002 * ...
43,782
https://github.com/cloudflare/zkp-ecdsa/blob/master/bench/commit/pedersen.bench.ts
Github Open Source
Open Source
Apache-2.0
2,023
zkp-ecdsa
cloudflare
TypeScript
Code
143
284
/** * Copyright 2021 Cloudflare 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 agree...
45,088
https://github.com/ibuystuff/quotaservice/blob/master/buckets/redis/bucket.go
Github Open Source
Open Source
Apache-2.0
null
quotaservice
ibuystuff
Go
Code
384
1,202
// Licensed under the Apache License, Version 2.0 // Details: https://raw.githubusercontent.com/square/quotaservice/master/LICENSE // Package redis implements token buckets backed by Redis, inspired by the algorithms used in Guava's // RateLimiter library - https://github.com/google/guava/blob/master/guava/src/com/goo...
20,820
https://github.com/abricos/abricos-core/blob/master/src/includes/brickreader.php
Github Open Source
Open Source
MIT
2,016
abricos-core
abricos
PHP
Code
1,246
5,448
<?php /** * @package Abricos * @subpackage Core * @copyright 2008-2016 Alexander Kuzmin * @license http://opensource.org/licenses/mit-license.php MIT License * @author Alexander Kuzmin <roosit@abricos.org> * @link http://abricos.org */ /** * Загрузчик кирпича */ class Ab_CoreBrickReader { public $isAdmi...
26,179
https://github.com/nopsys/SmalltalkNOS/blob/master/STNos-ExternalStructs.package/VMBridge.class/instance/pageFaultHandlerEntry.st
Github Open Source
Open Source
MIT
2,018
SmalltalkNOS
nopsys
null
Spoken
5
18
accessing pageFaultHandlerEntry ^handle unsignedLongAt: 37
20,264
https://github.com/toddharrison/MCCoroutine/blob/master/mccoroutine-sponge-api/src/main/java/com/github/shynixn/mccoroutine/Extension.kt
Github Open Source
Open Source
MIT
2,022
MCCoroutine
toddharrison
Kotlin
Code
557
1,434
package com.github.shynixn.mccoroutine import com.github.shynixn.mccoroutine.contract.MCCoroutine import kotlinx.coroutines.CoroutineScope import kotlinx.coroutines.Job import org.spongepowered.api.command.spec.CommandSpec import org.spongepowered.api.event.Event import org.spongepowered.api.event.EventManager import ...
4,276
https://github.com/martygelev/DriveSafe-FinalProject.---Telerik-/blob/master/src/main/java/com/team14/carservice/web/UserController.java
Github Open Source
Open Source
MIT
2,019
DriveSafe-FinalProject.---Telerik-
martygelev
Java
Code
150
664
package com.team14.carservice.web; import com.team14.carservice.models.dto.PasswordDto; import com.team14.carservice.service.common.CustomerService; import com.team14.carservice.utils.GenericResponse; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Qua...
36,182
https://github.com/EJFrads/Chaffinches-1/blob/master/Chaffinches-analysis.R
Github Open Source
Open Source
CC0-1.0
2,020
Chaffinches-1
EJFrads
R
Code
232
614
#read in the data (have it in a data folder to organise directory) chaff <- read.table("~/R Workshop/Chaffinches/data/chaff.txt", header = T) library(tidyverse) library(dplyr) library(ggplot2) #tidying the data chaff2 <- gather(data = chaff, key = sex, value = mass) #write the tidied date into a new file write.tabl...
42,449
https://github.com/RoMe0s/timebox/blob/master/resources/views/director/admin_info.blade.php
Github Open Source
Open Source
MIT
null
timebox
RoMe0s
PHP
Code
1,480
8,800
@extends('layouts.layoutDirector') @section('content') @include('remodals.remodal') <services-vue></services-vue> <template id="services-template"> <section class="director-dienstleister2 director-main"> <h1 class="director-content__heading heading heading__h1">Dienstleister</h1> <div class="director-con...
17,445
https://github.com/digitalfondue/stampo/blob/master/src/test/java/ch/digitalfondue/stampo/StaticPaginationTest.java
Github Open Source
Open Source
Apache-2.0
2,022
stampo
digitalfondue
Java
Code
189
700
/** * Copyright (C) 2015 digitalfondue (info@digitalfondue.ch) * * 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 requi...
30,363
https://github.com/pbear89/Luisana/blob/master/includes/register.php
Github Open Source
Open Source
Apache-2.0
null
Luisana
pbear89
PHP
Code
288
1,093
<?php require_once('../conex/sms.php'); ?> <?php if (!function_exists("GetSQLValueString")) { function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "") { //Iniciamos la variable $conexion global $con; if (PHP_VERSION < 6) { $theValue = ...
6,911
https://github.com/akhter-towsifa/cmssw/blob/master/FWCore/MessageService/test/u3_cfg.py
Github Open Source
Open Source
Apache-2.0
2,021
cmssw
akhter-towsifa
Python
Code
90
416
# Unit test configuration file for MessageLogger service: # statistics destination : name not matching any destination; # no PSet configuring it specially import FWCore.ParameterSet.Config as cms process = cms.Process("TEST") import FWCore.Framework.test.cmsExceptionsFatal_cff process.options = FWCore.Framework.te...
13,284
https://github.com/Merukeru/angularjs-samples/blob/master/leaflet-1/script.js
Github Open Source
Open Source
Apache-2.0
2,017
angularjs-samples
Merukeru
JavaScript
Code
391
1,417
var app = angular.module("demoapp", []); app.controller("MarkersClusteringController", ["$scope", "$http", "$log", "$q", function( $scope, $http, $log, $q, leafletData) { var markers; var pois; function randomNumber(min, max) { return Math.floor((Math.random() * max) + min); } var con...
40,786
https://github.com/AdamDang/openshift-docs/blob/master/install_config/monitoring/configuring-openshift-cluster-monitoring.adoc
Github Open Source
Open Source
Apache-2.0
null
openshift-docs
AdamDang
AsciiDoc
Code
813
1,960
[[configuring-openshift-cluster-monitoring]] = Configuring {product-title} cluster monitoring :data-uri: :icons: :experimental: :prewrap!: The {product-title} Ansible `openshift_cluster_monitoring_operator` role configures and deploys the Cluster Monitoring Operator using the variables from the xref:../install/configu...
22,245
https://github.com/SrBromelia/Minijava-Compiler/blob/master/src/Exceptions/MissingSymbolException.java
Github Open Source
Open Source
MIT
null
Minijava-Compiler
SrBromelia
Java
Code
45
115
package Exceptions; public class MissingSymbolException extends Exception { private String symbol; public MissingSymbolException(String symbol) { this.symbol = symbol; } public String toString() { return String.format("MissingSymbolException: The Symbol '%s' was not declared within the scope", symbol); } ...
41,268
https://github.com/aahmad09/Starmesh/blob/master/src/test/scala/graphicgame/TestPlayer.scala
Github Open Source
Open Source
MIT
2,021
Starmesh
aahmad09
Scala
Code
42
82
package graphicgame import org.junit.Test import org.junit.Assert._ class TestPlayer { @Test def testMovingUp: Unit = { assertTrue(true) // get the current y value // set the up key to pressed // update player // check that y value has changed appropriately } }
30,089
https://github.com/Aravindh-Subramaniyan/sudoku/blob/master/Gruntfile.js
Github Open Source
Open Source
MIT
null
sudoku
Aravindh-Subramaniyan
JavaScript
Code
78
341
module.exports = function (grunt) { require('load-grunt-tasks')(grunt); grunt.initConfig({ react: { jsx: { files: [ { expand: true, cwd: 'src/jsx', src: [ '**/*.jsx' ], dest: 'build', ext: '.js' } ] } ...
9,589
https://github.com/allaboardapps/access-cal-server/blob/master/app/models/calendar.rb
Github Open Source
Open Source
MIT
2,016
access-cal-server
allaboardapps
Ruby
Code
33
107
class Calendar < ActiveRecord::Base include Activatable validates :name, presence: true validates :time_zone, presence: true has_many :calendar_users has_many :events has_many :users, through: :calendar_users def archive update(archived: true) end def unarchive update(archived: false) en...
46,771
https://github.com/alyons/dnd4e-character-view/blob/master/__tests__/reducers/appReducer.test.js
Github Open Source
Open Source
CC-BY-3.0
null
dnd4e-character-view
alyons
JavaScript
Code
94
271
import app from '../../src/reducers/appReducer'; import { SET_LOADING_STATUS, LOADING_STATUS } from '../../src/actions/appActions'; describe('app reducer', () => { let state = { }; let action = { }; beforeEach(() => { state = { loadingStatus: LOADING_STATUS.INITIAL }; ...
27,214
https://github.com/remore/gemstat/blob/master/lib/gemstat/cache/gemfiles/i/ios-portal:0.0.2/Gemfile
Github Open Source
Open Source
MIT
2,015
gemstat
remore
Ruby
Code
12
37
gem 'rake' gem 'rdoc' gem 'gli' gem 'mechanize' gem 'highline' gem 'terminal-table'
36,978
https://github.com/BeastNeedsMoreTorque/Distribution/blob/master/e/electron/src/main/scala/typings/electron/Electron/Details.scala
Github Open Source
Open Source
MIT
2,020
Distribution
BeastNeedsMoreTorque
Scala
Code
125
339
package typings.electron.Electron import typings.electron.electronStrings.audio import typings.electron.electronStrings.unknown_ import typings.electron.electronStrings.video import scala.scalajs.js import scala.scalajs.js.`|` import scala.scalajs.js.annotation._ trait Details extends js.Object { /** * Whether ...
30,564
https://github.com/rbielak/Eiffel-Versant/blob/master/v1.0/tools/dba/retrieve_class_action.e
Github Open Source
Open Source
EFL-1.0, EFL-2.0
2,022
Eiffel-Versant
rbielak
null
Spoken
265
927
-- Copyright (C) 1999 CAL FP Bank -- Licensed under Eiffel Forum Freeware License, version 1; -- (see forum.txt) -- class RETRIEVE_CLASS_ACTION inherit DBA_ACTION META_PCLASS_SERVER feature display_class (cls : PCLASS) is -- print a class local i : INTEGER; att : PATTRIBUTE; attributes : ARRAY [PA...
28,768
https://github.com/pannal/Sub-Zero.bundle/blob/master/Contents/Libraries/Shared/rebulk/rebulk.py
Github Open Source
Open Source
MIT
2,023
Sub-Zero.bundle
pannal
Python
Code
892
2,718
#!/usr/bin/env python # -*- coding: utf-8 -*- """ Entry point functions and classes for Rebulk """ from logging import getLogger from .match import Matches from .pattern import RePattern, StringPattern, FunctionalPattern from .chain import Chain from .processors import ConflictSolver, PrivateRemover from .loose impo...
40,718
https://github.com/spark-jobserver/spark-jobserver/blob/master/job-server-api/src/main/java/spark/jobserver/api/TestJob.java
Github Open Source
Open Source
Apache-2.0, LicenseRef-scancode-unknown-license-reference
2,021
spark-jobserver
spark-jobserver
Java
Code
41
143
package spark.jobserver.api; import com.typesafe.config.Config; import com.typesafe.config.ConfigFactory; import org.apache.spark.api.java.JavaSparkContext; import spark.jobserver.japi.JSparkJob; public class TestJob implements JSparkJob<Integer> { public Integer run(JavaSparkContext sc, JobEnvironment runtime, ...
47,603
https://github.com/wrhb123/cloudpods/blob/master/pkg/util/sparsefile/hole_unix.go
Github Open Source
Open Source
Apache-2.0
2,022
cloudpods
wrhb123
Go
Code
224
529
// Copyright 2019 Yunion // // 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 writi...
13,774
https://github.com/GDPICZH/ModelMyself/blob/master/Script/Entity/Entitys/EntityMonster.cs
Github Open Source
Open Source
Apache-2.0
null
ModelMyself
GDPICZH
C#
Code
95
333
using System; using System.Collections.Generic; using UnityEngine; public class EntityMonster : EntityDynamicActor { public override void onStart() { base.onStart(); //this.CacheObj.layer = 10; this.CacheObj.tag = "Monster"; } public override void onUpdate() { if (...
7,241
https://github.com/gamesforfun/spacenauts/blob/master/core/src/com/gff/spacenauts/ui/PauseMenu.java
Github Open Source
Open Source
Apache-1.1
null
spacenauts
gamesforfun
Java
Code
367
1,351
package com.gff.spacenauts.ui; import com.badlogic.gdx.Game; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.assets.AssetManager; import com.badlogic.gdx.graphics.Color; import com.badlogic.gdx.graphics.g2d.BitmapFont; import com.badlogic.gdx.graphics.g2d.TextureAtlas; import com.badlogic.gdx.scenes.scene2d.Input...
13,861
https://github.com/premasagar/foam/blob/master/js/foam/apps/quickbug/model/imported/ProjectIssueConfig.js
Github Open Source
Open Source
Apache-2.0
2,015
foam
premasagar
JavaScript
Code
295
768
/** * @license * Copyright 2015 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 requir...
12,806
https://github.com/k2z5/k2z5.github.io/blob/master/salestream/admin/model/design/benefit.php
Github Open Source
Open Source
MIT
null
k2z5.github.io
k2z5
PHP
Code
571
1,606
<?php // * @copyright OPENCART.PRO 2011 - 2017. // * @forum http://forum.opencart.pro // * @source See SOURCE.txt for source and other copyright. // * @license GNU General Public License version 3; see LICENSE.txt class ModelDesignBenefit extends Model { public function addBenefit($data) { $this->db->query("INSERT...
48,564
https://github.com/sabonis/upe/blob/master/bin/getname
Github Open Source
Open Source
MIT
2,014
upe
sabonis
Shell
Code
8
19
#!/bin/zsh who am i | sed 's/ .*//'
21,252
https://github.com/oss-review-toolkit/ort/blob/master/model/src/main/kotlin/config/LicenseFilePatterns.kt
Github Open Source
Open Source
LicenseRef-scancode-free-unknown, Apache-2.0
2,023
ort
oss-review-toolkit
Kotlin
Code
303
692
/* * Copyright (C) 2020 The ORT Project Authors (see <https://github.com/oss-review-toolkit/ort/blob/main/NOTICE>) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.a...
52,914
https://github.com/ksocsports/BlueWallet/blob/master/currency.js
Github Open Source
Open Source
MIT
null
BlueWallet
ksocsports
JavaScript
Code
383
1,524
import AsyncStorage from '@react-native-community/async-storage'; import Frisbee from 'frisbee'; import DefaultPreference from 'react-native-default-preference'; import { AppStorage } from './class'; import DeviceQuickActions from './class/quickActions'; import { FiatUnit } from './models/fiatUnit'; const BigNumber =...
21,363
https://github.com/Velinken/MaterialAbout/blob/master/library/src/main/java/com/vansuita/materialabout/builder/AboutBuilder.java
Github Open Source
Open Source
MIT
2,022
MaterialAbout
Velinken
Java
Code
7,487
17,918
package com.vansuita.materialabout.builder; import android.content.Context; import android.content.Intent; import android.content.pm.PackageInfo; import android.content.pm.PackageManager; import android.graphics.Bitmap; import android.graphics.drawable.BitmapDrawable; import android.net.Uri; import androidx.annotatio...
23,213
https://github.com/adamdecaf/distributed/blob/master/server/src/main/scala/package.scala
Github Open Source
Open Source
Apache-2.0
2,015
distributed
adamdecaf
Scala
Code
14
43
package org.decaf.distributed import akka.actor.ActorSystem package object server { lazy val ServerActorSystem = ActorSystem("server") }
29,219
https://github.com/apache/incubator-pekko/blob/master/cluster/src/test/scala/org/apache/pekko/cluster/ClusterHeartbeatSenderSpec.scala
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, Apache-2.0, LicenseRef-scancode-protobuf, LicenseRef-scancode-public-domain, BSD-2-Clause, Unlicense, CC0-1.0
2,023
incubator-pekko
apache
Scala
Code
180
584
/* * Licensed to the Apache Software Foundation (ASF) under one or more * license agreements; and to You under the Apache License, version 2.0: * * https://www.apache.org/licenses/LICENSE-2.0 * * This file is part of the Apache Pekko project, which was derived from Akka. */ /* * Copyright (C) 2019-2022 Light...
9,340
https://github.com/jnthn/intellij-community/blob/master/python/testData/inspections/PyRedeclarationInspection/possiblyEmptyWhile.py
Github Open Source
Open Source
Apache-2.0
2,020
intellij-community
jnthn
Python
Code
13
24
x = default_value y = 0 while y < stop: x = process(y)
20,777
https://github.com/jprinet/gorm-mongodb/blob/master/grails-datastore-gorm-mongodb/src/test/groovy/org/grails/datastore/gorm/mongo/OptimisticLockingWithExceptionSpec.groovy
Github Open Source
Open Source
Apache-2.0
null
gorm-mongodb
jprinet
Groovy
Code
119
395
package org.grails.datastore.gorm.mongo import grails.gorm.tests.GormDatastoreSpec import grails.persistence.Entity import org.grails.datastore.mapping.core.OptimisticLockingException import spock.lang.Issue import javax.persistence.FlushModeType /** * @author Graeme Rocher */ class OptimisticLockingWithExceptionS...
5,806
https://github.com/zhujiedong/jiptest/blob/master/R/jip_pca.R
Github Open Source
Open Source
MIT
2,022
jiptest
zhujiedong
R
Code
54
180
#' @title return the prcomp #' #' @description {help to tidy the \code{jiptest} result to be ready for #' PCA analysis } #' #' @param jip_data data frame returned by \code{jip_test} #' #' @export #' jip_pca <- function(jip_data){ pca_list <- split(jip_data, jip_data$OJIP_PARAMETERS) list_data <- lapply(pca_list...
38,589
https://github.com/paveg00/stream-client/blob/master/test/fixtures.hpp
Github Open Source
Open Source
Apache-2.0
2,021
stream-client
paveg00
C++
Code
372
1,521
#pragma once #include "stream-client/stream-client.hpp" #include "gtest/gtest.h" #include "utils/client.hpp" #include "utils/echo_server.hpp" template <typename Server> class ServerEnv: public ::testing::Test { public: using server_type = Server; using session_type = typename server_type::session_type; u...
21,438
https://github.com/3vcloud/linodeapi/blob/master/spec/linodeapi_spec.rb
Github Open Source
Open Source
MIT
2,019
linodeapi
3vcloud
Ruby
Code
49
191
require 'spec_helper' describe LinodeAPI do it 'has a default endpoint' do expect(LinodeAPI::DEFAULT_ENDPOINT).to be_an_instance_of String end it 'has a spec URL' do expect(LinodeAPI::SPEC_URL).to be_an_instance_of String end it 'makes the spec available' do expect(LinodeAPI.spec[:subs]).to be_...
23,084
https://github.com/acidburn0zzz/sQuiz-Core2/blob/master/packages/backend/app/Validators/FetchUsers.ts
Github Open Source
Open Source
MIT
2,022
sQuiz-Core2
acidburn0zzz
TypeScript
Code
76
210
import { HttpContextContract } from '@ioc:Adonis/Core/HttpContext'; import { schema, rules } from '@ioc:Adonis/Core/Validator'; export default class FetchUsersValidator { constructor(private ctx: HttpContextContract) {} public schema = schema.create({ page: schema.number.optional(), limit: schema.number.o...
33,269
https://github.com/renovate-bot/google-cloud-dotnet/blob/master/apis/Google.Cloud.DataLabeling.V1Beta1/Google.Cloud.DataLabeling.V1Beta1.sln
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, Apache-2.0
2,021
google-cloud-dotnet
renovate-bot
null
Spoken
290
2,694
 Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio 15 VisualStudioVersion = 15.0.26124.0 MinimumVisualStudioVersion = 15.0.26124.0 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Google.Cloud.DataLabeling.V1Beta1", "Google.Cloud.DataLabeling.V1Beta1\Google.Cloud.DataLabeling.V1Beta1.cspr...
38,089
https://github.com/nimaa77/after.js/blob/master/src/types.ts
Github Open Source
Open Source
MIT
2,021
after.js
nimaa77
TypeScript
Code
195
563
import { RouteProps, RouteComponentProps, match as Match, } from 'react-router-dom'; import { HelmetData } from 'react-helmet'; import { Request, Response } from 'express'; import { IncomingMessage, ServerResponse } from 'http'; import { History, Location } from 'history'; export interface DocumentProps { req:...
33,829
https://github.com/Continuous-X/jenkins-cx-shared-library/blob/master/src/com/continuousx/utils/rulecheck/RuleChecker.groovy
Github Open Source
Open Source
MIT
2,020
jenkins-cx-shared-library
Continuous-X
Groovy
Code
17
62
package com.continuousx.utils.rulecheck import com.continuousx.jenkins.logger.PipelineLogger interface RuleChecker { boolean checkRules(RuleSet ruleSet, final Object checkedObject, final PipelineLogger logger) }
23,046
https://github.com/codescene-org/das-assessor-service/blob/master/src/SFA.DAS.AssessorService.Api.Types/Models/Apply/SubmitApplicationSequenceRequest.cs
Github Open Source
Open Source
MIT
2,022
das-assessor-service
codescene-org
C#
Code
53
139
using MediatR; using System; using System.Collections.Generic; namespace SFA.DAS.AssessorService.Api.Types.Models.Apply { public class SubmitApplicationSequenceRequest : IRequest<bool> { public Guid ApplicationId { get; set; } public string ApplicationReferenceFormat { get; set; } publ...
18,055
https://github.com/Lituta/dig-alignment/blob/master/versions/2.0/karma/python/sciencedirect.py
Github Open Source
Open Source
Apache-2.0
2,018
dig-alignment
Lituta
Python
Code
111
291
from datetime import datetime, date from time import mktime, gmtime ###Pedro: obsolete, should be removed, but not sure it is not used. def clean_date(dateString): return iso8601date(dateString,"%B %Y") def author_uri(name): first_word = name.split()[0].replace('.','') second_word = name.split()[1].repl...
41,193
https://github.com/Avinash147-1193/roles-and-permission/blob/master/db/schema-sample.sql
Github Open Source
Open Source
MIT
null
roles-and-permission
Avinash147-1193
SQL
Code
657
2,287
-- phpMyAdmin SQL Dump -- version 4.1.4 -- http://www.phpmyadmin.net -- -- Host: 127.0.0.1 -- Generation Time: Oct 26, 2017 at 11:31 AM -- Server version: 5.6.15-log -- PHP Version: 5.6.4 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT *...
25,139
https://github.com/ysumio120/TwitchAvidReact/blob/master/client/src/components/ChatContainer.js
Github Open Source
Open Source
MIT
2,017
TwitchAvidReact
ysumio120
JavaScript
Code
61
195
import React, { Component } from 'react'; import Chat from './Chat'; import ReactCSSTransitionGroup from 'react-addons-css-transition-group' class ChatContainer extends Component { constructor(props) { super(props); this.state = { shouldShowBox: true }; } // toggleBox = () => { // this.se...
1,292
https://github.com/EduardoMoreira26/School-App-Backend/blob/master/src/student/student.resolver.ts
Github Open Source
Open Source
MIT
null
School-App-Backend
EduardoMoreira26
TypeScript
Code
91
306
/* eslint-disable prettier/prettier */ import { CreateStudentInput } from './dto/create-student.input'; import { Args, Mutation, Query } from '@nestjs/graphql'; import { StudentModel } from './student.model'; import { Resolver } from '@nestjs/graphql'; import { StudentService } from './student.service'; @Resolver((of)...
42,811
https://github.com/albietz/stochs/blob/master/setup.py
Github Open Source
Open Source
MIT
2,020
stochs
albietz
Python
Code
102
499
from distutils.core import setup from distutils.extension import Extension from Cython.Build import cythonize import numpy import os USE_FLOAT = 0 # use float (1) or double (0) eigen_dir = os.path.join('include', 'Eigen') if not os.path.exists(eigen_dir): print('Downloading Eigen...') from glob import glob...
17,233
https://github.com/aravi5/drill-test-framework/blob/master/framework/resources/Functional/window_functions/first_val/firstValFn_7.e
Github Open Source
Open Source
Apache-2.0
null
drill-test-framework
aravi5
null
Spoken
66
199
false -1 -1 false 1 -1 false 17 -1 false 30 -1 false 200 -1 false 1000 -1 false 1001 -1 false 5000 -1 false 65534 -1 false 4611686018427387903 -1 false 9223372036854775807 -1 true -65535 -65535 true 0 -65535 true 13 -65535 true 23 -65535 true 25 -65535 true 197 -65535 true 3000 -65535 true 9999999 -65535 true 10000000 ...
41,561
https://github.com/dfc/ntp-mirror/blob/master/ntpd/invoke-ntp.conf.texi
Github Open Source
Open Source
NTP
2,013
ntp-mirror
dfc
null
Spoken
13,400
24,687
@node ntp.conf Notes @section Notes about ntp.conf @pindex ntp.conf @cindex Network Time Protocol (NTP) daemon configuration file format @ignore # # EDIT THIS FILE WITH CAUTION (invoke-ntp.conf.texi) # # It has been AutoGen-ed May 1, 2013 at 11:33:19 AM by AutoGen 5.17.3 # From the definitions ntp.conf.def # and ...
19,196
https://github.com/keshavi98/schoolfront/blob/master/src/app/views/leaveapplication/leave-applications/leave-application-view/leave-application-view.component.ts
Github Open Source
Open Source
MIT
null
schoolfront
keshavi98
TypeScript
Code
132
477
import { Component, OnInit } from "@angular/core"; import { Routes, RouterModule, Router, ActivatedRoute } from "@angular/router"; import { LeaveApplictionService } from "../leave-appliction.service"; import { LeaveapplicationService } from "../../leaveapplication.service"; import { ToastrService } from "ngx-toastr"; i...
40,231
https://github.com/SLongshaw/MUI/blob/master/wrappers/C/mui_c_wrapper_general.cpp
Github Open Source
Open Source
GPL-1.0-or-later, Apache-2.0, GPL-3.0-only
2,023
MUI
SLongshaw
C++
Code
417
745
/***************************************************************************** * Multiscale Universal Interface Code Coupling Library * * * * Copyright (C) 2021 Y. H. Tang, S. Kudo, X. Bian, Z. Li, G. E. Karniadakis, * * ...
30,652
https://github.com/barry-li/mparticle-android-sdk/blob/master/sdk/src/main/java/com/mparticle/internal/MessageHandler.java
Github Open Source
Open Source
Apache-2.0, LicenseRef-scancode-unknown-license-reference
2,016
mparticle-android-sdk
barry-li
Java
Code
1,597
6,477
package com.mparticle.internal; import android.content.ContentValues; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteOpenHelper; import android.os.Handler; import android.os.Looper; import android.os.Message; import com.mparticle.BuildConfig; import...
30,136
https://github.com/maheejae/popol/blob/master/member/pro/ModifyPro.jsp
Github Open Source
Open Source
MIT
null
popol
maheejae
null
Spoken
52
311
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <%@ page import="jsp.member.model.MemberBean" %> <%@ page import="jsp.member.model.MemberDAO" %> <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>회원정보 수정처리</title> </head> <body> <jsp:useBean id="memberBea...
6,020
https://github.com/iantal/AndroidPermissions/blob/master/apks/banking_set2/GROUPE SOCIETE GENERALE SA/app/smali/ind/bankingapp/android/function/locations/GoogleMapsFragment$2.smali
Github Open Source
Open Source
Apache-2.0
2,019
AndroidPermissions
iantal
Smali
Code
173
1,171
.class Lind/bankingapp/android/function/locations/GoogleMapsFragment$2; .super Ljava/lang/Object; .source "GoogleMapsFragment.java" # interfaces .implements Landroid/view/View$OnClickListener; # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = Lind/bankingapp/android/function/locations/G...
2,248
https://github.com/CFM-MSG/Code_SelectiveHCN/blob/master/model/utils.py
Github Open Source
Open Source
MIT
2,022
Code_SelectiveHCN
CFM-MSG
Python
Code
212
773
import torch import torch.nn as nn import math import numpy as np def import_class(name): components = name.split('.') mod = __import__(components[0]) for comp in components[1:]: mod = getattr(mod, comp) return mod def conv_branch_init(conv, branches): weight = conv.weight n = weight.s...
25,328
https://github.com/rajatb/twitter_v2/blob/master/twitter/TwitterClient.swift
Github Open Source
Open Source
Apache-2.0
null
twitter_v2
rajatb
Swift
Code
653
2,369
// // TwitterClient.swift // twitter // // Created by Rajat Bhargava on 9/26/17. // Copyright © 2017 Rajat Bhargava. All rights reserved. // import UIKit import BDBOAuth1Manager class TwitterClient: BDBOAuth1SessionManager { let consumerKey = "EeHTyym25HNc21vjWpuvfIyHv" let consuemrSecret = "nnkCGQ2Xz9IQH...
32,765
https://github.com/satirthaKreative/TCGTester2020/blob/master/application/models/Dashboard_count_model.php
Github Open Source
Open Source
MIT
2,019
TCGTester2020
satirthaKreative
PHP
Code
96
356
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Dashboard_count_model extends CI_Model { public function index() { } public function dashboard_count_data() { // show advertise $selectAdv = $this->db->get('advertise_image'); $countAdv = $selectAdv->num_rows(); // show archet...
47,659
https://github.com/silastittes/lasthenia_curves/blob/master/sim_axis/simulate_axis_results_42.R
Github Open Source
Open Source
MIT
2,018
lasthenia_curves
silastittes
R
Code
3,460
20,437
run_x <- structure(list(lm_df = structure(list(term = c("maxima_sc", "stretch_sc", "x_max_sc", "x_min_sc"), coef = c(-0.05076985284314, 0.0613509566109398, 0.0305332822301405, -0.0450135305433043), p_value = c(0.087256240382282, 0.000529229573522692, 0.0592671023334818, 0.0132419882287471), rand_var = c(1.65831...
27,406
https://github.com/rlira004/xv6-public/blob/master/lab3.c
Github Open Source
Open Source
MIT-0
null
xv6-public
rlira004
C
Code
114
294
#include "types.h" #include "user.h" #pragma GCC push_options #pragma GCC optimize("O0") static int recursive(int n_start) { if (n_start == 0) return 0; return n_start + recursive(n_start - 1); } #pragma GCC pop_options int main(int argc, char *argv[]) { int m; int n_start = 9; int i = 0; int new_n = ...
51,820
https://github.com/evgenijst21/blog-last/blob/master/resources/views/admin/category/index.blade.php
Github Open Source
Open Source
MIT
null
blog-last
evgenijst21
PHP
Code
54
323
@extends('admin.layouts_admin.layout', ['title' => 'Все категории']) @section('content') <div class="heading-h"> <h1 class="heading">Все категории</h1> </div> <div class="sub-block"> <button class="single-btn" type="button"><a href="{{ route('admin.category.create') }}" class=...
3,743
https://github.com/microsoft/Azure-Key-Vault-Plugin-gMSA/blob/master/src/10.0.18362.0/WppConfig/Rev1/manifest.tpl
Github Open Source
Open Source
MIT
2,022
Azure-Key-Vault-Plugin-gMSA
microsoft
null
Spoken
364
1,346
<?xml version="1.0" standalone="yes"?> <!-- `**********************************************************************` `* This is a template file for the tracewpp preprocessor. *` `* If you need to use a custom version of this file in your project, *` `* please clone it from this one and point WPP to it by s...
9,360
https://github.com/cenuno/Spatial_Visualizations/blob/master/Point-n-Polygon/get_CA_names.r
Github Open Source
Open Source
MIT
2,017
Spatial_Visualizations
cenuno
R
Code
354
772
# # Author: Cristian E. Nuno # Date: September 9, 2017 # Purpose: Create the get_CA_names function # which assigns community area names # for points that reside in each polygon get_CA_names <- function( a.data.frame , a.list.of.matrices , ...
34,161
https://github.com/dplbsd/soc2013/blob/master/head/contrib/ofed/management/opensm/include/complib/cl_event.h
Github Open Source
Open Source
BSD-2-Clause
2,022
soc2013
dplbsd
C
Code
1,134
2,363
/* * Copyright (c) 2004, 2005 Voltaire, Inc. All rights reserved. * Copyright (c) 2002-2005 Mellanox Technologies LTD. All rights reserved. * Copyright (c) 1996-2003 Intel Corporation. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be license...
25,202
https://github.com/snickers495/foodie/blob/master/node_modules/volleyball/src/volleyball.js
Github Open Source
Open Source
MIT
2,020
foodie
snickers495
JavaScript
Code
341
943
'use strict'; // eslint-disable-line semi const http = require('http') const debug = require('debug') const chalk = require('chalk') const filesize = require('filesize') const makeId = require('./id') const sp = ' ' module.exports = Volleyball() // eslint-disable-line new-cap function Volleyball (config = {}) { ...
29,164
https://github.com/p12s/in-memory-cache/blob/master/in-memory-cache.go
Github Open Source
Open Source
Apache-2.0
2,021
in-memory-cache
p12s
Go
Code
242
628
package inmemorycache import ( "sync" "time" ) // item - cache item type item struct { data interface{} expires int64 } // Cache type Cache struct { close chan struct{} items sync.Map } // New - constructor func New(cleaningInterval time.Duration) *Cache { cache := Cache{ close: make(chan struct{}), } ...
18,093
https://github.com/github/codeql/blob/master/java/ql/lib/upgrades/e7706df98aaefcf055f35f50582f2686f41c23bb/upgrade.properties
Github Open Source
Open Source
MIT
2,023
codeql
github
null
Spoken
28
118
description: Refactor extraction of parentheses compatibility: full isParenthesized.rel: run isParenthesized.qlo exprs.rel: run exprs.qlo callableEnclosingExpr.rel: run callableEnclosingExpr.qlo statementEnclosingExpr.rel: run statementEnclosingExpr.qlo annotValue.rel: run annotValue.qlo hasLocation.rel: run hasLocatio...
8,541
https://github.com/OPIDoR/DMPOPIDoR/blob/master/spec/models/api_client_spec.rb
Github Open Source
Open Source
MIT
2,023
DMPOPIDoR
OPIDoR
Ruby
Code
155
558
# frozen_string_literal: true require 'rails_helper' RSpec.describe ApiClient, type: :model do context 'validations' do it { is_expected.to validate_presence_of(:name) } it { is_expected.to validate_presence_of(:contact_email) } # Uniqueness validation it { subject.name = Faker::Lorem.word ...
34,339
https://github.com/MontyTRC89/TOMB5/blob/master/TOOLS/CMakeLists.txt
Github Open Source
Open Source
MIT
2,019
TOMB5
MontyTRC89
CMake
Code
43
274
cmake_minimum_required (VERSION 3.0) #Store the path to our tools folder folder in "TOOL_ROOT_DIR". set(TOOL_ROOT_DIR ${TOOL_ROOT_DIR} "${CMAKE_CURRENT_SOURCE_DIR}") get_filename_component(ROOT_DIR ${CMAKE_CURRENT_SOURCE_DIR} DIRECTORY) set(SPEC_PSX_DIR ${ROOT_DIR}/SPEC_PSX "${SPEC_PSX_DIR}") set(SPEC_PSXPC_DIR ${RO...
26,257
https://github.com/LechS/SwingSwing/blob/master/src/AppBundle/Entity/User.php
Github Open Source
Open Source
MIT
null
SwingSwing
LechS
PHP
Code
441
1,737
<?php namespace AppBundle\Entity; use Doctrine\Common\Collections\ArrayCollection; use FOS\UserBundle\Model\User as BaseUser; use Doctrine\ORM\Mapping as ORM; use DateTime; use AppBundle\Entity\Traits\Timestamps; /** * @ORM\Entity * @ORM\Table(name="fos_users") */ class User extends BaseUser { use Timestamps; ...
43,697
https://github.com/HelainSchoonjans/innovation-funding-service/blob/master/ifs-web-service/ifs-project-setup-mgt-service/src/main/java/org/innovateuk/ifs/project/queries/controller/FinanceChecksQueriesController.java
Github Open Source
Open Source
MIT
null
innovation-funding-service
HelainSchoonjans
Java
Code
1,229
5,741
package org.innovateuk.ifs.project.queries.controller; import com.fasterxml.jackson.core.type.TypeReference; import org.innovateuk.ifs.commons.error.ValidationMessages; import org.innovateuk.ifs.commons.exception.ForbiddenActionException; import org.innovateuk.ifs.commons.exception.ObjectNotFoundException; import org....
12,996
https://github.com/spisser/data-budget/blob/master/apis/queries/get-accounts-meta.js
Github Open Source
Open Source
MIT, LicenseRef-scancode-unknown-license-reference, CC-BY-4.0, CC-BY-3.0
2,018
data-budget
spisser
JavaScript
Code
70
328
//get accountsmeta module.exports = { query : `PREFIX g0v: <http://data.budget.g0v.it/g0v-ap/v1#> PREFIX interval: <http://reference.data.gov.uk/def/intervals/> PREFIX dct: <http://purl.org/dc/terms/> PREFIX dcat: <http://www.w3.org/ns/dcat#> PREFIX dbpedia: <http://dbpedia.org/property/> PREFIX time: <http://www.w3...
33,975
https://github.com/AlberLC/qt-app/blob/master/guis/g_quotation.py
Github Open Source
Open Source
MIT
null
qt-app
AlberLC
Python
Code
110
611
from abc import ABC, abstractmethod from guis.g_need import GNeed class GQuotation(GNeed, ABC): @abstractmethod def __init__(self, window): super().__init__(window) self.valid_user_color = 'default' @abstractmethod def connect_signals(self, controller): super().connect_signal...
46,555
https://github.com/alangibson27/plus-f/blob/master/plus-f/run.sh
Github Open Source
Open Source
MIT
2,019
plus-f
alangibson27
Shell
Code
8
31
#!/bin/bash java $JAVA_OPTS -jar $(find build/libs -name "*all.jar")
33,877
https://github.com/cra-repo/marketo-api-php/blob/master/src/Entity/Asset/Text.php
Github Open Source
Open Source
MIT
2,022
marketo-api-php
cra-repo
PHP
Code
49
151
<?php declare(strict_types=1); namespace Cra\MarketoApi\Entity\Asset; class Text { private string $value; public function __construct(string $value) { $this->value = $value; } public function value(): string { return $this->value; } public function type(): string ...
5,385
https://github.com/JLLeitschuh/tapestry3/blob/master/tapestry-framework/src/org/apache/tapestry/RedirectException.java
Github Open Source
Open Source
Apache-2.0, LicenseRef-scancode-unknown-license-reference
2,008
tapestry3
JLLeitschuh
Java
Code
232
471
// Copyright 2004 The Apache Software Foundation // // 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 ...
47,036
https://github.com/raelcun/simple-react-redux-starter/blob/master/tests/content_test.js
Github Open Source
Open Source
MIT
null
simple-react-redux-starter
raelcun
JavaScript
Code
96
289
import React from 'react' import ReactDOM from 'react-dom' import TestUtils from 'react/lib/ReactTestUtils' import { expect } from 'chai' import Content from '../app/components/Content' describe('root', function () { it('downloads data from the server when the button is clicked', () => { const content = TestUtil...
13,078
https://github.com/joaowd/Letter/blob/master/LetterApp.iOS/Views/Division/Cells/DivisionHeaderCell.designer.cs
Github Open Source
Open Source
MIT
null
Letter
joaowd
C#
Code
183
524
// WARNING // // This file has been generated automatically by Visual Studio from the outlets and // actions declared in your storyboard file. // Manual changes to this file will not be maintained. // using Foundation; using System; using System.CodeDom.Compiler; namespace LetterApp.iOS.Views.Division.Cells { [Reg...
34,068
https://github.com/APfly/MapUp/blob/master/server.js
Github Open Source
Open Source
MIT
2,018
MapUp
APfly
JavaScript
Code
129
565
'use strict'; // Application dependencies const express = require('express'); const cors = require('cors'); const pg = require('pg'); const superagent = require('superagent'); // Application Setup const app = express(); const PORT = process.env.PORT; const CLIENT_URL = process.env.CLIENT_URL; const MEETUP_API_KEY = p...
51,975
https://github.com/achristensen6/tvOS130Headers/blob/master/System/Library/PrivateFrameworks/AssertionServices.framework/BKSProcessExitContext.h
Github Open Source
Open Source
MIT
2,019
tvOS130Headers
achristensen6
Objective-C
Code
94
326
/* * This header is generated by classdump-dyld 1.0 * on Tuesday, November 5, 2019 at 2:39:06 AM Mountain Standard Time * Operating System: Version 13.0 (Build 17J586) * Image Source: /System/Library/PrivateFrameworks/AssertionServices.framework/AssertionServices * classdump-dyld is licensed under GPLv3, Copyright © 20...
899