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/npapoylias/lands/blob/master/Lands-Parsers.package/CalcEvaluator.class/instance/start.st
Github Open Source
Open Source
MIT
2,020
lands
npapoylias
null
Spoken
17
36
accessing start ^ super start ==> [ :values | (values addLast: CalcTranscript |> #print; yourself) sequence ]
5,605
https://github.com/tied/settings-synchronizer-for-bitbucket-plugin/blob/master/setup-atlassian-sdk.sh
Github Open Source
Open Source
Apache-2.0
2,020
settings-synchronizer-for-bitbucket-plugin
tied
Shell
Code
42
209
#!/bin/bash if [ "$1" -gt "-1" ] then echo Give param, like /home/username fi installdir=$1 cd $1 wget https://marketplace.atlassian.com/download/plugins/atlassian-plugin-sdk-tgz mkdir opt tar -xvzf *plugin-sdk* -C opt mv opt/*plugin-sdk* opt/atlassian-plugin-sdk chmod a+x opt/atlassian-plugin-sdk/bin/* chmod a+x o...
26,151
https://github.com/siebevh/Cheetah-forms/blob/master/src/fields/ch-combobox.vue
Github Open Source
Open Source
MIT
2,020
Cheetah-forms
siebevh
Vue
Code
101
527
<template> <v-combobox class="mb-3" v-model="value" :items="schema.items" :search-input.sync="search" hide-selected :hint="schema.hint" :label="schema.name" :required="schema.required" :readonly="schema.readonly" :disabled="schema.disabled" :item-text="schema.itemText" :item-value="...
53,671
https://github.com/aehparta/libe/blob/master/libe/target/x86/spi.h
Github Open Source
Open Source
MIT
null
libe
aehparta
C
Code
93
313
/* * libe cross-platform library * * Authors: Antti Partanen <aehparta@iki.fi> */ #ifndef _TARGET_X86_SPI_H_ #define _TARGET_X86_SPI_H_ #include <stdint.h> #include <libe/os.h> #ifdef __cplusplus extern "C" { #endif #ifdef USE_FTDI /* ftdi spi master context */ struct spi_master { uint8_t miso; uint8_t mosi;...
44,799
https://github.com/zara1234/frecipe/blob/master/resources/views/backend/user/userEdit.blade.php
Github Open Source
Open Source
MIT
null
frecipe
zara1234
PHP
Code
86
365
<div class="container-cookbook"> <div class="card uper"> <div class="card-header"> Edit User </div> <div class="card-body"> @if ($errors->any()) <div class="alert alert-danger"> <ul> @foreach ($errors->all() ...
35,709
https://github.com/turansky/react-types-kotlin/blob/master/typescript-kotlin/src/main/kotlin/typescript/ModifiersArray.kt
Github Open Source
Open Source
Apache-2.0
2,021
react-types-kotlin
turansky
Kotlin
Code
16
33
// Automatically generated - do not modify! package typescript typealias ModifiersArray = Any /* NodeArray<Modifier> */
33,344
https://github.com/EndlessCheng/mahjong-helper/blob/master/platform/majsoul/api/liqi_api.go
Github Open Source
Open Source
MIT
2,022
mahjong-helper
EndlessCheng
Go
Code
9,553
29,885
// Code generated by tool/liqi_test.go. DO NOT EDIT. package api import ( "fmt" "github.com/EndlessCheng/mahjong-helper/platform/majsoul/proto/lq" ) func (c *WebSocketClient) AuthGame(req *lq.ReqAuthGame) (resp *lq.ResAuthGame, err error) { respChan := make(chan *lq.ResAuthGame) if err = c.send(".lq.FastTest.auth...
20,855
https://github.com/yuikns/dropbox-fetcher/blob/master/fetcher/fetcher.py
Github Open Source
Open Source
MIT
2,018
dropbox-fetcher
yuikns
Python
Code
475
1,780
from __future__ import print_function, with_statement import dropbox from dropbox.files import SharedLink import hashlib import os import re import shelve from tqdm import tqdm from .utils import mkdirs class Fetcher(object): def __init__(self, access_token, output): """ Init :param acce...
32,519
https://github.com/arnapou/gw2apiclient/blob/master/src/Arnapou/GW2Api/Model/PvpStats.php
Github Open Source
Open Source
MIT
2,020
gw2apiclient
arnapou
PHP
Code
154
395
<?php /* * This file is part of the Arnapou GW2 API Client package. * * (c) Arnaud Buathier <arnaud@arnapou.net> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Arnapou\GW2Api\Model; /** * * @method string getWins() ...
18,346
https://github.com/Korhan92/Redux-Reddit-Project/blob/master/src/reducers/index.js
Github Open Source
Open Source
MIT
null
Redux-Reddit-Project
Korhan92
JavaScript
Code
36
105
import { INVALID_SUBREDDIT, RECEIVE_POSTS } from "../actions"; export default function receiveReducer(state = [], { type, payload }) { switch (type) { case RECEIVE_POSTS: console.log(type, payload); return payload; case INVALID_SUBREDDIT: return payload; default: return stat...
14,182
https://github.com/MaritimeConnectivityPlatform/MaritimeCloud/blob/master/mc-core/src/main/java/net/maritimecloud/util/geometry/Rectangle.java
Github Open Source
Open Source
Apache-2.0
2,019
MaritimeCloud
MaritimeConnectivityPlatform
Java
Code
1,144
2,974
/* Copyright (c) 2011 Danish Maritime Authority. * * 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...
1,837
https://github.com/neighborhoods/Buphalo/blob/master/src/V2/TargetApplication/Builder.php
Github Open Source
Open Source
MIT
2,021
Buphalo
neighborhoods
PHP
Code
178
588
<?php declare(strict_types=1); namespace Neighborhoods\Buphalo\V2\TargetApplication; use LogicException; use Neighborhoods\Buphalo\V2\TargetApplicationInterface; class Builder implements BuilderInterface { use Factory\AwareTrait; protected $SourceDirectoryPath; protected $FabricationDirectoryPath; p...
49,022
https://github.com/falsewasnottrue/szilla/blob/master/src/test/scala/interpreter/impl/PrintInterpreterSpec.scala
Github Open Source
Open Source
Apache-2.0
null
szilla
falsewasnottrue
Scala
Code
90
260
package interpreter.impl import org.mockito.Mockito class PrintInterpreterSpec extends BaseInterpreterSpec { "PrintInterpreter" should "print the given string to the current window" in new Env { val ctxSpy = Mockito.spy(ctx) run(ctxSpy)("<PRINT \"Not bloody likely!\">") Mockito.verify(ctxSpy).out("Not...
1,968
https://github.com/bradley499/BigFloat/blob/master/Makefile
Github Open Source
Open Source
Apache-2.0
null
BigFloat
bradley499
Makefile
Code
28
147
CC?=gcc LIBNAME=BigFloat INC=-I./include SRCDIR=src OBJDIR=obj FILES=$(wildcard $(SRCDIR)/*.c) OBJS=$(FILES:$(SRCDIR)/%.c=$(OBJDIR)/%.o) all: clean setup $(OBJS) setup: @mkdir -pv $(OBJDIR) clean: @rm -rvf $(OBJDIR)/* $(OBJDIR)/%.o: $(SRCDIR)/%.c $(CC) $(INC) -c $< -o $@
21,393
https://github.com/Ticketpark/SaferpayJsonApi/blob/master/lib/SaferpayJson/Request/Container/ReturnUrls.php
Github Open Source
Open Source
MIT
2,023
SaferpayJsonApi
Ticketpark
PHP
Code
95
319
<?php declare(strict_types=1); namespace Ticketpark\SaferpayJson\Request\Container; use JMS\Serializer\Annotation\SerializedName; final class ReturnUrls { /** * @var string * @SerializedName("Success") */ private $success; /** * @var string * @SerializedName("Fail") */ ...
5,695
https://github.com/webern/smithy/blob/master/smithy-model/src/main/java/software/amazon/smithy/model/validation/Suppression.java
Github Open Source
Open Source
Apache-2.0
2,019
smithy
webern
Java
Code
775
2,151
/* * Copyright 2019 Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" ...
24,079
https://github.com/LykkeCity/Lykke.AlgoStore.CSharp.AlgoTemplate/blob/master/src/Lykke.AlgoStore.CSharp.AlgoTemplate.Services/Async/IAsyncExecutor.cs
Github Open Source
Open Source
MIT
null
Lykke.AlgoStore.CSharp.AlgoTemplate
LykkeCity
C#
Code
89
231
using System; using System.Threading.Tasks; namespace Lykke.AlgoStore.CSharp.AlgoTemplate.Services.Async { /// <summary> /// Interface of executing asynchronously actions /// </summary> public interface IAsyncExecutor { /// <summary> /// Executes the action provided and returns co...
6,268
https://github.com/joaoluis17/meuSite/blob/master/meu-site/app/Services/RemovedorDeAlbum.php
Github Open Source
Open Source
MIT
2,021
meuSite
joaoluis17
PHP
Code
77
286
<?php namespace App\Services; use App\{Album, Volume, Faixa}; use Illuminate\Support\Facades\DB; class RemovedorDeAlbum { public function removerAlbum(int $albumId) : string { $nome = ''; DB::transaction(function () use ($albumId, &$nome) { $album = Album::find($albumId); ...
27,802
https://github.com/thisisminh172/unitop-laravel-2/blob/master/resources/views/cart/show.blade.php
Github Open Source
Open Source
MIT
null
unitop-laravel-2
thisisminh172
PHP
Code
143
809
@extends('layouts.shop') @section('content') <div class="container"> <div class="row"> <div class="col-12"> <h1>Giỏ hàng</h1> <table class="table"> <thead> <tr> <th scope="col">#</th> <th scope="col"...
21,675
https://github.com/Th3Mouk/YahooWeatherAPI/blob/master/.editorconfig
Github Open Source
Open Source
MIT
2,018
YahooWeatherAPI
Th3Mouk
null
Spoken
23
75
root = true [*] end_of_line = lf indent_style = space charset = utf-8 insert_final_newline = true trim_trailing_whitespace = true [*.{yml,xml,json,php}] indent_size = 4
12,307
https://github.com/FRC-1721/Chairmans-Display/blob/master/Chairmans-Display/Chairmans-Display.ino
Github Open Source
Open Source
BSD-3-Clause
null
Chairmans-Display
FRC-1721
null
Spoken
56
158
#include <FastLED.h> #include "Ring.h" // Include a class for constructing rings #define NUM_LEDS 300 // Number of LEDs in the strip #define DATA_PIN 7 // Define the array of leds CRGB leds[NUM_LEDS]; // Rings Ring testRing(0, 40, leds); void setup() { // Setup LEDs FastLED.addLeds<NEOPIXEL, DATA_PIN>(leds,...
46,934
https://github.com/adamocarolli/workers/blob/master/spec/workers/api.worker.js
Github Open Source
Open Source
MIT
2,022
workers
adamocarolli
JavaScript
Code
140
359
import {WorkerInterface} from '../../build/dist/mod.js'; class APIWorker { initialize() { return { result: true }; } setID(id) { if (this.hasOwnProperty('id')) { throw `This worker already has an ID: ${this.id}`; } this.id = id; return { result: true }; ...
39,865
https://github.com/eaniyom/python-challenge-solutions/blob/master/Aniyom Ebenezer/Phase 2/STRINGS/Day_32_Challenge_Solution/Question 6 Solution.py
Github Open Source
Open Source
MIT
2,020
python-challenge-solutions
eaniyom
Python
Code
25
57
""" Write a Python program to format a number with a percentage. """ x = 0.5 print("Original Number is: {}".format(x)) print() print("Formatted Number is: {:.2%}".format(x))
37,339
https://github.com/mrCherry97/busola/blob/master/tests/support/loadFile.js
Github Open Source
Open Source
Apache-2.0
null
busola
mrCherry97
JavaScript
Code
31
88
import jsyaml from 'js-yaml'; export async function loadFile(FILE_NAME, single = true) { const load = single ? jsyaml.load : jsyaml.loadAll; return await new Promise(resolve => { cy.fixture(FILE_NAME).then(fileContent => resolve(load(fileContent))); }); }
26,696
https://github.com/Xotic750/is-nil-x/blob/master/src/is-nil-x.js
Github Open Source
Open Source
MIT
2,015
is-nil-x
Xotic750
JavaScript
Code
54
116
/** * Checks if `value` is `null` or `undefined`. * * @param {*} [value] - The value to check. * @returns {boolean} Returns `true` if `value` is nullish, else `false`. */ const isNil = function isNil(value) { /* eslint-disable-next-line lodash/prefer-is-nil */ return value === null || typeof value === 'undefin...
41,526
https://github.com/nbarbettini/corefx/blob/master/src/System.Drawing.Common/tests/Printing/MarginsTests.cs
Github Open Source
Open Source
MIT
2,017
corefx
nbarbettini
C#
Code
555
1,431
// Licensed to the .NET Foundation under one or more agreements. // See the LICENSE file in the project root for more information. // // Authors: // Sebastien Pouliot <sebastien@ximian.com> // // Copyright (C) 2007 Novell, Inc (http://www.novell.com) // // Permission is hereby granted, free of charge, to any person o...
29,177
https://github.com/ksterx/kxnet/blob/master/blender/Codes/blender_mask2coco_format.py
Github Open Source
Open Source
MIT
null
kxnet
ksterx
Python
Code
82
334
""" Sharpening mask images Please run this code on ImageJ/Fiji (Jython) """ from ij import IJ from ij.plugin import ChannelSplitter, RGBStackMerge from ij.io import DirectoryChooser import os srcDir = DirectoryChooser("Choose Folder").getDirectory() IJ.log("directory: " + srcDir) num_img_dict = {'train': 10000, 'v...
3,338
https://github.com/GeorgeDenis/oop-2022/blob/master/Laborator2/Problema2/Problema2/global.h
Github Open Source
Open Source
MIT
null
oop-2022
GeorgeDenis
C
Code
31
100
#pragma once #include "Student.h" #include <cstring> int comparatie_Name(Student student1, Student student2); int comparatie_gradeMathematics(Student student1, Student student2); int comparatie_gradeEnglish(Student student1, Student student2); int comparatie_gradeHistory(Student student1, Student student2); int compara...
11,127
https://github.com/rkausch/opensphere-desktop/blob/master/open-sphere-base/core/src/main/java/io/opensphere/core/order/impl/config/v1/OrderManagerParticipant.java
Github Open Source
Open Source
LicenseRef-scancode-free-unknown, Apache-2.0, LicenseRef-scancode-public-domain
2,020
opensphere-desktop
rkausch
Java
Code
202
575
package io.opensphere.core.order.impl.config.v1; import java.util.Comparator; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlRootElement; /** Configuration for an order participant. *...
34,889
https://github.com/DimanNe/Hardware-and-Firmware-Security-Guidance/blob/master/secureboot/esl-parser.c
Github Open Source
Open Source
CC0-1.0
2,022
Hardware-and-Firmware-Security-Guidance
DimanNe
C
Code
1,444
3,752
/* * US Government source code released to the public domain * A product of NSA's Cybersecurity Directorate * * Parse ESL (EFI Signature List) files produced by Linux or Windows utilities. * Complex files with multiple sequential lists and numerous records are * supported. Mixed type ESLs are also supported. *...
30,051
https://github.com/srirad/Srini-Adobe-Air/blob/master/citrus-hello/src/multiresolutions/Utils.as
Github Open Source
Open Source
MIT
2,014
Srini-Adobe-Air
srirad
null
Spoken
91
237
package multiresolutions { /** * @author Aymeric */ public class Utils { static public function FindScaleFactor(screenWidth:Number, screenHeight:Number):Number { var minValue:Number = Math.min(screenWidth, screenHeight); if (minValue < 330) //iPhone3GS return 1; // 0.2 in TexturePacker else...
40,157
https://github.com/motech-implementations/evs-mbarara/blob/master/src/main/java/org/motechproject/evsmbarara/scheduler/EvsMbararaScheduler.java
Github Open Source
Open Source
Apache-2.0
null
evs-mbarara
motech-implementations
Java
Code
116
676
package org.motechproject.evsmbarara.scheduler; import java.util.HashMap; import java.util.Map; import org.joda.time.DateTime; import org.joda.time.LocalDate; import org.joda.time.Period; import org.motechproject.commons.date.model.Time; import org.motechproject.commons.date.util.DateUtil; import org.motechproject.eve...
14,682
https://github.com/BookOps-CAT/babel/blob/master/babel/gui/main.py
Github Open Source
Open Source
CC0-1.0, CC-BY-4.0
null
babel
BookOps-CAT
Python
Code
895
4,233
import logging import os from tkinter import * from tkinter import messagebox from tkinter.ttk import * import shelve from PIL import Image, ImageTk from data.datastore import User from gui.data_retriever import get_names, create_name_index from gui.home import HomeView from gui.reports import ReportWizView from gui...
8,602
https://github.com/tmax-cloud/hypercloud-operator/blob/master/src/main/java/k8s/example/client/models/ServiceDNSRecord.java
Github Open Source
Open Source
MIT
2,020
hypercloud-operator
tmax-cloud
Java
Code
287
911
package k8s.example.client.models; import io.kubernetes.client.openapi.models.V1ObjectMeta; public class ServiceDNSRecord { private String apiVersion = null; private String kind = null; private V1ObjectMeta metadata = null; private ServiceDNSRecordSpec spec = null; public String getApiVersion() { return apiV...
37,466
https://github.com/jacquev6/General/blob/master/src/Concepts/Able.ml
Github Open Source
Open Source
MIT
2,019
General
jacquev6
OCaml
Code
38
113
#include "../Generated/Concepts/Able.ml" module Tests = struct include Tests_ module MakeExamples(M: Testable.S0)(E: Examples.S0 with type t := M.t) = E module MakeTests(M: Testable.S0)(E: Examples.S0 with type t := M.t) = struct let tests = [] end include MakeMakers(MakeExamples)(MakeTests) end
50,639
https://github.com/hsky77/hostray/blob/master/hostray/util/orm/__init__.py
Github Open Source
Open Source
MIT
2,022
hostray
hsky77
Python
Code
270
833
# Copyright (C) 2019-Present the hostray authors and contributors # # This module is part of hostray and is released under # the MIT License: http://www.opensource.org/licenses/mit-license.php: ''' This module wraps "SQLAlchemy (https://www.sqlalchemy.org/)" to provide simplified usage in both sync and async execution...
23,626
https://github.com/reggy0/ethereum-nft-activity-main/blob/master/update-gh-pages.sh
Github Open Source
Open Source
MIT
null
ethereum-nft-activity-main
reggy0
Shell
Code
91
236
#!/bin/bash # start on main git checkout main # update foundation contracts python3 foundation.py # update nifty gateway contracts python3 nifty_gateway.py # get the latest ethereum statistics python3 ethereum_stats.py # run the full history generation python3 contracts_history.py \ --prefix "nft" \ --verb...
41,240
https://github.com/Scratchy-Show/ToDoList/blob/master/src/Form/TaskType.php
Github Open Source
Open Source
MIT
2,020
ToDoList
Scratchy-Show
PHP
Code
35
137
<?php namespace App\Form; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\FormBuilderInterface; use Symfony\Component\Form\Extension\Core\Type\TextareaType; class TaskType extends AbstractType { public function buildForm(FormBuilderInterface $builder, array $options) { $builder ...
37,624
https://github.com/LyDinhNhonNghiaSE05508/managetimetable_webapp/blob/master/src/store/modules/arrange.js
Github Open Source
Open Source
MIT
2,020
managetimetable_webapp
LyDinhNhonNghiaSE05508
JavaScript
Code
381
1,128
import { getListSlot, getDataRoom, getDataLecturer, dataListClass, saveCalendar, dataListSubject, getDataTeacherDetail, getDataClassDetail, addConfirm, swapData } from '@/api/arrange' const state = { dataListSlot: [], dataListRoom: [], dataListLecturer: [], dataListClass: [], dataListSubject: [], dataListC...
6,051
https://github.com/beef9999/overlaybd/blob/master/src/overlaybd/utility.h
Github Open Source
Open Source
Apache-2.0
null
overlaybd
beef9999
C
Code
699
2,204
/* Copyright The Overlaybd Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to i...
3,306
https://github.com/ErynQian/fprime/blob/master/GpsApp/Makefile
Github Open Source
Open Source
Apache-2.0
null
fprime
ErynQian
Makefile
Code
19
83
#Makefile to run global make. DEPLOYMENT := GpsApp BUILD_ROOT ?= $(subst /$(DEPLOYMENT),,$(CURDIR)) export BUILD_ROOT default: TIR4 dict_install include $(BUILD_ROOT)/mk/makefiles/deployment_makefile.mk
47,694
https://github.com/edvin/KotlinAcademyApp/blob/master/common/src/test/kotlin/com/marcinmoskala/kotlinacademy/MainPresenterTest.kt
Github Open Source
Open Source
Apache-2.0
2,020
KotlinAcademyApp
edvin
Kotlin
Code
10
37
package com.marcinmoskala.kotlinacademy class MainPresenterTest { fun testParse() { } }
46,431
https://github.com/RePod/Luka/blob/master/Plugins/Sysinfo.pl
Github Open Source
Open Source
MIT
2,014
Luka
RePod
Perl
Code
325
1,183
addPlug('System', { 'creator' => 'Caaz', 'version' => '1.2', 'description' => "It's for System information!", 'name' => 'System Info', 'dependencies' => ['Core_Utilities'], 'code' => { 'load' => sub { if(!$lk{tmp}{plugin}{'System'}{$lk{os}}) { %{$lk{tmp}{plugin}{'System'}{$lk{os}}} = %{&{$lk{plugin}{'System...
19,639
https://github.com/FermJacob/Faker.Data/blob/master/Faker/Faker.Tests/PhoneTests.cs
Github Open Source
Open Source
MIT
2,022
Faker.Data
FermJacob
C#
Code
47
153
//----------------------------------------------------------------------- // <copyright file="PhoneTests.cs"> // Copyright (c) 2019 Jacob Ferm, All rights Reserved // </copyright> //----------------------------------------------------------------------- using System; using Microsoft.VisualStudio.TestTools.UnitTest...
38,539
https://github.com/flowup/api-client-generator/blob/master/tests/esquare/api/models/issue.model.ts
Github Open Source
Open Source
MIT
2,022
api-client-generator
flowup
TypeScript
Code
69
155
/** * This file is auto-generated by the API client generator. * https://github.com/flowup/api-client-generator * * Avoid editing this file manually unless necessary. * Please report any bugs so they can be addressed in future versions. */ /* tslint:disable */ /* eslint-disable */ import { IssueAlertType, } f...
13,884
https://github.com/tony0511/java_note/blob/master/note/teacher/Java_Web/8-JSP/code/day37_jsp/WebContent/03内置对象.jsp
Github Open Source
Open Source
MIT
2,020
java_note
tony0511
null
Spoken
55
361
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Insert title here</title> </head> <bo...
50,406
https://github.com/sebsandberg/sebsandberg.github.io/blob/master/tripio/app/scripts/app.js
Github Open Source
Open Source
Apache-2.0
2,015
sebsandberg.github.io
sebsandberg
JavaScript
Code
202
688
'use strict'; /** * @ngdoc overview * @name webApp * @description * # webApp * * Main module of the application. */ angular .module('webApp', [ 'ngAnimate', 'ngCookies', 'ngResource', 'ngRoute', 'ngSanitize', 'ngTouch', 'akoenig.deckgrid' ]) .config(function ($routeProvider) { ...
1,654
https://github.com/mark-marshall/twilio-flex-interactive-webchat/blob/master/flex-webchat-interactive/node_modules/react-hotkeys/cjs/helpers/parsing-key-maps/isCustomKeyName.js
Github Open Source
Open Source
MIT
2,018
twilio-flex-interactive-webchat
mark-marshall
JavaScript
Code
79
190
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _Configuration = _interopRequireDefault(require("../../lib/config/Configuration")); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } /** * Whether the specifie...
51,237
https://github.com/ybiquitous/homepage/blob/master/src/utils/CopyToClipboard.jsx
Github Open Source
Open Source
MIT
2,019
homepage
ybiquitous
null
Spoken
172
499
import { faCheck, faClone, faTimes } from "@fortawesome/free-solid-svg-icons"; import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; import { useState } from "react"; const INITIAL = "initial"; const SUCCEEDED = "succeeded"; const FAILED = "failed"; /** * @param {{ text: string }} props */ export const ...
39,894
https://github.com/abhinavcreed13/ai-capture-the-flag-pacman-contest/blob/master/myTeamHeuristicAgent.py
Github Open Source
Open Source
MIT
2,021
ai-capture-the-flag-pacman-contest
abhinavcreed13
Python
Code
3,177
9,081
# ######################## Over View ############################ # # Classical Planning follow the following pattern: # # Problem -> Solver -> Plan # # Problem = <S, s_0, S_g, A(s), T(a,s) -> s', C(a,s) -> int> # Solver = explores the problem state space, finding a plan from the initial state to goal # Plan = The...
56,304
https://github.com/darshanhs90/Java-Coding/blob/master/src/servicenow/PhotonBombImageGrid.java
Github Open Source
Open Source
MIT
2,021
Java-Coding
darshanhs90
Java
Code
219
655
package servicenow; import java.io.BufferedReader; import java.io.FileReader; import java.io.IOException; /* * Author : Haridarshan H.S. * Class : PhotonBombImageGrid * Description:This Class is used to instantiate a PhotonBomb Image and convert it to a 2-dimensional character array. */ public class PhotonBombImag...
53,453
https://github.com/anudeep26/rudix/blob/master/Ports/ccache/Makefile
Github Open Source
Open Source
BSD-3-Clause
null
rudix
anudeep26
Makefile
Code
54
221
include ../../Library/GNU.mk Title= ccache Name= ccache Version= 3.1.7 Revision= 1 URL= http://samba.org/ftp/ccache/ Source= $(Name)-$(Version).tar.bz2 ReadMeFile= $(SourceDir)/README.txt LicenseFile= $(SourceDir)/LICENSE.txt define install_post_hook install -d $(InstallDir)/$(Prefix)/libexec/ccache cd $(Install...
44,373
https://github.com/eastar-dev/EastarLog2/blob/master/log/src/main/java/android/log/LogActivity.kt
Github Open Source
Open Source
Apache-2.0
2,022
EastarLog2
eastar-dev
Kotlin
Code
182
685
package android.log import android.app.Activity import android.content.ComponentName import android.content.Intent import android.os.Bundle import androidx.appcompat.app.AppCompatActivity abstract class LogActivity : AppCompatActivity { constructor() : super() constructor(contentLayoutId: Int) : super(conten...
23,793
https://github.com/InsightEdge/xap/blob/master/xap-core/xap-datagrid/src/main/java/com/gigaspaces/internal/server/space/eviction/ChainSegment.java
Github Open Source
Open Source
Apache-2.0
2,022
xap
InsightEdge
Java
Code
1,434
4,309
/* * Copyright (c) 2008-2016, GigaSpaces Technologies, 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 * * Un...
33,173
https://github.com/oddysource-s/OpenOverlayRouter-oor/blob/master/oor/liblisp/lisp_data.c
Github Open Source
Open Source
Apache-2.0
2,022
OpenOverlayRouter-oor
oddysource-s
C
Code
182
492
/* * * Copyright (C) 2011, 2015 Cisco Systems, Inc. * Copyright (C) 2015 CBA research group, Technical University of Catalonia. * * 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: * * ...
1,086
https://github.com/DylanYang0523/node-pg-migrate/blob/master/test/migrations/058_policy_test.js
Github Open Source
Open Source
MIT
2,022
node-pg-migrate
DylanYang0523
JavaScript
Code
87
245
exports.up = async (pgm) => { await Promise.all([ pgm.db.query("INSERT INTO tp(user_name) VALUES ('admin');"), pgm.db.query("INSERT INTO tp(user_name) VALUES ('alice');"), pgm.db.query("INSERT INTO tp(user_name) VALUES ('bob');"), ]) await pgm.db.query('set role admin;') const { length: adminLength ...
1,596
https://github.com/locker/leetcode/blob/master/solutions/move-zeroes/solution.cpp
Github Open Source
Open Source
BSD-2-Clause-FreeBSD
null
leetcode
locker
C++
Code
211
541
#include <iostream> #include <vector> #include <utility> using namespace std; template<typename T> ostream& operator<<(ostream& out, const vector<T>& v) { out << '['; bool first = true; for (const auto& x : v) { if (!first) out << ','; out << x; first = false; } out << ']'; return out; } class Solutio...
9,204
https://github.com/yeastrc/msdapl/blob/master/MSDaPl_Web_App/src/org/yeastrc/www/proteinfer/GOSlimTreeAjaxAction.java
Github Open Source
Open Source
Apache-2.0
2,021
msdapl
yeastrc
Java
Code
203
1,013
/** * */ package org.yeastrc.www.proteinfer; import java.util.List; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.apache.log4j.Logger; import org.apache.struts.action.Action; import org.apache.struts.action.ActionForm; import org.apache.struts.action.Actio...
8,492
https://github.com/hillst/MetaStone/blob/master/src/net/demilich/metastone/game/cards/concrete/neutral/KingMukla.java
Github Open Source
Open Source
MIT
null
MetaStone
hillst
Java
Code
83
495
package net.demilich.metastone.game.cards.concrete.neutral; import net.demilich.metastone.game.GameTag; import net.demilich.metastone.game.actions.BattlecryAction; import net.demilich.metastone.game.cards.MinionCard; import net.demilich.metastone.game.cards.Rarity; import net.demilich.metastone.game.cards.concrete.tok...
37,048
https://github.com/WahajJaved/Hamzar/blob/master/frontend/src/Navbars/Footer/BottomBar.js
Github Open Source
Open Source
Apache-2.0
2,020
Hamzar
WahajJaved
JavaScript
Code
296
1,512
import React from "react" import Grid from "@material-ui/core/Grid"; import BottomAncor from "./BottomAncor"; import BottomBarButtons from "./BottomBarButtons"; import {blueGrey} from "@material-ui/core/colors"; import Button from "@material-ui/core/Button"; import { createMuiTheme, withStyles, makeStyles } from "@mate...
54,838
https://github.com/frendyan/mobile-legend-registration/blob/master/resources/views/userpages/dashboards/dashboard.blade.php
Github Open Source
Open Source
MIT
null
mobile-legend-registration
frendyan
PHP
Code
147
769
@extends('userpages.layouts.master') @section('content') <div class="content-wrapper"> <section class="content"> <div class="container-fluid"> <div class="row" style="padding-top: 20px;"> <div class="col-md-3 col-sm-12"> <div class="card"> <div class="card-body"> ...
6,509
https://github.com/thinkSharp/ddcs-dashboard/blob/master/src/views/acq/add/Depository.js
Github Open Source
Open Source
MIT, JSON
2,020
ddcs-dashboard
thinkSharp
JavaScript
Code
19
43
import React from 'react' const Depository = () => { return ( <div> </div> ) } export default Depository
43,038
https://github.com/cckmit/astrobee_gds/blob/master/gov.nasa.arc.irg.plan/src/gov/nasa/arc/irg/plan/modulebay/ModuleBayPointSerializer.java
Github Open Source
Open Source
Apache-2.0
2,019
astrobee_gds
cckmit
Java
Code
248
962
/****************************************************************************** * Copyright © 2019, United States Government, as represented by the * Administrator of the National Aeronautics and Space Administration. All * rights reserved. * * The Astrobee Control Station platform is licensed under the Apache ...
46,079
https://github.com/angxuejian/Awesome-Algorithm-Study/blob/master/data_struct_study/src/hash_table_problem/Solution1_2.java
Github Open Source
Open Source
Apache-2.0
2,020
Awesome-Algorithm-Study
angxuejian
Java
Code
82
220
package hash_table_problem; import java.util.HashMap; /** * O(n) * O(n) */ public class Solution1_2 { public int[] twoSum(int[] nums, int target) { HashMap<Integer, Integer> record = new HashMap<>(); for (int i = 0; i < nums.length; i++) { record.put(nums[i], i); } ...
39,154
https://github.com/azuse/Gboard-Patched/blob/master/Gboard_renamed_miui/smali/ndq.smali
Github Open Source
Open Source
MIT
2,022
Gboard-Patched
azuse
Smali
Code
80
337
.class final synthetic Lndq; .super Ljava/lang/Object; # interfaces .implements Lndy; # instance fields .field private final a:Lnea; .field private final b:Ljava/lang/String; # direct methods .method public constructor <init>(Lnea;Ljava/lang/String;)V .locals 0 invoke-direct {p0}, Ljava/lang/Object;-><in...
50,311
https://github.com/Walterla/splitabledisplaytag/blob/master/src/test/java/org/displaytag/jsptests/Displ298CsvTest.java
Github Open Source
Open Source
Artistic-1.0
null
splitabledisplaytag
Walterla
Java
Code
146
500
package org.displaytag.jsptests; import org.displaytag.decorator.ModelDecorator; import org.displaytag.properties.MediaTypeEnum; import org.displaytag.tags.TableTagParameters; import org.displaytag.test.DisplaytagCase; import org.displaytag.util.ParamEncoder; import com.meterware.httpunit.GetMethodWebRequest; import ...
37,238
https://github.com/hou80houzhu/brightserver/blob/master/src/main/java/com/test/site/controller/NewsController.java
Github Open Source
Open Source
MIT
null
brightserver
hou80houzhu
Java
Code
237
807
package com.test.site.controller; import com.axes.Result; import com.axes.mvc.annotation.Action; import com.axes.mvc.annotation.Controller; import com.axes.mvc.annotation.ControllerService; import com.axes.mvc.annotation.Filters; import com.axes.mvc.controller.BaseController; import com.axes.mvc.view.View; import com....
19,934
https://github.com/sdlylshl/easymake/blob/master/samples/entries/makefile
Github Open Source
Open Source
Apache-2.0
2,014
easymake
sdlylshl
Makefile
Code
8
33
COMPILE_FLAGS += -O2 LINK_FLAGS += -static include ../../easymake.mk
34,695
https://github.com/zyfzyfhaha/appium-demo/blob/master/pom.xml
Github Open Source
Open Source
Apache-2.0
2,020
appium-demo
zyfzyfhaha
null
Spoken
185
2,146
<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>...
46,967
https://github.com/Huangkai1008/go-algorithms/blob/master/data_structures/hashing/symboltable/symboltable_suite_test.go
Github Open Source
Open Source
MIT
null
go-algorithms
Huangkai1008
Go
Code
254
1,104
package st import ( "testing" . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" . "go-algorithms/data_structures/types" ) var _ = Describe("SymbolTable", func() { var ( st SymbolTable asciiUppercase = [...]string{ "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N...
40,738
https://github.com/chenkaibin/ovirt-engine/blob/master/frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/view/popup/RolePermissionsRemoveConfirmationPopupView.java
Github Open Source
Open Source
Apache-2.0
2,018
ovirt-engine
chenkaibin
Java
Code
88
340
package org.ovirt.engine.ui.common.view.popup; import org.ovirt.engine.core.common.businessentities.Permission; import org.ovirt.engine.ui.common.CommonApplicationMessages; import org.ovirt.engine.ui.common.gin.AssetProvider; import org.ovirt.engine.ui.common.presenter.popup.RolePermissionsRemoveConfirmationPopupPrese...
27,364
https://github.com/nettan20/finch/blob/master/core/src/test/scala/io/finch/route/RouterSpec.scala
Github Open Source
Open Source
LicenseRef-scancode-warranty-disclaimer, Apache-2.0
2,015
finch
nettan20
Scala
Code
1,621
4,390
/* * Copyright 2015, by Vladimir Kostyukov and Contributors. * * This file is a part of a Finch library that may be found at * * https://github.com/finagle/finch * * Licensed under the Apache License, Version 2.0 (the "License"); * You may not use this file except in compliance with the License. * You may...
22,640
https://github.com/kelvich/postgres_pre95/blob/master/src/backend/storage/item.h
Github Open Source
Open Source
LicenseRef-scancode-other-permissive
1,994
postgres_pre95
kelvich
C
Code
59
158
/* * item.h -- * POSTGRES disk item definitions. * * Identification: * $Header$ */ #ifndef ItemIncluded /* Include this file only once. */ #define ItemIncluded 1 #include "tmp/c.h" #include "access/htup.h" typedef Pointer Item; typedef uint16 ItemIndex; typedef uint16 ItemNumber; /* * ItemIsValid * True if...
54,897
https://github.com/Mashiane/BANano-Custom-View-Creator/blob/master/BANanoCVC/pgComponent.bas
Github Open Source
Open Source
MIT
2,020
BANano-Custom-View-Creator
Mashiane
null
Spoken
8,951
33,460
B4J=true Group=Default Group ModulesStructureVersion=1 Type=StaticCode Version=8.45 @EndOfDesignText@ 'Static code module #IgnoreWarnings:12 Sub Process_Globals Public Name As String = "pgComponentCode" Public Title As String = "Component" Private vm As BANanoVM Private vue As BANanoVue Private BANano As BANano ...
4,294
https://github.com/gitter-badger/spot-framework/blob/master/spot-core-model-infrastructure/src/main/java/io/spotnext/core/infrastructure/maven/xml/Types.java
Github Open Source
Open Source
Apache-2.0
null
spot-framework
gitter-badger
Java
Code
971
2,244
package io.spotnext.core.infrastructure.maven.xml; import java.util.ArrayList; import java.util.List; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.an...
18,878
https://github.com/atodorov/welder-web/blob/master/test/end-to-end/utils/commands.js
Github Open Source
Open Source
MIT
null
welder-web
atodorov
JavaScript
Code
304
1,081
const loginPage = require('../pages/login.page'); const blueprintsPage = require('../pages/blueprints.page'); const createBlueprintPage = require('../pages/createBlueprint.page'); const deleteBlueprintPage = require('../pages/deleteBlueprint.page'); const EditBlueprintPage = require('../pages/EditBlueprint.page'); cons...
37,222
https://github.com/Entreco/GiddyApp/blob/master/android/scripts/versions.gradle
Github Open Source
Open Source
Apache-2.0
2,019
GiddyApp
Entreco
Gradle
Code
225
805
ext { appName = "GiddyApp" releaseName = "AppleJack" kotlinVersion = '1.3.50' gradleVersion = '3.5.0' gmsVersion = '4.2.0' compileSdkVersion = 29 minSdkVersion = 24 targetSdkVersion = 29 dependencies = [ dagger = '2.24', material = '1.1.0-alpha10', ...
14,246
https://github.com/opsee/vape/blob/master/vendor/github.com/snorecone/closeio-go/task.go
Github Open Source
Open Source
MIT
2,017
vape
opsee
Go
Code
62
168
package closeio import ( ) type Task struct { LeadId string `json:"lead_id"` AssignedTo string `json:"assigned_to,omitempty"` Text string `json:"text"` DueDate string `json:"due_date,omitempty"` IsComplete bool `json:"is_complete"` } func (c *Closeio) CreateTask(task *Task) (error) { data, err := marshal(task) ...
14,610
https://github.com/dgfonseca/MarketPlace-Procesos-Desarrollo/blob/master/Frontend/src/app/usuario/productor/productor.ts
Github Open Source
Open Source
MIT
2,021
MarketPlace-Procesos-Desarrollo
dgfonseca
TypeScript
Code
29
109
import {Usuario} from "../cliente/usuario"; import {Oferta} from "../../catalogo/oferta/oferta"; export class Productor extends Usuario { id: number; direccion: string; fotoProveedor: string; activado: boolean; numeroTelefono: string; descripcion: string; ofertasProductor: Oferta[]; }
5,677
https://github.com/iorphx/sb69fes-database/blob/master/api/routes/auth.js
Github Open Source
Open Source
MIT
2,020
sb69fes-database
iorphx
JavaScript
Code
133
424
import { Router } from 'express' import passport from 'passport' const router = Router() router.get('/auth/twitter', (req, res, next) => { req.session.redirect = req.query.redirect next() }, passport.authenticate('twitter', { scope: ['profile','email'] })) router.get('/auth/google', (req, res, next) => { req.s...
7,148
https://github.com/VahidDalirii/CarrierOnboarding/blob/master/.editorconfig
Github Open Source
Open Source
MIT
2,021
CarrierOnboarding
VahidDalirii
null
Spoken
157
838
root = true [*] charset = utf-8 insert_final_newline = true trim_trailing_whitespace = true indent_style = space indent_size = 2 [Dockerfile] indent_size = 4 [*.cs] indent_size = 4 [*.bash] end_of_line = lf [*.cs] # name all constant fields using PascalCase dotnet_naming_rule.constant_fields_should_be_pascal_case....
6,699
https://github.com/herbstmensch/enigmaClient/blob/master/src/de/herbstmensch/enigma/model/BouquetList.java
Github Open Source
Open Source
MIT
null
enigmaClient
herbstmensch
Java
Code
49
206
package de.herbstmensch.enigma.model; import java.util.List; import com.thoughtworks.xstream.annotations.XStreamAlias; import com.thoughtworks.xstream.annotations.XStreamImplicit; @XStreamAlias("e2servicelistrecursive") public class BouquetList { @XStreamImplicit(itemFieldName = "e2bouquet") private List<Bouquet>...
26,081
https://github.com/spring-cloud/spring-cloud-sleuth/blob/master/spring-cloud-sleuth-brave/src/main/java/org/springframework/jms/config/TracingJmsListenerEndpointRegistry.java
Github Open Source
Open Source
Apache-2.0, LicenseRef-scancode-generic-cla
2,023
spring-cloud-sleuth
spring-cloud
Java
Code
817
2,530
/* * Copyright 2013-2021 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
28,265
https://github.com/brandocorp/vagrant-rhn-satellite/blob/master/lib/vagrant-rhn-satellite/action/satellite_registration.rb
Github Open Source
Open Source
MIT
2,021
vagrant-rhn-satellite
brandocorp
Ruby
Code
271
1,169
require 'log4r' require 'shellwords' require 'vagrant/util/downloader' module VagrantPlugins module RhnSatellite module Action class SatelliteRegistration def initialize(app, env) @app = app @logger = Log4r::Logger.new("vagrant_rhn_satellite::action::satellite_registration") ...
53,916
https://github.com/nejcpintar/apto-ui-sdk-ios/blob/master/Pod/Classes/ui/CardKit/Statements/MonthList/MonthlyStatementsListInteractor.swift
Github Open Source
Open Source
MIT
2,021
apto-ui-sdk-ios
nejcpintar
Swift
Code
43
152
// // MonthlyStatementsListInteractor.swift // AptoSDK // // Created by Takeichi Kanzaki on 23/09/2019. // import Foundation import AptoSDK class MonthlyStatementsListInteractor: MonthlyStatementsListInteractorProtocol { private let platform: AptoPlatformProtocol init(platform: AptoPlatformProtocol) { self.p...
25,475
https://github.com/matrixxun/FMTech/blob/master/GooglePlay6.0.5/app/src/main/java/com/google/android/finsky/search/SearchLogger.java
Github Open Source
Open Source
Apache-2.0
2,016
FMTech
matrixxun
Java
Code
182
898
package com.google.android.finsky.search; import com.android.volley.VolleyError; import com.google.android.finsky.FinskyApp; import com.google.android.finsky.analytics.BackgroundEventBuilder; import com.google.android.finsky.analytics.FinskyEventLog; import com.google.android.finsky.analytics.PlayStore.SearchSuggestio...
41,607
https://github.com/allisonrandal/pcc_testing/blob/master/ext/Parrot-Embed/lib/Parrot/Interpreter.pm
Github Open Source
Open Source
Artistic-2.0
2,016
pcc_testing
allisonrandal
Perl
Code
561
1,162
package Parrot::Interpreter; # Copyright (C) 2006-2009, Parrot Foundation. # $Id$ use strict; use warnings; our $VERSION = '20081006'; use Parrot::Embed; 1; __END__ =head1 NAME Parrot::Interpreter - access a Parrot interpreter from Perl 5 =head1 VERSION Version 20081006 =head1 SYNOPSIS # the first int...
20,716
https://github.com/blockspacer/LM-Engine/blob/master/lmeditor/src/map_editor/model/states/select.cpp
Github Open Source
Open Source
MIT
2,020
LM-Engine
blockspacer
C++
Code
253
1,505
#include "../model.h" #include <range/v3/view/concat.hpp> namespace lmeditor { map_editor_model::command delete_selected_command{ [](map_editor_model::command_args const &args) { if (args.model.have_selection()) { args.event_handler(map_editor_destroying_entity{ args.model.map, arg...
37,144
https://github.com/dbrugger/ibm-cloud-paks/blob/master/examples/carbon-for-ibm-products/PageHeader/src/Example/SamplePage/SamplePage.jsx
Github Open Source
Open Source
Apache-2.0
2,023
ibm-cloud-paks
dbrugger
JavaScript
Code
463
1,424
import React, { useRef } from "react"; import { PageHeader } from "@carbon/ibm-products"; import { Tabs, TabList, Tab, FlexGrid, Row, Column } from "@carbon/react"; import { Lightning, Bee } from "@carbon/icons-react"; import "./_sample-page.scss"; const actionBarItems = [1, 2, 3, 4].map((item, index) => ({ key: `A...
7,161
https://github.com/romeric/Fastor/blob/master/Fastor/expressions/linalg_ops/unary_inv_op.h
Github Open Source
Open Source
MIT
2,023
Fastor
romeric
C++
Code
2,545
12,614
#ifndef UNARY_INV_OP_H #define UNARY_INV_OP_H #include "Fastor/meta/meta.h" #include "Fastor/backend/inverse.h" #include "Fastor/backend/lut_inverse.h" #include "Fastor/simd_vector/SIMDVector.h" #include "Fastor/tensor/AbstractTensor.h" #include "Fastor/tensor/Aliasing.h" #include "Fastor/tensor/Tensor.h" #include "Fa...
40,132
https://github.com/modstart/ModStartCMS/blob/master/vendor/w7corp/easywechat/src/Kernel/Clauses/Clause.php
Github Open Source
Open Source
Apache-2.0, MIT
2,023
ModStartCMS
modstart
PHP
Code
140
365
<?php /* * This file is part of the overtrue/wechat. * * (c) overtrue <i@overtrue.me> * * This source file is subject to the MIT license that is bundled * with this source code in the file LICENSE. */ namespace EasyWeChat\Kernel\Clauses; /** * Class Clause. * * @author mingyoung <mingyoungcheung@gmail.com> ...
33,265
https://github.com/boneskull/cli-command/blob/master/test/unit/types/custom.js
Github Open Source
Open Source
MIT
2,014
cli-command
boneskull
JavaScript
Code
79
242
var path = require('path'); var expect = require('chai').expect; var pkg = path.normalize( path.join(__dirname, '..', '..', '..', 'package.json')); var types = require('../../..').types; describe('cli-command:', function() { it('should use custom converter function (always error)', function(done) { var cli = r...
30,836
https://github.com/dekisr/Udacity-ReactND-Readable/blob/master/client/src/reducers/currentUser.js
Github Open Source
Open Source
MIT
null
Udacity-ReactND-Readable
dekisr
JavaScript
Code
30
77
import { SET_CURRENT_USER } from '../actions/currentUser' const currentUser = (state = null, action) => { switch (action.type) { case SET_CURRENT_USER: return action.name default: return state } } export default currentUser
33,146
https://github.com/mageeYang/FWC/blob/master/FWC/kingkong/src/main/java/com/mageeyang/kingkong/StaleDataException.java
Github Open Source
Open Source
Apache-2.0
null
FWC
mageeYang
Java
Code
51
126
package com.mageeyang.kingkong; /** * This exception is thrown when a Cursor contains stale data and must be * requeried before being used again. * * @author MageeYang * @datetime 2016/9/19 * @description */ public class StaleDataException extends RuntimeException { public StaleDataException() { ...
48,839
https://github.com/agmghazi/arcgis-js-api/blob/master/dijit/analysis/nls/lv/DescribeDataset.js
Github Open Source
Open Source
Apache-2.0, CC0-1.0
2,021
arcgis-js-api
agmghazi
JavaScript
Code
165
417
// COPYRIGHT © 2020 Esri // // All rights reserved under the copyright laws of the United States // and applicable international laws, treaties, and conventions. // // This material is licensed for use under the Esri Master License // Agreement (MLA), and is bound by the terms of that agreement. // You may redistribute...
2,624
https://github.com/luyadev/luya-module-admin/blob/master/src/models/StorageFile.php
Github Open Source
Open Source
MIT
2,023
luya-module-admin
luyadev
PHP
Code
1,147
3,068
<?php namespace luya\admin\models; use luya\admin\behaviors\LogBehavior; use luya\admin\filters\MediumThumbnail; use luya\admin\filters\TinyCrop; use luya\admin\traits\TaggableTrait; use luya\helpers\FileHelper; use luya\helpers\Json; use luya\web\Application; use Yii; use yii\behaviors\TimestampBehavior; use yii\db\...
50,381
https://github.com/jstefaniuk-d2l/tile/blob/master/CODEOWNERS
Github Open Source
Open Source
Apache-2.0
2,017
tile
jstefaniuk-d2l
CODEOWNERS
Code
4
21
* @jstefaniuk-d2l * @dlockhart
13,938
https://github.com/Mwangimburu/table_banking/blob/master/app/SmartMicro/Repositories/Eloquent/AccountLedgerRepository.php
Github Open Source
Open Source
MIT
2,021
table_banking
Mwangimburu
PHP
Code
138
535
<?php /** * Created by PhpStorm. * User: kevin * Email: robisignals@gmail.com * Date: 20/10/2019 * Time: 01:59 */ namespace App\SmartMicro\Repositories\Eloquent; use App\Models\AccountLedger; use App\SmartMicro\Repositories\Contracts\AccountLedgerInterface; use Illuminate\Support\Facades\DB; class AccountLedge...
48,013
https://github.com/AyuMol758/bazel/blob/master/src/main/java/com/google/devtools/build/lib/pkgcache/TestFilter.java
Github Open Source
Open Source
Apache-2.0
2,022
bazel
AyuMol758
Java
Code
591
1,915
// Copyright 2015 The Bazel Authors. 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 appl...
43,663
https://github.com/chengbing0211/CMS/blob/master/CMSNew/Model/ViewModel/TestSystem/TestSystemModel.cs
Github Open Source
Open Source
Apache-2.0
2,017
CMS
chengbing0211
C#
Code
255
594
using Model.EasyUIModel; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Model.ExpandModel { public class TestSystemModel { public string TestSystemId { get; set; } public string TestSystemNO { get; set; } pu...
28,276