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/Harry-Hopkinson/VSCoding-Sequence/blob/master/node_modules/molstar/lib/commonjs/mol-repr/structure/complex-visual.js
Github Open Source
Open Source
MIT
2,022
VSCoding-Sequence
Harry-Hopkinson
JavaScript
Code
1,292
4,711
"use strict"; /** * Copyright (c) 2018-2021 mol* contributors, licensed under MIT, See LICENSE file for more info. * * @author Alexander Rose <alexander.rose@weirdbyte.de> */ Object.defineProperty(exports, "__esModule", { value: true }); exports.ComplexTextureMeshVisual = exports.ComplexTextureMeshParams = exports....
7,053
https://github.com/hacksoc-manchester/unicsmcr.com/blob/master/routes/CVRouter.js
Github Open Source
Open Source
MIT
null
unicsmcr.com
hacksoc-manchester
JavaScript
Code
167
534
"use strict"; const express = require('express'); const authHelpers = require('../helpers/AuthHelpers'); const CVRouter = (database, passport) => { const router = express.Router(); const cvController = require("../controllers/CVController")(database); // CV Bank login page router.get('/login', cvController...
17,099
https://github.com/Sriniwasa/docker-run-ec2/blob/master/scripts/aws-create-instance.sh
Github Open Source
Open Source
Apache-2.0
2,016
docker-run-ec2
Sriniwasa
Shell
Code
611
1,653
#!/bin/bash #title :aws-create-instance.sh #description :This script is used to create an ephemeral EC2 instance with Docker Compose installed. #author :Bridget Kromhout <bkromhout@pivotal.io>, Kenny Bastani <kbastani@pivotal.io> #date :2016-01-11 #version :0.1 #usage :s...
28,075
https://github.com/Charffyyy/CMPUT301_Project/blob/master/code/pheno_count/app/src/main/java/com/cmput301w21t36/phenocount/view/ProfileFragment.java
Github Open Source
Open Source
MIT
2,021
CMPUT301_Project
Charffyyy
Java
Code
234
723
package com.cmput301w21t36.phenocount; /** * This is a general fragment class that shows the fragment when you want to * add a question, reply, or something else. */ import android.app.AlertDialog; import android.app.Dialog; import android.content.Context; import android.content.DialogInterface; import android.os....
50,819
https://github.com/matheuscarv69/Api-app-servidor/blob/master/src/main/java/io/github/matheuscarv69/AppServidorApplication.java
Github Open Source
Open Source
MIT
2,020
Api-app-servidor
matheuscarv69
Java
Code
39
225
package io.github.matheuscarv69; import io.github.matheuscarv69.domain.entity.fields.*; import io.github.matheuscarv69.domain.repository.fieldsRepositories.*; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.CommandLineRunner; import org.springframework.boot.SpringApplicat...
45,939
https://github.com/exercism/csharp-representer/blob/master/test/Exercism.Representers.CSharp.IntegrationTests/Solutions/Conditionals/TernaryWithEqualsComparison/Fake.cs
Github Open Source
Open Source
MIT
2,023
csharp-representer
exercism
C#
Code
23
43
using System; public static class Fake { public static int Test(int input) { return input == 0 ? -1 : 1; } }
22,217
https://github.com/nilamjadhav/TypeScript/blob/master/tests/baselines/reference/fallbackToBindingPatternForTypeInference.js
Github Open Source
Open Source
Apache-2.0
2,019
TypeScript
nilamjadhav
JavaScript
Code
106
299
//// [fallbackToBindingPatternForTypeInference.ts] declare function trans<T>(f: (x: T) => string): number; trans(({a}) => a); trans(([b,c]) => 'foo'); trans(({d: [e,f]}) => 'foo'); trans(([{g},{h}]) => 'foo'); trans(({a, b = 10}) => a); //// [fallbackToBindingPatternForTypeInference.js] trans(function (_a) { var ...
30,202
https://github.com/dotnet/roslyn-sdk/blob/master/src/VisualStudio.Roslyn.SDK/Roslyn.SDK/ProjectTemplates/CSharp/ConsoleApplication/Program.cs
Github Open Source
Open Source
MIT
2,023
roslyn-sdk
dotnet
C#
Code
290
891
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.Build.Locator; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Symbols; using Microsoft.CodeAnalysis.CSharp.Syntax;...
479
https://github.com/szuswzx/sdbk/blob/master/application/controllers/Score.php
Github Open Source
Open Source
MIT
null
sdbk
szuswzx
PHP
Code
662
2,836
<?php class Score extends CI_Controller { public $userinfo = array(); public function __construct() { parent::__construct(); $this->load->model('score_model'); $this->load->model('user_model'); $this->load->helper('url_helper'); $this->_check_user('score'); //参数为该控制器的名称 }...
38,095
https://github.com/vonsuu/phaser3-template/blob/master/src/sprites/player.js
Github Open Source
Open Source
MIT
2,018
phaser3-template
vonsuu
JavaScript
Code
543
2,072
import Fireball from './fireball'; export default class Player extends Phaser.GameObjects.Sprite { constructor(config) { super(config.scene, config.x, config.y, 'atlas', 'player'); config.scene.physics.world.enable(this); this.scene = config.scene; this.body.setDrag(8, 8); this.body.setBounce(...
52,078
https://github.com/mizchi/dts-parser/blob/master/test/fixtures/generics.d.ts
Github Open Source
Open Source
MIT, Unlicense
2,021
dts-parser
mizchi
TypeScript
Code
18
55
interface Identity<T, U> {} class Cls<T, U> {} interface Id { id<T>(t: Array<Array<T>>): number; idx(t: number): Array; }
41,479
https://github.com/samtlewis/WatsonPHPSDK/blob/master/Source/Services/ToneAnalyzer/ToneModel.php
Github Open Source
Open Source
Apache-2.0
2,021
WatsonPHPSDK
samtlewis
PHP
Code
389
800
<?php /** * Copyright 2017 IBM Corp. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
10,214
https://github.com/imos/icfpc2021/blob/master/src/bin/chokudai_v1.rs
Github Open Source
Open Source
MIT
2,022
icfpc2021
imos
Rust
Code
1,658
5,332
#![allow(unused)] use icfpc2021::*; use rand::prelude::*; use std::env; fn main() { let args: Vec<String> = env::args().collect(); let input_path = &std::path::PathBuf::from(&args[1]); let output_path = &std::path::PathBuf::from(&args[2]); //let output_path= format!("{}{}{}", "../../Users/choku/Dropbox/ICFPC20...
31,112
https://github.com/KokaTic/Stage-IGN-Scripts/blob/master/tools/overlapping_tiles.sh
Github Open Source
Open Source
MIT
2,017
Stage-IGN-Scripts
KokaTic
Shell
Code
201
605
# get overlapping tile numbers (visually based) and save shp file of extent REGION=$1 cd /media/cyrilwendl/15BA65E227EC1B23/$REGION/data/SPOT6_$REGION/proba if [ $REGION = "gironde" ]; then xmin=14500 # minimum and maximum of tile number xmax=38500 ymin=12500 date=20170419 x=$(ls | cut -d_ -f2-3) elif [ $REGION ...
27,971
https://github.com/Werdffelynir/simple-dashboard/blob/master/resources/js/components/common/Notification.vue
Github Open Source
Open Source
Apache-2.0
null
simple-dashboard
Werdffelynir
Vue
Code
95
383
<template id="notification-template"> <VSnackbar top :multi-line="true" v-model="visibly" v-show="visibly" > <h2 v-bind:class="type === 'error' ? 'red--text' : ''"> {{message}} </h2> <VBtn color="pink" text @click="hide">Close</VBtn> </VSnackbar> </template> <style></style> <...
10,291
https://github.com/cosinekitty/astronomy/blob/master/generate/jplcheck
Github Open Source
Open Source
MIT
2,023
astronomy
cosinekitty
Shell
Code
39
111
#!/bin/bash rm -f jpl_summary.txt for file in horizons/*.txt; do node jpl_horizons_check.js $file > summary.txt || exit $? cat summary.txt | tee -a jpl_summary.txt rm -f summary.txt done node jpl_horizons_check tally jpl_summary.txt || exit $? rm -f jpl_summary.txt exit 0
29,217
https://github.com/hanbit-java003/team-1-client/blob/master/src/js/bookmark-card.js
Github Open Source
Open Source
MIT
null
team-1-client
hanbit-java003
JavaScript
Code
273
1,319
/* module.exports = [{ id:'butantsu', thumbnail : './img/butantsu_sample.jpg', name : '부탄츄 신촌점', address: '서울 서대문구 연세로5길 26-9', lat: 37.556841, lng: 126.935082, review: '라멘의 면종류를 고를 수 있는 것은 물론이고 기호에 맞게 맛조절도 가능하다. 소스, 마늘, 숙주, 파를 자기가 넣고 싶은 만큼 정하여 주문할 수 있다. 육수 맛이 훌륭하다.', comment :[{ ...
7,245
https://github.com/MandEProjects/dataset-generator/blob/master/lib/static.py
Github Open Source
Open Source
Apache-2.0
2,019
dataset-generator
MandEProjects
Python
Code
730
2,701
# Path static LOCALISATION = "datasets/data.json" FIRST_NAME = 'datasets/firstName.txt' LAST_NAME = 'datasets/lastName.txt' OCCUPATION = "datasets/occupation_distribution.json" # mean and standard deviation for probability_message_user MU = 0 SIGMA = 0.5 SIZE_GAUSSIAN = 1000000 # probability that the localisation ...
41,791
https://github.com/xavierfeng/xaviershop/blob/master/backend/views/goods/index.php
Github Open Source
Open Source
BSD-3-Clause
null
xaviershop
xavierfeng
PHP
Code
134
935
<html lang="en"> <head> <meta charset="UTF-8"> <title>后台管理</title> </head> <body> <table class="table table-bordered"> <tr> <td>ID</td> <td>货号</td> <td>商品名称</td> <td>商品价格</td> <td>库存</td> <td>创建时间</td> <td>LOGO</td> <td>操作</td> </tr> <?...
5,118
https://github.com/DeClaessens/eindwerk-remake/blob/master/resources/views/matches/index.blade.php
Github Open Source
Open Source
MIT
2,016
eindwerk-remake
DeClaessens
Blade
Code
79
356
@extends('layouts.app') @section('content') <div class="full-page"> <div class="grid-container"> <div class="matches-header"> <h1>These are all your matches!</h1> <h2>Find a match you'd like to know more of</h2> <div class="search search-matches">...
44,831
https://github.com/Yiwei-Ding/sarif-sdk/blob/master/src/Sarif/Readers/OverflowCorrector.cs
Github Open Source
Open Source
MIT
2,022
sarif-sdk
Yiwei-Ding
C#
Code
149
359
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.CodeAnalysis.Sarif.Readers { internal class OverflowCorrector { // Note: Consider sbyte overflow: Range is -128...127, so 129 will ...
3,385
https://github.com/black0w/EndlessDungeon/blob/master/Assets/Resources/Scripts/FireBallScript.cs
Github Open Source
Open Source
BSD-3-Clause
null
EndlessDungeon
black0w
C#
Code
171
580
using System.Collections; using System.Collections.Generic; using UnityEngine; public class FireBallScript : MonoBehaviour { public Vector2 dir = Vector2.zero; int Damage; public string origin; // Start is called before the first frame update void Start() { } // Update is ...
3,887
https://github.com/Pavlovalg/project-board/blob/master/app/Http/Controllers/Application/ProjectsController.php
Github Open Source
Open Source
MIT
null
project-board
Pavlovalg
PHP
Code
112
305
<?php namespace App\Http\Controllers\Application; use App\Http\Controllers\Controller; use App\Http\Requests\ProjectRequest; use Illuminate\Http\RedirectResponse; use App\Models\Project; use Illuminate\View\View; class ProjectsController extends Controller { /** * Function Case: Show all the projects. ...
33,196
https://github.com/hifi-archive/hifiweb/blob/master/src/voip/voip.js
Github Open Source
Open Source
MIT
2,020
hifiweb
hifi-archive
JavaScript
Code
290
1,146
import { VOIPWorkletNode } from './voip-worklet-node.js'; import { VoipControls } from './voip-controls.js'; import { RingBuffer } from '../utils/ringbuffer.js'; //import { VOIPWorkletProcessor } from './voip-worklet-processor.js'; export class VOIP extends EventTarget { constructor() { super(); console.log(...
20,151
https://github.com/omelhus/kco_rest_dotnet/blob/master/Klarna.Rest/Klarna.Rest.Tests/ClientTests.cs
Github Open Source
Open Source
Apache-2.0, LicenseRef-scancode-unknown-license-reference
2,018
kco_rest_dotnet
omelhus
C#
Code
464
1,412
#region Copyright Header //----------------------------------------------------------------------- // <copyright file="ClientTests.cs" company="Klarna AB"> // Copyright 2014 Klarna AB // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the Li...
27,771
https://github.com/Gideon877/greetings-mysql/blob/master/views/greeted.handlebars
Github Open Source
Open Source
ISC
2,017
greetings-mysql
Gideon877
null
Spoken
89
551
<head> <title>Names Greeted</title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link href="https://fonts.googleapis.com/css?family=Crimson+Text|El+Messiri|Inconsolata" rel="stylesheet"> <link rel="stylesheet" type="text/css" href="../css/style.css"> ...
42,828
https://github.com/Unidata/gempak/blob/master/gempak/source/programs/sn/snhodo/snhodo.f
Github Open Source
Open Source
BSD-3-Clause
2,023
gempak
Unidata
null
Spoken
1,498
3,766
PROGRAM SNHODO C************************************************************************ C* SNHODO * C* * C* This program draws hodograms of upper air wind soundings. * C** * C* Log: * C* G. Huffman/USRA 8/89 * C* S. Schotz/GSC 7/90 Updates for IN_AXIS, clean up. * C* S. Schotz/...
41,120
https://github.com/Alexander-0210/NestJS_Kiosk/blob/master/src/schemas/log/log.service.ts
Github Open Source
Open Source
MIT
null
NestJS_Kiosk
Alexander-0210
TypeScript
Code
75
227
import { Injectable } from '@nestjs/common'; import { InjectModel } from '@nestjs/mongoose'; import { Model } from 'mongoose'; import { LogDto } from './dto/log.dto'; import { Log, LogDocument } from './schema/log.schema'; @Injectable() export class LogService { constructor( @InjectModel(Log.name) private ...
19,405
https://github.com/effyn/hata-code-jam/blob/master/team-azuki/bot.py
Github Open Source
Open Source
MIT
2,020
hata-code-jam
effyn
Python
Code
33
82
import json import signal import threading from datetime import datetime from hata import Embed, ReuAsyncIO, KOKORO, Client, start_clients, VoiceClient import dotenv import hata from hata.discord.guild import GuildPreview from bots import azuki, tom start_clients()
24,354
https://github.com/mamengnan/Web-Alumni-platform/blob/master/src/pages/error.vue
Github Open Source
Open Source
MIT
null
Web-Alumni-platform
mamengnan
Vue
Code
136
480
<template> <div> <div class="wrap"> <div class="logo"> <h1>404</h1> <p> 对不起 - 页面找不到!</p> <div class="sub"> <p> <a href="javascript:void(0);" @click="backhome()"> 回到首页</a> </p> </div> </div> </div> </div> </template> <script> export default...
6,170
https://github.com/HKuz/freeCodeCamp_Contributions/blob/master/2019_Curriculum_Expansion/D3_Map_of_World_Project/Lessons/0200_index.js
Github Open Source
Open Source
BSD-3-Clause
null
freeCodeCamp_Contributions
HKuz
JavaScript
Code
88
218
// Setup const svgWidth = 1000; const svgHeight = 700; const svg = d3.select("#map") .append("svg") .attr("width", svgWidth) .attr("height", svgHeight); svg.append("rect") .attr("x", 400) .attr("y", 300) .attr("width", 200) .attr("height", 100) .attr("fill", "yellow"); svg.append("pat...
13,638
https://github.com/johannes51/GBEmu/blob/master/test/gbelib_tests/location/nullbyte_tests.cpp
Github Open Source
Open Source
MIT
null
GBEmu
johannes51
C++
Code
21
101
#include "gtest/gtest.h" #include "location/nullbyte.h" using namespace std; TEST(NullByteTest, Read) { NullByte a; EXPECT_ANY_THROW(a.get()); } TEST(NullByteTest, Write) { NullByte a; EXPECT_ANY_THROW(a.set(0x3)); }
52,820
https://github.com/elvisbugs/BoostForArduino/blob/master/src/boost_geometry_iterators_has_one_element.hpp
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, BSL-1.0
2,021
BoostForArduino
elvisbugs
C++
Code
2
20
#include <boost/geometry/iterators/has_one_element.hpp>
36,796
https://github.com/gmsconstantino/YCSBThesis/blob/master/core/src/main/java/com/yahoo/ycsb/TxDBWrapper.java
Github Open Source
Open Source
Apache-2.0
null
YCSBThesis
gmsconstantino
Java
Code
171
614
/** * Copyright (c) 2013 NOVA-LINCS * @Author Joao Leitao & Henrique Moniz */ package com.yahoo.ycsb; import java.util.HashMap; import java.util.Set; import java.util.UUID; import java.util.Vector; import com.yahoo.ycsb.measurements.Measurements; public class TxDBWrapper extends DBWrapper implements TxDB { TxD...
865
https://github.com/reusabledata/reusabledata/blob/master/scripts/json2yamls.js
Github Open Source
Open Source
BSD-3-Clause
2,023
reusabledata
reusabledata
JavaScript
Code
217
614
//// //// Convert a compiled JSON file (for app use) into the constituent //// source YAML files. Good for trying to do bulk updates using Emacs //// keyboard macros or something as well. //// //// Example usage (amigo/master): //// node ./scripts/json2yamls.js -i ./data-sources/compiled.json -o ./data-sources/ //// ...
36,348
https://github.com/hiepvo01/Restaurant_Java/blob/master/AndrewApp/src/main/java/com/luther/AndrewApp/FrontEnd/js/manager.js
Github Open Source
Open Source
MIT
2,020
Restaurant_Java
hiepvo01
JavaScript
Code
228
617
var refreshButton = document.getElementById("refreshButton"); //add events to those 2 buttons refreshButton.addEventListener("click", refresh); const socket = new WebSocket("ws://localhost:8025/manager"); const button1 = document.querySelector("#request_similar"); const button2 = document.querySelector("#form"); cons...
12,335
https://github.com/cassproject/cass-npm/blob/master/src/org/schema/MedicalDevice.js
Github Open Source
Open Source
Apache-2.0
null
cass-npm
cassproject
JavaScript
Code
289
619
const schema = {}; schema.MedicalEntity = require("./MedicalEntity.js"); /** * Schema.org/MedicalDevice * Any object used in a medical capacity, such as to diagnose or treat a patient. * * @author schema.org * @class MedicalDevice * @module org.schema * @extends MedicalEntity */ module.exports = class MedicalDe...
17,926
https://github.com/alloc/rafz/blob/master/scripts/prepare.js
Github Open Source
Open Source
MIT
2,021
rafz
alloc
JavaScript
Code
33
107
const exec = require('@cush/exec') const path = require('path') const fs = require('saxon/sync') process.chdir(path.resolve(__dirname, '..')) if (exec.sync('git status --porcelain').length) { const { yellow } = require('kleur') console.error('[!] Cannot publish with uncommitted changes') process.exit(1) }
21,307
https://github.com/dyorgio/playn/blob/master/core/src/playn/core/gl/ImageGL.java
Github Open Source
Open Source
Apache-2.0
null
playn
dyorgio
Java
Code
932
1,950
/** * Copyright 2010-2012 The PlayN Authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law o...
41,284
https://github.com/LucaT75/swagger-core/blob/master/modules/swagger-jaxrs2/src/test/java/io/swagger/v3/jaxrs2/resources/Test2607.java
Github Open Source
Open Source
Apache-2.0
2,022
swagger-core
LucaT75
Java
Code
57
259
package io.swagger.v3.jaxrs2.resources; import io.swagger.v3.oas.annotations.OpenAPIDefinition; import io.swagger.v3.oas.annotations.Operation; import io.swagger.v3.oas.annotations.info.Info; import javax.ws.rs.GET; import javax.ws.rs.Path; import javax.ws.rs.Produces; import javax.ws.rs.core.MediaType; @OpenAPIDefi...
1,905
https://github.com/Bryan-Guner-Backup/DOWN_ARCHIVE_V2/blob/master/LAMBDA_LABS/Encon-fe/encon/src/components/mobile/Appliance-List.js
Github Open Source
Open Source
MIT
2,021
DOWN_ARCHIVE_V2
Bryan-Guner-Backup
JavaScript
Code
166
707
import React, { useState, useEffect } from 'react'; import { Link } from 'react-router-dom'; import { ApplianceCard } from './Appliance-Card'; import '../../styles/mobile/Appliance-List.scss'; import { axiosWithAuth } from '../../utils/auth/axiosWithAuth'; import axios from 'axios'; export const ApplianceList = () => {...
3,331
https://github.com/threecgreen/vinoteca/blob/master/migrations/2020-06-15-014702_add_lower_indexes/up.sql
Github Open Source
Open Source
MIT
null
vinoteca
threecgreen
SQL
Code
27
87
CREATE INDEX wine_types_user_name_lower ON wine_types (user_id, lower(name)); CREATE INDEX producers_user_name_lower ON producers (user_id, lower(name)); CREATE INDEX viti_areas_user_name_lower ON viti_areas (user_id, lower(name)); CREATE INDEX regions_name_lower ON regions (lower(name));
41,225
https://github.com/HewlettPackard/genz_tools_network_monitoring/blob/master/sst-macro-7.1.0/sstmac/hardware/pisces/pisces_crossbar.h
Github Open Source
Open Source
BSD-3-Clause
2,021
genz_tools_network_monitoring
HewlettPackard
C
Code
595
1,790
/** Copyright 2009-2017 National Technology and Engineering Solutions of Sandia, LLC (NTESS). Under the terms of Contract DE-NA-0003525, the U.S. Government retains certain rights in this software. Sandia National Laboratories is a multimission laboratory managed and operated by National Technology and Engineering...
34,903
https://github.com/macrogreg/azure-functions-availability-monitoring-extension/blob/master/src/AvailabilityMonitoring-Extension/Microsoft.Azure.WebJobs.Extensions.AvailabilityMonitoring/Implementation/Convert.cs
Github Open Source
Open Source
MIT
null
azure-functions-availability-monitoring-extension
macrogreg
C#
Code
100
360
using System; using Microsoft.ApplicationInsights.DataContracts; using Microsoft.Azure.AvailabilityMonitoring; using Newtonsoft.Json; namespace Microsoft.Azure.WebJobs.Extensions.AvailabilityMonitoring { internal static class Convert { public static string AvailabilityTestInfoToString(AvailabilityTest...
20,797
https://github.com/bchd/bahc-ohana-api/blob/master/config/initializers/shrine.rb
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference
2,023
bahc-ohana-api
bchd
Ruby
Code
120
538
require "shrine" # By default use S3 for production and local file for other environments case Rails.configuration.upload_server when :s3_multipart require "shrine/storage/s3" s3_options = { bucket: ENV['BUCKETEER_BUCKET_NAME'], # required region: ENV['BUCKETEER_AWS_REGION'], # requi...
32,158
https://github.com/PuZheng/chuangye-mis/blob/master/.gitignore
Github Open Source
Open Source
MIT
2,017
chuangye-mis
PuZheng
Ignore List
Code
43
186
# Include your project-specific ignores in this file # Read about how to use .gitignore: https://help.github.com/articles/ignoring-files node_modules js/bundle.js config.json /semantic/dist/ /dist/ js/bundle* js/rev-manifest.json development.json test.json product.json js/config.js #### joe made this: http://goel.io/j...
28,283
https://github.com/fabioparra/TypeScript/blob/master/tests/cases/fourslash/completionListImplementingInterfaceFunctions.ts
Github Open Source
Open Source
Apache-2.0
2,016
TypeScript
fabioparra
TypeScript
Code
42
134
/// <reference path="fourslash.ts" /> ////interface I1 { //// a(): void; //// b(): void; ////} //// ////var imp1: I1 { //// a() {}, //// /*0*/ ////} //// ////var imp2: I1 { //// a: () => {}, //// /*1*/ ////} goTo.marker("0"); verify.not.completionListContains("a"); goTo.marker("1"); verify.not.compl...
23,942
https://github.com/JanKuukkanen/teamboard-client-react/blob/master/src/scripts/views/board.js
Github Open Source
Open Source
MIT
2,015
teamboard-client-react
JanKuukkanen
JavaScript
Code
496
2,062
import page from 'page'; import React from 'react/addons'; import User from '../models/user'; import Board from '../models/board'; import UserStore from '../stores/user'; import BoardStore from '../stores/board'; import SettingsStore from '../stores/settings'; import BoardAction from '../actions/board'; ...
11,571
https://github.com/Epicguru/PerformanceOptimizer/blob/master/1.3/Source/PerformanceOptimizer/Optimizations/Misc/Optimization_FixDuplicateXMLNodes.cs
Github Open Source
Open Source
MIT
null
PerformanceOptimizer
Epicguru
C#
Code
254
794
using HarmonyLib; using System.Xml; using Verse; using static Verse.XmlInheritance; namespace PerformanceOptimizer { public class Optimization_FixDuplicateXMLNodes : Optimization_Misc { public override string Label => "PO.FixCheckForDuplicateNodes".Translate(); public override void DoPatches()...
18,505
https://github.com/vchouhan/nycschoolfinder/blob/master/node_modules/watson-developer-cloud/examples/concept_expansion.v1.js
Github Open Source
Open Source
Apache-2.0
2,017
nycschoolfinder
vchouhan
JavaScript
Code
54
173
'use strict'; var watson = require('watson-developer-cloud'); var concept_expansion = watson.concept_expansion({ username: 'INSERT YOUR USERNAME FOR THE SERVICE HERE', password: 'INSERT YOUR PASSWORD FOR THE SERVICE HERE', version: 'v1' }); var params = { seeds: ['motrin','tylenol','aspirin'], dataset: 'mt...
27,302
https://github.com/0x15F9/techshow-website/blob/master/src/app/features/latest-episode/latest-episode.component.ts
Github Open Source
Open Source
MIT
2,021
techshow-website
0x15F9
TypeScript
Code
54
188
import { Component, Input, OnInit } from '@angular/core'; import { Router } from '@angular/router'; import { Episode, MOCK_EPISODE } from './episode.model'; @Component({ selector: 'app-latest-episode', templateUrl: './latest-episode.component.html', styleUrls: ['./latest-episode.component.scss'] }) export class ...
15,473
https://github.com/amplia-iiot/oda/blob/master/oda-core/commons/src/main/java/es/amplia/oda/core/commons/osgi/proxies/MqttDatastreamsServiceProxy.java
Github Open Source
Open Source
Apache-2.0
2,023
oda
amplia-iiot
Java
Code
46
237
package es.amplia.oda.core.commons.osgi.proxies; import es.amplia.oda.core.commons.mqtt.MqttDatastreamsService; import org.osgi.framework.BundleContext; import java.util.Optional; public class MqttDatastreamsServiceProxy implements MqttDatastreamsService, AutoCloseable { private final OsgiServiceProxy<MqttDatastre...
31,033
https://github.com/muratcelikk/SpringFoodTown/blob/master/FoodTown/src/main/webapp/WEB-INF/views/user/order.jsp
Github Open Source
Open Source
MIT
2,020
SpringFoodTown
muratcelikk
null
Spoken
322
1,610
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> <%@ taglib uri="http://www.springframework.org/tags" prefix="s" %> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Co...
3,366
https://github.com/Juniper/contrail-server-manager/blob/master/src/server_manager/fix_mac.py
Github Open Source
Open Source
Apache-2.0
2,019
contrail-server-manager
Juniper
Python
Code
286
1,130
#!/usr/bin/env python from sys import exit from time import sleep from argparse import ArgumentParser from pyVim import connect from pyVmomi import vim from manage_dvs_pg import wait_for_task, get_obj, is_xenial_or_above, get_dvs_pg_obj def get_args(): """ Get CLI arguments. """ parser = ArgumentParse...
17,904
https://github.com/ltscomputingllc/WebAPI/blob/master/src/main/java/org/ohdsi/webapi/user/importer/model/AtlasUserRoles.java
Github Open Source
Open Source
Apache-2.0
2,018
WebAPI
ltscomputingllc
Java
Code
87
283
package org.ohdsi.webapi.user.importer.model; import org.ohdsi.webapi.service.UserService; import java.util.List; public class AtlasUserRoles { private String login; private String displayName; private List<UserService.Role> roles; private LdapUserImportStatus status; public String getLogin() { retur...
36,662
https://github.com/sharanmayank/ShillingAttack/blob/master/Leg-UP/models/detector/SDLib/baseclass/SDetection.py
Github Open Source
Open Source
MIT
null
ShillingAttack
sharanmayank
Python
Code
260
899
from models.detector.SDLib.data.rating import RatingDAO from models.detector.SDLib.tool.config import Config,LineConfig from os.path import abspath from time import strftime,localtime,time from models.detector.SDLib.tool.file import FileIO from sklearn.metrics import classification_report class SDetection(object): ...
12,213
https://github.com/allenbo/libgdrive/blob/master/src/drive.cpp
Github Open Source
Open Source
MIT
2,022
libgdrive
allenbo
C++
Code
78
320
#include "gdrive/drive.hpp" #include "jconer/json.hpp" #include <string.h> using namespace JCONER; namespace GDRIVE { Drive::Drive(Credential *cred) :_cred(cred) { } FileService& Drive::files() { return FileService::get_instance(_cred); } AboutService& Drive::about() { return AboutService::get_instance(...
29,180
https://github.com/ghedo/pflask/blob/master/src/mount.c
Github Open Source
Open Source
BSD-2-Clause
2,022
pflask
ghedo
C
Code
1,091
3,321
/* * The process in the flask. * * Copyright (c) 2013, Alessandro Ghedini * 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...
32,596
https://github.com/megantoronto/crossfit-open-app/blob/master/app.py
Github Open Source
Open Source
Apache-2.0
null
crossfit-open-app
megantoronto
Python
Code
40
136
import streamlit as st from multiapp import MultiApp import introduction,main, movement, workouts, workout_performance # import your app modules here app = MultiApp() # Add all your application here app.add_app("Introduction",introduction.app) app.add_app("Demographics", main.app) app.add_app("Movements",movement.ap...
9,224
https://github.com/dotnetcore/Util/blob/master/test/Util.Microservices.Dapr.WebApiSample/Events/TestEvent.cs
Github Open Source
Open Source
MIT
2,023
Util
dotnetcore
C#
Code
28
100
using Util.Events; namespace Util.Microservices.Dapr.WebApiSample.Events; /// <summary> /// 测试事件 /// </summary> /// <param name="UserId">用户标识</param> /// <param name="Message">消息</param> public record TestEvent( string UserId, string Message ) : IntegrationEvent { }
42,454
https://github.com/olgeni/bsdkit/blob/master/.gitignore
Github Open Source
Open Source
BSD-2-Clause
2,023
bsdkit
olgeni
Ignore List
Code
4
18
.envrc .idea .vagrant .vscode
32,035
https://github.com/jackchristenson/PokemonUnity/blob/master/Pokemon Unity/Assets/Scripts/Monster/Pokemon/PokemonData/Moveset.cs
Github Open Source
Open Source
BSD-3-Clause
2,021
PokemonUnity
jackchristenson
C#
Code
218
502
using System; using System.Collections.Generic; using System.Linq; using System.Text; using PokemonUnity; using PokemonUnity.Monster; using PokemonUnity.Attack; using PokemonUnity.Inventory; namespace PokemonUnity.Monster { public partial class Pokemon { public partial class PokemonData { ...
44,031
https://github.com/solomax/wicket-jquery-ui/blob/master/wicket-kendo-ui-culture/src/main/java/com/googlecode/wicket/kendo/ui/KendoCultureHeaderContributor.java
Github Open Source
Open Source
Apache-2.0
2,021
wicket-jquery-ui
solomax
Java
Code
253
720
package com.googlecode.wicket.kendo.ui; import java.util.Locale; import org.apache.wicket.Session; import org.apache.wicket.markup.head.HeaderItem; import org.apache.wicket.markup.head.IHeaderResponse; import org.apache.wicket.markup.html.IHeaderContributor; /** * {@link IHeaderContributor} to automatically add the...
14,328
https://github.com/benjiyamin/Bamazon/blob/master/index.js
Github Open Source
Open Source
RSA-MD
null
Bamazon
benjiyamin
JavaScript
Code
117
403
const inquirer = require('inquirer') const settings = require('./settings') const customerView = require('./customers/view') const managerView = require('./managers/view') const supervisorView = require('./supervisors/view') const VIEW_CUSTOMER = 'Customer View' const VIEW_MANAGER = 'Manager View' const VIEW_SUPERVI...
9,380
https://github.com/dam0vm3nt/dev_compiler/blob/master/test/codegen_expected/language/bool_test.js
Github Open Source
Open Source
BSD-3-Clause
2,016
dev_compiler
dam0vm3nt
JavaScript
Code
653
2,842
dart_library.library('language/bool_test', null, /* Imports */[ 'dart_sdk', 'expect' ], function load__bool_test(exports, dart_sdk, expect) { 'use strict'; const core = dart_sdk.core; const dart = dart_sdk.dart; const dartx = dart_sdk.dartx; const expect$ = expect.expect; const bool_test = Object.create...
2,770
https://github.com/danielnoon/coroname-server/blob/master/src/controllers/v2/admin.ts
Github Open Source
Open Source
MIT
null
coroname-server
danielnoon
TypeScript
Code
130
338
import express from "express"; import bcrypt from "bcrypt"; import validate from "../../helpers/validate"; import t from "../../thunk"; import { response } from "../../models/response"; import { HASH_ROUNDS } from "../../constants"; import { HttpError } from "../../http-error"; import { generateToken } from "../../auth...
33,305
https://github.com/only-romano/junkyard/blob/master/way/javascript/learn_js/js_tutorial/if.js
Github Open Source
Open Source
MIT
null
junkyard
only-romano
JavaScript
Code
51
103
var a = +prompt('Введите a:'); var b = +prompt('Введите b:'); if (a > b) { console.log( 'a больше b на ', a - b ); } else if (a < b) { console.log( 'a меньше b на ', b - a ); } else { console.log( 'a равно b' ); }
5,382
https://github.com/kchevali/ML-Visual/blob/master/src/view.py
Github Open Source
Open Source
MIT
2,021
ML-Visual
kchevali
Python
Code
1,738
7,220
from graphics import ZStack, VStack, Label, Rect, HStack, Grid, Button, Color, Points, Container, Image import helper as hp from base import SingleModel, MultiModel # Solo Views modelTitle = "Temp" # ===================================================================== # Non-model based views # ======================...
17,369
https://github.com/duonghoaikhanh/hondabac/blob/master/js/template/gtm-5.js
Github Open Source
Open Source
MIT
2,016
hondabac
duonghoaikhanh
JavaScript
Code
4,325
22,153
<!DOCTYPE html> <!--[if lt IE 7]><html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]--> <!--[if IE 7]><html class="no-js lt-ie9 lt-ie8" lang="en"> <![endif]--> <!--[if IE 8]><html class="no-js lt-ie9" lang="en"> <![endif]--> <!--[if IE 9 ]><html class="ie9 no-js"> <![endif]--> <!--[if (gt IE 9)|!(IE)]><!--> <...
38,660
https://github.com/CloudyCity/now-pay-sdk/blob/master/src/IPayNow.php
Github Open Source
Open Source
RSA-MD
null
now-pay-sdk
CloudyCity
PHP
Code
747
2,822
<?php namespace CloudyCity\IPayNowSDK; use CloudyCity\IPayNowSDK\Exceptions\BusinessException; use CloudyCity\IPayNowSDK\Exceptions\GatewayException; use CloudyCity\IPayNowSDK\Exceptions\InvalidConfigException; use CloudyCity\IPayNowSDK\Exceptions\InvalidSignException; use GuzzleHttp\Client; use GuzzleHttp\Exception\...
51,200
https://github.com/leefordjudes/vm-patchwork/blob/master/src/model/schemas/m1-credit-sale-return.schema.ts
Github Open Source
Open Source
MIT
null
vm-patchwork
leefordjudes
TypeScript
Code
398
1,153
import { Schema } from 'mongoose'; export const m1CreditSaleReturnSchema = new Schema( { date: { type: Date, required: true, }, refNo: { type: String, maxlength: 50, }, customer: { type: { id: { type: String }, name: { type: String }, displayN...
19,558
https://github.com/mxmlnkn/indexed_bzip2/blob/master/src/rapidgzip/huffman/HuffmanCodingDoubleLiteralCached.hpp
Github Open Source
Open Source
Apache-2.0, MIT, LicenseRef-scancode-unknown-license-reference
2,023
indexed_bzip2
mxmlnkn
C++
Code
1,877
4,286
#pragma once #include <array> #include <cstdint> #include <iostream> #include <limits> #include <optional> #include <stdexcept> #include <utility> #include "HuffmanCodingReversedCodesPerLength.hpp" namespace rapidgzip { template<typename HuffmanCode, uint8_t MAX_CODE_LENGTH, typename Symbol, ...
39,735
https://github.com/EstebanNajera/pymes2.0/blob/master/resources/views/edit.blade.php
Github Open Source
Open Source
MIT
null
pymes2.0
EstebanNajera
PHP
Code
99
544
@extends('layouts.app') @section('content') <div class="container"> <div class="row"> <div class="col-lg-6 col-md-6 col-sm-6 col-xs-12"> <div class="container form-group"> <h2>Editar</h2> <form method="POST" action="{{route('users.store')}}"> <div> <label for="lbl_...
33,901
https://github.com/ruchikshah11/Electronic-Gadgets/blob/master/resources/views/backEnd/category/show.blade.php
Github Open Source
Open Source
MIT
2,021
Electronic-Gadgets
ruchikshah11
Blade
Code
11
24
<?php /** * Created by PhpStorm. * Time: 11:24 AM */
7,421
https://github.com/justafewmistakes/micro-DB/blob/master/src/main/java/com/microdb/operator/Operator.java
Github Open Source
Open Source
Apache-2.0
2,022
micro-DB
justafewmistakes
Java
Code
164
468
package com.microdb.operator; import com.microdb.exception.DbException; import com.microdb.model.row.Row; import com.microdb.model.table.TableDesc; import java.util.NoSuchElementException; /** * 操作符基类,抽取各操作符的共有逻辑,提供各操作符需要的模板代码 * * @author zhangjw * @version 1.0 */ public abstract class Operator implements IOper...
18,298
https://github.com/oanoop/redwood/blob/master/packages/web/src/flash/__tests__/flash.test.js
Github Open Source
Open Source
MIT
2,021
redwood
oanoop
JavaScript
Code
287
1,008
import { useEffect } from 'react' import '@testing-library/jest-dom/extend-expect' import { toHaveClass, toHaveStyle } from '@testing-library/jest-dom/matchers' import { render, cleanup, fireEvent } from '@testing-library/react' // TODO: Remove when jest configs are in place expect.extend({ toHaveClass, toHaveStyle })...
46,098
https://github.com/eramos2/docker-compose-lamp/blob/master/www/Server/upload.php
Github Open Source
Open Source
MIT
null
docker-compose-lamp
eramos2
PHP
Code
127
480
<!DOCTYPE html> <html> <body> <?php $con=mysqli_connect('mysql',"root",'tiger',"prd"); //$con=mysqli_connect("50.62.209.2","proesystems","123pescao","prd"); if (!$con){ print "Database Connection Error.<br>"; } if ($_FILES["file"]["error"] > 0) { echo "Error: " . $_FILES["file"]["error"] . "<br>"; } else { echo...
19,274
https://github.com/whztt07/cocos2dx-IntegrationDemo/blob/master/cocos2d-x/Classes/SceneRTPCCarEngine.cpp
Github Open Source
Open Source
MIT
2,016
cocos2dx-IntegrationDemo
whztt07
C++
Code
708
2,824
#include "SceneRTPCCarEngine.h" #include "SceneMain.h" #include <AK/SoundEngine/Common/AkSoundEngine.h> // Sound engine #include "../WwiseProject/GeneratedSoundBanks/Wwise_IDs.h" // IDs generated by Wwise #include "WwiseWrapper.h" #include "Platform.h" USING_NS_CC; #define LOG_TAG "SceneRTPCCarEngine" Scene...
10,789
https://github.com/wp4398151/TestApp/blob/master/testStateMachine/testStateMachine.cpp
Github Open Source
Open Source
Apache-2.0
2,017
TestApp
wp4398151
C++
Code
193
942
// testStateMachine.cpp : 定义应用程序的入口点。 // #include "stdafx.h" #include "testStateMachine.h" #include "SystemClass.h" #include <shellapi.h> #include <string> #include "IUtil.h" #define MAX_LOADSTRING 100 #define LOGINFOFILE "Log\\Info" #define LOGWARNFILE "Log\\Warn" #define LOGERRFILE "Log\\Err" #define LOGFATAL "Log...
13,854
https://github.com/ns2j/nos2jdbc/blob/master/nos2jdbc-core/src/main/java/org/seasar/extension/sql/node/EmbeddedValueNode.java
Github Open Source
Open Source
Apache-2.0
2,021
nos2jdbc
ns2j
Java
Code
247
683
/* * Copyright 2004-2015 the Seasar Foundation and the Others. * * 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 ...
9,901
https://github.com/Synerise/synerise-design/blob/master/packages/components/tagslist/src/Elements/Actions/Visibility/Visibility.tsx
Github Open Source
Open Source
MIT
2,023
synerise-design
Synerise
TSX
Code
161
538
import React from 'react'; import { MenuProps } from 'antd/lib/menu'; import Icon, { CheckS, ShowM, ShowCheckM, HideM } from '@synerise/ds-icon'; import { theme } from '@synerise/ds-core'; import { NOOP } from '@synerise/ds-utils'; import { TagVisibility } from '../../../TagsList.types'; import { VisibilityProps } fr...
12,051
https://github.com/madfrog2047/Yike/blob/master/srv/_/data/dataLessonBoard.php
Github Open Source
Open Source
MIT
2,021
Yike
madfrog2047
PHP
Code
300
1,058
<?php namespace _; use Core\unitInstance; class dataLessonBoard extends dataSole { use unitInstance; const TABLE = 'lesson_board'; const TYPE_ARGUE = 1; const TYPE_NULL = 0; const TYPE_LIKE = -1; const TYPE_DELETE = -2; const TYPE_TIPOFF = -3; const TYPE_HIDDEN = -4; publi...
35,522
https://github.com/magma-database/magma/blob/master/src/Magma server.package/MagmaRepositoryController.class/class/branch..st
Github Open Source
Open Source
MIT, LicenseRef-scancode-unknown-license-reference
2,017
magma
magma-database
null
Spoken
116
185
utilities branch: pathStringOrMagmaLocalLocation "Break the repository at pathStringOrMagmaLocalLocation from its original source (if it was a fullBackup). The repository will get an entirely new MagmaId and be the only copy of its newly associated MagmaNode, so therefore it won't try to join its old MagmaNode when ...
14,422
https://github.com/PaddlePaddle/PaddleDetection/blob/master/ppdet/modeling/tests/test_yolov3_loss.py
Github Open Source
Open Source
Apache-2.0
2,023
PaddleDetection
PaddlePaddle
Python
Code
1,530
5,153
# Copyright (c) 2018 PaddlePaddle Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by app...
14,262
https://github.com/erickgordo64/mia-fronthijo-201404319/blob/master/angular-10-registration-login-example-master/src/app/acciones/list.component.ts
Github Open Source
Open Source
MIT
2,021
mia-fronthijo-201404319
erickgordo64
TypeScript
Code
114
410
import { Component, OnInit } from '@angular/core'; import { first } from 'rxjs/operators'; import { User } from '@app/_models'; import { AccountService } from '@app/_services'; @Component({ templateUrl: 'list.component.html' }) export class ListComponent implements OnInit { users = null; user = null; ed...
24,638
https://github.com/hazelcast-incubator/cascading-prototype/blob/master/hazelcast-yarn/src/test/java/com/hazelcast/yarn/mapreverser/Reverser.java
Github Open Source
Open Source
Apache-2.0
2,015
cascading-prototype
hazelcast-incubator
Java
Code
112
451
package com.hazelcast.yarn.mapreverser; import com.hazelcast.yarn.api.dag.Vertex; import com.hazelcast.yarn.api.tuple.Tuple; import com.hazelcast.yarn.api.tuple.io.TupleInputStream; import com.hazelcast.yarn.api.tuple.io.TupleOutputStream; import com.hazelcast.yarn.api.container.ContainerContext; import com.hazelcast....
40,065
https://github.com/gnoliyil/fuchsia/blob/master/src/bringup/bin/netsvc/args.cc
Github Open Source
Open Source
BSD-2-Clause
2,022
fuchsia
gnoliyil
C++
Code
265
973
// Copyright 2019 The Fuchsia Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "src/bringup/bin/netsvc/args.h" #include <fidl/fuchsia.boot/cpp/wire.h> #include <lib/component/incoming/cpp/service_client.h> #include <cstring...
52,991
https://github.com/gregory-j-baker/frontend-civic-participation-pilot-intake/blob/master/src/components/form/FieldHelpBlock.tsx
Github Open Source
Open Source
MIT
null
frontend-civic-participation-pilot-intake
gregory-j-baker
TypeScript
Code
82
158
/** * Copyright (c) 2021 Her Majesty the Queen in Right of Canada, as represented by the Employment and Social Development Canada * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ export interface FieldHelpBlockProps { children: stri...
51,494
https://github.com/peter279k/print-key-values/blob/master/src/PrintKeyValue.php
Github Open Source
Open Source
MIT
2,019
print-key-values
peter279k
PHP
Code
262
714
<?php namespace Rolfisub\PrintKeyValue; /** * Class PrintKeyValue * prints out a key -> value representation of an array * @package Rolfisub\PrintKeyValue * @author Rolf Bansbach rolfisub@gmail.com */ class PrintKeyValue { private $out = ""; private $spacing = " "; private $newLine = "\n"; privat...
25,265
https://github.com/salyh/incubator-johnzon/blob/master/johnzon-mapper/src/main/java/org/apache/johnzon/mapper/Mapper.java
Github Open Source
Open Source
Apache-2.0
null
incubator-johnzon
salyh
Java
Code
923
2,593
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ma...
49,588
https://github.com/dubovyk/QuoterlySite/blob/master/js/index.js
Github Open Source
Open Source
MIT
null
QuoterlySite
dubovyk
JavaScript
Code
140
448
$(document).ready(function(){ $.get("http://127.0.0.1:5000/quotes/random", function(data, status){ document.getElementById("quote_text").innerHTML = data.quote.quote_text; document.getElementById("quote_author").innerHTML = data.quote.author; }); var cookieVal = getCookie("testa"); if (cookieVal !==...
40,124
https://github.com/lytico/linq2db/blob/master/Tests/Base/TestLinqService.cs
Github Open Source
Open Source
MIT
null
linq2db
lytico
C#
Code
116
413
#if NET472 using System; using LinqToDB.Data; using LinqToDB.Interceptors; using LinqToDB.Mapping; using LinqToDB.ServiceModel; namespace Tests { internal class TestLinqService : LinqService { public bool SuppressSequentialAccess { get; set; } public TestLinqService(MappingSchema? ms, IInterceptor? interceptor...
31,021
https://github.com/MegafonWebLab/megafon-ui/blob/master/packages/ui-core/src/components/Badges/components/PromoBadge/PromoBadge.less
Github Open Source
Open Source
MIT
2,023
megafon-ui
MegafonWebLab
Less
Code
60
290
@import (reference) '~styles/base.less'; @b: e('.mfui-promo-badge'); @{b} { display: flex; align-items: center; padding: 4px 12px; width: fit-content; border-radius: 8px; color: var(--stcWhite); &_type_hit { background-color: var(--warmRedC); } &_type_new { back...
17,245
https://github.com/apache/beam/blob/master/examples/java/cdap/hubspot/src/main/java/org/apache/beam/examples/complete/cdap/hubspot/transforms/FormatInputTransform.java
Github Open Source
Open Source
BSD-3-Clause, MIT, LicenseRef-scancode-protobuf, Apache-2.0, Python-2.0
2,023
beam
apache
Java
Code
336
1,065
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
49,779
https://github.com/abhijais2/shopify-spa-template/blob/master/server/init/mongodb.js
Github Open Source
Open Source
MIT
null
shopify-spa-template
abhijais2
JavaScript
Code
100
305
const mongoose = require('mongoose') const { MONGODB_URI } = require('nconf').get('mongodb') const logger = require('server/services/logger') // TODO: abstract out error with extending error class module.exports = () => { mongoose.connect(MONGODB_URI, { auto_reconnect: true }) mongoose.connection.on('connecting',...
17,079
https://github.com/Chris1006/my-dot-files/blob/master/dotfiles/.config/nvim/lua/common/plugins.lua
Github Open Source
Open Source
MIT
2,022
my-dot-files
Chris1006
Lua
Code
189
945
local execute = vim.api.nvim_command local fn = vim.fn local install_path = fn.stdpath('data')..'/site/pack/packer/start/packer.nvim' if fn.empty(fn.glob(install_path)) > 0 then fn.system({'git', 'clone', 'https://github.com/wbthomason/packer.nvim', install_path}) execute 'packadd packer.nvim' end ...
16,710
https://github.com/AndreReise/IdentityModel/blob/master/src/Jwk/JsonWebkey.cs
Github Open Source
Open Source
Apache-2.0
2,019
IdentityModel
AndreReise
C#
Code
1,076
2,786
//------------------------------------------------------------------------------ // // Copyright (c) Microsoft Corporation. // All rights reserved. // // This code is licensed under the MIT License. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated do...
39,272
https://github.com/aliyun/alibabacloud-csharp-sdk/blob/master/sofa-20190815/core/Models/UpdateLinkeantcodeAntcodeUserlimitsettingsRequest.cs
Github Open Source
Open Source
Apache-2.0
2,023
alibabacloud-csharp-sdk
aliyun
C#
Code
64
232
// This file is auto-generated, don't edit it. Thanks. using System; using System.Collections.Generic; using System.IO; using Tea; namespace AlibabaCloud.SDK.SOFA20190815.Models { public class UpdateLinkeantcodeAntcodeUserlimitsettingsRequest : TeaModel { [NameInMap("Id")] [Validation(Required=fa...
21,584
https://github.com/fred1573/fqms/blob/master/src/main/java/com/project/dao/finance/FinanceInnChannelSettlementDao.java
Github Open Source
Open Source
Apache-2.0
2,018
fqms
fred1573
Java
Code
1,107
4,185
package com.project.dao.finance; import com.project.core.orm.Page; import com.project.core.orm.hibernate.HibernateDao; import com.project.entity.finance.FinanceInnChannelSettlement; import com.project.utils.CollectionsUtil; import org.apache.commons.lang3.StringUtils; import org.springframework.stereotype.Component; ...
44,759
https://github.com/MrHarrisonBarker/CRPL/blob/master/CRPL.Web/Core/Applications/Submitters/DeleteAccountSubmitter.cs
Github Open Source
Open Source
MIT
null
CRPL
MrHarrisonBarker
C#
Code
56
173
using CRPL.Data.Applications; using CRPL.Data.Applications.DataModels; using CRPL.Web.Services.Interfaces; namespace CRPL.Web.Services.Submitters; // A Submitter class for delete account applications public static class DeleteAccountSubmitter { // When the user submits the application update the status and delete...
36,187