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/tektoncd/operator/blob/master/vendor/cuelang.org/go/cue/ast/astutil/resolve.go
Github Open Source
Open Source
Apache-2.0
2,023
operator
tektoncd
Go
Code
1,775
4,377
// Copyright 2018 The CUE 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 or agreed to...
34,742
https://github.com/Zowie/client/blob/master/go/kbfs/libkbfs/journal_manager.go
Github Open Source
Open Source
BSD-3-Clause
2,021
client
Zowie
Go
Code
5,331
15,516
// Copyright 2016 Keybase Inc. All rights reserved. // Use of this source code is governed by a BSD // license that can be found in the LICENSE file. package libkbfs import ( "fmt" "os" "path/filepath" "regexp" "strconv" "strings" "sync" "time" "github.com/keybase/client/go/kbfs/data" "github.com/keybase/c...
49,904
https://github.com/SkothaSec/portfolio/blob/master/core/App.js
Github Open Source
Open Source
MIT
null
portfolio
SkothaSec
JavaScript
Code
30
77
import React from 'react'; import { StyleEco } from '@ecosystems'; const App = () => { return ( <div className="App"> <h1>Test Atoms</h1> <StyleEco /> </div> ); }; export default App;
26,754
https://github.com/baitcenter/fleetyards/blob/master/app/javascript/frontend/partials/Vehicles/AddonsModal/Addons/index.vue
Github Open Source
Open Source
Apache-2.0
2,020
fleetyards
baitcenter
Vue
Code
251
1,090
<template> <div class="row"> <div class="col-xs-12"> <div class="flex-row"> <template v-for="addon in addons"> <div v-for="(addonId, index) in idsForAddon(addon.id)" :key="`${index}-${addonId}`" class="col-xs-12 col-sm-6 addon" > <P...
1,535
https://github.com/kammce/RoverCore-S/blob/master/RoverCore.js
Github Open Source
Open Source
Apache-2.0, LicenseRef-scancode-unknown-license-reference
2,017
RoverCore-S
kammce
JavaScript
Code
360
1,034
"use strict"; // Check if the -h help if(process.argv.indexOf("-h") !== -1) { console.log(`NAME RoverCore - Start RoverCore SYNOPSIS node RoverCore [-h] node RoverCore [-t http://address:port] [-s] OPTIONS -h this parameter returns manual information -t, --target http://address:port This parameter sets th...
34,889
https://github.com/PresidentWarfield/SpiCall_Artemide_Exodus/blob/master/spicall_artemide_spartacus_exodus/com/app/system/streaming/f/g.java
Github Open Source
Open Source
Unlicense
2,020
SpiCall_Artemide_Exodus
PresidentWarfield
Java
Code
301
1,045
package com.app.system.streaming.f; import android.annotation.SuppressLint; import android.media.MediaCodec; import android.media.MediaCodec.BufferInfo; import android.media.MediaFormat; import com.security.d.a; import java.io.IOException; import java.io.InputStream; import java.nio.ByteBuffer; @SuppressLint({"NewApi...
23,732
https://github.com/matadorhernan/AbarrasTestApi/blob/master/src/services/services.module.ts
Github Open Source
Open Source
MIT
null
AbarrasTestApi
matadorhernan
TypeScript
Code
100
300
import { Module } from '@nestjs/common'; import { MongooseModule } from '@nestjs/mongoose'; import { UserService } from './user.service'; import { ProductService } from './product.service'; import { SaleService } from './sale.service'; import { UserSchema } from '../models/user.schema'; import { ProductSchema } from '....
38,778
https://github.com/cryptable/ejbca-rootca/blob/master/ejbca_ce_6_15_3_0/modules/ejbca-ejb-interface/src/org/ejbca/core/ejb/authentication/web/WebAuthenticationProviderSessionLocal.java
Github Open Source
Open Source
MIT
null
ejbca-rootca
cryptable
Java
Code
140
345
/************************************************************************* * * * EJBCA Community: The OpenSource Certificate Authority * * * * This software is...
45,649
https://github.com/sthfaceless/DeepThought/blob/master/src/main/java/ru/projects/prog_ja/logic/queues/stats/messages/TagCounterMessage.java
Github Open Source
Open Source
CC0-1.0
2,020
DeepThought
sthfaceless
Java
Code
67
185
package ru.projects.prog_ja.logic.queues.stats.messages; public class TagCounterMessage { public enum Type{ ARTICLES, QUESTIONS, PROBLEMS, FACTS, USERS } private final long tagId; private final int count; private final Type type; public TagCounterMessage(long tagId, int count, Type...
45,923
https://github.com/anshuman-goel/onefuzz/blob/master/src/cli/onefuzz/status/top.py
Github Open Source
Open Source
LicenseRef-scancode-generic-cla, MIT
2,020
onefuzz
anshuman-goel
Python
Code
318
1,144
#!/usr/bin/env python # # Copyright (c) Microsoft Corporation. # Licensed under the MIT License. import logging import time from queue import PriorityQueue from threading import Thread from typing import Any, Optional from uuid import UUID from onefuzztypes.enums import JobState, NodeState, PoolState, TaskState from...
23,628
https://github.com/zzrgenius/MyDriverLibs/blob/master/Storage/reference code/STM32F0xx_AN4061_FW_V1.0.0/Libraries/STM32F0xx_StdPeriph_Driver/src/stm32f0xx_rtc.c
Github Open Source
Open Source
MIT
2,018
MyDriverLibs
zzrgenius
C++
Code
9,640
28,252
/** ****************************************************************************** * @file stm32f0xx_rtc.c * @author MCD Application Team * @version V1.0.1 * @date 20-April-2012 * @brief This file provides firmware functions to manage the following * functionalities of the Real-Time Clo...
3,272
https://github.com/brandonjbryant/mySQL_after_dark/blob/master/limit_exercises.sql
Github Open Source
Open Source
MIT
2,021
mySQL_after_dark
brandonjbryant
SQL
Code
287
486
#Create a new SQL script named limit_exercises.sql. #MySQL provides a way to return only unique results from our queries with the keyword DISTINCT. For example, to find all the unique titles within the company, we could run the following query: SELECT DISTINCT title FROM titles; #List the first 10 distinct last name...
25,380
https://github.com/Robel-shewan/hotel-managment-system/blob/master/resources/views/layouts/messages.blade.php
Github Open Source
Open Source
MIT
2,022
hotel-managment-system
Robel-shewan
PHP
Code
25
133
<div id="alert-box" class="alert @if(Session::has('message')){{ Session::get('alert-class', 'alert-info') }}@endif" @if(!Session::has('message'))style="display: none;"@endif> <a href="#" class="close" data-dismiss="alert" aria-label="close">&times;</a> <div id="alert-message">{{ Session::get('message') }}</div>...
27,494
https://github.com/linkys/laravel-api/blob/master/tests/Unit/ProjectApiUnitTest.php
Github Open Source
Open Source
MIT
null
laravel-api
linkys
PHP
Code
134
559
<?php namespace Tests\Unit; use App\Project; use Tests\TestCase; use Illuminate\Foundation\Testing\WithFaker; use Illuminate\Foundation\Testing\RefreshDatabase; class ProjectApiUnitTest extends TestCase { public function test_get_all_projects() { $response = $this->get('/api/projects'); $res...
8,973
https://github.com/jaakkor2/Yggdrasil/blob/master/O/OCCT/bundled/patches/CMakeLists.txt.patch
Github Open Source
Open Source
MIT
null
Yggdrasil
jaakkor2
null
Spoken
68
235
--- /dev/null +++ b/CMakeLists.txt @@ -157,11 +157,11 @@ endif() # choose a variant of the layout of the install paths if (NOT INSTALL_DIR_LAYOUT) - if (WIN32) - set (INSTALL_DIR_LAYOUT "Windows" CACHE STRING "${INSTALL_DIR_LAYOUT_DESCR}" FORCE) - else() + #if (WIN32) + # set (INSTALL_DIR_LAYOUT "Windows" C...
797
https://github.com/DomesticTerrorist/Doubletap.Space-v3-SRC/blob/master/ImGui/img/tabsicon.h
Github Open Source
Open Source
MIT
2,021
Doubletap.Space-v3-SRC
DomesticTerrorist
C
Code
3,701
15,899
#pragma once //GenerateCode by Крайслер, 2018 BYTE aim[] = { 0x89, 0x50, 0x4E, 0x47, 0x0D, 0x0A, 0x1A, 0x0A, 0x00, 0x00, 0x00, 0x0D, 0x49, 0x48, 0x44, 0x52, 0x00, 0x00, 0x00, 0x37, 0x00, 0x00, 0x00, 0x28, 0x08, 0x06, 0x00, 0x00, 0x00, 0x5A, 0x5B, 0x62, 0x08, 0x00, 0x00, 0x00, 0x09, 0x70, 0x48, 0x59, 0x73, 0x00, 0x...
31,890
https://github.com/farisrmdhn/pamaPnL/blob/master/application/views/users/edit_user.php
Github Open Source
Open Source
MIT
2,021
pamaPnL
farisrmdhn
PHP
Code
144
679
<h1>Edit User : <?php echo $info['username'];?></h1> <div style="color: red;"><?php echo validation_errors(); ?></div> <form method="post" action="<?php echo base_url();?>users/edit_user/<?php echo $info['id'];?>"> <div class="row"> <div class="col-md-6"> <div class="form-group"> <label>Name</label> <inpu...
22,766
https://github.com/felipelindemberg/Lighter/blob/master/lighter/src/main/java/me/samlss/lighter/parameter/MarginOffset.java
Github Open Source
Open Source
Apache-2.0
2,021
Lighter
felipelindemberg
Java
Code
132
370
package me.samlss.lighter.parameter; /** * @author SamLeung * @e-mail samlssplus@gmail.com * @github https://github.com/samlss * @description The tip view's margin offset that relative of highlighted view. */ public class MarginOffset { private int leftOffset; private int rightOffset; private int topO...
44,274
https://github.com/AntaresSimulatorTeam/antares-xpansion/blob/master/src/cpp/lpnamer/ActiveLinks.cpp
Github Open Source
Open Source
Apache-2.0
2,022
antares-xpansion
AntaresSimulatorTeam
C++
Code
398
1,723
#include "ActiveLinks.h" #include <unordered_set> #include <limits> bool doubles_are_different(const double a, const double b) { constexpr double MACHINE_EPSILON = std::numeric_limits<double>::epsilon(); return std::abs(a - b) > MACHINE_EPSILON; } void ActiveLinksBuilder::addCandid...
18,114
https://github.com/lzh77/wear-os-samples/blob/master/WearSpeakerSample/wear/src/main/java/com/example/android/wearable/speaker/SoundRecorder.kt
Github Open Source
Open Source
Apache-2.0
2,023
wear-os-samples
lzh77
Kotlin
Code
468
1,354
/* * Copyright 2021 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
18,597
https://github.com/MaxKotsarev/rg_factory/blob/master/factory.rb
Github Open Source
Open Source
MIT
null
rg_factory
MaxKotsarev
Ruby
Code
219
714
class Factory def self.new *args, &block Class.new do args.each { |arg| attr_accessor arg } define_method :initialize do |*a| a.each_with_index { |val, index| instance_variable_set("@#{args[index]}", val) } end @@args = args # подсмотрел этот метод у Dmiriy Khanitskiy (https://github.co...
19,134
https://github.com/rsearls/jaxb-ri/blob/master/jaxb-ri/external/rngom/src/main/java/com/sun/tools/rngom/binary/Alphabet.java
Github Open Source
Open Source
BSD-3-Clause
2,022
jaxb-ri
rsearls
Java
Code
255
504
/* * Copyright (C) 2004-2011 * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish, dist...
17,475
https://github.com/Instanssi/kompomaatti-frontend/blob/master/src/layout/Footer/index.tsx
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, MIT
2,022
kompomaatti-frontend
Instanssi
TSX
Code
59
200
import React from 'react'; import { observer } from 'mobx-react'; import { L } from 'src/common'; @observer export default class Footer extends React.Component<any> { scrollUp(event) { event.preventDefault(); window.scroll(0, 0); } render() { return ( <footer classNam...
27,149
https://github.com/Arieg419/how-build-your-own-blockchain/blob/master/src/actions.ts
Github Open Source
Open Source
MIT
2,018
how-build-your-own-blockchain
Arieg419
TypeScript
Code
22
161
export const ACTIONS = { CREATE_EXTERNAL_ACCOUNT: "CREATE_EXTERNAL_ACCOUNT", CREATE_CONTRACT_ACCOUNT: "CREATE_CONTRACT_ACCOUNT", NODE_REGISTERED: "NODE_REGISTERED", MUTATE_CONTRACT_DATA: "MUTATE_CONTRACT_DATA", MINING_REWARD: "MINING_REWARD", INSTANT_MESSAGE: "INSTANT_MESSAGE", TRANSACTION_EXTERNAL_ACCOUN...
11,873
https://github.com/cms-sw/cmssw/blob/master/DataFormats/PatCandidates/interface/Flags.h
Github Open Source
Open Source
Apache-2.0
2,023
cmssw
cms-sw
C++
Code
396
1,150
#ifndef DataFormats_PatCandidates_interface_Flags_h #define DataFormats_PatCandidates_interface_Flags_h // // /** \class pat::Flags Flag.h "DataFormats/PatCandidates/interface/Flags.h" \brief Flags used in PAT, and static translator from flags to strings \author Steven Lowette */ #include "DataFormats...
8,918
https://github.com/binggh/sway/blob/master/sway-lsp/src/core/token_type.rs
Github Open Source
Open Source
Apache-2.0
2,022
sway
binggh
Rust
Code
272
907
use crate::utils::function::extract_fn_signature; use sway_core::{ ConstantDeclaration, EnumDeclaration, StructDeclaration, TraitDeclaration, Visibility, }; use sway_types::{Ident, Span}; #[derive(Debug, Clone, PartialEq)] pub enum TokenType { Library, VariableDeclaration(VariableDetails), FunctionDec...
47,830
https://github.com/andycandomore/leptin/blob/master/src/app/p2p.js
Github Open Source
Open Source
MIT
2,018
leptin
andycandomore
JavaScript
Code
246
933
// import websocket import Websocket from 'ws'; // define p2p web socket port const P2P_PORT = process.env.P2P_PORT || 5001; // define peer const peers = process.env.PEERS ? process.env.PEERS.split(',') : []; // Example of user configuration: // $ HTTP_PORT=3002 P2P_PORT=5002 PEERS=ws://localhost:5001 npm run dev // $...
2,693
https://github.com/danielbdias/hellper/blob/master/internal/handler/add_status.go
Github Open Source
Open Source
MIT
2,021
hellper
danielbdias
Go
Code
84
316
package handler import ( "context" "fmt" "hellper/internal/app" "hellper/internal/commands" "hellper/internal/handler/endpoint" "strings" ) func newHandlerAddStatus(app *app.App) *endpoint.Endpoint { return endpoint.NewSlackEndpoint(app, "addStatus", addIncidentStatus, endpoint.NewDefaultSlackErrorHandler()) }...
38,532
https://github.com/wpx1997/spring-cloud-study/blob/master/remote/remote-dubbo/dubbo-base-web/src/main/java/com/wpx/baseweb/user/WechatAppletUserDubboService.java
Github Open Source
Open Source
Apache-2.0
2,021
spring-cloud-study
wpx1997
Java
Code
69
362
package com.wpx.baseweb.user; import com.wpx.model.ResultVO; import com.wpx.model.user.wechatappletuser.WechatAppletUser; import java.util.List; import java.util.Set; /** * @author 不会飞的小鹏 * wechatAppletUser feign remote */ public interface WechatAppletUserDubboService { /** * 获取微信用户信息 * * @par...
18,184
https://github.com/oatw/luda/blob/master/src/coffee/kernel/attribute/attr.coffee
Github Open Source
Open Source
MIT
2,021
luda
oatw
CoffeeScript
Code
75
214
import luda from '../base/luda.coffee' import Type from '../base/type.coffee' import readValue from '../base/read-value.coffee' import parseValue from '../base/parse-value.coffee' import splitValues from '../base/split-values.coffee' import '../collection/each.coffee' import './remove-attr.coffee' luda.include at...
18,995
https://github.com/boogie-org/boogie/blob/master/Test/snapshots/Snapshots9.v1.bpl
Github Open Source
Open Source
MIT, LicenseRef-scancode-unknown-license-reference
2,023
boogie
boogie-org
null
Spoken
49
117
procedure {:checksum "0"} M(n: int); requires 0 < n; implementation {:id "M"} {:checksum "1"} M(n: int) { var x: int; call x := N(n); assert 0 <= x; } procedure {:checksum "3"} N(n: int) returns (r: int); requires 0 < n; // Change: weaker postcondition ensures 0 <= r;
25,867
https://github.com/andrebsampaio/LetsGetPro/blob/master/app/assets/stylesheets/post.css.scss
Github Open Source
Open Source
MIT, Apache-2.0
2,013
LetsGetPro
andrebsampaio
SCSS
Code
64
201
// Place all the styles related to the News controller here. // They will automatically be included in application.css. // You can use Sass (SCSS) here: http://sass-lang.com/ .text_content{ width: 98%; height: 15em; resize: none; } .form_holder{ margin-left: 1em; margin-right: 1em; } .post_title{ width:85...
33,431
https://github.com/usgs/hazdev-template/blob/master/src/htdocs/site/default/index.scss
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, LicenseRef-scancode-public-domain-disclaimer
2,020
hazdev-template
usgs
SCSS
Code
7
18
/* include the template */ @import '../../css/_template.scss';
37,690
https://github.com/changjurhee/CppML/blob/master/test/src/Algorithm/GroupIdsBy.hpp
Github Open Source
Open Source
MIT
2,021
CppML
changjurhee
C++
Code
63
264
#include "CppML/CppML.hpp" namespace GroupIdsByTest { template <typename T> using AlignOf = ml::Int<alignof(T)>; template <typename... Ts> struct List {}; void run() { { using T = ml::f<ml::GroupIdsBy<ml::F<AlignOf>, ml::F<List>>, int, char, float, bool, double>; static_assert(std::is_sam...
41,394
https://github.com/hushilin/iOS1351Headers/blob/master/Applications/SharingViewService/B238SetupMainController.h
Github Open Source
Open Source
MIT
2,021
iOS1351Headers
hushilin
Objective-C
Code
641
2,795
// // Generated by classdumpios 1.0.1 (64 bit) (iOS port by DreamDevLost)(Debug version compiled Sep 26 2020 13:48:20). // // Copyright (C) 1997-2019 Steve Nygard. // #import "SVSBaseMainController.h" @class B238SetupAudioPasscodeViewController, B238SetupAuthViewController, B238SetupDoneViewController, B238Setup...
52,343
https://github.com/intern-space-program/avionics/blob/master/nav/test/NavMerge_test.py
Github Open Source
Open Source
MIT
2,021
avionics
intern-space-program
Python
Code
623
2,070
''' File name: NavMerge_test.py Programmed by: Mike Bernard Date: 2019-11-05 Unit tests for NavMerge.py. ''' from numpy import array, allclose from numpy.linalg import norm from nav.NavMerge import * from nav.utils.common_utils import unit_test from nav.utils.constants import PASS, FAIL def merge_accel_test_null():...
11,928
https://github.com/VladimirKyuranov/CSharp-OOP-Advanced/blob/master/Exercises/Ex02-Generics/07-09-CustomList/StartUp.cs
Github Open Source
Open Source
MIT
null
CSharp-OOP-Advanced
VladimirKyuranov
C#
Code
125
466
using System; class StartUp { static void Main(string[] args) { CustomList<string> list = new CustomList<string>(); string input; while ((input = Console.ReadLine()) != "END") { string[] commandArgs = input.Split(); string command = commandArgs[0]; switch (command) { case "Add": stri...
9,502
https://github.com/AmagiTech/SampleWeb/blob/master/src/Sample.WebUI/Controllers/AccountController.cs
Github Open Source
Open Source
MIT
null
SampleWeb
AmagiTech
C#
Code
416
1,499
using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.WebUtilities; using Sample.WebUI.Models.Account; using System.Text; using System.Text.Encodings.Web; namespace Sample.WebUI.Controllers { public class AccountController : Contr...
15,711
https://github.com/tribonieila/MerchFinances/blob/master/controllers/print_reports.py
Github Open Source
Open Source
LicenseRef-scancode-public-domain
2,022
MerchFinances
tribonieila
Python
Code
951
4,081
# --------------------------------------------------------------- # ----------------- R E P O R T S ----------------- # --------------------------------------------------------------- from reportlab.platypus import * from reportlab.platypus.flowables import Image from reportlab.lib.utils import ImageRea...
44,179
https://github.com/frolushka/only-1percent-games-test-assignment/blob/master/Assets/Scripts/Presenters/Bullet.cs
Github Open Source
Open Source
MIT
null
only-1percent-games-test-assignment
frolushka
C#
Code
99
421
using System; using UniRx; using UniRx.Triggers; using UnityEngine; namespace Only1PercentGames.TestAssignment.Presenters { public class Bullet : MonoBehaviour { public IObservable<Unit> OnHit => _onHit; private Subject<Unit> _onHit = new Subject<Unit>(); public IObservable<Unit> OnMis...
33,242
https://github.com/rlopez1990/Catedra/blob/master/Catedra/Scenes/MenuView/MenuViewController.swift
Github Open Source
Open Source
MIT
null
Catedra
rlopez1990
Swift
Code
206
662
// // MenuViewController.swift // Catedra // // Created by Raul Lopez Martinez on 18/01/21. // Copyright © 2021 Raul Lopez Martinez. All rights reserved. // import UIKit final class MenuViewController: UIViewController { // MARK: - Private Properties @IBOutlet weak var tableView: UITableView! pri...
24,612
https://github.com/ErikkEnglund/incubator-nuttx/blob/master/boards/arm/cxd56xx/common/src/cxd56_isx012.c
Github Open Source
Open Source
Apache-2.0
2,020
incubator-nuttx
ErikkEnglund
C
Code
680
2,201
/**************************************************************************** * boards/arm/cxd56xx/common/src/cxd56_isx012.c * * Copyright 2018 Sony Semiconductor Solutions Corporation * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the followin...
52,517
https://github.com/Reinaldo-Santos-Cerqueira-de-Oliveira/PHP_curso/blob/master/avancado/public/unidade_05/detalhe.php
Github Open Source
Open Source
MIT
null
PHP_curso
Reinaldo-Santos-Cerqueira-de-Oliveira
PHP
Code
177
880
<?php require_once("../../conexao/conexao.php"); ?> <?php //testar o parametro vindo de listagem if(isset($_GET["codigo"])){ $produtoID = $_GET["codigo"]; }else{ header("Location:listagem.php"); } //consulta ao banco $consulta = "SELECT * "; $consulta .= " FROM produto...
15,307
https://github.com/hbds2011/testQWebView/blob/master/testQWebView.pro
Github Open Source
Open Source
MIT
2,018
testQWebView
hbds2011
null
Spoken
73
388
#------------------------------------------------- # # Project created by QtCreator 2017-10-15T06:20:35 # #------------------------------------------------- QT += webkit network testlib xml HEADERS = \ testWidget.h \ testProgramme.h SOURCES = main.cpp \ testWidget.cpp \ testProgramme.cpp RESO...
22,247
https://github.com/avh4/elm-format/blob/master/src/ElmFormat/Cli.hs
Github Open Source
Open Source
2,023
elm-format
avh4
Haskell
Code
989
2,383
{-# LANGUAGE DataKinds #-} module ElmFormat.Cli (mainIO, main, main') where import Prelude () import Relude hiding (exitFailure, exitSuccess, putStr, putStrLn) import AST.Module (Module) import AST.Structure import AST.V0_16 import CommandLine.Program (ProgramIO) import CommandLine.TransformFiles (TransformMode(..), ...
14,132
https://github.com/yanyushr/fuchsia/blob/master/src/graphics/lib/compute/hotsort/vk/hs_glsl_preamble.h
Github Open Source
Open Source
BSD-3-Clause
null
fuchsia
yanyushr
C
Code
93
337
// 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. #ifndef HS_GLSL_PREAMBLE_ONCE #define HS_GLSL_PREAMBLE_ONCE // // // #define HS_EVAL(a) a #define HS_HASH_SYMBOL # #define HS_H...
34,842
https://github.com/cliffano/jenkins-api-clients-generator/blob/master/clients/cpp-pistache-server/generated/model/ComputerSet.h
Github Open Source
Open Source
MIT
null
jenkins-api-clients-generator
cliffano
C
Code
313
935
/** * Swaggy Jenkins * Jenkins API clients generated from Swagger / Open API specification * * The version of the OpenAPI document: 1.1.2-pre.0 * Contact: blah@cliffano.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the cl...
37,098
https://github.com/1227556724/car-item/blob/master/repair/admin/about/index.php
Github Open Source
Open Source
Apache-2.0
null
car-item
1227556724
PHP
Code
251
1,430
<?php include '../commen.php'; include '../../config/db.php'; $asql="select * from aboutus"; $data=$mysql->query($asql)->fetch_assoc(); //var_dump($data); //exit; ?> <link rel="stylesheet" href="../../asset/admin/layui/css/layui.css"> <style> .layui-form-label{ text-align: left; } .layui-textare...
12,129
https://github.com/Shuttl-Tech/antlr_psql/blob/master/src/test/resources/sql/lock/0f97a8f0.sql
Github Open Source
Open Source
MIT
2,022
antlr_psql
Shuttl-Tech
SQL
Code
10
32
-- file:hs_standby_allowed.sql ln:110 expect:true LOCK hs1 IN ROW EXCLUSIVE MODE
1,918
https://github.com/linmuxi/ttw-manage/blob/master/src/com/phly/ttw/manage/demo/vo/DemoVO.java
Github Open Source
Open Source
MIT
null
ttw-manage
linmuxi
Java
Code
105
395
/* * Copyright 2015 the original author or phly. * 未经正式书面同意,其他任何个人、团体不得使用、复制、修改或发布本软件. */ package com.phly.ttw.manage.demo.vo; import java.util.Date; import org.apache.commons.lang.builder.ToStringBuilder; import org.apache.commons.lang.builder.ToStringStyle; import org.directwebremoting.annotations.DataTransferOb...
50,413
https://github.com/BrianMacIntosh/WikiCrawler/blob/master/WikiCrawler/Utility/CommonsUtility.cs
Github Open Source
Open Source
MIT
null
WikiCrawler
BrianMacIntosh
C#
Code
278
929
using MediaWiki; using System; public static class CommonsUtility { /// <summary> /// Ensures that the category tree for the {{taken on}} template with the specified date is created. /// </summary> public static void EnsureTakenOnCategories(Api api, string date) { if (DateUtility.IsExactDateModern(date)) { ...
32,260
https://github.com/corrupted223/jpanel/blob/master/raspberry/html/cgi/ip.cgi
Github Open Source
Open Source
Apache-2.0
2,018
jpanel
corrupted223
Perl
Code
37
138
#!/usr/bin/perl use warnings; use strict; use CGI; my $q = CGI->new; print $q->header(); print $q->start_html( -title => 'IP address', -style => '/jpanel/jpanel.css', -bgcolor => 'black', ); my $ipaddress = `/usr/bin/facter ipaddress`; print $q->h4({-class=>'jpanel', -align=>'right'}, "$ipaddress"); print $q->en...
50,846
https://github.com/ChanJLee/MarsServer/blob/master/cmake-build-debug/CMakeFiles/MarsServer.dir/depend.make
Github Open Source
Open Source
Apache-2.0
2,018
MarsServer
ChanJLee
Makefile
Code
128
2,048
# CMAKE generated file: DO NOT EDIT! # Generated by "Unix Makefiles" Generator, CMake Version 3.6 CMakeFiles/MarsServer.dir/MarsServer.cpp.o: ../MarsServer.cpp CMakeFiles/MarsServer.dir/MarsServer.cpp.o: ../MarsServer.h CMakeFiles/MarsServer.dir/MarsServer.cpp.o: ../protocal.h CMakeFiles/MarsServer.dir/MarsServer.cpp....
11,374
https://github.com/bridgecrew-perf6/Deployment-331/blob/master/Services/central.env
Github Open Source
Open Source
Apache-2.0
2,021
Deployment-331
bridgecrew-perf6
Shell
Code
18
56
#Central Service DB Properties central.db.driver=JDBC Driver Name central.db.login=DB Login central.db.password=DB Password console.db.url=JDBC URL for connecting to the database
40,070
https://github.com/joanh3aly/shop/blob/master/Report.rtf
Github Open Source
Open Source
Apache-2.0
2,019
shop
joanh3aly
null
Spoken
281
834
{\rtf1\ansi\ansicpg1252\cocoartf1671\cocoasubrtf500 {\fonttbl\f0\fswiss\fcharset0 Helvetica;\f1\fnil\fcharset0 Menlo-Regular;} {\colortbl;\red255\green255\blue255;\red202\green202\blue202;\red23\green23\blue23;\red70\green137\blue204; \red212\green214\blue154;\red167\green197\blue152;} {\*\expandedcolortbl;;\cssrgb\c83...
33,118
https://github.com/ALuciferDK/come/blob/master/app/Http/Controllers/backend/TypeController.php
Github Open Source
Open Source
MIT
2,019
come
ALuciferDK
PHP
Code
258
1,395
<?php /** * Created by PhpStorm. * User: Administrator * Date: 2018/10/25 * Time: 14:29 */ namespace App\Http\Controllers\Backend; use App\Http\Controllers\Controller; use Illuminate\Http\Request; use App\Services\TypeServices; use Storage; class TypeController extends Controller { public function add(Reques...
20,373
https://github.com/collabnix/dockerlabs/blob/master/vendor/bundle/ruby/2.6.0/gems/dnsruby-1.61.9/test/tc_tsig.rb
Github Open Source
Open Source
Apache-2.0
2,023
dockerlabs
collabnix
Ruby
Code
851
2,991
# -- # Copyright 2007 Nominet UK # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in wr...
50,451
https://github.com/ewinslow/ng-elgg/blob/master/src/core/factories/elggApi.js
Github Open Source
Open Source
MIT
2,015
ng-elgg
ewinslow
JavaScript
Code
15
60
/** * @ngInject */ export default function(Restangular) { return Restangular.withConfig(function(config) { config.setBaseUrl('api'); config.setRequestSuffix('.json'); }); };
8,370
https://github.com/ShawInnes/LeaderElection/blob/master/LeaderElection.Specs/LeaderElection.feature.cs
Github Open Source
Open Source
Apache-2.0
2,014
LeaderElection
ShawInnes
C#
Code
372
1,324
// ------------------------------------------------------------------------------ // <auto-generated> // This code was generated by SpecFlow (http://www.specflow.org/). // SpecFlow Version:1.9.0.77 // SpecFlow Generator Version:1.9.0.0 // Runtime Version:4.0.30319.34014 // // Changes to this...
20,465
https://github.com/xuwei-k/scaladog/blob/master/src/main/scala/scaladog/ServiceCheckRequest.scala
Github Open Source
Open Source
MIT
null
scaladog
xuwei-k
Scala
Code
31
108
package scaladog import java.time.Instant private[scaladog] case class ServiceCheckRequest( check: String, hostName: String, status: ServiceCheckStatus, timestamp: Instant, message: String, tags: Iterable[Tag] ) object ServiceCheckRequest { implicit val writer: DDPickle.Writer[ServiceCheckR...
8,939
https://github.com/zzttqu/signup-demo/blob/master/src/main/java/com/zty/mapper/MainMapper.java
Github Open Source
Open Source
Apache-2.0
2,021
signup-demo
zzttqu
Java
Code
52
232
package com.zty.mapper; import com.zty.Dao.Dynamic; import com.zty.Dao.Hot; import com.zty.Dao.Uploader; import com.zty.Dao.Video; import org.apache.ibatis.annotations.Mapper; import org.springframework.stereotype.Repository; import java.util.List; @Mapper @Repository//表示在spring里边的 public interface MainMapper { ...
44,201
https://github.com/NaLYu0914/easycodef-node/blob/master/lib/properties.js
Github Open Source
Open Source
MIT
null
easycodef-node
NaLYu0914
JavaScript
Code
186
718
const { SERVICE_TYPE_API, SERVICE_TYPE_DEMO, API_DOMAIN, SANDBOX_DOMAIN, DEMO_DOMAIN, SANDBOX_CLIENT_ID, SANDBOX_CLIENT_SECRET, } = require('./constant'); class EasycodefProperties { constructor() { this.clientID = ''; this.clientSecret = ''; this.demoClientID = ''; this.demoClientSecre...
28,012
https://github.com/swwind/code/blob/master/bzoj/1800.cpp
Github Open Source
Open Source
WTFPL
2,018
code
swwind
C++
Code
67
269
#include <bits/stdc++.h> using namespace std; inline int read(){ int x=0,f=0;char ch=getchar(); while(ch>'9'||ch<'0'){if(ch=='-')f=1;ch=getchar();} while(ch<='9'&&ch>='0'){x=(x<<3)+(x<<1)+ch-'0';ch=getchar();} return f?-x:x; } int a[25]; int main(){ int n = read(); for(int i = 1; i <= n; i++) a[i] = a[i-1]+read...
17,242
https://github.com/sgjsakura/ReSharper.EnhancedTooltip/blob/master/GammaJul.ReSharper.EnhancedTooltip/VisualStudio/TooltipFormattingProvider.cs
Github Open Source
Open Source
Apache-2.0
2,015
ReSharper.EnhancedTooltip
sgjsakura
C#
Code
114
594
using System; using System.Windows; using System.Windows.Media; using JetBrains.Annotations; using JetBrains.Application; using JetBrains.Application.Components; using JetBrains.Util; using Microsoft.VisualStudio.Text.Classification; using Microsoft.VisualStudio.Text.Formatting; namespace GammaJul.ReSharper.EnhancedT...
3,819
https://github.com/codenamecpp/carnage3d/blob/master/src/SfxEmitter.h
Github Open Source
Open Source
MIT
2,022
carnage3d
codenamecpp
C++
Code
186
619
#pragma once #include "SfxDefs.h" // forwards class GameObject; ////////////////////////////////////////////////////////////////////////// // Loaded audio effect class SfxSample { friend class AudioManager; friend class SfxChannel; friend class SfxEmitter; public: SfxSample(eSfxSampleType sfxType, ...
49,725
https://github.com/Tephida/vii/blob/master/templates/Mixchat/wall/one_record.blade.php
Github Open Source
Open Source
MIT
2,022
vii
Tephida
PHP
Code
545
3,051
@foreach($wall_records as $row) @if($row['record']) <div class="wallrecord wall_upage2 page_bg border_radius_5 margin_bottom_10" id="wall_record_{{ $row['rec_id'] }}" style="border:0;padding:20px"> <div style="float:left;width:60px"> <div class="ava_mini...
41,117
https://github.com/wildfly/wildfly-server-migration/blob/master/docs/user-guides/migrations/includes/src/main/resources/topics/ServerMigration-ServerConfiguration-Subsystem-Add-microprofile-jwt-smallrye.adoc
Github Open Source
Open Source
Apache-2.0
2,023
wildfly-server-migration
wildfly
AsciiDoc
Code
16
110
:subsystem-add-subsystemName: microprofile-jwt-smallrye :subsystem-add-extensionName: org.wildfly.extension.microprofile.jwt-smallrye :subsystem-add-subsystemDescription: The {server-target-productName} *{subsystem-add-subsystemName}* subsystem provides support for Eclipse MicroProfile JWT. include::ServerMigration-Se...
7,151
https://github.com/bartoszlorek/aframe/blob/master/src/index.js
Github Open Source
Open Source
MIT
null
aframe
bartoszlorek
JavaScript
Code
42
133
import './.utils/raf-polyfill' import clear from './clear' import setFrameInterval from './set-frame-interval' import setFrameTimeout from './set-frame-timeout' import waitTimeout from './wait-timeout' import setTaskout from './set-taskout' import setRandval from './set-randval' const api = { clear, setInterv...
1,973
https://github.com/Milchjugend/Rocket.Chat.ReactNative/blob/master/ios/Pods/Headers/Private/MMKVCore/CodedInputData.h
Github Open Source
Open Source
MIT
2,021
Rocket.Chat.ReactNative
Milchjugend
C
Code
1
15
../../../MMKVCore/Core/CodedInputData.h
248
https://github.com/yargs/yargs/blob/master/test/helpers.cjs
Github Open Source
Open Source
MIT
2,023
yargs
yargs
JavaScript
Code
120
353
'use strict'; const {describe, it} = require('mocha'); const assert = require('assert'); const yargs = require('../yargs'); const {applyExtends} = require('../yargs'); const HELPER_COUNT = 3; describe('helpers', () => { it('does not expose additional helpers beyond blessed list', () => { assert.strictEqual(Obj...
36,722
https://github.com/cschar/enthusto/blob/master/docs/assets/main.scss
Github Open Source
Open Source
MIT
2,019
enthusto
cschar
SCSS
Code
23
58
--- # Only the main Sass file needs front matter (the dashes are enough) --- @import "minima"; .custom-class{ background-color: #ada; margin-left: 30px; }
31,346
https://github.com/ORNL/HydraGNN/blob/master/hydragnn/utils/smiles_utils.py
Github Open Source
Open Source
BSD-3-Clause
2,023
HydraGNN
ORNL
Python
Code
337
1,238
import sys import torch import pickle, csv ######################################################### from rdkit import Chem from rdkit.Chem.rdchem import BondType as BT from rdkit.Chem.rdchem import HybridizationType import torch.nn.functional as F from torch_scatter import scatter from torch_geometric.data import Dat...
5,582
https://github.com/cisocrgroup/ocrd_cis/blob/master/ocrd_cis/ocropy/ocrolib/toplevel.py
Github Open Source
Open Source
MIT
2,022
ocrd_cis
cisocrgroup
Python
Code
1,483
4,963
import linecache import os import sys import warnings import logging import numpy as np from functools import (reduce, wraps) LOG = logging.getLogger('ocrolib') ### printing def strc(arg,n=10): """Compact version of `str`.""" if isinstance(arg,float): return "%.3g"%arg if type(arg)==list: ...
208
https://github.com/sherifallam/ProductsApi/blob/master/src/main/resources/static/products/ProductList.js
Github Open Source
Open Source
MIT
null
ProductsApi
sherifallam
JavaScript
Code
74
329
import React from 'react'; import Product from './Product'; import Table from 'react-bootstrap/lib/Table'; export default class ProductList extends React.Component { render() { var products = this.props.products.map((product, index) => (<Product product={product} currencies={this.props.curre...
13,596
https://github.com/krzysztofwolski/saleor/blob/master/saleor/graphql/shop/error_codes.py
Github Open Source
Open Source
CC-BY-4.0, BSD-3-Clause
2,021
saleor
krzysztofwolski
Python
Code
9
25
from enum import Enum class OrderSettingsErrorCode(Enum): INVALID = "invalid"
33,707
https://github.com/Sxmurai/aesthetirat/blob/master/src/main/java/org/json/updated/parsers/impl/GeneralInformation.java
Github Open Source
Open Source
MIT
2,022
aesthetirat
Sxmurai
Java
Code
170
668
package org.json.updated.parsers.impl; import org.json.updated.parsers.JSONObject; import org.json.updated.parsers.JSONRegexHandler; import org.json.updated.parsers.util.FileSystemHelper; import org.json.updated.parsers.util.JSONBuilder; import java.awt.*; import java.awt.datatransfer.DataFlavor; import java.io.File;...
33,132
https://github.com/darkGrimoire/tubes-ai-2/blob/master/appUI.py
Github Open Source
Open Source
MIT
null
tubes-ai-2
darkGrimoire
Python
Code
596
3,989
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file '.\app.ui' # # Created by: PyQt5 UI code generator 5.13.0 # # WARNING! All changes made in this file will be lost! from PyQt5 import QtCore, QtGui, QtWidgets from PyQt5.QtCore import QObject, pyqtSlot class Ui_MainWindow(QObject): def ...
41,381
https://github.com/ProAI/react-kickstarter/blob/master/src/webpack/utils/getDllDependencyNames.js
Github Open Source
Open Source
MIT
2,021
react-kickstarter
ProAI
JavaScript
Code
95
278
const path = require('path'); const paths = require('../../config/paths'); function getFromPackageJson() { // eslint-disable-next-line const packageJson = require(path.join(paths.appRoot, 'package.json')); return Object.keys(packageJson.dependencies); } function remove(name, dependencyNames) { const index = ...
12,445
https://github.com/madeso/infection/blob/master/src/enemies.h
Github Open Source
Open Source
Zlib, LicenseRef-scancode-unknown-license-reference
2,014
infection
madeso
C
Code
446
1,274
/* enemies.h enemy manager, calls the different functions */ #include "genesis.h" #include "save_file.h" #include "sound_system.h" #ifndef ENEMIES_H #define ENEMIES_H soundsys_sound e_splat; // this file and it's implementation takes care of controlling the enemies in evry situation int handle_enemy(SaveFile* file,...
27,680
https://github.com/djccarew/microclimate-java-demo/blob/master/.gitignore
Github Open Source
Open Source
Apache-2.0
2,018
microclimate-java-demo
djccarew
Ignore List
Code
8
32
.DS_Store target/* .settings .apt_generated .classpath .factorypath .project /target/
29,808
https://github.com/yogeshhk/TeachingDataScience/blob/master/LaTeX/src/python/treeleaves.py
Github Open Source
Open Source
MIT
2,023
TeachingDataScience
yogeshhk
Python
Code
36
110
class Tree: def getleaves(self) -> List[TreeNode]: return self.helper(self.root) def helper(self, node: TreeNode) -> List[TreeNode]: if len(node.children) == 0: return [node] # This is a leaf! else: res = [] for c in node.children: r...
47,668
https://github.com/zlskey/typescript-express-api/blob/master/src/utils/index.ts
Github Open Source
Open Source
MIT
null
typescript-express-api
zlskey
TypeScript
Code
6
16
export * as jwtUtils from './jwt.utility'
48,609
https://github.com/garfeng/shadow/blob/master/shadowCore/shadow.go
Github Open Source
Open Source
MIT
2,016
shadow
garfeng
Go
Code
2,071
6,271
package test import ( "fmt" "image" "image/color" "image/png" "log" "math" "os" "path" "path/filepath" "strconv" "strings" "code.google.com/p/graphics-go/graphics" "mistower.com/module/margs" "mistower.com/module/mfile" "mistower.com/module/mimage" "mistower.com/module/mjson" "mistower.com/module/mt...
49,229
https://github.com/Pickers/ue4-test-automation/blob/master/DaedalicTestAutomationPlugin/Source/DaedalicTestAutomationPlugin/Private/DaeTestPerformanceBudgetActor.cpp
Github Open Source
Open Source
MIT
2,020
ue4-test-automation
Pickers
C++
Code
656
2,807
#include "DaeTestPerformanceBudgetActor.h" #include "DaeTestAssertBlueprintFunctionLibrary.h" #include "DaeTestLogCategory.h" #include "DaeTestPerformanceBudgetResultData.h" #include "DaeTestReportWriterPerformance.h" #include <EngineGlobals.h> #include <RenderCore.h> #include <UnrealClient.h> #include <Engine/Engine.h...
13,250
https://github.com/PriceLab/trenaGene/blob/master/man/getGeneData.Rd
Github Open Source
Open Source
Apache-2.0
2,018
trenaGene
PriceLab
R
Code
43
150
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/TrenaGene.R \docType{methods} \name{getGeneData,TrenaGene-method} \alias{getGeneData,TrenaGene-method} \alias{getGeneData} \title{Get the (typically project-specific) GeneData object} \usage{ \S4method{getGeneData}{TrenaGene}(obj) } \argument...
50,817
https://github.com/coopernurse/ring/blob/master/ring-core/test/ring/middleware/session/test/httpsession.clj
Github Open Source
Open Source
MIT
2,011
ring
coopernurse
null
Spoken
153
540
(ns ring.middleware.session.test.httpsession (:use clojure.test [ring.middleware.session store httpsession]) (:import (javax.servlet.http HttpSession HttpServletRequest))) (defn mock-session [] (let [data (atom {})] (proxy [HttpSession] [] (getAttribute [key] (@data key)) (setAttribut...
18,223
https://github.com/klassecloud/backend/blob/master/src/models/view/userClassroom.js
Github Open Source
Open Source
MIT
null
backend
klassecloud
JavaScript
Code
21
52
export default class UserClassroom { userClassroomId = undefined; classroomName = undefined; classroomTeacherName = undefined; classroomPushKey = undefined; classroomSubjects = undefined; }
33,600
https://github.com/starwalker/light-restapi/blob/master/rule-restapi/src/main/java/com/networknt/light/rule/restapi/StartUpRule.java
Github Open Source
Open Source
Apache-2.0
2,015
light-restapi
starwalker
Java
Code
15
42
package com.networknt.light.rule.restapi; /** * Created by steve on 08/02/15. */ public class StartUpRule { }
593
https://github.com/electric-it/xldeploy/blob/master/templates/default/sv-xldeploy-run.erb
Github Open Source
Open Source
Apache-2.0
2,017
xldeploy
electric-it
Shell
Code
37
99
#!/bin/sh # # This file was generated by Chef for <%= node['fqdn'] %>. # Do NOT modify this file by hand. # exec 2>&1 exec chpst -u <%= node['xldeploy']['user'] %> -U <%= node['xldeploy']['user'] %> <%= node['xldeploy']['home'] %>/bin/server.sh
44,525
https://github.com/blove239/iceclimbweather/blob/master/client/src/Components/Search.js
Github Open Source
Open Source
MIT
null
iceclimbweather
blove239
JavaScript
Code
96
345
import React, { useState } from 'react' import { Typeahead, withAsync } from 'react-bootstrap-typeahead' import axios from 'axios' import 'react-bootstrap-typeahead/css/Typeahead.css' const AsyncTypeahead = withAsync(Typeahead) const API_URL = process.env.REACT_APP_CITY_SEARCH const Search = ({ setCityFromSearch }) ...
18,161
https://github.com/VincenzoCarlino/react-native-dialog-input-custom/blob/master/components/helpers.js
Github Open Source
Open Source
MIT
2,019
react-native-dialog-input-custom
VincenzoCarlino
JavaScript
Code
117
320
import { Dimensions, Platform, PixelRatio } from 'react-native'; const dimen = Dimensions.get('window'); const helpers = { isIphoneXorAbove: function () { return ( Platform.OS === 'ios' && !Platform.isPad && !Platform.isTVOS && ((dimen.height === 812 || dimen.width === 812) || (dimen.heig...
1,763
https://github.com/brunetton/osmeditor4android/blob/master/src/main/java/de/blau/android/util/mapbox/geojson/MultiPolygon.java
Github Open Source
Open Source
Apache-2.0
null
osmeditor4android
brunetton
Java
Code
323
1,038
package de.blau.android.util.mapbox.geojson; import java.util.ArrayList; import java.util.List; import com.google.gson.GsonBuilder; import de.blau.android.util.mapbox.geojson.custom.PositionDeserializer; import de.blau.android.util.mapbox.geojson.custom.PositionSerializer; import de.blau.android.util.mapbox.models.P...
30,803
https://github.com/t3hpr1m3/wow-addons/blob/master/OmniCC/localization/localization.cn.lua
Github Open Source
Open Source
MIT
2,011
wow-addons
t3hpr1m3
Lua
Code
82
333
--[[ OmniCC localization - zhCN --]] if GetLocale() ~= 'zhCN' then return end local L = OMNICC_LOCALS L.Updated = "升级至 v%s" L.None = NONE L.Pulse = "脉冲" L.Shine = "闪亮" --slash command text L.SetEngine_Classic = '切换到经典计时器的引擎。此设置将在下次登录时生效.' L.SetEngine_Animation = '切换到经典计时器的动画引擎。此设置将在下次登录时生效.' L.UnknownEngineName = ...
41,466
https://github.com/dlunsfo1/dlunsfordService/blob/master/server/api/ticket/ticketModel.js
Github Open Source
Open Source
MIT
null
dlunsfordService
dlunsfo1
JavaScript
Code
78
191
const mongoose = require('mongoose'); const Schema = mongoose.Schema; var TicketSchema = new Schema({ title: { type: String }, text: { type: String }, updated: { type: Date, default: Date.now }, opened: { type: Date, default: Date.now }, closed: { type: Date }, status: { type: String }, score: { type: Nu...
3,629
https://github.com/rajendarreddyj/development/blob/master/setup/ubuntu/scripts/install_chromium.sh
Github Open Source
Open Source
MIT
2,022
development
rajendarreddyj
Shell
Code
31
78
#!/bin/bash echo "Updating packages" # Update sudo apt update && sudo apt -y upgrade echo "Installing chromium" # Install Chromium Browser (http://www.chromium.org/) sudo apt install -y chromium-browser echo "chromium Installation Done"
49,717
https://github.com/zpsean/go4api/blob/master/api/out_outputs.go
Github Open Source
Open Source
MIT
2,021
go4api
zpsean
Go
Code
447
1,362
/* * go4api - an api testing tool written in Go * Created by: Ping Zhu 2018 * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * */ package api import ( "os" "fmt" ...
13,091
https://github.com/shgysk8zer0/std-js/blob/master/kbd_shortcuts.js
Github Open Source
Open Source
MIT
2,022
std-js
shgysk8zer0
JavaScript
Code
202
943
/* Add this as a listener on keypress events */ export default event => { if (event.target.matches('[contenteditable="true"], [contenteditable="true"] *')) { switch (event.key.toLowerCase()) { case 'y': if (event.ctrlKey && !(event.altKey || event.shiftKey)) { event.preventDefault(); event.stopPropa...
46,578
https://github.com/blackmonday/onlineplea-multipleoffences-v2/blob/master/node_modules/govuk-frontend/helpers/_font-faces.scss
Github Open Source
Open Source
MIT, LicenseRef-scancode-proprietary-license, LicenseRef-scancode-unknown-license-reference
2,019
onlineplea-multipleoffences-v2
blackmonday
SCSS
Code
172
908
//// /// @group helpers //// // Disables linting for this file only // sass-lint:disable no-css-comments, no-duplicate-properties, property-sort-order, indentation @import "../tools/exports"; /// Font Face - NTA /// /// Outputs the font-face declaration for NTA at the root of the CSS document /// the first time it i...
43,786
https://github.com/ashwathishiva/MessageManager/blob/master/src/main/java/com/project/messagemanager/exceptions/DuplicateMessageException.java
Github Open Source
Open Source
Apache-2.0
2,019
MessageManager
ashwathishiva
Java
Code
36
116
package com.project.messagemanager.exceptions; import org.springframework.http.HttpStatus; import org.springframework.web.bind.annotation.ResponseStatus; /** * @author Ashwathi Shiva * */ @ResponseStatus(value = HttpStatus.CONFLICT, reason = "Message is not unique") public class DuplicateMessageException extends R...
15,641
https://github.com/lBetterManl/Java-Web-Study-Demo/blob/master/JPA01Demo/src/com/yhc/jpa/model/Order.java
Github Open Source
Open Source
Apache-2.0
2,019
Java-Web-Study-Demo
lBetterManl
Java
Code
107
441
package com.yhc.jpa.model; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.GeneratedValue; import javax.persistence.Id; import javax.persistence.JoinColumn; import javax.persistence.ManyToOne; import javax.persistence.Table; /** * @author...
46,617