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/GATING/demo/blob/master/vue-time/src/utils/time.js
Github Open Source
Open Source
0BSD
2,021
demo
GATING
JavaScript
Code
104
278
// 月份 const months = [ "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December" ]; // 星期 const weekday = [ "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday" ]; // 获取日期 function getTime() { const date = new Dat...
45,443
https://github.com/ashleyryan/core/blob/master/projects/core/src/file/file.element.ts
Github Open Source
Open Source
MIT
2,022
core
ashleyryan
TypeScript
Code
311
924
/* * Copyright (c) 2016-2022 VMware, Inc. All Rights Reserved. * This software is released under MIT license. * The full license information can be found in LICENSE in the root directory of this project. */ import { html, PropertyValues } from 'lit'; import { state, i18n, I18nService } from '@cds/core/internal'; i...
43,096
https://github.com/Justin-chi/compass-adapters/blob/master/chef/cookbooks/openstack-telemetry/spec/identity_registration_spec.rb
Github Open Source
Open Source
Apache-2.0
2,014
compass-adapters
Justin-chi
Ruby
Code
178
845
# encoding: UTF-8 require_relative 'spec_helper' describe 'openstack-telemetry::identity_registration' do describe 'ubuntu' do let(:runner) { ChefSpec::Runner.new(UBUNTU_OPTS) } let(:node) { runner.node } let(:chef_run) { runner.converge(described_recipe) } include_context 'telemetry-stubs' it...
47,492
https://github.com/zce/itcast-tms/blob/master/app/libraries/logger.js
Github Open Source
Open Source
MIT, ISC
2,016
itcast-tms
zce
JavaScript
Code
25
82
import log4js from 'log4js' import config from './config' log4js.configure({ appenders: [{ type: 'console' }].concat(config.log4js) }) export const main = log4js.getLogger('main') export const renderer = log4js.getLogger('renderer')
585
https://github.com/andrecolon/front-end/blob/master/client/a-marketplace/src/components/ItemList.js
Github Open Source
Open Source
MIT
2,020
front-end
andrecolon
JavaScript
Code
58
186
import React, { useContext } from "react"; import { MarketContext } from './context/MarketContext' import { useHistory } from 'react-router-dom'; import ItemCard from './ItemCard' function ItemsList() { const [products, setProducts] = useContext(MarketContext); const {push, history} = useHistory() return (...
19,608
https://github.com/CharbelKassis/codeboot/blob/master/include/fs.js
Github Open Source
Open Source
MIT
2,018
codeboot
CharbelKassis
JavaScript
Code
1,962
6,821
/* ----- UI helpers ----- */ CodeBoot.prototype.makeCloseButton = function () { return $('<button/>') .addClass('close') .append('<i class="fa fa-close"></i>'); } CodeBoot.prototype.makeDeleteButton = function () { return $('<button data-toggle="tooltip" data-delay="750" data-animation="false"...
18,591
https://github.com/paulcpederson/calcite-components/blob/master/src/components/calcite-tab-nav/calcite-tab-nav.scss
Github Open Source
Open Source
Apache-2.0
2,021
calcite-components
paulcpederson
SCSS
Code
24
162
.tab-nav { display: flex; justify-content: var(--calcite-tabs-layout); overflow: auto; } ::slotted(calcite-tab-title) { margin-right: var(--calcite-tabs-tab-margin-start); margin-left: var(--calcite-tabs-tab-margin-end); } :host([dir="rtl"]) ::slotted(calcite-tab-title) { margin-right: var(--calcite-tabs-...
25,707
https://github.com/SabakiHQ/Sabaki/blob/master/src/modules/fileformats/gib.js
Github Open Source
Open Source
MIT
2,022
Sabaki
SabakiHQ
JavaScript
Code
681
1,994
import {readFileSync} from 'fs' import {decode} from 'iconv-lite' import {detect} from 'jschardet' import {fromDimensions} from '@sabaki/go-board' import {stringifyVertex} from '@sabaki/sgf' import i18n from '../../i18n.js' import * as gametree from '../gametree.js' const t = i18n.context('fileformats') export const ...
41,213
https://github.com/liuheping/back/blob/master/backend.pinjihui/data/1.0/migrations-sql/00064_alter_table_brand_serieses.sql
Github Open Source
Open Source
MIT
2,019
back
liuheping
SQL
Code
47
163
-- +goose Up CREATE TABLE brand_series ( id VARCHAR(32) NOT NULL constraint brand_series_pkey primary key, brand_id VARCHAR(32) NOT NULL, series VARCHAR(64) NOT NULL, image VARCHAR(255), machine_types VARCHAR[] NOT NULL, sort_order INT NOT NULL DEFAULT 255 ); -- bcsvpsdm54kmvd4pec4g SK250LC brand/2018-...
24,045
https://github.com/pickware/shopware-platform/blob/master/tests/migration/Core/V6_4/Migration1654839361ProductDownloadMediaTest.php
Github Open Source
Open Source
MIT, LicenseRef-scancode-generic-cla
2,023
shopware-platform
pickware
PHP
Code
132
550
<?php declare(strict_types=1); namespace Shopware\Tests\Migration\Core\V6_4; use Doctrine\DBAL\Connection; use PHPUnit\Framework\TestCase; use Shopware\Core\Framework\Feature; use Shopware\Core\Framework\Test\TestCaseBase\DatabaseTransactionBehaviour; use Shopware\Core\Framework\Test\TestCaseBase\KernelLifecycleManag...
8,662
https://github.com/luisVidal97/ui-library-components-react/blob/master/src/components/autocompleteInput/StyledInputAutocomplete.js
Github Open Source
Open Source
MIT
null
ui-library-components-react
luisVidal97
JavaScript
Code
113
352
import styled from 'styled-components'; export const StyledInputText = styled.input` margin: 5px; width: 100%; height: ${ props => props.shapeSize}; font-size: ${ props => props.fontSize}; border: 1px solid #ccc; background-color: ${ props => props.backgroundColor}; pointer-events: ${ props => props.poi...
42,330
https://github.com/solgenomics/zeabase/blob/master/code_R/extract_each_rep_for_each_exp.R~
Github Open Source
Open Source
Artistic-2.0
2,015
zeabase
solgenomics
R
Code
59
610
extract_each_rep_for_each_exp<-function(file.name){ #file.name="Clean data 6x1008_WET10B-EVALTC-08-1.csv"; #file.name="Clean data 6x1020_WET10B-EVALTC-14-5.csv" data.for.read<-read.table(file.name,sep="\t",header=T) rep=c(unique(data.for.read[,2])) n=length(rep) cat(file.name) print(rep) cat("\n") for(i in 1:n...
44,023
https://github.com/crosick/zhishu/blob/master/migrations/versions/32f128629b50_.py
Github Open Source
Open Source
MIT
2,015
zhishu
crosick
Python
Code
110
467
"""empty message Revision ID: 32f128629b50 Revises: 9dedc5d44b9 Create Date: 2015-12-09 11:26:58.135616 """ # revision identifiers, used by Alembic. revision = '32f128629b50' down_revision = '9dedc5d44b9' from alembic import op import sqlalchemy as sa def upgrade(): ### commands auto generated by Alembic - pl...
29,526
https://github.com/ohnotnow/pubqr/blob/master/app/User.php
Github Open Source
Open Source
MIT
2,020
pubqr
ohnotnow
PHP
Code
105
369
<?php namespace App; use Illuminate\Foundation\Auth\User as Authenticatable; use Illuminate\Notifications\Notifiable; class User extends Authenticatable { use Notifiable; protected $fillable = [ 'name', 'email', 'password', ]; protected $hidden = [ 'password', 'remember_token', ...
6,268
https://github.com/seelunzi/benchmark/blob/master/elasticsearchexample/src/main/java/com/tangtang/elasticsearchexample/domain/Article.java
Github Open Source
Open Source
Apache-2.0
2,018
benchmark
seelunzi
Java
Code
88
263
package com.tangtang.elasticsearchexample.domain; import lombok.Data; import org.springframework.data.elasticsearch.annotations.Document; import java.io.Serializable; import java.util.Date; @Data @Document(indexName = "projectname", type = "article", indexStoreType = "fs", shards = 5, replicas = 1, refreshInterval =...
26,974
https://github.com/jurip/cuba-component-data-import/blob/master/modules/core/db/update/postgres/21/210129-2-updateOperation01.sql
Github Open Source
Open Source
Apache-2.0
null
cuba-component-data-import
jurip
SQL
Code
17
80
alter table DDCDI_OPERATION add constraint FK_DDCDI_OPERATION_OPERATION_TYPE foreign key (OPERATION_TYPE_ID) references DDCDI_OPERATION_TYPE(ID); create index IDX_DDCDI_OPERATION_OPERATION_TYPE on DDCDI_OPERATION (OPERATION_TYPE_ID);
27,056
https://github.com/mockingbirdnest/Principia/blob/master/tools/generate_profiles.hpp
Github Open Source
Open Source
MIT
2,023
Principia
mockingbirdnest
C++
Code
34
76
#pragma once namespace principia { namespace tools { namespace _generate_profiles { namespace internal { void GenerateProfiles(); } // namespace internal using internal::GenerateProfiles; } // namespace _generate_profiles } // namespace tools } // namespace principia
42,848
https://github.com/thufv/mastery/blob/master/sample/examples_survey/left4.java
Github Open Source
Open Source
MIT
null
mastery
thufv
Java
Code
18
35
public class TempBuilder { public TempBuilder() { try { } catch (final IOException e) { } } }
26,980
https://github.com/TWarczak/paws/blob/master/cran/paws.compute/man/lambda_update_event_source_mapping.Rd
Github Open Source
Open Source
Apache-2.0
2,021
paws
TWarczak
R
Code
699
1,925
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/lambda_operations.R \name{lambda_update_event_source_mapping} \alias{lambda_update_event_source_mapping} \title{Updates an event source mapping} \usage{ lambda_update_event_source_mapping(UUID, FunctionName, Enabled, BatchSize, MaximumBatch...
4,830
https://github.com/Iham97/deepScapSSM/blob/master/src/main/scala/com/example/NewSampling.scala
Github Open Source
Open Source
Apache-2.0
null
deepScapSSM
Iham97
Scala
Code
116
422
package com.example import breeze.linalg._ import scalismo.common.{DiscreteField, UnstructuredPointsDomain} import scalismo.geometry.{Landmark, Point3D, Vector, _3D} import scalismo.statisticalmodel.{DiscreteGaussianProcess, DiscreteLowRankGaussianProcess} import breeze.stats.distributions.{Gaussian, Uniform} import s...
10,164
https://github.com/BoogieMonster1O1/NoCavesNoRavines/blob/master/settings.gradle
Github Open Source
Open Source
MIT
2,020
NoCavesNoRavines
BoogieMonster1O1
Gradle
Code
36
125
pluginManagement { repositories { jcenter() maven { name = 'Fabric' url = 'https://maven.fabricmc.net/' } gradlePluginPortal() } } rootProject.name = 'NoCavesNoRavines' include 'forge115' include 'fabric115' include 'rift113' include 'fabric114' include ...
47,965
https://github.com/docsforhealth/dfh-wordpress-plugin/blob/master/src/js/block/helper/toolkit-detail-list.js
Github Open Source
Open Source
Apache-2.0
null
dfh-wordpress-plugin
docsforhealth
JavaScript
Code
443
1,798
import _ from 'lodash'; import { __ } from '@wordpress/i18n'; import { Fragment } from '@wordpress/element'; import { InnerBlocks } from '@wordpress/block-editor'; import { registerBlockType } from '@wordpress/blocks'; import { TextControl } from '@wordpress/components'; import { withSelect } from '@wordpress/data'; i...
48,860
https://github.com/dasx10/gulp-px2rem-converter/blob/master/test/getRoot.spec.js
Github Open Source
Open Source
MIT
null
gulp-px2rem-converter
dasx10
JavaScript
Code
162
665
const {getParams,getRoot} = require('../dist/findRoot'); const fz = 'font-size:16px;' const root = ':root{}' const rootZ = `:root{${fz}}` const html = 'html{}' const htmlZ = `html{${fz}}` test('return root', () => { getParams(rootZ); expect(getRoot(rootZ)).toBe(rootZ); }); test('return root ecect html', () =...
566
https://github.com/huangliliu0917/mallplus/blob/master/mall-web-admin-mp-app/src/components/templatePage/components/button/buttonTem.vue
Github Open Source
Open Source
Apache-2.0, MIT
2,020
mallplus
huangliliu0917
Vue
Code
137
530
<template> <div style="text-align:center"> <div :style="{marginTop:udPadding+'px',marginBottom:udPadding+'px',marginLeft:lrPadding+'px',marginRight:lrPadding+'px'}" > <van-button :type="type" :size="size">{{ btnName }}</van-button> </div> </div> </template> <script> export default { props...
17,681
https://github.com/cmarabate/gatsby-starter-act-blog/blob/master/gatsby/index.js
Github Open Source
Open Source
MIT
2,020
gatsby-starter-act-blog
cmarabate
JavaScript
Code
246
944
const path = require("path"); exports.addSubdirectories = function(config, dir){ if (!dir){ dir = path.join(process.cwd(), "/src/content"); } const { lstatSync, readdirSync } = require('fs') const { join } = require('path') const isDirectory = source => lstatSync(source).isDirectory()...
2,483
https://github.com/wangye43/algorithm/blob/master/src/zyz/algorithm/DynamicProgramming/medium/PalindromePartitioning_29.java
Github Open Source
Open Source
Apache-2.0
2,021
algorithm
wangye43
Java
Code
131
705
package zyz.algorithm.DynamicProgramming.medium; import zyz.algorithm.utils.Utils; import java.util.ArrayList; import java.util.List; /** * @author zyz * @title: 分割回文串 * @seq: 29 * @address: https://leetcode-cn.com/problems/palindrome-partitioning/ * @idea: * 该题不用DP做试试,不用DP的方法也挺好的 * 该题用dfs来分割字串想到了但是写的有点问题...
13,361
https://github.com/gabbinguyen/lifeOfTheParty/blob/master/frontend/node_modules/@iconify-icons/carbon/certificate-check.js
Github Open Source
Open Source
Apache-2.0
2,021
lifeOfTheParty
gabbinguyen
JavaScript
Code
49
199
var data = { "body": "<path d=\"M6 16h6v2H6z\" fill=\"currentColor\"/><path d=\"M6 12h10v2H6z\" fill=\"currentColor\"/><path d=\"M6 8h10v2H6z\" fill=\"currentColor\"/><path d=\"M14 26H4V6h24v10h2V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v20a2 2 0 0 0 2 2h10z\" fill=\"currentColor\"/><path d=\"M22 25.59L19.41 23L18 24.41l4 4l8-8...
48,459
https://github.com/rafael-fuente/diffractsim/blob/master/diffractsim/util/__init__.py
Github Open Source
Open Source
BSD-3-Clause
2,022
diffractsim
rafael-fuente
Python
Code
12
15
"This file only exists to specify that this folder is a package"
14,636
https://github.com/dosefaker/com2us_Golang_socketGameServer_CodeLab/blob/master/thirdparty/SimpleMsgPack.Net/Source/Consts.cs
Github Open Source
Open Source
MIT
2,022
com2us_Golang_socketGameServer_CodeLab
dosefaker
C#
Code
54
140
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SimpleMsgPack { public enum MsgPackType { Unknown = 0, Null = 1, Map = 2, Array = 3, String = 4, Integer = 5, UInt64 ...
28,925
https://github.com/kill666/yii2test/blob/master/components/SendComponent.php
Github Open Source
Open Source
BSD-3-Clause
2,016
yii2test
kill666
PHP
Code
95
323
<?php namespace app\components; use Yii; use app\models\SendInterface; use yii\base\Component; use yii\httpclient\Client; class SendComponent extends Component implements SendInterface { public function init() { parent::init(); } /** * * @param string $url Полный адрес получателя * @param array $data Да...
47,754
https://github.com/elmidou/snowball-app/blob/master/client/lib/config.coffee
Github Open Source
Open Source
MIT, LicenseRef-scancode-warranty-disclaimer
2,016
snowball-app
elmidou
CoffeeScript
Code
10
40
FlowRouter.route '/channels', name: 'channels', action: (params) -> BlazeLayout.render("layout", {main: "channels"})
31,164
https://github.com/ApocalypsjeNL/OpenAudioMc/blob/master/plugin/src/main/java/com/craftmend/openaudiomc/api/velocitypluginmessageframework/PacketPlayer.java
Github Open Source
Open Source
2,021
OpenAudioMc
ApocalypsjeNL
Java
Code
145
427
package com.craftmend.openaudiomc.api.velocitypluginmessageframework; import lombok.Getter; import net.md_5.bungee.api.connection.ProxiedPlayer; import org.bukkit.entity.Player; /** * Represents a BungeeCord, a Velocity or Bukkit player * Created by iKeirNez on 12/12/13, ported to velocity and modified by fluse1367...
6,746
https://github.com/Maikiki/ssm/blob/master/src/main/java/controller/DemoController.java
Github Open Source
Open Source
MIT
null
ssm
Maikiki
Java
Code
86
322
package controller; import entity.User; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annota...
5,525
https://github.com/Akteevy/UltraMYIR/blob/master/05 NVMe SSD on PCIe/Vivado/sources/ps_wrapper.v
Github Open Source
Open Source
MIT
2,022
UltraMYIR
Akteevy
Verilog
Code
62
155
//Copyright 1986-2019 Xilinx, Inc. All Rights Reserved. //-------------------------------------------------------------------------------- //Tool Version: Vivado v.2019.2 (lin64) Build 2708876 Wed Nov 6 21:39:14 MST 2019 //Date : Sat Apr 25 11:45:43 2020 //Host : ubu18xilinx running 64-bit Ubuntu 18.04.4...
11,295
https://github.com/KosmoCarrot/reminder/blob/master/Reminder/View/ListBoxItemDictionary.xaml.cs
Github Open Source
Open Source
BSD-3-Clause
2,017
reminder
KosmoCarrot
C#
Code
38
119
using System.Windows; using System.Windows.Controls; using System.Windows.Input; namespace Reminder.View { public partial class ListBoxItemDictionary : ResourceDictionary { public ListBoxItemDictionary() { InitializeComponent(); } protected void SelectCurrentItem(o...
19,357
https://github.com/Tonybsilva-dev/product-hunt-api/blob/master/src/models/Users.js
Github Open Source
Open Source
MIT
2,020
product-hunt-api
Tonybsilva-dev
JavaScript
Code
121
368
const mongoose = require('mongoose'); const mongoosePaginate = require('mongoose-paginate'); const ProductSchema = new mongoose.Schema({ name: { type: String, required: true, }, user_name: { type: String, required: true }, email: { type: String, }, address: { street: { type:...
3,717
https://github.com/pihentagy/dart-more/blob/master/lib/src/math/is_probably_prime.dart
Github Open Source
Open Source
MIT
2,022
dart-more
pihentagy
Dart
Code
474
1,078
import '../number/complex.dart'; extension ProbablyPrimeIntegerExtension on int { /// Tests if this [int] is probably a prime. /// /// This variant of the probabilistic prime test by Miller–Rabin is /// deterministic. It has been verified to return correct results for all n /// < 341,550,071,728,321. bool ...
10,251
https://github.com/egg82/fastutil-lite/blob/master/src/main/java/it/unimi/dsi/fastutil/ints/IntBigListIterator.java
Github Open Source
Open Source
Apache-2.0
2,021
fastutil-lite
egg82
Java
Code
436
924
/* * Copyright (C) 2010-2017 Sebastiano Vigna * * 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...
30,210
https://github.com/shyamvalsan/BotsRevolution/blob/master/TTS/google-speech.py
Github Open Source
Open Source
MIT
null
BotsRevolution
shyamvalsan
Python
Code
370
777
#!/usr/bin/python # googletts # Created by Matt Dyson (mattdyson.org) # http://mattdyson.org/blog/2014/07/text-to-speech-on-a-raspberry-pi-using-google-translate/ # Some inspiration taken from http://danfountain.com/2013/03/raspberry-pi-text-to-speech/ # Version 1.2 (08/08/15) # Changes: # - Use urllib to properly e...
43,921
https://github.com/svivek908/Moms-Supper/blob/master/application/controllers/Admin/Admin_login.php
Github Open Source
Open Source
MIT
null
Moms-Supper
svivek908
PHP
Code
159
838
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Admin_login extends CI_Controller { public function __construct(){ parent::__construct(); $this->load->model('login_model'); if($this->session->has_userdata('logged_admin_session')){ redirect('Msa-Dashboard','refresh'); } } pub...
30,725
https://github.com/fullstackspace/react-ts-admin/blob/master/server/apps/server/src/auth/auth.controller.ts
Github Open Source
Open Source
MIT
2,021
react-ts-admin
fullstackspace
TypeScript
Code
202
718
import { User, UserDocument } from '@libs/db/models/user.model'; import { Body, Controller, Get, Post, Req, UseGuards } from '@nestjs/common'; import { ApiBearerAuth, ApiOperation, ApiProperty, ApiTags } from '@nestjs/swagger'; import { ReturnModelType } from '@typegoose/typegoose'; import { InjectModel } from 'nestjs-...
35,529
https://github.com/TravelC/TCTitleLoading/blob/master/TCTitleLoading/TCTitleLoading/TCTitleLoadingManager.h
Github Open Source
Open Source
MIT
2,016
TCTitleLoading
TravelC
Objective-C
Code
128
301
// // TCTitleLoadingManager.h // TCTitleLoading // // Created by Travel Chu on 15/11/23. // Copyright © 2015年 TravelChu. All rights reserved. // #import <Foundation/Foundation.h> #import <UIKit/UIKit.h> @interface TCTitleLoadingManager : NSObject /** * Add the class to the skip list * * @param classToSkip t...
744
https://github.com/Inego/Aglona-Reader/blob/master/Aglona Reader/AboutForm.cs
Github Open Source
Open Source
MS-PL
2,022
Aglona-Reader
Inego
C#
Code
67
180
using System.Windows.Forms; namespace AglonaReader { public partial class AboutForm : Form { public AboutForm() { InitializeComponent(); } protected override bool ProcessCmdKey(ref Message msg, Keys keyData) { if (keyData == Keys.Escape) ...
7,779
https://github.com/alexlib/engineering_experiments_measurements_course/blob/master/notebooks/signal_processing/Frequency_content_of_a_periodic_signal.py
Github Open Source
Open Source
CC0-1.0
2,022
engineering_experiments_measurements_course
alexlib
Python
Code
711
1,874
# --- # jupyter: # jupytext: # text_representation: # extension: .py # format_name: percent # format_version: '1.3' # jupytext_version: 1.4.2 # kernelspec: # display_name: Python [conda env:mdd] * # language: python # name: conda-env-mdd-py # --- # %% [markdown] # # Using FF...
13,385
https://github.com/philip-alldredge/AGREE/blob/master/edu.uah.rsesc.aadlsimulator.xtext/src-gen/edu/uah/rsesc/aadlsimulator/xtext/inputConstraint/InputConstraintPackage.java
Github Open Source
Open Source
BSD-3-Clause
2,021
AGREE
philip-alldredge
Java
Code
4,670
17,328
/** * generated by Xtext 2.11.0 */ package edu.uah.rsesc.aadlsimulator.xtext.inputConstraint; import org.eclipse.emf.ecore.EAttribute; import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.EEnum; import org.eclipse.emf.ecore.EPackage; import org.eclipse.emf.ecore.EReference; /** * <!-- begin-user-doc -...
16,613
https://github.com/Sod-Momas/momas-project/blob/master/momas-carshow/src/main/java/cc/momas/car/web/action/CarmodalAction.java
Github Open Source
Open Source
Apache-2.0
null
momas-project
Sod-Momas
Java
Code
91
330
package cc.momas.car.web.action; import java.util.List; import cc.momas.car.entity.Carmodal; import cc.momas.car.service.ICarmodalService; public class CarmodalAction extends BaseAction { private static final long serialVersionUID = 1L; private List<Carmodal> mlist; private ICarmodalService mSvc; private Integ...
45,492
https://github.com/pulumi/pulumi-alicloud/blob/master/sdk/java/src/main/java/com/pulumi/alicloud/dcdn/DcdnFunctions.java
Github Open Source
Open Source
Apache-2.0, MPL-2.0, BSD-3-Clause
2,023
pulumi-alicloud
pulumi
Java
Code
5,063
18,511
// *** WARNING: this file was generated by pulumi-java-gen. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** package com.pulumi.alicloud.dcdn; import com.pulumi.alicloud.Utilities; import com.pulumi.alicloud.dcdn.inputs.GetDomainsArgs; import com.pulumi.alicloud.dcdn.inputs.GetDom...
49,904
https://github.com/Duongpd1/kntc_old/blob/master/resources/views/pages/thamquyen.blade.php
Github Open Source
Open Source
MIT
null
kntc_old
Duongpd1
PHP
Code
1,574
7,313
<?php /**************************************************************** File Name : home.blade.php Description : Header of home page Creation Date : 2016/06/10 Author : FPT/KhanhTH Change History : ****************************************************************/ ?> @extends('layouts.quantrihetho...
27,401
https://github.com/schmittjoh/php-stubs/blob/master/res/php/image/functions/imagedestroy.php
Github Open Source
Open Source
Apache-2.0
2,021
php-stubs
schmittjoh
PHP
Code
23
51
<?php /** * Destroy an image * * @phpstub * * @param resource $image * * @return bool */ function imagedestroy($image) { }
28,923
https://github.com/ruputheking/dreams/blob/master/app/Http/Controllers/Backend/Transaction/RequestController.php
Github Open Source
Open Source
MIT
null
dreams
ruputheking
PHP
Code
103
465
<?php namespace App\Http\Controllers\Backend\Transaction; use App\Models\InvoicePayment; use Illuminate\Http\Request; use App\Http\Controllers\Controller; class RequestController extends Controller { public function index() { $transactions = InvoicePayment::select('*', 'invoice_payments.id as id', 'i...
25,796
https://github.com/Mamesoft/toNumber/blob/master/README.mediawiki
Github Open Source
Open Source
MIT
2,016
toNumber
Mamesoft
null
Spoken
14
26
=toNumber= This is very simple. This is adding toDouble and toFloat method for String.
28,180
https://github.com/mimseyedi/Kattis/blob/master/Python/spavanac.py
Github Open Source
Open Source
MIT
null
Kattis
mimseyedi
Python
Code
38
93
h, m = map(int, input().split()) fullMin = (h * 60) + m hour = (fullMin - 45) // 60 minu = (fullMin - 45) % 60 if hour == -1: hour = 23 print(f'{hour} {minu}') else: print(f'{hour} {minu}')
49,975
https://github.com/igiu1988/iOS13.4.1-Runtime-Headers/blob/master/PrivateFrameworks/NanoMusicSync.framework/NMSSyncStatesDict.h
Github Open Source
Open Source
MIT
2,020
iOS13.4.1-Runtime-Headers
igiu1988
Objective-C
Code
78
331
/* Generated by EzioChiu Image: /System/Library/PrivateFrameworks/NanoMusicSync.framework/NanoMusicSync */ @interface NMSSyncStatesDict : NSObject <NSCopying> { NSMutableDictionary * _syncStatesDict; NSMutableDictionary * _waitingSubstatesDict; } + (id)assetTypeForMediaType:(unsigned long long)arg1; + (un...
28,174
https://github.com/buildtesters/buildtest/blob/master/buildtest/scheduler/job.py
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, MIT, OpenPBS-2.3
2,023
buildtest
buildtesters
Python
Code
96
239
class Job: """This is a base class for holding job level data and common methods for used for batch job submission.""" def __init__(self, jobID): self.jobid = jobID self._state = None def state(self): """Return job state""" return self._state def get(self): ...
48,079
https://github.com/akhireddy130300l/OnlineMovieBooking/blob/master/src/main/java/com/moviebooking/rowmapper/SeatrowMapper.java
Github Open Source
Open Source
MIT
null
OnlineMovieBooking
akhireddy130300l
Java
Code
43
207
package com.moviebooking.rowmapper; import java.sql.ResultSet; import java.sql.SQLException; import org.springframework.jdbc.core.RowMapper; import com.moviebooking.bean.Seat; public class SeatrowMapper implements RowMapper<Seat> { public Seat mapRow(ResultSet rs, int rowNum) throws SQLException { // TODO Auto-...
14,276
https://github.com/sergev/vak-opensource/blob/master/compilers/pcc-e1kb/lint/lerror2.c
Github Open Source
Open Source
Apache-2.0
2,022
vak-opensource
sergev
C
Code
1,343
3,535
/* @(#)lerror2.c 1.5 */ /* 3.0 SID # 1.3 */ /* lerror2.c * This file contains routines for message and error handling for * the second lint pass (lint2). * * Functions: * ========== * buffer buffer a message * catchsig set up signals * lerror lint error message * onintr clean up after an interrupt * t...
25,113
https://github.com/wanddy/activiti-jeecg-boot/blob/master/ant-design-vue-jeecg/src/views/publish/appDetail/AppVersions.vue
Github Open Source
Open Source
MIT
2,021
activiti-jeecg-boot
wanddy
Vue
Code
680
2,983
<template> <div v-loading="contentLoading" class="app-versions" element-loading-background="rgba(0, 0, 0, 0)"> <div class="top-wrapper"> <div class="top" :class="topArrowClass"> <img alt="图标" width="100" height="100" style="cursor: pointer" ...
32,920
https://github.com/navikt/modiapersonoversikt-api/blob/master/web/src/main/java/no/nav/modiapersonoversikt/service/organisasjonenhet/kontaktinformasjon/domain/Publikumsmottak.java
Github Open Source
Open Source
MIT
2,020
modiapersonoversikt-api
navikt
Java
Code
49
207
package no.nav.modiapersonoversikt.service.organisasjonenhet.kontaktinformasjon.domain; public class Publikumsmottak { private Gateadresse besoeksadresse; private Apningstider apningstider; public Gateadresse getBesoeksadresse() { return besoeksadresse; } public Publikumsmottak withBesoe...
10,028
https://github.com/The-Royal/theroyal.configurator/blob/master/docs/assets/js/staticIndicatorsComponent.js
Github Open Source
Open Source
MIT
2,020
theroyal.configurator
The-Royal
JavaScript
Code
239
952
Vue.component('static-indicators', { props: ['indicators'], template: ` <div class="zonebox" v-if="indicators && indicators.length > 0"> <h3 v-on:click="visible = !visible">Indicators <span v-if="visible"><i class="fa fa-chevron-down" aria-hidden="true"></i></span><span v-if="!visible"><i class="fa fa-chevron-u...
13,372
https://github.com/NasirNobin/wordpress-post-spam-filter/blob/master/inc/trickbd_psb_actions.php
Github Open Source
Open Source
MIT
null
wordpress-post-spam-filter
NasirNobin
PHP
Code
346
1,484
<?php if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly } /** * On publish_post hook check if there is any spam word and take action. */ if(!function_exists('nobin_post_spam_check')) : function nobin_post_spam_check($id,$post){ if(current_user_can('manage_options') && trickbd_psb_get_optio...
4,838
https://github.com/batfish/batfish/blob/master/projects/batfish/src/main/java/org/batfish/representation/f5_bigip/BgpNeighbor.java
Github Open Source
Open Source
Apache-2.0
2,023
batfish
batfish
Java
Code
216
816
package org.batfish.representation.f5_bigip; import javax.annotation.Nullable; import javax.annotation.ParametersAreNonnullByDefault; import org.batfish.datamodel.Ip; import org.batfish.datamodel.Ip6; /** Configuration for a BGP neighbor representing an actual peer. */ @ParametersAreNonnullByDefault public final clas...
39,281
https://github.com/reliv/rcm-php/blob/master/core/src/View/Helper/RcmEdit.php
Github Open Source
Open Source
ISC
2,021
rcm-php
reliv
PHP
Code
324
782
<?php namespace Rcm\View\Helper; use Zend\View\Helper\AbstractHelper; /** * Rcm edit view helper * * This creates editable text areas in views and also ensures that their content * is stripped of javascript in order to prevent XSS attacks. * * PHP version 5 * * @category Reliv * @package RcmInstanceConfi...
15,107
https://github.com/meng80000/database-dictionary/blob/master/src/views/index.blade.php
Github Open Source
Open Source
MIT
2,018
database-dictionary
meng80000
Blade
Code
770
2,531
@extends('database_dictionary::layouts') @section('js') <script> $(function () { let body = new Vue({ el: '#body', data: { navigation: [], module: [], allTable: [], form: { ...
22,652
https://github.com/mattstyles/immreact/blob/master/packages/examples/examples/arc/actions.js
Github Open Source
Open Source
MIT
2,022
immreact
mattstyles
JavaScript
Code
32
78
import { signal } from './store' export const actions = { request: 'request', requestPending: 'request:pending', requestSuccess: 'request:success', requestFailure: 'request:failure' } export const dispatch = type => payload => signal.emit({ type, payload })
11,171
https://github.com/advorange/Advobot/blob/master/src/Commands/Advobot.Logging/NotificationModuleBase.cs
Github Open Source
Open Source
MIT
2,021
Advobot
advorange
C#
Code
39
101
using Advobot.Logging.Database; using Advobot.Modules; namespace Advobot.Logging; public abstract class NotificationModuleBase : AdvobotModuleBase { #pragma warning disable CS8618 // Non-nullable field is uninitialized. public INotificationDatabase Db { get; set; } #pragma warning restore CS8618 // Non-nullable fie...
31,370
https://github.com/Azhan7/Eventify/blob/master/application/views/frontend/dashboard.php
Github Open Source
Open Source
MIT
null
Eventify
Azhan7
PHP
Code
43
266
<div id="fh5co-contact" style="text-align: center;" > <div class="container"> <div class="row"> <div class="col-md-12 animate-box"> <div class="price-box"> <h1 >WELCOME TO YOUR DASHBOARD</h1> <br><br><br> <ul> <a href="<?php echo base_url().'dash...
38,672
https://github.com/khalidx/runbook/blob/master/src/commands/ls.ts
Github Open Source
Open Source
MIT
2,022
runbook
khalidx
TypeScript
Code
512
1,377
import { dirname, resolve } from 'path' import type { Position } from 'unist' import files from '../features/files' import markdown from '../features/markdown' import handlebars from '../features/handlebars' import colors from '../features/colors' import fonts from '../features/fonts' import padding from '../features/...
2,678
https://github.com/nicholas-b-carter/gluestick/blob/master/src/lib/utils.js
Github Open Source
Open Source
MIT
null
gluestick
nicholas-b-carter
JavaScript
Code
125
341
import fs from "fs"; import path from "path"; import logger from "./cliLogger"; import { highlight } from "./cliColorScheme"; export function quitUnlessGluestickProject(command) { if (!isGluestickProject()) { logger.error(`${highlight(command)} commands must be run from the root of a gluestick project.`); pr...
48,273
https://github.com/MarcelWaldvogel/kroki/blob/master/server/src/main/java/io/kroki/server/service/Svgbob.java
Github Open Source
Open Source
MIT
null
kroki
MarcelWaldvogel
Java
Code
238
851
package io.kroki.server.service; import io.kroki.server.action.Commander; import io.kroki.server.decode.DiagramSource; import io.kroki.server.decode.SourceDecoder; import io.kroki.server.error.DecodeException; import io.kroki.server.format.FileFormat; import io.vertx.core.AsyncResult; import io.vertx.core.Handler; imp...
34,680
https://github.com/alyaari/Bistrotic/blob/master/src/Modules/Server/Bistrotic.WorkItems.Server/Application/QueryHandlers/GetIssuesWithSlaHandler.cs
Github Open Source
Open Source
MIT
2,021
Bistrotic
alyaari
C#
Code
245
1,041
namespace Bistrotic.WorkItems.Application.QueryHandlers { using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Threading; using System.Threading.Tasks; using Bistrotic.Application.Messages; using Bistrotic.Application.Queries; using Bistrotic.Do...
16,320
https://github.com/ahnan4arch/Supernova/blob/master/engine/core/audio/AudioLoader.h
Github Open Source
Open Source
MIT
2,016
Supernova
ahnan4arch
C++
Code
39
152
#ifndef AudioLoader_h #define AudioLoader_h #include "AudioReader.h" #include "AudioFile.h" #include <stdio.h> class AudioLoader{ private: AudioFile* audioFile; AudioReader* getAudioFormat(const char* relative_path, FILE* file); public: AudioLoader(); AudioLoader(const char* relative_path)...
28,113
https://github.com/blueror815/ruby-healthpro/blob/master/custom_forms/app/assets/javascripts/custom_forms/customFields.js
Github Open Source
Open Source
MIT
2,015
ruby-healthpro
blueror815
JavaScript
Code
305
1,485
function add_fields(link, association, content) { var new_id = parseInt($(link).attr('id')) $(link).attr('id', ++new_id) if( association.indexOf('fields') >= 0 ){ $(link).parents().eq(1).prev().find('tbody').append(content.replace(/\[section_fields_attributes\]\[\d+\]/g, ('[section_fields_attributes]['+new_id...
8,640
https://github.com/matsmiley0202/Yolo-digit-detector/blob/master/yolo/backend/network.py
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, MIT
2,018
Yolo-digit-detector
matsmiley0202
Python
Code
227
894
# -*- coding: utf-8 -*- from keras.models import Model from keras.layers import Reshape, Conv2D, Input, Lambda import numpy as np import cv2 import os from .utils.feature import create_feature_extractor def create_yolo_network(architecture, input_size, nb_classes, ...
43,752
https://github.com/hculpan/ll-angular/blob/master/app/js/services.js
Github Open Source
Open Source
MIT
2,020
ll-angular
hculpan
JavaScript
Code
91
465
'use strict'; /* Services */ // Demonstrate how to register services // In this case it is a simple value service. angular.module('myApp.services', ['ngResource']) .factory('MonstersCache', function($cacheFactory) { return $cacheFactory('MonstersCache', {}) }) .factory('Monsters', ['$resource', ...
43,196
https://github.com/ted-hanson/roomr/blob/master/app/assets/stylesheets/base.css.scss
Github Open Source
Open Source
MIT
2,014
roomr
ted-hanson
SCSS
Code
16
50
// base.css.scss html body { font-family: "Trebuchet MS", Helvetica, sans-serif; } img { max-width: 100%; }
47,459
https://github.com/EmanuelSamir/gym-turtlebot3/blob/master/examples/openai_baselines_play_model.py
Github Open Source
Open Source
MIT
2,022
gym-turtlebot3
EmanuelSamir
Python
Code
36
176
import gym_turtlebot3 import rospy import baselines.run as run import os env_name = 'TurtleBot3_Circuit_Simple-v0' alg = 'deepq' model_name = 'TurtleBot3_Circuit_Simple-v0_1e4_deepq.pkl' my_args = [ '--alg=' + alg, '--env=' + env_name, '--load_path=./models/' + model_name, '--num_timesteps=0', ...
25,511
https://github.com/karellens/laravel-resource/blob/master/src/Resource/ApiResponse.php
Github Open Source
Open Source
MIT
2,017
laravel-resource
karellens
PHP
Code
75
241
<?php namespace Karellens\Resource; use Illuminate\Http\Response; class ApiResponse { protected $headers = [ 'Access-Control-Allow-Origin' => '*', 'Content-Type' => 'application/json; charset=utf-8', 'Cache-Control' => 'no-cache, must-revalidate', 'Pragma' => 'no-cache', '...
46,300
https://github.com/microsoft/FluidFramework/blob/master/packages/dds/matrix/bench/src/util.ts
Github Open Source
Open Source
MIT, LicenseRef-scancode-public-domain
2,023
FluidFramework
microsoft
TypeScript
Code
158
395
/*! * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ import { MockFluidDataStoreRuntime } from "@fluidframework/test-runtime-utils"; import { SharedMatrix, SharedMatrixFactory } from "./imports"; import { insertFragmented } from "../../test/utils"; im...
44,527
https://github.com/asp-playground/aspnetcore-api-sample/blob/master/SampleApi/src/SampleApi/Controllers/ContactsController.cs
Github Open Source
Open Source
MIT
null
aspnetcore-api-sample
asp-playground
C#
Code
135
513
using System.Collections.Generic; using System.Net; using System.Net.Http; using System.Web.Http; using Microsoft.AspNetCore.Mvc; using SampleApi.Filters; namespace SampleApi.Controllers { [ServiceFilter(typeof(ContactSelfLinkFilter))] [FormatFilter] [Route("[controller]")] public class ContactsControl...
15,327
https://github.com/ResurrectionRemix/packages_apps_DUI/blob/master/src/com/android/systemui/navigation/fling/FlingLogoView.java
Github Open Source
Open Source
Apache-2.0
2,018
packages_apps_DUI
ResurrectionRemix
Java
Code
236
570
/** * Copyright (C) 2014 The TeamEos Project * Copyright (C) 2016 The DirtyUnicorns Project * * @author: Randall Rushing <randall.rushing@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of ...
53,502
https://github.com/zxiu/hms-wear-engine-demo/blob/master/Android phones/WearEnginePhoneDemo/app/src/main/java/com/huawei/wearengine/app/utils/SelectFileManager.java
Github Open Source
Open Source
Apache-2.0
2,021
hms-wear-engine-demo
zxiu
Java
Code
1,124
2,903
/* * Copyright 2020. Huawei Technologies Co., Ltd. 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...
38,302
https://github.com/wrathematics/rotp/blob/master/man/totp.Rd
Github Open Source
Open Source
BSD-2-Clause
2,020
rotp
wrathematics
R
Code
67
207
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/totp.r \name{totp} \alias{totp} \title{totp} \usage{ totp(key, interval = 30, digits = 6) } \arguments{ \item{key}{The secret key.} \item{interval}{The interval of time in seconds.} \item{digits}{The number of digits of the return.} } \valu...
10,443
https://github.com/GitHubWxw/bs-cloud/blob/master/cloud-server-order/cloud-order-service/src/main/java/com/wxw/cloud/service/AlipayService.java
Github Open Source
Open Source
MIT
2,021
bs-cloud
GitHubWxw
Java
Code
139
632
package com.wxw.cloud.service; import com.alipay.api.AlipayApiException; import com.wxw.cloud.domain.Order; import com.wxw.cloud.domain.OrderDetail; import javax.servlet.http.HttpServletRequest; import java.util.Map; /** * 支付接口 */ public interface AlipayService { /** * * @param orderId 订单编号 ...
8,443
https://github.com/JKapostins/Reflex-TrackManager/blob/master/third-party/Indicium-Supra/packages/Vcpkg.Nuget.1.5.0/vcpkg_bin/ports/fontconfig/fcobjtypehash.patch
Github Open Source
Open Source
MIT
2,020
Reflex-TrackManager
JKapostins
null
Spoken
46
168
diff --git a/src/fcobjs.c b/src/fcobjs.c index 33bba8d..e6b0808 100644 --- a/src/fcobjs.c +++ b/src/fcobjs.c @@ -24,11 +24,13 @@ #include "fcint.h" +#if 0 static unsigned int FcObjectTypeHash (register const char *str, register FC_GPERF_SIZE_T len); static const struct FcObjectTypeInfo * FcObjectTypeLookup (...
46,505
https://github.com/together-saving/together-saving-BE/blob/master/src/main/java/com/savle/togethersaving/config/LogAspect.java
Github Open Source
Open Source
MIT
null
together-saving-BE
together-saving
Java
Code
148
673
package com.savle.togethersaving.config; import lombok.extern.slf4j.Slf4j; import org.aspectj.lang.JoinPoint; import org.aspectj.lang.ProceedingJoinPoint; import org.aspectj.lang.annotation.Around; import org.aspectj.lang.annotation.Aspect; import org.aspectj.lang.annotation.Before; import org.aspectj.lang.annotation....
25,698
https://github.com/pinoywebs123/survey/blob/master/app/SectionOne.php
Github Open Source
Open Source
MIT
null
survey
pinoywebs123
PHP
Code
12
36
<?php namespace App; use Illuminate\Database\Eloquent\Model; class SectionOne extends Model { // }
44,228
https://github.com/OgaBoss/lookupschools/blob/master/app/models/Image.php
Github Open Source
Open Source
MIT
null
lookupschools
OgaBoss
PHP
Code
22
58
<?php class Image extends \Eloquent { protected $table = 'photos'; protected $guarded = ['id']; public function imageable() { return $this->morphTo(); } }
10,326
https://github.com/OBrienCommaJosh/automate/blob/master/components/automate-ui/src/app/modules/infra-proxy/included-policies-details/included-policies-details.component.ts
Github Open Source
Open Source
Apache-2.0
2,022
automate
OBrienCommaJosh
TypeScript
Code
142
543
import { Component, Input, EventEmitter, Output, HostBinding } from '@angular/core'; import { PolicyFile } from 'app/entities/policy-files/policy-file.model'; import { PolicyFileRequests } from 'app/entities/policy-files/policy-file.requests'; @Component({ selector: 'app-included-policies-details', templ...
48,559
https://github.com/just-trey/donate-twentz/blob/master/src/assets/styles/_default.scss
Github Open Source
Open Source
MIT
null
donate-twentz
just-trey
SCSS
Code
162
440
/*------------------------------------*\ Page default styles \*------------------------------------*/ html { height: 100%; box-sizing: border-box; } body { position: relative; margin: 0; } // styles below are meant to handle common browser issues and standards *, *:after, *:before { box-sizing: in...
35,191
https://github.com/pouyakary/TypeScript/blob/master/src/testRunner/unittests/tsserver/webServer.ts
Github Open Source
Open Source
Apache-2.0
2,022
TypeScript
pouyakary
TypeScript
Code
438
1,439
namespace ts.projectSystem { describe("unittests:: tsserver:: webServer", () => { class TestWorkerSession extends server.WorkerSession { constructor(host: server.ServerHost, webHost: server.HostWithWriteMessage, options: Partial<server.StartSessionOptions>, logger: server.Logger) { ...
6,229
https://github.com/Airwarfare/foreman/blob/master/src/auth_store.rs
Github Open Source
Open Source
MIT, LicenseRef-scancode-unknown-license-reference
2,020
foreman
Airwarfare
Rust
Code
90
267
use std::io; use serde::{Deserialize, Serialize}; use crate::{fs, paths}; /// Contains stored user tokens that Foreman can use to download tools. #[derive(Debug, Default, Serialize, Deserialize)] pub struct AuthStore { pub github: Option<String>, } impl AuthStore { pub fn load() -> io::Result<Self> { ...
39,280
https://github.com/kiwilan/steward-laravel/blob/master/src/Commands/ClearFreshCommand.php
Github Open Source
Open Source
MIT
2,023
steward-laravel
kiwilan
PHP
Code
115
364
<?php namespace Kiwilan\Steward\Commands; use Illuminate\Console\Command; use Illuminate\Support\Facades\File; class ClearFreshCommand extends Commandable { /** * The name and signature of the console command. * * @var string */ protected $signature = 'clear:fresh'; /** * The co...
16,441
https://github.com/cash2one/xai/blob/master/xai/brain/wordbase/otherforms/_farrows.py
Github Open Source
Open Source
MIT
2,017
xai
cash2one
Python
Code
27
97
#calss header class _FARROWS(): def __init__(self,): self.name = "FARROWS" self.definitions = farrow self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.basic = ['farrow']
42,522
https://github.com/matteh80/maxkompetens_web/blob/master/web/app/themes/maxkomp_theme/assets/styles/templates/_bemanning.scss
Github Open Source
Open Source
MIT
null
maxkompetens_web
matteh80
SCSS
Code
355
1,501
$komp_bg: $gray-lighter; #kompetenser { padding: 1rem; width: 100%; background-color: $komp_bg; border:none; font-family: "Flama-Basic"; font-size: 1.3rem; text-transform: capitalize; border-radius: 3px; } ul.ui-autocomplete { background-color: $komp_bg; font-family: "Flama-Basic"; padding: 1rem...
10,960
https://github.com/bduserbd/os-kernel/blob/master/kernel/include/modules/export-symbol.h
Github Open Source
Open Source
MIT
null
os-kernel
bduserbd
C
Code
82
376
#ifndef K_KERNEL_EXPORT_SYMBOL_H #define K_KERNEL_EXPORT_SYMBOL_H #include "kernel/include/types.h" typedef enum { K_EXPORT_TYPE_FUNC, K_EXPORT_TYPE_VAR, } k_export_t; struct k_export_symbol { const char *name; k_export_t type; void *address; struct k_export_symbol *next; }; extern struct k_export_symbol __k...
16,097
https://github.com/neoneye/loda/blob/master/programs/oeis/195/A195585.asm
Github Open Source
Open Source
Apache-2.0
2,022
loda
neoneye
Assembly
Code
44
430
; A195585: sigma(2*n^2) - sigma(n^2). ; 2,8,26,32,62,104,114,128,242,248,266,416,366,456,806,512,614,968,762,992,1482,1064,1106,1664,1562,1464,2186,1824,1742,3224,1986,2048,3458,2456,3534,3872,2814,3048,4758,3968,3446,5928,3786,4256,7502,4424,4514,6656,5602,6248,7982,5856,5726,8744,8246,7296,9906,6968,7082,12896,7566,7...
48,761
https://github.com/tubean/ssh-proxy/blob/master/src/test/java/de/cronn/proxy/ssh/JSchHelperTest.java
Github Open Source
Open Source
Apache-2.0
2,020
ssh-proxy
tubean
Java
Code
68
380
package de.cronn.proxy.ssh; import static org.junit.Assert.*; import java.util.Arrays; import java.util.List; import org.junit.Test; public class JSchHelperTest { @Test public void testHostKeysPreferEcdsa() throws Exception { JSchHelper.reconfigureServerHostKeyOrder(JSchHelper.ServerHostKeySortOrder.PREFER_ECD...
5,102
https://github.com/j0chn1/libsodium-dart/blob/master/lib/src/password_hash.dart
Github Open Source
Open Source
BSD-3-Clause
2,022
libsodium-dart
j0chn1
Dart
Code
310
1,007
import 'dart:typed_data'; import 'dart:convert'; import 'sodium.dart'; /// Defines the supported password hashing algorithms. enum PasswordHashAlgorithm { /// The recommended algoritm. Default, /// Version 1.3 of the Argon2i algorithm. Argon2i13, /// Version 1.3 of the Argon2id algorithm. Argon2id13 } /...
37,116
https://github.com/Martind64/PersonForm/blob/master/src/AppBundle/Form/Type/PersonListType.php
Github Open Source
Open Source
MIT
null
PersonForm
Martind64
PHP
Code
42
142
<?php namespace AppBundle\Form\Type; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\FormBuilderInterface; class PersonListType extends AbstractType { public function buildForm(FormBuilderInterface $builder, array $options) { $builder ->add('save', 'submit', array('la...
3,776
https://github.com/JTOne123/elasticsearch-net/blob/master/tests/Tests/CodeStandards/Descriptors.doc.cs
Github Open Source
Open Source
Apache-2.0
null
elasticsearch-net
JTOne123
C#
Code
1,171
4,007
// Licensed to Elasticsearch B.V under one or more agreements. // Elasticsearch B.V licenses this file to you under the Apache 2.0 License. // See the LICENSE file in the project root for more information using System; using System.Collections.Generic; using System.Linq; using FluentAssertions; using Nest; using Test...
32,331