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/serivt/django-nuxt-docker-template/blob/master/backend/config/settings/development.py
Github Open Source
Open Source
MIT
2,021
django-nuxt-docker-template
serivt
Python
Code
54
246
from .base import * # NOQA from .base import BASE_DIR from .base import env SECRET_KEY = "django-insecure-c^ll47@0_5oy53txbjw7$lp^5bs*va5s6((g*3+_!2e4l8h7tz" DEBUG = env.bool("DJANGO_DEBUG", default=True) ALLOWED_HOSTS = ["*"] # Database DATABASES = { "default": { "ENGINE": "django.db.backends.sqlite...
53,774
https://github.com/looking-for-a-job/django-examples/blob/master/Models/querysets/Methods that do not return QuerySets/bulk_update()/models.py
Github Open Source
Open Source
Unlicense
null
django-examples
looking-for-a-job
Python
Code
11
36
#!/usr/bin/env python from django.db import models class Entry(models.Model): headline = models.TextField()
24,961
https://github.com/PradnyaDeshmukh/Data-Structures-and-Algorithms/blob/master/Knapsack Problem/Knapsack_Problem.cpp
Github Open Source
Open Source
MIT
null
Data-Structures-and-Algorithms
PradnyaDeshmukh
C++
Code
363
732
// Problem Statement /*Given weights and values of n items, put these items in a knapsack of capacity W to get the maximum total value in the knapsack. In other words, given two integer arrays val[0..n-1] and wt[0..n-1] which represent values and weights associated with n items respectively. Also given an integer W ...
36,935
https://github.com/nakiscia/Design-Patterns-Java/blob/master/FactoryMethod/src/Pages/Page.java
Github Open Source
Open Source
MIT
null
Design-Patterns-Java
nakiscia
Java
Code
8
14
package Pages; public abstract class Page { }
11,714
https://github.com/keramzyt/TerminalView/blob/master/TerminalView.py
Github Open Source
Open Source
MIT
2,017
TerminalView
keramzyt
Python
Code
614
1,770
""" Main module for the TerminalView plugin with commands for opening and initializing a terminal view """ import os import threading import time import sublime import sublime_plugin from . import sublime_terminal_buffer from . import linux_pty from . import utils class TerminalViewOpen(sublime_plugin.WindowComman...
30,339
https://github.com/Akirix/akirix-suite/blob/master/uber-app/app/templates/registrations/admin.hbs
Github Open Source
Open Source
MIT
null
akirix-suite
Akirix
null
Spoken
100
479
<div class="viewport viewport-t-pane-secondary viewport-t-pane-secondary-with-toolbar scroll-y"> {{slide-task-list model='registration' model_id=model._id}} <div class="pane-secondary-content"> {{#if validationErrors}} <div class="panel panel-default"> <div class="panel-headi...
32,813
https://github.com/dplumly/BL2_Hellfire/blob/master/bl2_Hellfire.ino
Github Open Source
Open Source
MIT
null
BL2_Hellfire
dplumly
null
Spoken
285
781
/*========================== Variables ==========================*/ const int triggerPin = 2; const int motorPin = 3; const int led1 = 4; const int led2 = 5; const int led3 = 6; const int led4 = 7; const int led5 = 8; const int barrelDelay = 50; int buttonState = 0; int fadeValue = 5; void setup() { Serial.be...
52,778
https://github.com/the4thamigo-uk/paymentserver/blob/master/pkg/presentation/presentation.go
Github Open Source
Open Source
MIT
null
paymentserver
the4thamigo-uk
Go
Code
949
3,299
package presentation import ( "github.com/the4thamigo-uk/paymentserver/pkg/domain/account" "github.com/the4thamigo-uk/paymentserver/pkg/domain/amount" "github.com/the4thamigo-uk/paymentserver/pkg/domain/bank" "github.com/the4thamigo-uk/paymentserver/pkg/domain/charges" "github.com/the4thamigo-uk/paymentserver/pkg...
22,457
https://github.com/mrgentlemanus/Android-FloatingTutorialActivity/blob/master/sample-java/src/main/java/xyz/klinker/floating_tutorial/examples/SelectionDialogExample.java
Github Open Source
Open Source
Apache-2.0
2,022
Android-FloatingTutorialActivity
mrgentlemanus
Java
Code
220
768
/* * Copyright (C) 2017 Luke Klinker * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
8,628
https://github.com/once00/appdownload/blob/master/App/Lib/Cos.class.php
Github Open Source
Open Source
MIT
2,021
appdownload
once00
PHP
Code
390
1,723
<?php class Cos { public function __construct($param) { $this->secretId = $param['secretId']; //"云 API 密钥 SecretId"; $this->secretKey = $param['secretKey']; //"云 API 密钥 SecretKey"; $this->region = $param['region']; //设置一个默认的存储桶地域 $this->cosBucket = $param['cosBucket']; //bucket...
3,404
https://github.com/bnbeckwith/pollen/blob/master/pollen/scribblings/tutorial-third.scrbl
Github Open Source
Open Source
MIT
null
pollen
bnbeckwith
null
Spoken
7,834
15,063
#lang scribble/manual @(require scribble/eval (for-label pollen/decode pollen/core racket/math plot pollen/setup pollen/tag racket/base pollen/template txexpr racket/list racket/string)) @(require "mb-tools.rkt") @(define my-eval (make-base-eval)) @(my-eval `(require pollen pollen/decode pollen/template pollen/tag xm...
3,709
https://github.com/artsy/force/blob/master/src/Apps/Consign/Routes/SubmissionFlow/ContactInformation/Components/ContactInformationForm.tsx
Github Open Source
Open Source
MIT, LicenseRef-scancode-unknown-license-reference
2,023
force
artsy
TSX
Code
183
657
import { Box, BoxProps, Input } from "@artsy/palette" import { useFormikContext } from "formik" import { createFragmentContainer, graphql } from "react-relay" import { ContactInformationForm_me$data } from "__generated__/ContactInformationForm_me.graphql" import { PhoneNumberInput } from "Components/PhoneNumberInput" ...
37,968
https://github.com/kalink0/useful_scripts/blob/master/sql/Android/LG_MPT/LG_MPT_app_detail_multimedia.sql
Github Open Source
Open Source
CC0-1.0
2,022
useful_scripts
kalink0
SQL
Code
97
272
/* * AUTHOR: kalink0 * MAIL: kalinko@be-binary.de * CREATION DATE: 2019/10/27 * * LICENSE: CC0-1.0 * * SOURCE: https://github.com/kalink0/useful_scripts/Android/LG_MPT * * TITLE: LG_MPT_gapp_detail_multimedia.sql * * DESCRIPTION: Script to get App usage info for ...
3,551
https://github.com/josehu07/SplitFS/blob/master/kernel/linux-5.4/tools/perf/lib/include/internal/tests.h
Github Open Source
Open Source
Apache-2.0
2,022
SplitFS
josehu07
C
Code
56
219
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __LIBPERF_INTERNAL_TESTS_H #define __LIBPERF_INTERNAL_TESTS_H #include <stdio.h> #define __T_START fprintf(stdout, "- running %s...", __FILE__) #define __T_OK fprintf(stdout, "OK\n") #define __T_FAIL fprintf(stdout, "FAIL\n") #define __T(text, cond) ...
10,835
https://github.com/dawidkurant/applications/blob/master/Projekt Web API/Papu/Papu/Controllers/Dish/KindOfController.cs
Github Open Source
Open Source
Unlicense
null
applications
dawidkurant
C#
Code
77
299
using Microsoft.AspNetCore.Mvc; using Papu.Models.Dish; using Papu.Services; using System.Collections.Generic; namespace Papu.Controllers.Dish { [Route("api/kindOf")] [ApiController] public class KindOfController : ControllerBase { private readonly IKindOfService _kindOfService; publi...
5,093
https://github.com/tensions/box-Staff-Manager/blob/master/box-Staff-Manager/CodeClass/HomeMe/Controllers/ModifyServerAddressViewController.m
Github Open Source
Open Source
Apache-2.0
2,018
box-Staff-Manager
tensions
Objective-C
Code
379
1,818
// // ModifyServerAddressViewController.m // box-Staff-Manager // // Created by Yu Huang on 2018/4/16. // Copyright © 2018年 2se. All rights reserved. // #import "ModifyServerAddressViewController.h" @interface ModifyServerAddressViewController ()<UITextFieldDelegate,UIScrollViewDelegate> @property(nonatomic, st...
6,446
https://github.com/Benwyw/Teletubbies-Learning-Journal/blob/master/src/main/webapp/WEB-INF/jsp/view/index.jsp
Github Open Source
Open Source
MIT
null
Teletubbies-Learning-Journal
Benwyw
null
Spoken
65
332
<%-- Document : index Created on : 2021年4月14日, 上午11:46:46 Author : User --%> <%@page contentType="text/html" pageEncoding="UTF-8"%> <!DOCTYPE html> <html> <head> <title>Start Page</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> </head> <body> ...
54,021
https://github.com/forrestfinch/openui5/blob/master/src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/icons/v5/bookmark.js
Github Open Source
Open Source
Apache-2.0, LicenseRef-scancode-unknown-license-reference
2,022
openui5
forrestfinch
JavaScript
Code
58
242
sap.ui.define(['sap/ui/webc/common/thirdparty/base/asset-registries/Icons'], function (Icons) { 'use strict'; const name = "bookmark"; const pathData = "M363.5 0q36 0 60.5 24.5T448.5 85v396q0 8-4 14.5t-9 10.5q-8 5-16 5-5 0-13-4l-151-92-149 92q-8 4-14 4-7 0-15-5-14-9-14-25V85q0-36 22-60.5t58-24.5h220z"; const ltr = ...
44,124
https://github.com/thereses/waiter/blob/master/release/jobs/waiter/templates/ctl.erb
Github Open Source
Open Source
Apache-2.0
2,016
waiter
thereses
Shell
Code
113
538
#!/bin/bash set -e RUN_DIR=/var/vcap/sys/run/waiter/ PIDFILE=${RUN_DIR}/pidfile PACKAGE_DIR=/var/vcap/packages/waiter export PATH=/var/vcap/packages/ruby/bin:$PATH export BUNDLE_GEMFILE=/var/vcap/packages/waiter/Gemfile case $1 in start) mkdir -p $RUN_DIR echo $$ > $PIDFILE export OM_URL=<% p("waiter...
28,243
https://github.com/OpenUpSA/pmg-cms-2/blob/master/migrations/versions/39f25296cd6_add_active_boolean_to_committees.py
Github Open Source
Open Source
Apache-2.0
2,023
pmg-cms-2
OpenUpSA
Python
Code
76
226
"""add active boolean to committees Revision ID: 39f25296cd6 Revises: 46085f5c8e36 Create Date: 2017-05-22 12:12:39.327466 """ # revision identifiers, used by Alembic. revision = '39f25296cd6' down_revision = '46085f5c8e36' from alembic import op import sqlalchemy as sa def upgrade(): ### commands auto genera...
20,978
https://github.com/g0pher98/kubook_teacher/blob/master/js/sugang/work.cs.js
Github Open Source
Open Source
MIT
2,021
kubook_teacher
g0pher98
JavaScript
Code
119
619
let area = {} function tool_somang_auto() { area.wish_frame = area.main_document.find('#gview_gridBasket'); area.wish_frame.ready(function() { area.wish_table = area.wish_frame.find('table#gridBasket'); var $wish_trs = area.wish_table.find('tr:gt(0)'); // 자동 클릭 $wish_trs.each(f...
4,183
https://github.com/puckwang/UVa-Solutions/blob/master/Volume 003 (300-399)/336 - A Node Too Far/main.cpp
Github Open Source
Open Source
MIT
2,020
UVa-Solutions
puckwang
C++
Code
241
664
#include <iostream> #include <set> #include <queue> using namespace std; int BFS(const int n, const int nodeNum, pair<int, int> *connect, const int start, const int ttl){ queue< pair<int, int> > que; set<int> count; pair<set<int>::iterator, bool> check; pair<int, int> tmp; tmp.first = start, tmp.sec...
53,688
https://github.com/biddisco/pika/blob/master/libs/pika/executors/include/pika/executors/thread_pool_executor.hpp
Github Open Source
Open Source
BSL-1.0
2,022
pika
biddisco
C++
Code
61
176
// Copyright (c) 2019-2020 ETH Zurich // Copyright (c) 2007-2019 Hartmut Kaiser // Copyright (c) 2019 Agustin Berge // // SPDX-License-Identifier: BSL-1.0 // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) #prag...
5,942
https://github.com/TheDudeFromCI/Talantra-Old/blob/master/ConquestRTS/src/com/wraithavens/conquest/Utility/ByteFormatter.java
Github Open Source
Open Source
MIT
2,015
Talantra-Old
TheDudeFromCI
Java
Code
142
584
package com.wraithavens.conquest.Utility; public class ByteFormatter{ private final byte[] bytes; private int pos; public ByteFormatter(byte[] bytes){ this.bytes = bytes; } public void addBoolean(boolean b){ bytes[pos] = (byte)(b?1:0); pos++; } public void addFloat(float f){ int i = Float.floatToIntBits...
50,173
https://github.com/pbutter/alexa-stocks/blob/master/Stocks/src/com/alexa/stock/query/model/Javascript.java
Github Open Source
Open Source
Apache-2.0
null
alexa-stocks
pbutter
Java
Code
261
1,052
package com.alexa.stock.query.model; import java.util.HashMap; import java.util.Map; import javax.annotation.Generated; import org.codehaus.jackson.annotate.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonAnyGetter; import com.fasterxml.jackson.annotation.JsonAnySetter; import com.fasterxml.jacks...
38,215
https://github.com/PiotrDabkowski/Js2Py/blob/master/tests/test_cases/language/expressions/conditional/S11.12_A4_T4.js
Github Open Source
Open Source
MIT
2,022
Js2Py
PiotrDabkowski
JavaScript
Code
82
162
// Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- info: If ToBoolean(x) is true, return y es5id: 11.12_A4_T4 description: Type(x) or Type(y) is changed between null and undefined ---*/ //CHECK#1 if ((true ? undefined : true) !== u...
7,102
https://github.com/dmitrycrys/uservoice-ios-sdk/blob/master/Classes/UVCalculatingLabel.h
Github Open Source
Open Source
Apache-2.0
2,020
uservoice-ios-sdk
dmitrycrys
Objective-C
Code
38
135
// // UVCalculatingLabel.h // UserVoice // // Created by Austin Taylor on 12/4/12. // Copyright (c) 2012 UserVoice Inc. All rights reserved. // #import <UIKit/UIKit.h> @interface UVCalculatingLabel : UILabel - (NSArray *)breakString:(CGFloat)frameWidth; - (CGRect)rectForLetterAtIndex:(NSUInteger)index lines:(NSA...
39,463
https://github.com/juancastillo0/graphql_server/blob/master/leto_schema/lib/src/union.dart
Github Open Source
Open Source
MIT
2,022
graphql_server
juancastillo0
Dart
Code
363
935
part of leto_schema.src.schema; /// A special [GraphQLType] that indicates that an input value may /// be valid against one or more [possibleTypes]. /// /// All provided types must be [GraphQLObjectType]s. class GraphQLUnionType<P> extends GraphQLCompositeType<P> with _NonNullableMixin<P, Map<String, dynamic>> { ...
31,835
https://github.com/taiyangchen/geowave/blob/master/extensions/adapters/vector/src/main/java/org/locationtech/geowave/adapter/vector/stats/legacy/FeatureHyperLogLogConfig.java
Github Open Source
Open Source
Apache-2.0
2,021
geowave
taiyangchen
Java
Code
166
525
/** * Copyright (c) 2013-2020 Contributors to the Eclipse Foundation * * <p> See the NOTICE file distributed with this work for additional information regarding copyright * ownership. All rights reserved. This program and the accompanying materials are made available * under the terms of the Apache License, Versio...
5,646
https://github.com/janisozaur/vcpkg3/blob/master/ports/qt5-base/portfile.cmake
Github Open Source
Open Source
MIT
null
vcpkg3
janisozaur
CMake
Code
276
1,879
include(vcpkg_common_functions) string(LENGTH "${CURRENT_BUILDTREES_DIR}" BUILDTREES_PATH_LENGTH) if(BUILDTREES_PATH_LENGTH GREATER 37) message(WARNING "Qt5's buildsystem uses very long paths and may fail on your system.\n" "We recommend moving vcpkg to a short path such as 'C:\\src\\vcpkg' or using the su...
30,113
https://github.com/bhan7/U-C-Jobs/blob/master/ucjobs/static/js/placeholder-ie.js
Github Open Source
Open Source
MIT
2,015
U-C-Jobs
bhan7
JavaScript
Code
6
26
$(document).ready( function() { $('input, textarea').placeholder(); });
43,705
https://github.com/gaoyunzhi/vmess2json/blob/master/gen.py
Github Open Source
Open Source
MIT
2,020
vmess2json
gaoyunzhi
Python
Code
206
926
#!/usr/bin/env python3 import os import sys import json import base64 import random vmscheme = "vmess://" telegram_proxy = "https://t.me/proxy" vmess_results = set() telegram_results = set() def parseVmess(vmesslink): bs = vmesslink[len(vmscheme):] blen = len(bs) if blen % 4 > 0: bs += "=" * (4 - ...
50,669
https://github.com/erickrocha/freeman-web/blob/master/src/container/Report/TimeReport/TimeReport.js
Github Open Source
Open Source
MIT
null
freeman-web
erickrocha
JavaScript
Code
96
260
import React, { useState } from 'react'; import { makeStyles } from '@material-ui/styles'; import * as dateService from 'shared/date-service'; import { BreadCrumb } from 'components'; import { TimeReportSearch, TimePage } from './components'; const useStyle = makeStyles(theme => ({ root: { padding: theme.spacing...
37,239
https://github.com/Weefle/CraftMyCMS/blob/master/admin/index.php
Github Open Source
Open Source
MIT
2,022
CraftMyCMS
Weefle
PHP
Code
454
2,179
<?php //**************************************************** // Auteur: CraftMyCMS (Kévin GUIOT) // CraftMyCMS PERSO 4.0.2.2 // Copyright © 2012 - 2015 // Sortie: 26 avril 2015 à 19h30 // Contact: contact@craftmycms.fr // // http://www.craftmycms.fr/ // http://developpeur.craftmycms.fr/changelog/cms/#zsl7zgdmzs //*****...
54,073
https://github.com/farkmu45/starproperti/blob/master/resources/views/agent-properties.blade.php
Github Open Source
Open Source
MIT
null
starproperti
farkmu45
PHP
Code
965
4,752
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Divine Villas - Real Estate HTML Template</title> <!-- Bootstrap --> <link href="{{asset('assets/cs...
44,688
https://github.com/navikt/podlet-dittnav-meldinger/blob/master/src/index.js
Github Open Source
Open Source
MIT
null
podlet-dittnav-meldinger
navikt
JavaScript
Code
56
161
import React from "react"; import ReactDOM from "react-dom"; import * as Sentry from "@sentry/browser"; import App from "./App"; import Providers from "./providers/Providers"; import { worker } from "./mocks/browser"; if (process.env.NODE_ENV === "development") { worker.start(); } else { // Sentry.init({ dsn: "TOD...
42,700
https://github.com/XuGuangnian/docs-v2/blob/master/api-docs/plugins/decorators/replace-servers-url.js
Github Open Source
Open Source
MIT
2,021
docs-v2
XuGuangnian
JavaScript
Code
70
175
module.exports = ReplaceRootURL; /** @type {import('@redocly/openapi-cli').OasDecorator} */ /** * Returns an object with keys in [node type, any, ref]. * The key instructs openapi when to invoke the key's Visitor object. * Object key "Server" is an OAS 3.0 node type. */ function ReplaceRootURL() { return { ...
31,010
https://github.com/tsjackson-noaa/cfdm/blob/master/cfdm/core/data/abstract/__init__.py
Github Open Source
Open Source
MIT
2,022
cfdm
tsjackson-noaa
Python
Code
4
7
from .array import Array
44,006
https://github.com/ti0ma/base-express-app/blob/master/api/routes/index.js
Github Open Source
Open Source
MIT
2,018
base-express-app
ti0ma
JavaScript
Code
28
88
const express = require('express'); const router = new express.Router(); // Routers const apiRouter = require('./api'); // Controllers const HomeController = require('api/controllers/home/home.controller'); router.get('/', HomeController.index); router.use(`/api`, apiRouter); module.exports = router;
209
https://github.com/yamadapc/augmented-audio/blob/master/crates/apps/daw/lib/ui/main_content_layout/midi_editor/midi_editor_view_model.g.dart
Github Open Source
Open Source
MIT
2,022
augmented-audio
yamadapc
Dart
Code
340
1,590
// GENERATED CODE - DO NOT MODIFY BY HAND part of 'midi_editor_view_model.dart'; // ************************************************************************** // JsonSerializableGenerator // ************************************************************************** Map<String, dynamic> _$MIDIEditorViewModelToJson( ...
39,492
https://github.com/slashsec-edu/cryton-frontend/blob/master/src/app/modules/shared/pipes/short-string.pipe.spec.ts
Github Open Source
Open Source
MIT
null
cryton-frontend
slashsec-edu
TypeScript
Code
24
67
import { ShortStringPipe } from './short-string.pipe'; describe('ShortStringPipe', () => { it('create an instance', () => { const pipe = new ShortStringPipe(); expect(pipe).toBeTruthy(); }); });
23,763
https://github.com/xamarin/xamarin-android-tools/blob/master/Makefile
Github Open Source
Open Source
MIT
2,023
xamarin-android-tools
xamarin
Makefile
Code
43
239
CONFIGURATION := Debug OS := $(shell uname) V ?= 0 include build-tools/scripts/msbuild.mk all: $(MSBUILD) /restore $(MSBUILD_FLAGS) Xamarin.Android.Tools.sln clean: -$(MSBUILD) $(MSBUILD_FLAGS) /t:Clean Xamarin.Android.Tools.sln prepare: nuget restore Xamarin.Android.Tools.sln run-a...
26,158
https://github.com/Michigan-Tech-Courses/frontend/blob/master/src/components/basket/basket-selector.tsx
Github Open Source
Open Source
MIT
2,021
frontend
Michigan-Tech-Courses
TypeScript
Code
125
545
import React from 'react'; import { Button, EditableInput, EditablePreview, Menu, MenuButton, MenuItem, MenuList, useEditableControls, } from '@chakra-ui/react'; import {ChevronDownIcon, AddIcon} from '@chakra-ui/icons'; import {observer} from 'mobx-react-lite'; import useStore from 'src/lib/state/context'; ty...
26,683
https://github.com/dilanbhalla/codeql-go/blob/master/ql/test/query-tests/Security/CWE-643/vendor/github.com/antchfx/jsonquery/stub.go
Github Open Source
Open Source
MIT
2,020
codeql-go
dilanbhalla
Go
Code
151
343
// Code generated by depstubber. DO NOT EDIT. // This is a simple stub for github.com/antchfx/jsonquery, strictly for use in testing. // See the LICENSE file for information about the licensing of the original library. // Source: github.com/antchfx/jsonquery (exports: Node; functions: Find,FindOne,QueryAll,Query) // ...
15,355
https://github.com/lihualei71/adaptMT/blob/master/man/adapt_glmnet.Rd
Github Open Source
Open Source
MIT
2,021
adaptMT
lihualei71
R
Code
321
952
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/adapt-wrappers.R \name{adapt_glmnet} \alias{adapt_glmnet} \title{Adaptive P-value Thresholding with L1/L2 Penalized Generalized Linear Models} \usage{ adapt_glmnet( x, pvals, piargs = list(), muargs = list(), dist = beta_family(), ...
50,330
https://github.com/GoogleCloudPlatform/osconfig/blob/master/packaging/googet/install.ps1
Github Open Source
Open Source
Apache-2.0
2,023
osconfig
GoogleCloudPlatform
PowerShell
Code
216
511
# Copyright 2018 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable la...
53,770
https://github.com/ViniGom3/repool-front/blob/master/src/views/propriedade/PropriedadeDetailsView/PropriedadeDescription.js
Github Open Source
Open Source
MIT
null
repool-front
ViniGom3
JavaScript
Code
214
670
import { Container, Divider, makeStyles, Typography } from '@material-ui/core'; import { ExpandLess as ExpandLessIcon, ExpandMore as ExpandMoreIcon } from '@material-ui/icons'; import PropTypes from 'prop-types'; import React, { useState } from 'react'; import ShowMoreText from 'react-show-more-text'; import { formatPr...
42,938
https://github.com/Codechef-SRM-NCR-Chapter/30-DaysOfCode-March-2021/blob/master/answers/Harshit/Day 11/Ques 2.cpp
Github Open Source
Open Source
MIT
2,021
30-DaysOfCode-March-2021
Codechef-SRM-NCR-Chapter
C++
Code
54
178
#include <bits/stdc++.h> using namespace std; int main(){ string c; string b; cin>>c; int s=0,t; cin>>t; int p=0; while(t--){ cin>>b; for (int i = 0; i < c.size(); i++) { for (int j = 0; j < b.size(); j++) { if(c[i]==b[j]){ i++; p++; } if(p=...
25,342
https://github.com/michael-reichenauer/gmc/blob/master/utils/bitmask.go
Github Open Source
Open Source
MIT
null
gmc
michael-reichenauer
Go
Code
47
111
package utils type Bitmask uint32 func (f Bitmask) Has(flag Bitmask) bool { return f&flag != 0 } func (f *Bitmask) Set(flag Bitmask) { *f |= flag } func (f *Bitmask) Unset(flag Bitmask) { *f &= ^flag } func (f *Bitmask) Toggle(flag Bitmask) { *f ^= flag }
44,151
https://github.com/amyami187/effective_dimension/blob/master/Loss_plots/Fisher_rao_norm_calcs/generate_data/classical_fr_norm.py
Github Open Source
Open Source
Apache-2.0
2,021
effective_dimension
amyami187
Python
Code
262
819
from functions_fr import * import torch import torch.nn as nn from sklearn.preprocessing import normalize import numpy as np from sklearn.utils import shuffle # This code trains a fixed classical model 100 times and computes the average Fisher-Rao norm which is equal to \ # W^T*F*W where # trained parameters = W and F...
49,134
https://github.com/ultimate1112/LEDCube/blob/master/hardware/LEDCube_Rev2/Project Outputs for NormalLayer/Layer.GTL
Github Open Source
Open Source
MIT
2,020
LEDCube
ultimate1112
Gerber Image
Code
2,761
25,046
G04* G04 #@! TF.GenerationSoftware,Altium Limited,Altium Designer,18.1.7 (191)* G04* G04 Layer_Physical_Order=1* G04 Layer_Color=255* %FSLAX25Y25*% %MOIN*% G70* G01* G75* %ADD12R,0.04016X0.03701*% %ADD13R,0.03937X0.03347*% %ADD18C,0.01000*% %ADD19R,0.19685X0.19685*% %ADD20C,0.02400*% G36* X27559Y368549D02* X343469D01* ...
9,427
https://github.com/danignibus/gestalt/blob/master/packages/gestalt/src/Link.js
Github Open Source
Open Source
Apache-2.0
null
gestalt
danignibus
JavaScript
Code
355
1,219
// @flow strict import * as React from 'react'; import PropTypes from 'prop-types'; import classnames from 'classnames'; import touchableStyles from './Touchable.css'; import styles from './Link.css'; import useTapFeedback, { keyPressShouldTriggerTap } from './useTapFeedback.js'; import getRoundingClassName, { Roundi...
42,496
https://github.com/rayvantsahni/Competitive-Programming-Codes/blob/master/LeetCode/Python/0657. Robot Return to Origin #1.py
Github Open Source
Open Source
MIT
2,021
Competitive-Programming-Codes
rayvantsahni
Python
Code
51
111
class Solution: def judgeCircle(self, moves: str) -> bool: x_axis = y_axis = 0 for move in moves: if move == "U": y_axis += 1 elif move == "D": y_axis -= 1 elif move == "R": x_axis += 1 elif move == "L": ...
29,244
https://github.com/OrigamiStudiosLLC/samplecode-laravel/blob/master/Modules/Origami/User/src/views/admin/create.blade.php
Github Open Source
Open Source
MIT
2,018
samplecode-laravel
OrigamiStudiosLLC
Blade
Code
359
1,795
@extends(config('crewlogix.slots.extend_admin_layout')) @section('main') <!-- START Container Fluid --> <div class="container-fluid"> <!--Page Heading--> <div class="page-heading sm-p-l-25 sm-p-r-25"> <h1>Create Slot</h1> </div> <!--End Page Heading--> <!--Start Form row--> <div class="row"> ...
14,922
https://github.com/BobbyCannon/Speedy/blob/master/Speedy.UnitTests/Protocols/Nmea/Messages/TxtMessageTests.cs
Github Open Source
Open Source
MIT, MS-PL
2,023
Speedy
BobbyCannon
C#
Code
147
627
#region References using Microsoft.VisualStudio.TestTools.UnitTesting; using Speedy.Protocols.Nmea; using Speedy.Protocols.Nmea.Messages; #endregion namespace Speedy.UnitTests.Protocols.Nmea.Messages { [TestClass] public class TxtMessageTests : BaseMessageTests { #region Methods [TestMethod] public void T...
41,888
https://github.com/erictapen/nixos-hardware/blob/master/common/cpu/intel/default.nix
Github Open Source
Open Source
CC0-1.0
null
nixos-hardware
erictapen
null
Spoken
25
98
{ lib, pkgs, ... }: { boot.initrd.kernelModules = [ "i915" ]; hardware.cpu.intel.updateMicrocode = lib.mkDefault true; hardware.opengl.extraPackages = with pkgs; [ vaapiIntel vaapiVdpau libvdpau-va-gl ]; }
8,833
https://github.com/luqun/kuduraft/blob/master/src/kudu/integration-tests/consistency-itest.cc
Github Open Source
Open Source
Apache-2.0
2,022
kuduraft
luqun
C++
Code
3,971
10,729
// Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may...
11,313
https://github.com/mikosik/test-injector/blob/master/src/main/java/com/perunlabs/testinjector/bind/ToProviderBinding.java
Github Open Source
Open Source
Apache-2.0
null
test-injector
mikosik
Java
Code
43
168
package com.perunlabs.testinjector.bind; import java.lang.reflect.Field; import com.google.inject.Binder; import com.google.inject.Key; import com.google.inject.Provider; public class ToProviderBinding<T> extends Binding<T> { private final Provider<T> provider; public ToProviderBinding(Key<T> key, Provider<T> p...
53,950
https://github.com/iliantrifonov/SubtitleCommunitySystem/blob/master/SubtitleCommunitySystem/Web/SubtitleCommunitySystem.Web/Views/Shared/_MyPrivateMenu.cshtml
Github Open Source
Open Source
MIT
2,014
SubtitleCommunitySystem
iliantrifonov
HTML+Razor
Code
60
153
<li> @Html.ActionLink("My Requests", "Index", "MyRequests", routeValues: new { Area = "Private" }, htmlAttributes: new { title = "Requests" }) </li> <li> @Html.ActionLink("My Languages", "Index", "MyLanguages", routeValues: new { Area = "Private" }, htmlAttributes: new { title = "Languages" }) </li> <li> @...
32,778
https://github.com/hk1155/PHP_AJAX-crud-all-operation/blob/master/ajax_registration.php
Github Open Source
Open Source
MIT, Unlicense
2,020
PHP_AJAX-crud-all-operation
hk1155
PHP
Code
253
1,200
<?php ob_start(); session_start(); if (isset($_SESSION['semailadmin'])) { // if((time()-$_SESSION['login_time'])>300) //Session destroy after 5 minutes of Inactivity 5*60=300 // { // header('Location:logout.php'); // } } else { header('Location:index.php'); } ?> <html> <head> <title>My ...
33,228
https://github.com/ckamtsikis/cmssw/blob/master/HLTrigger/Configuration/test/add/hltCheckCfis.py
Github Open Source
Open Source
Apache-2.0
2,022
cmssw
ckamtsikis
Python
Code
90
323
import FWCore.ParameterSet.Config as cms import os dir = os.environ['CMSSW_RELEASE_BASE']+"/python" def check(dir) : for root, dirs, files in os.walk(dir,followlinks=True): for f in files: if f[-1] != 'c' and f.find("_cfi.py") != -1: # print root[len(dir)+1:], f p...
20,879
https://github.com/alpgodev/numx/blob/master/src/math/analysis/cov/corlack.f
Github Open Source
Open Source
Apache-2.0
2,021
numx
alpgodev
null
Spoken
537
1,315
c======================================================================= c c subroutine CORLACK c c Empirical correlation matrix with missing data (lack of data) c c Returns data structure c c X(n,p) = | x(1,1), ..., x(1,p) | c | x(2,1), ..., -1000 ...
13,441
https://github.com/chiiaik/serverless-http-trigger/blob/master/default-response-adapter.js
Github Open Source
Open Source
Apache-2.0
null
serverless-http-trigger
chiiaik
JavaScript
Code
123
340
const ResponseHelper = require('serverless-lambda-http-response'); function DefaultResponseAdapter (callback) { this.callback = callback; } DefaultResponseAdapter.prototype.clientError = function (err) { let self = this; let response = new ResponseHelper().clientError(err); self._send(null, response);...
39,358
https://github.com/DongFengCan/engineering-design-models/blob/master/models/PTC/V20/web_demos/models/cl_data/b_turn_1.ncl.1
Github Open Source
Open Source
LicenseRef-scancode-public-domain, LicenseRef-scancode-unknown-license-reference
2,020
engineering-design-models
DongFengCan
null
Spoken
193
714
$$* Pro/CLfile Version 19.0 - 9733 $$-> MFGNO / TURNING PARTNO / TURNING_WP $$-> FEATNO / 40 MACHIN / TURN, 01 UNITS / INCHES TURRET / 1 $$-> CSYS / 1.0000000000, 0.0000000000, 0.0000000000, 0.0000000000, $ 0.0000000000, 1.0000000000, 0.0000000000, 0.0000000000, $ 0.0000000000, 0.000...
26,070
https://github.com/Coursemology/coursemology2/blob/master/app/jobs/course/assessment/submission/auto_feedback_job.rb
Github Open Source
Open Source
MIT
2,023
coursemology2
Coursemology
Ruby
Code
52
196
# frozen_string_literal: true class Course::Assessment::Submission::AutoFeedbackJob < ApplicationJob include TrackableJob include Rails.application.routes.url_helpers protected # Performs the auto feedback. # # @param [Course::Assessment::Submission] submission The object to store the feedback # resul...
48,532
https://github.com/yiimnta/Megaman/blob/master/.import/SE_AILE_O2.wav-7416b81a94b2bdf3898903810ccfa3b4.md5
Github Open Source
Open Source
MIT
2,020
Megaman
yiimnta
null
Spoken
2
53
source_md5="36b13ec1ec173ee196891d9eefee1fdf" dest_md5="4170c514ccd93a494f73d14dbc624d4b"
42,367
https://github.com/reyjrar/eris-logging/blob/master/lib/eris/schemas.pm
Github Open Source
Open Source
BSD-3-Clause
2,019
eris-logging
reyjrar
Perl
Code
299
716
package eris::schemas; # ABSTRACT: Discovery and access for schemas use Moo; with qw( eris::role::pluggable ); use Types::Standard qw(HashRef); use namespace::autoclean; # VERSION =head1 SYNOPSIS use eris::schemas; use eris::contextualizer; my $schm = eris::schemas->new(); my $ctxr = eris::cont...
21,727
https://github.com/HGNM/hgnm-wp-dev/blob/master/bootstrap.sh
Github Open Source
Open Source
MIT
2,017
hgnm-wp-dev
HGNM
Shell
Code
343
1,066
#!/bin/bash print_color () { tput setab 7; tput setaf 0; echo "$1"; tput sgr0; } # Check all required CLIs are available dependencies=( wget wp git unzip ) for dependency in "${dependencies[@]}"; do command -v $dependency >/dev/null 2>&1 || { echo >&2 "‘$dependency’ command is required but it’s not installed. Abort...
8,896
https://github.com/nachos5/tm_manager_backend/blob/master/tm_manager_backend/graphql_api/core/mutations.py
Github Open Source
Open Source
MIT
null
tm_manager_backend
nachos5
Python
Code
50
168
from graphene_django.forms.mutation import DjangoModelFormMutation from graphql_jwt.decorators import login_required # passar usernum inn í form saveið class DjangoModelFormMutationUser(DjangoModelFormMutation): class Meta: abstract = True # override-um til að passa usernum í form save @classmetho...
43,463
https://github.com/nondanee/Jike-Patcher/blob/master/smali/com/googlecode/mp4parser/BasicContainer.smali
Github Open Source
Open Source
MIT
2,020
Jike-Patcher
nondanee
Smali
Code
1,639
9,117
.class public Lcom/googlecode/mp4parser/BasicContainer; .super Ljava/lang/Object; .source "BasicContainer.java" # interfaces .implements Lcom/coremedia/iso/boxes/Container; .implements Ljava/io/Closeable; .implements Ljava/util/Iterator; # annotations .annotation system Ldalvik/annotation/Signature; value = { ...
21,794
https://github.com/sarr-la/SunuGP.com/blob/master/app/Http/Controllers/ContactController.php
Github Open Source
Open Source
MIT
null
SunuGP.com
sarr-la
PHP
Code
64
264
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; class ContactController extends Controller { public function Contact(){ $Contact = \App\Contact::orderBy('created_at')->get(); return view('Contact.Contact', compact('Contact')); } public function create() { return view('Contact....
16,848
https://github.com/ivansanguezax/javascript-Elemental/blob/master/js/clase4.js
Github Open Source
Open Source
MIT
null
javascript-Elemental
ivansanguezax
JavaScript
Code
45
211
//Sintaxis de un Arreglo var array = ["Ivan", 23, true, "Elemental"]; //Recorriendo un arreglo for(var i=0; i<array.length; i++){ console.log(array[i]); } //Reemplando elementos array[0] = "Cristian"; console.log(array); //Insertando nuevos elementos var emojis = ["😀", "😊", "🤓"]; console.log(emojis); em...
44,928
https://github.com/frc4911/2019-DeepSpace-Public/blob/master/src/main/java/com/team4911/frc2019/auto/creators/DriveBackwardsModeCreator.java
Github Open Source
Open Source
MIT
null
2019-DeepSpace-Public
frc4911
Java
Code
27
117
package com.team4911.frc2019.auto.creators; import com.team254.lib.autos.AutoModeBase; import com.team4911.frc2019.auto.modes.DriveBackwardsMode; public class DriveBackwardsModeCreator implements AutoModeCreator { private DriveBackwardsMode mAutoMode = new DriveBackwardsMode(); @Override public AutoModeBase ...
51,960
https://github.com/Rafflecopter/pitstop/blob/master/src/pitstop/protocols.clj
Github Open Source
Open Source
MIT, LicenseRef-scancode-unknown-license-reference
2,016
pitstop
Rafflecopter
null
Spoken
127
222
(ns pitstop.protocols) (defprotocol Storage (listen [instance] "Start a listener. Return a map of {:data chan :stop chan} Data channel is channel of items: {:ack ack-chan :msg msg} to be sent Upon stop channel closing, listening should cease and channel closed.") (store! [instance msg when] ...
17,154
https://github.com/marmooo/kanji-meiro/blob/master/src/index.js
Github Open Source
Open Source
MIT
null
kanji-meiro
marmooo
JavaScript
Code
2,378
9,645
const remSize = parseInt(getComputedStyle(document.documentElement).fontSize); const tmpCanvas = document.createElement("canvas"); // 何でも繋がってしまう漢字は意図的に削除 (一二三四五六七八九十百千上下左右) // const s1a = Array.from('一右雨円王音下火花貝学気九休玉金空月犬見五口校左三山子四糸字耳七車手十出女小上森人水正生青夕石赤千川先早草足村大男竹中虫町天田土二日入年白八百文木本名目立力林六'); const w1_ = Array.from( "雨円王音火花貝学気...
46,402
https://github.com/hale242/Cmc/blob/master/app/Http/Controllers/Member/CartController.php
Github Open Source
Open Source
MIT
null
Cmc
hale242
PHP
Code
1,631
6,943
<?php namespace App\Http\Controllers\Member; use App\Course; use App\Http\Controllers\Controller; use App\OrderDetail; use App\Orders; use App\PrePostTest; use App\PrePostTestSave; use App\SendMail; use App\User; use Cart; use Illuminate\Http\Request; use Illuminate\Support\Facades\Mail; use Illuminate\Support\Facade...
5,667
https://github.com/beanshell/beanshell/blob/master/src/main/java/bsh/UtilEvalError.java
Github Open Source
Open Source
Apache-2.0, BSD-3-Clause, SPL-1.0, LGPL-2.1-or-later, LicenseRef-scancode-unknown-license-reference
2,023
beanshell
beanshell
Java
Code
462
866
/***************************************************************************** * Licensed to the Apache Software Foundation (ASF) under one * * or more contributor license agreements. See the NOTICE file * * distributed with this work for additional information * * r...
5,878
https://github.com/rocketdogcreative/Google-Maps-for-Rails/blob/master/vendor/assets/javascripts/gmaps4rails/base/gmaps.coffee
Github Open Source
Open Source
MIT
2,015
Google-Maps-for-Rails
rocketdogcreative
CoffeeScript
Code
44
133
@Gmaps = triggerOldOnload: -> window.Gmaps.oldOnload() if typeof(window.Gmaps.oldOnload) == 'function' loadMaps: -> #loop through all variable names. #there should only be maps inside so it trigger their load function for key, value of window.Gmaps #console.log key, searchLoadIncluded ...
50,168
https://github.com/Rococo/mvn-repo/blob/master/repository/org/apache/james/apache-mime4j/0.6/apache-mime4j-0.6-sources.jar.sha1
Github Open Source
Open Source
Apache-2.0
2,015
mvn-repo
Rococo
null
Spoken
2
41
16691d73bd331c11ac1c7c269b9ff2cb1cda17ac apache-mime4j-0.6-sources.jar
35,760
https://github.com/tan9/spring-security/blob/master/config/src/test/java/org/springframework/security/config/method/sec2499/Sec2499Tests.java
Github Open Source
Open Source
Apache-2.0
2,021
spring-security
tan9
Java
Code
165
409
/* * Copyright 2002-2014 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
17,502
https://github.com/christiankm/FinanceKit/blob/master/Sources/FinanceKit/Change.swift
Github Open Source
Open Source
MIT
2,021
FinanceKit
christiankm
Swift
Code
165
400
// // FinanceKit // Copyright © 2021 Christian Mitteldorf. All rights reserved. // MIT license, see LICENSE file for details. // import Foundation /// A Change keeps track of the numerical and percent changes between the cost and current price. public struct Change: Codable, Equatable, Hashable { public stati...
36,088
https://github.com/abellotti/insights-node-auth/blob/master/test/functional.js
Github Open Source
Open Source
Apache-2.0
null
insights-node-auth
abellotti
JavaScript
Code
833
3,021
/*global require, process, describe, it, before, afterEach, beforeEach Buffer*/ require('assert'); require('should'); const request = require('request'); const q = require('bluebird'); const auth = require('../index'); const Mocks = require('./mocks.js'); const cache = require('../lib/auth/cache'); const ...
19,075
https://github.com/rundeck/rundeck/blob/master/grails-rundeck-data-shared/src/main/groovy/rundeck/data/validation/validators/workflowstrategy/WorkflowStrategyValidator.groovy
Github Open Source
Open Source
Apache-2.0
2,023
rundeck
rundeck
Groovy
Code
147
687
package rundeck.data.validation.validators.workflowstrategy import com.dtolabs.rundeck.core.plugins.configuration.PropertyResolver import com.dtolabs.rundeck.core.plugins.configuration.PropertyScope import com.dtolabs.rundeck.plugins.ServiceNameConstants import org.rundeck.app.core.FrameworkServiceCapabilities import ...
12,964
https://github.com/ThiagoPereira232/tecnico-informatica/blob/master/2 ano/sistemas web/CadastroAluno/src/java/persistencia/AlunoDAO.java
Github Open Source
Open Source
MIT
2,021
tecnico-informatica
ThiagoPereira232
Java
Code
154
471
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package persistencia; import java.util.List; import javax.persistence.EntityManager; import javax.persistence.Query; import vo.Aluno; ...
44,829
https://github.com/Scottx86-64/dotfiles-1/blob/master/source/pkgsrc/games/battleball/patches/patch-bb_gob.h
Github Open Source
Open Source
Unlicense
2,021
dotfiles-1
Scottx86-64
C
Code
37
149
$NetBSD: patch-bb_gob.h,v 1.1 2011/11/25 21:50:31 joerg Exp $ --- bb/gob.h.orig 2011-11-25 15:17:06.000000000 +0000 +++ bb/gob.h @@ -7,8 +7,10 @@ #define BBGOB_h -#include <list.h> -#include <vector.h> +#include <list> +#include <vector> + +using namespace std; #include "view.h" #include "bb.h"
19,992
https://github.com/McLeodMoores/starling/blob/master/projects/live-data/src/main/java/com/opengamma/livedata/resolver/NaiveDistributionSpecificationResolver.java
Github Open Source
Open Source
Apache-2.0
2,021
starling
McLeodMoores
Java
Code
75
243
/** * Copyright (C) 2009 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.livedata.resolver; import com.opengamma.livedata.LiveDataSpecification; import com.opengamma.livedata.normalization.StandardRules; import com.opengamma.livedat...
14,708
https://github.com/i-gaven/Just_a_dumper/blob/master/all_headers/ctrip_headers/IndicatorLocationChangeDelegate-Protocol.h
Github Open Source
Open Source
MIT
2,018
Just_a_dumper
i-gaven
Objective-C
Code
45
168
// // Generated by class-dump 3.5 (64 bit) (Debug version compiled Sep 17 2017 16:24:48). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard. // #import "NSObject-Protocol.h" @class CTFlightSliderIndicator; @protocol IndicatorLocationChangeDelegate <NSObject> - (void)getNewLoca...
19,841
https://github.com/MarkForest/studentway/blob/master/models/Services.php
Github Open Source
Open Source
BSD-3-Clause
null
studentway
MarkForest
PHP
Code
138
398
<?php namespace app\models; use Yii; /** * This is the model class for table "services". * * @property integer $id * @property string $header_title_ua * @property string $header_title_ru * @property string $disc_uk * @property string $disc_ru * @property string $region_key * * @property ListServices[] $lis...
50,184
https://github.com/isgasho/cmd-2/blob/master/stats_test.go
Github Open Source
Open Source
MIT
2,020
cmd-2
isgasho
Go
Code
202
946
package cmd_test import ( "testing" "github.com/hamba/cmd" "github.com/hamba/pkg/log" "github.com/hamba/pkg/stats" "github.com/stretchr/testify/assert" "github.com/urfave/cli/v2" ) func TestNewStats(t *testing.T) { tests := []struct { name string dsn string prefix string tags *cli.StringSli...
18,951
https://github.com/Finger36/vue-music/blob/master/src/components/playMusic.vue
Github Open Source
Open Source
MIT
2,018
vue-music
Finger36
Vue
Code
91
376
<template> <div class="option" v-show="this.$store.state.playshow"> <div class="cover"><img :src='img'></div> <div class="Audio"> <audio id="music-audio" ref="mmAudio" :src="src" autoplay></audio> <el-button @click="play">暂停/播放</el-button> </div> </div> </template> <script> export default...
16,479
https://github.com/fmeccanici/mecctech-solutions/blob/master/app/PortfolioManagement/Presentation/Http/Api/PortfolioManagementController.php
Github Open Source
Open Source
MIT
null
mecctech-solutions
fmeccanici
PHP
Code
197
1,023
<?php namespace App\PortfolioManagement\Presentation\Http\Api; use App\PortfolioManagement\Application\GetAllPortfolioItems\GetAllPortfolioItems; use App\PortfolioManagement\Application\GetAllPortfolioItems\GetAllPortfolioItemsInput; use App\PortfolioManagement\Application\GetPortfolioItemsWithTag\GetPortfolioItems...
4,462
https://github.com/ystrdy/fis3/blob/master/test/diff_fis3_smarty/product_code/hao123_fis3_smarty/home/widget/ui/slide/slide.js
Github Open Source
Open Source
BSD-2-Clause
null
fis3
ystrdy
JavaScript
Code
449
2,121
var $ = require("common:widget/ui/jquery/jquery.js"); //轮播插件 var Slide = function(userOptions) { var defaultOption = { wrapSelector: ".slide-wrap", data: [], prevNextHtml: '<a href="javascript:;" class="slide-prev hide">&lsaquo;</a><a href="javascript:;" class="slide-next hide">&rsaquo;</a>', interval: 0, i...
21,651
https://github.com/hjred/stride/blob/master/sources/engine/Stride.Rendering/Rendering/SimpleGroupToRenderStageSelector.cs
Github Open Source
Open Source
MIT
2,020
stride
hjred
C#
Code
96
265
// Copyright (c) .NET Foundation and Contributors (https://dotnetfoundation.org/ & https://stride3d.net) and Silicon Studio Corp. (https://www.siliconstudio.co.jp) // Distributed under the MIT license. See the LICENSE.md file in the project root for more information. using System.ComponentModel; using Stride.Engine; ...
30,422
https://github.com/g0pinath/application-gateway-kubernetes-ingress/blob/master/helm/release.sh
Github Open Source
Open Source
MIT, LicenseRef-scancode-generic-cla
2,019
application-gateway-kubernetes-ingress
g0pinath
Shell
Code
31
76
#!/bin/bash set -e echo " - running helm package" helm package ingress-azure --version 0.3.0 echo " - updating helm repo index" helm repo index . --url https://azure.github.io/application-gateway-kubernetes-ingress/helm echo " - done!"
9,509
https://github.com/dtbinh/AtomMini/blob/master/src/sg/atom/core/io/compress/lzf/LZFOutputStream.java
Github Open Source
Open Source
MIT
2,015
AtomMini
dtbinh
Java
Code
330
801
/* * Copyright 2004-2013 H2 Group. Multiple-Licensed under the H2 License, * Version 1.0, and under the Eclipse Public License, Version 1.0 * (http://h2database.com/html/license.html). * Initial Developer: H2 Group */ package sg.atom.core.io.compress.lzf; import java.io.IOException; import java.io.OutputStream; ...
49,457
https://github.com/merchoco/gm-jsse/blob/master/examples/src/main/java/org/bc/jce/X509Principal.java
Github Open Source
Open Source
Apache-2.0
2,021
gm-jsse
merchoco
Java
Code
152
564
package org.bc.jce; import java.io.IOException; import java.security.Principal; import java.util.Hashtable; import java.util.Vector; import org.bc.asn1.ASN1InputStream; import org.bc.asn1.ASN1Sequence; import org.bc.asn1.x500.X500Name; import org.bc.asn1.x509.X509Name; public class X509Principal extends X509Name impl...
38,849
https://github.com/JackeviciusR/phones-book/blob/master/application/app/Models/Share.php
Github Open Source
Open Source
MIT
2,021
phones-book
JackeviciusR
PHP
Code
58
191
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; /** * @property int $id * @property int $contact_id * @property int $user_id */ class Share extends Model { use HasFactory; protected $fillable = [ 'contact_id', 'us...
40,534
https://github.com/Eduardop/VES/blob/master/Apps/iOS/Kiwi/Kiwi/ES2Renderer.mm
Github Open Source
Open Source
Apache-2.0
2,022
VES
Eduardop
Objective-C++
Code
202
630
/*======================================================================== VES --- VTK OpenGL ES Rendering Toolkit http://www.kitware.com/ves Copyright 2011 Kitware, Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. Y...
36,324
https://github.com/archmagece-backyard/sb-oauth-java/blob/master/oauth-storage/storage-ehcache/src/main/java/org/scripton/oauth/storage/ehcache/EhcacheTokenStorage.java
Github Open Source
Open Source
Apache-2.0
2,018
sb-oauth-java
archmagece-backyard
Java
Code
57
218
package org.scripton.oauth.storage.ehcache; import net.sf.ehcache.Cache; import net.sf.ehcache.Element; import org.scriptonbasestar.oauth.client.model.Token; import org.scriptonbasestar.oauth.client.nobi.TokenStorage; public class EhcacheTokenStorage implements TokenStorage { private Cache cache; public EhcacheTok...
18,127
https://github.com/Celcius/AlienLostFound/blob/master/LostFound/Assets/Scenes/GameScene.unity
Github Open Source
Open Source
MIT
2,021
AlienLostFound
Celcius
Unity3D Asset
Code
4,479
21,595
%YAML 1.1 %TAG !u! tag:unity3d.com,2011: --- !u!29 &1 OcclusionCullingSettings: m_ObjectHideFlags: 0 serializedVersion: 2 m_OcclusionBakeSettings: smallestOccluder: 5 smallestHole: 0.25 backfaceThreshold: 100 m_SceneGUID: 00000000000000000000000000000000 m_OcclusionCullingData: {fileID: 0} --- !u!...
26,973