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/YDHsieh/YDHsieh/blob/master/catkin_ws/build/stop_line_filter/catkin_generated/setup_py_interrogation.cmake | Github Open Source | Open Source | CC-BY-2.0 | null | YDHsieh | YDHsieh | CMake | Code | 12 | 123 | set(stop_line_filter_SETUP_PY_VERSION "0.0.0")
set(stop_line_filter_SETUP_PY_SCRIPTS "")
set(stop_line_filter_SETUP_PY_PACKAGES "pkg_name")
set(stop_line_filter_SETUP_PY_PACKAGE_DIRS "include/pkg_name")
set(stop_line_filter_SETUP_PY_MODULES "")
set(stop_line_filter_SETUP_PY_MODULE_DIRS "") | 18,168 |
https://github.com/littlekernel/lk/blob/master/external/platform/nrfx/drivers/src/nrfx_adc.c | Github Open Source | Open Source | MIT, BSD-3-Clause | 2,023 | lk | littlekernel | C | Code | 877 | 3,938 | /*
* Copyright (c) 2015 - 2020, Nordic Semiconductor ASA
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, this
... | 152 |
https://github.com/onepanelio/core/blob/master/api/gen/files_grpc.pb.go | Github Open Source | Open Source | Apache-2.0 | 2,021 | core | onepanelio | Go | Code | 465 | 1,494 | // Code generated by protoc-gen-go-grpc. DO NOT EDIT.
package gen
import (
context "context"
grpc "google.golang.org/grpc"
codes "google.golang.org/grpc/codes"
status "google.golang.org/grpc/status"
)
// This is a compile-time assertion to ensure that this generated file
// is compatible with the grpc package it... | 7,057 |
https://github.com/Scottj1s/cppwinrt/blob/master/10.0.16299.0/winrt/impl/Windows.Devices.Custom.2.h | Github Open Source | Open Source | MIT | null | cppwinrt | Scottj1s | C | Code | 88 | 379 | // C++/WinRT v1.0.171013.2
// Copyright (c) 2017 Microsoft Corporation. All rights reserved.
#pragma once
#include "winrt/impl/Windows.Storage.Streams.1.h"
#include "winrt/impl/Windows.Devices.Custom.1.h"
WINRT_EXPORT namespace winrt::Windows::Devices::Custom {
}
namespace winrt::impl {
}
WINRT_EXPORT namespace ... | 22,228 |
https://github.com/google/paco/blob/master/Paco-Server/src/com/google/sampling/experiential/server/EnvironmentUtil.java | Github Open Source | Open Source | Apache-2.0 | 2,021 | paco | google | Java | Code | 24 | 89 | package com.google.sampling.experiential.server;
import com.google.appengine.api.utils.SystemProperty;
public final class EnvironmentUtil {
private EnvironmentUtil() {
}
public static boolean isDevInstance() {
return SystemProperty.environment.value() == SystemProperty.Environment.Value.Development;
}... | 37,882 |
https://github.com/wuxinshui/deep_learning_java/blob/master/deep_learning_hanlp/src/main/java/com/wxs/dl/hanlp/service/HanLPWord2VecService.java | Github Open Source | Open Source | Apache-2.0 | 2,019 | deep_learning_java | wuxinshui | Java | Code | 141 | 643 | /*
* <author>Hankcs</author>
* <email>me@hankcs.com</email>
* <create-date>2017-11-02 12:09</create-date>
*
* <copyright file="Demo.java" company="码农场">
* Copyright (c) 2017, 码农场. All Right Reserved, http://www.hankcs.com/
* This source is subject to Hankcs. Please contact Hankcs to get more information.
* </co... | 6,368 |
https://github.com/daisukelab/dl-cliche/blob/master/test/test_big_h5_array.py | Github Open Source | Open Source | Apache-2.0 | 2,023 | dl-cliche | daisukelab | Python | Code | 301 | 1,428 | import unittest
from dlcliche.utils import *
from dlcliche.big_h5_array import *
from dlcliche.test import *
class TestBigH5Array(unittest.TestCase):
ROW_SIZE = 2*2*1056
COL_SIZE = 23
@classmethod
def tearDownClass(self):
ensure_delete('test.h5')
def do_test_as_normal_array(self, shape, t... | 7,707 |
https://github.com/dserafim1999/es20al_18-project/blob/master/backend/src/main/java/pt/ulisboa/tecnico/socialsoftware/tutor/submission/SubmissionService.java | Github Open Source | Open Source | MIT | 2,020 | es20al_18-project | dserafim1999 | Java | Code | 896 | 4,423 | package pt.ulisboa.tecnico.socialsoftware.tutor.submission;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.retry.annotation.Backoff;
import org.springframework.retry.annotation.Retryable;
import org.springframework.stereotype.Service;
import org.springframework.transaction.an... | 6,745 |
https://github.com/lxlyh/iTalker/blob/master/App/ITalker/factory/src/main/java/com/example/ggxiaozhi/factory/presenter/search/SearchContract.java | Github Open Source | Open Source | Apache-2.0 | 2,018 | iTalker | lxlyh | Java | Code | 90 | 395 | package com.example.ggxiaozhi.factory.presenter.search;
import com.example.ggxiaozhi.factory.model.card.GroupCard;
import com.example.ggxiaozhi.factory.model.card.UserCard;
import com.example.ggxiaozhi.factory.presenter.BaseContract;
import java.util.List;
/**
* 工程名 : ITalker
* 包名 : com.example.ggxiaozhi.factory... | 17,715 |
https://github.com/acgist/snail/blob/master/snail/src/main/java/com/acgist/snail/net/torrent/peer/extension/DontHaveExtensionMessageHandler.java | Github Open Source | Open Source | Apache-2.0 | 2,022 | snail | acgist | Java | Code | 152 | 707 | package com.acgist.snail.net.torrent.peer.extension;
import java.nio.ByteBuffer;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.acgist.snail.config.PeerConfig.ExtensionType;
import com.acgist.snail.net.torrent.peer.ExtensionMessageHandler;
import com.acgist.snail.net.torrent.peer.ExtensionTypeMe... | 51,903 |
https://github.com/routerify/hyper-routerify-server-template/blob/master/src/routes/mod.rs | Github Open Source | Open Source | MIT | 2,020 | hyper-routerify-server-template | routerify | Rust | Code | 89 | 362 | use crate::constants;
use crate::types::AppInfo;
use crate::utils;
use hyper::{Body, Request, Response};
use routerify::{Middleware, Router};
use routerify_cors::enable_cors_all;
mod api;
pub fn router() -> Router<Body, crate::Error> {
Router::builder()
.middleware(Middleware::pre(logger_middleware))
... | 19 |
https://github.com/a1tem/portphp/blob/master/spec/Reader/AppendReaderSpec.php | Github Open Source | Open Source | MIT | 2,022 | portphp | a1tem | PHP | Code | 37 | 175 | <?php
namespace spec\Port\Reader;
use PhpSpec\ObjectBehavior;
use Port\Reader;
use Prophecy\Argument;
class AppendReaderSpec extends ObjectBehavior
{
function it_is_initializable()
{
$this->shouldHaveType('Port\Reader\AppendReader');
}
function it_is_a_reader()
{
$this->shouldImp... | 36,805 |
https://github.com/laminas-api-tools/api-tools-oauth2/blob/master/src/Provider/UserId/AuthenticationService.php | Github Open Source | Open Source | 2,023 | api-tools-oauth2 | laminas-api-tools | PHP | Code | 136 | 480 | <?php
declare(strict_types=1);
namespace Laminas\ApiTools\OAuth2\Provider\UserId;
use Laminas\Authentication\AuthenticationServiceInterface;
use Laminas\Stdlib\RequestInterface;
use function is_array;
use function is_object;
use function method_exists;
use function property_exists;
use function ucfirst;
class Auth... | 719 | |
https://github.com/Dr-Turtle/DRG_ModPresetManager/blob/master/Source/FSD/Public/EscortMissionDNA.h | Github Open Source | Open Source | MIT | 2,022 | DRG_ModPresetManager | Dr-Turtle | C | Code | 23 | 106 | #pragma once
#include "CoreMinimal.h"
#include "MissionDNA.h"
#include "EscortMissionDNA.generated.h"
UCLASS()
class UEscortMissionDNA : public UMissionDNA {
GENERATED_BODY()
public:
UPROPERTY(BlueprintReadWrite, EditAnywhere)
int32 RefuelLocations;
UEscortMissionDNA();
};
| 16,955 |
https://github.com/jmad/aloha/blob/master/src/java/cern/accsoft/steering/aloha/model/ModelDelegateException.java | Github Open Source | Open Source | Apache-2.0 | 2,022 | aloha | jmad | Java | Code | 77 | 241 | /*
* $Id: ModelDelegateException.java,v 1.1 2008-12-19 13:55:28 kfuchsbe Exp $
*
* $Date: 2008-12-19 13:55:28 $
* $Revision: 1.1 $
* $Author: kfuchsbe $
*
* Copyright CERN, All Rights Reserved.
*/
package cern.accsoft.steering.aloha.model;
import cern.accsoft.steering.aloha.app.AppException;
/**
* @autho... | 21,673 |
https://github.com/frankhaugen/Frank.Brewery/blob/master/Frank.Brewery/Repositories/RecipesRepository.cs | Github Open Source | Open Source | MIT | 2,019 | Frank.Brewery | frankhaugen | C# | Code | 70 | 252 | using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Frank.Brewery.DataContexts;
using Frank.Brewery.Entities;
using Microsoft.EntityFrameworkCore;
namespace Frank.Brewery.Repositories
{
public class RecipesRepository
{
private readonly DataContext _da... | 18,181 |
https://github.com/Ron423c/chromium/blob/master/chrome/browser/ui/webui/chromeos/onc_import_message_handler.cc | Github Open Source | Open Source | BSD-3-Clause-No-Nuclear-License-2014, BSD-3-Clause | 2,022 | chromium | Ron423c | C++ | Code | 311 | 1,465 | // Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/ui/webui/chromeos/onc_import_message_handler.h"
#include "base/bind.h"
#include "base/callback_helpers.h"
#include "base/strings... | 24,553 |
https://github.com/neoneye/loda-programs/blob/master/oeis/005/A005590.asm | Github Open Source | Open Source | Apache-2.0 | 2,022 | loda-programs | neoneye | Assembly | Code | 47 | 339 | ; A005590: a(0) = 0, a(1) = 1, a(2n) = a(n), a(2n+1) = a(n+1) - a(n).
; Submitted by Christian Krause
; 0,1,1,0,1,-1,0,1,1,-2,-1,1,0,1,1,0,1,-3,-2,1,-1,2,1,-1,0,1,1,0,1,-1,0,1,1,-4,-3,1,-2,3,1,-2,-1,3,2,-1,1,-2,-1,1,0,1,1,0,1,-1,0,1,1,-2,-1,1,0,1,1,0,1,-5,-4,1,-3,4,1,-3,-2,5,3,-2,1,-3,-2,1,-1,4,3,-1,2,-3,-1,2,1,-3,-2,1... | 44,905 |
https://github.com/paulczar/deck/blob/master/app/scripts/modules/core/src/network/NetworkReader.ts | Github Open Source | Open Source | Apache-2.0 | 2,019 | deck | paulczar | TypeScript | Code | 46 | 145 | import { API } from 'core/api/ApiService';
export interface INetwork {
cloudProvider: string;
id: string;
name: string;
account: string;
region: string;
deprecated: boolean;
}
export class NetworkReader {
public static listNetworks(): INetwork[] {
return API.one('networks').getList();
}
public ... | 30,628 |
https://github.com/gadishimwe/Barefoot-React/blob/master/src/views/SettingsView.js | Github Open Source | Open Source | MIT | 2,020 | Barefoot-React | gadishimwe | JavaScript | Code | 217 | 695 | import React from 'react';
import { Redirect } from 'react-router-dom';
import { makeStyles } from '@material-ui/styles';
import { Tabs, Tab, Divider, colors } from '@material-ui/core';
import Notifications from '../components/Notification/notificationSettings';
import Header from '../components/common/SettingsHeader';... | 9,134 |
https://github.com/rkimmi/xplore/blob/master/src/containers/TopBlocksContainer.jsx | Github Open Source | Open Source | MIT | 2,018 | xplore | rkimmi | JavaScript | Code | 20 | 73 | import {connect} from 'react-redux';
import TopBlocks from '../components/TopBlocks.jsx';
const mapStateToProps = (state) => ({
blockList: state.topBlocks.blockList
});
export default connect(mapStateToProps)(TopBlocks);
| 6,283 |
https://github.com/bogdanpolak/event-sourcing/blob/master/Warehouse/Events/ReorderLevelAdjusted.cs | Github Open Source | Open Source | MIT | null | event-sourcing | bogdanpolak | C# | Code | 12 | 35 | namespace Warehouse.Events
{
public record ReorderLevelAdjusted(string Sku, int ReorderLevel) : IEvent;
}
| 30,838 |
https://github.com/ScalablyTyped/SlinkyTyped/blob/master/b/broadcast-channel/src/main/scala/typingsSlinky/broadcastChannel/broadcastChannelMod.scala | Github Open Source | Open Source | MIT | 2,021 | SlinkyTyped | ScalablyTyped | Scala | Code | 757 | 3,065 | package typingsSlinky.broadcastChannel
import org.scalajs.dom.raw.MessageEvent
import typingsSlinky.broadcastChannel.anon.FallbackInterval
import typingsSlinky.broadcastChannel.anon.Ttl
import typingsSlinky.broadcastChannel.broadcastChannelBooleans.`false`
import org.scalablytyped.runtime.StObject
import scala.scalajs... | 16,766 |
https://github.com/djangid/p4ic4idea/blob/master/p4java/src/test/java/com/perforce/p4java/tests/UnicodeServerRule.java | Github Open Source | Open Source | BSD-3-Clause, CC-BY-2.5, Apache-2.0, BSD-2-Clause | 2,019 | p4ic4idea | djangid | Java | Code | 37 | 180 | package com.perforce.p4java.tests;
import com.perforce.test.TestServer;
import javax.annotation.Nonnull;
import java.io.IOException;
public class UnicodeServerRule extends SimpleServerRule {
public UnicodeServerRule(String p4dVersion, String dataExtractLoc) {
super(p4dVersion, dataExtractLoc);
}
protected voi... | 48,359 |
https://github.com/daomtthuan/ejb-enterprise-application/blob/master/lab4/book-management-system-ejb/src/java/sessionbean/ValidationSessionBean.java | Github Open Source | Open Source | MIT | null | ejb-enterprise-application | daomtthuan | Java | Code | 42 | 130 | package sessionbean;
import javax.ejb.Stateless;
@Stateless
public class ValidationSessionBean implements ValidationSessionBeanLocal {
@Override
public String validateUsername(final String username) {
return username.matches("^[a-zA-Z0-9]{4,}$") ? null : "Invalid username";
}
@Override
public String v... | 3,381 |
https://github.com/lconet/binary_quality_classification/blob/master/models/models.py | Github Open Source | Open Source | MIT | 2,020 | binary_quality_classification | lconet | Python | Code | 100 | 456 | import torch
import torch.nn as nn
from torchvision import models
def get_model(model_name, device, dtype=torch.float32, pretrained=False,
n_classes=2):
if model_name == "resnet18":
model_ft = models.resnet18(pretrained=pretrained)
num_ftrs = model_ft.fc.in_features
model_ft.... | 28,086 |
https://github.com/hasska/client/blob/master/src/core/assets/modules/admin/node_modules/element-react/dist/npm/es6/src/table/Table.js | Github Open Source | Open Source | MIT | 2,018 | client | hasska | JavaScript | Code | 800 | 2,775 | import _extends from 'babel-runtime/helpers/extends';
import _objectWithoutProperties from 'babel-runtime/helpers/objectWithoutProperties';
import _classCallCheck from 'babel-runtime/helpers/classCallCheck';
import _createClass from 'babel-runtime/helpers/createClass';
import _possibleConstructorReturn from 'babel-runt... | 38,562 |
https://github.com/hjelp200121/The-Binding-of-Jumpman/blob/master/Assets/Resources/Rooms/Room-Common-2-004.prefab | Github Open Source | Open Source | MIT | 2,019 | The-Binding-of-Jumpman | hjelp200121 | Unity3D Asset | Code | 4,515 | 23,399 | %YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1001 &80599878559528049
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 3971635677752610867}
m_Modifications:
- target: {fileID: 2024161861180009623, guid: 97594b3ea76558da6970ce7de38f8ab5,
ty... | 44,859 |
https://github.com/MarkWaldron/topaz/blob/master/src/map/ai/controllers/mob_controller.h | Github Open Source | Open Source | FTL | null | topaz | MarkWaldron | C | Code | 286 | 829 | /*
===========================================================================
Copyright (c) 2010-2015 Darkstar Dev Teams
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 3 of the Lice... | 43,609 |
https://github.com/dreamspace-academy/sylcsl.org/blob/master/car_main.ino | Github Open Source | Open Source | Apache-2.0 | null | sylcsl.org | dreamspace-academy | null | Spoken | 80 | 300 | #include <Servo.h> //Servo motor library. This is standard library
#include <NewPing.h> //Ultrasonic sensor function library. You must install this library
//our L298N control pins
const int LeftMotorForward = 7;
const int LeftMotorBackward = 6;
const int RightMotorForward = 5;
const int RightMotorBac... | 6,517 |
https://github.com/bgoonz/UsefulResourceRepo2.0/blob/master/GIT-USERS/lydia/DefinitelyTyped/types/should/should-tests.ts | Github Open Source | Open Source | MIT | 2,022 | UsefulResourceRepo2.0 | bgoonz | TypeScript | Code | 582 | 2,884 |
import should = require('should');
should.fail('actual', 'expected', 'msg', 'operator');
should.assert('value', 'msg');
should.ok('value');
should.equal('actual', 'expected');
should.notEqual('actual', 'expected');
should.deepEqual('actual', 'expected');
should.notDeepEqual('actual', 'expected');
should.strictEqual(... | 39,151 |
https://github.com/ceceomer/xwt/blob/master/Xwt.Gtk/Xwt.GtkBackend/ClipboardBackend.cs | Github Open Source | Open Source | MIT | 2,022 | xwt | ceceomer | C# | Code | 638 | 1,761 | //
// ClipboardBackend.cs
//
// Author:
// Lluis Sanchez <lluis@xamarin.com>
//
// Copyright (c) 2012 Xamarin Inc
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without rest... | 18,116 |
https://github.com/koelleChristian/trickytripper/blob/master/app/src/main/java/de/koelle/christian/trickytripper/model/Payment.java | Github Open Source | Open Source | Apache-2.0 | 2,020 | trickytripper | koelleChristian | Java | Code | 329 | 957 | package de.koelle.christian.trickytripper.model;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import java.util.TreeMap;
public class Payment implements Serializable {
private static final long serialVersio... | 36,499 |
https://github.com/augustofabianrodrigues/anime-op/blob/master/web-components/src/direflow-components/anime-op-app/components/details/CharacterGallery.tsx | Github Open Source | Open Source | MIT | null | anime-op | augustofabianrodrigues | TypeScript | Code | 150 | 531 | import { Styled } from 'direflow-component';
import React, { FC, useEffect, useState } from 'react';
import { CSSTransition } from 'react-transition-group';
import CharacterModel from '../../models/CharacterModel';
import LazyAsyncImage from '../shared/LazyAsyncImage';
import styles from './CharacterGallery.less';
impo... | 8,923 |
https://github.com/carlosnps/ci-project/blob/master/web/modules/custom/som_gnam_migrate/src/Plugin/migrate/source/CasUser.php | Github Open Source | Open Source | MIT | null | ci-project | carlosnps | PHP | Code | 182 | 565 | <?php
/**
* @file
* Contains \Drupal\som_gnam_migrate\Plugin\migrate\source\CasUser.
*/
namespace Drupal\som_gnam_migrate\Plugin\migrate\source;
use Drupal\migrate\Row;
use Drupal\migrate_drupal\Plugin\migrate\source\DrupalSqlBase;
/**
* Extract cas usernames from Drupal 7 database.
*
* @MigrateSource(
* id... | 48,668 |
https://github.com/Chi-Account/IPC/blob/master/ServerApplication/app/src/main/aidl/com/chi/serverapplication/binderpool/IPlusInterface.aidl | Github Open Source | Open Source | Apache-2.0 | 2,020 | IPC | Chi-Account | null | Spoken | 9 | 32 | package com.chi.serverapplication.binderpool;
interface IPlusInterface {
int plus(int number);
}
| 49,910 |
https://github.com/skyfe79/RxGitSearch/blob/master/RxGitSearch/models/Code.swift | Github Open Source | Open Source | MIT | 2,021 | RxGitSearch | skyfe79 | Swift | Code | 112 | 282 | //
// CodeItem.swift
// RxGitSearch
//
// Created by burt on 2016. 2. 5..
// Copyright © 2016년 burt. All rights reserved.
//
// skyfe79@gmail.com
// http://blog.burt.pe.kr
// http://github.com/skyfe79
import ObjectMapper
struct Code : Mappable {
var name: String? = nil
var path: String? = nil
var s... | 12,389 |
https://github.com/mancgupta/Todo-App/blob/master/app/src/main/java/helpers/DBHelper.java | Github Open Source | Open Source | Apache-2.0 | null | Todo-App | mancgupta | Java | Code | 305 | 981 | package helpers;
/**
* Created by magupta on 9/26/15.
*/
import android.content.ContentValues;
import android.content.Context;
import android.database.Cursor;
import android.database.DatabaseUtils;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
import java.util.Arra... | 28,726 |
https://github.com/hmrc/plastic-packaging-tax-returns-frontend/blob/master/test/uk/gov/hmrc/plasticpackagingtax/returns/forms/subscriptions/NameSpec.scala | Github Open Source | Open Source | Apache-2.0 | 2,022 | plastic-packaging-tax-returns-frontend | hmrc | Scala | Code | 296 | 771 | /*
* Copyright 2022 HM Revenue & Customs
*
* 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 a... | 2,918 |
https://github.com/marlonnardi/FMXUI/blob/master/demos/Win/Unit2.pas | Github Open Source | Open Source | MIT | 2,022 | FMXUI | marlonnardi | Pascal | Code | 232 | 974 | unit Unit2;
interface
uses
UI.SizeForm, UI.Ani, UI.Frame,
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, UI.Base,
UI.Standard, FMX.Effects, FMX.Controls.Presentation, FMX.StdCtrls;
type
TForm2 = class(TSizeForm)... | 16,596 |
https://github.com/amarwadhwa/SmartPlanner/blob/master/application/views/User/SchduleMeeting/editMeeting2.php | Github Open Source | Open Source | MIT | null | SmartPlanner | amarwadhwa | PHP | Code | 224 | 948 | <!DOCTYPE html>
<html lang="en">
<body>
<div id="page-wrapper">
<div class="row">
<div class="col-lg-12">
<h1 class="page-header">Initiate Meeting</h1>
</div>
<!-- /.col-lg-12 -->
</div>
<!-- /.row -->
<div class="row">
... | 2,061 |
https://github.com/ScalablyTyped/Distribution/blob/master/g/googleapis/src/main/scala/typings/googleapis/runV1Mod/runV1/SchemaDomainMappingStatus.scala | Github Open Source | Open Source | MIT | 2,023 | Distribution | ScalablyTyped | Scala | Code | 322 | 931 | package typings.googleapis.runV1Mod.runV1
import org.scalablytyped.runtime.StObject
import scala.scalajs.js
import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess}
trait SchemaDomainMappingStatus extends StObject {
/**
* Array of observed DomainMappingConditions, indic... | 36,305 |
https://github.com/caoyue521/javabase/blob/master/dailycode/src/main/java/com/ggj/java/spring/intercept/ActorInterface.java | Github Open Source | Open Source | Apache-2.0 | 2,021 | javabase | caoyue521 | Java | Code | 14 | 45 | package com.ggj.java.spring.intercept;
/**
* @author gaoguangjin
*/
public interface ActorInterface {
void palyStyle();
}
| 49,118 |
https://github.com/intensifier/NeoAxisEngine/blob/master/Sources/Engine/External/Bullet/BulletSharpPInvoke/libbulletc/src/btPoint2PointConstraint_wrap.h | Github Open Source | Open Source | IJG | null | NeoAxisEngine | intensifier | C | Code | 136 | 626 | #include "main.h"
#ifdef __cplusplus
extern "C" {
#endif
EXPORT btConstraintSetting* btConstraintSetting_new();
EXPORT btScalar btConstraintSetting_getDamping(btConstraintSetting* obj);
EXPORT btScalar btConstraintSetting_getImpulseClamp(btConstraintSetting* obj);
EXPORT btScalar btConstraintSetting_getTau(btConst... | 39,924 |
https://github.com/kenlog/silverstripe-framework/blob/master/tests/php/Core/Config/ConfigTest/Combined2.php | Github Open Source | Open Source | BSD-3-Clause | 2,022 | silverstripe-framework | kenlog | PHP | Code | 14 | 45 | <?php
namespace SilverStripe\Core\Tests\Config\ConfigTest;
class Combined2 extends Combined1
{
private static $first = ['test_2'];
}
| 330 |
https://github.com/ledungcobra/classroom-ui/blob/master/src/components/NavMenu/NavMenu.tsx | Github Open Source | Open Source | MIT | null | classroom-ui | ledungcobra | TypeScript | Code | 218 | 803 | import CreateIcon from '@mui/icons-material/Create';
import {
Box,
Divider,
Drawer,
List,
ListItem,
ListItemIcon,
ListItemText,
Typography,
} from '@mui/material';
import * as React from 'react';
import { Link, useNavigate } from 'react-router-dom';
import { doGetListClasses, useAppDispatch, useAppSelec... | 10,067 |
https://github.com/cmarincia/wazero/blob/master/internal/integration_test/engine/hammer_test.go | Github Open Source | Open Source | Apache-2.0 | null | wazero | cmarincia | Go | Code | 461 | 1,501 | package adhoc
import (
"sync"
"testing"
"github.com/tetratelabs/wazero"
"github.com/tetratelabs/wazero/api"
"github.com/tetratelabs/wazero/internal/testing/hammer"
"github.com/tetratelabs/wazero/internal/testing/require"
"github.com/tetratelabs/wazero/sys"
)
var hammers = map[string]func(t *testing.T, r wazer... | 4,060 |
https://github.com/jamie-jjd/leetcode/blob/master/0011_container_with_most_water.cc | Github Open Source | Open Source | MIT | 2,020 | leetcode | jamie-jjd | C++ | Code | 65 | 174 | class Solution
{
public:
int maxArea (std::vector<int> &height)
{
int max_area {};
int area {};
auto length {height.size() - 1};
auto it {height.begin()};
auto rit {std::prev(height.end())};
while (it != rit)
{
if (*it < *rit)
{
area = *it++ * length;
}
el... | 10,165 |
https://github.com/sapatekno/flutter_mvvm/blob/master/lib/page/sample/sample_page.vm.dart | Github Open Source | Open Source | MIT | null | flutter_mvvm | sapatekno | Dart | Code | 174 | 707 | import 'package:dio_log/dio_log.dart';
import 'package:flutter/material.dart';
import 'package:pull_to_refresh/pull_to_refresh.dart';
import 'package:sapatekno_mvvm/base/view_model_base.dart';
import 'package:sapatekno_mvvm/config/variable_config.dart';
import 'package:sapatekno_mvvm/data/net/model/page_net_model.dart'... | 51,110 |
https://github.com/RoberOz/Harcama_Takip_Laravel/blob/master/app/Expense.php | Github Open Source | Open Source | MIT | null | Harcama_Takip_Laravel | RoberOz | PHP | Code | 22 | 88 | <?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Expense extends Model
{
public function category()
{
return $this->belongsTo(Category::class, 'category_id', 'id');
// $this-belongsTo(Model,'foreign_key','local_key');
}
}
| 53,037 |
https://github.com/Ariah-Group/Research/blob/master/ar_webapp/src/main/java/org/kuali/kra/budget/printing/xmlstream/IndustrialBudgetXmlStream.java | Github Open Source | Open Source | Apache-2.0, ECL-2.0 | 2,017 | Research | Ariah-Group | Java | Code | 1,408 | 5,511 | /*
* Copyright 2005-2014 The Kuali Foundation
*
* Licensed under the Educational Community 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.opensource.org/licenses/ecl1.php
*
* Unless required by... | 15,876 |
https://github.com/praveenv4k/indriya/blob/master/include/Indriya/Msgs/color.pb.h | Github Open Source | Open Source | MIT | 2,015 | indriya | praveenv4k | C++ | Code | 747 | 2,563 | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: color.proto
#ifndef PROTOBUF_color_2eproto__INCLUDED
#define PROTOBUF_color_2eproto__INCLUDED
#include <string>
#include <google/protobuf/stubs/common.h>
#if GOOGLE_PROTOBUF_VERSION < 3000000
#error This file was generated by a newer version of ... | 35,048 |
https://github.com/blaisse/react-language/blob/master/src/components/flashcard_single.js | Github Open Source | Open Source | MIT | null | react-language | blaisse | JavaScript | Code | 65 | 263 | import React, { Component } from 'react';
import { connect } from 'react-redux';
import {Editor, EditorState} from 'draft-js';
class FlashcardSingle extends Component {
constructor(props){
super(props);
this.state = { value: "" };
}
handleChange(event){
// console.log('?', event.t... | 35,067 |
https://github.com/iMark21/Covid19/blob/master/Covid-19/Covid-19/App/Network/Request/APIRequest.swift | Github Open Source | Open Source | MIT | 2,020 | Covid19 | iMark21 | Swift | Code | 153 | 373 | //
// APIRequest.swift
// Covid-19
//
// Created by Juan Miguel Marques on 22/05/2020.
// Copyright © 2020 Juan Miguel Marques. All rights reserved.
//
import Foundation
public enum RequestType: String {
case GET, POST, PUT
}
protocol APIRequest {
var contentType: String { get set }
var body: Data? {... | 43,469 |
https://github.com/liqianggao/xml3d.js/blob/master/src/interface/attributes.js | Github Open Source | Open Source | MIT | 2,015 | xml3d.js | liqianggao | JavaScript | Code | 1,322 | 4,269 | (function() {
var string2bool = function(string) {
switch (string.toLowerCase()) {
case "true":
case "1":
return true;
case "false":
case "0":
return false;
default:
return Boolean(string);
}
}, handler = {}, events = X... | 461 |
https://github.com/HyperDeFiProtocol/discord-bot/blob/master/events/messageCreate.js | Github Open Source | Open Source | MIT | 2,021 | discord-bot | HyperDeFiProtocol | JavaScript | Code | 42 | 126 | const {debug} = require('../utils/bot');
const {sendError} = require("../actions/notify");
const execute = async function (message) {
try {
if (!message.author) return;
if (message.author.bot) return;
if (debug) console.log('>>> events/messageCreate')
} catch (e) {
await sendEr... | 32,114 |
https://github.com/rebider/Fgame/blob/master/game/arenapvp/event/listener/arenapvp_winner_notice.go | Github Open Source | Open Source | MIT | 2,019 | Fgame | rebider | Go | Code | 197 | 976 | package listener
import (
"fgame/fgame/common/lang"
"fgame/fgame/core/event"
arenapvpdata "fgame/fgame/game/arenapvp/data"
arenapvpeventtypes "fgame/fgame/game/arenapvp/event/types"
arenapvptypes "fgame/fgame/game/arenapvp/types"
chatlogic "fgame/fgame/game/chat/logic"
gameevent "fgame/fgame/game/event"
notice... | 1,886 |
https://github.com/ca-dp/bucketeer-go-sdk/blob/master/proto/feature/command.pb.go | Github Open Source | Open Source | Apache-2.0 | null | bucketeer-go-sdk | ca-dp | Go | Code | 6,780 | 27,063 | // Code generated by protoc-gen-go. DO NOT EDIT.
// source: proto/feature/command.proto
package feature
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
any "github.com/golang/protobuf/ptypes/any"
wrappers "github.com/golang/protobuf/ptypes/wrappers"
math "math"
)
// Reference imports to suppress err... | 48,969 |
https://github.com/mkaladi/cashcash-desktop/blob/master/src/renderer/mainWindow/components/genericparameters/GenericEditTag.vue | Github Open Source | Open Source | MIT | 2,021 | cashcash-desktop | mkaladi | Vue | Code | 59 | 236 | <template>
<div class="generic-edit-tag">
<div v-if="edit">
<slot></slot>
</div>
<div v-else>
<el-tag
closable
@click="$emit('edit')"
@close="$emit('remove')"
:disable-transitions="true"
>... | 54,037 |
https://github.com/DanielOlarte/brick-breakout/blob/master/Assets/Prefabs/Bricks/Resources/Particles/HitBrickUndestroyable.prefab.meta | Github Open Source | Open Source | MIT | 2,015 | brick-breakout | DanielOlarte | Unity3D Asset | Code | 6 | 40 | fileFormatVersion: 2
guid: db8b885a1f4663d47acf3449859130b6
NativeFormatImporter:
userData:
| 20,936 |
https://github.com/Almadanmp/frontend4/blob/master/src/login/sessionActions.js | Github Open Source | Open Source | MIT | 2,019 | frontend4 | Almadanmp | JavaScript | Code | 41 | 172 | import axios from "axios";
export function logInUser(username, password) {
return axios
.post('https://smarthome-g2-server-v3.herokuapp.com/login', {username, password}, {
headers: new Headers({
Accept: 'application/json',
'Content-Type': 'application/json'
}),
})
.then(res =>... | 45,699 |
https://github.com/iloveyii/mobilz/blob/master/root/common/extensions/bootstrap/widgets/FlatActiveForm.php | Github Open Source | Open Source | Apache-2.0, BSD-2-Clause, BSD-3-Clause | 2,019 | mobilz | iloveyii | PHP | Code | 1,119 | 3,843 | <?php
/**
* YiiBooster project.
* @license [New BSD License](http://www.opensource.org/licenses/bsd-license.php)
*/
/**
* This class is extended version of {@link CActiveForm}, that allows you fully take advantage of bootstrap forms.
* Basically form consists of rows with label, field, error info, hint text and o... | 29,420 |
https://github.com/bienz2/Streamline/blob/master/src/topo_default.hpp | Github Open Source | Open Source | BSD-2-Clause | 2,020 | Streamline | bienz2 | C++ | Code | 118 | 253 | //TODO -- this file should be updated to not rely on environment variables
// but can I determine node from rank, local rank from rank,
// or global rank from local rank and node, without ordering?
#ifndef NAPCOMM_TOPO_DEFAULT_HPP
#define NAPCOMM_TOPO_DEFAULT_HPP
#include <mpi.h>
#define SMP 1
static i... | 44,140 |
https://github.com/su2mu/scala/blob/master/app/daos/OrderDao.scala | Github Open Source | Open Source | Apache-2.0 | 2,017 | scala | su2mu | Scala | Code | 163 | 516 | package daos
import scala.concurrent._
import slick.driver.MySQLDriver.api._
import models.Tables._
import javax.inject.Inject
import models.Tables._
import play.api.db.slick.DatabaseConfigProvider
import play.api.db.slick.HasDatabaseConfigProvider
import play.api.libs.concurrent.Execution.Implicits.defaultContext
imp... | 42,919 |
https://github.com/SydBal/redoot/blob/master/frontend/styles/partials/modalExample.scss | Github Open Source | Open Source | MIT | 2,019 | redoot | SydBal | SCSS | Code | 26 | 113 | .modal-content{
background: #292B2C;
.container-fluid{
padding-top: 3px;
padding-bottom: 3px;
}
.row{
& > div{
background:rgba(255,255,255,.1);
border: 1px solid white;
}
}
button.close{
color:white;
text-shadow: none;
... | 2,458 |
https://github.com/OnPositive/rtui/blob/master/src/keywords.ts | Github Open Source | Open Source | Apache-2.0 | null | rtui | OnPositive | TypeScript | Code | 477 | 2,383 |
function isLetter(c:string) {
return c.toLowerCase() != c.toUpperCase();
}
var digits={
"0":true,
"1":true,
"2":true,
"3":true,
"4":true,
"5":true,
"6":true,
"7":true,
"8":true,
"9":true,
}
var blackList={}
function isDigit(c:string){
return digits[c]
}
var list=["that",... | 43,629 |
https://github.com/mincheolsung/Virtualization_Technologies_Projects/blob/master/Project3/sysv_ipc-1.0.0/probe_results.h | Github Open Source | Open Source | BSD-3-Clause | 2,021 | Virtualization_Technologies_Projects | mincheolsung | C | Code | 111 | 261 | /*
This header file was generated when you ran setup. Once created, the setup
process won't overwrite it, so you can adjust the values by hand and
recompile if you need to.
To enable lots of debug output, add this line and re-run setup.py:
#define SYSV_IPC_DEBUG
To recreate this file, just delete it and re-run setup.... | 29,841 |
https://github.com/shangfeiSF/socketio-grope/blob/master/main/socketio/grope/1.use/client.js | Github Open Source | Open Source | MIT | 2,016 | socketio-grope | shangfeiSF | JavaScript | Code | 30 | 98 | var socket = io('http://localhost:8080')
var greetings = document.getElementById('greetings')
socket.on('greeting', function (data) {
var message = document.createElement('div')
message.innerHTML = data.message
greetings.appendChild(message)
socket.emit('answer', {
message: 'I am fine. Thank you'
})
}) | 32,188 |
https://github.com/longphin/Bayesian---STA250/blob/master/HW2/BLB/BLB_lin_reg_job.R | Github Open Source | Open Source | MIT | 2,013 | Bayesian---STA250 | longphin | R | Code | 347 | 976 | # Hello
library(BH)
library(bigmemory.sri)
library(bigmemory)
library(biganalytics)
#
# ~~==| Preset values |==~~
#
path <- "/home/pdbaines/data"
outpath <- "output/"
mini <- FALSE
# mini or full? n and number of parameters is determined based on this
# Of course, general code would determine these by reading the fil... | 13,112 |
https://github.com/gauriachalare123/circosJS/blob/master/demo/histogram.js | Github Open Source | Open Source | MIT | 2,022 | circosJS | gauriachalare123 | JavaScript | Code | 314 | 1,085 | var gieStainColor = {
gpos100: 'rgb(0,0,0)',
gpos: 'rgb(0,0,0)',
gpos75: 'rgb(130,130,130)',
gpos66: 'rgb(160,160,160)',
gpos50: 'rgb(200,200,200)',
gpos33: 'rgb(210,210,210)',
gpos25: 'rgb(200,200,200)',
gvar: 'rgb(220,220,220)',
gneg: 'rgb(255,255,255)',
acen: 'rgb(217,47,39)',
stalk: 'rgb(100,1... | 17,260 |
https://github.com/michael-allram/travelcounsellor/blob/master/php/get_details.php | Github Open Source | Open Source | MIT | 2,018 | travelcounsellor | michael-allram | PHP | Code | 31 | 210 | <?php
$place_id = $_GET['place_id'];
$json=file_get_contents('https://maps.googleapis.com/maps/api/place/details/json?placeid=' . $place_id . '&key=AIzaSyBBxg4WQz_rdeQT8_0b8rX9Y_7CEiBOB4E');
//decode json
$data = json_decode($json);
echo $data->result->photos[0]->photo_reference;
echo $data->result->name;
echo $data... | 8,889 |
https://github.com/nafiz6629/datatable/blob/master/app/Controllers/Home.php | Github Open Source | Open Source | MIT | 2,020 | datatable | nafiz6629 | PHP | Code | 310 | 1,051 | <?php namespace App\Controllers;
class Home extends BaseController
{
public function index()
{
return view('welcome_message');
}
//--------------------------------------------------------------------
//session
// public function createUserUsingSession()
// {
// $session = session();
// $dat... | 14,356 |
https://github.com/sarahgerweck/scala-utils/blob/master/macro/src/main/scala/org/gerweck/scala/util/SupportMacros.scala | Github Open Source | Open Source | Apache-2.0 | 2,021 | scala-utils | sarahgerweck | Scala | Code | 144 | 523 | package org.gerweck.scala.util
import scala.reflect.macros.whitebox.Context
import org.log4s._
private[util] object SupportMacros {
def support_simple(c: Context): c.Expr[Nothing] = {
import c.universe._
val callerName = getCallerName(c)
val message = s"Method `$callerName` not supported"
c.Expr... | 24,384 |
https://github.com/trianonco/trianon_ts_pwa/blob/master/src/shared/database/shop-db/index.ts | Github Open Source | Open Source | MIT | null | trianon_ts_pwa | trianonco | TypeScript | Code | 238 | 933 | // apiDB
import firebase from 'firebase/app';
export default class ShopDataBase {
private db = firebase.firestore();
constructor() { }
public async init() {
console.log('USER-DB')
}
public async setShopProducts(collection_name: string, document_name: string, document_data: string): Promi... | 45,252 |
https://github.com/Xenoveritas/lttp-tracker/blob/master/src/ui/rule.ts | Github Open Source | Open Source | MIT | null | lttp-tracker | Xenoveritas | TypeScript | Code | 283 | 810 | "use strict";
import DB from "../db";
import Rule, { ListRule, LookupRule } from "../rule";
class FieldLabel {
private _span: HTMLSpanElement;
private _name: string;
private _cssClass: string;
constructor(private db: DB, name: string) {
this._span = document.createElement('span');
this._span.append(na... | 2,201 |
https://github.com/ajkwak/NEPIC/blob/master/src/nepic/util/Pixel.java | Github Open Source | Open Source | Apache-2.0 | null | NEPIC | ajkwak | Java | Code | 189 | 391 | package nepic.util;
import java.awt.Point;
/**
* Represents a single pixel with integer coordinates {@code (x, y)} and RGB-formatted color.
*
* @author AJ Parmidge
*/
public class Pixel extends Point {
/**
* Generated serialVersionUID.
*/
private static final long serialVersionUID = -86231999906... | 4,681 |
https://github.com/YassineCherkaoui/APPLICATION-MOBILE-GESTION-DE-DEVISE-USING-REACT-NATIVE/blob/master/APPLICATION/FrontEnd/navigation/WebView.js | Github Open Source | Open Source | MIT | null | APPLICATION-MOBILE-GESTION-DE-DEVISE-USING-REACT-NATIVE | YassineCherkaoui | JavaScript | Code | 68 | 145 | import { StatusBar } from 'expo-status-bar';
import React, { useState, useEffect } from 'react';
import { StyleSheet, Text, View, Image, Linking, Pressable } from 'react-native';
import { WebView } from 'react-native-webview';
const WebviewNav = ({ navigation, route }) => {
const { data } = route.params;
return ... | 5,939 |
https://github.com/rodriguezric/PlayerController2D/blob/master/PlayerController2D.gd | Github Open Source | Open Source | MIT | 2,021 | PlayerController2D | rodriguezric | GDScript | Code | 153 | 429 | class_name PlayerController2D
extends KinematicBody2D
"""
PlayerController2D
This class extends a KinematicBody2D for creating a controllable
2D player. It maps some default "ui" inputs from Godot to apply
physics on the KinematicBody2D.
This is the current input map:
* ui_left for moving left
* ui_right for ... | 41,567 |
https://github.com/waychane/react-progress-2/blob/master/src/main.js | Github Open Source | Open Source | MIT | 2,015 | react-progress-2 | waychane | JavaScript | Code | 150 | 549 | import React from "react";
var Component = React.createClass({
getInitialState: function() {
return {
state: "hidden",
count: 0
}
},
getDefaultProps: function() {
return {
cls: ""
}
},
render: function() {
var cls = "load... | 9,155 |
https://github.com/yisyuanliou/VTK-m/blob/master/vtkm/filter/PolicyBase.h | Github Open Source | Open Source | BSD-3-Clause | null | VTK-m | yisyuanliou | C | Code | 1,122 | 3,661 | //============================================================================
// Copyright (c) Kitware, Inc.
// All rights reserved.
// See LICENSE.txt for details.
//
// This software is distributed WITHOUT ANY WARRANTY; without even
// the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
// PURP... | 42,899 |
https://github.com/savkaoleg/ta_camp/blob/master/004/4.js | Github Open Source | Open Source | Apache-2.0 | null | ta_camp | savkaoleg | JavaScript | Code | 43 | 98 | // Write a JS program to check a given integer is bigger than 100
const biggerThan100 = (num) => {
return num > 100;
}
const printResult = (num) => {
console.log(`Result ${num} bigger than 100 : ${biggerThan100(num)}`);
}
printResult(0);
printResult(10);
printResult(100);
printResult(1000); | 54,225 |
https://github.com/ispoljari/react-recipe-builder/blob/master/src/components/SubTitle/SubTitle.js | Github Open Source | Open Source | MIT | 2,020 | react-recipe-builder | ispoljari | JavaScript | Code | 92 | 342 | import React from 'react';
import PropTypes from 'prop-types';
import { Title } from '../Title/Title';
import withRowContent from '../../hocs/RowContent';
const SubTitle = React.memo(({
text, variant, color, fontSizeXS, fontSizeLG, textAlign,
}) => (
<Title
variant={variant}
color={color}
text={text}
... | 52,982 |
https://github.com/pangxie1991/LearningProgress/blob/master/DSA/Chapter13_Retrieval/SequentialSearch.js | Github Open Source | Open Source | Apache-2.0 | 2,017 | LearningProgress | pangxie1991 | JavaScript | Code | 220 | 573 | // *
// 顺序查找适用于元素随机排列的列表
// --------------------------------------------------------------------------------
const seqSearch = {
hasData(arr, data) {
for (let i = 0, l = arr.length; i < l; i++) {
if (arr[i] === data) {
return true;
}
}
return false;
},
getIndex(arr, data) {
for (let i = 0, l = ar... | 23,005 |
https://github.com/shijiansu/coursera-applied-data-science-with-python/blob/master/2_applied_data_representation/w3_charting_fundamentals/1_chart/1_subplot.py | Github Open Source | Open Source | MIT | null | coursera-applied-data-science-with-python | shijiansu | Python | Code | 185 | 543 | #!/usr/bin/python
# -*- coding:utf-8 -*-
import matplotlib.pyplot as plt
import numpy as np
# 数据
linear_data = np.array([1, 2, 3, 4, 5, 6, 7, 8])
exponential_data = linear_data ** 2
# 例子 1:
plt.figure()
# subplot with 1 row, 2 columns, and current axis is 1st subplot axes
plt.subplot(1, 2, 1)
plt.plot(linear_data, '... | 44,225 |
https://github.com/spirentitestdevter/RED/blob/master/src/Eclipse-IDE/org.robotframework.ide.eclipse.main.plugin.tests/src/org/robotframework/red/viewers/ViewersTest.java | Github Open Source | Open Source | Apache-2.0 | 2,022 | RED | spirentitestdevter | Java | Code | 360 | 1,860 | /*
* Copyright 2015 Nokia Solutions and Networks
* Licensed under the Apache License, Version 2.0,
* see license.txt file for details.
*/
package org.robotframework.red.viewers;
import static org.assertj.core.api.Assertions.assertThat;
import static org.assertj.core.api.Assertions.assertThatExceptionOfType;
import... | 28,997 |
https://github.com/mtyrolski/Crystal-Swirl/blob/master/documentation/html/search/enumvalues_6.js | Github Open Source | Open Source | MIT | 2,018 | Crystal-Swirl | mtyrolski | JavaScript | Code | 5 | 79 | var searchData=
[
['info',['INFO',['../classmv_1_1_logger.html#a02817aad7d75e78221f0c57927956697a551b723eafd6a31d444fcb2f5920fbd3',1,'mv::Logger']]]
];
| 46,696 |
https://github.com/Pustur/frontend-mentor-challenges/blob/master/sass/partials/_variables.scss | Github Open Source | Open Source | MIT | null | frontend-mentor-challenges | Pustur | SCSS | Code | 53 | 277 | :root {
--color-background: #f2f2f2;
--color-foreground: #777;
--color-borders: #ccc;
--color-headings: #222;
--color-footer-links: #222;
--color-project-card: white;
--color-shadow: rgba(62, 84, 163, 0.1);
--color-tag-html: #6abecd;
--color-tag-css: #3e54a3;
--color-tag-js: #e13784;
--color-tag-a... | 17,946 |
https://github.com/pablomartinez1/2mgnet/blob/master/resources/views/abm_acciones/mostrarvenue.blade.php | Github Open Source | Open Source | MIT | null | 2mgnet | pablomartinez1 | PHP | Code | 280 | 1,475 | @extends('layouts.app')
<link rel='stylesheet' href="{{ url('/css/vistas.css') }}" />
@section('content')
<div id="div-agregado" class="container">
<div id="boton-cerrar-form"><a href="{!! url()->previous() !!}"><span id="glyph-cerrar" class="glyphicon glyphicon-remove"></span></a></div>
<div id="... | 28,545 |
https://github.com/solid-vovabeloded/flank-dashboard/blob/master/scripts/links_checker/lib/cli/command/links_checker_command.dart | Github Open Source | Open Source | Apache-2.0 | 2,021 | flank-dashboard | solid-vovabeloded | Dart | Code | 256 | 749 | // Use of this source code is governed by the Apache License, Version 2.0
// that can be found in the LICENSE file.
import 'package:args/command_runner.dart';
import 'package:links_checker/checker/factory/links_checker_factory.dart';
import 'package:links_checker/checker/links_checker.dart';
import 'package:links_chec... | 7,643 |
https://github.com/zeptian/dashboard79/blob/master/application/controllers/Ajax_graph.php | Github Open Source | Open Source | MIT | null | dashboard79 | zeptian | PHP | Code | 305 | 1,976 | <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class Ajax_graph extends CI_Controller {
public function __construct()
{
parent::__construct();
/* AJAX check */
/*if ( $this->input->is_ajax_request()==FALSE) {
redirect('home');
}*/
}
public function monthly()
{
$variable ... | 30,605 |
https://github.com/SiMylo/kmel_db/blob/master/kmeldb/MainIndexEntry.py | Github Open Source | Open Source | Apache-2.0 | 2,021 | kmel_db | SiMylo | Python | Code | 705 | 2,609 | import logging
import struct
from .constants import STRING_ENCODING
log = logging.getLogger(__name__)
class MainIndexEntry(object):
'''A class to read and write main index entries.'''
FORMAT = "<HHH HIII HHI HHI HHI HHI HHI I"
SIZE = struct.calcsize(FORMAT)
TITLE_CHAR_LENGTH = 2
SHORTDIR_CHAR_LE... | 53,459 |
https://github.com/con2/kompassi/blob/master/access/privileges.py | Github Open Source | Open Source | CC-BY-3.0 | 2,021 | kompassi | con2 | Python | Code | 62 | 184 | from django.conf import settings
from django.contrib.auth.models import Group
from core.utils import ensure_user_group_membership
def invite_to_slack(privilege, person):
"""
Invites the user to Slack.
NOTE: Nowadays done via invite link, so the server-side invite method is noop.
"""
pass
def a... | 6,640 |
https://github.com/mohamedmagdy20/Ecommerce/blob/master/resources/views/adminlogin.blade.php | Github Open Source | Open Source | MIT | null | Ecommerce | mohamedmagdy20 | PHP | Code | 88 | 540 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="{{asset('style/bootstrap-5.1.3-dist/css/bootstrap.min.css')}}">
<link rel="styleshe... | 29,885 |
https://github.com/cfenrir/JAXL/blob/master/src/JAXL/xep/xep_0045.php | Github Open Source | Open Source | BSD-3-Clause | 2,021 | JAXL | cfenrir | PHP | Code | 446 | 1,216 | <?php
/**
* Jaxl (Jabber XMPP Library)
*
* Copyright (c) 2009-2012, Abhinav Singh <me@abhinavsingh.com>.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source... | 40,539 |
https://github.com/BreezeZin/DefinitelyTyped/blob/master/types/carbon__icons-react/lib/document--video/32.d.ts | Github Open Source | Open Source | MIT | 2,022 | DefinitelyTyped | BreezeZin | TypeScript | Code | 9 | 20 | import { DocumentVideo32 } from "../../";
export = DocumentVideo32;
| 50,854 |
https://github.com/upgrayyed42/EggContractor/blob/master/util/time.go | Github Open Source | Open Source | MIT | 2,022 | EggContractor | upgrayyed42 | Go | Code | 414 | 1,057 | package util
import (
"fmt"
"math"
"time"
)
const InfDuration = time.Duration(math.MaxInt64)
// DoubleToTime converts an epoch timestamp in seconds to Time.
// Overflow is not considered.
func DoubleToTime(t float64) time.Time {
if t == 0 {
return time.Time{}
}
sec, frac := math.Modf(t)
return time.Unix(int... | 34,535 |
https://github.com/threefoldfoundation/tf_app/blob/master/brandings/src/pages/error.service.ts | Github Open Source | Open Source | Apache-2.0 | 2,020 | tf_app | threefoldfoundation | TypeScript | Code | 231 | 646 | import { Injectable } from '@angular/core';
import { InAppBrowser } from '@ionic-native/in-app-browser';
import { TranslateService } from '@ngx-translate/core';
import { AlertController } from 'ionic-angular';
import { RogerthatError } from 'rogerthat-plugin';
@Injectable()
export class ErrorService {
constructor(pr... | 19,491 |
https://github.com/carlst99/DbgCensus/blob/master/Samples/EventStreamSample/EventHandlers/ControlPayloads/UnknownPayloadHandler.cs | Github Open Source | Open Source | 0BSD | 2,022 | DbgCensus | carlst99 | C# | Code | 55 | 210 | using DbgCensus.EventStream.EventHandlers.Abstractions;
using DbgCensus.EventStream.EventHandlers.Abstractions.Objects;
using Microsoft.Extensions.Logging;
using System.Threading;
using System.Threading.Tasks;
namespace EventStreamSample.EventHandlers.ControlPayloads;
public class UnknownPayloadHandler : IPayloadHan... | 45,543 |
https://github.com/GCA7/Proyecto_web2/blob/master/correophp/resources/views/layouts/principal.blade.php | Github Open Source | Open Source | MIT | 2,016 | Proyecto_web2 | GCA7 | Blade | Code | 43 | 343 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Letter</title>
<link href="../img/email-2-icon.png" rel="shortcut icon" type="image/png">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css">
<link rel="stylesheet" type="text/cs... | 41,107 |
https://github.com/MikeJi/hostboot/blob/master/src/include/usr/hwpf/hwp/mvpd_accessors/getMBvpdVersion.H | Github Open Source | Open Source | Apache-2.0 | 2,015 | hostboot | MikeJi | C | Code | 278 | 625 | /* IBM_PROLOG_BEGIN_TAG */
/* This is an automatically generated prolog. */
/* */
/* $Source: src/include/usr/hwpf/hwp/mvpd_accessors/getMBvpdVersion.H $ */
/* ... | 23,548 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.