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/serghalak/otus_java_2020_03/blob/master/L22-noSQL/cassandra-demo/src/main/java/ru/otus/cassandrademo/db/PhoneRepository.java | Github Open Source | Open Source | MIT | 2,021 | otus_java_2020_03 | serghalak | Java | Code | 29 | 109 | package ru.otus.cassandrademo.db;
import java.util.List;
import java.util.Optional;
import java.util.UUID;
public interface PhoneRepository {
<T> void insert(T phone, Class<T> tClass);
<T> Optional<T> findOne(UUID id, Class<T> tClass);
<T> List<T> findAll(Class<T> tClass);
}
| 15,845 |
https://github.com/chenjiaxing6/pocket-shop/blob/master/pocket-shop-web-ui/src/main/java/cn/ishangit/shop/web/ui/dto/UserDto.java | Github Open Source | Open Source | Apache-2.0 | 2,020 | pocket-shop | chenjiaxing6 | Java | Code | 31 | 88 | package cn.ishangit.shop.web.ui.dto;
import lombok.Data;
/**
* @description:
* @author: Chen
* @create: 2019-05-31 22:23
**/
@Data
public class UserDto {
private String username;
private String phone ;
private String email;
}
| 48,858 |
https://github.com/ANONYMOUS609/Competitive-Programming/blob/master/practice/Algorithms/Divide and Conquer/mergeSort.cpp | Github Open Source | Open Source | MIT | 2,021 | Competitive-Programming | ANONYMOUS609 | C++ | Code | 77 | 461 | #include<bits/stdc++.h>
using namespace std;
void merge(int A[],int p,int q,int r)
{
int i,j,n1,n2;
n1=q-p+1;
n2=r-q;
int L[n1+1],R[n2+1];
for(i=1;i<=n1;i++)
L[i]=A[p+i-1];
for(j=1;j<=n2;j++)
R[j]=A[q+j];
L[n1+1]=100000000;
R[n2+1]=100000000;
i=1;j=1;
for(int k=p;k<=r;k++)
{
if(L[i]<=R[j])
{
A[k]=... | 14,050 |
https://github.com/NikitaKemarskiy/online-file-repository/blob/master/api/functions/logging.js | Github Open Source | Open Source | MIT | null | online-file-repository | NikitaKemarskiy | JavaScript | Code | 123 | 394 | // Modules
const path = require('path');
const fs = require('fs');
// Constants
const LOGS_PATH = path.join(process.cwd(), 'logs'); // Constant value for storage folder
const LOGS_FILE = 'logs.txt';
const ERROR_FILE = 'error.txt';
let log_stream = null;
let error_stream = null;
const start_logging = function() {
le... | 3,203 |
https://github.com/pawanakhil/fractional-nft/blob/master/packages/react-app/src/supabaseConfig.js | Github Open Source | Open Source | MIT | 2,022 | fractional-nft | pawanakhil | JavaScript | Code | 15 | 23 | export const imageBaseUrl = "";
export const projectUrl = "";
export const projectKey = "";
| 24,764 |
https://github.com/ratebkefi/site_deal/blob/master/src/Back/DealBundle/Resources/views/Deal/coupon.html.twig | Github Open Source | Open Source | MIT | null | site_deal | ratebkefi | Twig | Code | 481 | 1,430 | {% set commFix = 0 %}
{% set commVar = 0 %}
{% set CA = 0 %}
{% set PrixCoupon = 0 %}
{% set CVariable = 0 %}
<!-- ==================== DEFAULT TABLE FLOATING BOX ==================== -->
<div class="floatingBox table">
<div class="container-fluid">
<table class="table">
... | 51,189 |
https://github.com/Laul0/generator-spfx/blob/master/generators/handlebars/templates/gulpfile.js | Github Open Source | Open Source | MIT | 2,022 | generator-spfx | Laul0 | JavaScript | Code | 66 | 199 | // definition of Handlebars loader
const loaderConfig = {
test: /\.hbs/,
loader: 'handlebars-loader'
};
// Merge custom loader to web pack configuration
build.configureWebpack.mergeConfig({
additionalConfiguration: (generatedConfiguration) => {
generatedConfiguration.module.rules.push(loaderConfig);
re... | 33,672 |
https://github.com/caponetto/kogito-editors-java/blob/master/errai-ioc/src/main/java/org/jboss/errai/ioc/rebind/ioc/bootstrapper/FactoryGenerator.java | Github Open Source | Open Source | Apache-2.0 | 2,021 | kogito-editors-java | caponetto | Java | Code | 801 | 2,687 | /*
* Copyright (C) 2015 Red Hat, Inc. and/or its affiliates.
*
* 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 ... | 5,480 |
https://github.com/a2x1/factorio_a2x1_military_kit/blob/master/resources/data_raw_projectile.lua | Github Open Source | Open Source | MIT | null | factorio_a2x1_military_kit | a2x1 | Lua | Code | 244 | 813 | require "shared"
local settings_key_prefix = "a2x1_config_bits" .. "-" .. "data_raw_projectile" .. "-"
function __settings_startup__data_raw_projectile(data, order)
return data:extend(
{
{
type = "int-setting",
name = settings_key_prefix .. "damage",
setting_type = "startup",
... | 41,715 |
https://github.com/maxkao/dotfiles-22/blob/master/scripts/git-change-author.sh | Github Open Source | Open Source | BSD-3-Clause | 2,020 | dotfiles-22 | maxkao | Shell | Code | 122 | 435 | #!/usr/bin/env bash
function git_change_author {
FROM_EMAIL="${1:-${FROM_EMAIL:-"email@example.org"}}"
FROM_NAME="${2:-${FROM_NAME:-"User Name"}}"
TO_EMAIL="${3:-${GIT_AUTHOR_EMAIL}}"
TO_NAME="${4:-${GIT_AUTHOR_NAME}}"
shift; shift; shift; shift
test -n "${FROM_EMAIL}" || (echo '$1 - FROM_EMAIL... | 31,554 |
https://github.com/KaraAliAbdElbasset/zh/blob/master/resources/views/funerals/show.blade.php | Github Open Source | Open Source | MIT | null | zh | KaraAliAbdElbasset | PHP | Code | 272 | 1,567 | @extends('layouts.app')
@section('content')
<div class="row">
<div class="col-md-6">
<div class="card">
<div class="card-header">
<h4 class="card-title">{{__('names.details')}}</h4>
<button class="btn btn-danger btn-sm" onclick="deleteFor... | 18,236 |
https://github.com/hnjm/GIS-Editor/blob/master/MapSuiteGisEditor/GisEditorInfrastructure/Plugins/Styles/StyleBuilder/HelpKeyToButtonConverter.cs | Github Open Source | Open Source | Apache-2.0 | 2,020 | GIS-Editor | hnjm | C# | Code | 262 | 611 | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may no... | 19,880 |
https://github.com/LogosCode/logoscode.github.io/blob/master/src/dataStore/DataStoreInvoker.js | Github Open Source | Open Source | Apache-2.0 | null | logoscode.github.io | LogosCode | JavaScript | Code | 195 | 725 | import Utils from '../library/Utils.js';
var storeUpdateWatcher = {
initialState:0,
updatedState:0
}
var dataStoreClone={};
var callbackFunctionsRegister = [
{
callbackFunctionName:'productsCallback',
executed:false
},
{
callbackFunctionName:'categoryCallback',
exe... | 8,270 |
https://github.com/GomezMimo/restaurante/blob/master/classes/database.php | Github Open Source | Open Source | Apache-2.0 | 2,016 | restaurante | GomezMimo | PHP | Code | 38 | 143 | <?php
class Database{
var $user_db = 'root';
var $pass_db = '';
var $host_db = 'localhost';
var $name_db = 'taller';
var $connection;
function connect(){
$this->connection = new PDO("mysql:$this->host_db=;dbname=$this->name_db;charset=utf8", $this->user_db, $this->pass_db);
}
function close(){
$this->co... | 16,795 |
https://github.com/stichting-cito/QuestifyBuilder/blob/master/Builder/UnitTests.VB/Cito.TestBuilder.Logic/Chain/Processing/AddNonExistingSectionsToAssessmentTest.vb | Github Open Source | Open Source | MS-PL | 2,019 | QuestifyBuilder | stichting-cito | Visual Basic | Code | 276 | 1,068 |
Imports Questify.Builder.Logic.Chain
Imports Cito.Tester.ContentModel
Imports Questify.Builder.Logic.TestConstruction.Requests
Imports Questify.Builder.Logic.TestConstruction.ChainHandlers.Processing
Imports Questify.Builder.UnitTests.Framework.Faketory
<TestClass()>
Public Class AddNonExistingSectionsToAssessmentTe... | 11,030 |
https://github.com/hq9000/py-headless-daw/blob/master/py_headless_daw/project/project_renderer.py | Github Open Source | Open Source | MIT | 2,021 | py-headless-daw | hq9000 | Python | Code | 192 | 811 | from math import ceil
from typing import List
from scipy.io import wavfile
from py_headless_daw.compiler.project_compiler import ProjectCompiler
from py_headless_daw.project.project import Project
from py_headless_daw.schema.dto.time_interval import TimeInterval
from py_headless_daw.schema.wiring import StreamNode
i... | 12,111 |
https://github.com/OLIMEX/DIY-LAPTOP/blob/master/HARDWARE/A64-TERES/KiCad/Footprints.old/OLIMEX_LEDs-FP.pretty/LED_0603_KA.kicad_mod | Github Open Source | Open Source | LicenseRef-scancode-free-unknown, Apache-2.0, GPL-3.0-only, GPL-1.0-or-later | 2,023 | DIY-LAPTOP | OLIMEX | KiCad Layout | Code | 384 | 1,324 | (module LED_0603_KA (layer F.Cu) (tedit 57D252E1)
(descr CCCCC)
(tags "resistor 0603")
(attr smd)
(fp_text reference Led_Small (at 0 -1.905) (layer F.SilkS)
(effects (font (size 1.27 1.27) (thickness 0.254)))
)
(fp_text value Led_Small (at 0 2.54) (layer F.Fab)
(effects (font (size 1.27 1.27) (thick... | 23,343 |
https://github.com/wmacevoy/testrng/blob/master/dieharder/d208/g026/d208_g026_S2419383274.sh | Github Open Source | Open Source | Apache-2.0 | null | testrng | wmacevoy | Shell | Code | 8 | 23 | #!/bin/bash
dieharder -d 208 -g 26 -S 2419383274
| 41,236 |
https://github.com/190103480/inf232-lab4/blob/master/routes/web.php | Github Open Source | Open Source | MIT | null | inf232-lab4 | 190103480 | PHP | Code | 74 | 195 | <?php
use Illuminate\Support\Facades\Route;
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the Route... | 44,493 |
https://github.com/swiftyspiffy/Twitch-Moderator-Logger/blob/master/Twitch Moderator Logger/UI.Designer.cs | Github Open Source | Open Source | WTFPL | 2,022 | Twitch-Moderator-Logger | swiftyspiffy | C# | Code | 358 | 1,623 | namespace Twitch_Moderator_Logger
{
partial class UI
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
//... | 48,003 |
https://github.com/Prastiwar/TPFrameworkUnity/blob/master/Runtime/CoreUnity/TPFadePackage/FadeLayout.cs | Github Open Source | Open Source | MIT | 2,021 | TPFrameworkUnity | Prastiwar | C# | Code | 36 | 134 | /**
* Authored by Tomasz Piowczyk
* MIT LICENSE: https://github.com/Prastiwar/TPFrameworkUnity/blob/master/LICENSE
* Repository: https://github.com/Prastiwar/TPFrameworkUnity
*/
using System;
using UnityEngine;
using UnityEngine.UI;
namespace TP.Framework.Unity
{
[Serializable]
public class FadeLayout
... | 11,780 |
https://github.com/Pzaaaz/myself/blob/master/11-24/AI/src/AI.java | Github Open Source | Open Source | MIT | 2,020 | myself | Pzaaaz | Java | Code | 222 | 1,058 | import javax.microedition.lcdui.*;
import javax.microedition.midlet.*;
import java.io.*;
import java.util.*;
public class AI extends MIDlet
{
Display display;
MainCanvas mc;
public AI(){
display=Display.getDisplay(this);
mc=new MainCanvas();
display.setCurrent(mc);
}
public void startApp(){
}
public void d... | 3,103 |
https://github.com/Mas211/hwadee/blob/master/jxt/src/main/java/com/jxt/entity/Auth.java | Github Open Source | Open Source | MIT | 2,019 | hwadee | Mas211 | Java | Code | 46 | 129 | package com.jxt.entity;
//权限
public class Auth {
private Integer authId;
private String authPath;
public Integer getAuthId() {
return authId;
}
public void setAuthId(Integer authId) {
this.authId = authId;
}
public String getAuthPath() {
return authPath;
}
public void setAuthPath(String authPath) {
... | 24,365 |
https://github.com/smcclure879/radioreceiver/blob/master/image-src/build-icons.sh | Github Open Source | Open Source | Apache-2.0 | 2,017 | radioreceiver | smcclure879 | Shell | Code | 16 | 67 | #!/bin/bash
convert icon.svg -size 16x16 ../extension/icon-16.png
convert icon.svg -size 48x48 ../extension/icon-48.png
convert icon.svg -size 128x128 ../extension/icon-128.png
| 21,200 |
https://github.com/bagel-man/bagel-man.github.io/blob/master/eaglercraftx-1.8-main/gateway/PlaceholderServer/src/main/java/net/lax1dude/eaglercraft/v1_8/placeholder_server/PlaceholderServerConfig.java | Github Open Source | Open Source | LicenseRef-scancode-proprietary-license | 2,023 | bagel-man.github.io | bagel-man | Java | Code | 678 | 2,152 | package net.lax1dude.eaglercraft.v1_8.placeholder_server;
import java.io.ByteArrayOutputStream;
import java.io.DataOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io... | 19,266 |
https://github.com/seznam/ima/blob/master/packages/create-ima-app/template/ts/app/page/home/HomeView.tsx | Github Open Source | Open Source | MIT | 2,023 | ima | seznam | TSX | Code | 178 | 499 | import { useSettings, useLocalize } from '@ima/react-page-renderer';
import { Card } from 'app/component/card/Card';
import { CardData } from 'app/page/home/HomeController';
import { useState, useEffect } from 'react';
import './homeView.less';
export interface HomeViewProps {
message: string;
name: string;
card... | 36,666 |
https://github.com/cflowe/ACE/blob/master/TAO/orbsvcs/tests/Notify/Persistent_Filter/supplier.cpp | Github Open Source | Open Source | DOC | 2,022 | ACE | cflowe | C++ | Code | 64 | 203 | // -*- C++ -*-
// $Id: supplier.cpp 84685 2009-03-02 22:49:17Z mesnier_p $
#include "Filter.h"
int
ACE_TMAIN (int argc, ACE_TCHAR *argv [])
{
FilterClient client;
try
{
client.init_supplier (argc, argv); //Init the Client
client.run_supplier ();
}
catch (const CORBA::UserException& ue)
... | 8,941 |
https://github.com/ericrbg/lean/blob/master/tests/lean/run/1813.lean | Github Open Source | Open Source | Apache-2.0 | 2,022 | lean | ericrbg | Lean | Code | 149 | 258 | open tactic
example {A B : Type} (f : A -> B) (a b c) (h1 : f a = b) (h2 : f a = c) : false :=
begin
rw h1 at *,
guard_hyp h1 : f a = b,
guard_hyp h2 : b = c,
admit
end
example {A B : Type} (f : A -> B) (a b c) (h1 : f a = b) (h2 : f a = c) : false :=
begin
rw [id h1] at *,
guard_hyp h1 : f a = b,
guard... | 39,807 |
https://github.com/nankasuisui/phaselimiter/blob/master/src/phase_limiter/auto_mastering2.cpp | Github Open Source | Open Source | MIT | 2,022 | phaselimiter | nankasuisui | C++ | Code | 793 | 3,240 | #include "phase_limiter/auto_mastering.h"
#include <cmath>
#include <iostream>
#include <vector>
#include <unordered_map>
#include <sstream>
#include <chrono>
#include <string>
#include <random>
#include <stdexcept>
#include <algorithm>
#include <fstream>
#include <streambuf>
#include <thread>
#include <mutex>
#includ... | 8,166 |
https://github.com/riccardopoiani/recsys_2019/blob/master/src/model/KNN/UserSimilarityRecommender.py | Github Open Source | Open Source | MIT | 2,020 | recsys_2019 | riccardopoiani | Python | Code | 239 | 1,279 | from course_lib.Base.BaseRecommender import BaseRecommender
from course_lib.Base.Recommender_utils import check_matrix, similarityMatrixTopK
from course_lib.Base.BaseSimilarityMatrixRecommender import BaseSimilarityMatrixRecommender
from course_lib.Base.IR_feature_weighting import okapi_BM_25, TF_IDF
import numpy as np... | 36,015 |
https://github.com/maurizioabba/rose/blob/master/src/util/support/FileHelper.h | Github Open Source | Open Source | BSD-3-Clause | 2,019 | rose | maurizioabba | C | Code | 702 | 1,739 | // Consider using $ROSE/src/util/FileSystem.h since that one is documented and uses a proper path type and supports both
// version 2 and version 3 of boost::filesystem.
// UNDER NO CIRCUMSTANCES SHOULD BOOST_FILESYSTEM_VERSION BE SET!!!
//
// The boost::filesystem version is not dependent on which compiler we're usin... | 13,809 |
https://github.com/javimartin22/grupo07spq/blob/master/src/main/java/concesionario/cliente/ventana/comercial/VentanaRegistrarCocheConcesionario.java | Github Open Source | Open Source | Apache-2.0 | 2,020 | grupo07spq | javimartin22 | Java | Code | 577 | 2,401 | package concesionario.cliente.ventana.comercial;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import concesionario.cliente.controller.ComercialController;
import concesionario.datos.CocheConcesionario;
import ja... | 45,292 |
https://github.com/jamoum/JavaScript_Challenges_Solutions/blob/master/hard/repeating-cycle/code.spec.js | Github Open Source | Open Source | MIT | 2,022 | JavaScript_Challenges_Solutions | jamoum | JavaScript | Code | 114 | 366 | const isRepeatingCycle = require('./code');
describe('Tests', () => {
test('Trivially repeating, since array is identical.', () => {
expect(isRepeatingCycle([1, 1, 1, 1], 3)).toEqual(true);
});
test('Trivially repeating, since the cycle length = length of the array.', () => {
expect(isRepeatin... | 37,399 |
https://github.com/gry260/guolina/blob/master/build/paths/vendor.js | Github Open Source | Open Source | MIT | 2,019 | guolina | gry260 | JavaScript | Code | 246 | 783 | var mainBowerFiles = require('main-bower-files');
var config = require('../config');
var rootDir = config.rootDir;
var srcDir = config.srcDir;
var destDir = config.destDir;
var bowerDir = config.bowerDir;
/*******************************************************************************
...Few words about... | 39,902 |
https://github.com/lezaz/lezaz.github.io/blob/master/plugin/site-plugin/src/main/java/com/frankdevhub/site/core/exception/ArgumentIsNullException.java | Github Open Source | Open Source | MIT | 2,021 | lezaz.github.io | lezaz | Java | Code | 15 | 53 | package com.frankdevhub.site.core.exception;
public class ArgumentIsNullException extends BusinessException {
public ArgumentIsNullException(String message) {
super(message);
}
}
| 9,764 |
https://github.com/San3132308912/crypto-accumulators/blob/master/lib/utils/LibConversions.cpp | Github Open Source | Open Source | MIT | 2,021 | crypto-accumulators | San3132308912 | C++ | Code | 510 | 1,465 | /*
* LibConversions2.cpp
*
* Created on: Apr 19, 2013
* Author: etremel
*/
#include <iomanip>
#include <iostream>
#include <sstream>
#include <utils/LibConversions.hpp>
extern const scalar_t bn_n;
using std::dec;
using std::hex;
using std::istringstream;
using std::ostringstream;
using std::setfill;
using... | 50,245 |
https://github.com/klorel/or-tools/blob/master/examples/data/rcpsp/multi_mode/mmlibplus_jall161_1.mm | Github Open Source | Open Source | Apache-2.0 | 2,022 | or-tools | klorel | Objective-C++ | Code | 2,840 | 6,014 | jobs (incl. supersource/sink ): 52
RESOURCES
- renewable : 2 R
- nonrenewable : 4 N
- doubly constrained : 0 D
************************************************************************
PRECEDENCE RELATIONS:
jobnr. #modes #successors successors
1 1 6 2 3 6 7 8 9
2 6 3 14 10 4... | 30,335 |
https://github.com/RussellBTech/angular-starter/blob/master/libs/wizard/src/lib/utils/audit.util.ts | Github Open Source | Open Source | MIT | null | angular-starter | RussellBTech | TypeScript | Code | 270 | 755 | import { Wizard } from '../wizard.models';
import { arrayToRecord } from './misc.util';
const errorAppend = `<Wizard> `;
/**
* Find common mistakes in inputs
*/
export const audit = (sections: Wizard.Section[], pages: Wizard.Page[], routes: Wizard.Route[]) => {
const sectionsRecord = arrayToRecord<Wizard.Section>(... | 45,469 |
https://github.com/CambriconKnight/CNStream/blob/master/modules/ipc/src/server_handler.hpp | Github Open Source | Open Source | Apache-2.0 | 2,020 | CNStream | CambriconKnight | C++ | Code | 473 | 1,099 | /*************************************************************************
* Copyright (C) [2019] by Cambricon, Inc. All rights reserved
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License a... | 49,147 |
https://github.com/envyclient/website/blob/master/app/Http/Controllers/API/AuthController.php | Github Open Source | Open Source | 2,023 | website | envyclient | PHP | Code | 180 | 587 | <?php
namespace App\Http\Controllers\API;
use App\Http\Controllers\Controller;
use App\Http\Resources\UserResource;
use App\Models\User;
use Illuminate\Http\JsonResponse;
use Illuminate\Http\Request;
class AuthController extends Controller
{
public function login(Request $request): UserResource|JsonResponse
... | 5,740 | |
https://github.com/mtn/advent16/blob/master/day19/part1.py | Github Open Source | Open Source | MIT | null | advent16 | mtn | Python | Code | 89 | 238 | #!/usr/bin/env python3
# https://www.youtube.com/watch?v=uCsD3ZGzMgE
inp = 3005290
p2 = 2
while p2 < inp:
p2 *= 2
p2 //= 2
print((inp - p2) * 2 + 1)
# presents = {i: 1 for i in range(inp)}
# nxt = {i:(i+1)%inp for i in range(inp)}
# i = 0
# steps = 0
# while True:
# nx = nxt[i]
# if presents[i]:
# ... | 47,644 |
https://github.com/ossamafayed/ibm-watson-translation/blob/master/controller/translate.js | Github Open Source | Open Source | MIT | null | ibm-watson-translation | ossamafayed | JavaScript | Code | 84 | 396 | const asyncHandler = require("../middleware/async");
const LanguageTranslatorV3 = require('ibm-watson/language-translator/v3');
const {
IamAuthenticator
} = require('ibm-watson/auth');
const languageTranslator = new LanguageTranslatorV3({
authenticator: new IamAuthenticator({
apikey: '7FUUy47uHfIHo06Yw... | 3,217 |
https://github.com/mopsicus/unity-share-plugin-ios-android/blob/master/iOS/Classes/Native/mscorlib_System_Runtime_Serialization_Serializatio2904781384MethodDeclarations.h | Github Open Source | Open Source | MIT | 2,016 | unity-share-plugin-ios-android | mopsicus | C | Code | 164 | 887 | #pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
#include <assert.h>
#include <exception>
// System.Runtime.Serialization.SerializationInfoEnumerator
struct SerializationInfoEnumerator_t2904781384;
// System.Collections.ArrayList
st... | 41,256 |
https://github.com/Altinn/altinncore/blob/master/src/Altinn.Platform/Altinn.Platform.Storage/Storage.Interface/Models/DeleteStatus.cs | Github Open Source | Open Source | BSD-3-Clause | null | altinncore | Altinn | C# | Code | 78 | 183 | using System;
using Newtonsoft.Json;
namespace Altinn.Platform.Storage.Interface.Models
{
/// <summary>
/// Represents metadata about the delete status of an element
/// </summary>
public class DeleteStatus
{
/// <summary>
/// Gets or sets if the element is hard deleted.
//... | 26,042 |
https://github.com/looker-open-source/components/blob/master/packages/components/lib/module/Form/Fields/Field/FloatingLabelField.js | Github Open Source | Open Source | MIT | 2,023 | components | looker-open-source | JavaScript | Code | 483 | 1,388 | import _extends from "@babel/runtime/helpers/extends";
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
const _excluded = ["className", "externalLabel"],
_excluded2 = ["ariaLabelOnly", "children", "detail", "disabled", "hideLabel", "id", "inline", "label", "required", "labelOffse... | 859 |
https://github.com/TCC-SocialNetwork/social_framework/blob/master/lib/social_framework/engine.rb | Github Open Source | Open Source | MIT | 2,016 | social_framework | TCC-SocialNetwork | Ruby | Code | 81 | 426 | module SocialFramework
class Engine < ::Rails::Engine
isolate_namespace SocialFramework
config.autoload_paths += %W(#{config.root}/lib/social_framework/graphs/)
config.autoload_paths += %W(#{config.root}/lib/social_framework/fabrics/)
unless /[\w]+$/.match(Dir.pwd).to_s == "social_framework"
i... | 25,257 |
https://github.com/FinnT730/sandstone/blob/master/dist/variables/index.js | Github Open Source | Open Source | MIT | null | sandstone | FinnT730 | JavaScript | Code | 44 | 121 | "use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var Objective_1 = require("./Objective");
Object.defineProperty(exports, "Objective", { enumerable: true, get: function () { return Objective_1.Objective; } });
var Selector_1 = require("./Selector");
Object.defineProperty(exports, "Selector",... | 45,029 |
https://github.com/eruffaldi/streamhydra/blob/master/rest/setup.py | Github Open Source | Open Source | Apache-2.0 | 2,019 | streamhydra | eruffaldi | Python | Code | 7 | 27 | from distutils.core import setup
import py2exe
setup(console=['hydrastream.py']) | 34,756 |
https://github.com/yaronshahverdi/client-modules/blob/master/packages/gamut/src/Banner/__tests__/Banner-test.tsx | Github Open Source | Open Source | MIT | null | client-modules | yaronshahverdi | TypeScript | Code | 117 | 369 | import { setupEnzyme } from '@codecademy/gamut-tests';
import { IconButton, TextButton } from '../../Button';
import { Banner } from '..';
const onClose = jest.fn();
const onCtaClick = jest.fn();
describe('Banner', () => {
const renderWrapper = setupEnzyme(Banner, {
onClose,
children: 'Hello world',
});
... | 44,430 |
https://github.com/jamie-l-robertson/portfolio/blob/master/src/components/contactPanel/index.tsx | Github Open Source | Open Source | MIT | 2,019 | portfolio | jamie-l-robertson | TypeScript | Code | 152 | 458 | import * as React from "react";
import { Container, Inner } from "@theme";
import { m } from 'framer-motion';
import { useInView } from "react-intersection-observer";
import { prefersReducedMotionContext } from "@stores/reduceMotion.context";
import Heading from "@components/heading";
import CustomLink from "@component... | 12,399 |
https://github.com/Lenscorpx/Etikets-Fret/blob/master/Etikets_Fret/Etikets_Fret/EtiForms/_UserControls/uc_navigateur.Designer.cs | Github Open Source | Open Source | MIT | 2,021 | Etikets-Fret | Lenscorpx | C# | Code | 315 | 1,404 | namespace Etikets_Fret.EtiForms._UserControls
{
partial class uc_navigateur
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
... | 28,801 |
https://github.com/jamzrob/lambdanative/blob/master/modules/ln_store/ln_store-tests.scm | Github Open Source | Open Source | BSD-3-Clause | 2,021 | lambdanative | jamzrob | Scheme | Code | 489 | 1,256 | (unit-test "store-data" "Verify the store sets and returns data properly"
(lambda ()
(define store (make-store (time->timestamp (current-time))))
(define str "this is a string")
(define int 1234)
(define float 3.141526)
(define fraction 1/3)
(define function sin)
(define lst (list (list "a... | 28,957 |
https://github.com/flashultra/openfl/blob/master/test/npm/typescript/openfl/display/ShaderJobTest.ts | Github Open Source | Open Source | MIT, LicenseRef-scancode-free-unknown, CC-BY-NC-SA-3.0, OFL-1.1 | 2,019 | openfl | flashultra | TypeScript | Code | 202 | 554 | import ShaderJob from "openfl/display/ShaderJob";
import * as assert from "assert";
describe ("TypeScript | ShaderJob", function () {
it ("height", function () {
// TODO: Confirm functionality
var shaderJob = new ShaderJob ();
var exists = shaderJob.height;
assert.notEqual (exists, null);
})... | 11,248 |
https://github.com/ucd-library/wine-price-extraction/blob/master/tesseract/rotate/d7h59w-015.r | Github Open Source | Open Source | MIT | 2,021 | wine-price-extraction | ucd-library | R | Code | 3 | 88 | r=0.05
https://sandbox.dams.library.ucdavis.edu/fcrepo/rest/collection/sherry-lehmann/catalogs/d7h59w/media/images/d7h59w-015/svc:tesseract/full/full/0.05/default.jpg Accept:application/hocr+xml
| 9,324 |
https://github.com/popshoplive/react-native-shareplay/blob/master/ios/SharePlay.m | Github Open Source | Open Source | MIT | 2,021 | react-native-shareplay | popshoplive | Objective-C | Code | 23 | 262 | #import <React/RCTBridgeModule.h>
@interface RCT_EXTERN_MODULE(SharePlay, NSObject)
RCT_EXTERN_METHOD(isSharePlayAvailable:(RCTPromiseResolveBlock)resolve
withRejecter:(RCTPromiseRejectBlock)reject)
RCT_EXTERN_METHOD(getInitialSession:(RCTPromiseResolveBlock)resolve
... | 18,341 |
https://github.com/moutainhigh/jia/blob/master/jia-api-admin/src/main/java/cn/jia/isp/common/ErrorConstants.java | Github Open Source | Open Source | MIT | 2,021 | jia | moutainhigh | Java | Code | 82 | 276 | package cn.jia.isp.common;
import cn.jia.core.exception.EsErrorConstants;
/**
* 错误常量
* @author chc
* @date 2017年12月8日 下午2:47:56
*/
public class ErrorConstants extends EsErrorConstants {
/** 用户不存在 */
public static final String USER_NOT_EXIST = "EUSER002";
/** 服务器连接失败 */
public static final String ISP_CONN_F... | 49,216 |
https://github.com/Reimnop/Potassium/blob/master/LeaderAnimator/Ease.cs | Github Open Source | Open Source | MIT | 2,022 | Potassium | Reimnop | C# | Code | 1,406 | 4,010 | using System;
using System.Collections.Generic;
using UnityEngine;
namespace LeaderAnimator
{
public enum Easing
{
Linear,
Instant,
InSine,
OutSine,
InOutSine,
InElastic,
OutElastic,
InOutElastic,
InBack,
OutBack,
InOutBack,
InBounce,
OutBounce,
InOutBounce,
InQuad,
OutQuad,
InOu... | 44,275 |
https://github.com/krpiku20/milis/blob/master/application/core/vendor/shieldon/event-dispatcher/tests/Event/EventDispatcherTest.php | Github Open Source | Open Source | MIT | 2,020 | milis | krpiku20 | PHP | Code | 159 | 553 | <?php
/**
* This file is part of the Shieldon package.
*
* (c) Terry L. <contact@terryl.in>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* php version 7.1.0
*
* @category Web-security
* @package Shieldon
* @author Te... | 14,136 |
https://github.com/monitor1394/LuaBT/blob/master/LuaBT/bt/core/BehaviourTree.lua | Github Open Source | Open Source | MIT | 2,022 | LuaBT | monitor1394 | Lua | Code | 576 | 1,957 | local BehaviourTree = bt.Class("BehaviourTree")
bt.BehaviourTree = BehaviourTree
function BehaviourTree:ctor()
self.id = 0
self.type = nil
self.name = "BehaviourTree"
self.primeNode = nil
self.nodes = {}
self.nodesIndex = {}
self.subTrees = {}
self.debugList = {}
self.rootStatus = ... | 40,808 |
https://github.com/razib1014/BookStorePGT/blob/master/BS_01_D_09_jan_2019_01_30_PM/bsd1.sql | Github Open Source | Open Source | MIT | null | BookStorePGT | razib1014 | SQL | Code | 330 | 1,028 | -- phpMyAdmin SQL Dump
-- version 4.7.9
-- https://www.phpmyadmin.net/
--
-- Host: localhost
-- Generation Time: Jan 09, 2019 at 08:43 AM
-- Server version: 10.1.31-MariaDB
-- PHP Version: 7.0.28
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OL... | 9,658 |
https://github.com/LiMium/mini-vector-android/blob/master/vector/src/test/java/im/vector/util/EmojiTest.kt | Github Open Source | Open Source | Apache-2.0 | 2,020 | mini-vector-android | LiMium | Kotlin | Code | 392 | 3,920 | /*
* Copyright 2018 New Vector Ltd
*
* 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 ... | 21,213 |
https://github.com/mlmaskey/calvin-network-tools/blob/master/nodejs/cmds/updateLibrary.js | Github Open Source | Open Source | MIT | 2,016 | calvin-network-tools | mlmaskey | JavaScript | Code | 186 | 585 | 'use strict';
var exec = require('child_process').exec;
var fs = require('fs');
var path = require('path');
var utils = require('../lib/utils');
var runtimePath = path.join(__dirname, '..','..','HEC_Runtime');
var tmpPath = path.join(utils.getUserHome(),'.HEC_Runtime');
var moved = false;
module.exports = function(... | 20,345 |
https://github.com/arangodb/arangodb/blob/master/3rdParty/boost/1.78.0/boost/geometry/algorithms/detail/buffer/buffer_policies.hpp | Github Open Source | Open Source | BSL-1.0, Apache-2.0, BSD-3-Clause, ICU, Zlib, GPL-1.0-or-later, OpenSSL, ISC, LicenseRef-scancode-gutenberg-2020, MIT, GPL-2.0-only, CC0-1.0, LicenseRef-scancode-autoconf-simple-exception, LicenseRef-scancode-pcre, Bison-exception-2.2, LicenseRef-scancode-public-domain, JSON, BSD-2-Clause, LicenseRef-scancode-unknown-l... | 2,023 | arangodb | arangodb | C++ | Code | 784 | 2,565 | // Boost.Geometry (aka GGL, Generic Geometry Library)
// Copyright (c) 2012-2014 Barend Gehrels, Amsterdam, the Netherlands.
// This file was modified by Oracle on 2017-2020.
// Modifications copyright (c) 2017-2020, Oracle and/or its affiliates.
// Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle
... | 2,706 |
https://github.com/jodavis42/ZeroPhysicsTestbed/blob/master/ZeroLibraries/Common/Utility/Determinism.hpp | Github Open Source | Open Source | MIT | 2,022 | ZeroPhysicsTestbed | jodavis42 | C++ | Code | 97 | 145 | ///////////////////////////////////////////////////////////////////////////////
///
/// Authors: Trevor Sundberg
/// Copyright 2017, DigiPen Institute of Technology
///
///////////////////////////////////////////////////////////////////////////////
#pragma once
namespace Zero
{
// We use this bool globally to set whet... | 7,722 |
https://github.com/narci2010/toceansoft-cas/blob/master/sso-support/sso-support-validate/src/main/java/com/toceansoft/cas/support/validate/imp/mail/MailInformative.java | Github Open Source | Open Source | MIT | null | toceansoft-cas | narci2010 | Java | Code | 207 | 629 | /*
* 版权所有.(c)2010-2018. 拓胜科技
*/
package com.toceansoft.cas.support.validate.imp.mail;
import java.util.Date;
import com.toceansoft.cas.support.validate.Informative;
/**
* @author Narci.Lee
* @date 2018/11/2
* @since
*/
public class MailInformative implements Informative {
//发送邮件的from
private String fr... | 16,093 |
https://github.com/clarartp/twilio-csharp/blob/master/src/Twilio.WinRT/Model/Transcription.cs | Github Open Source | Open Source | Apache-2.0 | null | twilio-csharp | clarartp | C# | Code | 265 | 531 | using System;
namespace Twilio
{
/// <summary>
/// An Transcription instance resource represents a single Twilio Transcription.
/// </summary>
public sealed class Transcription //: TwilioBase
{
/// <summary>
/// Exception encountered during API request
/// </summary>
public RestExc... | 3,851 |
https://github.com/PaloBraga/Helloworld-Python/blob/master/exercicio_pag_65.py | Github Open Source | Open Source | Apache-2.0 | null | Helloworld-Python | PaloBraga | Python | Code | 34 | 98 | print(5+3)
print(10-2)
print(4*2)
print(40/5)
numero= 666
print("O número do chefe Felix é "+ str(numero) + "!")
#como criar comentarios em python, se utiliza o "#", com isso ele ignora a linha em questão.
print("Comentario")
| 11,306 |
https://github.com/zouhirzz/FreeRDP/blob/master/winpr/libwinpr/credui/credui.c | Github Open Source | Open Source | Apache-2.0 | 2,022 | FreeRDP | zouhirzz | C | Code | 319 | 1,002 | /**
* WinPR: Windows Portable Runtime
* Credentials Management UI
*
* Copyright 2012 Marc-Andre Moreau <marcandre.moreau@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
... | 45,478 |
https://github.com/sonamnamgyel/Student-Information-System/blob/master/app/lang/pt/user/user.php | Github Open Source | Open Source | MIT | 2,015 | Student-Information-System | sonamnamgyel | PHP | Code | 58 | 199 | <?php
return array(
/*
|--------------------------------------------------------------------------
| User Language Lines
|--------------------------------------------------------------------------
|
|
*/
'register' => 'Registrar',
'login' => 'Login',
'login_first' =>... | 41,541 |
https://github.com/ankithans/jan-suvidha/blob/master/api/services/gcloud_bucket.js | Github Open Source | Open Source | MIT | 2,021 | jan-suvidha | ankithans | JavaScript | Code | 77 | 263 | const { Storage } = require("@google-cloud/storage");
// const keyFilename = "Jan-Suvidha-523c6c8c68af.json";
const storage = new Storage({
credentials: JSON.parse(process.env.SERVICE_ACCOUNT),
});
// Makes an authenticated API request.
const gcloudUpload = async (file) => {
try {
const bucket = await storage... | 9,074 |
https://github.com/niiknow/lua-script-engine/blob/master/lib/sngin/utils.lua | Github Open Source | Open Source | MIT | 2,017 | lua-script-engine | niiknow | Lua | Code | 189 | 559 | -- our utils lib, nothing here should depend on ngx
-- for ngx stuff, put it inside ngin.lua file
local _M = {}
function _M.trim(str)
if (str == nil) then
return nil
end
return string.match(str, '^%s*(.*%S)') or ''
end
function _M.slugify(str)
if (str == nil) then
return nil
end
str = self.trim(str)
return... | 21,626 |
https://github.com/codyseibert/typr.io/blob/master/client/app/src/snippits/snippits.sass | Github Open Source | Open Source | MIT | 2,021 | typr.io | codyseibert | Sass | Code | 134 | 598 | button.practice
border: 0
font-size: 16px
background-color: #B9D25B
border-radius: 10px
padding: 10px
.glyphicon
margin-right: 10px
position: relative
top: 5px
button.practice:hover
background-color: #98BBCD
button.practice:active
outline: none
button.practice:focus
outline: none
.sni... | 45,489 |
https://github.com/AndreLucyo2/POO_Avaliacao1-Churrasco/blob/master/src/entidades/dao/ConfraternizacaoDAO.java | Github Open Source | Open Source | MIT | null | POO_Avaliacao1-Churrasco | AndreLucyo2 | Java | Code | 247 | 847 | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package entidades.dao;
import bdFake.BancoFake;
import entidades.Confraternizacao;
import java.util.ArrayList;
/**
*
* @author Andr... | 7,420 |
https://github.com/Ranjan-Padhi/pravega/blob/master/controller/src/main/java/io/pravega/controller/store/stream/records/SubscriberSet.java | Github Open Source | Open Source | Apache-2.0 | null | pravega | Ranjan-Padhi | Java | Code | 315 | 1,057 | /**
* Copyright (c) Dell Inc., or its subsidiaries. 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
*/
package ... | 19,465 |
https://github.com/fpl-analytics/gr_crypto/blob/master/scripts/experimental/check_wide.py | Github Open Source | Open Source | MIT | null | gr_crypto | fpl-analytics | Python | Code | 61 | 202 | # -*- coding: utf-8 -*-
"""
Created on Sun Dec 19 15:17:04 2021
@author: Andre
"""
print(os.getcwd())
# Target is wide. Doing some more investigating here.
print(df_filt["Target"].max())
print(df_filt["Target"].min())
plt.hist(df_filt["Target"], bins = 50)
plt.hist(df_filt_norm["Target"], bins = 50)
check = (df_fi... | 27,689 |
https://github.com/HectorRPC/Toggl2Excel/blob/master/Toggl.Ultrawave/Network/Request.cs | Github Open Source | Open Source | BSD-3-Clause | 2,021 | Toggl2Excel | HectorRPC | C# | Code | 87 | 273 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using Toggl.Multivac;
namespace Toggl.Ultrawave.Network
{
internal sealed class Request : IRequest
{
public Either<string, byte[]> Body { get; }
public Uri Endpoint { get; }
public HttpMethod Ht... | 41,052 |
https://github.com/kshivamraj32/Automatic-leaf-infection-identifier/blob/master/classifier.py | Github Open Source | Open Source | MIT | 2,018 | Automatic-leaf-infection-identifier | kshivamraj32 | Python | Code | 460 | 1,773 | # importing required libraries
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
# import support vector classifier
from sklearn.svm import SVC
from sklearn.ensemble import RandomForestClassifier
from sklearn.linear_model import LogisticRegression
from sklearn.neighbors import KNeighborsClassifier... | 48,530 |
https://github.com/kirbyfu/ebook-reader/blob/master/src/styles.scss | Github Open Source | Open Source | BSD-3-Clause | 2,022 | ebook-reader | kirbyfu | SCSS | Code | 117 | 522 | @import "tailwindcss/base";
@import "tailwindcss/components";
@import "tailwindcss/utilities";
@import "./mat";
:root {
--font-color: rgba(0, 0, 0, 0.87);
--background-color: #eceff1;
}
@layer base {
html {
width: 100%;
height: 100%;
}
body {
@apply font-sans;
color: var(--font-color);
... | 50,320 |
https://github.com/amc8391/mage/blob/master/Mage.Sets/src/mage/cards/m/MandateOfPeace.java | Github Open Source | Open Source | MIT | 2,022 | mage | amc8391 | Java | Code | 335 | 1,283 | package mage.cards.m;
import java.util.List;
import java.util.UUID;
import java.util.stream.Stream;
import mage.MageObject;
import mage.abilities.Ability;
import mage.abilities.common.CastOnlyDuringPhaseStepSourceAbility;
import mage.abilities.effects.ContinuousRuleModifyingEffectImpl;
import mage.abilities.effects.E... | 31,094 |
https://github.com/jdrew1303/statechart.ml/blob/master/src/lib/statechart_translator.mli | Github Open Source | Open Source | MIT | 2,017 | statechart.ml | jdrew1303 | OCaml | Code | 6 | 19 | val translate : Statechart_t.document -> Statechart_executable.document
| 27,061 |
https://github.com/stephenlawrence/gravity/blob/master/lib/ops/opsservice/logforwarders.go | Github Open Source | Open Source | Apache-2.0 | 2,022 | gravity | stephenlawrence | Go | Code | 957 | 2,873 | /*
Copyright 2018 Gravitational, Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, soft... | 43,634 |
https://github.com/pakbkdn/guitardanang/blob/master/resources/views/page/partials/sidebar.blade.php | Github Open Source | Open Source | MIT | 2,018 | guitardanang | pakbkdn | Blade | Code | 78 | 503 | <div class="mega-container visible-lg visible-md">
<div class="navleft-container">
<div class="mega-menu-title"><h3>DANH MỤC SẢN PHẨM <span class="glyphicon glyphicon-list"></span> </h3></div>
<div class="mega-menu-category">
<ul class="nav">
@foreach($categories as $cate... | 10,929 |
https://github.com/UniAlteri/statesBundle/blob/master/src/symfony/DependencyInjection/TeknooStatesExtension.php | Github Open Source | Open Source | MIT | null | statesBundle | UniAlteri | PHP | Code | 200 | 566 | <?php
/**
* StatesBundle.
*
* LICENSE
*
* This source file is subject to the MIT license and the version 3 of the GPL3
* license that are bundled with this package in the folder licences
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an emai... | 8,980 |
https://github.com/franneck94/UdemyCppExt_Template/blob/master/08_OOP/Shapes/distance.hpp | Github Open Source | Open Source | MIT | null | UdemyCppExt_Template | franneck94 | C++ | Code | 19 | 74 | #pragma once
#include <cmath>
#include <cstdint>
double get_distance(const std::uint32_t x1,
const std::uint32_t y1,
const std::uint32_t x2,
const std::uint32_t y2);
| 36,214 |
https://github.com/HanweeeeLee/TestModules/blob/master/WebViewToolBar/WebViewToolBar/ViewController.swift | Github Open Source | Open Source | MIT | 2,021 | TestModules | HanweeeeLee | Swift | Code | 55 | 150 | //
// ViewController.swift
// WebViewToolBar
//
// Created by hanwe on 2020/12/15.
//
import UIKit
class ViewController: UIViewController {
override func viewDidLoad() {
super.viewDidLoad()
// Do any additional setup after loading the view.
}
@IBAction func action(_ sender: Any) {
... | 32,721 |
https://github.com/sawyer123456/VUE/blob/master/src/views/swt/index.vue | Github Open Source | Open Source | MIT | null | VUE | sawyer123456 | Vue | Code | 166 | 833 | <template>
<div class="app-container" style="width:500px; margin-left:200px; margin-top:50px;">
<el-form ref="form" :model="form" label-width="180px">
<el-form-item label="联系人编号">
<el-input v-model="form.ctId" minlength="3"/>
</el-form-item>
<el-form-item label="联系人名">
<el-input... | 11,816 |
https://github.com/YiDianerer/mySql-Tool/blob/master/MySqlTool/Class/Tree.cs | Github Open Source | Open Source | Apache-2.0 | 2,020 | mySql-Tool | YiDianerer | C# | Code | 251 | 981 | using System;
using System.Drawing;
using System.Windows.Forms;
namespace MySqlTool.Class
{
public abstract class Tree
{
public static void Expand(TreeNode treeNode, int level)
{
treeNode.Expand();
int num = 0;
foreach (TreeNode treeNode2 in treeNode.Nodes)
{
if (++num > level)
{
break;
... | 4,740 |
https://github.com/brigade/dock/blob/master/test/environment/dock_force_destroy.bash | Github Open Source | Open Source | Apache-2.0 | 2,019 | dock | brigade | Shell | Code | 106 | 291 | #!/usr/bin/env bats
load ../utils
setup() {
destroy_all_containers
original_dir="$(pwd)"
cd "$(create_repo my-project)"
}
teardown() {
cd "${original_dir}"
}
@test "when DOCK_FORCE_DESTROY environment variable specified it destroys already-running container" {
file .dock <<-EOF
image alpine:latest
EOF
... | 30,471 |
https://github.com/yuaom/LiteGui/blob/master/LiteGui/Control/LGuiWindow.cs | Github Open Source | Open Source | MIT | 2,021 | LiteGui | yuaom | C# | Code | 546 | 2,134 | using System.Collections.Generic;
using LiteGui.Graphics;
namespace LiteGui.Control
{
internal static class LGuiWindow
{
private static readonly Dictionary<int, LGuiWindowContext> WindowList_ = new Dictionary<int, LGuiWindowContext>();
private static readonly List<int> SortedWindowID_ = new Li... | 2,186 |
https://github.com/themeteorchef/building-a-nested-comments-feature/blob/master/code/imports/ui/components/Comment/Comment.scss | Github Open Source | Open Source | MIT | 2,019 | building-a-nested-comments-feature | themeteorchef | SCSS | Code | 84 | 296 | @import '../../stylesheets/colors';
.Comment {
list-style: none;
.deleted {
padding: 15px;
margin: 0;
color: $gray-light;
font-style: italic;
}
}
.Comment__author-date {
margin: 0 0 15px;
padding-bottom: 15px;
border-bottom: 1px solid $gray-lighter;
.name {
margin-right: 7px;
}
... | 17,758 |
https://github.com/steinarb/ukelonn/blob/master/ukelonn.web.frontend/src/main/frontend/sagas/modifyuserSaga.js | Github Open Source | Open Source | Apache-2.0 | 2,020 | ukelonn | steinarb | JavaScript | Code | 72 | 258 | import { takeLatest, call, put } from 'redux-saga/effects';
import axios from 'axios';
import {
MODIFY_USER_REQUEST,
MODIFY_USER_RECEIVE,
MODIFY_USER_FAILURE,
} from '../actiontypes';
// watcher saga
export function* requestModifyUserSaga() {
yield takeLatest(MODIFY_USER_REQUEST, receiveModifyUserSaga)... | 23,657 |
https://github.com/coderserdar/CSharpHelperMethods/blob/master/SourceCode/CSharpHelperMethods/YardimciSiniflar/KisiIslemleri.cs | Github Open Source | Open Source | Apache-2.0 | 2,022 | CSharpHelperMethods | coderserdar | C# | Code | 423 | 1,369 | using System;
using System.Text;
using System.Text.RegularExpressions;
namespace CSharpHelperMethods.YardimciSiniflar
{
/// <summary>
/// Kişi ile ilişkili yardımcı metotların tamamını içeren sınıf
/// </summary>
public static class KisiIslemleri
{
/// <summary>
/// Girilen TC Kiml... | 20,700 |
https://github.com/pkudrel/Sabot/blob/master/src/Backup/Program.cs | Github Open Source | Open Source | MIT | null | Sabot | pkudrel | C# | Code | 258 | 956 | using System;
using System.Data.SqlClient;
using System.IO;
using System.Linq;
using System.Text;
using Microsoft.SqlServer.Management.Common;
using Microsoft.SqlServer.Management.Smo;
namespace Backup
{
internal class Program
{
private static void Main(string[] args)
{
if (args ==... | 37,132 |
https://github.com/apache/jena/blob/master/jena-arq/src/main/java/org/apache/jena/sparql/util/IsoMatcher.java | Github Open Source | Open Source | BSD-3-Clause, Apache-2.0 | 2,023 | jena | apache | Java | Code | 387 | 1,012 | /**
* 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... | 37,268 |
https://github.com/Jonathan1214/myCollege/blob/master/VerilogHDL/chapter2/Ripple_Add.v | Github Open Source | Open Source | MIT | 2,020 | myCollege | Jonathan1214 | Verilog | Code | 11 | 35 | module Ripple_Add;
FA fa0;
FA fa1;
FA fa2;
FA fa3;
endmodule | 36,007 |
https://github.com/MartinDolenc/Programiranje-2-izpit/blob/master/hello/src/hello/SestejBesede.java | Github Open Source | Open Source | MIT | 2,018 | Programiranje-2-izpit | MartinDolenc | Java | Code | 87 | 341 | package hello;
import java.io.BufferedReader;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
import java.io.PrintWriter;
public class SestejBesede {
// Vržeš txt file v hello folder (project folder)
public static void main(String[] args) throws IOException {
System.out.printl... | 11,364 |
https://github.com/LiXiaoRan/Gephi_improved/blob/master/modules/UIComponents/src/main/java/org/gephi/ui/components/richtooltip/JRichTooltipPanel.java | Github Open Source | Open Source | Apache-2.0, CDDL-1.0, GPL-3.0-only, GPL-1.0-or-later, LicenseRef-scancode-unknown-license-reference, LicenseRef-scancode-free-unknown | 2,019 | Gephi_improved | LiXiaoRan | Java | Code | 421 | 957 | /*
Copyright 2008-2010 Gephi
Authors : Mathieu Bastian <mathieu.bastian@gephi.org>
Website : http://www.gephi.org
This file is part of Gephi.
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
Copyright 2011 Gephi Consortium. All rights reserved.
The contents of this file are subject to the terms of either th... | 5,536 |
https://github.com/04116/copa-backend/blob/master/src/api/team/team.repository.ts | Github Open Source | Open Source | Apache-2.0 | 2,020 | copa-backend | 04116 | TypeScript | Code | 76 | 206 | import { EntityRepository, Repository } from "typeorm"
import { Team } from "./team.entity"
import { Tournament } from "../tournament/tournament.entity"
@EntityRepository(Team)
export class TeamRepository extends Repository<Team> {
async findAll(tournament: Tournament): Promise<Team[]> {
// const total = await ... | 21,248 |
https://github.com/isabella232/accumulo/blob/master/server/monitor/src/main/java/org/apache/accumulo/monitor/servlets/MasterServlet.java | Github Open Source | Open Source | Apache-2.0 | 2,019 | accumulo | isabella232 | Java | Code | 854 | 2,984 | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | 41,135 |
https://github.com/EmmyLua/IntelliJ-EmmyLua/blob/master/src/main/java/com/tang/intellij/lua/debugger/LuaDebuggerEvaluator.kt | Github Open Source | Open Source | Apache-2.0 | 2,023 | IntelliJ-EmmyLua | EmmyLua | Kotlin | Code | 299 | 879 | /*
* Copyright (c) 2017. tangzx(love.tangzx@qq.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable l... | 17,470 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.