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/rhysd/monolith-of-web/blob/master/webpack.config.ts
Github Open Source
Open Source
MIT
2,022
monolith-of-web
rhysd
TypeScript
Code
109
439
import * as webpack from 'webpack'; import CopyWebpackPlugin from 'copy-webpack-plugin'; import * as path from 'path'; const config: webpack.Configuration = { mode: 'development', entry: { popup: './popup.ts', bootstrap: './bootstrap.ts', content: './content.ts', }, devtool: 'in...
10,517
https://github.com/KanchanaNuradha/krish-lands/blob/master/application/libraries/Messages.php
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, Apache-2.0, MIT
2,017
krish-lands
KanchanaNuradha
PHP
Code
137
393
<?php class Messages { private $ci; private $id_menu = 'id="menu"'; function __construct() { $this->ci = & get_instance(); } function getMessage($id) { $menu = array(); $query = $this->ci->db->query("select message_id,message,type from messages where message_id = " . $id ...
5,457
https://github.com/5up3r20e/serverless/blob/master/lib/utils/fs/readFileIfExists.test.js
Github Open Source
Open Source
MIT
2,022
serverless
5up3r20e
JavaScript
Code
59
224
'use strict'; const path = require('path'); const chai = require('chai'); const readFileIfExists = require('./readFileIfExists'); // Configure chai chai.use(require('chai-as-promised')); chai.use(require('sinon-chai')); const expect = require('chai').expect; describe('#readFileIfExists()', () => { it('should resol...
31,752
https://github.com/hpbl/prepose/blob/master/DistanceTree/TreeBodyPart.cs
Github Open Source
Open Source
MIT
2,019
prepose
hpbl
C#
Code
1,626
5,424
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Microsoft.Samples.Kinect.GestureRecognizer { using System.IO; using System.Windows; using System.Windows.Media; using Microsoft.Kinect; using System.Windows.Media.Media3D; public partial class TreeBodyPart { priv...
39,450
https://github.com/lenkog/IDES-TD/blob/master/src/main/java/templates/presentation/ConnectorPopup.java
Github Open Source
Open Source
BSD-2-Clause
null
IDES-TD
lenkog
Java
Code
309
600
/* * Copyright (c) 2009-2020, Lenko Grigorov * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright * notice, this list o...
28,315
https://github.com/kurt22i/gcsim/blob/master/internal/characters/shenhe/frames.go
Github Open Source
Open Source
MIT
2,022
gcsim
kurt22i
Go
Code
102
310
package shenhe import "github.com/genshinsim/gcsim/pkg/core" func (c *char) ActionFrames(a core.ActionType, p map[string]int) (int, int) { switch a { case core.ActionAttack: f := 0 switch c.NormalCounter { case 0: f = 23 case 1: f = 19 case 2: f = 42 case 3: f = 30 case 4: f = 81 } ...
16,562
https://github.com/prolog/shadow-of-the-wyrm/blob/master/engine/conversion/source/EngineConversion.cpp
Github Open Source
Open Source
MIT
2,022
shadow-of-the-wyrm
prolog
C++
Code
627
2,749
#include "CarryingCapacityCalculator.hpp" #include "CommandKeys.hpp" #include "EngineConversion.hpp" #include "Log.hpp" using namespace std; DirectionEnum::DirectionEnum() { } DirectionEnum::~DirectionEnum() { } string DirectionEnum::to_string(const Direction d) { string command_key_direction; switch(d) { ...
24,078
https://github.com/nouwatinjacob/book-a-meal/blob/master/client/src/utils/mealValidation.js
Github Open Source
Open Source
MIT
2,018
book-a-meal
nouwatinjacob
JavaScript
Code
49
139
import Validator from 'validatorjs'; const rules = { name: 'required|min:3|max:80', price: 'required|numeric', image: 'required' }; const mealValidation = (data) => { const validation = new Validator(data, rules); const validationObj = { isValid: () => validation.passes() }; if (validation.fails()) { ...
26,357
https://github.com/pieterprovoost/registry-react/blob/master/src/components/Identifiers/Input/SuggestField.js
Github Open Source
Open Source
Apache-2.0
2,018
registry-react
pieterprovoost
JavaScript
Code
75
311
import React, { Component } from 'react'; import RegistrySuggest from '../../shared/RegistrySuggest' class SuggestField extends Component { constructor(props) { super(props); this.handleRelationChange = this.handleRelationChange.bind(this); } handleRelationChange = (item, name) => { this.props.setFi...
44,637
https://github.com/jgu2/jade/blob/master/tests/unit/extensions/demo/test_autoregression_inputs.py
Github Open Source
Open Source
BSD-3-Clause
2,022
jade
jgu2
Python
Code
95
360
""" Units tests for auto-regression inputs class methods and properties """ import os from jade.extensions.demo.autoregression_inputs import AutoRegressionInputs from jade.extensions.demo.autoregression_parameters import AutoRegressionParameters def test_base_directory(test_data_dir): """Should return a string pa...
17,733
https://github.com/suguru03/amplify-cli/blob/master/packages/amplify-provider-awscloudformation/src/export-types/ResourceType.ts
Github Open Source
Open Source
Apache-2.0
2,022
amplify-cli
suguru03
TypeScript
Code
14
35
export type ResourceType = { category: string; service: string; resourceName: string; build: boolean; };
9,889
https://github.com/prenaux/ham/blob/master/sources/emacs/site/misc/aflymake-shell.el
Github Open Source
Open Source
Jam, MIT, LicenseRef-scancode-warranty-disclaimer, LicenseRef-scancode-unknown-license-reference
2,023
ham
prenaux
null
Spoken
114
532
;;; Flymake Shell mode ;; You may want to invoke aflymake-shell when sh-mode loads. ;; (require 'aflymake-shell) ;; (add-hook 'sh-mode-hook 'aflymake-shell-load) (require 'aflymake) (defcustom aflymake-shell-of-choice "bash" "Path of shell.") (defcustom aflymake-shell-arguments (list "-n") "Shell arguments ...
11,586
https://github.com/olegtarasov/GrammarEngine/blob/master/src/demo/ai/solarix/Grammar_Engine/NormalizePhraseWebService/NormalizePhraseWebService/NormalizePhraseService.cs
Github Open Source
Open Source
MIT
2,021
GrammarEngine
olegtarasov
C#
Code
305
1,100
using System; using System.ServiceProcess; using System.ServiceModel; using System.ServiceModel.Web; using System.ServiceModel.Description; namespace WindowsServiceHost { [ServiceBehavior(InstanceContextMode = InstanceContextMode.PerSession, ConcurrencyMode = ConcurrencyMode.Multiple)] public partial class N...
53,223
https://github.com/qiniu/goplus-play/blob/master/lib/hash/crc32/exports.go
Github Open Source
Open Source
Apache-2.0
2,020
goplus-play
qiniu
Go
Code
187
874
package crc32 import ( "hash/crc32" qspec "github.com/qiniu/goplus/exec.spec" "github.com/qiniu/goplus/gop" ) // func crc32.Checksum(data []byte, tab *crc32.Table) uint32 func execChecksum(_ int, p *gop.Context) { args := p.GetArgs(2) ret := crc32.Checksum(args[0].([]byte), args[1].(*crc32.Table)) p.Ret(2, ret...
23,464
https://github.com/yoshiomiyamae/react-bulma/blob/master/src/layout/container/index.ts
Github Open Source
Open Source
MIT
null
react-bulma
yoshiomiyamae
TypeScript
Code
8
16
export * from './container'; export * from './container-fluid';
302
https://github.com/ins0o0mniac/PurpleCloud/blob/master/modules/win10-vm/4-ansible_sec_tools.tf
Github Open Source
Open Source
MIT
2,021
PurpleCloud
ins0o0mniac
HCL
Code
84
290
resource "null_resource" "provision-sec_tools" { ## Run this module is var.install_agent boolean is true count = var.install_agent ? 1 : 0 provisioner "local-exec" { command = "sleep 60" } provisioner "local-exec" { command = "cd '${path.module}/art';./art.sh" } provisioner "remote-exec" { ...
2,409
https://github.com/net-snmp/net-snmp/blob/master/agent/mibgroup/mibII/udp.c
Github Open Source
Open Source
LicenseRef-scancode-warranty-disclaimer, LicenseRef-scancode-unknown-license-reference, LicenseRef-scancode-other-permissive, BSD-3-Clause, MIT, MIT-CMU
2,023
net-snmp
net-snmp
C
Code
1,398
5,731
/* * UDP MIB group implementation - udp.c * */ #include <net-snmp/net-snmp-config.h> #include "mibII_common.h" #ifdef HAVE_NETINET_UDP_H #include <netinet/udp.h> #endif #ifdef HAVE_NETINET_UDP_VAR_H #include <netinet/udp_var.h> #endif #include <net-snmp/net-snmp-includes.h> #include <net-snmp/agent/net-snmp-agen...
26,533
https://github.com/RalfBarkow/pillar/blob/master/src/BaselineOfPillarDocumentModel/BaselineOfPillarDocumentModel.class.st
Github Open Source
Open Source
MIT
2,021
pillar
RalfBarkow
null
Spoken
44
149
Class { #name : #BaselineOfPillarDocumentModel, #superclass : #BaselineOf, #category : #BaselineOfPillarDocumentModel } { #category : #baselines } BaselineOfPillarDocumentModel >> baseline: spec [ <baseline> spec for: #common do: [ spec blessing: #baseline. spec package: 'Pillar-Core'; package: '...
28,964
https://github.com/foxbloodiron/Alexis/blob/master/resources/views/modul_keuangan/laporan/index.blade.php
Github Open Source
Open Source
MIT
null
Alexis
foxbloodiron
PHP
Code
548
2,829
@extends('main') @section('title', 'Laporan Keuangan') @section(modulSetting()['extraStyles']) <link rel="stylesheet" type="text/css" href="{{ asset('modul_keuangan/js/vendors/bootstrap_datatable_v_1_10_18/datatables.css') }}"> <link rel="stylesheet" type="text/css" href="{{ asset('modul_keuangan/js/vendors/toa...
533
https://github.com/pSpeck/chameleon-shop/blob/master/src/ShopBundle/objects/TShopBreadcrumbItem/TShopBreadcrumbItemArticle.class.php
Github Open Source
Open Source
MIT
2,019
chameleon-shop
pSpeck
PHP
Code
89
258
<?php /* * This file is part of the Chameleon System (https://www.chameleonsystem.com). * * (c) ESONO AG (https://www.esono.de) * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ /** * item is used to simulate a breadcrumb node. /*...
36,782
https://github.com/bghryct/PageBot/blob/master/Lib/pagebot/publication.py
Github Open Source
Open Source
MIT
2,022
PageBot
bghryct
Python
Code
1,123
2,579
#!/usr/bin/env python3 # -*- coding: UTF-8 -*- # ----------------------------------------------------------------------------- # # P A G E B O T # # Copyright (c) 2016+ Buro Petr van Blokland + Claudia Mens # www.pagebot.io # Licensed under MIT conditions # # Supporting DrawBot, www.drawbot.com # ...
22,455
https://github.com/Nyalwendo/gads2020-project-compass/blob/master/app/src/main/java/com/thilawfabrice/compass/ui/widgets/DrawerLayoutFactory.kt
Github Open Source
Open Source
Apache-2.0
2,020
gads2020-project-compass
Nyalwendo
Kotlin
Code
179
674
package com.thilawfabrice.compass.ui.widgets import com.mikepenz.materialdrawer.holder.StringHolder import com.mikepenz.materialdrawer.model.PrimaryDrawerItem import com.mikepenz.materialdrawer.model.interfaces.nameRes import com.mikepenz.materialdrawer.util.updateBadge import com.mikepenz.materialdrawer.widget.Materi...
12,684
https://github.com/Taillis-Labs/aleph.js/blob/master/shared/fs_test.ts
Github Open Source
Open Source
MIT
null
aleph.js
Taillis-Labs
TypeScript
Code
353
1,099
import { assert, assertEquals, assertThrows, assertNotEquals } from 'std/testing/asserts.ts' import { SEP } from 'std/path/separator.ts' import { existsDir, existsDirSync, existsFile, existsFileSync, ensureTextFile, lazyRemove } from './fs.ts' Deno.test(`fs existsDirSync`, () => { // true test cases ...
16,737
https://github.com/dudluk/experiment/blob/master/.gitignore
Github Open Source
Open Source
MIT
2,018
experiment
dudluk
Ignore List
Code
15
75
scripts scripts/** node_modules jspm_packages bower_components .idea .DS_STORE build/reports yarn.lock .rollupcache .vscode/* !.vscode/launch.json dist coverage npm-debug.log
2,935
https://github.com/WeilerWebServices/Chocolatey/blob/master/chocolatey-webhooks/lib/puppet_labs/jira/formatter.rb
Github Open Source
Open Source
Apache-2.0
2,020
Chocolatey
WeilerWebServices
Ruby
Code
114
425
module PuppetLabs module Jira # Format various structures using Jira formatting # # @see https://jira.atlassian.com/secure/WikiRendererHelpAction.jspa?section=all module Formatter # Format a pull request # # @param pr [PuppetLabs::Github::PullRequest] # # @return [Hash<...
32,860
https://github.com/lfeagan/radixdlt-core/blob/master/radixdlt/src/main/java/com/radixdlt/SyncServiceModule.java
Github Open Source
Open Source
Apache-2.0
null
radixdlt-core
lfeagan
Java
Code
354
1,578
/* * (C) Copyright 2020 Radix DLT Ltd * * Radix DLT Ltd licenses this file to you 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 req...
29,420
https://github.com/ljp666/ngrinder/blob/master/ngrinder-controller/src/main/webapp/WEB-INF/ftl/common/paging.ftl
Github Open Source
Open Source
Apache-2.0
2,013
ngrinder
ljp666
FreeMarker
Code
188
656
<#import "spring.ftl" as spring/> <#macro paging totalCount pageNo countPerPage displayPageCount action> <#if totalCount ==0 || countPerPage == 0 || displayPageCount == 0 > <div class="paginate">&nbsp;</div> <#return> </#if> <#assign totalPage = (totalCount/countPerPage)?int> <#if totalCount % countPerPage != ...
44,403
https://github.com/ovh-ux/ovh-api-services/blob/master/src/api/telephony/trunk/externalDisplayedNumber/telephony.trunk.externalDisplayedNumber.v6.service.js
Github Open Source
Open Source
BSD-3-Clause
2,023
ovh-api-services
ovh-ux
JavaScript
Code
56
250
angular.module('ovh-api-services').service('OvhApiTelephonyTrunkExternalDisplayedNumberV6', ($resource) => $resource('/telephony/:billingAccount/trunk/:serviceName/externalDisplayedNumber/:number', { billingAccount: '@billingAccount', serviceName: '@serviceName', number: '@number', }, { getBatch: { method: ...
20,040
https://github.com/elijahstewart/13546_rover_ruckus_ftc_app/blob/master/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/notstolen.java
Github Open Source
Open Source
BSD-3-Clause
2,019
13546_rover_ruckus_ftc_app
elijahstewart
Java
Code
16
118
package org.firstinspires.ftc.teamcode; import org.firstinspires.ftc.robotcore.external.ClassFactory; import org.firstinspires.ftc.robotcore.external.navigation.VuforiaLocalizer; import org.firstinspires.ftc.robotcore.external.tfod.Recognition; import org.firstinspires.ftc.robotcore.external.tfod.TFObjectDetector; im...
1,108
https://github.com/miftahozuki/Project-Akhir/blob/master/resources/views/admin/ukt/edit.blade.php
Github Open Source
Open Source
MIT
null
Project-Akhir
miftahozuki
PHP
Code
97
436
@extends('layouts.app') @section('section-title', 'Ubah UKT Master') @section('content') <div class="section-body"> <div class="row"> <div class="col-12"> <div class="card"> <div class="card-body"> <a href="{{ route('admin.ukt.index') }}" class="btn btn-warn...
32,284
https://github.com/polly-zou/atlasmap/blob/master/lib/model/src/main/java/io/atlasmap/v2/DataSourceMetadata.java
Github Open Source
Open Source
ECL-2.0, Apache-2.0
null
atlasmap
polly-zou
Java
Code
527
1,166
/* * Copyright (C) 2017 Red Hat, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ...
45,850
https://github.com/thzhishu/car-h5/blob/master/src/app/components/survey/surveyMobile/surveyMobile.scss
Github Open Source
Open Source
MIT
2,016
car-h5
thzhishu
SCSS
Code
662
3,338
.sv { .box { display:-webkit-box; display:-moz-box; display:box; display:-webkit-flex; display:flex; } .box-h { -webkit-box-orient: horizontal; -moz-box-orient: horizontal; box-orient: horizontal; -webkit-flex-flow: row nowrap; ...
3,709
https://github.com/pdsinterop/solid-typeindex-parser/blob/master/tests/utils.test.js
Github Open Source
Open Source
MIT
2,019
solid-typeindex-parser
pdsinterop
JavaScript
Code
87
255
import { makeRelativeIfPossible } from '../src/utils' const origin = 'https://example.org' const base = `${origin}/foo/` describe('makeRelativeIfPossible', () => { test('returns absolute url if different origin', () => { const url = 'https://other.example.org/foo/?test=true#abc' expect(makeRelativ...
17,750
https://github.com/PecanProject/bety/blob/master/app/models/trait.rb
Github Open Source
Open Source
BSD-3-Clause
2,023
bety
PecanProject
Ruby
Code
522
1,624
class Trait < ActiveRecord::Base attr_protected [] # Passed from controller for validation of ability attr_accessor :current_user include Overrides extend DataAccess # provides all_limited extend SimpleSearch SEARCH_INCLUDES = %w{ citation variable specie site treatment } SEARCH_FIELDS = %w{ traits....
222
https://github.com/RavenB/toaster/blob/master/lib/toaster/ohai/iptables/iptables.rb
Github Open Source
Open Source
Apache-2.0, LicenseRef-scancode-unknown-license-reference
2,014
toaster
RavenB
Ruby
Code
125
456
################################################################################ # (c) Waldemar Hummer ################################################################################ # # Author: Waldemar Hummer (hummer@dsg.tuwien.ac.at) # require "toaster/util/util" provides "iptables" files Mash.new params = ENV...
3,376
https://github.com/slune-org/intl-ts/blob/master/examples/content/src/client/Store.ts
Github Open Source
Open Source
MIT
2,022
intl-ts
slune-org
TypeScript
Code
60
142
import Intl from 'intl-ts' import { createContext, useContext } from 'react' type langType = import('../locale').langType export class Store { public constructor(public lang: Intl<langType>) {} } const storeContext = createContext<Store | undefined>(undefined) export function useLang(): Intl<langType> { const st...
7,802
https://github.com/aguycalled/navhip-python/blob/master/navhip/ui/personalization00start.py
Github Open Source
Open Source
Apache-2.0
2,022
navhip-python
aguycalled
Python
Code
205
882
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'personalization-00-start.ui' # # Created: Fri Sep 19 15:03:25 2014 # by: PyQt4 UI code generator 4.9.1 # # WARNING! All changes made in this file will be lost! from PyQt4 import QtCore, QtGui try: _fromUtf8 = QtCore.QString.fromUt...
30,169
https://github.com/templeblock/svg_font_renderer/blob/master/src/CMakeLists.txt
Github Open Source
Open Source
BSD-2-Clause
2,019
svg_font_renderer
templeblock
CMake
Code
35
274
cmake_minimum_required(VERSION 3.0) project(font_renderer VERSION "0.0.0") include(blt/SetupBLT.cmake) configure_file(font_renderer_config.h.in ${CMAKE_BINARY_DIR}/config/font_renderer_config.h @ONLY) include_directories(${CMAKE_CURRENT_SOURCE_DIR}) include_directories(${CMAKE_BINARY_...
30,663
https://github.com/Kellen-Linse/Code_Fellows_Entrance_Project/blob/master/JS/habiTracker.js
Github Open Source
Open Source
MIT
null
Code_Fellows_Entrance_Project
Kellen-Linse
JavaScript
Code
227
973
let habitArray = []; let userArray = JSON.parse(localStorage.userArray); console.log(userArray); let currentUser = JSON.parse(localStorage.currentUser); console.log(currentUser); let currentUserIndex = JSON.parse(localStorage.currentUserIndex); console.log(currentUserIndex); console.log(userArray[currentUserIndex]);...
771
https://github.com/Saruul-Ulzii/IBAnimatable/blob/master/IBAnimatable/IBAnimatableTests/TestProtocols/PaddingDesignableTests.swift
Github Open Source
Open Source
MIT
null
IBAnimatable
Saruul-Ulzii
Swift
Code
133
472
// // PaddingDesignableTests.swift // IBAnimatable // // Created by Steven on 5/15/17. // Copyright © 2017 IBAnimatable. All rights reserved. // import XCTest @testable import IBAnimatable protocol PaddingDesignableTests: class { associatedtype Element var element: Element { get set } func testPaddingLef...
15,286
https://github.com/h4vlik/TF2_OD_BRE/blob/master/env/Library/include/qt/QtTest/qtest_global.h
Github Open Source
Open Source
Python-2.0, LicenseRef-scancode-python-cwi, GPL-1.0-or-later, LicenseRef-scancode-other-copyleft, BSD-3-Clause, 0BSD, LicenseRef-scancode-free-unknown, GPL-3.0-only, GPL-2.0-only
2,021
TF2_OD_BRE
h4vlik
C
Code
38
172
#ifndef DEPRECATED_HEADER_QtTest_qtest_global_h #define DEPRECATED_HEADER_QtTest_qtest_global_h #if defined(__GNUC__) # warning Header <QtTest/qtest_global.h> is deprecated. Please include <QtTest/qttestglobal.h> instead. #elif defined(_MSC_VER) # pragma message ("Header <QtTest/qtest_global.h> is deprecated. Please ...
20,963
https://github.com/FredericHeem/airbex/blob/master/chef/site-cookbooks/snow/recipes/aws_eip.rb
Github Open Source
Open Source
Apache-2.0
2,017
airbex
FredericHeem
Ruby
Code
30
160
include_recipe "aws" include_recipe "awscli" aws = Chef::EncryptedDataBagItem.load("aws", 'main') #aws_bag = aws[node.chef_environment] if node[:cloud] && node[:cloud][:ec2] && aws['aws_access_key_id'] aws_elastic_ip "eip_load_balancer_production" do aws_access_key aws['aws_access_key_id'] aws_secr...
23,150
https://github.com/NDGuthrie/bposs/blob/master/mc/arc/t.class.sm_act.c
Github Open Source
Open Source
Apache-2.0
2,018
bposs
NDGuthrie
C
Code
258
657
.//============================================================================ .// $RCSfile: t.class.sm_act.c,v $ .// .// Description: .// This archetype template generates the state and transition action routines .// for the Finite State Machine (FSM) implementation of xtUML state models. .// .// Notice: .// (C) Copy...
24,007
https://github.com/rachael-ross/JsonApiDotNetCore/blob/master/test/JsonApiDotNetCoreExampleTests/IntegrationTests/RequiredRelationships/DefaultBehaviorTests.cs
Github Open Source
Open Source
MIT
null
JsonApiDotNetCore
rachael-ross
C#
Code
1,067
4,460
using System.Net; using System.Net.Http; using System.Threading.Tasks; using FluentAssertions; using JsonApiDotNetCore.Configuration; using JsonApiDotNetCore.Serialization.Objects; using JsonApiDotNetCoreExampleTests.Startups; using Microsoft.Extensions.DependencyInjection; using TestBuildingBlocks; using Xunit; names...
14,551
https://github.com/KrustyC/beatricecox.com/blob/master/src/templates/Project/index.js
Github Open Source
Open Source
MIT
2,021
beatricecox.com
KrustyC
JavaScript
Code
360
1,331
import React from 'react'; import PropTypes from 'prop-types'; import { Parser as HtmlToReactParser } from 'html-to-react'; import { graphql } from 'gatsby'; import SEO from '../../components/Seo'; import Layout from '../../components/Layout'; import CopyRight from '../../components/CopyRight'; import { Bottom, Ch...
35,296
https://github.com/SzymonLisowiec/node-tink/blob/master/index.js
Github Open Source
Open Source
MIT
2,017
node-tink
SzymonLisowiec
JavaScript
Code
202
819
module.exports = Tink; const fs = require('fs'); const config = { logfile: false, showtime: 'YYYY-MM-DD hh:mm:ss.ms', bright: false }; const styles = { note: '\x1b[37m', success: '\x1b[32m', warning: '\x1b[33m', error: '\x1b[31m', info: '\x1b[36m' }; function Tink(options){ for(var option in options){ ...
42,040
https://github.com/deeplearning4j/deeplearning4j/blob/master/nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/listeners/BaseEvaluationListener.java
Github Open Source
Open Source
Apache-2.0, MIT, BSD-3-Clause
2,023
deeplearning4j
deeplearning4j
Java
Code
498
1,506
/* * ****************************************************************************** * * * * * * This program and the accompanying materials are made available under the * * terms of the Apache License, Version 2.0 which is available at * * https://www.apache.org/licenses/LICENSE-2.0. * * * * See the NO...
38,606
https://github.com/caorui33707/ruikun/blob/master/niushop/runtime/temp/39a5c479b14215abe38e97e34e2c9996.php
Github Open Source
Open Source
Apache-2.0
2,018
ruikun
caorui33707
PHP
Code
3,193
15,870
<?php if (!defined('THINK_PATH')) exit(); /*a:5:{s:38:"template/platform\Config\addBlock.html";i:1513303781;s:27:"template/platform\base.html";i:1526449216;s:44:"template/platform\controlCommonVariable.html";i:1513303781;s:31:"template/platform\urlModel.html";i:1513303781;s:33:"template/platform\openDialog.html";i:1513...
6,643
https://github.com/prodest/generator-espm-plugin/blob/master/test/test-app.js
Github Open Source
Open Source
MIT
2,016
generator-espm-plugin
prodest
JavaScript
Code
1,260
3,613
'use strict'; import path from 'path'; import yo from 'yeoman-test'; import assert from 'yeoman-assert'; import sinon from 'sinon'; describe( 'generator-espm-plugin', () => { let appPath = path.join( __dirname, '../generators/app' ); let context = { appName: 'meuPlugin', githubUserName: 'hoisel...
36,711
https://github.com/weldon0405/danger-brewing/blob/master/app/templates/components/on-tap.hbs
Github Open Source
Open Source
MIT
2,016
danger-brewing
weldon0405
null
Spoken
99
553
{{#if session.isAuthenticated}} <div data-test="add-beer"> {{#paper-button raised=true accent=true onClick=(action "addBeer")}} {{t "components.onTap.add"}} {{/paper-button}} </div> {{/if}} {{#each beers as |beer|}} <div data-test="beer"> {{#paper-card as |card|}} {{#card.title as |title|...
33,239
https://github.com/cwlgadd/MixtureOfExperts/blob/master/demos/santner/santner_ISO/Isotropic/EmE/EmE90_initS_1_linexam/0.95coverage0.97_avgwidth1.07_hpd_union.eps
Github Open Source
Open Source
MIT
2,020
MixtureOfExperts
cwlgadd
PostScript
Code
20,000
51,211
%!PS-Adobe-3.0 EPSF-3.0 %%Title: 0.95coverage0.97_avgwidth1.07_hpd_union.eps %%Creator: matplotlib version 3.0.3, http://matplotlib.org/ %%CreationDate: Mon Oct 7 13:22:54 2019 %%Orientation: portrait %%BoundingBox: 75 223 536 568 %%EndComments %%BeginProlog /mpldict 9 dict def mpldict begin /m { moveto } bind def /l {...
37,865
https://github.com/iandundas/HotTakeDemo/blob/master/Carthage/Checkouts/HotTakeCore/Carthage/Checkouts/ReactiveKit/Tests/CollectionPropertyTests.swift
Github Open Source
Open Source
MIT
2,016
HotTakeDemo
iandundas
Swift
Code
820
2,854
// // CollectionPropertyTests.swift // ReactiveKit // // Created by Srdan Rasic on 05/06/16. // Copyright © 2016 Srdan Rasic. All rights reserved. // import XCTest @testable import ReactiveKit class CollectionPropertyTests: XCTestCase { var collection: CollectionProperty<[Int]>! override func setUp() { ...
27,535
https://github.com/aikasa/homepage-v2/blob/master/src/pages/contact.tsx
Github Open Source
Open Source
MIT
null
homepage-v2
aikasa
TypeScript
Code
253
1,350
import Title from '../components/primary/title' import style from '../styles/page.module.scss' import DefaultHead from '../components/heads/default' export default () => ( <> <DefaultHead titlePre="お問い合わせ" description="お問い合わせ" ></DefaultHead> <Title title="お問い合わせ" description ...
29,403
https://github.com/PierceNg/pharo/blob/master/src/Commander-Activators-Shortcut/CmdShortcutSetting.class.st
Github Open Source
Open Source
MIT
2,020
pharo
PierceNg
null
Spoken
342
833
" I represent a setting of concrete instance of shortcut activation strategy, the annotation instance registered in the system. I use redefinition mechanizm of class annotations to change the parameters of given shortcut activation. Currently I only modify key combination value, the actual shortcut value. I mark rede...
42,475
https://github.com/iraf-community/stsdas/blob/master/stsdas/pkg/contrib/redshift/runsum.f
Github Open Source
Open Source
BSD-3-Clause
2,020
stsdas
iraf-community
null
Spoken
27
166
SUBROUTINE RUNSUM(YE,NBIN,LUP,NRUN,CHI) REAL YE(1) SUM=0 DO 20 I=1,NRUN SUM=SUM+1/YE(I) 20 CONTINUE ILO=NRUN+1 IMAX=NBIN/2-1 DO 30 I=ILO,IMAX SUM=SUM+1/YE(I)-1/YE(I-NRUN) IF(SUM.LT.CHI)GO TO 40 30 CONTINUE 40 CONTINUE LUP=I RE...
1,855
https://github.com/AudaxHealthInc/alpakka/blob/master/s3/src/test/scala/akka/stream/alpakka/s3/impl/auth/CanonicalRequestSpec.scala
Github Open Source
Open Source
Apache-2.0
2,019
alpakka
AudaxHealthInc
Scala
Code
346
1,800
/* * Copyright (C) 2016-2019 Lightbend Inc. <http://www.lightbend.com> */ package akka.stream.alpakka.s3.impl.auth import akka.http.scaladsl.model.Uri.Query import akka.http.scaladsl.model._ import akka.http.scaladsl.model.headers._ import org.scalatest.{FlatSpec, Matchers} class CanonicalRequestSpec extends FlatS...
32,734
https://github.com/philippguertler/mesh/blob/master/common/src/main/java/com/gentics/mesh/example/AdminExamples.java
Github Open Source
Open Source
Apache-2.0
null
mesh
philippguertler
Java
Code
183
1,132
package com.gentics.mesh.example; import static com.gentics.mesh.example.AbstractExamples.DATE_OLD; import static com.gentics.mesh.example.ExampleUuids.UUID_1; import java.util.stream.Stream; import com.gentics.mesh.MeshStatus; import com.gentics.mesh.core.rest.admin.cluster.ClusterInstanceInfo; import com.gentics.m...
36,066
https://github.com/tony-tran/en-marche.fr/blob/master/src/Adherent/Certification/CertificationRequestNotifier.php
Github Open Source
Open Source
GPL-3.0-only, Apache-2.0
2,022
en-marche.fr
tony-tran
PHP
Code
150
915
<?php namespace App\Adherent\Certification; use App\Entity\CertificationRequest; use App\Mailer\MailerService; use App\Mailer\Message\CertificationRequestApprovedMessage; use App\Mailer\Message\CertificationRequestBlockedMessage; use App\Mailer\Message\CertificationRequestPendingMessage; use App\Mailer\Message\Certif...
21,744
https://github.com/versionwen/faststart/blob/master/start/src/main/java/com/wenxin/learn/faststart/web/service/impl/StockServiceImpl.java
Github Open Source
Open Source
Apache-2.0
null
faststart
versionwen
Java
Code
38
181
package com.wenxin.learn.faststart.web.service.impl; import com.wenxin.learn.faststart.web.entity.Stock; import com.wenxin.learn.faststart.web.mapper.StockMapper; import com.wenxin.learn.faststart.web.service.StockService; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import org.springframework.s...
40,971
https://github.com/meggsimum/masterportal-mirror/blob/master/src/modules/tools/layerSlider/tests/unit/components/LayerSlider.spec.js
Github Open Source
Open Source
MIT
2,022
masterportal-mirror
meggsimum
JavaScript
Code
177
752
import Vuex from "vuex"; import {config, shallowMount, createLocalVue} from "@vue/test-utils"; import {expect} from "chai"; import LayerSliderComponent from "../../../components/LayerSlider.vue"; import LayerSlider from "../../../store/indexLayerSlider"; const localVue = createLocalVue(); localVue.use(Vuex); config....
8,025
https://github.com/splitio/android-client/blob/master/src/main/java/io/split/android/client/attributes/AttributesManagerFactory.java
Github Open Source
Open Source
Apache-2.0
2,023
android-client
splitio
Java
Code
14
61
package io.split.android.client.attributes; import io.split.android.client.storage.attributes.AttributesStorage; public interface AttributesManagerFactory { AttributesManager getManager(String matchingKey, AttributesStorage attributesStorage); }
9,102
https://github.com/gameall3d/engine-3d/blob/master/lib/geom-utils/curve.js
Github Open Source
Open Source
MIT
2,018
engine-3d
gameall3d
JavaScript
Code
332
969
import { repeat, pingPong, inverseLerp, clamp } from '../vmath'; export class Keyframe { } Keyframe.schema = { time: { type: 'number', default: 0, }, value: { type: 'number', default: 0, }, inTangent: { type: 'number', default: 0, }, outTangent: { type: 'number', default...
19,273
https://github.com/georgipyaramov/CSharpPartOne/blob/master/ConditionalStatements/04. SortThreeNumbers/SortThreeNumbers.cs
Github Open Source
Open Source
MIT
2,014
CSharpPartOne
georgipyaramov
C#
Code
124
437
//Sort 3 real values in descending order using nested if statements. using System; class SortThreeNumbers { static void Main() { Console.Write("Enter the first number: "); float firstNum = float.Parse(Console.ReadLine()); Console.Write("Enter the second number: "); float secNu...
17,368
https://github.com/xy1m/cci/blob/master/src/main/java/com/xy1m/cci/chapter02_linkedlist/Q2_06_Palindrome.java
Github Open Source
Open Source
MIT
null
cci
xy1m
Java
Code
385
1,093
package com.xy1m.cci.chapter02_linkedlist; import com.xy1m.cci.lib.ListNode; import java.util.Stack; /** * Created by zhenpeng on 8/23/17. */ public class Q2_06_Palindrome { // Reverse and compare public static boolean isPalindromeReverse(ListNode node) { ListNode reversed = reverseAndClone(node)...
9,915
https://github.com/colinw7/CTagMarks/blob/master/gen_src/CTagMarksGen.cpp
Github Open Source
Open Source
MIT
2,021
CTagMarks
colinw7
C++
Code
35
136
#include <CTagMarks.h> #include <COStreamFile.h> int main(int argc, char **argv) { CTagMarkTagMgr mgr; for (int i = 1; i < argc; ++i) { if (argv[i][0] == '-') continue; mgr.loadBookmarks(argv[i]); } COStreamFile file(std::cout); mgr.saveXML(file); return 0; }
2,021
https://github.com/Noob-coder-07/DeepAlgo/blob/master/C++/Constant/03 Constant Characteristics of class/Member initialization list in cpp/01 To initialize constant characteristics of class.cpp
Github Open Source
Open Source
Apache-2.0
null
DeepAlgo
Noob-coder-07
C++
Code
129
282
using namespace std; #include<stdio.h> #include<conio.h> #include<iostream> class demo { public: const int i; int k ; demo():i(34) , k(567) { cout << "\n Inside Default Constructor !!!!... " << endl; } demo(int x,int y) : i(x) , k(y) { ...
36,888
https://github.com/liambaloh/OpenEOB/blob/master/Assets/StreamingAssets/code/modules/spells/spell_types/pointed/barnyard.dm
Github Open Source
Open Source
MIT
2,022
OpenEOB
liambaloh
null
Spoken
233
895
/obj/effect/proc_holder/spell/pointed/barnyardcurse name = "Curse of the Barnyard" desc = "This spell dooms an unlucky soul to possess the speech and facial attributes of a barnyard animal." school = "transmutation" charge_type = "recharge" charge_max = 150 charge_counter = 0 clothes_req = FALSE stat_allowed = ...
52,712
https://github.com/senchacha/spring-kafka-event-sourcing-sampler/blob/master/gtd-command-side/src/main/java/net/mguenther/gtd/api/ItemCommandResource.java
Github Open Source
Open Source
MIT
2,021
spring-kafka-event-sourcing-sampler
senchacha
Java
Code
255
1,087
package net.mguenther.gtd.api; import net.mguenther.gtd.domain.CommandHandler; import net.mguenther.gtd.domain.commands.AssignDueDate; import net.mguenther.gtd.domain.commands.AssignRequiredTime; import net.mguenther.gtd.domain.commands.AssignTags; import net.mguenther.gtd.domain.commands.ConcludeItem; import net.mgue...
40,685
https://github.com/lazytype/ent/blob/master/ent/field/phonenumber/phonenumber_test.go
Github Open Source
Open Source
MIT
2,022
ent
lazytype
Go
Code
441
2,100
package phonenumber_test import ( "errors" "strings" "testing" "github.com/lolopinto/ent/ent/field/phonenumber" "github.com/nyaruka/phonenumbers" "github.com/stretchr/testify/require" ) type testCase struct { input string output string err error } func TestDataType(t *testing.T) { testCases := map[str...
35,674
https://github.com/mmci2468/automate/blob/master/components/infra-proxy-service/validation/rules.go
Github Open Source
Open Source
Apache-2.0
2,020
automate
mmci2468
Go
Code
69
189
package validation import ( "fmt" "regexp" ) // EmptyOrWhitespaceOnlyRE is a regex that checks for blank or whitespace only strings var EmptyOrWhitespaceOnlyRE = regexp.MustCompile(`^\s*$`) // RequiredField verifies that the given field is not empty func RequiredField(field, fieldName, resourceName string) *FieldV...
12,259
https://github.com/lingpj/house-vue-admin/blob/master/src/views/parkConfig/accountList/index.vue
Github Open Source
Open Source
Apache-1.1
null
house-vue-admin
lingpj
Vue
Code
751
3,378
<template> <div class="container"> <el-form ref="form" id="form" :model="form" label-width="100px"> <el-row> <el-col :span="6"> <el-form-item label="公司:" prop="company"> <el-input v-model="form.company" clearable></el-input> </el-form-item> </el-col> <...
37,558
https://github.com/yeahzgit/yeahz-blog/blob/master/www/src/views/about/about.vue
Github Open Source
Open Source
MIT
2,017
yeahz-blog
yeahzgit
Vue
Code
25
138
<template> <div class="about"> <h3>关于</h3> <p>本博客作为个人博客将用于分享个人学习心得</p> </div> </template> <script> export default{ name: 'about' } </script> <style> .about{ margin-bottom: 50px; } .about p{ line-height: 2; } </style>
9,931
https://github.com/sbruyere/ComplexBinaryReader/blob/master/Qiil.ComplexBinaryReader/Qiil.ComplexBinaryReader/StructWrappers/StructWrapperConst.cs
Github Open Source
Open Source
MIT
null
ComplexBinaryReader
sbruyere
C#
Code
16
42
namespace Qiil.IO { public static class StructWrapperConst { public const long DEFAULT_CURRENT_POSITION = -1; } }
46,349
https://github.com/wendell1101/EnricoMerchandise-Ecommerce-laravel/blob/master/resources/views/layouts/menu.blade.php
Github Open Source
Open Source
MIT
null
EnricoMerchandise-Ecommerce-laravel
wendell1101
PHP
Code
158
660
<!-- need to remove --> <li class="nav-item"> <a href="{{ route('home') }}" class="nav-link @if(Request::is('admin')) active @else '' @endif"> <i class="nav-icon fas fa-tachometer-alt"></i> <p>Dashboard</p> </a> </li> <li class="nav-item"> <a href="{{ route('users.index') }}" class="nav-link @if...
33,927
https://github.com/welialmeida/cmu/blob/master/hoponcmuClient/app/src/main/java/pt/ulisboa/tecnico/cmu/response/ResponseHandler.java
Github Open Source
Open Source
MIT
null
cmu
welialmeida
Java
Code
11
35
package pt.ulisboa.tecnico.cmu.response; public interface ResponseHandler { public void handle(Response hr); }
17,075
https://github.com/yeastrc/limelight-core/blob/master/limelight_importer/src/main/java/org/yeastrc/limelight/limelight_importer/spectral_storage_service_interface/ScanFileToSpectralStorageService_SendFile.java
Github Open Source
Open Source
Apache-2.0
2,023
limelight-core
yeastrc
Java
Code
2,963
10,074
/* * Original author: Daniel Jaschob <djaschob .at. uw.edu> * * Copyright 2018 University of Washington - Seattle, WA * * 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 * * ...
8,121
https://github.com/FDYdarmstadt/BoSSS/blob/master/src/L3-solution/BoSSS.Solution.LevelSetTools/FastMarching/LocalSolver_Geometric.cs
Github Open Source
Open Source
Apache-2.0
2,021
BoSSS
FDYdarmstadt
C#
Code
873
3,086
/* ======================================================================= Copyright 2017 Technische Universitaet Darmstadt, Fachgebiet fuer Stroemungsdynamik (chair of fluid dynamics) Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You ...
24,124
https://github.com/kp14/prunito/blob/master/tests/SwissProt/atomic.txl
Github Open Source
Open Source
Unlicense
2,020
prunito
kp14
null
Spoken
4,092
12,825
ID PP1B_HUMAN Reviewed; 327 AA. AC P62140; B2R5V4; D6W565; P37140; Q5U087; Q6FG45; DT 21-JUN-2004, integrated into UniProtKB/Swiss-Prot. DT 23-JAN-2007, sequence version 3. DT 25-OCT-2017, entry version 157. DE RecName: Full=Serine/threonine-protein phosphatase PP1-beta catalytic subuni...
34,108
https://github.com/xbib/net/blob/master/net-security/src/main/java/org/xbib/net/security/ssl/socket/CompositeSSLSocketFactory.java
Github Open Source
Open Source
Apache-2.0
2,023
net
xbib
Java
Code
289
935
package org.xbib.net.security.ssl.socket; import org.xbib.net.security.ssl.util.SSLSocketUtils; import org.xbib.net.security.ssl.util.ValidationUtils; import javax.net.ssl.SSLParameters; import javax.net.ssl.SSLSocket; import javax.net.ssl.SSLSocketFactory; import java.io.IOException; import java.io.InputStream; impo...
53,043
https://github.com/kmmao/DreamBox/blob/master/core-android/wrapper/src/main/java/com/didi/carmate/dreambox/wrapper/Dialog.java
Github Open Source
Open Source
Apache-2.0
2,021
DreamBox
kmmao
Java
Code
74
195
package com.didi.carmate.dreambox.wrapper; import android.content.Context; import androidx.annotation.NonNull; import androidx.annotation.Nullable; public interface Dialog { Dialog empty = new Dialog() { @Override public void show(@NonNull Context context, @Nullable String title, @Nullable Strin...
30,763
https://github.com/CuiTrip/CuiTrip-IOS/blob/master/TP/业务/自我介绍/页面展示/model/TPPersonalPageDetailModel.m
Github Open Source
Open Source
MIT
2,015
CuiTrip-IOS
CuiTrip
Objective-C
Code
101
394
// // TPPersonalPageDetailModel.m // TP // // Created by wifigo on 2015-07-28 18:16:39 +0800. // Copyright (c) 2015年 VizLab. All rights reserved. // #import "TPPersonalPageDetailModel.h" @interface TPPersonalPageDetailModel() @end @implementation TPPersonalPageDetailModel /////////////////////////////////...
19,196
https://github.com/advilm/fizz/blob/master/backend/src/routes/mod.rs
Github Open Source
Open Source
MIT
null
fizz
advilm
Rust
Code
10
22
mod tasks; mod user; pub use tasks::*; pub use user::*;
33,969
https://github.com/keebz/pdx_rep/blob/master/spec/rep_spec.rb
Github Open Source
Open Source
MIT
2,014
pdx_rep
keebz
Ruby
Code
110
379
require 'rspec' require 'rep' require 'party' describe Rep do before(:each) do Rep.clear end it "initalizes with a reps name" do test_rep = Rep.new("bob") expect(test_rep).to be_an_instance_of Rep end it "initalizes a reps name for the rep" do test_rep = Rep.new("bob") expect(test_rep.n...
28,501
https://github.com/qstarin/FastMem/blob/master/FastMem.Tests.x64.Windows/CopyChars.cs
Github Open Source
Open Source
MIT
null
FastMem
qstarin
C#
Code
3,147
10,002
using System; using System.Linq; using NUnit.Framework; namespace FastMem.Tests.x64.Windows { [TestFixture] public class CopyChars { #region Chars (2600) static private readonly char[] _chars = { 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q',...
5,168
https://github.com/felixfw1990/github-api/blob/master/test/Api/Repositories/ContentsTest.php
Github Open Source
Open Source
MIT
2,019
github-api
felixfw1990
PHP
Code
258
1,075
<?php namespace GithubTest\Api\Repositories; use Exception; use Github\Api\Repositories\Contents; /** * ---------------------------------------------------------------------------------- * Contents * ---------------------------------------------------------------------------------- * * @author Felix * @change...
45,910
https://github.com/ElasticSuite/react-icons-kit/blob/master/dist/md/ic_smart_toy.js
Github Open Source
Open Source
MIT
null
react-icons-kit
ElasticSuite
JavaScript
Code
106
973
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ic_smart_toy = void 0; var ic_smart_toy = { "viewBox": "0 0 24 24", "children": [{ "name": "g", "attribs": {}, "children": [{ "name": "rect", "attribs": { "fill": "none", "height": "24", ...
51,272
https://github.com/ple-utt239/macports-ports/blob/master/textproc/html-xml-utils/Portfile
Github Open Source
Open Source
BSD-2-Clause
2,020
macports-ports
ple-utt239
null
Spoken
119
483
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 PortSystem 1.0 name html-xml-utils version 7.0 revision 4 categories textproc platforms darwin maintainers nomai...
47,919
https://github.com/implicity-healthcare/nest-http/blob/master/src/classes/NHCInstance.ts
Github Open Source
Open Source
MIT
2,019
nest-http
implicity-healthcare
TypeScript
Code
238
706
import * as requestPromise from 'request-promise'; import * as Bluebird from 'bluebird'; import { NHCConfiguration, NHCDefaultOptions } from '../interfaces'; import { DefaultOptions } from './NHCDefaultOptions'; import * as _ from 'lodash' import { Request } from 'request'; export class NHCInstance { public defaul...
19,453
https://github.com/EMCECS/atmos-client-java/blob/master/src/main/java/com/emc/atmos/api/bean/CreateObjectResponse.java
Github Open Source
Open Source
LicenseRef-scancode-jdom, Apache-2.0, BSD-3-Clause
2,021
atmos-client-java
EMCECS
Java
Code
340
728
/* * Copyright (c) 2013-2016, EMC Corporation. * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * * + Redistributions of source code must retain the above copyright notice, * this list of conditions and the followi...
17,898
https://github.com/joseluisgs/Blog-HibernateORM-AccesoDatos-2021-2022/blob/master/src/main/java/es/joseluisgs/dam/blog/dao/Login.java
Github Open Source
Open Source
MIT
2,022
Blog-HibernateORM-AccesoDatos-2021-2022
joseluisgs
Java
Code
284
772
package es.joseluisgs.dam.blog.dao; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import org.hibernate.annotations.CreationTimestamp; import javax.persistence.*; import java.sql.Timestamp; import java.util.Objects; @Data @NoArgsConstructor @AllArgsConstructor @Entity @Table(n...
49,518
https://github.com/stoically/ruma/blob/master/crates/ruma-client-api/src/device/get_device.rs
Github Open Source
Open Source
MIT
null
ruma
stoically
Rust
Code
127
419
//! `GET /_matrix/client/*/devices/{deviceId}` pub mod v3 { //! `/v3/` ([spec]) //! //! [spec]: https://spec.matrix.org/v1.2/client-server-api/#get_matrixclientv3devicesdeviceid use ruma_api::ruma_api; use ruma_identifiers::DeviceId; use crate::device::Device; ruma_api! { metadat...
27,194
https://github.com/josehu07/SplitFS/blob/master/kernel/linux-5.4/arch/hexagon/include/asm/mmu_context.h
Github Open Source
Open Source
Apache-2.0
2,022
SplitFS
josehu07
C
Code
262
712
/* SPDX-License-Identifier: GPL-2.0-only */ /* * MM context support for the Hexagon architecture * * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved. */ #ifndef _ASM_MMU_CONTEXT_H #define _ASM_MMU_CONTEXT_H #include <linux/mm_types.h> #include <asm/setup.h> #include <asm/page.h> #include <asm/...
10,122
https://github.com/johnson7788/Info-HCVAE/blob/master/vae/main.py
Github Open Source
Open Source
Apache-2.0
null
Info-HCVAE
johnson7788
Python
Code
364
2,238
import argparse import os import random import numpy as np import torch from tqdm import tqdm, trange from transformers import BertTokenizer from eval import eval_vae from trainer import VAETrainer from utils import batch_to_device, get_harv_data_loader, get_squad_data_loader def main(args): tokenizer = BertTok...
20,013
https://github.com/BennuAshes/WebFE/blob/master/src/views/player/achievements.jade
Github Open Source
Open Source
MIT
2,015
WebFE
BennuAshes
null
Spoken
26
283
script(id="player-achievements",type="text/ng-template") md-list.flex-scroll.wrap-container.has-height(layout="row") md-item.md-whiteframe-z1(ng-repeat="achievement in player.achievements",flex="25") md-item-content div.md-tile-left.text-center span.fa-stack ...
16,806
https://github.com/agiksyah/banaphiles/blob/master/css/layout1.sass
Github Open Source
Open Source
MIT
2,023
banaphiles
agiksyah
Sass
Code
100
341
// Base Styles body font-family: "Open Sans", sans-serif h1 color: #ccc weight: 300 .content position: relative background: white margin-bottom: 400px overflow: hidden // Parallax .princess position: relative height: 300px background: image: url(../images/banana-bg.jpg) size: auto 300px...
47,189
https://github.com/ggustin93/decide-showcase/blob/master/packages/icons/src/line/EnvelopeInfo.js
Github Open Source
Open Source
MIT
2,021
decide-showcase
ggustin93
JavaScript
Code
28
515
import React from 'react'; export default function EnvelopeInfo(props) { return ( <svg xmlns="http://www.w3.org/2000/svg" data-name="Layer 1" viewBox="0 0 24 24" width={24} height={24} {...props}> <path d="M21,13.5a1,1,0,0,0-1,1v4a1,1,0,0,1-1,1H5a1,1,0,0,1-1-1V8.91l5.88,5.88a3,3,0,0,0,4.24,0l3.59-3.58a1,1,...
8,343
https://github.com/milliechan/smile-pay/blob/master/src/config/payeezy.js
Github Open Source
Open Source
MIT
2,016
smile-pay
milliechan
JavaScript
Code
9
52
var payeezy = require('payeezy')(process.env.PAPI_KEY, process.env.PAPI_SECRET, process.env.PMERC_TOKEN) module.exports = payeezy
39,461
https://github.com/DEFRA/trade-phes/blob/master/plants-application-form-service/src/main/java/uk/gov/defra/plants/applicationform/service/ApplicationService.java
Github Open Source
Open Source
Unlicense
2,021
trade-phes
DEFRA
Java
Code
175
918
package uk.gov.defra.plants.applicationform.service; import static java.lang.String.format; import static java.util.Collections.singletonList; import static uk.gov.defra.plants.applicationform.representation.ApplicationFormStatus.CANCELLATION_REQUESTED; import static uk.gov.defra.plants.common.constants.ApplicationSta...
28,924
https://github.com/schatten4810/erflute/blob/master/src/org/dbflute/erflute/db/impl/oracle/OracleDDLCreator.java
Github Open Source
Open Source
Apache-2.0
null
erflute
schatten4810
Java
Code
611
3,004
package org.dbflute.erflute.db.impl.oracle; import java.util.ArrayList; import java.util.List; import org.dbflute.erflute.core.util.Check; import org.dbflute.erflute.db.impl.oracle.tablespace.OracleTablespaceProperties; import org.dbflute.erflute.editor.model.ERDiagram; import org.dbflute.erflute.editor.model.dbexpor...
14,590
https://github.com/KadirFiratFTW/MeiliAdmin/blob/master/meilipanel/src/components/Server.vue
Github Open Source
Open Source
MIT
2,021
MeiliAdmin
KadirFiratFTW
Vue
Code
201
813
<template> <div v-if="serverData"> <div class="p-4 has-background-black my-2 server-header"> <h1 class="is-size-3 is-bold has-text-white"> {{ serverData.serverName }} </h1> <span :class="{ tag: true, 'is-success': serverData.status, 'is-danger': !ser...
21,802