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/TaitoUnited/full-stack-template/blob/master/client/src/components/uikit/types.ts
Github Open Source
Open Source
MIT
2,022
full-stack-template
TaitoUnited
TypeScript
Code
103
291
import type { PropsWithoutRef, ComponentProps } from 'react'; import type { DefaultTheme, StyledComponent } from 'styled-components'; import type { Theme } from '~constants/theme'; export type StyledTheme = DefaultTheme & Theme; export type WithResponsiveProps<T extends Record<string, any>> = { [P in keyof T]: ...
10,896
https://github.com/ddrmaster1000/Arduino/blob/master/libraries/LPD8806/examples/longstrandtest/longstrandtest.pde
Github Open Source
Open Source
MIT
null
Arduino
ddrmaster1000
null
Spoken
314
671
#include "LPD8806.h" #include "SPI.h" // Simple test for 160 (5 meters) of LPD8806-based RGB LED strip // Not compatible with Trinket/Gemma due to limited RAM /*****************************************************************************/ // Number of RGB LEDs in strand: int nLEDs = 160; // Chose 2 pins for output;...
11,482
https://github.com/indrojitroy/GameJam/blob/master/Games/JumpHigh/JumpHighGame.swift
Github Open Source
Open Source
MIT
2,020
GameJam
indrojitroy
Swift
Code
59
138
// // JumpHighGame.swift // Swift Alps Game Jam // // Created by Florin Voicu on 23/11/2017. // import Foundation import SpriteKit /// Game implementation for demo purposes final class JumpHighGame: Game { var name: String { return "JumpHighGame" } var authors: [String] { return ["Florin Voicu", "George Mu...
12,260
https://github.com/TimeToUpgrade/calendar/blob/master/library/src/main/java/com/prolificinteractive/materialcalendarview/DayViewDecorator.java
Github Open Source
Open Source
MIT
2,022
calendar
TimeToUpgrade
Java
Code
80
162
package com.prolificinteractive.materialcalendarview; /** * Decorate Day views with drawables and text manipulation */ public interface DayViewDecorator { /** * Determine if a specific day should be decorated * * @param day {@linkplain CalendarDay} to possibly decorate * @return true if this decorator...
52,142
https://github.com/JohnBrodie/visual-kanban/blob/master/lib/jfreechart-1.0.14/source/org/jfree/chart/imagemap/DynamicDriveToolTipTagFragmentGenerator.java
Github Open Source
Open Source
MIT
null
visual-kanban
JohnBrodie
Java
Code
429
854
/* =========================================================== * JFreeChart : a free chart library for the Java(tm) platform * =========================================================== * * (C) Copyright 2000-2011, by Object Refinery Limited and Contributors. * * Project Info: http://www.jfree.org/jfreechart/in...
2,956
https://github.com/ymchog/Notes/blob/master/lib/ui/components/shimmerContainer.dart
Github Open Source
Open Source
MIT
null
Notes
ymchog
Dart
Code
110
378
import 'package:flutter/material.dart'; import 'package:shimmer/shimmer.dart'; class ShimmerContainer extends StatelessWidget { final double? height; final double? width; final double? aspectRatio; final BorderRadiusGeometry? borderRadius; final EdgeInsetsGeometry? margin; ShimmerContainer({ this.heigh...
20,490
https://github.com/eGovFrame/egovframework.rte.root/blob/master/Batch/egovframework.rte.bat.core/src/main/java/egovframework/rte/bat/core/item/file/transform/EgovFixedByteLengthTokenizer.java
Github Open Source
Open Source
Apache-2.0
2,022
egovframework.rte.root
eGovFrame
Java
Code
590
1,624
/* * Copyright 2006-2007 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
30,623
https://github.com/DweebsUnited/CodeMonkey/blob/master/DiscardedEyelid/CircularBuffer.pde
Github Open Source
Open Source
BSD-3-Clause
null
CodeMonkey
DweebsUnited
null
Spoken
73
163
class CircularBuffer { private float[] data; private int capacity; private int wHead; public CircularBuffer( int capacity ) { this.capacity = capacity; this.wHead = 0; this.data = new float[ capacity ]; } public void put( float value ) { data[ this.wHead++ ] = valu...
31,697
https://github.com/TiarkRompf/virtualization-lms-core/blob/master/src/internal/Effects.scala
Github Open Source
Open Source
BSD-3-Clause
2,018
virtualization-lms-core
TiarkRompf
Scala
Code
3,045
8,154
package scala.lms package internal import scala.reflect.SourceContext import util.GraphUtil import scala.collection.mutable import scala.annotation.unchecked.uncheckedVariance trait Blocks extends Expressions { case class Block[+T](val res: Exp[T]) { def tp: Typ[T @uncheckedVariance] = res.tp } // variance ... ...
20,830
https://github.com/wl-net/arcusios/blob/master/i2app/i2app/ApplicationRoutingService.swift
Github Open Source
Open Source
Apache-2.0
null
arcusios
wl-net
Swift
Code
2,616
7,096
// // ApplicationRoutingService.swift // i2app // // Created by Arcus Team on 10/24/17. /* * Copyright 2019 Arcus Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http:...
15,424
https://github.com/Aeliot-Tm/translation-maintain/blob/master/src/Service/ApiTranslator/LimitKeeper.php
Github Open Source
Open Source
MIT
2,023
translation-maintain
Aeliot-Tm
PHP
Code
155
585
<?php declare(strict_types=1); namespace Aeliot\Bundle\TransMaintain\Service\ApiTranslator; use Aeliot\Bundle\TransMaintain\Exception\ApiLimitOutOfBoundsException; use Aeliot\Bundle\TransMaintain\Model\ApiLimitReport; final class LimitKeeper { private LimitRepository $limitRepository; /** * @var array<...
15,001
https://github.com/bkazoo/AdaptiveIconBitmap/blob/master/app/src/main/java/example/sarsamurmu/adaptiveiconbitmap/MainActivity.java
Github Open Source
Open Source
Apache-2.0
2,022
AdaptiveIconBitmap
bkazoo
Java
Code
212
1,060
package example.sarsamurmu.adaptiveiconbitmap; import androidx.appcompat.app.AppCompatActivity; import androidx.core.content.ContextCompat; import android.graphics.Bitmap; import android.graphics.drawable.AdaptiveIconDrawable; import android.graphics.drawable.Drawable; import android.os.Bundle; import android.os.Envi...
39,525
https://github.com/lechium/iOS1351Headers/blob/master/System/Library/Health/FeedItemPlugins/MenstrualCyclesAppPlugin.healthplugin/MenstrualCyclesAppPlugin.BasalBodyTemperatureLoggingCardDataSource.h
Github Open Source
Open Source
MIT
2,022
iOS1351Headers
lechium
C
Code
64
227
/* * This header is generated by classdump-dyld 1.5 * on Wednesday, October 27, 2021 at 3:23:36 PM Mountain Standard Time * Operating System: Version 13.5.1 (Build 17F80) * Image Source: /System/Library/Health/FeedItemPlugins/Me...
11,192
https://github.com/deeptrace/js-packages/blob/master/packages/commons/lib/UnprocessableEntityHttpError.ts
Github Open Source
Open Source
MIT
2,020
js-packages
deeptrace
TypeScript
Code
47
135
import UserFaultHttpError from './UserFaultHttpError'; class UnprocessableEntityHttpError extends UserFaultHttpError { public readonly details: Object[]; constructor({ code, message, stack, details = [] }: { code: string; message: string; stack?: string; details: Object[]; }) {...
53,631
https://github.com/groupe-edf/windows-cloud-plugin/blob/master/src/main/java/fr/edf/jenkins/plugins/windows/http/connection/HttpConnectionConfiguration.groovy
Github Open Source
Open Source
Apache-2.0
2,021
windows-cloud-plugin
groupe-edf
Groovy
Code
39
111
package fr.edf.jenkins.plugins.windows.http.connection import hudson.model.ModelObject /** * Connection configuration for powershell-daemon * * @author Mathieu Delrocq * */ class HttpConnectionConfiguration { String host String contextPath Integer port Integer connectionTimeout Integer readT...
15,416
https://github.com/yTakkar/React-Instagram-Clone-2.0/blob/master/routes/user/login-routes.js
Github Open Source
Open Source
MIT
2,021
React-Instagram-Clone-2.0
yTakkar
JavaScript
Code
297
846
// ALL THE USER LOGIN-RELATED ROUTES ARE HANDLED BY THIS FILE const app = require('express').Router(), db = require('../../config/db'), User = require('../../config/User'), mw = require('../../config/Middlewares'), { uniqBy } = require('lodash') // USER LOGIN GET ROUTE app.get('/login', mw.NotLoggedIn, (req, ...
6,987
https://github.com/HPI-SWA-Teaching/Salsify/blob/master/packages/Salsify-Interaction-test.package/SfRootComponentTest.class/instance/testAssignment.st
Github Open Source
Open Source
MIT
null
Salsify
HPI-SWA-Teaching
null
Spoken
66
197
tests testAssignment self loginAsJulia. self assertLoginSuccessful. self assert: (self isTextPresent: 'belegen'). self enrollLink click. self assert: (self isTextPresent: 'belegt als Student.'). self logoutLink click. self loginAsRobert; assert: (self isTextPresent: 'Aktuelle Lehrveranstaltungen'). self courseLink c...
42,753
https://github.com/Black-Beard-Sdk/Decompile/blob/master/src/Black.Beard.Sdk.Decompiler/Decompiler/IlParser/OpCodes/InlineSwitchInstruction.cs
Github Open Source
Open Source
BSD-3-Clause
null
Decompile
Black-Beard-Sdk
C#
Code
332
923
using System.Reflection.Emit; namespace Bb.Sdk.Decompiler.IlParser { /// <summary> /// InlineSwitchInstruction /// </summary> //[System.Diagnostics.DebuggerDisplay("{}")] public class InlineSwitchInstruction : ILInstruction { /// <summary> /// Initializes a new instance of the...
10,483
https://github.com/apivideo/statuspage-php/blob/master/src/Api/Metrics.php
Github Open Source
Open Source
Apache-2.0
2,021
statuspage-php
apivideo
PHP
Code
352
1,160
<?php namespace ApiVideo\StatusPage\Api; use ApiVideo\StatusPage\Model\Metric; use ApiVideo\StatusPage\Traits\Marshal; use ApiVideo\StatusPage\Traits\LastError; use ApiVideo\StatusPage\Traits\Throwing; use ApiVideo\StatusPage\Exception\NotFound; use ApiVideo\StatusPage\Exception\Forbidden; use ApiVideo\StatusPage\Exc...
11,695
https://github.com/marios8543/Jellyfin-CLI/blob/master/jellyfin_cli/jellyfin_client/data_classes/Audio.py
Github Open Source
Open Source
MIT
2,022
Jellyfin-CLI
marios8543
Python
Code
109
365
from jellyfin_cli.jellyfin_client.data_classes.Items import Item class Audio(Item): def __init__(self, res, context): super().__init__(res, context) self.production_year = res["ProductionYear"] if "ProductionYear" in res else None self.artists = res["Artists"] if "Artists" in res else ["Unk...
8,433
https://github.com/iuryferreira/idigis/blob/master/src/Idigis.Core/Persistence/Repositories/ChurchRepository.cs
Github Open Source
Open Source
MIT
2,021
idigis
iuryferreira
C#
Code
325
1,143
using System.Threading.Tasks; using Idigis.Core.Domain.Entities; using Idigis.Core.Persistence.Contracts; using Idigis.Core.Persistence.Models; using Microsoft.EntityFrameworkCore; using Notie.Contracts; namespace Idigis.Core.Persistence.Repositories { internal class ChurchRepository : IChurchRepository { ...
32,532
https://github.com/joecare99/Public/blob/master/Games/Source/asteroids/uHighscores.pas
Github Open Source
Open Source
MIT
2,021
Public
joecare99
Pascal
Code
524
1,835
Unit uHighscores; {$IFDEF FPC} {$MODE Delphi} {$ENDIF} Interface Uses {$IFDEF FPC} LCLIntf, LCLType, FileUtil, {$ENDIF}SysUtils, Classes, Dialogs, Forms, ComCtrls, Controls, ExtCtrls, StdCtrls; Type tHighscores = Class(tForm) PanelList: tPanel; ListView: tListView; Procedure Form_Create(Sender: tObjec...
3,865
https://github.com/choplin/pgenv/blob/master/command_cluster_create.go
Github Open Source
Open Source
PostgreSQL
null
pgenv
choplin
Go
Code
198
599
package main import ( "fmt" "path/filepath" log "github.com/Sirupsen/logrus" "github.com/codegangsta/cli" ) // DoClusterCreate is an implementation of cluster create command func DoClusterCreate(c *cli.Context) { args := c.Args() if len(args) == 0 { showHelpAndExit(c, "<version> must be specified") } pg, ...
11,928
https://github.com/SimeonC/i18n-ally/blob/master/examples/by-features/extractions/a.tsx
Github Open Source
Open Source
MIT
2,022
i18n-ally
SimeonC
TypeScript
Code
15
32
const world = 'World' const a = `Hello ${world}` const foo = <div className="h1 mt-4"/>
21,373
https://github.com/A-Scratchy/fetch/blob/master/lib/review_rating_parser.rb
Github Open Source
Open Source
MIT
2,020
fetch
A-Scratchy
Ruby
Code
70
215
module ReviewRatingParser def get_rating(item, rating_key) review_rating = item['reviewRating'] || {} Float(String(review_rating[rating_key])) if review_rating[rating_key] rescue ArgumentError nil end def claim_result_score_from_raw_claim_review(item) best = get_rating(item, 'bestRating') w...
51,552
https://github.com/NablaWebkom/nablaweb/blob/master/nablapps/album/views.py
Github Open Source
Open Source
MIT
2,019
nablaweb
NablaWebkom
Python
Code
287
1,029
""" Views for album app """ from django.core.paginator import EmptyPage, Paginator from django.http import Http404 from django.shortcuts import get_object_or_404, redirect from django.urls import reverse from django.views.generic import DetailView, ListView, TemplateView from .models import Album class AlbumList(Lis...
3,224
https://github.com/rafnunser/ExpHunterSuite/blob/master/man/write_expression_report.Rd
Github Open Source
Open Source
MIT
2,021
ExpHunterSuite
rafnunser
R
Code
78
241
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/write_report.R \name{write_expression_report} \alias{write_expression_report} \title{Write Main DEgenes Hunter report} \usage{ write_expression_report( exp_results, output_files = getwd(), template_folder = file.path(find.package("ExpHu...
48,698
https://github.com/fossasia/open-event-wsgen/blob/master/src/backend/templates/partials/tracklist.hbs
Github Open Source
Open Source
Apache-2.0, GPL-3.0-or-later, LGPL-2.1-or-later, LGPL-2.0-or-later, LicenseRef-scancode-warranty-disclaimer, GPL-3.0-only, GPL-1.0-or-later
2,023
open-event-wsgen
fossasia
null
Spoken
17
100
<div class="mobile-track-room-list"> {{#tracknames}} {{#if title}} <div class="mobile-track-room-info"> <span style="background-color: {{color}};" class="titlecolor"></span> <span class="track-name">{{title}}</span> </div> {{/if}} {{/tracknames}} </div>
51,150
https://github.com/Marcel-B/Slipways.Mobile/blob/master/Slipways.Mobile/Contracts/IRepositoryWrapper.cs
Github Open Source
Open Source
Apache-2.0
null
Slipways.Mobile
Marcel-B
C#
Code
50
149
๏ปฟusing Slipways.Mobile.Data.Models; using System.Collections.Generic; namespace Slipways.Mobile.Contracts { public interface IRepositoryWrapper { ISlipwayRepository Slipways { get; } IExtraRepository Extras { get; } IManufacturerRepository Manufacturers { get; } IMarinaRepositor...
11,535
https://github.com/AmarOk1412/jami-rs/blob/master/src/profilemanager.rs
Github Open Source
Open Source
BSD-3-Clause
2,021
jami-rs
AmarOk1412
Rust
Code
583
1,353
/** * Copyright (c) 2018-2021, Sรฉbastien Blin <sebastien.blin@enconn.fr> * All rights reserved. * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright *...
3,025
https://github.com/zealoussnow/chromium/blob/master/chrome/browser/resources/chromeos/accessibility/select_to_speak/select_to_speak_navigation_control_test.js
Github Open Source
Open Source
BSD-3-Clause-No-Nuclear-License-2014, BSD-3-Clause
2,022
chromium
zealoussnow
JavaScript
Code
2,646
11,731
// Copyright 2020 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. GEN_INCLUDE(['select_to_speak_e2e_test_base.js']); GEN_INCLUDE(['mock_tts.js']); /** * Browser tests for select-to-speak's navigation control features. ...
40,503
https://github.com/soyarsauce/magda/blob/master/magda-web-client/src/Components/Dataset/Add/Pages/ReviewPage/index.tsx
Github Open Source
Open Source
Apache-2.0
2,022
magda
soyarsauce
TypeScript
Code
118
356
import React from "react"; import "./index.scss"; import ToolTip from "Components/Dataset/Add/ToolTip"; import Files from "./Files"; import DetailsContents from "./DetailsContents"; import PeopleAndProduction from "./PeopleAndProduction"; import AccessAndUse from "./AccessAndUse"; import ApproverNote from "./ApproverNo...
32,072
https://github.com/ds300/patch-package/blob/master/integration-tests/include-exclude-regex-relativity/include-exclude-regex-relativity.sh
Github Open Source
Open Source
MIT
2,023
patch-package
ds300
Shell
Code
156
368
# make sure errors stop the script set -e echo "add patch-package" yarn add $1 alias patch-package=./node_modules/.bin/patch-package echo "mutate words.js" npx replace words patch-packages node_modules/lodash/words.js echo "patch-package includes words.js in a patch by default" patch-package lodash echo "patch-pack...
4,894
https://github.com/EliiahPro/quad-engine/blob/master/QuadEngine.Profiler.pas
Github Open Source
Open Source
BSD-2-Clause
2,022
quad-engine
EliiahPro
Pascal
Code
872
3,758
๏ปฟ//============================================================================= // โ•”โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•ฆโ•โ•— // โ•‘ โ•‘ โ•‘ // โ•‘ โ•‘ โ•‘ // โ•‘ โ•”โ•— โ•‘โ•‘ โ•”โ•— โ•”โ•ฃ โ•‘ // โ•‘ โ•šโ•ฃ โ•šโ• โ•šโ•ฉ โ•šโ• โ•‘ // โ•‘ โ•‘ engine โ•‘ // โ•‘ โ•‘ โ•‘ // โ•šโ•โ•โ•ฉโ•โ•โ•...
13,787
https://github.com/DM-Kang/KUoslab_Smartwatch/blob/master/Smartwatch/Samsung Galaxy Watch 3/KUSensors/src/view/view_data.c
Github Open Source
Open Source
MIT
2,021
KUoslab_Smartwatch
DM-Kang
C
Code
826
3,010
/* * Copyright (c) 2016 Samsung Electronics Co., Ltd * * Licensed under the Flora License, Version 1.1 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://floralicense.org/license/ * * Unless required by applicable law or ...
35,569
https://github.com/renshuaibing-aaron/jdk1.8-source-analysis/blob/master/src/aaron/ren/letcode/code2021010/IsIsomorphic.java
Github Open Source
Open Source
Apache-2.0
2,022
jdk1.8-source-analysis
renshuaibing-aaron
Java
Code
30
89
package aaron.ren.letcode.code2021010; /** * @Author renshuaibing * @Description * @Date 2021/1/11 12:32 ฮ™ฮŸฮžฮท */ public class IsIsomorphic { // public boolean isIsomorphic(String s, String t) { return true; } }
18,425
https://github.com/klausfiend/pyghmi/blob/master/pyghmi/cmd/pyghmicons.py
Github Open Source
Open Source
Apache-2.0
null
pyghmi
klausfiend
Python
Code
273
878
#!/usr/bin/env python # Copyright 2013 IBM Corporation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law...
420
https://github.com/devlinjunker/test.openapi.client/blob/master/lib/dart/github/lib/model/commit_comparison.dart
Github Open Source
Open Source
MIT
null
test.openapi.client
devlinjunker
Dart
Code
374
1,212
part of openapi.api; class CommitComparison { int aheadBy = null; Commit baseCommit = null; int behindBy = null; List<Commit> commits = []; String diffUrl = null; List<DiffEntry> files = []; String htmlUrl = null; Commit mergeBaseCommit = null; String patchUrl = null; ...
31,073
https://github.com/justice-oj/justice-frontend/blob/master/admin/modules/problem/views/test-case/index.php
Github Open Source
Open Source
BSD-3-Clause, MIT
2,018
justice-frontend
justice-oj
PHP
Code
406
1,872
<?php use admin\widgets\common\PaginationWidget; ?> <div class="d-flex align-items-stretch"> <nav id="sidebar"> <span class="heading">Main</span> <ul class="list-unstyled"> <li> <a href="/"> <i class="fa fa-tachometer"></i>Dashboard</a> </li> </ul> ...
26,119
https://github.com/windystrife/UnrealEngine_NVIDIAGameWorks/blob/master/Engine/Source/ThirdParty/PhysX/PxShared/src/pvd/src/PxPvdImpl.h
Github Open Source
Open Source
MIT, LicenseRef-scancode-proprietary-license
2,022
UnrealEngine_NVIDIAGameWorks
windystrife
C++
Code
662
2,071
// This code contains NVIDIA Confidential Information and is disclosed to you // under a form of NVIDIA software license agreement provided separately to you. // // Notice // NVIDIA Corporation and its licensors retain all intellectual property and // proprietary rights in and to this software and related documentation...
52,225
https://github.com/vsyf/leetcode/blob/master/068_text_justification/justification.c
Github Open Source
Open Source
MIT
2,022
leetcode
vsyf
C
Code
491
1,149
#include <stdio.h> #include <stdlib.h> #include <string.h> static void line_fill(char *line, int len, char** words, int *word_lens, int max_size, int even_spaces, int remain_spaces, int start, int end) { int i, j; char *p = line; for (i = start; i < end; i++) { memcpy(p, words...
32,038
https://github.com/open-mpi/ompi-www/blob/master/community/lists/users/2011/01/15440.php
Github Open Source
Open Source
BSD-3-Clause
2,023
ompi-www
open-mpi
PHP
Code
1,178
3,578
<? $subject_val = "Re: [OMPI users] allow job to survive process death"; include("../../include/msg-header.inc"); ?> <!-- received="Thu Jan 27 10:10:39 2011" --> <!-- isoreceived="20110127151039" --> <!-- sent="Thu, 27 Jan 2011 10:10:31 -0500" --> <!-- isosent="20110127151031" --> <!-- name="Joshua Hursey" --> <!-- ema...
32,162
https://github.com/VamsiKrishna1211/ros-melodic-deps-builds-fixed/blob/master/gazebo/src/gazebo-10.1.0/build/plugins/CMakeFiles/InitialVelocityPlugin_autogen.dir/cmake_clean.cmake
Github Open Source
Open Source
Apache-2.0
2,020
ros-melodic-deps-builds-fixed
VamsiKrishna1211
CMake
Code
16
99
file(REMOVE_RECURSE "CMakeFiles/InitialVelocityPlugin_autogen" "InitialVelocityPlugin_autogen/mocs_compilation.cpp" ) # Per-language clean rules from dependency scanning. foreach(lang ) include(CMakeFiles/InitialVelocityPlugin_autogen.dir/cmake_clean_${lang}.cmake OPTIONAL) endforeach()
5,072
https://github.com/OldGodShen/OGFrp/blob/master/src/OGFrp.Linux.Common/libs.h
Github Open Source
Open Source
Apache-2.0
2,022
OGFrp
OldGodShen
C
Code
22
85
#pragma once #include <stdio.h> #include <string.h> #include <sys/statfs.h> #include <limits.h> #include <unistd.h> #include <iostream> #include <string> /// get executable path std::string get_cur_executable_path_();
2,736
https://github.com/ArieLeo/simple-gpu-skinning/blob/master/Assets/Example/Wave Hip Hop Dance.prefab
Github Open Source
Open Source
MIT
2,021
simple-gpu-skinning
ArieLeo
Unity3D Asset
Code
7,229
34,270
%YAML 1.1 %TAG !u! tag:unity3d.com,2011: --- !u!1 &170739874188841241 GameObject: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} serializedVersion: 6 m_Component: - component: {fileID: 3732716132594471223} m_Layer: 0 m_Name: mixam...
5,683
https://github.com/isgasho/itto-csv/blob/master/src/test/scala/ReadFromFileTest.scala
Github Open Source
Open Source
LicenseRef-scancode-warranty-disclaimer, Apache-2.0
2,021
itto-csv
isgasho
Scala
Code
251
1,201
import cats.effect.IO import cats.effect.unsafe.implicits.global import com.github.gekomad.ittocsv.parser.IttoCSVFormat import org.junit.Test import java.time.LocalDateTime import java.util.UUID import scala.util.{Failure, Success, Try} class ReadFromFileTest : @Test def readFromFile(): Unit = { import com.git...
14,352
https://github.com/LoveKarlsson/freedom-devicetree-tools/blob/master/tests/e31-eval-makeattributes.bash
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, MIT, Apache-2.0
2,019
freedom-devicetree-tools
LoveKarlsson
Shell
Code
22
101
set -e tempdir="$(mktemp -d)" trap "rm -rf $tempdir" EXIT cd "$tempdir" dtc $SOURCE_DIR/tests/e31-eval.dts -o e31-eval.dtb -O dtb $WORK_DIR/freedom-makeattributes-generator -d e31-eval.dtb -o e31-eval-build.env
2,243
https://github.com/marynachubrei/basic-js/blob/master/src/extended-repeater.js
Github Open Source
Open Source
MIT
null
basic-js
marynachubrei
JavaScript
Code
47
250
const CustomError = require("../extensions/custom-error"); module.exports = function repeater(str, options ) { if(str == null){str='null'} str=str.toString() let addRepeatTimes let addTimes if(options.additionSeparator==undefined){options.additionSeparator=''} if(options.additionSeparator==undefined){options.addit...
30,866
https://github.com/ZD-ds/freetime/blob/master/ๅไผšๅฎ˜็ฝ‘/js/validate.js
Github Open Source
Open Source
MIT
2,018
freetime
ZD-ds
JavaScript
Code
119
1,315
/*็›ใ„ฅๅดŸๆฅ ๅฒƒ็˜‰็€ต็ก…่–„*/ var FormValidate={ $error:{ required:false, maxlength:false, minlength:false, pattern:false }, errorNotice:function(ele,msg){ ele.style.border="1px solid #FF0000"; if(ele.nextSibling.className=="error")this.removeError(ele.nextSibling); var newele=document.createElement("div"); // ้’ๆถ˜็ผ“...
41,699
https://github.com/dalehenrich/metacello-work/blob/master/repository/Metacello-TestsMCA.package/MetacelloGithubIssue277TestCase.class/instance/testGithubRepositoryPatternMatchingB.st
Github Open Source
Open Source
MIT
2,023
metacello-work
dalehenrich
null
Spoken
21
104
tests testGithubRepositoryPatternMatchingB true ifTrue: [ "see https://github.com/Metacello/metacello/issues/540" ^ self ]. self should: [ MCGitHubRepository parseLocation: 'github://dalehenrich/nonexistent:v3.?/repository' version: nil ] raise: Error
3,772
https://github.com/waterlink/quick.cr/blob/master/spec/helpers.cr
Github Open Source
Open Source
MIT
2,021
quick.cr
waterlink
Crystal
Code
535
1,875
module SpecHelpers macro describe_integer_generator(gen_ty, count, median, median_precision, uniq_count, log10_count, expected_type = __NOP__) {% expected_type = gen_ty if expected_type.stringify == "__NOP__" %} describe "x : {{gen_ty}}" do subject(generator) { GeneratorFor({{gen_ty}}) } it "ret...
28,944
https://github.com/woojiahao/apollo/blob/master/src/main/database/repositories/FeedRepository.ts
Github Open Source
Open Source
MIT
2,021
apollo
woojiahao
TypeScript
Code
128
442
import { EntityRepository, getCustomRepository, IsNull, Repository } from "typeorm"; import Feed from "../entities/Feed"; @EntityRepository(Feed) export default class FeedRepository extends Repository<Feed> { /// Retrieves the available articles, prioritizing unread articles first getAvailable(): Promise<Feed[]> {...
43,800
https://github.com/Lvaho/IMjavaback/blob/master/zhixun-admin/src/views/user/imPromoter.vue
Github Open Source
Open Source
MIT
null
IMjavaback
Lvaho
Vue
Code
210
966
<template> <div class="app-container"> <!-- ๆŸฅ่ฏขๅ’Œๅ…ถไป–ๆ“ไฝœ --> <div class="filter-container"> <el-input v-model="listQuery.uid" clearable class="filter-item" style="width: 400px;" placeholder="่ฏท่พ“ๅ…ฅ็”จๆˆทId" /> <el-button v-permission="['GET /admin/imPromoter/list']" class="filter-item" type="primary" icon="e...
24,326
https://github.com/arh450/Envira/blob/master/client/src/components/EnviraBot/style.scss
Github Open Source
Open Source
MIT
2,020
Envira
arh450
SCSS
Code
80
280
.envirabot { position: fixed; top: 65%; left: 80%; width: 10rem; } .amplify-form-section { width: unset !important; margin-bottom: unset !important; } .amplify-section-header, .amplify-section-body { display: none; } .amplify-section-footer { border-top: 0px !important; padding: 0px !important; } .amplify-...
40,582
https://github.com/Pepperi-Addons/uom/blob/master/client-side/webpack.config.js
Github Open Source
Open Source
MIT
null
uom
Pepperi-Addons
JavaScript
Code
170
597
const ModuleFederationPlugin = require("webpack/lib/container/ModuleFederationPlugin"); const singleSpaAngularWebpack = require('single-spa-angular-webpack5/lib/webpack').default; const { merge } = require('webpack-merge'); // const deps = require('./package.json').dependencies; const webpack = require('webpack'); cons...
6,261
https://github.com/jGauravGupta/metro-wsit/blob/master/wsit/ws-sx/wssx-impl/src/main/java/com/sun/xml/ws/security/policy/WSSAssertion.java
Github Open Source
Open Source
BSD-3-Clause
null
metro-wsit
jGauravGupta
Java
Code
171
540
/* * Copyright (c) 1997, 2018 Oracle and/or its affiliates. All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Distribution License v. 1.0, which is available at * http://www.eclipse.org/org/documents/edl-v10.php. * * SPDX-License-Identifier: ...
9,484
https://github.com/GSA/sam-ui-elements/blob/master/src/ui-kit/experimental/label/label.component.ts
Github Open Source
Open Source
MIT
2,023
sam-ui-elements
GSA
TypeScript
Code
44
140
import { Component, Input, OnInit } from '@angular/core'; @Component({ selector: "sam-label-next", template: ` <span [ngClass]="css_classes"> <ng-content></ng-content> </span> ` }) export class SamLabelNextComponent implements OnInit{ @Input() public size: string; css_classes: string = 'sam l...
8,529
https://github.com/oliverschwendener/ueli/blob/master/src/common/helpers/string-helpers.ts
Github Open Source
Open Source
MIT
2,023
ueli
oliverschwendener
TypeScript
Code
79
212
export function capitalize(value: string): string { if (value === undefined) { return ""; } if (value.length === 0) { return ""; } return value.charAt(0).toUpperCase() + value.slice(1); } export function replaceWhitespace(original: string, replaceWith: string): string { return...
17,187
https://github.com/cristianoc72/Propel3/blob/master/src/Generator/Model/Parts/GeneratorPart.php
Github Open Source
Open Source
MIT
2,022
Propel3
cristianoc72
PHP
Code
256
775
<?php /** * This file is part of the Propel package. * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. * * @license MIT License */ declare(strict_types=1); namespace Propel\Generator\Model\Parts; use Propel\Generator\Model\Model; /** ...
4,207
https://github.com/Lounah/HowMoney/blob/master/app/src/main/java/ru/popov/bodya/howmoney/domain/wallet/models/Wallet.kt
Github Open Source
Open Source
MIT
null
HowMoney
Lounah
Kotlin
Code
90
282
package ru.popov.bodya.howmoney.domain.wallet.models import android.arch.persistence.room.Entity import android.arch.persistence.room.PrimaryKey import android.arch.persistence.room.TypeConverter @Entity(tableName = "wallets") data class Wallet(@PrimaryKey(autoGenerate = true) val id: Int = 0, var a...
45,482
https://github.com/mff-uk/exolutio/blob/master/Controller/Commands/Reflection/PublicCommandsHelper.cs
Github Open Source
Open Source
BSD-2-Clause
2,018
exolutio
mff-uk
C#
Code
527
1,968
using System; using System.Linq; using Exolutio.SupportingClasses; using System.Collections.Generic; using System.Reflection; using Exolutio.SupportingClasses.Reflection; namespace Exolutio.Controller.Commands.Reflection { public static class PublicCommandsHelper { public static List<Type> publicComman...
6,003
https://github.com/andrea-kuijt/UNSEEN/blob/master/tests/testthat/test-unseen_timeseries.R
Github Open Source
Open Source
MIT
2,021
UNSEEN
andrea-kuijt
R
Code
23
80
context("UNSEEN timeseries ggplot") test_that("output of unseen timeseries ggplot() is stable", { p <- unseen_timeseries(ensemble = SEAS5_UK, obs = EOBS_UK) vdiffr::expect_doppelganger("unseen timeseries", p) })
31,188
https://github.com/RustedBot/Pong/blob/master/playcontext.hpp
Github Open Source
Open Source
MIT
null
Pong
RustedBot
C++
Code
27
91
#ifndef PLAYCONTEXT_H #define PLAYCONTEXT_H #include <vector> #include "inputcontext.hpp" enum class Event; class PlayContext : public InputContext { public: std::vector<Event> update(InputHandler& inputHandler) override; private: }; #endif // PLAYCONTEXT_H
47,270
https://github.com/akapoor85/Bython/blob/master/Structure/__init__.py
Github Open Source
Open Source
MIT
null
Bython
akapoor85
Python
Code
14
58
#!/usr/bin/env python __all__=['configstruc', 'loadpdb', 'loadstruc', 'molecule', 'protein', 'ligand', 'lipid'] from loadstruc import (FetchPDB, Loadstruc)
51,003
https://github.com/groboclown/petronia/blob/master/old_stuff/petronia/config/config_type.py
Github Open Source
Open Source
MIT
2,021
petronia
groboclown
Python
Code
125
370
""" Manages the user configuration. """ from .application import AbstractApplicationConfig from .chrome import ChromeConfig from .command import CommandConfig from .hotkey import HotKeyConfig from .workgroup import WorkGroupConfig class ConfigType(object): def get_workgroup_for_display(self, monitors): "...
46,831
https://github.com/joseph-walker/CSS-Selector-Debugger/blob/master/src/data/actions/toggleHideSelector.ts
Github Open Source
Open Source
CC-BY-3.0
null
CSS-Selector-Debugger
joseph-walker
TypeScript
Code
39
127
import { ActionType } from './actionTypes'; import { createAction } from './../util/createAction'; export interface ToggleHideSelectorPayload { whoAmI: number }; export interface ToggleHideSelector extends ToggleHideSelectorPayload { type: ActionType.ToggleHideSelector }; export const { invoker$: toggleH...
22,975
https://github.com/argee23/hrone/blob/master/application/views/app/recruitment_maintenance/job_vacancies/job_vacancy_hris.php
Github Open Source
Open Source
MIT
null
hrone
argee23
PHP
Code
139
683
<div class="box-body"> <div id="MassUploading"> <div class="well"> <div class="MassUploading" style="height: 80px;"> <div class="col-md-2"></div> <div class="col-md-12"> ...
28,905
https://github.com/XEngine/L3-Eticaret/blob/master/application/libraries/Dahius_VirtualPos/Joy/File.php
Github Open Source
Open Source
MIT
2,015
L3-Eticaret
XEngine
PHP
Code
356
977
<?php /** * Joy Web Framework * * Copyright (c) 2008-2009 Netology Foundation (http://www.netology.org) * All rights reserved. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT * LIMITED TO, THE IMPLIED WARRANTIES OF MERCH...
52,140
https://github.com/fentonmartin/awesome-kotlin/blob/master/app-backend/src/main/kotlin/link/kotlin/backend/handlers/CoroutinesHandler.kt
Github Open Source
Open Source
Apache-2.0
2,020
awesome-kotlin
fentonmartin
Kotlin
Code
118
402
package link.kotlin.backend.handlers import io.undertow.server.HttpHandler import io.undertow.server.HttpServerExchange import io.undertow.util.SameThreadExecutor import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.GlobalScope import kotlinx.coroutines.launch import link.kotlin.backend.logger import kotlin...
25,417
https://github.com/vermashresth/plark_ai_public/blob/master/Components/gym-plark/gym_plark/envs/__init__.py
Github Open Source
Open Source
Apache-2.0
2,022
plark_ai_public
vermashresth
Python
Code
32
208
from gym_plark.envs.plark_env import PlarkEnv from gym_plark.envs.plark_env_guided_reward import PlarkEnvGuidedReward from gym_plark.envs.plark_env_illegal_move import PlarkEnvIllegalMove from gym_plark.envs.plark_env_non_image_state import PlarkEnvNonImageState from gym_plark.envs.plark_env_sonobuoy_deployment import...
3,506
https://github.com/moon-chilled/Ares/blob/master/ares/ws/cpu/cpu.cpp
Github Open Source
Open Source
0BSD
2,021
Ares
moon-chilled
C++
Code
150
511
#include <ws/ws.hpp> namespace ares::WonderSwan { CPU cpu; #include "io.cpp" #include "interrupt.cpp" #include "dma.cpp" #include "debugger.cpp" #include "serialization.cpp" auto CPU::load(Node::Object parent) -> void { node = parent->append<Node::Component>("CPU"); debugger.load(node); } auto CPU::unload() ->...
6,564
https://github.com/cvanelteren/julia-numpy-fortran-test/blob/master/test.jl
Github Open Source
Open Source
MIT
2,021
julia-numpy-fortran-test
cvanelteren
Julia
Code
52
176
function eval_exp(N) a = range(0, stop=2*pi, length=N) A = Matrix{ComplexF64}(undef, N, N) @inbounds Threads.@threads for j in 1:N for i in 1:N A[i,j] = exp((100+im)*im*sqrt(a[i]^2 + a[j]^2)) end end return A end eval_exp(5) print(string("running loop on ", Threads.nthreads()...
40,140
https://github.com/toshi0383/VideoPlayer/blob/master/Sources/VideoPlayer/VideoPlayer.swift
Github Open Source
Open Source
MIT
2,022
VideoPlayer
toshi0383
Swift
Code
1,158
3,623
import AVFoundation import RxCocoa import RxSwift /// Create an AVPlayer instance and emit via Single, /// while setting up monitor and control module. /// /// NOTE: Make sure the lifecycle of this class is synced with the player instance. public final class VideoPlayer { /// Emits and cache AVPlayer once initial...
31,308
https://github.com/jenkinsci/maven-info-plugin/blob/master/src/main/java/jenkins/plugins/maveninfo/extractor/MavenProperties.java
Github Open Source
Open Source
Apache-2.0
2,022
maven-info-plugin
jenkinsci
Java
Code
40
119
package jenkins.plugins.maveninfo.extractor; /** * Constants. * * @author emenaceb * */ public class MavenProperties { public static final String PROP_MAVEN_DESCRIPTION = "MAVEN_DESCRIPTION"; public static final String PROP_MAVEN_NAME = "MAVEN_NAME"; public static final String[] PROPERTIES = { PROP_MAVEN_...
19,991
https://github.com/debop/kotlin-design-patterns/blob/master/kommons-core/src/main/kotlin/io/kommons/SystemPropertyExtensions.kt
Github Open Source
Open Source
Apache-2.0
2,021
kotlin-design-patterns
debop
Kotlin
Code
75
242
package io.kommons import io.kommons.logging.KotlinLogging private val log = KotlinLogging.logger {} /** * ์‹œ์Šคํ…œ ์„ค์ • ์ •๋ณด์— Kotlin ์Šคํƒ€์ผ๋กœ ์ ‘๊ทผํ•  ์ˆ˜ ์žˆ๋„๋ก ํ•ด์ค๋‹ˆ๋‹ค. * * ```kotlin * * // getter * val userDir = systemProperty["user.dir"] * * // setter * systemProperty["testcontainers.redis.port"] = 80.toString() * ``` */ val ...
47,171
https://github.com/AMAN5757/WeatherForecast/blob/master/WeatherForcast/TableViewCell/DailyViewCell.swift
Github Open Source
Open Source
MIT
null
WeatherForecast
AMAN5757
Swift
Code
139
464
// // DailyViewCell.swift // WeatherForcast // // Created by Aabasaheb Dilip Deshpande (Digital) on 09/04/19. // Copyright ยฉ 2019 Aabasaheb Dilip Deshpande (Digital). All rights reserved. // import UIKit class DailyViewCell: UICollectionViewCell { //MARK:- IBOutlets @IBOutlet weak var timeLbl: UILabe...
6,578
https://github.com/mrstephenneal/databasetools/blob/master/databasetools/json.py
Github Open Source
Open Source
MIT
null
databasetools
mrstephenneal
Python
Code
88
309
import json class JSON: """Save and load Python dictionaries in JSON .json format""" def __init__(self, save_path): self.save_name = str(save_path) if str(save_path).endswith('.json') else str(save_path) + '.json' def write(self, data, sort_keys=True, indent=4): with open(self.save_name, ...
10,420
https://github.com/SoDevLog/DataMonitoring/blob/master/DataMonitoring/ClientApp/src/app/shared/layout/navigation/app-menu.directive.ts
Github Open Source
Open Source
MIT
null
DataMonitoring
SoDevLog
TypeScript
Code
216
841
import { Directive, ElementRef, OnInit, AfterViewInit } from '@angular/core'; import { Router, NavigationEnd } from "@angular/router"; import { Subscription } from 'rxjs'; import { LayoutService } from "@app/shared/layout/layout.service"; declare var $: any; @Directive({ selector: '[appSmartMenu]' }) export class ...
21,121
https://github.com/DeyanDanailov/SoftUniCSharpFundamentals/blob/master/repos/07.WinningTicket/Program.cs
Github Open Source
Open Source
MIT
2,020
SoftUniCSharpFundamentals
DeyanDanailov
C#
Code
118
485
๏ปฟusing System; using System.Linq; using System.Text.RegularExpressions; namespace _07.WinningTicket { class Program { static void Main(string[] args) { string[] alltickets = Console.ReadLine().Split(new char[] { ',', ' ' }, StringSplitOptions.RemoveEmptyEntries).ToArray(); ...
34,176
https://github.com/fariaseduv/fullcalendar/blob/master/packages/common/src/component/DateComponent.ts
Github Open Source
Open Source
MIT
2,021
fullcalendar
fariaseduv
TypeScript
Code
433
1,122
import { BaseComponent } from '../vdom-util' import { EventRenderRange } from './event-rendering' import { DateSpan } from '../structs/date-span' import { EventInstanceHash } from '../structs/event-instance' import { rangeContainsRange } from '../datelib/date-range' import { Hit } from '../interactions/hit' import { el...
28,230
https://github.com/kshitiz621/homehost/blob/master/client/src/reducers/MoviesReducer.js
Github Open Source
Open Source
MIT, LicenseRef-scancode-public-domain, LicenseRef-scancode-proprietary-license
2,022
homehost
kshitiz621
JavaScript
Code
143
556
import { REQUEST_MOVIES, RECEIVE_MOVIES, FILTER_MOVIES, SORT_MOVIES } from '../constants/Page' const initialState = { movies: [], displayedMovies: [] } export default function movie(state = initialState, action) { switch (action.type) { case REQUEST_MOVIES: return { ...state } ...
27,924
https://github.com/abstraq/discordcr/blob/master/spec/discordcr_spec.cr
Github Open Source
Open Source
MIT
2,022
discordcr
abstraq
Crystal
Code
328
1,410
require "yaml" require "./spec_helper" struct StructWithTime include JSON::Serializable @[JSON::Field(converter: Discord::TimestampConverter)] property data : Time end struct StructWithMaybeTime include JSON::Serializable @[JSON::Field(converter: Discord::MaybeTimestampConverter, emit_null: true)] prope...
33,562
https://github.com/heltena/KYEngine/blob/master/src/Utility/SimpleDraw.cpp
Github Open Source
Open Source
MIT
null
KYEngine
heltena
C++
Code
98
511
#include <KYEngine/Utility/SimpleDraw.h> #include <OpenGLES/ES1/gl.h> #include <OpenGLES/ES1/glext.h> SimpleDraw::SimpleDraw() { } void SimpleDraw::drawLine(const Vector4& from, const Vector4& to, const Vector4& color, double width) { float verts[4] = { from[0], from[1], to[0], to[1] }; glColor4f(color[0], c...
10,968
https://github.com/VenelinGP/SportsTracker/blob/master/Pods/GoogleMaps/GoogleMapsSDKDemos/SDKDemos/Samples/VisibleRegionViewController.h
Github Open Source
Open Source
MIT
2,016
SportsTracker
VenelinGP
C
Code
7
33
#import <UIKit/UIKit.h> @interface VisibleRegionViewController : UIViewController @end
1,976
https://github.com/peter-ls/kylo/blob/master/commons/commons-spark/commons-spark-api/src/main/java/com/thinkbiganalytics/spark/DataSet.java
Github Open Source
Open Source
Apache-2.0
2,022
kylo
peter-ls
Java
Code
483
995
package com.thinkbiganalytics.spark; /*- * #%L * thinkbig-commons-spark-api * %% * Copyright (C) 2017 ThinkBig Analytics * %% * 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 * * ...
27,395
https://github.com/tcgwl/MyKotlinMall/blob/master/UserCenter/src/main/java/com/kotlin/user/injection/module/UploadModule.kt
Github Open Source
Open Source
Apache-2.0
2,019
MyKotlinMall
tcgwl
Kotlin
Code
27
112
package com.kotlin.user.injection.module import com.kotlin.user.service.UploadService import com.kotlin.user.service.impl.UploadServiceImpl import dagger.Module import dagger.Provides /* ไธŠไผ Module */ @Module class UploadModule { @Provides fun provideUploadService(uploadService: UploadServiceImpl): Upload...
50,640
https://github.com/Kartonagnick/workspace/blob/master/projects/cmdtest/include/cmdtest/confbuild.hpp
Github Open Source
Open Source
MIT
2,021
workspace
Kartonagnick
C++
Code
125
546
#pragma once #ifndef dCMDTEST_CONFBUILD_USED_ #define dCMDTEST_CONFBUILD_USED_ 1 //================================================================================ //================================================================================ #if !defined(dX64) && !defined(dX32) #ifdef _WIN32 #ifdef _...
44,837
https://github.com/cdli-gh/mtaac_cdli_ur3_corpus/blob/master/ur3_corpus_data/annotated/morph/P118/P118781.conll
Github Open Source
Open Source
CC0-1.0, LicenseRef-scancode-public-domain
2,022
mtaac_cdli_ur3_corpus
cdli-gh
null
Spoken
211
839
#new_text=P118781 FORM SEGM XPOSTAG XPOSTAG POS 1(gesz2) 1(gesz)[sixty] NU NU D u8 u[ewe] N N D giri3 giri[foot] N N D a2-bi2-la-tum _ PN PN.GEN.DAT-H Iabcdefg sukkal sukkal[secretary][-ak][-ra] N N D 3(disz) 3(disz)[one] NU NU D ud5 uzud[goat] N N D 2(disz) 2(disz)[one] NU NU D masz2-nita2 masznita[male_goat][-รธ] N N....
38,019
https://github.com/lizt1101/mybase/blob/master/src/main/webapp/static/js/login.js
Github Open Source
Open Source
MIT
2,018
mybase
lizt1101
JavaScript
Code
95
701
/** * Created by admin on 2017/12/22. */ var regex1 = /^[A-Za-z0-9]{6,11}$/; var regex2 = /^[A-Za-z0-9.@!*&$#_]{6,13}$/; function check(form){ if(form.userName.value.trim()=='') { form.userName.focus(); $(".remind1").attr("style", "color:red"); $(".remind1").text("่ฏท่พ“ๅ…ฅ็”จๆˆทๅ"); return ...
52,970
https://github.com/UnitTestBot/UTBotCpp/blob/master/server/src/utils/FileSystemUtils.cpp
Github Open Source
Open Source
Apache-2.0
2,022
UTBotCpp
UnitTestBot
C++
Code
184
759
#include "FileSystemUtils.h" #include "exceptions/FileSystemException.h" #include <fstream> #include <system_error> #include "Paths.h" namespace FileSystemUtils { void writeToFile(const fs::path &path, std::string_view text) { std::error_code e; auto parentPath = path.parent_path(); if (p...
16,191
https://github.com/weverlymatos/Nebrati_Dnit/blob/master/Dnit/Dnit.MobileAppService/Controllers/PicController.cs
Github Open Source
Open Source
MIT
null
Nebrati_Dnit
weverlymatos
C#
Code
17
53
๏ปฟusing System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Catalog.API.Controllers { public class PicController { } }
46,242
https://github.com/mural/spm/blob/master/db4oj/src/main/java/com/db4o/defragment/InMemoryIdMapping.java
Github Open Source
Open Source
BSD-3-Clause
2,016
spm
mural
Java
Code
308
819
/* This file is part of the db4o object database http://www.db4o.com Copyright (C) 2004 - 2010 Versant Corporation http://www.versant.com db4o is free software; you can redistribute it and/or modify it under the terms of version 3 of the GNU General Public License as published by the Free Software Foundation. db4o ...
22,891
https://github.com/lichong951/MyAndroid/blob/master/BannerViewPager/src/main/java/com/chenyu/library/bannerViewPager/ViewPagerAdapter.java
Github Open Source
Open Source
Apache-2.0
null
MyAndroid
lichong951
Java
Code
215
694
package com.chenyu.library.bannerViewPager; import android.support.v4.view.PagerAdapter; import android.view.View; import android.view.ViewGroup; import java.util.ArrayList; import java.util.List; /** * ViewPager's adapter.It use {@link DataSetSubscriber} and {@link DataSetSubject} to tell * {@link ViewPagerIndic...
6,692
https://github.com/woberholtzer/Basketball-Hashing/blob/master/HW5a_BasketballHashing-main 2/hashable.cpp
Github Open Source
Open Source
Apache-2.0
null
Basketball-Hashing
woberholtzer
C++
Code
115
351
#include "hashable.h" HashableString::HashableString(string s) { this->s = s; } size_t HashableString::getHash() { const char* c = s.c_str(); // TODO: Fill this in int hash = 0; int size = 0; char current = c[0]; while (current != '\0'){ size++; current = c[size]; } ...
18,917
https://github.com/tamazlykar/cloudstack-ui/blob/master/src/app/template/shared/base-template.model.ts
Github Open Source
Open Source
Apache-2.0
2,019
cloudstack-ui
tamazlykar
TypeScript
Code
171
502
import { BaseModel } from '../../shared/models'; import { OsType } from '../../shared/models/os-type.model'; import { Taggable } from '../../shared/interfaces/taggable.interface'; import { templateTagKeys } from '../../shared/services/tags/template-tag-keys'; import { Utils } from '../../shared/services/utils/utils.ser...
51,886
https://github.com/thatguynapster/hub-manager/blob/master/views/rider-deliveries-list.tsx
Github Open Source
Open Source
MIT
null
hub-manager
thatguynapster
TypeScript
Code
89
312
/** * @format */ import React from 'react'; import { Image, Pressable, SafeAreaView, StatusBar, StyleSheet, Text, useColorScheme, View, } from 'react-native'; import {Colors} from 'react-native/Libraries/NewAppScreen'; // import tw from 'twrnc'; import tw from '../lib/tailwind'; import {useDeviceCo...
37,044
https://github.com/AlicjaCrave/shelter-canet/blob/master/integration/scss/parts-sass/_footer.sass
Github Open Source
Open Source
LicenseRef-scancode-public-domain
2,021
shelter-canet
AlicjaCrave
Sass
Code
19
66
footer display: flex justify-content: center background: $yellow bottom: 0 left: 0 right: 0 padding: $big_space font-size: $medium_space font-family: $accent_font
17,737
https://github.com/xSnowChen/vertx-zero/blob/master/vertx-gaia/vertx-rx/src/main/java/io/vertx/rx/web/anima/Verticles.java
Github Open Source
Open Source
Apache-2.0
null
vertx-zero
xSnowChen
Java
Code
73
274
package io.vertx.rx.web.anima; import io.reactivex.Single; import io.vertx.core.DeploymentOptions; import io.vertx.reactivex.core.Vertx; import io.vertx.up.eon.Info; import io.vertx.up.log.Annal; class Verticles { static void deploy(final Vertx vertx, final Class<?> clazz, ...
11,190
https://github.com/mohiva/play-silhouette-seed/blob/master/app/forms/ChangePasswordForm.scala
Github Open Source
Open Source
Apache-2.0
2,020
play-silhouette-seed
mohiva
Scala
Code
35
96
package forms import play.api.data.Forms._ import play.api.data._ /** * The `Change Password` form. */ object ChangePasswordForm { /** * A play framework form. */ val form = Form(tuple( "current-password" -> nonEmptyText, "new-password" -> nonEmptyText )) }
19,697
https://github.com/larryRishi/algorithm004-05/blob/master/Week 1/id_490/LeetCode_26_490.php
Github Open Source
Open Source
Apache-2.0
2,019
algorithm004-05
larryRishi
PHP
Code
102
367
<?php /** * ้ข˜็›ฎๅ็งฐ๏ผšremove-duplicates-from-sorted-array ๅˆ ้™คๆŽ’ๅบๆ•ฐ็ป„ไธญ็š„้‡ๅค้กน * ้ข˜็›ฎ้“พๆŽฅ๏ผšhttps://leetcode-cn.com/problems/remove-duplicates-from-sorted-array/ */ /** * ็ฌฌไธ€็ง่งฃๆณ•๏ผŒๅŒ้‡ๅพช็Žฏ * @param Integer[] $nums * @return Integer */ function removeDuplicates(&$nums) { for ($i = 1; $i < count($nums); $i++) { if ($nums[$i] ==...
42,102