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/vasiltatarov/BlazorApp/blob/master/src/BlazorDemoApp.Services/FileUploads/IFileUploadService.cs
Github Open Source
Open Source
MIT
null
BlazorApp
vasiltatarov
C#
Code
16
67
namespace BlazorDemoApp.Services.FileUploads { using System.Threading.Tasks; using BlazorInputFile; public interface IFileUploadService { Task UploadFile(IFileListEntry file); } }
9,654
https://github.com/marcusportmann/inception/blob/master/archive/src/inception-oauth2-authorization-server/src/main/java/digital/inception/oauth2/server/authorization/controller/GrantRequest.java
Github Open Source
Open Source
Apache-2.0
2,022
inception
marcusportmann
Java
Code
481
1,020
/* * Copyright 2022 Marcus Portmann * * 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 t...
41,810
https://github.com/OsmondShine/OES/blob/master/src/com/exam/student/service/IScoreService.java
Github Open Source
Open Source
MIT
null
OES
OsmondShine
Java
Code
48
179
package com.exam.student.service; import java.util.List; import com.exam.student.model.Score; /** * @author 作者:谢亮 * @data 创建时间:2017-3-16 * @description 成绩业务接口 * @version 1.0 */ public interface IScoreService { //保存成绩 public abstract Boolean add(Score score) throws Exception; //查询所有成绩 public abstract List...
23,373
https://github.com/MaxNox7/space-station-14/blob/master/Content.Server/Security/Components/DeployableBarrierComponent.cs
Github Open Source
Open Source
MIT
2,022
space-station-14
MaxNox7
C#
Code
14
47
using Robust.Shared.GameObjects; namespace Content.Server.Security { [RegisterComponent] public class DeployableBarrierComponent : Component { } }
18,031
https://github.com/thiagocury/aulas-flutter/blob/master/exemplo_navegacao_rotas/lib/views/home.dart
Github Open Source
Open Source
MIT
2,021
aulas-flutter
thiagocury
Dart
Code
103
427
import 'dart:async'; import 'package:exemplo_navegacao/app/app_routes.dart'; import 'package:flutter/material.dart'; class Home extends StatefulWidget { final String title; Home(this.title); @override _HomeState createState() => _HomeState(); } class _HomeState extends State<Home> { @override Widget ...
25,849
https://github.com/oxivanisher/my_shops/blob/master/src/Entity/Shop.php
Github Open Source
Open Source
MIT
null
my_shops
oxivanisher
PHP
Code
593
1,636
<?php namespace MyShops\Entity; /** * Represents a shop for the My Shops package. * * @\Doctrine\ORM\Mapping\Entity( * ) * @\Doctrine\ORM\Mapping\Table( * name="Shops", * options={"comment": "Shops of the My Shops package"} * ) */ class Shop { /** * Create a new instance. * * @para...
1,337
https://github.com/JD557/minart/blob/master/backend/js/src/main/scala/eu/joaocosta/minart/backend/JsKeyMapping.scala
Github Open Source
Open Source
MIT
2,023
minart
JD557
Scala
Code
204
651
package eu.joaocosta.minart.backend import eu.joaocosta.minart.input.KeyboardInput._ /** Key mappings for the JavaScript backend. */ object JsKeyMapping extends KeyMapping[Int] { protected final val mappings: Map[Int, Key] = Map( 65 -> Key.A, 66 -> Key.B, 67 -> Key.C, 68 -> Key.D, 69 -> K...
48,020
https://github.com/gotchiland/ui95/blob/master/src/components/taskbar/tray/story.js
Github Open Source
Open Source
ISC
2,021
ui95
gotchiland
JavaScript
Code
35
92
import { h, Component } from "preact"; import { storiesOf } from "@storybook/react"; import Tray from "."; const items = []; storiesOf("Components/Taskbar/Tray", module).add("basic", () => { return ( <div> <Tray items={items} /> </div> ); });
36,624
https://github.com/phlocbg/phloc-webbasics/blob/master/phloc-php-java-bridge/src/main/java/php/java/bridge/http/ChunkedInputStream.java
Github Open Source
Open Source
Apache-2.0
2,023
phloc-webbasics
phlocbg
Java
Code
759
1,503
/** * Copyright (C) 2006-2014 phloc systems * http://www.phloc.com * office[at]phloc[dot]com * * 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/license...
50,015
https://github.com/MULXCODE/mobileapp/blob/master/Toggl.Core.Tests/Sync/States/CleanUp/DeleteNonReferencedInaccessibleTagsStateTests.cs
Github Open Source
Open Source
BSD-2-Clause
2,019
mobileapp
MULXCODE
C#
Code
284
1,070
using NSubstitute; using System; using System.Collections.Generic; using System.Linq; using System.Reactive.Linq; using System.Threading.Tasks; using Toggl.Core.DataSources; using Toggl.Core.DataSources.Interfaces; using Toggl.Core.Models.Interfaces; using Toggl.Core.Sync.States.CleanUp; using Toggl.Core.Tests.Mocks; u...
43,124
https://github.com/stavanmehta/fleotapp/blob/master/src/pages/entities/album/album-dialog.ts
Github Open Source
Open Source
Apache-2.0
null
fleotapp
stavanmehta
TypeScript
Code
294
882
import { Component } from '@angular/core'; import { JhiDataUtils } from 'ng-jhipster'; import { FormBuilder, FormGroup, Validators } from '@angular/forms'; import { IonicPage, NavController, NavParams, ToastController, ViewController } from 'ionic-angular'; import { Album } from './album.model'; import { AlbumService }...
10,997
https://github.com/lakshyabengani/Company_Jobs/blob/master/config/routes/publicRoutes.js
Github Open Source
Open Source
MIT
null
Company_Jobs
lakshyabengani
JavaScript
Code
49
211
const publicRoutes = { 'POST /user': 'UserController.register', 'POST /register': 'UserController.register', // alias for POST /user 'POST /login': 'UserController.login', 'POST /validate': 'UserController.validate', 'POST /addCompany': 'CompanyController.createCompany', 'POST /addJob': 'CompanyController....
1,176
https://github.com/yangxina/NicooEnptyView/blob/master/NicooEnptyView/Classes/NicooErrorView.swift
Github Open Source
Open Source
MIT
2,019
NicooEnptyView
yangxina
Swift
Code
472
1,841
// // CLErrorView.swift // CloudLibrary // // Created by Nicoo on 5/9/2019. // Copyright © 2017 TZPT. All rights reserved. //8 import UIKit import SnapKit public enum NicooErrorType: NSInteger { case noData = 1 // 数据为空 case noNetwork // 网络错误 case timeout // 请求超时 ...
1,917
https://github.com/jemayn/Umbraco-CMS/blob/master/src/Umbraco.Web.UI.Client/src/less/components/umb-mini-search.less
Github Open Source
Open Source
MIT
null
Umbraco-CMS
jemayn
Less
Code
103
417
.umb-mini-search { position: relative; display: block; .icon { position: absolute; display: flex; justify-content: center; align-items: center; font-size: 20px; margin: 5px; padding: 1px; pointer-events: none; color: @ui-action-discree...
53,265
https://github.com/EvelynGMaldonado/Project2/blob/master/public/js/game-board.js
Github Open Source
Open Source
FTL
null
Project2
EvelynGMaldonado
JavaScript
Code
3,094
11,264
const socket = io(); fetch('/sessions').then(res => { if (res.ok) { res.json().then(res => { console.log(res) const gameRoom = res.user.id + "game" const notiRoom = res.user.id + "noti" socket.emit('join game room', gameRoom) socket.emit('join notification room', not...
42,179
https://github.com/pleckey/olap4php/blob/master/provider/xmla/XMLAElement.php
Github Open Source
Open Source
Apache-2.0
2,012
olap4php
pleckey
PHP
Code
273
653
<?php /** * olap4php * * LICENSE * * Licensed to SeeWind Design Corp. under one or more * contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. SeeWind Design licenses * this file to you under the Apache License, Version 2...
33,582
https://github.com/bienhoangthy/CMS-NEW/blob/master/application/controllers/News.php
Github Open Source
Open Source
MIT
2,017
CMS-NEW
bienhoangthy
PHP
Code
51
180
<?php defined('BASEPATH') OR exit('No direct script access allowed'); include ( APPPATH . 'core/MY_Controllerfront.php' ); class News extends MY_Controllerfront { public function __construct() { parent::__construct(); $this->load->Model("front/mnews"); } public function detail($id) { $this-...
35,802
https://github.com/frcook6060/engine/blob/master/src/input.cpp
Github Open Source
Open Source
MIT
null
engine
frcook6060
C++
Code
578
2,083
#include "sys.h" static std::vector<InputState> inputStates; static POINT pre; static POINT cursor; static bool capture = false; void onInputDown(UINT message, WPARAM wparam, LPARAM lparam); void onInputUp(UINT message, WPARAM wparam, LPARAM lparam); void onMouseDown(UINT message, WPARAM wparam, LPARAM lparam); ...
50,941
https://github.com/GoogleForCreators/web-stories-wp/blob/master/packages/rich-text/src/formatters/color.ts
Github Open Source
Open Source
Apache-2.0
2,023
web-stories-wp
GoogleForCreators
TypeScript
Code
379
921
/* * Copyright 2020 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
47,769
https://github.com/fengshunli/dq-easy-cloud/blob/master/dq-easy-cloud-model/src/main/java/com/dq/easy/cloud/model/common/response/vo/DqResponseVO.java
Github Open Source
Open Source
MIT
2,018
dq-easy-cloud
fengshunli
Java
Code
304
1,176
package com.dq.easy.cloud.model.common.response.vo; import com.dq.easy.cloud.model.common.json.utils.DqJSONUtils; import com.dq.easy.cloud.model.common.response.common.DqResponseEnum; /** * 基础响应视图对象 * <p>code和msg建议使用枚举类来进行赋值,相关业务逻辑的响应枚举类可以参考DqResponseEnum</p> * <p>使用该方法若只是需要对象通过调用newInstance来创建实例</p> * <p>若需要生成js...
29,340
https://github.com/dchambers/crosstalkjs/blob/master/lib/Postable.js
Github Open Source
Open Source
Apache-2.0
2,021
crosstalkjs
dchambers
JavaScript
Code
17
49
function Postable() { } Postable.prototype.postMessage = function() { }; Postable.prototype.addEventListener = function() { }; module.exports = Postable;
11,611
https://github.com/foolingdutchman/TodoFluxArchitecture/blob/master/app/src/main/java/com/farseer/todo/flux/action/TodoItemAction.java
Github Open Source
Open Source
Apache-2.0
2,016
TodoFluxArchitecture
foolingdutchman
Java
Code
225
632
/* * * Copyright 2016 zhaosc * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable l...
11,017
https://github.com/junzhli/video-platform-ui/blob/master/utils/login.ts
Github Open Source
Open Source
MIT
null
video-platform-ui
junzhli
TypeScript
Code
118
331
import Cookies, { CookieSetOptions } from "universal-cookie"; const cookies = new Cookies(); const userLoginCookieOptions: CookieSetOptions = { path: "/", expires: new Date((new Date()).setTime((new Date()).getTime() + (1000 * 60 * 60 * 24 * 1))), domain: process.env["NEXT_PUBLIC_DOMAIN"], secure: (pro...
8,376
https://github.com/AlexandrKaleganov/servletusersdata/blob/master/src/test/java/ru/job4j/architecture/dbmanagementuser/DispatchDiapasonTest.java
Github Open Source
Open Source
Apache-2.0
2,019
servletusersdata
AlexandrKaleganov
Java
Code
232
835
package ru.job4j.architecture.dbmanagementuser; import org.hamcrest.core.Is; import org.junit.Assert; import org.junit.Test; import ru.job4j.architecture.err.BiConEx; import ru.job4j.architecture.modeluser.Users; import java.util.ArrayList; import static org.hamcrest.core.Is.is; /** * @author Alexander Kaleganov ...
36,040
https://github.com/carlosvazquez/gourmet-theme/blob/master/src/assets/components/_navigation-trash.scss
Github Open Source
Open Source
MIT
2,017
gourmet-theme
carlosvazquez
SCSS
Code
78
341
.subnav { position: relative; @media (min-width: 768px) { position: absolute; margin-top: 0 !important; width: 100%; ne; } } .navigation__link { position: relative; padding: 1.2em 1em; display: block; width: 100%; @media (max-width: 767px) ...
419
https://github.com/mohammadjavad948/decision-core/blob/master/src/utils/user.ts
Github Open Source
Open Source
MIT
null
decision-core
mohammadjavad948
TypeScript
Code
34
100
import {Router} from "express"; import {expressAuthMiddleware} from "../middleware/auth"; import { User } from "../schema/User"; export const userRouter = Router(); userRouter.use(expressAuthMiddleware); userRouter.get('/users', async (req, res) => { const users = await User.find(); return res.send(users)...
51,637
https://github.com/fengyuwusong/tp5/blob/master/application/index/controller/Mysql.php
Github Open Source
Open Source
Apache-2.0
2,017
tp5
fengyuwusong
PHP
Code
371
1,332
<?php // * @Description: 数据库 // * @Author : 风雨雾凇 // * @DateTime : 2017-02-13 19:43:32 namespace app\index\controller; use think\Db; class Mysql { // 原生查询 // 插入 execute 返回只有成功1 与否 0 public function demo1() { $res = Db::execute('insert into think_data (id, name, status) values (5,"thinkph...
36,654
https://github.com/Pacific73/GBN-socket/blob/master/gbn.c
Github Open Source
Open Source
MIT
null
GBN-socket
Pacific73
C
Code
2,990
9,359
#include "gbn.h" state_t s; gbnhdr empty; void client_time_out() { printf("timeout: s.state = %d\n", s.state); if (s.state == SYN_SENT) { /* Timeout after the client sends SYN. * Resend a SYN, decrease the times for trying. */ printf("SYN timeout! left times: %d\n", s.syn_t...
1,474
https://github.com/jaasaria/laravel.cooperative/blob/master/app/Http/Controllers/TrMessagesController.php
Github Open Source
Open Source
MIT
null
laravel.cooperative
jaasaria
PHP
Code
182
824
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Models\TrMessages as Cls; use App\Http\Requests\StoreMessages as ValidateRequest; use App\User; use Auth; use Event; use Carbon\Carbon; class TrMessagesController extends Controller { public $form,$route; public $rList,$rCreate; ...
12,317
https://github.com/dafei2015/hugular_cstolua/blob/master/Client/Assets/Source/LuaWrap/AnimationClipPairWrap.cs
Github Open Source
Open Source
MIT
2,015
hugular_cstolua
dafei2015
C#
Code
327
1,409
using System; using UnityEngine; using LuaInterface; public class AnimationClipPairWrap { public static void Register(IntPtr L) { LuaMethod[] regs = new LuaMethod[] { new LuaMethod("New", _CreateAnimationClipPair), new LuaMethod("GetClassType", GetClassType), }; LuaField[] fields = new LuaField[] {...
41,907
https://github.com/opendevstack/ods-provisioning-app/blob/master/src/main/java/org/opendevstack/provision/authentication/crowd/CrowdSecurityConfiguration.java
Github Open Source
Open Source
Apache-2.0
2,022
ods-provisioning-app
opendevstack
Java
Code
790
3,607
/* * Copyright 2017-2019 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 applicable...
40,730
https://github.com/wjhgethub6/CMS/blob/master/frontend/src/views/equipmentsManage/detail/components/configuration/components/route/ospf/index.vue
Github Open Source
Open Source
MIT
2,021
CMS
wjhgethub6
Vue
Code
57
372
<template> <el-tabs> <el-tab-pane :lazy="true" label="基本配置"> <ospf-pane :ip="ip" /> </el-tab-pane> <el-tab-pane :lazy="true" label="高级配置"> <ospf-advanced-pane :ip="ip" /> </el-tab-pane> <el-tab-pane :lazy="true" label="邻居表"> <ospf-peers-pane></ospf-peers-pane> </el-tab-pane> ...
45,338
https://github.com/Gyebro/cell-mapping/blob/master/cpp/demo/pendulum.h
Github Open Source
Open Source
MIT
2,021
cell-mapping
Gyebro
C
Code
135
405
#ifndef CELL_MAPPING_CPP_PENDULUM_H #define CELL_MAPPING_CPP_PENDULUM_H #include "system.h" #include "vec2.h" #include "rk45.h" /** * \brief Single degree-of-freedom pendulum * q'' + beta q' = - alpha sin(q) * Using y0 = q, y1 = q', y = [y0 y1] * y'' = -beta y' - alpha sin(y) * y' = y' */ class Pendulum : publ...
6,863
https://github.com/wangjiegulu/kotlin/blob/master/jps-plugin/src/org/jetbrains/kotlin/jps/build/KotlinConstantSearchProvider.kt
Github Open Source
Open Source
Apache-2.0
2,018
kotlin
wangjiegulu
Kotlin
Code
104
391
/* * Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license * that can be found in the license/LICENSE.txt file. */ package org.jetbrains.kotlin.jps.build import com.intellij.util.concurrency.FixedFuture import org.jetbrains.jps.builders.java.ConstantSearchProvider impor...
41,224
https://github.com/py250015/jsign/blob/master/jsign-cli/src/main/java/net/jsign/JsignCLI.java
Github Open Source
Open Source
Apache-2.0
2,022
jsign
py250015
Java
Code
670
2,443
/** * Copyright 2012 Emmanuel Bourg * * 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...
33,772
https://github.com/jaydevchudasama/SEME/blob/master/main/java/seme/vilson/david/com/sems/b_tit/UserApi.java
Github Open Source
Open Source
BSD-3-Clause
null
SEME
jaydevchudasama
Java
Code
55
267
package seme.vilson.david.com.sems.b_tit; import org.json.JSONObject; import java.util.Map; import retrofit2.Call; import retrofit2.Callback; import retrofit2.http.Body; import retrofit2.http.Field; import retrofit2.http.GET; import retrofit2.http.Header; import retrofit2.http.Headers; import retrofit2.http.Multipa...
36,402
https://github.com/pdehaan/review.ninja/blob/master/src/tests/server/api/settings.js
Github Open Source
Open Source
Apache-2.0
null
review.ninja
pdehaan
JavaScript
Code
255
815
require('trace.ninja'); // unit test var assert = require('assert'); var sinon = require('sinon'); // config global.config = require('../../../config'); // documents var Settings = require('../../../server/documents/settings').Settings; // api var settings = require('../../../server/api/settings'); describe('setti...
29,888
https://github.com/oubenruing/m-mall/blob/master/etc/config.js
Github Open Source
Open Source
MIT
2,018
m-mall
oubenruing
JavaScript
Code
16
99
export default { // 线上环境 //basePath: 'https://www.skyvow.cn/api', //domain: 'https://www.skyvow.cn/', // 本地环境 basePath: 'http://119.29.224.170:3000/api', domain: 'http://119.29.224.170:3000/', }
1,696
https://github.com/terasum/medict/blob/master/src/main/mainsvc/StubDictAccessor.ts
Github Open Source
Open Source
MIT
2,022
medict
terasum
TypeScript
Code
85
259
import { Dictionary } from '../domain/Dictionary'; import { DictService } from './svc/DictionaryService'; import { StorabeDictionary } from '../../model/StorableDictionary'; const dictService = new DictService(); export class StubDictAccessor { dictFindOne(arg: { dictid: string }) { const dict = dictService.find...
17,199
https://github.com/jdkandersson/OpenAlchemy/blob/master/tests/open_alchemy/test_cache.py
Github Open Source
Open Source
Apache-2.0
2,022
OpenAlchemy
jdkandersson
Python
Code
889
3,418
"""Tests for the cache.""" import json import pathlib import pytest from open_alchemy import cache from open_alchemy import exceptions @pytest.mark.parametrize( "spec_path, expected_cache_path", [ pytest.param( pathlib.Path("some.file"), pathlib.Path(f"__open_alchemy_{cache....
18,657
https://github.com/pankaj-php/Hypleystaging/blob/master/wp-content/plugins/seo-by-rank-math/includes/admin/wizard/class-compatibility.php
Github Open Source
Open Source
GPL-2.0-or-later, GPL-2.0-only, MIT, GPL-1.0-or-later, LicenseRef-scancode-unknown-license-reference
2,021
Hypleystaging
pankaj-php
PHP
Code
883
3,315
<?php /** * The Compatibility wizard step. * * @since 0.9.0 * @package RankMath * @subpackage RankMath\Wizard * @author Rank Math <support@rankmath.com> */ namespace RankMath\Wizard; use RankMath\Helper; defined( 'ABSPATH' ) || exit; /** * Step class. */ class Compatibility implements Wizard_St...
11,007
https://github.com/uba95/pro_ecommerce/blob/master/resources/views/components/admin/active_badge.blade.php
Github Open Source
Open Source
MIT
null
pro_ecommerce
uba95
PHP
Code
20
90
<div class="col-lg-4"> <label> @if($active) <span class="badge badge-success">Active</span> @else <span class="badge badge-danger">Inactive</span> @endif <span>{{ $slot }}</span> </label> </div> <!-- col-4 -->
29,954
https://github.com/dryproject/drylib.cpp/blob/master/src/dry/base/integer.hpp
Github Open Source
Open Source
Unlicense
2,019
drylib.cpp
dryproject
C++
Code
105
283
/* This is free and unencumbered software released into the public domain. */ #pragma once #ifndef __cplusplus #error "DRYlib for C++ requires a C++ compiler" #endif #if __cplusplus < 201703L #error "DRYlib for C++ requires a C++17 compiler (CXXFLAGS='-std=c++17')" #endif ///////////////////////////////////////////...
9,258
https://github.com/biomurph/chipKIT-core-prebuilt/blob/master/MacOS core/chipkit-core/pic32/libraries/DEWFcK/examples/WiFiTCPEchoServer/WiFiTCPEchoServer.pde
Github Open Source
Open Source
MIT
2,016
chipKIT-core-prebuilt
biomurph
null
Spoken
1,363
3,532
/************************************************************************/ /* */ /* TCPEchoServer */ /* */ /* A chipKIT D...
17,125
https://github.com/infinitered/solidarity/blob/master/src/extensions/functions/buildSpecificRequirement.ts
Github Open Source
Open Source
MIT, LicenseRef-scancode-unknown-license-reference
2,022
solidarity
infinitered
TypeScript
Code
350
887
import { SolidarityRunContext, SolidaritySettings } from '../../types' import { keys } from 'ramda' namespace buildSpecificRequirement { const requiredInputQuestion = async ({ name, message, prompt }) => { const result = await prompt.ask({ name, type: 'input', message, }) if (!result[n...
52,541
https://github.com/EmblaTech/etna-boilerplate/blob/master/tests/routes/candidates/handler.test.ts
Github Open Source
Open Source
Apache-2.0
2,021
etna-boilerplate
EmblaTech
TypeScript
Code
86
251
import { containsOperators } from "../../../src/routes/candidates/handler"; describe("Should test containsOperators function", () => { test("Should contain an operator >", () => { const result = containsOperators( { "experience.$gte": 12, firstName: "Dasith", lastName: "kuruppu" }, "experience" ...
26,670
https://github.com/FanchenBao/Rokku/blob/master/src/raspberry_pi_camera/tests/test_camera_interface.py
Github Open Source
Open Source
MIT
2,021
Rokku
FanchenBao
Python
Code
77
379
def test_one(camera): assert "camera" in globals() or "camera" in locals() """def test_two(self): camera.start_mjpg_streamer() assert camera.check_mjpg_streamer()""" """def test_three(self): camera.stop_mjpg_streamer() assert not camera.check_mjpg_streamer()""" """def test_four(self): fname ...
43,572
https://github.com/llmora/dollbot/blob/master/research/dollbot_receiver_test/dollbot_receiver_test.ino
Github Open Source
Open Source
BSD-2-Clause
null
dollbot
llmora
null
Spoken
533
1,467
/* dollbot_receiver_test: Control positional LEDs with a 4-CH RC receiver. This sketch polls three of the channels of the RC receiver and lits up a set of 6 leds accordingly, one for each channel and direction. It is the initial test for a RC controlled water bot, you can find more information on the dollbot ...
48,115
https://github.com/MarinoBenassai/AppliMobileRestosCoeur/blob/master/src/screens/Engagements/index.js
Github Open Source
Open Source
Apache-2.0
2,021
AppliMobileRestosCoeur
MarinoBenassai
JavaScript
Code
1,143
4,254
import React, { useEffect, useState } from 'react'; import { ActivityIndicator, FlatList, Text, View, ImageBackground, ScrollView} from 'react-native'; import {SafeAreaView, Pressable, Modal, TextInput} from 'react-native'; import {userContext} from '../../contexts/userContext'; import {sendAPI} from '../../components...
19,932
https://github.com/wralonzo/restaurant/blob/master/application/controllers/Users.php
Github Open Source
Open Source
MIT, LicenseRef-scancode-unknown-license-reference
2,018
restaurant
wralonzo
PHP
Code
563
2,534
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Users extends CI_Controller { function __construct() { parent::__construct(); $this->load->model('User_model'); $this->load->helper('utilidades_helper'); } public function display( $porpagina = 5 , $de...
4,440
https://github.com/NJUCSE17/JB-Online/blob/master/database/migrations/2014_10_12_000000_create_users_table.php
Github Open Source
Open Source
MIT
2,020
JB-Online
NJUCSE17
PHP
Code
72
434
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateUsersTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create( 'user...
24,536
https://github.com/adragonite/math3D/blob/master/src/Matrix4x4.js
Github Open Source
Open Source
MIT
2,022
math3D
adragonite
JavaScript
Code
1,814
5,475
/* Copyright (c) 2016, Alihan Livdumlu. All rights reserved. Copyrights licensed under MIT License. See the accompanying LICENSE file for terms. */ var Matrix = require('./Matrix'); var Vector3 = require('./Vector3'); var Quaternion = require('./Quaternion'); var readonly = require('./readonlyProperty'); var util = r...
6,685
https://github.com/tuempeltaucher/photon/blob/master/src/main/java/de/komoot/photon/query/ReverseQueryBuilder.java
Github Open Source
Open Source
Apache-2.0
2,020
photon
tuempeltaucher
Java
Code
398
1,371
package de.komoot.photon.query; import com.google.common.collect.ImmutableSet; import com.vividsolutions.jts.geom.Envelope; import com.vividsolutions.jts.geom.Point; import org.elasticsearch.common.unit.DistanceUnit; import org.elasticsearch.index.query.BoolQueryBuilder; import org.elasticsearch.index.query.QueryBuild...
19,878
https://github.com/bayne/ebean/blob/master/ebean-core/src/test/java/org/tests/o2m/OmBasicChild.java
Github Open Source
Open Source
Apache-2.0
2,022
ebean
bayne
Java
Code
92
261
package org.tests.o2m; import javax.persistence.Entity; import javax.persistence.Id; import javax.persistence.ManyToOne; import javax.persistence.Version; @Entity public class OmBasicChild { @Id private long id; private final String name; @ManyToOne private final OmBasicParent parent; @Version priva...
16,156
https://github.com/PaulEndri/eternal-return-project/blob/master/packages/data/src/data/Items/C4.ts
Github Open Source
Open Source
MIT
null
eternal-return-project
PaulEndri
TypeScript
Code
73
280
import Item from '../../types/Item'; export const C4: Item = { "id": 502404, "name": "C4", "buildsFrom": [ 502307, 401206 ], "buildsInto": [], "requirements": { "Piano Wire": 1, "Gunpowder": 1, "Scrap Metal": 1, "Chalk": 1, "Stone": 1 }, "stats": {}, "rarity": "Epic", "stackable": true, "maxSt...
23,522
https://github.com/lcontento/cytokit/blob/master/python/pipeline/cytokit/cytometry/data.py
Github Open Source
Open Source
Apache-2.0
2,022
cytokit
lcontento
Python
Code
222
608
from cytokit import io as cytokit_io import os.path as osp import pandas as pd import numpy as np import logging logger = logging.getLogger(__name__) def aggregate(config, output_dir): """Aggregate cytometry data associated with an experiment into a single dataframe Args: config: Experiment configura...
47,390
https://github.com/paige-ingram/nwhacks2022/blob/master/node_modules/@fluentui/react-icons/lib/esm/components/PersonProhibited28Regular.js
Github Open Source
Open Source
Apache-2.0
null
nwhacks2022
paige-ingram
JavaScript
Code
113
423
import * as React from 'react'; import wrapIcon from '../utils/wrapIcon'; const rawSvg = (iconProps) => { const { className, primaryFill } = iconProps; return React.createElement("svg", { width: 28, height: 28, viewBox: "0 0 28 28", xmlns: "http://www.w3.org/2000/svg", className: className }, React.crea...
37,657
https://github.com/Leejjon/battleround/blob/master/html/src/main/java/org/stofkat/battleround/server/authentication/RegisterServlet.java
Github Open Source
Open Source
Apache-2.0
2,021
battleround
Leejjon
Java
Code
529
1,716
package org.stofkat.battleround.server.authentication; import java.io.IOException; import java.security.NoSuchAlgorithmException; import javax.servlet.ServletException; import javax.servlet.ServletOutputStream; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.h...
43,543
https://github.com/madplay/Mad-jEnv/blob/master/src/main/java/com/madplay/jenv/dialog/AbstractDialogWrapper.java
Github Open Source
Open Source
MIT
2,022
Mad-jEnv
madplay
Java
Code
114
403
package com.madplay.jenv.dialog; import java.awt.BorderLayout; import java.awt.Dimension; import java.util.Map; import javax.swing.JComponent; import javax.swing.JPanel; import org.jetbrains.annotations.Nullable; import com.intellij.openapi.ui.DialogWrapper; import com.madplay.jenv.constant.DialogMessage; /** * @...
19,940
https://github.com/coha-it/dts-api/blob/master/app/Notifications/VerifyEmail.php
Github Open Source
Open Source
MIT
null
dts-api
coha-it
PHP
Code
62
210
<?php namespace App\Notifications; use Carbon\Carbon; use Illuminate\Support\Facades\URL; use Illuminate\Auth\Notifications\VerifyEmail as Notification; class VerifyEmail extends Notification { /** * Get the verification URL for the given notifiable. * * @param mixed $notifiable * @return s...
10,018
https://github.com/abriggs-usgs/waterdataui/blob/master/wdfn-server/waterdata/tests/test_filters.py
Github Open Source
Open Source
CC0-1.0
2,021
waterdataui
abriggs-usgs
Python
Code
803
3,775
""" Unit tests for Jinja2 filters. """ import datetime from unittest import TestCase import pendulum from ..filters import asset_url_filter, static_url_filter, use_correct_indefinite_article, data_start_year, \ readable_param_list, date_to_string, tooltip_content_id, https_url, numerical_parameter_list def test_...
48,289
https://github.com/JuStPiNkCoDeR/PavQR/blob/master/public/js/classes/common/link.js
Github Open Source
Open Source
MIT
2,019
PavQR
JuStPiNkCoDeR
JavaScript
Code
47
158
class Link { constructor(ID, info) { this.id = ID; this.link = ID; this.ajax = new XMLHttpRequest(); this.data = info; } send(callback) { const l = this.link; const aj = this.ajax; aj.open('POST', l, true); aj.setRequestHeader("X-Requested-Wi...
53,440
https://github.com/s3db/s3db/blob/master/s3dbcore/uid_resolve.php
Github Open Source
Open Source
MIT
2,020
s3db
s3db
PHP
Code
442
1,824
<?php #uid_resolve checks whether a certain s3db uid is valid and breaks the relevant elements for it to be resolved to a URL #Helena F Deus, 280709 //Uncomment this section for API calls /* if($_REQUEST['uid']!=""){ #try these uid "D456P123D789C987I654", "D456|PDDRR123|D789|C987|I654" include_once('../config...
11,282
https://github.com/xxmingming/meteor_original_ios/blob/master/Assets/Resource/SFX/Resources/W06BL104.ef.bytes.meta
Github Open Source
Open Source
Apache-2.0
2,020
meteor_original_ios
xxmingming
Unity3D Asset
Code
13
75
fileFormatVersion: 2 guid: 8ddbc6f84c0103f4598fe8a4039399a7 timeCreated: 1512225507 licenseType: Free TextScriptImporter: userData: assetBundleName: w06bl104.ef.bytes assetBundleVariant:
13,463
https://github.com/sohosai/sos21-frontend/blob/master/src/contexts/toast/useToastCore.tsx
Github Open Source
Open Source
Apache-2.0
2,022
sos21-frontend
sohosai
TypeScript
Code
206
554
import { TransitionFn, useTransition } from "@react-spring/web" import { useState, useMemo } from "react" import { Toast } from "../../components" type Item = { key: number toastProps: Toast.Props } const useToastCore = (): { refMap: WeakMap<any, any> addToast: (toastOptions: Omit<Toast.Props, "progress">) =...
29,025
https://github.com/askpt/hello-swift/blob/master/100daysSwiftUi/Views and view controllers/BucketList/BucketList/EditView-ModelView.swift
Github Open Source
Open Source
MIT
null
hello-swift
askpt
Swift
Code
181
565
// // EditView-ModelView.swift // BucketList // // Created by Andre Silva on 28/05/2022. // import Foundation extension EditView { enum LoadingState { case loading, loaded, failed } @MainActor class ViewModel: ObservableObject { var location: Location var onSave: (...
43,274
https://github.com/fabioricali/doz/blob/master/src/utils/delay.js
Github Open Source
Open Source
MIT
2,018
doz
fabioricali
JavaScript
Code
14
46
let d = window.setTimeout.bind(window); if (window.requestAnimationFrame) { d = window.requestAnimationFrame.bind(window); } module.exports = d;
54,175
https://github.com/NavInfoNC/ncquiz/blob/master/QuickQuestion/WebRoot/test.jsp
Github Open Source
Open Source
MIT
2,019
ncquiz
NavInfoNC
null
Spoken
214
1,442
<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%> <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> <%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>四维图新在线笔试系统 beta 1.2</title> <link ...
27,668
https://github.com/gabrywu/lemon-schedule/blob/master/lemon-schedule-core/src/main/scala/com/gabry/job/core/tools/UniqueIDGenerator.scala
Github Open Source
Open Source
Apache-2.0
2,020
lemon-schedule
gabrywu
Scala
Code
42
137
package com.gabry.job.core.tools import java.util.UUID import com.gabry.job.core.domain.UID /** * Created by gabry on 2018/5/18 10:07 * UID生成器接口 */ trait UniqueIDGenerator { def nextUID():UID } object UIDGenerator{ val globalUIDGenerator:UniqueIDGenerator = new UIDGenerator } class UIDGenerator extends Uni...
32,354
https://github.com/2022karanbhasin/heartbeatNU/blob/master/react-ui/src/dating_components/sidebar.js
Github Open Source
Open Source
MIT
2,020
heartbeatNU
2022karanbhasin
JavaScript
Code
190
591
import { Icon, Menu, Segment, Sidebar } from 'semantic-ui-react' import { InfoContext } from '../AppApp' import { Router, useParams, Link } from 'react-router-dom'; import React, { useState, useEffect, useContext } from 'react'; const SideBar = () => { const { user, visible, setVisible } = React.useContext(Inf...
26,821
https://github.com/stella3d/BlobHandles/blob/master/Tests/Runtime/PerformanceTests.cs
Github Open Source
Open Source
MIT
2,022
BlobHandles
stella3d
C#
Code
969
3,417
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Net.Sockets; using System.Text; using BlobHandles.Tests; using UnityEditor; using UnityEngine; using Random = UnityEngine.Random; namespace BlobHandles.Tests { public class PerformanceTests ...
22,611
https://github.com/theStag/testing_symfony/blob/master/test2/var/cache/dev/twig/ee/ee3573f02f1b9d8d6af946c9245d7050d4e8b0b2e37cb73d246cd34af1bd70e6.php
Github Open Source
Open Source
MIT
null
testing_symfony
theStag
PHP
Code
391
2,651
<?php /* reservations/book.html.twig */ class __TwigTemplate_de2765168c6ec18e6f7d1dd426e01c61cc8c3d9bc274fa471fe86a8bea43c728 extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); // line 1 $this->parent = $this->loadTemplate("base.html...
36,520
https://github.com/naishtech/platform-agnostic-typescript-template/blob/master/src/components/upload/Upload.tsx
Github Open Source
Open Source
MIT
2,020
platform-agnostic-typescript-template
naishtech
TypeScript
Code
255
872
import * as React from "react"; import { observer } from "mobx-react"; import { Messages } from "../../services/Messages"; import { UploadState } from "./UploadState"; import * as firebase from "firebase/app"; import "firebase/storage"; /** * Sample Upload / download / delete */ declare const window: { File: ...
40,508
https://github.com/cmuorah/XChange/blob/master/xchange-mercadobitcoin/src/main/java/org/knowm/xchange/mercadobitcoin/dto/marketdata/MercadoBitcoinTicker.java
Github Open Source
Open Source
MIT
2,019
XChange
cmuorah
Java
Code
222
623
package org.knowm.xchange.mercadobitcoin.dto.marketdata; import com.fasterxml.jackson.annotation.JsonProperty; /** @author Felipe Micaroni Lalli */ public class MercadoBitcoinTicker { private final MercadoBitcoinTicker.Ticker ticker; public MercadoBitcoinTicker(@JsonProperty("ticker") MercadoBitcoinTicker.Ticke...
33,415
https://github.com/danubetech/key-formats-java/blob/master/src/test/java/com/danubetech/keyformats/keytypes/ASNUtilTest.java
Github Open Source
Open Source
Apache-2.0
2,023
key-formats-java
danubetech
Java
Code
79
571
package com.danubetech.keyformats.keytypes; import com.danubetech.keyformats.util.ASNUtil; import org.apache.commons.codec.DecoderException; import org.apache.commons.codec.binary.Hex; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertEquals; public class ASNUtilTest { static ...
23,434
https://github.com/Monkeyyingbao/Mobilesafe/blob/master/phone/app/src/main/java/com/itsafe/phone/service/WatchDogService.java
Github Open Source
Open Source
Apache-2.0
null
Mobilesafe
Monkeyyingbao
Java
Code
213
960
package com.itsafe.phone.service; import android.app.ActivityManager; import android.app.Service; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.os.IBinder; import android.os.SystemClock; import android.suppor...
21,033
https://github.com/tkmn0/Caress.Unity/blob/master/Assets/Caress/_Examples/Scripts/DecoderHandler.cs
Github Open Source
Open Source
MIT
2,022
Caress.Unity
tkmn0
C#
Code
95
266
using System; using UnityEngine; namespace Caress.Examples { public class DecoderHandler : MonoBehaviour { public Decoder Decoder { get; private set; } public event Action<float[], int> OnDecoded; private const int BufferSize = 1024; private float[] _pcmBuffer = new float[Buffer...
37,905
https://github.com/zhengyong163/thinkbbs/blob/master/config/console.php
Github Open Source
Open Source
MIT
null
thinkbbs
zhengyong163
PHP
Code
16
74
<?php return [ // 指令定义 'commands' => [ 'bbs:active-user' => 'app\common\command\ActiveUser', 'bbs:sync-last-active' => 'app\common\command\SyncLastActive', ], ];
43,931
https://github.com/clehamon/IPD-Colibri/blob/master/app/styles/userprofile.scss
Github Open Source
Open Source
MIT
2,017
IPD-Colibri
clehamon
SCSS
Code
21
91
.profileAvatar{ height:120px; width:120px; display: block; margin-left: auto; margin-right: auto; } .loginTitle { margin-left: auto; margin-right: auto; width: 6em; font-size: 30px; }
29,184
https://github.com/RafaelCava/nest_estudo_2/blob/master/src/core/http/nest-response.ts
Github Open Source
Open Source
MIT
null
nest_estudo_2
RafaelCava
TypeScript
Code
17
48
export class NestResponse { status: number headers: Object body: Object constructor(resposta: NestResponse) { Object.assign(this, resposta) } }
1,834
https://github.com/cesarrrguez/CSharpScripts/blob/master/src/Configuration/entities.csx
Github Open Source
Open Source
MIT
2,021
CSharpScripts
cesarrrguez
C#
Code
19
34
public class EmailConfiguration { public string SmtpServer { get; set; } public string From { get; set; } }
20,428
https://github.com/pingponglabs/react-native-aria/blob/master/src/checkbox/src/native/index.ts
Github Open Source
Open Source
MIT
2,020
react-native-aria
pingponglabs
TypeScript
Code
16
41
export * from './useCheckbox'; export * from './useCheckboxGroupItem'; export * from './useCheckboxGroup'; export * from './AriaInputWrapper';
49,271
https://github.com/demic-dev/web-dev-course-gatsbyjs/blob/master/src/components/Projects.tsx
Github Open Source
Open Source
MIT
null
web-dev-course-gatsbyjs
demic-dev
TypeScript
Code
168
534
import React from "react"; import styled from "styled-components"; import { BaseWrapper, CaptionContainer } from "../utils/globalComponents"; import { BodyText } from "../utils/typography"; import { COLORS, PROJECTS } from "../utils/constants"; import SingleProject from "./SingleProject"; const ProjectsContainer = s...
19,176
https://github.com/bootiq/cms-api-vendor/blob/master/src/DataObject/Layout.php
Github Open Source
Open Source
Apache-2.0
null
cms-api-vendor
bootiq
PHP
Code
155
472
<?php namespace BootIq\CmsApiVendor\DataObject; class Layout { /** * @var string */ private $code; /** * @var array|Block[] */ private $blocks = []; /** * @var array|string[] */ private $requiredComponents = []; /** * Layout constructor. * @param...
13,650
https://github.com/baodieppro/101/blob/master/Classes/HomeVC/controller/WebViewController.h
Github Open Source
Open Source
Apache-2.0
2,021
101
baodieppro
C
Code
39
142
// // WebViewController.h // GSDlna // // Created by ios on 2019/12/11. // Copyright © 2019 GSDlna_Developer. All rights reserved. // #import "BaseViewController.h" NS_ASSUME_NONNULL_BEGIN @interface WebViewController : BaseViewController @property(nonatomic,strong) NSString *titleNavi; @property(nonatomic,stron...
709
https://github.com/CyberSys/coreclr-mono/blob/master/tests/src/JIT/Regression/CLR-x86-JIT/V1-M13-RTM/b91855/b91855.cs
Github Open Source
Open Source
MIT
2,021
coreclr-mono
CyberSys
C#
Code
91
191
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // using System; struct AA { static int Main() { try { Main1(); return 101; } catch (InvalidCastExceptio...
42,276
https://github.com/eliel-jr/flexi/blob/master/packages/flexi-sustain/addon/components/sustain-support.hbs
Github Open Source
Open Source
MIT
null
flexi
eliel-jr
null
Spoken
19
110
{{#each this.sustains.alive as |sustained|}} {{#in-element sustained.target}} <div {{did-insert sustained.mount}}> {{sustained.range.firstNode}} {{component sustained.componentName model=sustained.model subscribe=sustained.subscribe }} {{sustained.range.lastNode}} ...
41,303
https://github.com/dimitardanailov/angularjs101/blob/master/Final/app/development/angular/helloworld/HelloWorld.Module.js
Github Open Source
Open Source
MIT
null
angularjs101
dimitardanailov
JavaScript
Code
16
62
import module from '../app.module'; import HelloWorldRouteConfiguration from './HelloWorld.Route'; angular .module(module + '.helloworld', [ 'ui.router' ]) .config(HelloWorldRouteConfiguration);
21,894
https://github.com/thierryH91200/ModernLookOSXSampleSwift/blob/master/Modern Look/MLCalendar/MLCalendarView.swift
Github Open Source
Open Source
Apache-2.0
2,020
ModernLookOSXSampleSwift
thierryH91200
Swift
Code
1,161
2,979
// // MLCalendarView.swift // ModernLookOSXSampleSwift // // Created by thierry hentic on 20/04/2019. // Copyright © 2019 thierry hentic. All rights reserved. // import AppKit protocol MLCalendarViewDelegate: NSObjectProtocol { func didSelectDate(_ selectedDate: Date) } final class MLCalendarView: NSViewCont...
24,987
https://github.com/metaborg/spoofax-pie/blob/master/core/tego.runtime/src/test/java/mb/tego/strategies/NamedStrategy2Tests.java
Github Open Source
Open Source
Apache-2.0
2,023
spoofax-pie
metaborg
Java
Code
100
322
package mb.tego.strategies; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertFalse; /** * Tests the {@link NamedStrategy2} class. */ public final class NamedStrategy2Tests { @Test public void isAnonymous_sh...
22,369
https://github.com/rajareddyts/wannabee/blob/master/src/app/components/locateme/locateme.component.ts
Github Open Source
Open Source
MIT
2,017
wannabee
rajareddyts
TypeScript
Code
240
822
import { Component, NgModule, NgZone, OnInit, ViewChild, ElementRef } from '@angular/core'; import { FormControl, FormsModule, ReactiveFormsModule } from "@angular/forms"; import { AgmCoreModule, MapsAPILoader } from '@agm/core'; import { ApiClientService } from '../../services'; @Component({ selector: 'app-locate...
19,103
https://github.com/reagent-project/reagent/blob/master/lib/modules.js
Github Open Source
Open Source
MIT
2,023
reagent
reagent-project
JavaScript
Code
33
108
function exported_require (name) { switch (name) { case "react": return require("react"); case "react-dom": return require("react-dom"); case "react-dom/server": return require("react-dom/server"); default: console.error("Unknown module: ", name); } } if (!global.req...
50,223
https://github.com/Qters/QrTest/blob/master/source/src/qrrunner.cpp
Github Open Source
Open Source
Apache-2.0
null
QrTest
Qters
C++
Code
38
197
#include "qrrunner.h" #include <QScopedPointer> #include <QtTest/QtTest> #include <iostream> #include "qrtestsuitefactory.h" #include "qrtestsuiteregistry.h" USING_NS_QRTEST; int QrRunner::runAllTest() { foreach (QrTestSuiteFactory* factory, QrTestSuiteRegistry::getInstance()->getAllFactories()) { run...
7,289
https://github.com/mozii/hexo/blob/master/lib/console.js
Github Open Source
Open Source
MIT
2,013
hexo
mozii
JavaScript
Code
181
566
var async = require('async'), colors = require('colors'), _ = require('underscore'); module.exports = function(command, argv){ async.series([ function(next){ require('./config')(process.cwd(), argv, next); }, function(next){ if (argv.safe) next(); else require('./loader')(next); ...
41,382
https://github.com/Makc2032/aws-eks-rhel-workers/blob/master/sm-install-worker.sh
Github Open Source
Open Source
Apache-2.0
2,020
aws-eks-rhel-workers
Makc2032
Shell
Code
802
3,549
#!/usr/bin/env bash set -o pipefail set -o nounset #set -o errexit IFS=$'\n\t' TEMPLATE_DIR="${TEMPLATE_DIR:-./files}" # Kubernetes Variables export BINARY_BUCKET_NAME="amazon-eks" export BINARY_BUCKET_REGION="us-west-2" export AWS_ACCESS_KEY_ID="" export KUBERNETES_BUILD_DATE="2020-04-16" export CNI_VERSION="v0.6.0...
9,656
https://github.com/Hernan1ro/Email-simulator/blob/master/js/app.js
Github Open Source
Open Source
MIT
null
Email-simulator
Hernan1ro
JavaScript
Code
332
1,417
// Variables const btnEnviar = document.querySelector("#enviar"); const btnReset = document.querySelector("#resetBtn"); const formulario = document.querySelector("#enviar-mail"); console.log(btnReset); // Variables par campos const email = document.querySelector("#email"); const asunto = document.querySelector("#asunt...
23,216
https://github.com/henricook/scala-bcrypt/blob/master/version.sbt
Github Open Source
Open Source
Apache-2.0
null
scala-bcrypt
henricook
Scala
Code
5
19
version in ThisBuild := "4.3.1-SNAPSHOT"
262
https://github.com/NickolayLototskiyDevPro/AngularFlowDnipro/blob/master/home_works/oleksandr.martyniuk/src/hw1/mixins/deletable.ts
Github Open Source
Open Source
MIT
2,017
AngularFlowDnipro
NickolayLototskiyDevPro
TypeScript
Code
16
38
export class Deletable { public value: string; public delete(): void { this.value = 'deleted'; } }
54,373
https://github.com/huangxiaoyu/Elephant/blob/master/app/src/main/java/com/jun/elephant/util/JLog.java
Github Open Source
Open Source
Apache-2.0
2,022
Elephant
huangxiaoyu
Java
Code
331
823
/* * Copyright 2016 Freelander * <p> * 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 * <p> * http://www.apache.org/licenses/LICENSE-2.0 * <p> * Unless required by applicable law or agr...
6,943
https://github.com/thhapke/gensolution/blob/master/deprecated/string_collector/string_collector.py
Github Open Source
Open Source
MIT
2,020
gensolution
thhapke
Python
Code
243
853
import sys import sdi_utils.gensolution as gs import sdi_utils.set_logging as slog import sdi_utils.textfield_parser as tfp import sdi_utils.tprogress as tp try: api except NameError: class api: class Message: def __init__(self, body=None, attributes=""): self.body = body ...
37,539