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/thierrymichel/vapper/blob/master/examples/typescript/src/server.ts
Github Open Source
Open Source
MIT
null
vapper
thierrymichel
TypeScript
Code
13
29
export default function () { console.log('【******* Only run on the server *******】') }
20,561
https://github.com/aghreed/photojenich/blob/master/src/components/project/project.detail.paragraph.image.jsx
Github Open Source
Open Source
MIT
null
photojenich
aghreed
null
Spoken
66
262
import React from "react"; import "./_project.detail.paragraph.image.scss"; const ParagraphImage = ({ goofy, image, title, text, text2 }) => ( <section className="paragraph-image-section"> <div className={`paragraph-image-container ${goofy ? 'goofy' : ''}`}> { !goofy && <div clas...
45,663
https://github.com/kubernetes-sigs/cloud-provider-azure/blob/master/pkg/azclient/Makefile
Github Open Source
Open Source
Apache-2.0
2,023
cloud-provider-azure
kubernetes-sigs
Makefile
Code
797
3,036
# Copyright 2022 The Kubernetes 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 ...
34,662
https://github.com/willianOliveiraMX/personalFinanceChatBot/blob/master/src/user/userStage/stage.interface.ts
Github Open Source
Open Source
MIT
null
personalFinanceChatBot
willianOliveiraMX
TypeScript
Code
13
35
export interface stageInterface { id?: number, description?: string, stageidentifier?: string, isvalid?: boolean, };
22,816
https://github.com/AlessandroMinoccheri/symfony4_prooph/blob/master/src/Prooph/Model/Enum.php
Github Open Source
Open Source
MIT
null
symfony4_prooph
AlessandroMinoccheri
PHP
Code
41
137
<?php declare(strict_types=1); namespace App\Prooph\Model; use MabeEnum\Enum as MabeEnum; use MabeEnum\EnumSerializableTrait; use Serializable; abstract class Enum extends MabeEnum implements Serializable, ValueObject { use EnumSerializableTrait; public function sameValueAs(ValueObject $object): bool ...
5,975
https://github.com/WassimBenltaief/albums/blob/master/core/src/main/java/com/wassim/showcase/core/utils/ModelBuilders.kt
Github Open Source
Open Source
Apache-2.0
null
albums
WassimBenltaief
Kotlin
Code
93
377
package com.wassim.showcase.core.utils import com.wassim.showcase.core.data.remote.Album import com.wassim.showcase.core.data.remote.AlbumCover import com.wassim.showcase.core.data.remote.AlbumList import com.wassim.showcase.core.data.remote.AlbumSearchWrapper import com.wassim.showcase.core.data.remote.AlbumTag impor...
23,980
https://github.com/fr34k8/go-api-boilerplate/blob/master/pkg/domain/event.go
Github Open Source
Open Source
MIT
2,022
go-api-boilerplate
fr34k8
Go
Code
119
397
package domain import ( "fmt" "time" "github.com/google/uuid" ) type RawEvent interface { GetType() string } // Event contains id, payload and metadata type Event struct { ID uuid.UUID `json:"id"` Type string `json:"type"` StreamID uuid.UUID `json:"stream_id"` Stre...
55,227
https://github.com/tyrantqiao/ant_frontend/blob/master/src/pages/Profile/models/profile.js
Github Open Source
Open Source
MIT
null
ant_frontend
tyrantqiao
JavaScript
Code
303
1,031
import { getGeoNodes, getSegmentSafe, getNodeSafeCount, getLineChartData, getNodeCount, countSegmentedByTimescale } from '@/services/api'; import {object} from 'prop-types'; import moment from 'moment'; export default { namespace : 'profile', state : { visitData: [], no...
38,509
https://github.com/hyperdivision/blockexplorers/blob/master/btc/blockcyphercom.js
Github Open Source
Open Source
ISC
2,019
blockexplorers
hyperdivision
JavaScript
Code
32
172
module.exports = { name: 'Blockcypher', url: 'https://live.blockcypher.com/btc/', transaction (tx) { return `https://live.blockcypher.com/btc/tx/${tx}/` }, address (address) { return `https://live.blockcypher.com/btc/address/${address}/` }, block (block) { return `https://live.blockcypher.com/...
29,764
https://github.com/anton415/java-courses/blob/master/Junior/Part_1_Collections_Pro/src/main/java/ru/aserdyuchenko/generic/task_5_2_2/User.java
Github Open Source
Open Source
Apache-2.0
2,018
java-courses
anton415
Java
Code
30
82
package ru.aserdyuchenko.generic.task_5_2_2; /** * @author anton. */ public class User extends Base { /** * Constructor. * @param id - user id. */ public User(String id) { super(id); } }
3,026
https://github.com/Agile-Team-B/drcare-gui/blob/master/src/app/pages/other-medical-staff/create-other-medical-staff.model.ts
Github Open Source
Open Source
MIT
null
drcare-gui
Agile-Team-B
TypeScript
Code
12
31
import { IUser } from '../users/user.model'; export interface ICreateOtherMedicalStaff extends IUser{ }
16,621
https://github.com/V3Main-Tech/acs-community-packaging/blob/master/war/src/main/webapp/cmisfs/stylesheets/relationships.xsl
Github Open Source
Open Source
Apache-2.0
2,020
acs-community-packaging
V3Main-Tech
null
Spoken
666
5,383
<?xml version="1.0" encoding="UTF-8"?> <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, ...
3,207
https://github.com/dariotrombello/engelsburg-app/blob/master/lib/src/pages/settings/substitutes_settings_page.dart
Github Open Source
Open Source
Apache-2.0
2,021
engelsburg-app
dariotrombello
Dart
Code
366
1,610
import 'package:engelsburg_app/src/provider/substitute.dart'; import 'package:engelsburg_app/src/services/notification_service.dart'; import 'package:engelsburg_app/src/widgets/switch_expandable.dart'; import 'package:flutter/material.dart'; import 'package:flutter_gen/gen_l10n/app_localizations.dart'; import 'package:...
9,701
https://github.com/DwayneJengSage/BridgeServer2/blob/master/src/test/java/org/sagebionetworks/bridge/services/UploadSchemaServiceTest.java
Github Open Source
Open Source
Apache-2.0
2,021
BridgeServer2
DwayneJengSage
Java
Code
2,603
12,376
package org.sagebionetworks.bridge.services; import static org.mockito.Mockito.any; import static org.mockito.Mockito.anyBoolean; import static org.mockito.Mockito.anyString; import static org.mockito.Mockito.eq; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.never; import static org.mockito...
47,481
https://github.com/WesleDev/bootcamp-launchbase/blob/master/09-persistindo-dados-foodfy/src/routes.js
Github Open Source
Open Source
MIT
2,020
bootcamp-launchbase
WesleDev
JavaScript
Code
63
394
const express = require('express'); const routes = express.Router(); const recipes = require('./app/controllers/recipes'); const website = require('./app/controllers/website'); const chefs = require('./app/controllers/chefs'); routes.get("/", website.index); routes.get("/website/sobre", website.sobre); routes.get("/we...
26,316
https://github.com/martin-nikolov/Telerik-Academy/blob/master/Programming with C#/3. C# Object-Oriented Programming/08. OOP Practical Workshop - Academy Popcorn/AcademyPopcorn/AcademyPopcorn/IndestructibleBlock.cs
Github Open Source
Open Source
MIT
2,021
Telerik-Academy
martin-nikolov
C#
Code
40
135
using System; using System.Linq; namespace AcademyPopcorn { public class IndestructibleBlock : Block { public const char Symbol = '|'; public IndestructibleBlock(MatrixCoords upperLeft) : base(upperLeft) { this.body[0, 0] = IndestructibleBlock.Symbol; }...
23,993
https://github.com/iliakonnov/glacier/blob/master/ices/81924.rs
Github Open Source
Open Source
MIT, Apache-2.0
2,021
glacier
iliakonnov
Rust
Code
5
10
#![a = {enum b {
15,050
https://github.com/gregdferrell/algo/blob/master/problems/test_rect.py
Github Open Source
Open Source
MIT
null
algo
gregdferrell
Python
Code
128
399
from .rect import solution def test_solution_with_overlap(): rect1 = { # Coordinates of bottom-left corner 'left_x': 1, 'bottom_y': 1, # Width and height 'width': 6, 'height': 3, } rect2 = { # Coordinates of bottom-left corner 'left_x': 5, 'bottom_y': 2, # Width and height 'width': 3, 'h...
6,259
https://github.com/Dejan85/proenglish-gatsby/blob/master/src/components/frontend/events/partials/MonthlyEvents.tsx
Github Open Source
Open Source
MIT
null
proenglish-gatsby
Dejan85
TypeScript
Code
51
145
import React from 'react'; import { ContentContainer } from '@/components/ui'; import Scheduler from '@/widgets/scheduler/Scheduler'; import { MonthlyEventsProps } from '../types'; const MonthlyEvents = (props: MonthlyEventsProps) => { const { filteredActiveEventsDates: { filteredEvents }, currentMonth, } ...
48,004
https://github.com/bovsunovsky/myGentella/blob/master/Makefile
Github Open Source
Open Source
MIT
null
myGentella
bovsunovsky
Makefile
Code
87
244
.PHONY: up down build check fix up: ${INFO} "Up dockers" @ docker-compose up -d ${INFO} "UP complete" down: ${INFO} "Down dockers" @ docker-compose down ${INFO} "Down complete" build: ${INFO} "Start build" @ docker-compose build ${INFO} "Finish build" check: ${INFO} "Start checking code" @ composer cs-c...
11,936
https://github.com/goldmansachs/obevo-kata/blob/master/kata-files/lesson2/postgresql/expected/MYLARGESCHEMA/function/func29.sql
Github Open Source
Open Source
Apache-2.0
2,022
obevo-kata
goldmansachs
SQL
Code
40
173
CREATE FUNCTION func29() RETURNS integer LANGUAGE plpgsql AS $$ DECLARE val INTEGER; BEGIN val:=(SELECT COUNT(*)INTO MYCOUNT FROM MYLARGESCHEMA.TABLE308);val:=(SELECT COUNT(*)INTO MYCOUNT FROM MYLARGESCHEMA.TABLE39);val:=(SELECT COUNT(*)INTO MYCOUNT FROM MYLARGESCHEMA.TABLE336);val:=(SELECT COUNT(*)INTO MYCOUNT...
4,061
https://github.com/Sibbiheim/Cascade/blob/master/src/Cascade/CascadeCPP/StrategyStyleSelector.cpp
Github Open Source
Open Source
MIT
2,014
Cascade
Sibbiheim
C++
Code
279
585
/* * The MIT License (MIT) * * Copyright (c) 2013 Sibbiheim, LLC. * * Permission is hereby granted, free of charge, to any person obtaining a copy of * this software and associated documentation files (the "Software"), to deal in * the Software without restriction, including without limitation the rights to * use, copy...
18,131
https://github.com/rubengomex/backend-api-starter/blob/master/src/logger/index.js
Github Open Source
Open Source
MIT
null
backend-api-starter
rubengomex
JavaScript
Code
27
87
const Sentry = require('@sentry/node') const config = require('../configuration') const { PRODUCTION_ENV } = require('../constants') if (config.get('NODE_ENV') === PRODUCTION_ENV) { Sentry.init({ dsn: config.get('SENTRY_DSN') }) } module.exports = Sentry
17,495
https://github.com/ogzolmz/java-samples/blob/master/sorting-algoritms/BinarySearchAlgorithm.java
Github Open Source
Open Source
MIT
2,019
java-samples
ogzolmz
Java
Code
98
205
public class BinarySearchAlgorithm { public static int binarySearch(int[] list, int key) { int low = 0; int up = list.length - 1; while (low <= up) { int mid = (low + up) / 2; if (key < list[mid]) up = mid - 1; else if (key == list[mid]) ...
6,695
https://github.com/chaoranxie/AMC-Trip-Listings/blob/master/amc-trips-to-boston-hb-page.xsl
Github Open Source
Open Source
BSD-2-Clause
2,019
AMC-Trip-Listings
chaoranxie
null
Spoken
1,013
7,050
<?xml version="1.0" encoding="utf-8"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:param name="groupTitle">AMC Worcester Young Members</xsl:param> <xsl:param name="rssURL"/> <xsl:param name="icsURL"/> <xsl:param name="byDate" select="0"/> <xsl:include href="amc-trips-t...
38,937
https://github.com/msxiehui/OnlineStoreAndPaimai/blob/master/litemall-db/src/main/java/org/jinyuanjava/litemall/db/dao/CommonDBMapper.java
Github Open Source
Open Source
MIT
2,022
OnlineStoreAndPaimai
msxiehui
Java
Code
32
162
package org.jinyuanjava.litemall.db.dao; import java.util.List; import java.util.Map; public interface CommonDBMapper { /** * 传入Sql语句通过存储过程返回分页的结果,包括结果集及总条数 * @param param 传入的含有分页的语句 * @return */ List procedureDaoList(Map<String, Object> param); Integer procedureInsert(Map<String, O...
56,386
https://github.com/balabit-deps/balabit-os-7-libbsf-java/blob/master/src/org/apache/bsf/engines/javaclass/JavaClassEngine.java
Github Open Source
Open Source
Apache-2.0
null
balabit-os-7-libbsf-java
balabit-deps
Java
Code
359
738
/* * Copyright 2004,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...
26,543
https://github.com/lrn2prgrm/shopping-cart/blob/master/website/src/main/java/com/cesarmando/website/config/WebSecurityConfig.java
Github Open Source
Open Source
MIT
null
shopping-cart
lrn2prgrm
Java
Code
64
321
package com.cesarmando.website.config; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Value; import org.springframework.context.annotation.Configuration; import org.springframework.core.env.Environment; import org.springframework.security.config.annot...
2,314
https://github.com/achristensen6/tvOS130Headers/blob/master/usr/libexec/dmd/DMDTestEventStream.h
Github Open Source
Open Source
MIT
2,019
tvOS130Headers
achristensen6
Objective-C
Code
69
223
/* * This header is generated by classdump-dyld 1.0 * on Tuesday, November 5, 2019 at 3:11:36 PM Mountain Standard Time * Operating System: Version 13.0 (Build 17J586) * Image Source: /usr/libexec/dmd * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Limneos. */ #import <dmd/DMDEventTypeStream.h...
15,894
https://github.com/bannable/dobby/blob/master/spec/dobby/flag_manager.rb
Github Open Source
Open Source
MIT
2,019
dobby
bannable
Ruby
Code
244
838
# frozen_string_literal: true require 'spec_helper' RSpec.describe Dobby::FlagManager do let(:user1) { double('user1') } let(:user2) { double('user2') } let(:ticket) { double('ticket') } let(:dummy_time) { Time.local(2017) } let(:yaml) do { whitelist: whitelist_entries, allowed: allowed_entr...
13,782
https://github.com/Omar-Radwan/Data_Classification/blob/master/misc/excel_writer.py
Github Open Source
Open Source
MIT
2,022
Data_Classification
Omar-Radwan
Python
Code
178
1,029
import os import xlwt from xlrd import open_workbook from xlwt import Workbook from xlutils.copy import copy from misc.constants import * class ExcelWriter: def __init__(self, sheet_name): self.sheet_name = sheet_name if not os.path.exists(WORK_BOOK_PATH): wb = Workbook() ...
45,829
https://github.com/steakknife/pcgeos/blob/master/Installed/Appl/EduApps/Fontmgck/dependencies.mk
Github Open Source
Open Source
Apache-2.0
2,022
pcgeos
steakknife
Makefile
Code
515
2,671
ASMTOOLS.obj \ ASMTOOLS.eobj: ASMTOOLS/asmtoolsManager.asm \ geos.def resource.def gstring.def graphics.def fontID.def \ font.def color.def text.def char.def FONTDRVR.obj \ FONTDRVR.eobj: FONTDRVR/fontdrvrManager.asm \ geos.def fontm.obj \ fontm.eobj: stdapp.goh object.go...
55,552
https://github.com/Anonymous866/Data-Structures/blob/master/STACKS/Cpp/balancedParanthesis.cpp
Github Open Source
Open Source
Apache-2.0
2,021
Data-Structures
Anonymous866
C++
Code
275
771
#include <cstdlib> #include <iostream> #include <string> using namespace std; bool isempty(); /*=======> IMPLEMENTATION OF STACK <=======*/ static int top = -1; //storing top of a stack char *stack; //dynamic stack /*===============> ISEMPTY <===============*/ //returns boolean whether the stack is empty or not bool...
11,857
https://github.com/quanhengwen/uC-GUI/blob/master/Microsoft/Windows/Sample/GUIDemo/GUIDEMO_Polygon.c
Github Open Source
Open Source
MIT
null
uC-GUI
quanhengwen
C
Code
272
868
/* ********************************************************************************************************* * uC/GUI * Universal graphic software for embedded applications * * (c) Copyright 2002, Micrium Inc., Weston, FL * ...
32,930
https://github.com/Sajaki/intellij-community/blob/master/platform/script-debugger/debugger-ui/src/org/jetbrains/debugger/MemberFilterWithNameMappings.kt
Github Open Source
Open Source
Apache-2.0
2,020
intellij-community
Sajaki
Kotlin
Code
175
367
/* * Copyright 2000-2017 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
17,112
https://github.com/informatics-isi-edu/chaise/blob/master/test/e2e/specs/delete-prohibited/recordset/histogram-facet.spec.js
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, Apache-2.0
2,023
chaise
informatics-isi-edu
JavaScript
Code
1,360
5,291
var chaisePage = require('../../../utils/chaise.page.js'); var EC = protractor.ExpectedConditions; var testParams = { schema_name: "histogram-faceting", table_name: "main", totalNumFacets: 4, facetNames: ["int_col", "float_col", "date_col", "timestamp_col"], facets: [ { name: "in...
6,222
https://github.com/bcgov/PIMS/blob/master/frontend/src/hooks/api/properties/constants/PropertyType.ts
Github Open Source
Open Source
Apache-2.0
2,023
PIMS
bcgov
TypeScript
Code
20
44
export enum PropertyType { Parcel = 0, Building = 1, Subdivision = 2, DraftParcel = 3, DraftBuilding = 4, }
16,343
https://github.com/eosite/java-template-benchmark/blob/master/src/test/java/com/mitchellbosecke/benchmark/ExpectedOutputTest.java
Github Open Source
Open Source
BSD-3-Clause
null
java-template-benchmark
eosite
Java
Code
228
876
package com.mitchellbosecke.benchmark; import static org.junit.Assert.assertEquals; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.Locale; import org.junit.BeforeClass; import org.junit.Test; import com.mitchellbosecke.pebble.error.PebbleException; imp...
23,207
https://github.com/wxlittle/ui.anglepicker/blob/master/index.js
Github Open Source
Open Source
MIT
null
ui.anglepicker
wxlittle
JavaScript
Code
3
16
module.exports = require("ui.anglepicker.js");
46,191
https://github.com/eripahle/rock20083/blob/master/finance/WebFinance/application/controllers/file_csv.php
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, MIT
2,015
rock20083
eripahle
PHP
Code
42
150
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class File_csv extends CI_Controller { public function __construct() { parent::__construct(); $this->load->helper(array('form', 'url')); } // Index login public function index() { $data = array( 'title' => 'FILE CSV',...
38,274
https://github.com/GathoMauricio/dotech/blob/master/database/migrations/2021_01_21_180244_add_status_to_expenses.php
Github Open Source
Open Source
MIT
null
dotech
GathoMauricio
PHP
Code
37
136
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class AddStatusToExpenses extends Migration { public function up() { Schema::table('expenses', function (Blueprint $table) { $table->string('status')->after('a...
40,225
https://github.com/lechium/iPhoneOS_12.1.1_Headers/blob/master/System/Library/PrivateFrameworks/ConstantClasses.framework/ConstantClasses.h
Github Open Source
Open Source
MIT
2,021
iPhoneOS_12.1.1_Headers
lechium
C
Code
20
148
#import <ConstantClasses/_NSConstantArrayEnumerator.h> #import <ConstantClasses/_NSConstantArray.h> #import <ConstantClasses/_NSConstantNumber.h> #import <ConstantClasses/_NSConstantNumberInt.h> #import <ConstantClasses/_NSConstantNumberFloat.h> #import <ConstantClasses/_NSConstantNumberBool.h> #import <ConstantClasses...
7,535
https://github.com/sebbycake/questionly/blob/master/src/components/navbar/About.js
Github Open Source
Open Source
MIT
null
questionly
sebbycake
JavaScript
Code
105
257
import React from "react"; // About Us page function About() { return ( <div> <div className="nav-container"> <div className="about-us"> <h1>About Us.</h1> </div> <div className="about-content"> <h2>Can't ...
30,384
https://github.com/TechnologyClubOfThrace/astropi/blob/master/hoc/2_hello_custom.py
Github Open Source
Open Source
MIT
2,019
astropi
TechnologyClubOfThrace
Python
Code
13
51
from sense_hat import SenseHat sense = SenseHat() sense.set_rotation(270) while True: sense.show_message("Hello from Alexandroupolis")
56,627
https://github.com/techiemokhele/movie-app/blob/master/src/components/movie-grid/MovieGrid.jsx
Github Open Source
Open Source
MIT
null
movie-app
techiemokhele
null
Spoken
406
1,168
import React, { useState, useEffect, useCallback } from "react"; import { useHistory, useParams } from "react-router"; import tmdbApi, { category, movieType, tvType } from "../../api/tmdbApi"; import MovieCard from "../movie-card/MovieCard.jsx"; import Button, { OutlineButton } from "../button/Button.jsx"; import Input...
30,687
https://github.com/pak11273/monorepo/blob/master/lib/templates/json/init.js
Github Open Source
Open Source
MIT
2,021
monorepo
pak11273
JavaScript
Code
46
126
const npmMerge = async (params) => { // merge params to config object const config = { name: params.projectName || "project", private: true, workspaces: ["packages/*"], scripts: { bootstrap: "lerna bootstrap --use-workspaces", }, devDependencies: { lerna: "^3.20.2", }, } ...
33,692
https://github.com/jtlehtinen/platformer/blob/master/Assets/Scripts/Defs.cs
Github Open Source
Open Source
MIT
null
platformer
jtlehtinen
C#
Code
82
242
namespace pf { public static class Defs { public const int SAVEDATA_VERSION = 1; public const int LEVEL_AMOUNT = 3; public const int OBJECTIVES_PER_LEVEL = 3; public const float GRACE_PERIOD_LENGTH = 2.0f; public const float COLLECTABLE_FADE_TIME = 1.0f; public ...
47,344
https://github.com/hoaianhkhang/dashboard-angular/blob/master/src/app/theme/services/rehive.js
Github Open Source
Open Source
MIT
2,019
dashboard-angular
hoaianhkhang
JavaScript
Code
34
124
(function () { 'use strict'; angular.module('BlurAdmin.theme') .factory('Rehive', Rehive); /** @ngInject */ function Rehive($window,environmentConfig) { var config = { apiVersion: 3, storageMethod: 'local', customAPIURL: environmentConfig.API ...
55,423
https://github.com/kuopinghsu/FreeRTOS-BTF-Trace/blob/master/Demo/Makefile
Github Open Source
Open Source
MIT
null
FreeRTOS-BTF-Trace
kuopinghsu
Makefile
Code
170
920
include ./Makefile.common FREERTOS_SRC = \ $(FREERTOS_SOURCE_DIR)/croutine.c \ $(FREERTOS_SOURCE_DIR)/list.c \ $(FREERTOS_SOURCE_DIR)/queue.c \ $(FREERTOS_SOURCE_DIR)/tasks.c \ $(FREERTOS_SOURCE_DIR)/timers.c \ $(FREERTOS_SOURCE_DIR)/stream_buffer.c \ $(FREERTOS_SOURCE_DIR)/event_groups.c \...
42,468
https://github.com/NortySpock/DIUN_dotnet6_mvc_statuspage/blob/master/Views/_ViewImports.cshtml
Github Open Source
Open Source
MIT
null
DIUN_dotnet6_mvc_statuspage
NortySpock
C#
Code
7
50
@using DIUN_dotnet_mvc_statuspage @using DIUN_dotnet_mvc_statuspage.Models @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
18,317
https://github.com/superowner/Elysium-Extra/blob/master/Source/Framework.UI/Controls/Spinner/Spinner.cs
Github Open Source
Open Source
MIT
2,017
Elysium-Extra
superowner
C#
Code
253
765
namespace Framework.UI.Controls { using System; using System.Windows; using System.Windows.Controls; /// <summary> /// Base class for controls that represents controls that can spin. /// </summary> public abstract class Spinner : Control { public static readonly DependencyPrope...
8,506
https://github.com/ishiiyuuta/ishiiyuuta.github.io/blob/master/src/app/jsprojecgts/owl-api/owl-api.component.spec.ts
Github Open Source
Open Source
MIT
null
ishiiyuuta.github.io
ishiiyuuta
TypeScript
Code
54
187
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { OwlApiComponent } from './owl-api.component'; describe('OwlApiComponent', () => { let component: OwlApiComponent; let fixture: ComponentFixture<OwlApiComponent>; beforeEach(async(() => { TestBed.configureTestingModule({ ...
56,008
https://github.com/sfu-db/dataprep/blob/master/docs/source/user_guide/clean/clean_ec_ruc.ipynb
Github Open Source
Open Source
MIT
2,023
dataprep
sfu-db
Jupyter Notebook
Code
950
3,182
{ "cells": [ { "cell_type": "markdown", "id": "decent-enzyme", "metadata": {}, "source": [ "# Ecuadorian Company Tax Numbers" ] }, { "cell_type": "markdown", "id": "fallen-prospect", "metadata": {}, "source": [ "## Introduction" ] }, { "cell_type": "markdown", "id"...
6,764
https://github.com/alkyu92/crm/blob/master/app/controllers/accounts_controller.rb
Github Open Source
Open Source
MIT
2,018
crm
alkyu92
Ruby
Code
435
1,948
class AccountsController < ApplicationController def index @accounts = Account.page(params[:page]).per(10) @account = current_user.accounts.build end def show @account = Account.includes( :relationships, :opportunities, :contacts, :user).find(params[:id]) @subject = @account if params[:s...
39,800
https://github.com/p4j4dyxcry/TsNode/blob/master/TsNode.Test/NodesDrag.cs
Github Open Source
Open Source
MIT
2,020
TsNode
p4j4dyxcry
C#
Code
412
1,659
using System; using System.Collections.Generic; using System.Windows; using System.Windows.Controls; using System.Windows.Input; using TsNode.Controls; using TsNode.Controls.Connection; using TsNode.Controls.Drag; using TsNode.Controls.Drag.Controller; using TsNode.Interface; using Xunit; namespace TsNode.Test { ...
45,163
https://github.com/bambuchaAdm/customs-declare-exports-frontend/blob/master/test/forms/declaration/DestinationCountriesSpec.scala
Github Open Source
Open Source
Apache-2.0
2,019
customs-declare-exports-frontend
bambuchaAdm
Scala
Code
184
496
/* * Copyright 2019 HM Revenue & Customs * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
25,171
https://github.com/sshyran/optaplanner/blob/master/core/optaplanner-core-impl/src/main/java/org/optaplanner/core/impl/heuristic/selector/move/generic/chained/TailChainSwapMoveSelectorFactory.java
Github Open Source
Open Source
Apache-2.0
2,022
optaplanner
sshyran
Java
Code
95
650
package org.optaplanner.core.impl.heuristic.selector.move.generic.chained; import org.optaplanner.core.config.heuristic.selector.common.SelectionCacheType; import org.optaplanner.core.config.heuristic.selector.common.SelectionOrder; import org.optaplanner.core.config.heuristic.selector.entity.EntitySelectorConfig; imp...
14,099
https://github.com/atuwa/Bouyomi/blob/master/Bouyomi/src/bouyomi/Counter.java
Github Open Source
Open Source
MIT
2,021
Bouyomi
atuwa
Java
Code
949
4,830
package bouyomi; import java.io.BufferedInputStream; import java.io.BufferedOutputStream; import java.io.BufferedReader; import java.io.DataInputStream; import java.io.DataOutputStream; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import ja...
56,179
https://github.com/simmsb/hs-geojson/blob/master/Makefile
Github Open Source
Open Source
BSD-3-Clause
null
hs-geojson
simmsb
Makefile
Code
80
277
MFLAGS = MAKEFLAGS = $(MFLAGS) SANDBOX = .cabal-sandbox CABAL_FLAGS = DEPS = .cabal-sandbox/.foo .PHONY: build test tags clean clobber default: test ${SUBMODULE_DEPS}: git submodule init git submodule update ${SANDBOX}: ${SUBMODULE_DEPS} cabal sandbox init ${DEPS}: ${SANDBOX} $(wildcard *.cabal) cabal install ...
17,335
https://github.com/ignusin/platformui/blob/master/scripts/core.js
Github Open Source
Open Source
Apache-2.0
null
platformui
ignusin
JavaScript
Code
288
775
var PlatformUI = { }; (function (ns) { ns.version = '2.0.0-beta'; ns.body = function () { return document.body; }; ns.element = function (arg) { if (typeof arg !== 'undefined') { if (typeof arg === 'string') { if (arg.length > 0) { ...
57,229
https://github.com/MStokluska/3scale-operator/blob/master/controllers/capabilities/openapi_controller.go
Github Open Source
Open Source
Apache-2.0
2,022
3scale-operator
MStokluska
Go
Code
1,166
4,509
/* Copyright 2020 Red Hat. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distri...
34,689
https://github.com/muskanshaikh05/osass/blob/master/doxygen/html/search/defines_2.js
Github Open Source
Open Source
MIT
2,020
osass
muskanshaikh05
JavaScript
Code
20
997
var searchData= [ ['c',['C',['../d0/d56/console_8c.html#ac54ae397901fe700628cafadea3c5208',1,'C():&#160;console.c'],['../d7/df4/kbd_8h.html#ac54ae397901fe700628cafadea3c5208',1,'C():&#160;kbd.h']]], ['capslock',['CAPSLOCK',['../d7/df4/kbd_8h.html#ad36c01c5d7b1fc13a22426a497ac1b8b',1,'kbd.h']]], ['cmos_5fport',['C...
18,821
https://github.com/AlexX333BY/mpp-dotnet-assembly-browser/blob/master/AssemblyBrowser/AssemblyBrowser.Model.UnitTests/SimpleTypeUnitTests.cs
Github Open Source
Open Source
MIT
null
mpp-dotnet-assembly-browser
AlexX333BY
C#
Code
91
439
using Microsoft.VisualStudio.TestTools.UnitTesting; using AssemblyBrowser.Model.UnitTests.TestAssembly; using System.IO; namespace AssemblyBrowser.Model.UnitTests { [TestClass] public class SimpleTypeUnitTests { TestType typeInstance; AssemblyInfo assemblyInfo; string fullNamespace...
45,676
https://github.com/c-bata/sklearn-onnx/blob/master/skl2onnx/operator_converters/LabelBinariser.py
Github Open Source
Open Source
MIT
2,019
sklearn-onnx
c-bata
Python
Code
151
879
# ------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # -------------------------------------------------------------------------- from ..pr...
53,918
https://github.com/franklinmarcano1970/fermat/blob/master/DAP/android/reference_wallet/fermat-dap-android-reference-wallet-asset-user/src/main/java/org/fermat/fermat_dap_android_wallet_asset_user/common/header/WalletAssetUserHeaderClickListener.java
Github Open Source
Open Source
LicenseRef-scancode-warranty-disclaimer, MIT
2,016
fermat
franklinmarcano1970
Java
Code
30
112
package org.fermat.fermat_dap_android_wallet_asset_user.common.header; import android.view.View; /** * Created by Matias Furszyfer on 2015.11.16.. */ public class WalletAssetUserHeaderClickListener implements View.OnClickListener{ public WalletAssetUserHeaderClickListener() { } @Override public vo...
46,276
https://github.com/Dimashky/Quadcopter-Simulator/blob/master/Quadcopter Simulator/Quadcopter_Simulator/Physics/reciever/receiver.cs
Github Open Source
Open Source
MIT
2,019
Quadcopter-Simulator
Dimashky
C#
Code
287
1,046
using MathNet.Numerics.LinearAlgebra; using Quadcopter_Simulator; using System.Runtime.InteropServices; using static TripleM.Quadcopter.Physics.config; namespace TripleM.Quadcopter.Physics { class receiver { // pwm signals when a certain key is pressed private float roll_pwm; private f...
10,424
https://github.com/ContinuumBridge/zwave.me_key_ring/blob/master/adaptor_a.py
Github Open Source
Open Source
MIT
null
zwave.me_key_ring
ContinuumBridge
Python
Code
598
1,943
#!/usr/bin/env python # adaptor_a.py # Copyright (C) ContinuumBridge Limited, 2014 - All Rights Reserved # Written by Peter Claydon # ModuleName = "zwave.me_key_ring" BATTERY_CHECK_INTERVAL = 21600 # How often to check battery (secs) = 6 hours import sys import time import os from pprint import ppri...
28,595
https://github.com/Apl0m3/CLKJ-MINJIAOBAO-JAVA/blob/master/src/main/java/com/lingkj/project/user/entity/UserDesignerApplication.java
Github Open Source
Open Source
Apache-2.0
null
CLKJ-MINJIAOBAO-JAVA
Apl0m3
Java
Code
186
676
package com.lingkj.project.user.entity; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import com.lingkj.project.user.dto.CommissionDto; import lombok.Data; import java.io.Serializable; import java.util.D...
10,258
https://github.com/wesleyfuchter/kotlin-scenario-builder/blob/master/src/test/kotlin/com/wesleyfuchter/kotlinscenariobuilder/demo/dbtest/DatabaseSchema.kt
Github Open Source
Open Source
Apache-2.0
null
kotlin-scenario-builder
wesleyfuchter
Kotlin
Code
56
183
package com.wesleyfuchter.kotlinscenariobuilder.demo.dbtest import com.wesleyfuchter.kotlinscenariobuilder.demo.model.* import org.springframework.beans.factory.annotation.Autowired import org.springframework.stereotype.Component interface DatabaseSchema { val cities: Cities val customers: Customers val p...
45,661
https://github.com/dbisUnibas/adampro/blob/master/src/main/scala/org/vitrivr/adampro/query/distance/JaccardDistance.scala
Github Open Source
Open Source
MIT
2,021
adampro
dbisUnibas
Scala
Code
114
365
package org.vitrivr.adampro.query.distance import org.vitrivr.adampro.data.datatypes.vector.Vector._ import org.vitrivr.adampro.query.distance.Distance._ import org.vitrivr.adampro.utils.Logging /** * ADAMpro * * Ivan Giangreco * June 2016 * * from Julia: 1 - sum(min(x, y)) / sum(max(x, y)) */ object Ja...
32,569
https://github.com/websiteinspiration/percy-web/blob/master/app/components/collaboration/new-thread.js
Github Open Source
Open Source
MIT
2,019
percy-web
websiteinspiration
JavaScript
Code
95
377
import Component from '@ember/component'; import {readOnly} from '@ember/object/computed'; import {inject as service} from '@ember/service'; import {isEmpty} from '@ember/utils'; export default Component.extend({ flashMessages: service(), tagName: '', shouldShowNewCommentInput: false, currentUser: null, areC...
39,009
https://github.com/xdiume/anem-per-feina/blob/master/accounts/migrations/0004_remove_user_role.py
Github Open Source
Open Source
MIT
2,020
anem-per-feina
xdiume
Python
Code
28
103
# Generated by Django 3.0.7 on 2020-10-25 18:08 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('accounts', '0003_auto_20201014_0629'), ] operations = [ migrations.RemoveField( model_name='user', name='role', ), ...
36,721
https://github.com/newname606/CdRoom/blob/master/application/fish/controller/BuildLabel.php
Github Open Source
Open Source
Apache-2.0
null
CdRoom
newname606
PHP
Code
16
54
<?php namespace app\fish\controller; class BuildLabel extends Base{ protected $title = '楼盘标签管理'; protected $controller_name = "BuildLabel"; }
29,561
https://github.com/gnoliyil/fuchsia/blob/master/tools/net/sshutil/resolver.go
Github Open Source
Open Source
BSD-2-Clause
2,022
fuchsia
gnoliyil
Go
Code
116
218
// Copyright 2021 The Fuchsia Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package sshutil import ( "context" "net" ) // Resolver produces a `net.Addr` for the sshutil connections. It abstracts // over how the address is produ...
53,824
https://github.com/jasmine/jasmine/blob/master/spec/core/matchers/toBeNaNSpec.js
Github Open Source
Open Source
MIT
2,023
jasmine
jasmine
JavaScript
Code
90
359
describe('toBeNaN', function() { it('passes for NaN with a custom .not fail', function() { const matcher = jasmineUnderTest.matchers.toBeNaN(); const result = matcher.compare(Number.NaN); expect(result.pass).toBe(true); expect(result.message).toEqual('Expected actual not to be NaN.'); }); it('fai...
36,626
https://github.com/webvul/MWIDCardInfo/blob/master/Podfile
Github Open Source
Open Source
MIT
2,015
MWIDCardInfo
webvul
Ruby
Code
9
50
platform :ios, '7.0' inhibit_all_warnings! #仅支持iOS7以上版本 pod 'MWIDCardValidate', '~> 1.0.0'
30,877
https://github.com/ge-tbms/tbms-packages/blob/master/packages/tbms-util/src/event.ts
Github Open Source
Open Source
MIT
2,020
tbms-packages
ge-tbms
TypeScript
Code
207
629
/** * ---------------------------------- * @file event.ts * @desc 事件基类 * @author Matrix <18967131010@163.com> * @create: 2018/12 * ---------------------------------- */ import { ICallback } from "./global"; export default class EventEmitter { private _eventMap = new Map(); /** * emit * @param {String}...
43,119
https://github.com/AlexPanich/cms/blob/master/resources/views/dashboard/user/index.blade.php
Github Open Source
Open Source
MIT
null
cms
AlexPanich
PHP
Code
83
410
@extends('layouts.dashboard') @section('page_title') Пользователи @endsection @section('content_title') Список пользователей @endsection() @section('content') <?php $i = ($users->currentPage() - 1) * 10 + 1?> <table class="table"> <thead> <th class="numberlist">№</th> <th>Имя<...
13,939
https://github.com/Alejandroid101/data-structures-and-algorithms-401c/blob/master/challenges/CH16-FizzBuzzTree/CH16-FizzBuzzTree/Traverse.cs
Github Open Source
Open Source
MIT
null
data-structures-and-algorithms-401c
Alejandroid101
C#
Code
105
387
using System; using System.Collections.Generic; using System.Text; namespace CH16_FizzBuzzTree { class Traverse<T> { public Node<object> Root { get; set; } public Traverse(object value) { Root = new Node<object>(value); } public List<object> PreOrd...
32,990
https://github.com/sorajate/nunuStudio/blob/master/source/core/loaders/MaterialLoader.js
Github Open Source
Open Source
MIT, LicenseRef-scancode-proprietary-license
2,023
nunuStudio
sorajate
JavaScript
Code
182
453
import {DefaultLoadingManager, MaterialLoader as TMaterialLoader} from "three"; /** * MaterialLoader can be used to load external materials. * * @class MaterialLoader * @module Loaders * @param {Object} manager */ function MaterialLoader(manager) { this.manager = manager !== undefined ? manager : DefaultLoading...
56,098
https://github.com/nvkhedkar/python-code/blob/master/learn/my_saas_python_class/server_ex1/app.py
Github Open Source
Open Source
Apache-2.0
null
python-code
nvkhedkar
Python
Code
178
819
from flask import Flask, jsonify from flask import request from flask_caching import Cache import time, datetime import my_saas_python_class.server_ex1.caching as rc import my_saas_python_class.server_ex1.db_shapes as dbs from my_saas_python_class.saas_workers.saas_job import simple_task config = { # "DEBUG": Tru...
11,548
https://github.com/MonkeyKingMKY/luaide-lite/blob/master/test/slua/Assets/Slua/LuaObject/Unity/Lua_UnityEngine_UI_CanvasUpdate.cs
Github Open Source
Open Source
MIT
2,019
luaide-lite
MonkeyKingMKY
C#
Code
30
182
using System; using SLua; using System.Collections.Generic; [UnityEngine.Scripting.Preserve] public class Lua_UnityEngine_UI_CanvasUpdate : LuaObject { static public void reg(IntPtr l) { getEnumTable(l,"UnityEngine.UI.CanvasUpdate"); addMember(l,0,"Prelayout"); addMember(l,1,"Layout"); addMember(l,2,"PostLayo...
51,043
https://github.com/joshuarwatson/MiwokApp/blob/master/app/src/main/java/com/example/android/miwok/NumbersActivity.java
Github Open Source
Open Source
Apache-2.0
null
MiwokApp
joshuarwatson
Java
Code
458
1,401
package com.example.android.miwok; import android.media.AudioManager; import android.media.MediaPlayer; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.util.Log; import android.view.View; import android.widget.AdapterView; import android.widget.ArrayAdapter; import android.wid...
43,022
https://github.com/LogicalSapien/JoAn/blob/master/src/main/java/com/logicalsapien/joan/model/PaginationDto.java
Github Open Source
Open Source
MIT
null
JoAn
LogicalSapien
Java
Code
55
131
package com.logicalsapien.joan.model; import lombok.Data; /** * Model to handle pagination request. */ @Data public class PaginationDto { /** * Page number starting 0. */ private int page; /** * Number of items per page. */ private int size; /** * Sort field. */ private String sort;...
44,970
https://github.com/dtulga/arcBlocks/blob/master/arc/input.cpp
Github Open Source
Open Source
MIT
null
arcBlocks
dtulga
C++
Code
1,055
4,384
#include "input.h" namespace arc { inline int32_t float_to_int32_round(float x) { return (x >= 0.0) ? int32_t(x + 0.5) : int32_t(x - 0.5); } InputModule input; // Thread Safe int SDLCALL InternalHandleInterruptEvent(void*, SDL_Event* event) { // (First pointer is unused userdata) return input.HandleInterruptEvent...
37,365
https://github.com/JScriber/Kaboom/blob/master/web-service/src/database/contract/alterations/bonus.contract.ts
Github Open Source
Open Source
MIT
null
Kaboom
JScriber
TypeScript
Code
35
175
/** * Contract for {@link BonusEntity}. */ const BONUS_CONTRACT = { WALL_PASS: 'wall_pass', FIRE_SUIT: 'fire_suit', BOMB_UP: 'bomb_up', SKATE: 'skate', YELLOW_FLAME: 'yellow_flame', RED_FLAME: 'red_flame', BOMB_DISARMER: 'bomb_disarmer', POWER_GLOVE: 'power_glove', HEART: 'heart', LIFE_U...
10,420
https://github.com/heliumfoot/BridgeAndroidSDK/blob/master/sageresearch-app-sdk/src/main/java/org/sagebionetworks/research/sageresearch/viewmodel/ReportAndScheduleViewModel.kt
Github Open Source
Open Source
Apache-2.0
2,020
BridgeAndroidSDK
heliumfoot
Kotlin
Code
646
1,630
/* * BSD 3-Clause License * * Copyright 2018 Sage Bionetworks. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice,...
50,596
https://github.com/ilabafrica/hivqa-backend/blob/master/app/Http/Controllers/TestKitController.php
Github Open Source
Open Source
MIT
2,020
hivqa-backend
ilabafrica
PHP
Code
180
497
<?php namespace App\Http\Controllers; use App\TestKit; use Illuminate\Http\Request; class TestKitController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { // } /** * Show the form f...
54,621
https://github.com/rafiyasirin/jackrabbit-oak/blob/master/oak-jackrabbit-api/src/main/java/org/apache/jackrabbit/api/binary/BinaryUpload.java
Github Open Source
Open Source
Apache-2.0
2,022
jackrabbit-oak
rafiyasirin
Java
Code
1,906
3,401
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
49,694
https://github.com/JetBrains/intellij-community/blob/master/plugins/kotlin/idea/tests/testData/codeInsight/postfix/forNumberInverse.kt
Github Open Source
Open Source
Apache-2.0, LicenseRef-scancode-unknown-license-reference
2,023
intellij-community
JetBrains
Kotlin
Code
5
18
fun foo() { 42.forr<caret> }
17,773
https://github.com/jingcao80/Elastos/blob/master/Sources/Elastos/Frameworks/Droid/DevSamples/bak/Launcher/xul/chrome/tests/browser_forms.js
Github Open Source
Open Source
Apache-2.0
2,021
Elastos
jingcao80
JavaScript
Code
825
2,801
let testURL = chromeRoot + "browser_forms.html"; messageManager.loadFrameScript(chromeRoot + "remote_forms.js", true); let newTab = null; function test() { // This test is async waitForExplicitFinish(); // Need to wait until the page is loaded messageManager.addMessageListener("pageshow", function(aMessage) ...
51,424
https://github.com/cheahjs/gdk-for-unity/blob/master/workers/unity/Packages/io.improbable.gdk.tools/GenerateCode.cs
Github Open Source
Open Source
MIT, LicenseRef-scancode-proprietary-license
2,021
gdk-for-unity
cheahjs
C#
Code
1,312
4,843
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text.RegularExpressions; using System.Xml.Linq; using UnityEditor; using UnityEditor.PackageManager; using UnityEngine; using UnityEngine.Profiling; namespace Improbable.Gdk.Tools { internal static class GenerateCode ...
15,906
https://github.com/opensafely-core/stata-docker/blob/master/bin/ado/base/_/_spivreg_parse.ado
Github Open Source
Open Source
BSD-Source-Code
null
stata-docker
opensafely-core
null
Spoken
455
1,824
*! version 1.1.0 30mar2018 program _spivreg_parse version 15.0 _on_colon_parse `0' local before `s(before)' local after `s(after)' local 0 `before' syntax anything(name=obj_names), /// touse(string) local SPREG : word 1 of `obj_names' local MLOPT : word 2 of `obj_names' local 0 `after' syntax anyt...
7,271
https://github.com/shenweima/GEAN/blob/master/script/getPrimaryTranscriptSequenceFromGeanOutput.pl
Github Open Source
Open Source
MIT
2,019
GEAN
shenweima
Perl
Code
106
547
#!perl use strict; use warnings FATAL => 'all'; my $seq=""; my $name=""; my %seqs; open INPUT, "$ARGV[1]"; while( my $line=<INPUT> ){ if( $line=~/^>(\S+)/ ){ if( length($seq)>0 && length($name)>0 ){ $seqs{$name}=$seq; } $name=$1; $seq=""; }else{ $seq = $seq ....
8,154
https://github.com/bundy-dns/bundy/blob/master/src/lib/dns/tests/testdata/name_toWire5.spec
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, ISC, BSL-1.0
2,021
bundy
bundy-dns
Python
Code
64
164
# # A sequence of names that would be compressed case-sensitive manner. # First name: "a.example.com" # Second name: "b.eXample.com". Due to case-sensitive comparison only "com" # can be compressed. # Third name: "c.eXample.com". "eXample.com" part matches that of the second # name and can be compressed. # [custom] ...
35,201
https://github.com/go-nacelle/log/blob/master/base_logger_test.go
Github Open Source
Open Source
MIT
2,022
log
go-nacelle
Go
Code
303
1,023
package log import ( "testing" "github.com/derision-test/glock" mockassert "github.com/derision-test/go-mockgen/testutil/assert" "github.com/stretchr/testify/assert" ) func TestBaseLoggerLogFormat(t *testing.T) { sink := NewMockLogSink() clock := glock.NewMockClock() logger := newTestLogger(sink, LevelDebug, ...
13,197
https://github.com/nestatbn28/Sistem-Informasi/blob/master/bisukma/resources/views/admin.blade.php
Github Open Source
Open Source
MIT
2,021
Sistem-Informasi
nestatbn28
Blade
Code
1,437
7,559
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <meta name="description" content=""> <meta name="author" content=""> <title>Admin BISUKMA</t...
21,399
https://github.com/nuui/lottery/blob/master/src/main/webapp/WEB-INF/views/mobile/dream/index.jsp
Github Open Source
Open Source
Apache-2.0
2,018
lottery
nuui
null
Spoken
240
2,158
<%@ page contentType="text/html;charset=UTF-8" %> <%@ include file="/WEB-INF/views/include/taglib.jsp"%> <html> <head> <title>index</title> <meta name="decorator" content="default"/> </head> <body class="home-template"> <div class="navbar navbar-inner navbar-fixed-top"> <div class="container"> <div cl...
27,901
https://github.com/strategist922/Lily/blob/master/global/solr-test-fw/src/main/java/org/lilyproject/solrtestfw/TempSolrHome.java
Github Open Source
Open Source
Apache-2.0
2,011
Lily
strategist922
Java
Code
305
989
/* * Copyright 2010 Outerthought bvba * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
37,688
https://github.com/LAP2/compose-jb/blob/master/web/core/src/jsMain/kotlin/org/jetbrains/compose/web/attributes/builders/InputAttrsBuilder.kt
Github Open Source
Open Source
Apache-2.0
2,021
compose-jb
LAP2
Kotlin
Code
145
506
/* * Copyright 2020-2021 JetBrains s.r.o. and respective authors and developers. * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE.txt file. */ package org.jetbrains.compose.web.attributes.builders import androidx.compose.web.events.SyntheticEvent import org.jetbrains...
18,184