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/huguiqi/blog_demos/blob/master/tomcat_openresty_docker_image_files/ngx_openresty-1.7.7.2/bundle/memc-nginx-module-0.15/t/keepalive/storage.t
Github Open Source
Open Source
Apache-2.0, BSD-3-Clause, BSD-2-Clause
2,020
blog_demos
huguiqi
Perl
Code
1,560
5,085
# vi:filetype= use lib 'lib'; use Test::Nginx::Socket; repeat_each(2); plan tests => repeat_each() * (2 * blocks() - 1); $ENV{TEST_NGINX_MEMCACHED_PORT} ||= 11211; our $http_config = <<'_EOC_'; upstream foo { server 127.0.0.1:$TEST_NGINX_MEMCACHED_PORT; keepalive 1; } _EOC_ #no_shuffle(); ...
2,273
https://github.com/BadenLab/MEA_analysis_GUI/blob/master/CircStat2012a/formatSubplot.m
Github Open Source
Open Source
BSD-3-Clause, BSD-2-Clause
2,021
MEA_analysis_GUI
BadenLab
MATLAB
Code
64
281
function formatSubplot(handle,varargin) args.fs = 7; args.xl = []; args.yl = []; args.box = []; args.ax = []; args.lim = []; args.tt = []; args.xt = []; args.yt =[]; args = parseVarArgs(args,varargin{:}); set(handle,'fontsize',args.fs) if ~isempty(args.xl) xlabel(handle,args.xl) end if ~isempty(args.yl) ylabel(ha...
9,856
https://github.com/densh/scalac-native/blob/master/asm/src/main/scala/scala/tools/asm/tree/analysis/BasicVerifier.scala
Github Open Source
Open Source
Apache-2.0
2,021
scalac-native
densh
Scala
Code
1,212
3,750
/*** * ASM: a very small and fast Java bytecode manipulation framework * Copyright (c) 2000-2011 INRIA, France Telecom * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistribution...
10,987
https://github.com/jubil/TchatP2P/blob/master/src/main/java/network/Server.java
Github Open Source
Open Source
Apache-2.0
2,017
TchatP2P
jubil
Java
Code
174
546
package network; import java.io.IOException; import java.net.ServerSocket; import java.net.Socket; import java.util.ArrayList; public class Server implements Runnable { private int port; private ArrayList<Child> children; private ArrayList<Message> messages; public Server(int port) { this.port = port; ch...
38,407
https://github.com/Mike-E-wins/EFCore.Performance.Parallel/blob/master/EFCore.Performance.NUnit/Tests1.cs
Github Open Source
Open Source
MIT
null
EFCore.Performance.Parallel
Mike-E-wins
C#
Code
51
184
using NUnit.Framework; using System.Threading.Tasks; namespace EFCore.Performance.NUnit { [Parallelizable] public sealed class Tests1 { [SetUp] public void Setup() { } [Test] public Task Test1() => Run.Default.Execute(); [Test] public Task Test2() => Run.Default.Execute(); [Test] public Task ...
284
https://github.com/ScalablyTyped/SlinkyTyped/blob/master/p/pulumi__aws/src/main/scala/typingsSlinky/pulumiAws/gameliftFleetMod.scala
Github Open Source
Open Source
MIT
2,021
SlinkyTyped
ScalablyTyped
Scala
Code
1,706
5,761
package typingsSlinky.pulumiAws import org.scalablytyped.runtime.StringDictionary import typingsSlinky.pulumiAws.outputMod.gamelift.FleetEc2InboundPermission import typingsSlinky.pulumiAws.outputMod.gamelift.FleetResourceCreationLimitPolicy import typingsSlinky.pulumiAws.outputMod.gamelift.FleetRuntimeConfiguration im...
39,882
https://github.com/RFP53-Gimli/dwarf-products/blob/master/server/spec/transformers.test.js
Github Open Source
Open Source
MIT
2,021
dwarf-products
RFP53-Gimli
JavaScript
Code
187
446
const transformers = require('../../server/transformers'); const testData = [ { id: 1, name: 'Camo Onesie', slogan: 'Blend in to your crowd', description: 'The So Fatigues will wake you up and fit you in. This high energy camo will have you blending in to even the wildest surroundings.', category...
8,952
https://github.com/jamesstonehill/anonymous/blob/master/spec/acceptance/active_record_spec.rb
Github Open Source
Open Source
MIT
2,019
anonymous
jamesstonehill
Ruby
Code
275
895
require "active_record" # Need to require this after requiring active_record because we only require the # ActiveRecord functionality if the ActiveRecord constant is defined require "anonymous/active_record" RSpec.describe "ActiveRecord Anonymization" do before(:all) do ActiveRecord::Base.establish_connection(ad...
53,019
https://github.com/acj9189/PSI_AudioPro/blob/master/Programacion/Audiopro/resources/views/paginas/ConsultaCliente.blade.php
Github Open Source
Open Source
MIT
2,018
PSI_AudioPro
acj9189
Blade
Code
270
777
@extends('layouts.orden') @section('head') <title>Estado Articulo</title> @stop @section('form') <div name="container" style="padding-left: 30px"> <table border = "1"> <tr> <h4>Estado de tus artculos: </h4> </tr> <tr > <td>Nombre Articulo: </td> <td>{{$orden[0]-> notas}}</td> </tr> <tr ...
6,931
https://github.com/gaforb/RiskyMod/blob/master/RiskyMod/Survivors/Bandit2/EntityStates/Primary/FirePrimaryShotgun.cs
Github Open Source
Open Source
MIT
null
RiskyMod
gaforb
C#
Code
251
999
using UnityEngine; using RoR2; using UnityEngine.Networking; namespace EntityStates.RiskyMod.Bandit2.Primary { public class FirePrimaryShotgun : FirePrimaryBase { public static GameObject _muzzleFlashPrefab = LegacyResourcesAPI.Load<GameObject>("prefabs/effects/muzzleflashes/MuzzleflashBandit2"); ...
53,578
https://github.com/pmzi/local-chat/blob/master/src/main/src/index.js
Github Open Source
Open Source
MIT
null
local-chat
pmzi
JavaScript
Code
37
100
// eslint-disable-next-line import/no-extraneous-dependencies const { ipcMain } = require('electron'); const createSocketServer = require('./createSocketServer'); module.exports = function start() { ipcMain.on('createServer', (event, { port = 8080, name = 'Awesome Room' }) => { createSocketServer({ port, name })...
52,716
https://github.com/jsdelivrbot/ReduxSimpleStarter-62/blob/master/src/index.js
Github Open Source
Open Source
MIT
null
ReduxSimpleStarter-62
jsdelivrbot
JavaScript
Code
276
1,128
import React, { Component } from 'react'; import ReactDOM from 'react-dom'; import GooderList from './components/gooder_list'; import GooderDetail from "./components/gooder_detail"; import OptionBar from './components/option_bar'; const MG_API_URL = 'https://api.mygooder.com/api/v1/gooders'; const LOCATIONS = { 'Pa...
9,097
https://github.com/sajjad1124/lighthouse/blob/master/Scripts/mqttJsonDataReceiver.py
Github Open Source
Open Source
MIT
2,021
lighthouse
sajjad1124
Python
Code
103
364
import paho.mqtt.client as mqtt from threading import Timer import time import json import math from store_Sensor_Data_to_DB import sensor_Data_Handler client = mqtt.Client('d:xkusl1:WiFi:did001') broker= "xkusl1.messaging.internetofthings.ibmcloud.com" port=1883 client.username_pw_set('use-token-auth', '1qgh0uRc5zH...
27,451
https://github.com/naohisas/KVS/blob/master/Source/SupportPython/NumPy.h
Github Open Source
Open Source
BSD-3-Clause, MIT, Zlib, LicenseRef-scancode-public-domain, BSD-2-Clause
2,023
KVS
naohisas
C
Code
23
108
/*****************************************************************************/ /** * @file NumPy.h * @author Naohisa Sakamoto */ /*****************************************************************************/ #pragma once #define NO_IMPORT_ARRAY #define PY_ARRAY_UNIQUE_SYMBOL KVS_PYTHON_NUMPY_ARRAYOBJECT_H #def...
38,274
https://github.com/ptdeboer/Platinum/blob/master/ptk-vbrowser-vrs/src/main/java/nl/esciencecenter/vbrowser/vrs/mimetypes/MimeTypes.java
Github Open Source
Open Source
Apache-2.0, LicenseRef-scancode-unknown-license-reference
2,023
Platinum
ptdeboer
Java
Code
379
948
/* * Copyright 2012-2014 Netherlands eScience Center. * * 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 the following location: * * http://www.apache.org/licenses/LICENSE-2.0 * * U...
16,666
https://github.com/polmes/phasta/blob/master/phSolver/compressible/getthm.f
Github Open Source
Open Source
BSD-3-Clause
2,022
phasta
polmes
null
Spoken
1,496
3,858
subroutine getthm (pres, T, Sclr, rk, rho, & ei, h, s, cv, cp, & alfap, betaT, gamb, c ) c c----------------------------------------------------------------------- c c This subroutine calculates the thermodynamic properties. c c...
30,463
https://github.com/balajmarius/walt/blob/master/src/generator/__tests__/array-subscript-spec.js
Github Open Source
Open Source
MIT
2,017
walt
balajmarius
JavaScript
Code
137
366
import test from "ava"; import parseExpression from "../../parser/expression"; import generateArraySubscript from "../array-subscript"; import { TYPE_ARRAY, TYPE_USER, TYPE_OBJECT } from "../../parser/metadata"; import { mockContext } from "../../utils/mocks"; test("generated array offsets", t => { const ctx = mockC...
8,127
https://github.com/yuvi18/Madness-Bullet-Hell-Shooter/blob/master/Madness/Stand Alone Scripts/LevelTimer/LevelTimer.pde
Github Open Source
Open Source
Apache-2.0
2,017
Madness-Bullet-Hell-Shooter
yuvi18
null
Spoken
97
314
//Stand Alone Script that times the bullets and creates an array due to human input int[] levelArray = {}; import lord_of_galaxy.timing_utils.*; import ddf.minim.*; Stopwatch bT; Minim minim; AudioPlayer player; JSONArray tempJson; void setup(){ background(255); size(500, 500); tempJson = new JSONArray();...
5,245
https://github.com/luutuan2503/AutoBuild-CSCLEDE/blob/master/target/linux/brcm2708/patches-4.19/950-0393-staging-bcm2835-audio-Operate-non-atomic-PCM-ops.patch
Github Open Source
Open Source
MIT
null
AutoBuild-CSCLEDE
luutuan2503
null
Spoken
1,967
7,936
From 87ba8310e9f0882e85926ac1ef91333f8906b303 Mon Sep 17 00:00:00 2001 From: Takashi Iwai <tiwai@suse.de> Date: Tue, 4 Sep 2018 17:58:49 +0200 Subject: [PATCH] staging: bcm2835-audio: Operate non-atomic PCM ops commit 5c7883e5f27e829f3f3a2ba174d4a724bfd5f026 upstream. This is the most significant part in the patch se...
19,234
https://github.com/jjimenezg93/ai-pathfinding/blob/master/moai/src/moaicore/MOAIPartitionCell.cpp
Github Open Source
Open Source
MIT
null
ai-pathfinding
jjimenezg93
C++
Code
564
1,476
// Copyright (c) 2010-2011 Zipline Games, Inc. All Rights Reserved. // http://getmoai.com #include "pch.h" #include <moaicore/MOAILogMessages.h> #include <moaicore/MOAIPartition.h> #include <moaicore/MOAIPartitionCell.h> #include <moaicore/MOAIPartitionLevel.h> #include <moaicore/MOAIPartitionResultBuffer.h> #include ...
9,655
https://github.com/freesummerwind/suggestService/blob/master/sources/main.cpp
Github Open Source
Open Source
MIT
null
suggestService
freesummerwind
C++
Code
364
1,254
#include <fstream> #include <iostream> #include <memory> #include <mutex> #include <string> #include <shared_mutex> #include <thread> #include <set> #include <grpcpp/grpcpp.h> #include <grpcpp/health_check_service_interface.h> #include <grpcpp/ext/proto_server_reflection_plugin.h> #include <nlohmann/json.hpp> #inclu...
10,465
https://github.com/kami-lang/madex-redex/blob/master/cmake_modules/FindZlib.cmake
Github Open Source
Open Source
MIT
null
madex-redex
kami-lang
CMake
Code
431
1,377
# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You...
41,461
https://github.com/Cuda-Chen/leetcode_contests/blob/master/biweekly/67/solution_3.cpp
Github Open Source
Open Source
MIT
null
leetcode_contests
Cuda-Chen
C++
Code
137
415
// https://leetcode.com/problems/detonate-the-maximum-bombs/discuss/1623383/easy-to-understand(-Directed-Graph-%2B-DFS) // directed graph + DFS class Solution { public: int maximumDetonation(vector<vector<int>>& bombs) { for(int i = 0; i < bombs.size(); i++) { double r = bombs[i][2] * 1.0; ...
25,015
https://github.com/zintaen/appdr/blob/master/src/layouts/AuthLayout/index.js
Github Open Source
Open Source
MIT
2,021
appdr
zintaen
JavaScript
Code
6
11
export { default } from './AuthLayout';
43,063
https://github.com/sphp/tvapp/blob/master/js/tiny.mini.js
Github Open Source
Open Source
MIT
null
tvapp
sphp
JavaScript
Code
586
3,055
function byid(sel,doc){return iselm(sel) ? sel : (doc||document)['getElementById'](sel)} function selall(sel,doc){return islist(sel)? sel : (doc||document)['querySelectorAll'](sel)} function selone(sel,doc){return iselm(sel) ? sel : (doc||document)['querySelector'](sel)} function log(arg){console.log(arg)} function le...
36,682
https://github.com/AlexAndriichenko-zz/buck/blob/master/src/com/facebook/buck/distributed/DistBuildExecutor.java
Github Open Source
Open Source
Apache-2.0
2,022
buck
AlexAndriichenko-zz
Java
Code
478
2,064
/* * Copyright 2016-present Facebook, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may * not use this file except in compliance with the License. You may obtain * a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
40,774
https://github.com/bjerkio/tripletex-go/blob/master/client/match/bank_reconciliation_match_put_responses.go
Github Open Source
Open Source
Apache-2.0
2,023
tripletex-go
bjerkio
Go
Code
219
639
// Code generated by go-swagger; DO NOT EDIT. package match // This file was generated by the swagger tool. // Editing this file might prove futile when you re-run the swagger generate command import ( "fmt" "io" "github.com/go-openapi/runtime" "github.com/go-openapi/strfmt" "github.com/bjerkio/tripletex-go/v...
6,329
https://github.com/Gaming32/Floodgate-Fabric/blob/master/src/main/java/org/geysermc/floodgate/util/FabricCommandUtil.java
Github Open Source
Open Source
MIT
null
Floodgate-Fabric
Gaming32
Java
Code
581
2,068
package org.geysermc.floodgate.util; import com.mojang.authlib.GameProfile; import com.mojang.brigadier.exceptions.CommandSyntaxException; import lombok.Getter; import lombok.RequiredArgsConstructor; import me.lucko.fabric.api.permissions.v0.Permissions; import net.kyori.adventure.platform.fabric.FabricServerAudiences...
6,452
https://github.com/alexharri/animation-editor/blob/master/src/area/components/Area.tsx
Github Open Source
Open Source
MIT
2,022
animation-editor
alexharri
TypeScript
Code
452
1,626
import React from "react"; import { areaComponentRegistry, _areaReactKeyRegistry } from "~/area/areaRegistry"; import styles from "~/area/components/Area.styles"; import { AreaErrorBoundary } from "~/area/components/AreaErrorBoundary"; import { useAreaKeyboardShortcuts } from "~/area/components/useAreaKeyboardShortcuts...
39,135
https://github.com/cdebotton/iris/blob/master/src/icons/brand/Music.tsx
Github Open Source
Open Source
MIT
2,021
iris
cdebotton
TSX
Code
36
300
import React, { forwardRef, Ref, SVGAttributes } from 'react'; export const Music = forwardRef( (props: SVGAttributes<SVGSVGElement>, ref: Ref<SVGSVGElement>) => ( <svg viewBox="0 0 32 32" ref={ref} {...props}> <path id="music_32" d="M29.671,0.028l-20,3.333C8.707,3.522,8,4.356,8,5.334v15.03...
8,422
https://github.com/dlunamontilla/DLTools/blob/master/DLTools.php
Github Open Source
Open Source
MIT
null
DLTools
dlunamontilla
PHP
Code
93
236
<?php /** * @package DLTools * @version 1.0.0 * @author David E Luna <davidlunamontilla@gmail.com> * @copyright (c) 2020 - David E Luna M * @license MIT * * En ella se incluyen una serie de clases y funciones para facilitar * el desarrollo de aplicaciones Web dinámicas. * */ $config = __DIR__ . "/config.p...
448
https://github.com/01marcos/appExemplo3i2/blob/master/www/components/acoes.js
Github Open Source
Open Source
MIT
null
appExemplo3i2
01marcos
JavaScript
Code
30
111
// This is a JavaScript file /*$(document).on('click', '#btn7', function(){ var valor; valor = $("#display").val(); valor +="7"; $("#display").val(valor); });*/ $(document).on('click', '.botao', function(){ var valor; valor= $("#display").val(); valor += $(this).val(); $("#display").val(valor...
16,353
https://github.com/cuulee/postgrest-google-translate/blob/master/install_api.sql
Github Open Source
Open Source
BSD-2-Clause
2,016
postgrest-google-translate
cuulee
PLpgSQL
Code
46
106
begin; create schema v1; create or replace function v1.google_translate(source char(2), target char(2), q text) returns text as $$ select * from google_translate.translate(source, target, q); $$ language sql security definer; grant usage on schema v1 to apiuser; grant execute on function v1.google_translate(char...
6,770
https://github.com/erges/carbon-components-vue/blob/master/packages/core/src/components/cv-breadcrumb/cv-breadcrumb-item.vue
Github Open Source
Open Source
Apache-2.0
2,020
carbon-components-vue
erges
Vue
Code
40
161
<template> <div class="cv-breadcrumb-item bx--breadcrumb-item" :class="{ 'bx--breadcrumb-item--current': activePage }" :aria-current="ariaCurrent" > <slot></slot> </div> </template> <script> export default { name: 'CvBreadcrumbItem', props: { active: Boolean, ariaCurrent: String, },...
24,034
https://github.com/antonmes/MessagePack.swift/blob/master/Sources/MessagePack.swift
Github Open Source
Open Source
MIT
2,016
MessagePack.swift
antonmes
Swift
Code
394
1,059
import C7 /// The MessagePackValue enum encapsulates one of the following types: Nil, Bool, Int, UInt, Float, Double, String, Binary, Array, Map, and Extended. public enum MessagePackValue { case Nil case Bool(Swift.Bool) case Int(Int64) case UInt(UInt64) case Float(Swift.Float) case Double(Swi...
2,455
https://github.com/wilseypa/ROSS/blob/master/ross/models/civilian_power/building.h
Github Open Source
Open Source
BSD-3-Clause
null
ROSS
wilseypa
C
Code
32
101
#include <ross.h> //By Curtis Antolik typedef struct { double MyCoordsX; double MyCoordsY; int powerlineServicing; int capacity; int occupancy; int home; int occupants[4]; int health; int draw; int hasPower; int occupantPresent[4]; } Building_State;
9,816
https://github.com/qiqiangvae/qim/blob/master/qim-manage/src/main/java/online/qiqiang/qim/manage/repository/UserAccountRepository.java
Github Open Source
Open Source
Apache-2.0
null
qim
qiqiangvae
Java
Code
19
84
package online.qiqiang.qim.manage.repository; import online.qiqiang.qim.manage.entity.UserAccount; import org.springframework.data.jpa.repository.JpaRepository; /** * @author qiqiang */ public interface UserAccountRepository extends JpaRepository<UserAccount, Long> { }
48,984
https://github.com/Stefn93/CellularAutomata/blob/master/src/gameoflife/GOLBuilder.java
Github Open Source
Open Source
MIT
2,017
CellularAutomata
Stefn93
Java
Code
91
502
package gameoflife; import java.util.ArrayList; import java.util.List; import fcast.gui.GridGui; import fcast.gui.WorldGui; import fcast.simulation.CellularAutomataBuilder; import fcast.universe.world.bidimensional.GridPattern; import gameoflife.patternsGOL.Beacon; import gameoflife.patternsGOL.Beehive; import gameof...
9,809
https://github.com/KeturahDev/catter/blob/master/src/services/getCatImage.js
Github Open Source
Open Source
Unlicense
null
catter
KeturahDev
JavaScript
Code
117
358
import axios from 'axios' export const axiosGetCat = async () => { try { const response = await axios( { method: 'get', url: 'https://api.thecatapi.com/v1/images/search?size=full', json: true, } ); return response; } catch (error) { console.log(error) } } cons...
9,982
https://github.com/spencercrose/long-service-awards/blob/master/app/Http/Controllers/RecipientController.php
Github Open Source
Open Source
MIT
null
long-service-awards
spencercrose
PHP
Code
726
3,076
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use Illuminate\Support\Facades\DB; use App\Models\Recipient; use App\Models\Award; use App\Models\AwardSelection; use App\Models\Organization; class RecipientController extends Controller { /** * Display a listing of the resource. * ...
18,928
https://github.com/rhelton21/colorado-rla/blob/master/server/eclipse-project/src/main/java/us/freeandfair/corla/endpoint/DeleteFile.java
Github Open Source
Open Source
RSA-MD
2,022
colorado-rla
rhelton21
Java
Code
264
823
package us.freeandfair.corla.endpoint; import javax.persistence.PersistenceException; import com.google.gson.JsonObject; import com.google.gson.JsonParser; import org.apache.log4j.LogManager; import org.apache.log4j.Logger; import spark.Request; import spark.Response; import us.freeandfair.corla.controller.DeleteFil...
20,899
https://github.com/antam8314/EFRConnect-ios/blob/master/SiliconLabsApp/Categories/UIImage+SILHelpers.h
Github Open Source
Open Source
Apache-2.0
2,022
EFRConnect-ios
antam8314
C
Code
32
115
// // UIImage+SILHelpers.h // SiliconLabsApp // // Created by Colden Prime on 1/26/15. // Copyright (c) 2015 SiliconLabs. All rights reserved. // #import <UIKit/UIKit.h> @interface UIImage (SILHelpers) + (UIImage *)sil_imageWithColor:(UIColor *)color; @end
42,808
https://github.com/muukii/ActiveRecord/blob/master/Tests/TestCoreDataStack.swift
Github Open Source
Open Source
MIT
2,015
ActiveRecord
muukii
Swift
Code
259
829
// // TestCoreDataStack.swift // ActiveRecord // // Created by Kenji Tayama on 10/24/14. // Copyright (c) 2014 Shintaro Kaneko (http://kaneshinth.com). All rights reserved. // import Foundation import CoreData import ActiveRecord class TestCoreDataStack : CoreDataStack { override init() { super.i...
17,145
https://github.com/azatoth/buck/blob/master/src/com/facebook/buck/junit/BUCK
Github Open Source
Open Source
Apache-2.0
2,013
buck
azatoth
Starlark
Code
18
69
java_library( name = 'junit', srcs = glob(['*.java']), deps = [ '//lib:junit', ], visibility = [ '//test/com/facebook/buck/junit:junit', ], )
31,277
https://github.com/diegocasillas/dawn-framework/blob/master/Dawn/Admin/Controllers/AdminController.php
Github Open Source
Open Source
MIT
2,018
dawn-framework
diegocasillas
PHP
Code
27
103
<?php namespace Dawn\Admin\Controllers; use Dawn\Routing\Controller; class AdminController extends Controller { public function showAdminPanel() { $routes = app()->get('router')->getRoutes(); return require 'Dawn/Admin/views/admin-panel.view.php'; } public function saveRoutes() ...
34,591
https://github.com/zhouXiaoR/GYXMPP/blob/master/HMModules/HomeMateModule/HomeMateModule/Classes/HMSDK/HMCmds/QueryDistBoxVoltageCmd.m
Github Open Source
Open Source
MIT
2,020
GYXMPP
zhouXiaoR
Objective-C
Code
44
170
// // QueryDistBoxVoltageCmd.m // HomeMateSDK // // Created by liuzhicai on 17/2/9. // Copyright © 2017年 orvibo. All rights reserved. // #import "QueryDistBoxVoltageCmd.h" @implementation QueryDistBoxVoltageCmd -(VIHOME_CMD)cmd { return VIHOME_CMD_QUERY_POWERCONFIG_DEVICE; } -(NSDictionary *)payload { i...
19,290
https://github.com/b7Rexx/dota-card-game-api/blob/master/src/routes/userRoutes.js
Github Open Source
Open Source
MIT
2,020
dota-card-game-api
b7Rexx
JavaScript
Code
100
309
import { Router } from 'express'; import * as userController from '../controllers/users'; import { findUser, userValidator, userEditValidator } from '../validators/userValidator'; import authenticate from '../middlewares/authenticate'; import adminAuthenticate from '../middlewares/adminAuthenticate'; const router = R...
417
https://github.com/gocarlos/sentry-native/blob/master/src/transports/sentry_disk_transport.c
Github Open Source
Open Source
MIT
2,020
sentry-native
gocarlos
C
Code
63
298
#include "sentry_disk_transport.h" #include "sentry_alloc.h" #include "sentry_core.h" #include "sentry_envelope.h" #include "sentry_path.h" #include "sentry_string.h" static void send_envelope(sentry_transport_t *transport, sentry_envelope_t *envelope) { const sentry_run_t *run = transport->data; sentry__run_...
2,479
https://github.com/rainey520/watch/blob/master/src/main/java/com/ruoyi/project/quality/mesBatch/service/IMesPartLogService.java
Github Open Source
Open Source
MIT
null
watch
rainey520
Java
Code
129
640
package com.ruoyi.project.quality.mesBatch.service; import com.ruoyi.project.quality.mesBatch.domain.MesPartLog; import java.util.List; /** * 半成品mes批次追踪记录 服务层 * * @author sj * @date 2019-08-10 */ public interface IMesPartLogService { /** * 查询半成品mes批次追踪记录信息 * * @param id 半成品mes批次追踪记录ID *...
99
https://github.com/atunjeafolabi/laravel.io/blob/master/resources/views/livewire/show-articles.blade.php
Github Open Source
Open Source
MIT
2,020
laravel.io
atunjeafolabi
PHP
Code
391
1,570
<div class="container mx-auto px-4 pt-4 flex flex-wrap flex-col-reverse lg:flex-row mb-8"> <div class="w-full lg:w-3/4 py-8 lg:pr-4"> <div wire:loading class="flex w-full h-full text-2xl text-gray-700"> Loading... </div> @foreach($articles as $article) <div class="pb...
37,304
https://github.com/serpi90/netperf/blob/master/control/src/main/java/netperf/controller/Controller.java
Github Open Source
Open Source
MIT
2,017
netperf
serpi90
Java
Code
410
1,050
package netperf.controller; /* * #%L * Controller * %% * Copyright (C) 2016 Julián Maestri * %% * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without...
31,533
https://github.com/ArjunBhalodiya/DocStore/blob/master/DocStore.Api/IdentityModels/ApiResourcesModel.cs
Github Open Source
Open Source
MIT
null
DocStore
ArjunBhalodiya
C#
Code
32
75
using System.Collections.Generic; namespace DocStore.Api.IdentityModels { public class ApiResourcesModel { public string Name { get; set; } public string DisplayName { get; set; } public List<string> ClaimTypes { get; set; } } }
34,329
https://github.com/akveo/nebular/blob/master/src/playground/without-layout/search/search-routing.module.ts
Github Open Source
Open Source
MIT
2,023
nebular
akveo
TypeScript
Code
117
347
/** * @license * Copyright Akveo. All Rights Reserved. * Licensed under the MIT License. See License.txt in the project root for license information. */ import { NgModule } from '@angular/core'; import { RouterModule, Route} from '@angular/router'; import { SearchCustomizedTestComponent } from './search-customized...
46,483
https://github.com/mbrenn/datenmeister-new/blob/master/src/Tests/DatenMeister.Tests/Modules/TemporaryExtent/TemporaryExtentTests.cs
Github Open Source
Open Source
MIT
2,022
datenmeister-new
mbrenn
C#
Code
250
1,111
using System; using System.Threading; using DatenMeister.Core.EMOF.Implementation; using DatenMeister.Core.EMOF.Interface.Reflection; using DatenMeister.Core.Helper; using DatenMeister.Core.Runtime.Workspaces; using DatenMeister.TemporaryExtent; using NUnit.Framework; namespace DatenMeister.Tests.Modules.TemporaryExt...
28,331
https://github.com/CaiBaiLing/LinLongSDK/blob/master/Example/LTAPI/LTAppDelegate.h
Github Open Source
Open Source
MIT
null
LinLongSDK
CaiBaiLing
C
Code
34
100
// // LTAppDelegate.h // LTAPI // // Created by xchhIos on 12/25/2019. // Copyright (c) 2019 xchhIos. All rights reserved. // @import UIKit; @interface LTAppDelegate : UIResponder <UIApplicationDelegate> @property (strong, nonatomic) UIWindow *window; @end
9,073
https://github.com/Alvarez-P/e-learning-system/blob/master/src/controllers/courseTemplate.js
Github Open Source
Open Source
MIT
2,020
e-learning-system
Alvarez-P
JavaScript
Code
75
206
const genrateID = require('../utils/generateID'); const { addCourseOnDB} = require('../db/methods/courseTemplate'); /** * @function addCourseTemplate * @description controller for POST /api/course-templates * @param {Object} req - Express request object * @param {Object} res -Express response object * @param {Fu...
22,113
https://github.com/mihans1/paperbits-demo/blob/master/node_modules/@paperbits/core/map/mapService.ts
Github Open Source
Open Source
MIT
null
paperbits-demo
mihans1
TypeScript
Code
76
239
// import * as GoogleMapsLoader from "google-maps"; import { ISettingsProvider, Settings } from "@paperbits/common/configuration"; export class MapService { constructor( private readonly settingsProvider: ISettingsProvider ) { } public async loadGoogleMaps(): Promise<void> { const config =...
51,615
https://github.com/markatom/Accessor/blob/master/tests/integration.phpt
Github Open Source
Open Source
BSD-2-Clause
null
Accessor
markatom
PHP
Code
108
350
<?php /** * Integration test of whole Markatom\Accessor library. */ use Markatom\Accessor\Factory; use Markatom\Accessor\Generator; use Markatom\Accessor\Naming; use Markatom\Accessor\Registry; use Tester\Assert; require __DIR__ . '/bootstrap.php'; class Foo { public $public; protected $protected; private $pri...
42,685
https://github.com/lorenzpammer/olfStim/blob/master/olfactometerUtilities/+olfactometerAccess_NEWCONTROLBOARD/getMfcFlowRateTarget.m
Github Open Source
Open Source
MIT
2,015
olfStim
lorenzpammer
MATLAB
Code
9
34
function [mfcCapacity, units] = getMfcFlowRateTarget(debug, olfactometerH, slave, mfcID) end
51,789
https://github.com/mozilla/kitsune/blob/master/kitsune/questions/views.py
Github Open Source
Open Source
2,023
kitsune
mozilla
Python
Code
3,706
13,698
import json import logging import random from collections import OrderedDict from datetime import date, datetime, timedelta from django.conf import settings from django.contrib import messages from django.contrib.contenttypes.models import ContentType from django.contrib.sites.models import Site from django.core.excep...
7,177
https://github.com/m-amirazmi/merazmobile/blob/master/resources/js/components/products/components/landing/TopSelling.js
Github Open Source
Open Source
MIT
null
merazmobile
m-amirazmi
JavaScript
Code
143
855
import React from "react"; import { Container, Row, Col, Card, CardTitle, CardText, CardImg, CardImgOverlay, CardBody, CardSubtitle, Button } from "reactstrap"; const TopSelling = props => { return ( <div id="top-selling"> <Container> ...
17,457
https://github.com/AMS21/Phi/blob/master/tests/PhiCore/unittests/src/type_traits/is_pointer.test.cpp
Github Open Source
Open Source
MIT
2,022
Phi
AMS21
C++
Code
1,449
11,012
#include <phi/test/test_macros.hpp> #include "phi/compiler_support/char8_t.hpp" #include "test_types.hpp" #include <phi/core/boolean.hpp> #include <phi/core/floating_point.hpp> #include <phi/core/integer.hpp> #include <phi/core/nullptr_t.hpp> #include <phi/core/scope_ptr.hpp> #include <phi/type_traits/is_array.hpp> #i...
50,611
https://github.com/peterhoang246/laravel_docs/blob/master/app/Http/Controllers/Frontend/HomeController.php
Github Open Source
Open Source
MIT
null
laravel_docs
peterhoang246
PHP
Code
79
349
<?php namespace App\Http\Controllers\Frontend; use App\Http\Controllers\Controller; use App\Document; class HomeController extends Controller { public function getIndex() { $data = [ 'title' => 'Nhà sách online' ]; $lastestDoc = Document::take(8)->orderBy('created_at', 'desc')->get(); if (count($lastestD...
19,889
https://github.com/amuniz/bnd/blob/master/aQute.libg/src/aQute/lib/collections/Iterables.java
Github Open Source
Open Source
Apache-2.0
2,018
bnd
amuniz
Java
Code
350
1,055
package aQute.lib.collections; import static java.util.Objects.requireNonNull; import java.util.Iterator; import java.util.NoSuchElementException; import java.util.Set; import java.util.Spliterator; import java.util.function.Consumer; import java.util.function.Function; public class Iterables { private Iterables() ...
3,978
https://github.com/megwu1129/Brick-Breaker-Game/blob/master/breakoutgraphics.py
Github Open Source
Open Source
MIT
2,021
Brick-Breaker-Game
megwu1129
Python
Code
522
1,647
from campy.graphics.gwindow import GWindow from campy.graphics.gobjects import GOval, GRect, GLabel from campy.gui.events.mouse import onmouseclicked, onmousemoved import random BRICK_SPACING = 5 # Space between bricks (in pixels). This space is used for horizontal and vertical spacing. BRICK_WIDTH = 40 # ...
10,650
https://github.com/unicef/etools-partnership-management/blob/master/src_ts/components/app-modules/interventions/data/interventions-list-data.ts
Github Open Source
Open Source
Apache-2.0
2,021
etools-partnership-management
unicef
TypeScript
Code
523
1,775
declare const moment: any; import Dexie from 'dexie'; import ListDataMixin from '../../../mixins/list-data-mixin'; import {PolymerElement} from '@polymer/polymer'; import {ListItemIntervention} from '../../../../typings/intervention.types'; import {fireEvent} from '../../../utils/fire-custom-event'; import {logError} f...
18,720
https://github.com/daisy/word-save-as-daisy/blob/master/Common/DaisyAddinLib/AddinResources.cs
Github Open Source
Open Source
BSD-3-Clause
2,021
word-save-as-daisy
daisy
C#
Code
556
1,305
/* * Copyright (c) 2006, Clever Age * 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 * notice, this list of ...
26,836
https://github.com/kosenko/ui/blob/master/test/coord_test.cpp
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, BSL-1.0
2,022
ui
kosenko
C++
Code
468
2,596
// Copyright (c) 2017 Kolya Kosenko // Distributed under the Boost Software License, Version 1.0. // See http://www.boost.org/LICENSE_1_0.txt #include <boost/ui/coord.hpp> #include <boost/ui/coord_io.hpp> #include <boost/core/lightweight_test.hpp> #include <boost/detail/lightweight_main.hpp> #ifdef BOOST_UI_USE_GEO...
11,301
https://github.com/folio-org/mod-inn-reach/blob/master/src/test/resources/db/inn-reach-location/pre-populate-another-inn-reach-location-code.sql
Github Open Source
Open Source
Apache-2.0
null
mod-inn-reach
folio-org
SQL
Code
11
57
INSERT INTO inn_reach_location (id, code, description) VALUES ('d608eeca-ff4e-441f-970f-5ba507e3c163', 'zxcv1', 'zxcv1 description');
38,082
https://github.com/edi-riga/MansOS/blob/master/tools/remoteaccess/remoteaccess.py
Github Open Source
Open Source
MIT
2,021
MansOS
edi-riga
Python
Code
999
3,346
#!/usr/bin/env python # # Remote access proxy server - main file # from __future__ import print_function import os, sys import threading, time, cgi, signal, select, traceback, subprocess, urllib2 # add library directory to path sys.path.append(os.path.join(os.getcwd(), '..', "lib")) import daemon import configuration...
7,772
https://github.com/nontravis/ui-adjustment-library/blob/master/ui-adjustment-debug-library/src/main/java/com/thekhaeng/library/uiadjustment/debug/adapter/model/AdjustInteger.java
Github Open Source
Open Source
Apache-2.0, LicenseRef-scancode-warranty-disclaimer
2,018
ui-adjustment-library
nontravis
Java
Code
178
450
package com.thekhaeng.library.uiadjustment.debug.adapter.model; import android.os.Parcel; /** * Created by The Khaeng on 15 Feb 2018 :) */ public class AdjustInteger extends BaseAdjustModel{ private int value = 0; public AdjustInteger( int value ){ super( false ); this.value = value; ...
53,889
https://github.com/airbornum/-Complete-Python-Scripting-for-Automation/blob/master/Section 19/6.Document-search-and-match-practice.py
Github Open Source
Open Source
MIT
2,022
-Complete-Python-Scripting-for-Automation
airbornum
Python
Code
77
314
import re text="""This is for python2 and there are two major vers python3 and python in future python4""" pat=r'\bpython[23]?\b' ''' #print(re.findall(pat,text)) match_ob=re.search(pat,text) #rint(match_ob) if match_ob: print("match from ur pattern: ",match_ob.group()) print('Starting index: ',match_ob.start()) p...
16,957
https://github.com/stackprobe/Square/blob/master/Square/Square/_Game.cpp
Github Open Source
Open Source
MIT
null
Square
stackprobe
C++
Code
102
550
#include "all.h" GDc_t GDc; void GameInit(void) { zeroclear(&GDc); GDc.Map = new autoTable<MCell_t *>(CreateMCell, ReleaseMCell); GDc.EnemyList = new autoList<Enemy_t *>(); GDc.Meteor.EL = new taskList(); GDc.Meteor.WallScreen= CreateSubScreen(SCREEN_W, SCREEN_H); GDc.Meteor.ExWallScreen= CreateSubScreen(SCRE...
49,834
https://github.com/alek/ripgrep/blob/master/ci/docker/x86_64-unknown-linux-musl/Dockerfile
Github Open Source
Open Source
Unlicense, MIT
2,020
ripgrep
alek
Dockerfile
Code
17
68
FROM rustembedded/cross:x86_64-unknown-linux-musl RUN apt-get update \ && apt-get install -y --no-install-recommends \ libxslt1-dev asciidoc docbook-xsl xsltproc libxml2-utils
11,003
https://github.com/liangmanlin/go-game-server/blob/master/player/login.go
Github Open Source
Open Source
MIT
2,021
go-game-server
liangmanlin
Go
Code
19
74
package player import ( "game/global" "github.com/liangmanlin/gootp/kernel" ) var LoginLogin = func(ctx *kernel.Context,player *global.Player, proto interface{}) { kernel.ErrorLog("%#v", proto) }
27,234
https://github.com/91-jinrong/cas-proxy/blob/master/config.js
Github Open Source
Open Source
MIT, LicenseRef-scancode-unknown-license-reference
2,014
cas-proxy
91-jinrong
JavaScript
Code
213
549
module.exports = { // proxied url proxy_url: "http://127.0.0.1:80", // use unsigned ssl connection "rejectUnauthorized": false, //////////////////////////////////// // Proxy server configurations //////////////////////////////////// // Which port listen to "listen_port": 8081, ...
54,111
https://github.com/onezens/SmartQQ/blob/master/qqtw/qqheaders7.2/SDKUpgradeResponse.h
Github Open Source
Open Source
MIT
2,018
SmartQQ
onezens
Objective-C
Code
261
990
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. // #import "NSObject.h" @class NSString; @interface SDKUpgradeResponse : NSObject { int _iAppid; int _iUpgradeType; int _iUpgradeSdkId; int _iActionType; unsigned...
36,773
https://github.com/scala-steward/scalajs-react-semantic-ui/blob/master/facade/src/main/scala/react/semanticui/collections/table/TableFooter.scala
Github Open Source
Open Source
Apache-2.0
2,022
scalajs-react-semantic-ui
scala-steward
Scala
Code
238
816
package react.semanticui.collections.table import scala.scalajs.js import js.annotation._ import japgolly.scalajs.react._ import japgolly.scalajs.react.facade.React import japgolly.scalajs.react.vdom.html_<^._ import japgolly.scalajs.react.vdom.VdomNode import react.common._ import react.semanticui._ import react.sema...
18,691
https://github.com/timblechmann/nt2/blob/master/modules/core/linalg/include/nt2/toolbox/linalg/details/blas/mm.hpp
Github Open Source
Open Source
BSL-1.0
2,018
nt2
timblechmann
C++
Code
353
1,192
//============================================================================== // Copyright 2003 - 2012 LASMEA UMR 6602 CNRS/Univ. Clermont II // Copyright 2009 - 2012 LRI UMR 8623 CNRS/Univ Paris Sud XI // // Distributed under the Boost Software License, Version 1.0. // ...
5,527
https://github.com/IlyaDobrynin/opti_models/blob/master/opti_models/models/backbones/torchvision_models/inception.py
Github Open Source
Open Source
MIT
2,021
opti_models
IlyaDobrynin
Python
Code
31
94
from torchvision import models __all__ = ['inception_v3'] def inception_v3(pretrained: bool, progress: bool = True, requires_grad: bool = True): model = models.inception_v3(pretrained=pretrained, progress=progress) for params in model.parameters(): params.requires_grad = requires_grad return mode...
26,299
https://github.com/Ekryd/sortpom/blob/master/sorter/src/test/java/sortpom/util/FileAttributeUtilTest.java
Github Open Source
Open Source
BSD-3-Clause
2,023
sortpom
Ekryd
Java
Code
83
324
package sortpom.util; import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.Matchers.greaterThan; import static org.hamcrest.Matchers.is; import java.io.File; import java.io.IOException; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; /** * @author bjorn * @sin...
18,019
https://github.com/mpienkowski/fundamental-ngx/blob/master/libs/core/src/lib/split-button/public_api.ts
Github Open Source
Open Source
Apache-2.0
null
fundamental-ngx
mpienkowski
TypeScript
Code
4
12
export * from './split-button.module';
34,647
https://github.com/shulieTech/Takin-surge-deploy/blob/master/surge-deploy-pradar-storm/src/main/java/io/shulie/surge/data/deploy/pradar/bootstrap/PradarTopologyBootStrap.java
Github Open Source
Open Source
Apache-2.0
2,022
Takin-surge-deploy
shulieTech
Java
Code
216
861
/* * Copyright 2021 Shulie Technology, Co.Ltd * Email: shulie@shulie.io * 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 r...
38,081
https://github.com/gnoliyil/fuchsia/blob/master/src/ui/bin/clipboard/src/service.rs
Github Open Source
Open Source
BSD-2-Clause
2,022
fuchsia
gnoliyil
Rust
Code
2,342
8,533
// Copyright 2022 The Fuchsia Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. use { crate::{ errors::ClipboardError, inspect, inspect::ServiceInspectData, items::ClipboardItem, metadata::ClipboardMetadata, shared:...
50,226
https://github.com/finos/waltz/blob/master/waltz-data/src/main/java/org/finos/waltz/data/flow_diagram/FlowDiagramIdSelectorFactory.java
Github Open Source
Open Source
Apache-2.0, LicenseRef-scancode-unknown, LicenseRef-scancode-unknown-license-reference, LicenseRef-scancode-generic-cla, CC0-1.0
2,023
waltz
finos
Java
Code
218
887
/* * Waltz - Enterprise Architecture * Copyright (C) 2016, 2017, 2018, 2019 Waltz open source project * See README.md for more information * * 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 ...
44,002
https://github.com/deepfabric/busybee/blob/master/cmd/checker/main.go
Github Open Source
Open Source
Apache-2.0
2,021
busybee
deepfabric
Go
Code
72
229
package main import ( "flag" "github.com/deepfabric/beehive/storage/nemo" "github.com/fagongzi/log" ) var ( data = flag.String("data", "", "data path") ) func main() { flag.Parse() log.Infof("on %s", *data) s, err := nemo.NewStorage(*data) if err != nil { log.Fatalf("create nemo failed with %+v", err) }...
43,756
https://github.com/kofimokome/Rocket.Chat/blob/master/client/admin/routes.js
Github Open Source
Open Source
MIT
2,020
Rocket.Chat
kofimokome
JavaScript
Code
275
1,132
import { FlowRouter } from 'meteor/kadira:flow-router'; import { Meteor } from 'meteor/meteor'; import { renderRouteComponent } from '../reactAdapters'; const routeGroup = FlowRouter.group({ name: 'admin', prefix: '/admin', }); export const registerAdminRoute = (path, { lazyRouteComponent, props, action, ...option...
43,156
https://github.com/c2theg/srvBuilds/blob/master/configs/pki_ssh_key_automation_2017.pub
Github Open Source
Open Source
MIT
2,023
srvBuilds
c2theg
null
Spoken
2
5
#key here
38,925
https://github.com/adritoo/node-project-metrics/blob/master/src/users.ts
Github Open Source
Open Source
MIT
2,020
node-project-metrics
adritoo
TypeScript
Code
157
413
import { LevelDB } from "./leveldb" import WriteStream from 'level-ws' export class User { public name: string public mail: string public password: string constructor(n: string, m: string, p: string) { this.name = n this.mail = m this.password = p; } } export class UsersHandler { private d...
33,896
https://github.com/sebastianconcept/Mapless/blob/master/src/Mapless-Base-Core/MaplessWeightedNode.class.st
Github Open Source
Open Source
MIT
2,023
Mapless
sebastianconcept
null
Spoken
259
596
" I help to randomly allocate resources with a custom weight that influences their likelyhood to be choosen. " Class { #name : #MaplessWeightedNode, #superclass : #Object, #instVars : [ 'weight', 'value', 'top', 'bottom' ], #category : #'Mapless-Base-Core-Resources' } { #category : #'instance creation' } ...
53,975
https://github.com/TheArvindNarayan/fe-referance/blob/master/app/containers/ContactsPage/components/Drawer.js
Github Open Source
Open Source
MIT
null
fe-referance
TheArvindNarayan
JavaScript
Code
144
408
import React from 'react'; import { connect } from 'react-redux'; import { compose } from 'redux'; import CoreDrawer from '../../../components/Core/Drawer'; import DrawerForm from './DrawerForm'; import { saveContactStart } from '../actions'; import injectReducer from '../../../utils/injectReducer'; import injectSaga f...
49,965
https://github.com/ScalablyTyped/Distribution/blob/master/a/aws-sdk/src/main/scala/typings/awsSdk/clientsElbMod/SetLoadBalancerListenerSSLCertificateInput.scala
Github Open Source
Open Source
MIT
2,023
Distribution
ScalablyTyped
Scala
Code
131
530
package typings.awsSdk.clientsElbMod import org.scalablytyped.runtime.StObject import scala.scalajs.js import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess} trait SetLoadBalancerListenerSSLCertificateInput extends StObject { /** * The name of the load balancer. *...
52,556
https://github.com/sharugupta/OpenUH/blob/master/osprey/ipa/common/ipc_option.h
Github Open Source
Open Source
BSD-2-Clause
null
OpenUH
sharugupta
C
Code
401
1,032
/* * Copyright 2003, 2004, 2005, 2006 PathScale, Inc. All Rights Reserved. */ /* Copyright (C) 2000, 2001 Silicon Graphics, Inc. All Rights Reserved. This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the ...
40,113
https://github.com/fatima-rizvi/recoil-todo-list/blob/master/todo-list/src/App.js
Github Open Source
Open Source
MIT
null
recoil-todo-list
fatima-rizvi
JavaScript
Code
41
126
import React from 'react'; import { RecoilRoot, // atom, // selector, // useRecoilState, // useRecoilValue, } from 'recoil'; import ToDoList from './components/ToDoList'; import './App.css'; function App() { return ( <div className="App"> <RecoilRoot> <ToDoList /> </RecoilRoot> ...
4,894
https://github.com/zdqf/ggrc-core/blob/master/src/ggrc/migrations/versions/20180326094741_9e44253512f2_add_effective_date_and_last_deprecated_.py
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, Apache-2.0
2,018
ggrc-core
zdqf
Python
Code
110
350
# Copyright (C) 2018 Google Inc. # Licensed under http://www.apache.org/licenses/LICENSE-2.0 <see LICENSE file> """ Add 'Effective Date' and 'Last Deprecated Date' fields for Objective Create Date: 2018-03-26 09:47:41.713297 """ # disable Invalid constant name pylint warning for mandatory Alembic variables. # pylint:...
35,309
https://github.com/chriscoombs/elasticache-geospatial-public-bikes/blob/master/server/stream/index.js
Github Open Source
Open Source
Apache-2.0
2,021
elasticache-geospatial-public-bikes
chriscoombs
JavaScript
Code
307
771
/** Copyright 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with the License. A copy of the License is located at http://aws.amazon.com/apache2.0/ or in the "license" file accompany...
28,889
https://github.com/kaelzhang/ostai-eslint-config/blob/master/index.js
Github Open Source
Open Source
MIT
2,020
ostai-eslint-config
kaelzhang
JavaScript
Code
242
907
// http://eslint.org/docs/user-guide/configuring const off = 'off' module.exports = { extends: require.resolve('eslint-config-airbnb-base'), parserOptions: { ecmaVersion: 2018, sourceType: 'module', }, rules: { semi: ['error', 'never'], // allow snake cases camelcase: off, 'comma-dan...
27,349
https://github.com/heca-project/heca/blob/master/tests/env_support.rs
Github Open Source
Open Source
MIT, Apache-2.0
2,020
heca
heca-project
Rust
Code
190
1,063
use assert_cmd::cargo::CommandCargoExt; use std::process::Command; #[test] fn env_heca_year_type_yomi_test() { let mut cmd = Command::cargo_bin(env!("CARGO_PKG_NAME")).expect(&format!("{} {}", file!(), line!())); cmd.arg("--language") .arg("en_US") .arg("--print") .arg("json") ...
12,566
https://github.com/vickazy/SIM-Sarpras/blob/master/public/js/selectinitialize.js
Github Open Source
Open Source
MIT
2,021
SIM-Sarpras
vickazy
JavaScript
Code
42
145
$(document).ready(function() { $('.itemName').select2({ placeholder: 'Select an item', ajax: { url: "{{ route('autocomplete2') }}", dataType: 'json', delay: 250, processResults: function (data) { return { results: $.map(data, function (...
31,980
https://github.com/nelsonguillermo/django-superadmin/blob/master/superadmin/context_processors.py
Github Open Source
Open Source
MIT
2,021
django-superadmin
nelsonguillermo
Python
Code
33
126
# Models from .models import Menu from .utils import get_user_menu def menu(request): return {"menu_tree": build_user_menu(request.user)} def build_user_menu(user): menu_list = list() if user.is_authenticated and user.is_active: object_list = Menu.objects.filter(parent__isnull=True) menu...
39,051