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/sealuzh/Permo/blob/master/Permo/src/ch/uzh/ifi/seal/permo/common/ui/viewmodel/AbstractStatefulViewModel.java | Github Open Source | Open Source | LicenseRef-scancode-warranty-disclaimer, Apache-2.0, LicenseRef-scancode-unknown-license-reference | 2,015 | Permo | sealuzh | Java | Code | 432 | 868 | /*******************************************************************************
* Copyright 2015 Software Evolution and Architecture Lab, University of Zurich
*
* 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 ... | 16,407 |
https://github.com/LimeFinance/lime-app/blob/master/functions/src/utils.ts | Github Open Source | Open Source | Apache-2.0 | null | lime-app | LimeFinance | TypeScript | Code | 281 | 913 | import BN from "bn.js";
import { AbiItem } from "web3-utils";
import { ADDRESSES, DEFAULT_NET, ONE_ETHER } from "./constants";
import { pancakeRouter } from "./contracts";
import { IPool } from "./interfaces";
import IPancakePair from "./abis/IPancakePair.json";
import { web3 } from "./contracts";
const addresses = AD... | 8,030 |
https://github.com/kwabena-aboah/adma/blob/master/Procfile | Github Open Source | Open Source | MIT | 2,022 | adma | kwabena-aboah | null | Spoken | 5 | 16 | web: gunicorn adma.wsgi --log-file - | 17,840 |
https://github.com/homesettler/CK2dll/blob/master/Plugin/Misc.cpp | Github Open Source | Open Source | MIT | 2,018 | CK2dll | homesettler | C++ | Code | 104 | 761 | #include "stdinc.h"
#include "byte_pattern.h"
namespace Misc {
/*-----------------------------------------------*/
errno_t dateOrder_hook(CK2Version version) {
std::string desc = "date order fix";
switch (version) {
case v2_8_X:
byte_pattern::temp_instance().find_pattern("64 20 77 20 6D 77 20 2C");
if ... | 29,135 |
https://github.com/nullog/TravisForAndroid/blob/master/app/src/jvmTestsCommon/java/es/guillermoorellana/travisforandroid/TravisDroidRobolectricTestRunner.java | Github Open Source | Open Source | Apache-2.0 | 2,016 | TravisForAndroid | nullog | Java | Code | 217 | 555 | /*
* Copyright 2015 Guillermo Orellana Ruiz
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law o... | 38,220 |
https://github.com/PailletJuanPablo/GestionRRHH/blob/master/resources/assets/scss/util/_background.scss | Github Open Source | Open Source | MIT | 2,018 | GestionRRHH | PailletJuanPablo | SCSS | Code | 296 | 1,106 | /* ---------------------------------------------- */
/* ############### 7.1 Background ############### */
/* ---------------------------------------------- */
.bg-transparent { background-color: transparent; }
.bg-gray-100 { background-color: $gray-100; }
.bg-gray-200 { background-color: $gray-200; }
.bg-gray-300 { b... | 47,199 |
https://github.com/glamod/glamod-nuim/blob/master/r202106_ghcnd_to_cdm/Step2_cdmmake/Subroutine/total_counts_recordnumber2.f | Github Open Source | Open Source | BSD-3-Clause | null | glamod-nuim | glamod | null | Spoken | 308 | 2,523 | c Subroutine to get record number
c AJ_Kettle, 19Dec2018
SUBROUTINE total_counts_recordnumber2(l_timestamp_rgh,l_timestamp,
+ s_prcp_recordnumber,s_tmin_recordnumber,s_tmax_recordnumber,
+ s_tavg_recordnumber,s_snwd_recordnumber,s_snow_recordnumber,
+ s_awnd_recordnumber,s_awdr_re... | 2,553 |
https://github.com/prateekguptaiiitk/Codechef/blob/master/LTIME58B/FRK/frk.cpp | Github Open Source | Open Source | MIT | 2,019 | Codechef | prateekguptaiiitk | C++ | Code | 156 | 473 | #include <algorithm>
#include <iostream>
#include <bits/stdc++.h>
#define ll long long
#define boost ios_base::sync_with_stdio(false);cin.tie(NULL);cout.tie(NULL);
#define ff first
#define ss second
#define sqr(a) ((a) * (a))
#define pb push_back
#define pf push_front
#define mp make_pair
// GCD - __gcd(n1, n2)
// Co... | 18,687 |
https://github.com/BeastNeedsMoreTorque/Distribution/blob/master/i/ibm-mobilefirst/src/main/scala/typings/ibmMobilefirst/global/WL/Trusteer.scala | Github Open Source | Open Source | MIT | 2,020 | Distribution | BeastNeedsMoreTorque | Scala | Code | 30 | 173 | package typings.ibmMobilefirst.global.WL
import typings.ibmMobilefirst.WL.ResponseHandler
import typings.ibmMobilefirst.WL.Trusteer.AssetmentRisks
import scala.scalajs.js
import scala.scalajs.js.`|`
import scala.scalajs.js.annotation._
@JSGlobal("WL.Trusteer")
@js.native
object Trusteer extends js.Object {
def getR... | 16,335 |
https://github.com/krillzip/diatheke/blob/master/Cli/Command/DiathekeListCommand.php | Github Open Source | Open Source | MIT | 2,014 | diatheke | krillzip | PHP | Code | 392 | 1,512 | <?php
/*
* (c) Kristoffer Paulsson <krillzip@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Krillzip\Diatheke\Cli\Command;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\In... | 32,450 |
https://github.com/Coobaha/suomea/blob/master/server/src/routes/suomea/suomea_types.ts | Github Open Source | Open Source | MIT | 2,022 | suomea | Coobaha | TypeScript | Code | 26 | 64 | export type MyImage = {
// uid: number;
// score: number;
name: string;
// url: string;
// thumb: string;
thumb_large: string;
width: number;
height: number;
};
| 25,635 |
https://github.com/paws-r/paws/blob/master/cran/paws/man/dynamodbstreams.Rd | Github Open Source | Open Source | Apache-2.0 | 2,023 | paws | paws-r | R | Code | 476 | 1,395 | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/paws.R
\name{dynamodbstreams}
\alias{dynamodbstreams}
\title{Amazon DynamoDB Streams}
\usage{
dynamodbstreams(
config = list(),
credentials = list(),
endpoint = NULL,
region = NULL
)
}
\arguments{
\item{config}{Optional configuration ... | 10,155 |
https://github.com/huyngocpham38/HerokuLaravel/blob/master/app/Http/Controllers/Client/HomepageController.php | Github Open Source | Open Source | MIT | 2,018 | HerokuLaravel | huyngocpham38 | PHP | Code | 44 | 176 | <?php
namespace App\Http\Controllers\Client;
use App\Category;
use App\Product;
use App\UserMember;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
class HomepageController extends Controller
{
public function index(){
$product = Category::all();
return view('client.layoutHomepa... | 49,922 |
https://github.com/Happyr/match-api-client/blob/master/src/Api/Workplace.php | Github Open Source | Open Source | MIT, LicenseRef-scancode-unknown-license-reference | 2,022 | match-api-client | Happyr | PHP | Code | 252 | 861 | <?php
declare(strict_types=1);
namespace HappyrMatch\ApiClient\Api;
use HappyrMatch\ApiClient\Exception;
use HappyrMatch\ApiClient\Model\Workplace\Workplace as Model;
use HappyrMatch\ApiClient\Model\Workplace\WorkplaceCollection;
use Psr\Http\Message\ResponseInterface;
use Webmozart\Assert\Assert;
/**
* @author To... | 37,094 |
https://github.com/mimietti/Labyball/blob/master/Labyrint/Temp/il2cppOutput/il2cppOutput/UnityEngine_UnityEngine_AnimatorClipInfo4255364242MethodDeclarations.h | Github Open Source | Open Source | MIT | null | Labyball | mimietti | C | Code | 80 | 533 | #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>
#include "codegen/il2cpp-codegen.h"
// Methods for marshaling
struct AnimatorClipInfo_t4255364242;
struct AnimatorClipInfo_t4255364242_mars... | 32,535 |
https://github.com/doug-dianomic/fledge/blob/master/scripts/plugins/storage/sqlite/upgrade/23.sql | Github Open Source | Open Source | Apache-2.0 | 2,022 | fledge | doug-dianomic | SQL | Code | 124 | 330 | CREATE TABLE new_readings (
id INTEGER PRIMARY KEY AUTOINCREMENT,
asset_code character varying(50) NOT NULL, -- The provided asset code. Not necessarily located in the
-- asset... | 17,651 |
https://github.com/plum-umd/oo/blob/master/2/www/lectures/30.scrbl | Github Open Source | Open Source | AFL-3.0 | null | oo | plum-umd | null | Spoken | 9 | 97 | #lang scribble/manual
@(require "../utils.rkt")
@lecture-title[30]{Random access and ArrayLists}
@link["https://umd.hosted.panopto.com/Panopto/Pages/Viewer.aspx?id=4aa3c7ea-2ad2-403f-9e6c-a8c1012365ba"]{Video}. | 50,995 |
https://github.com/ffan-fe/fancyui/blob/master/lib/tool/isDom.js | Github Open Source | Open Source | BSD-3-Clause, BSD-2-Clause | 2,019 | fancyui | ffan-fe | JavaScript | Code | 36 | 72 |
export default (typeof HTMLElement === 'object') ?
function (obj) {
return obj instanceof HTMLElement;
} :
function (obj) {
return obj && typeof obj === 'object' && obj.nodeType === 1 && typeof obj.nodeName === 'string';
} | 6,531 |
https://github.com/3bdoselim/final_project/blob/master/database/migrations/2020_10_21_020259_create_branch_order_details_table.php | Github Open Source | Open Source | MIT | null | final_project | 3bdoselim | PHP | Code | 55 | 227 | <?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateBranchOrderDetailsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('bran... | 48,607 |
https://github.com/tkoyama010/mayavi-doc-translations/blob/master/.gitmodules | Github Open Source | Open Source | Apache-2.0 | 2,023 | mayavi-doc-translations | tkoyama010 | Git Config | Code | 8 | 32 | [submodule "mayavi"]
path = mayavi
url = https://github.com/enthought/mayavi.git
| 38,105 |
https://github.com/torunxxx001/BookCollectionSystem/blob/master/Hardware/src/screen/display.hpp | Github Open Source | Open Source | MIT | null | BookCollectionSystem | torunxxx001 | C++ | Code | 80 | 333 | #ifndef __DISPLAY_HPP__
#define __DISPLAY_HPP__
#include "board_io.hpp"
#include <gd.h>
#include <pthread.h>
#include <memory>
//継承可能
class display {
private:
double fps;
//スレッド関連
pthread_t thread_handle;
int is_running;
int terminate;
gdImagePtr image; //画面パレット
//gdImagePtr imageの2次元配列->1次元配列ポインタ用
std::un... | 18,727 |
https://github.com/r2d2m/core/blob/master/Editor/Renderer/EditorTimer.cs | Github Open Source | Open Source | MIT | 2,022 | core | r2d2m | C# | Code | 49 | 110 | using ReactUnity.Scheduling;
using UnityEditor;
namespace ReactUnity.Editor
{
public class EditorTimer : ITimer
{
private static EditorTimer instance;
public static EditorTimer Instance => instance = instance ?? new EditorTimer();
public float AnimationTime => (float) EditorApplication... | 1,409 |
https://github.com/Hendrikto/jena/blob/master/jena-arq/src/main/java/org/apache/jena/system/ThreadTxn.java | Github Open Source | Open Source | Apache-2.0 | null | jena | Hendrikto | Java | Code | 488 | 1,006 | /*
* 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 ... | 19,691 |
https://github.com/ShakexIngwu/keke/blob/master/webullmodel/model_alert.go | Github Open Source | Open Source | Apache-2.0 | null | keke | ShakexIngwu | Go | Code | 45 | 139 | /*
* Webull API
*
* Webull API Documentation
*
* API version: 3.0.1
* Contact: austin.millan@gmail.com
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
*/
package webullmodel
// Alert struct for Alert
type Alert struct {
EventWarning AlertEventWarning `json:"eventWarning,omitempty"`
TickerW... | 2,882 |
https://github.com/HerculesShek/cpp-practise/blob/master/src/ch6/return/demo03.cc | Github Open Source | Open Source | MIT | 2,014 | cpp-practise | HerculesShek | C++ | Code | 41 | 122 | #include <iostream>
#include <string>
using namespace std;
int odd[5] = {1,3,5,7,9};
int even[5] = {0,2,4,6,8};
auto hhh(int i) -> int(*)[5]
{
return (i%2 == 0) ? &even : &odd;
}
int main()
{
cout << *hhh(2)[0] << endl;
return 0;
}
| 16,246 |
https://github.com/qianggui/USTC-CS-Courses-Resource/blob/master/计算机与信息类/物联网导论/QRCode/encode/QRCode/src/qrcode/QRCodeV30.cpp | Github Open Source | Open Source | MIT | 2,019 | USTC-CS-Courses-Resource | qianggui | C++ | Code | 337 | 1,734 | /*
* QR Code Generator
* Copyright (C) 2014 Stefano BARILETTI <hackaroth@gmail.com>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option... | 49,081 |
https://github.com/SuprGames/sqs-wrapper/blob/master/src/main/kotlin/io/suprgames/sqs/SqsEvent.kt | Github Open Source | Open Source | MIT | 2,020 | sqs-wrapper | SuprGames | Kotlin | Code | 169 | 308 | package io.suprgames.sqs
import io.suprgames.kjson.kJsonMapper
/**
* Interface that defines what needs to be in an event that is going to be enqueued in the EventManager Sqs queue
*/
interface SqsEvent {
/**
* Unique identifier used to trace the movement of the event
*/
val traceId: String
/... | 3,473 |
https://github.com/fredericosetra/acessibilidadeFonte/blob/master/assets/js/fonte.js | Github Open Source | Open Source | Unlicense | null | acessibilidadeFonte | fredericosetra | JavaScript | Code | 45 | 141 | function fonte(e) {
var elemento = $(".acessibilidade");
var fonte = parseInt(elemento.css("font-size"));
var body = $("body");
const fonteNormal = parseInt(body.css("font-size"));
if (e == "aumentar") {
fonte++;
}
if (e == "diminuir") {
fonte--;
}
if (e == "fontePadrao") {
fonte = fonte... | 33,287 |
https://github.com/GodOfKebab/DJI-Mavic-Line-Follow-IOS-App/blob/master/FPVDemo/FPVViewController.swift | Github Open Source | Open Source | MIT | 2,019 | DJI-Mavic-Line-Follow-IOS-App | GodOfKebab | Swift | Code | 708 | 2,588 |
import UIKit
import DJIWidget
import DJISDK
import CoreImage
import DJIUXSDK
//import GPUImage
class FPVViewController: UIViewController, DJICameraDelegate, VideoFrameProcessor, DJISDKManagerDelegate {
////////////////////////////////////////VARIABLES//////////////////////////////////////////////////
var Took... | 26,654 |
https://github.com/systemVerilogExtractor/exampleProjects/blob/master/systemverilog-develop/tests/parsertests/struct/test.sv | Github Open Source | Open Source | MIT | 2,018 | exampleProjects | systemVerilogExtractor | null | Spoken | 10 | 25 | typedef struct {
foo_t foo;
longint unsigned bar;
} yo_t;
| 4,044 |
https://github.com/manti-by/Openchain/blob/master/openchain/models/factory.py | Github Open Source | Open Source | BSD-2-Clause | 2,019 | Openchain | manti-by | Python | Code | 61 | 242 | class ModelFactory:
@staticmethod
def get_model(name):
from openchain.models.block import Block
from openchain.models.blockchain import Blockchain
from openchain.models.client import Client
from openchain.models.transaction import Transaction
from openchain.models.wallet... | 3,994 |
https://github.com/shuixi2013/strong-frida/blob/master/patch/frida-core/0007-thread_gmain.patch | Github Open Source | Open Source | Apache-2.0 | 2,021 | strong-frida | shuixi2013 | null | Spoken | 96 | 394 | From 71d916705f3694adbd51de8b54bbd26c5697767d Mon Sep 17 00:00:00 2001
From: hluwa <hluwa888@gmail.com>
Date: Sat, 19 Dec 2020 01:43:38 +0800
Subject: [PATCH 7/8] thread_gmain
---
src/anti-anti-frida.py | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/src/anti-anti-frida.py b/src/anti-anti-frida.py
index 785... | 48,183 |
https://github.com/pderakhshanfar/EMSE-BBC-experiment/blob/master/results/Closure-110/com.google.javascript.rhino.Node/BBC-F0-opt-50/tests/2/com/google/javascript/rhino/Node_ESTest.java | Github Open Source | Open Source | CC-BY-4.0, MIT | 2,022 | EMSE-BBC-experiment | pderakhshanfar | Java | Code | 20,000 | 64,899 | /* * This file was automatically generated by EvoSuite * Mon Oct 18 08:07:51 GMT 2021 */ package com.google.javascript.rhino; import org.junit.Test; import static org.junit.Assert.*; import static org.evosuite.shaded.org.mockito.Mockito.*; import static org.evosuite.runtime.EvoAssertions.*; import com.google.common.col... | 10,408 |
https://github.com/srijan-deepsource/driftctl/blob/master/pkg/resource/aws/aws_sqs_queue.go | Github Open Source | Open Source | Apache-2.0 | 2,021 | driftctl | srijan-deepsource | Go | Code | 6 | 24 | package aws
const AwsSqsQueueResourceType = "aws_sqs_queue"
| 28,295 |
https://github.com/dotnet/dotnet-api-docs/blob/master/snippets/csharp/System.Globalization/CultureInfo/Parent/parentculture.cs | Github Open Source | Open Source | MIT, CC-BY-4.0 | 2,023 | dotnet-api-docs | dotnet | C# | Code | 149 | 466 | // The following code example displays the parent culture of each specific culture using the Chinese language.
// <snippet1>
using System;
using System.Globalization;
public class SamplesCultureInfo
{
public static void Main()
{
// Prints the header.
Console.WriteLine("SPECIFIC CULTURE ... | 30,063 |
https://github.com/supatsaraporn/Game-3D-Godot/blob/master/Game new/.import/dg8.jpg-420c3576d1849967ddaf79ebc764151a.md5 | Github Open Source | Open Source | MIT | 2,020 | Game-3D-Godot | supatsaraporn | null | Spoken | 2 | 54 | source_md5="e3ea02030098663ec35803495c2fe859"
dest_md5="2b02bc9b739a00e15fe7ef045b9494f3"
| 9,281 |
https://github.com/DanielVip3/lasso-marko-taglib/blob/master/test/autotests/taglib/meta-dependencies/test.js | Github Open Source | Open Source | MIT | 2,020 | lasso-marko-taglib | DanielVip3 | JavaScript | Code | 29 | 116 | var expect = require('chai').expect;
require('marko/node-require');
exports.getLassoConfig = function () {
return {
bundlingEnabled: false,
fingerprintsEnabled: false,
plugins: [
require('lasso-marko')
]
};
};
exports.check = function (html) {
expect(html).to.contain('/components/my-compo... | 1,374 |
https://github.com/L2LBREANDTEAMS/YetiForceCRM/blob/master/modules/Products/actions/SubProducts.php | Github Open Source | Open Source | MIT | 2,020 | YetiForceCRM | L2LBREANDTEAMS | PHP | Code | 154 | 493 | <?php
/* +***********************************************************************************
* The contents of this file are subject to the vtiger CRM Public License Version 1.0
* ("License"); You may not use this file except in compliance with the License
* The Original Code is: vtiger CRM Open Source
* The Init... | 27,888 |
https://github.com/JoseMariaBernad/iextrading4j/blob/master/iextrading4j-client/src/main/java/pl/zankowski/iextrading4j/client/mapper/DividendTypeIdSerializer.java | Github Open Source | Open Source | Apache-2.0 | 2,021 | iextrading4j | JoseMariaBernad | Java | Code | 18 | 149 | package pl.zankowski.iextrading4j.client.mapper;
import pl.zankowski.iextrading4j.api.refdata.DividendTypeId;
import static pl.zankowski.iextrading4j.client.mapper.DividendTypeIdDeserializer.DIVIDEND_TYPE_ID_MAPPER;
class DividendTypeIdSerializer extends AbstractEnumSerializer<DividendTypeId> {
DividendTypeIdSe... | 44,275 |
https://github.com/tabinfl/sqan/blob/master/app/src/main/java/org/sofwerx/sqan/manet/bt/helper/BTSocket.java | Github Open Source | Open Source | Apache-2.0 | 2,020 | sqan | tabinfl | Java | Code | 1,959 | 6,141 | package org.sofwerx.sqan.manet.bt.helper;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.StringWriter;
import java.nio.ByteBuffer;
import java.util.ArrayList;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concur... | 9,617 |
https://github.com/remche/xhealth/blob/master/cmd/check.go | Github Open Source | Open Source | Apache-2.0 | null | xhealth | remche | Go | Code | 95 | 360 | package cmd
import (
"fmt"
"log"
"math/big"
"github.com/remche/xhealth/lib"
"github.com/spf13/cobra"
)
var checkCmd = &cobra.Command{
Use: "check",
Short: "One time check",
Long: `Runs a one-time check of the xLend health factor`,
Annotations: map[string]string{"check_args": "yes"},
Pe... | 37,407 |
https://github.com/mordentral/VRExpansionPlugin/blob/master/VRExpansionPlugin/Source/VRExpansionPlugin/Public/VRCharacter.h | Github Open Source | Open Source | MIT | 2,023 | VRExpansionPlugin | mordentral | C++ | Code | 232 | 602 | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "VRBaseCharacter.h"
#include "VRCharacter.generated.h"
class UVRRootComponent;
DECLARE_LOG_CATEGORY_EXTERN(LogVRCharacter, Log, All);
UCLASS()
class VREXPANSIONPLUGIN_API AVRCharacter : publ... | 9,321 |
https://github.com/cgcardona/earth/blob/master/blockchain/src/lib.rs | Github Open Source | Open Source | MIT | 2,022 | earth | cgcardona | Rust | Code | 32 | 82 | mod block;
mod header;
mod prevout;
mod script;
mod transaction;
mod txinput;
mod txoutput;
pub use block::Block;
pub use header::Header;
pub use prevout::PrevOut;
pub use transaction::Transaction;
pub use txinput::TxInput;
pub use txoutput::TxOutput;
| 51,159 |
https://github.com/aliyun/alibabacloud-console-design/blob/master/packages/build-tools/console-toolkit-plugin-xconsole/generators/xconsole/templates/src/pages/overview/_components/index.scoped.less | Github Open Source | Open Source | MIT | 2,022 | alibabacloud-console-design | aliyun | Less | Code | 17 | 60 | .stat-card {
margin-top: 10px;
}
.count {
font-size: 28px;
color: #262626;
}
.icon {
margin-right: 8px;
}
| 20,204 |
https://github.com/RoomOfToy/raft/blob/master/message.go | Github Open Source | Open Source | MIT | 2,020 | raft | RoomOfToy | Go | Code | 374 | 1,107 | package raft
import (
"bytes"
"encoding/gob"
)
type Message interface {
Source() int
Dest() int
Term() int
}
func init() {
gob.Register(AppendEntries{})
gob.Register(AppendEntriesResponse{})
gob.Register(RequestVote{})
gob.Register(RequestVoteResponse{})
}
func Encode(msg Message) ([]byte, error) {
var bu... | 21,634 |
https://github.com/yansheng836/jsoup-test/blob/master/src/main/java/xyz/yansheng/xiaohua2014/CrawPersonalPhotoAlbum.java | Github Open Source | Open Source | MIT | null | jsoup-test | yansheng836 | Java | Code | 756 | 3,452 | /**
* @Title CrawPersonalPhotoAlbum.java
* @Package xyz.yansheng.xiaohua2014
* @Description TODO
* @author yansheng
* @date 2019-08-13 19:16:51
* @version v1.0
*/
package xyz.yansheng.xiaohua2014;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
impor... | 26,501 |
https://github.com/zljxh/TYLC/blob/master/TYLC/erp-web/target/erpweb/WEB-INF/pages/index2.jsp | Github Open Source | Open Source | Apache-2.0 | null | TYLC | zljxh | null | Spoken | 969 | 5,930 | <%
request.setAttribute("theme", "default");
request.setAttribute("EasyuiVersion", "1.4.1");
request.setAttribute("Title", "千胜电商erp系统!");
%>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="UTF-8"/>
<title> ${Title}</title>
<!--加载主题CSS-->
<link href="/Content/css/base.css" ... | 13,275 |
https://github.com/mikeleishen/bacosys/blob/master/frame/frame-service/src/main/java/com/xinyou/frame/service/Fun.java | Github Open Source | Open Source | Apache-2.0 | null | bacosys | mikeleishen | Java | Code | 384 | 2,204 | package com.xinyou.frame.service;
import java.sql.Connection;
import java.sql.SQLException;
import javax.ws.rs.Consumes;
import javax.ws.rs.POST;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;
import com.xinyou.frame.domain.biz.FUN_BIZ;
import com.xinyou.frame.domain.biz.Fra... | 16,185 |
https://github.com/gravitee-io/gravitee-connector-http/blob/master/src/main/java/io/gravitee/connector/http/vertx/VertxHttpHeaders.java | Github Open Source | Open Source | Apache-2.0 | null | gravitee-connector-http | gravitee-io | Java | Code | 276 | 729 | /**
* Copyright (C) 2015 The Gravitee team (http://gravitee.io)
*
* 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 requ... | 46,933 |
https://github.com/ikem-krueger/Java-Algorithms/blob/master/src/main/java/org/calvin/__Book/epi/LevenshteinDistance.java | Github Open Source | Open Source | Apache-2.0 | 2,020 | Java-Algorithms | ikem-krueger | Java | Code | 190 | 611 | package org.calvin.__Book.epi;
import epi.test_framework.EpiTest;
import epi.test_framework.GenericTest;
import java.util.Arrays;
public class LevenshteinDistance {
@EpiTest(testDataFile = "levenshtein_distance.tsv")
public static int levenshteinDistance(String A, String B) {
int[][] distanceBetweenPrefixe... | 2,445 |
https://github.com/ichalkiad/RLSC_BaxterSimulation/blob/master/RLSC1/vreprlsc/programming/include/kdl/rotationalinertia.hpp | Github Open Source | Open Source | MIT | 2,022 | RLSC_BaxterSimulation | ichalkiad | C++ | Code | 341 | 844 | // Copyright (C) 2009 Ruben Smits <ruben dot smits at mech dot kuleuven dot be>
// Version: 1.0
// Author: Ruben Smits <ruben dot smits at mech dot kuleuven dot be>
// Maintainer: Ruben Smits <ruben dot smits at mech dot kuleuven dot be>
// URL: http://www.orocos.org/kdl
// This library is free software; you can r... | 26,250 |
https://github.com/TheEarlyNerd/collegecovidplan/blob/master/src/pages/about.js | Github Open Source | Open Source | MIT | null | collegecovidplan | TheEarlyNerd | JavaScript | Code | 88 | 212 | import React from "react"
import { graphql } from "gatsby"
import { SiteMetadata } from "../components"
import { Layout } from "../layouts/Layout"
export default ({ data }) => {
return (
<Layout>
<SiteMetadata
title="About College Covid Plan"
description="More than just a search tool."
... | 22,909 |
https://github.com/JCTInfinity/jotto/blob/master/resources/views/about.blade.php | Github Open Source | Open Source | MIT | null | jotto | JCTInfinity | PHP | Code | 208 | 427 | <x-layout>
<x-main class="my-2 mx-auto max-w-5xl border border-black shadow-lg p-2 space-y-4">
<x-header-section>
<livewire:create-game/>
<livewire:open-game/>
</x-header-section>
<x-title />
<section class="prose lg:prose-xl max-w-prose mx-auto">
... | 34,604 |
https://github.com/ashikkunjumon/LuminousNewTab/blob/master/LuminousNewTab/src/settings.js | Github Open Source | Open Source | MIT | null | LuminousNewTab | ashikkunjumon | JavaScript | Code | 655 | 1,862 | // For custom search engines
const engines = [
{
name: "Google",
url: "https://google.com/",
search: "https://google.com/search?q=",
icon: "../assets/img/googleLogo.png",
id: "google",
},
{
name: "DuckDuckGo",
url: "https://duckduckgo.com/",
search: "https://duckduckgo.com/?q=",
... | 11,861 |
https://github.com/linux-colonel/vendo/blob/master/src/http_server.cpp | Github Open Source | Open Source | MIT | null | vendo | linux-colonel | C++ | Code | 907 | 3,598 | #include <Arduino.h>
#include <ESPAsyncWebServer.h>
#include "config.h"
#include "http_server.h"
#include "leds.h"
#include "presets.h"
#include "animations.h"
#include "cmd_json.h"
#include "multiball/bme280.h"
#include "multiball/app.h"
#include "multiball/wifi.h"
#include "multiball/mqtt.h"
#include "multiball/... | 31,725 |
https://github.com/winnk/ConnectUs-Android/blob/master/app/src/main/java/com/example/kaya/connectus2/ui/DataBaseHelper.java | Github Open Source | Open Source | MIT | 2,017 | ConnectUs-Android | winnk | Java | Code | 279 | 905 | package com.example.kaya.connectus2.ui;
import android.content.ContentValues;
import android.content.Context;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
public class DataBaseHelper extends SQLiteOpenHelper {
public static final... | 20,310 |
https://github.com/ning527410741git/project/blob/master/app/Http/Controllers/admin/AdminController.php | Github Open Source | Open Source | MIT | 2,019 | project | ning527410741git | PHP | Code | 64 | 488 | <?php
namespace App\Http\Controllers\admin;
use App\Http\Controllers\Controller;
use App\Models\AdminModel;
use App\Models\PermissionModel;
use App\Models\RelationModel;
use Illuminate\Http\Request;
class AdminController extends Controller
{
public function index()
{
$info=AdminModel::join("relation"... | 7,063 |
https://github.com/krscott/another-elm-minesweeper/blob/master/.gitignore | Github Open Source | Open Source | MIT | 2,021 | another-elm-minesweeper | krscott | Ignore List | Code | 3 | 14 | elm-stuff
repl-temp-*
/dist | 14,913 |
https://github.com/gsquaredxc/FireAlarm/blob/master/Sources/FireAlarm/Commands/Filters/CommandUnblacklistKeyword.swift | Github Open Source | Open Source | MIT | null | FireAlarm | gsquaredxc | Swift | Code | 100 | 287 | //
// CommandUnblacklistKeyword.swift
// FireAlarm
//
// Created by NobodyNada on 7/15/17.
//
//
import Foundation
import SwiftChatSE
class CommandUnblacklist: Command {
override class func usage() -> [String] {
return ["unblacklist ..."]
}
override class func privileges() -> ChatUser.Priv... | 9,511 |
https://github.com/vatula/capi/blob/master/capi/src/implementation/visibility_graphs/code/datastructures/graph/graph.hpp | Github Open Source | Open Source | MIT | 2,022 | capi | vatula | C++ | Code | 182 | 695 | //
// Created by James.Balajan on 31/03/2021.
//
#ifndef CAPI_GRAPH_HPP
#define CAPI_GRAPH_HPP
#include <array>
#include <mutex>
#include <string>
#include <tbb/concurrent_hash_map.h>
#include <unordered_map>
#include <unordered_set>
#include <vector>
#include "types/coordinate/coordinate.hpp"
#include "types/polygo... | 35,688 |
https://github.com/jemissik/fetch3_nhl/blob/master/fetch3/roots.py | Github Open Source | Open Source | MIT | 2,023 | fetch3_nhl | jemissik | Python | Code | 238 | 636 | """
Root functions
"""
import numpy as np
def feddes_root_stress(theta, theta1, theta2):
"""
Calculates Feddes root water uptake stress function, from equations S.73, S.74, and S.75 of Silva et al. 2022
Parameters
----------
theta: np.ndarray
Volumetric soil water content [m3 m-3]
the... | 37,454 |
https://github.com/tzpBingo/github-trending/blob/master/codespace/python/telegram/files/sticker.py | Github Open Source | Open Source | MIT, LicenseRef-scancode-proprietary-license | 2,023 | github-trending | tzpBingo | Python | Code | 1,290 | 3,584 | #!/usr/bin/env python
#
# A library that provides a Python interface to the Telegram Bot API
# Copyright (C) 2015-2022
# Leandro Toledo de Souza <devs@python-telegram-bot.org>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser Public License as published by
#... | 53,853 |
https://github.com/fieldkit/firmware/blob/master/third-party/u8g2/tools/font/build/single_font_files/u8g2_font_lubR12_tn.c | Github Open Source | Open Source | BSD-3-Clause, CC-BY-SA-3.0, LicenseRef-scancode-x11-adobe-dec, BSD-2-Clause | 2,023 | firmware | fieldkit | C | Code | 34 | 673 | /*
Fontname: -B&H-LucidaBright-Medium-R-Normal--17-120-100-100-P-96-ISO10646-1
Copyright: Copyright Bigelow & Holmes 1986, 1985.
Glyphs: 18/756
BBX Build Mode: 0
*/
const uint8_t u8g2_font_lubR12_tn[305] U8G2_FONT_SECTION("u8g2_font_lubR12_tn") =
"\22\0\4\3\4\5\3\5\5\12\20\0\375\15\375\15\375\0\0\0\0\1\24 \5... | 28,579 |
https://github.com/Ezylryb-BK/WELCOME2NJU-WPCONTENT/blob/master/plugins/wordpress-form-manager-master/types/checkbox.php | Github Open Source | Open Source | Apache-2.0 | null | WELCOME2NJU-WPCONTENT | Ezylryb-BK | PHP | Code | 439 | 1,824 | <?php
class fm_checkboxControl extends fm_controlBase{
public function getTypeName(){ return "checkbox"; }
/* translators: this appears in the 'Add Form Element' menu */
public function getTypeLabel(){ return __("Checkbox", 'wordpress-form-manager'); }
public function itemDefaults(){
$itemInfo = array();
$... | 16,720 |
https://github.com/lax0248917/crayons/blob/master/plop-templates/component.tsx.hbs | Github Open Source | Open Source | MIT | 2,022 | crayons | lax0248917 | null | Spoken | 74 | 208 | import { Component, Prop, h } from '@stencil/core';
import { format } from '../../utils/utils';
@Component({
tag: 'fw-{{componentCase componentName}}',
styleUrl: '{{componentCase componentName}}.scss',
shadow: true
})
export class {{pascalCase componentName}} {
/**
* The first name
*/
@Prop() first: st... | 33,798 |
https://github.com/fubabaz/rpm/blob/master/rpm.ui.client/src/org/fubabaz/rpm/ui/connection/ConnectionDataFactory.java | Github Open Source | Open Source | Apache-2.0 | 2,018 | rpm | fubabaz | Java | Code | 175 | 397 | /**
* Copyright 2017 FuBaBaz Team.
*
* 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... | 36,076 |
https://github.com/xhyumiracle/eth-challenge-base/blob/master/example/contracts/Example.sol | Github Open Source | Open Source | MIT | 2,022 | eth-challenge-base | xhyumiracle | Solidity | Code | 56 | 164 | pragma solidity 0.8.7;
contract Greeter {
string greeting;
constructor(string memory _greeting) public {
greeting = _greeting;
}
function greet() public view returns (string memory) {
return greeting;
}
function setGreeting(string memory _greeting) public {
greeting =... | 37,952 |
https://github.com/bs-eagle/bs-eagle/blob/master/bs_bos_core_data_storage/include/convert_units.h | Github Open Source | Open Source | BSD-3-Clause | 2,020 | bs-eagle | bs-eagle | C | Code | 1,220 | 3,175 | /*!
\file convert_units.h
\brief Class #convert_units header file
*/
#ifndef CONVERT_UNITS_H_
#define CONVERT_UNITS_H_
#include "bs_common.h"
namespace blue_sky
{
#define UNITS_SI 0
#define UNITS_METRIC 1
#define UNITS_FIELD 2
#define UNITS_LAB 3
//! Used in project units: = field, but cu... | 25,076 |
https://github.com/zclconf/go-cty/blob/master/cty/convert/conversion_capsule_test.go | Github Open Source | Open Source | MIT | 2,023 | go-cty | zclconf | Go | Code | 313 | 1,276 | package convert
import (
"fmt"
"reflect"
"testing"
"github.com/zclconf/go-cty/cty"
)
func TestConvertCapsuleType(t *testing.T) {
capTy := cty.CapsuleWithOps("test thingy", reflect.TypeOf(""), &cty.CapsuleOps{
GoString: func(rawV interface{}) string {
vPtr := rawV.(*string)
return fmt.Sprintf("capTy(%q)"... | 7,654 |
https://github.com/lichuang/libchash/blob/master/test.cc | Github Open Source | Open Source | MIT | 2,021 | libchash | lichuang | C++ | Code | 70 | 274 | #include "chash.h"
#include <stdio.h>
#include <iostream>
int main() {
CHash chash;
chash.insert("127.0.0.1:11111");
chash.insert("100.84.44.134:22222");
chash.insert("8.8.8.8:22222");
chash.insert("192.168.0.1:22222");
chash.insert("123.456.7.89:22222");
map<string, int> count;
char tmp[100];
for ... | 24,584 |
https://github.com/mayconbeserra/webchat/blob/master/client/src/app/components/Chat/index.jsx | Github Open Source | Open Source | MIT | 2,017 | webchat | mayconbeserra | JavaScript | Code | 339 | 1,122 | import React, { Component } from 'react';
import { Panel } from 'react-bootstrap';
import io from 'socket.io-client';
import Login from '../Login';
import MessagesBox from '../MessagesBox';
import UsersList from '../UsersList';
import SendMessage from '../SendMessage';
import { get, post } from '../../services/apiServi... | 38,738 |
https://github.com/fatesigner/antdvx/blob/master/src/antdvx/components/iconfont/remixicons/coupon-3-fill.ts | Github Open Source | Open Source | MIT | 2,022 | antdvx | fatesigner | TypeScript | Code | 99 | 260 | import { createIcon } from '../core';
/**
* remixicon coupon-3-fill
*/
export default createIcon('coupon-3-fill', {
"viewBox": "0 0 24 24",
"paths": [
{
"d": "M0 0h24v24H0z",
"fill": "none"
},
{
"d": "M11 21a1.5 1.5 0 0 0-3 0H3a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a1.5 1.5 0 0 0 3 0h10a1 ... | 19,869 |
https://github.com/mutaqim96/repobaru/blob/master/database/seeders/TrainingSeeder.php | Github Open Source | Open Source | MIT | 2,021 | repobaru | mutaqim96 | PHP | Code | 51 | 148 | <?php
namespace Database\Seeders;
use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;
class TrainingSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
DB::table('trainings')->insert([
'title' => 'Trainin... | 54,374 |
https://github.com/Mallik-G/HashmapAnalyticsFramework/blob/master/metadata-api/src/main/java/com/hashmap/haf/metadata/config/dao/config/MetadataConfigDaoImpl.java | Github Open Source | Open Source | Apache-2.0 | 2,019 | HashmapAnalyticsFramework | Mallik-G | Java | Code | 213 | 1,100 | package com.hashmap.haf.metadata.config.dao.config;
import com.hashmap.haf.metadata.config.constants.ModelConstants;
import com.hashmap.haf.metadata.config.dao.DaoUtil;
import com.hashmap.haf.metadata.config.entity.config.MetadataConfigEntity;
import com.hashmap.haf.metadata.config.model.config.MetadataConfig;
import ... | 22,594 |
https://github.com/easymorph/server-cmd/blob/master/src/BusinessLogic/CommandsHandler.cs | Github Open Source | Open Source | MIT | 2,017 | server-cmd | easymorph | C# | Code | 159 | 571 | using MorphCmd.Interfaces;
using MorphCmd.Models;
using MorphCmd.Utils;
using Morph.Server.Sdk.Client;
using Morph.Server.Sdk.Events;
using Morph.Server.Sdk.Exceptions;
using Morph.Server.Sdk.Model;
using Morph.Server.Sdk.Model.Errors;
using System;
using System.Collections.Generic;
using System.IO;
using System.Threa... | 54,175 |
https://github.com/moonshine-software/moonshine/blob/master/tests/Unit/Fields/FieldTest.php | Github Open Source | Open Source | MIT | 2,023 | moonshine | moonshine-software | PHP | Code | 331 | 1,432 | <?php
use MoonShine\Fields\Text;
use MoonShine\Models\MoonshineUser;
use MoonShine\Tests\Fixtures\Resources\TestResourceBuilder;
uses()->group('fields');
beforeEach(function (): void {
$this->field = Text::make('Field name');
});
it('show or hide / index', function (): void {
expect($this->field)
->... | 25,977 |
https://github.com/dalareo/cloudtunes/blob/master/cloudtunes-server/cloudtunes/utils.py | Github Open Source | Open Source | BSD-2-Clause, BSD-3-Clause, LicenseRef-scancode-unknown-license-reference | 2,015 | cloudtunes | dalareo | Python | Code | 86 | 244 | import time
class Timer(object):
def __init__(self, name='Timed action'):
self.name = name
def __enter__(self):
self.start = time.clock()
return self
# noinspection PyUnusedLocal
def __exit__(self, *args):
self.end = time.clock()
self.interval = self.end - se... | 45,082 |
https://github.com/kipel/LeetCodeOj/blob/master/python/playground.py | Github Open Source | Open Source | MIT | null | LeetCodeOj | kipel | Python | Code | 9 | 25 | '''
Created on //201
@author: Kippel @ ihaveseenthings.com
''' | 38,059 |
https://github.com/iCSJ/big-data-examples/blob/master/big-data-spark/src/main/scala/com/andy/spark/core/examples/ip/IpUtils.scala | Github Open Source | Open Source | Apache-2.0 | 2,020 | big-data-examples | iCSJ | Scala | Code | 199 | 524 | package com.andy.spark.core.examples.ip
import scala.io.{BufferedSource, Source}
/**
* <p>
*
* @author leone
* @since 2018-12-17
**/
object IpUtils {
def ipToLong(ip: String): Long = {
val flag = ip.split("[.]")
var ipNum = 0L
for (i <- 0 until flag.length) {
ipNum = flag(i).toLong | ip... | 16,904 |
https://github.com/arkivm/aurora/blob/master/tests/forkwait/forkwait.c | Github Open Source | Open Source | BSD-2-Clause | 2,021 | aurora | arkivm | C | Code | 89 | 327 | #include <sys/types.h>
#include <sys/wait.h>
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
void
childfunction(void)
{
sleep(2);
sleep(2);
exit(0);
}
int
main()
{
int pid, status;
int childpid;
pid = fork();
if (pid < 0) {
perror("fork");
exit(1);
}
if (pid == 0)
child... | 51,072 |
https://github.com/elskater98/wind_turbine_generator/blob/master/code/data_producer_2/data_producer_2.ino | Github Open Source | Open Source | MIT | 2,021 | wind_turbine_generator | elskater98 | null | Spoken | 254 | 916 | // Import required libraries
#include <Arduino.h>
#include <ESP8266WiFi.h>
//#include <SoftwareSerial.h>
#include <Wire.h>
#include <LiquidCrystal_I2C.h>
#include <SPI.h>
#include <SparkFun_ADXL345.h>
//MQTT Pub
#include <PubSubClient.h>
// Replace with your network credentials
const char* ssid = "ssid";
const ch... | 9,459 |
https://github.com/munifgebara/generator-jhipster/blob/master/generators/server/templates/src/main/java/package/seed/_SeedOne.java | Github Open Source | Open Source | Apache-2.0 | 2,017 | generator-jhipster | munifgebara | Java | Code | 48 | 268 | package <%=packageName%>.seed;
import br.com.munif.framework.vicente.core.RightsHelper;
import br.com.munif.framework.vicente.core.VicThreadScope;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
imp... | 51,960 |
https://github.com/iamzken/aliyun-openapi-cpp-sdk/blob/master/drds/src/model/DropIndexesRequest.cc | Github Open Source | Open Source | Apache-2.0 | null | aliyun-openapi-cpp-sdk | iamzken | C++ | Code | 199 | 615 | /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... | 27,580 |
https://github.com/Wikia/ad-engine/blob/master/src/platforms/shared/tracking/metric-reporter-trackers/click-detector.ts | Github Open Source | Open Source | Apache-2.0 | 2,023 | ad-engine | Wikia | TypeScript | Code | 81 | 298 | import { utils } from '@wikia/ad-engine';
import { MetricReporterSenderSlotData } from '../metric-reporter';
export function clickDetector(sendCallback: (data: MetricReporterSenderSlotData) => void) {
let prevTriggeredId;
const eventHandler = () => {
const elem = document.activeElement;
if (!elem) {
return;
... | 7,785 |
https://github.com/StefanMaron/MSDyn365BC.Code.History/blob/master/BaseApp/Source/Base Application/InventoryMgt/ItemRegisters.Page.al | Github Open Source | Open Source | LicenseRef-scancode-unknown-license-reference, MIT, LicenseRef-scancode-warranty-disclaimer | 2,023 | MSDyn365BC.Code.History | StefanMaron | null | Spoken | 670 | 1,581 | page 117 "Item Registers"
{
AdditionalSearchTerms = 'inventory transactions';
ApplicationArea = Basic, Suite;
Caption = 'Item Registers';
Editable = false;
PageType = List;
SourceTable = "Item Register";
UsageCategory = History;
layout
{
area(content)
{
r... | 49,695 |
https://github.com/madmongo1/cppcoro/blob/master/CMakeLists.txt | Github Open Source | Open Source | MIT | 2,020 | cppcoro | madmongo1 | CMake | Code | 288 | 2,048 | cmake_minimum_required(VERSION 3.16)
function(join outvar)
cmake_parse_arguments(join "" "PATH" "FILES" ${ARGN})
set(result "${${outvar}}")
foreach (file IN LISTS join_FILES)
string(PREPEND file "${join_PATH}/")
list(APPEND result "${file}")
endforeach ()
set("${outvar}" "${result}"... | 48,300 |
https://github.com/onuma1004/slim/blob/master/benchmarkset/firewire1.nc | Github Open Source | Open Source | BSD-3-Clause | 2,015 | slim | onuma1004 | null | Spoken | 14 | 38 | never { /* !(<>p) */
accept_init:
if
:: (!p) -> goto accept_init
fi;
}
| 32,247 |
https://github.com/steven-solomon/hexagonal_cf/blob/master/plugins/web/app/models/purchased_content.rb | Github Open Source | Open Source | MIT | 2,017 | hexagonal_cf | steven-solomon | Ruby | Code | 5 | 12 | class PurchasedContent < ActiveRecord::Base
end | 45,588 |
https://github.com/isboyjc/vue-cesium/blob/master/src/components/imageryLayer/tiledCache/TiledCacheImageryProvider.vue | Github Open Source | Open Source | MIT | 2,019 | vue-cesium | isboyjc | Vue | Code | 433 | 1,313 | <script>
import {
url,
format,
credit,
minimumLevel,
maximumLevel,
rectangle,
tilingScheme,
ellipsoid,
tileWidth,
tileHeight
} from '../../../mixins/mixinProps'
import mixinImageryProvider from '../../../mixins/providers/mixinImageryProvider'
export default {
name: 'vc-provider-imagery-tiledcache'... | 30,262 |
https://github.com/iMartinKiss/LinearKit/blob/master/Sources/Operations/LKVector+Summing.h | Github Open Source | Open Source | MIT | 2,015 | LinearKit | iMartinKiss | C | Code | 56 | 234 | //
// LKVector+Summing.h
// LinearKit
//
// Created by Martin Kiss on 11.11.14.
// Copyright (c) 2014 Triceratops. All rights reserved.
//
#import "LKVector.h"
#import "LKOperation.h"
@interface LKVector (Summing)
#pragma mark Sums
- (LKFloat)sum;
- (LKFloat)magnitudesSum;
- (LKFloat)squaresSum;
- (LKFloat)s... | 34,771 |
https://github.com/the-turk/flarum-password-strength/blob/master/js/src/admin/modals/PasswordStrengthSettingsModal.js | Github Open Source | Open Source | MIT | 2,021 | flarum-password-strength | the-turk | JavaScript | Code | 226 | 905 | import app from "flarum/app";
import SettingsModal from "flarum/components/SettingsModal";
import Switch from "flarum/components/Switch";
const settingsPrefix = "the-turk-password-strength.";
const localePrefix = "the-turk-password-strength.admin.settings.";
export default class PasswordStrengthSettingsModal extends ... | 3,120 |
https://github.com/apioo/psx-model/blob/master/src/SchemaOrg/DiscussionForumPosting.php | Github Open Source | Open Source | Apache-2.0 | 2,021 | psx-model | apioo | PHP | Code | 22 | 73 | <?php
declare(strict_types = 1);
namespace PSX\Model\SchemaOrg;
use PSX\Schema\Attribute\Description;
#[Description('A posting to a discussion forum.')]
class DiscussionForumPosting extends SocialMediaPosting implements \JsonSerializable
{
}
| 8,142 |
https://github.com/joseminaya15/latin_american_travel/blob/master/application/views/ru/v_offer.php | Github Open Source | Open Source | MIT | null | latin_american_travel | joseminaya15 | PHP | Code | 584 | 2,516 | <!DOCTYPE html>
<html>
<head>
<meta charset="ISO-8859-1">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0">
<meta name="description" content="Proyecto de desarroll... | 49,170 |
https://github.com/hellomanjack/pinpoint/blob/master/plugins/tomcat/src/main/java/com/navercorp/pinpoint/plugin/tomcat/interceptor/StandardHostValveInvokeInterceptor.java | Github Open Source | Open Source | Apache-2.0 | 2,020 | pinpoint | hellomanjack | Java | Code | 939 | 3,342 | /*
* Copyright 2014 NAVER Corp.
*
* 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 ... | 27,942 |
https://github.com/lateefojulari/unify-framework/blob/master/unify-core/src/main/java/com/tcdng/unify/core/message/MessageResolver.java | Github Open Source | Open Source | Apache-2.0 | 2,021 | unify-framework | lateefojulari | Java | Code | 265 | 532 | /*
* Copyright 2018-2020 The Code Department.
*
* 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 ... | 18,151 |
https://github.com/SlidyDev/MelonLoader/blob/master/MelonLoader/BackwardsCompatibility/ForwardingAttributes/Tomlet.cs | Github Open Source | Open Source | Apache-2.0 | null | MelonLoader | SlidyDev | C# | Code | 140 | 1,707 | using System.Runtime.CompilerServices;
[assembly: TypeForwardedTo(typeof(Tomlet.TomletMain))]
[assembly: TypeForwardedTo(typeof(Tomlet.TomletStringReader))]
[assembly: TypeForwardedTo(typeof(Tomlet.TomlNumberUtils))]
[assembly: TypeForwardedTo(typeof(Tomlet.TomlParser))]
[assembly: TypeForwardedTo(typeof(Tomlet.TomlSe... | 231 |
https://github.com/Epi-Info/Epi-Info-Community-Edition/blob/master/Epi.Windows.Enter/Forms/ImportWebData.cs | Github Open Source | Open Source | Apache-2.0 | 2,023 | Epi-Info-Community-Edition | Epi-Info | C# | Code | 6,110 | 23,460 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Diagnostics;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Xml;
using Epi;
using Epi.Data;
using Epi.Fields;
using Epi.Web.Common;
using Epi.Web.Common.Mes... | 52,228 |
https://github.com/steelbotfw/telegram-bot-api/blob/master/src/InlineQueryResult/InlineQueryResultDocument.php | Github Open Source | Open Source | BSD-3-Clause | 2,019 | telegram-bot-api | steelbotfw | PHP | Code | 216 | 798 | <?php
namespace Steelbot\TelegramBotApi\InlineQueryResult;
use Steelbot\TelegramBotApi\Traits\{
CaptionTrait,
DescriptionTrait,
InputMessageContentTrait,
JsonAttributesBuilderTrait,
ReplyMarkupTrait,
ThumbUrlOptionalTrait,
ThumbWidthHeightOptionalTrait,
TitleRequiredTrait
};
class Inl... | 17,240 |
https://github.com/msrLi/portingSources/blob/master/lzo/lzo-2.10/B/generic/Makefile | Github Open Source | Open Source | Apache-2.0, GPL-2.0-only | 2,019 | portingSources | msrLi | Makefile | Code | 263 | 1,060 | # Copyright (C) 1996-2017 Markus F.X.J. Oberhumer
#
# this is modelled after build.sh; needs GNU make 3.80 or better
SHELL = /bin/sh
##
## setup flags
##
##top_srcdir ?= ../..
top_srcdir ?= $(dir $(word $(words $(MAKEFILE_LIST)),$(MAKEFILE_LIST)))../..
AR ?= ar
CC ?= cc
CFLAGS ?= -O
CFI = -I$(top_srcdir)/include -I... | 44,654 |
https://github.com/beiyannanfei/test/blob/master/node_modules/spade/node_modules/libra/node_modules/train/test/push-test.js | Github Open Source | Open Source | MIT | 2,019 | test | beiyannanfei | JavaScript | Code | 138 | 285 | #!/usr/bin/env node
exports.test = function ( done ) {
var log = console.log
, assert = require( 'assert' )
, Train = require( '../' )
, arr = [
'Cane Nero',
'Lupus est agnum',
'Otia et negotia',
[ 'Cave canem',
'Omnes feriunt, ... | 27,981 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.