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/Kruziikloksu/Learning/blob/master/SLuaTest/Assets/Slua/LuaObject/Unity/Lua_UnityEngine_Assertions_Assert.cs | Github Open Source | Open Source | MulanPSL-1.0 | null | Learning | Kruziikloksu | C# | Code | 828 | 5,030 | using System;
using SLua;
using System.Collections.Generic;
[UnityEngine.Scripting.Preserve]
public class Lua_UnityEngine_Assertions_Assert : LuaObject {
[SLua.MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
[UnityEngine.Scripting.Preserve]
static public int IsTrue_s(IntPtr l) {
try {
#if DEBUG
var met... | 49,674 |
https://github.com/yonat/StepProgressView/blob/master/Sources/StepProgressView.swift | Github Open Source | Open Source | MIT | 2,023 | StepProgressView | yonat | Swift | Code | 1,252 | 3,316 | //
// StepProgressView.swift
// Show step-by-step progress.
//
// Usage:
// progress = StepProgressView(frame: someFrame)
// progress.steps = ["First", "Second", "Third", "Last"]
// progress.currentStep = 0
// ... when all done:
// progress.currentStep = 4
//
// Created by Yonat Sharon on 1... | 12,261 |
https://github.com/yeastrc/limelight-core/blob/master/limelight_run_importer/src/main/java/org/yeastrc/limelight/limelight_run_importer/main/ImporterRunnerMain.java | Github Open Source | Open Source | Apache-2.0 | 2,023 | limelight-core | yeastrc | Java | Code | 423 | 1,174 | /*
* Original author: Daniel Jaschob <djaschob .at. uw.edu>
*
* Copyright 2018 University of Washington - Seattle, WA
*
* 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
*
* ... | 9,636 |
https://github.com/mwtelles/Sporotrichosis/blob/master/app/Http/Livewire/Admin/Users/Create.php | Github Open Source | Open Source | MIT | null | Sporotrichosis | mwtelles | PHP | Code | 119 | 490 | <?php
namespace App\Http\Livewire\Admin\Users;
use App\Models\Estado;
use App\Models\Municipio;
use App\Models\User;
use Illuminate\Support\Facades\Hash;
use Livewire\Component;
class Create extends Component
{
public User $user;
public $saved;
public $password;
public $estados = [];
public $esta... | 11,512 |
https://github.com/munozv/blg-test/blob/master/blg-test/Scripts/SendConfirmation.jsx | Github Open Source | Open Source | MIT | 2,018 | blg-test | munozv | JavaScript | Code | 48 | 127 | class SendConfirmation extends React.Component {
constructor(props) {
super(props);
this.state = {
};
}
render() {
return (
<div className="SendConfirmation">
<br />
Thank you for using blg-test ! An Email will be send t... | 23,769 |
https://github.com/arielger/personal-website/blob/master/gatsby-config.js | Github Open Source | Open Source | MIT | 2,018 | personal-website | arielger | JavaScript | Code | 87 | 411 | const config = require("./src/variables/config.json");
module.exports = {
// siteMetadata added for gatsby-plugin-sitemap
siteMetadata: {
siteUrl: config.SITE_URL,
},
plugins: [
"gatsby-plugin-styled-jsx",
"gatsby-plugin-react-svg",
{
resolve: `gatsby-source-filesystem`,
options: {
... | 27,706 |
https://github.com/Gizra/generator-elmlang/blob/master/generators/app/templates/src/elm/User/Model.elm | Github Open Source | Open Source | MIT | 2,017 | generator-elmlang | Gizra | null | Spoken | 42 | 74 | module User.Model exposing (..)
type alias User =
{ avatarUrl : String
, login :
String
-- In GitHub user might not have a name, just the login handler, so this
-- is a "Maybe" value.
, name : Maybe String
}
| 19,778 |
https://github.com/Tarmean/dsh-example-queries/blob/master/loading/aquery/pg/trades_indexes.sql | Github Open Source | Open Source | BSD-3-Clause | null | dsh-example-queries | Tarmean | SQL | Code | 24 | 52 | create index on trades(tid);
create index on trades(tradedate, ts);
create unique index uniq1 on trades(tid, tradedate, ts);
create unique index uniq2 on trades(tid, ts);
| 52,412 |
https://github.com/scope-demo/scope-demo-riposte/blob/master/nike-riposte-integration-core-code/src/main/java/com/undefinedlabs/Main.java | Github Open Source | Open Source | Apache-2.0 | null | scope-demo-riposte | scope-demo | Java | Code | 72 | 219 | package com.undefinedlabs;
import com.nike.riposte.server.Server;
import com.nike.riposte.server.config.ServerConfig;
import com.nike.riposte.typesafeconfig.TypesafeConfigServer;
import com.undefinedlabs.nikeriposteintegration.server.config.AppServerConfig;
import com.typesafe.config.Config;
/**
* Main class entry ... | 44,841 |
https://github.com/jacobhanshaw/LimitlessNewWorlds/blob/master/LNW/Assets/LeapMotion/cmake-3.1.0-rc3/Tests/MacRuntimePath/A/CMakeLists.txt.meta | Github Open Source | Open Source | BSD-3-Clause | 2,014 | LimitlessNewWorlds | jacobhanshaw | Unity3D Asset | Code | 6 | 42 | fileFormatVersion: 2
guid: 27b54c0da05d8fe49aeb1f9deba8f808
TextScriptImporter:
userData:
| 7,627 |
https://github.com/webOS-ports/meta-pine64-luneos/blob/master/recipes-connectivity/eg25-manager/eg25-manager/eg25-manager.service | Github Open Source | Open Source | LicenseRef-scancode-warranty-disclaimer, Apache-2.0 | 2,023 | meta-pine64-luneos | webOS-ports | null | Spoken | 13 | 72 | [Unit]
Description=Start/Stop EG25 WWAN module
Requires=dbus.service
Before=ofono.service
[Service]
Type=simple
User=root
ExecStart=/usr/bin/eg25manager
[Install]
WantedBy=multi-user.target
| 15,327 |
https://github.com/lcmatrix/betting-game/blob/master/src/main/kotlin/de/bettinggame/domain/News.kt | Github Open Source | Open Source | Apache-2.0 | 2,020 | betting-game | lcmatrix | Kotlin | Code | 95 | 305 | package de.bettinggame.domain
import org.springframework.data.jpa.repository.JpaRepository
import java.time.OffsetDateTime
import javax.persistence.Column
import javax.persistence.Entity
import javax.persistence.JoinColumn
import javax.persistence.ManyToOne
import javax.validation.constraints.NotNull
/**
* News enti... | 32,185 |
https://github.com/mrisney/yoching/blob/master/YoChing/YoChing/Wrexagrams/WrexagramListViewController.swift | Github Open Source | Open Source | MIT | 2,016 | yoching | mrisney | Swift | Code | 345 | 1,066 | //
// WrexagramListViewController.swift
// YoChing
//
// Created by Juan Wellington Moreno on 4/7/16.
// Copyright © 2016 Gary.com. All rights reserved.
//
import Foundation
import UIKit
class WrexagramListViewController : UITableViewController {
lazy var wrexagrams = WrexagramLibrary.wrexagrams
pri... | 6,974 |
https://github.com/gglin001/popart/blob/master/willow/include/popart/op/softsign.hpp | Github Open Source | Open Source | MIT | 2,022 | popart | gglin001 | C++ | Code | 85 | 323 | // Copyright (c) 2021 Graphcore Ltd. All rights reserved.
#ifndef GUARD_NEURALNET_SOFTSIGN_HPP
#define GUARD_NEURALNET_SOFTSIGN_HPP
#include <popart/op/elementwise.hpp>
namespace popart {
class SoftSignOp : public ElementWiseUnaryOp {
public:
SoftSignOp(const OperatorIdentifier &opid, const Op::Settings &settings)... | 49,066 |
https://github.com/mergu/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/utilities/ListQueue.java | Github Open Source | Open Source | MIT | null | Denizen-Core | mergu | Java | Code | 360 | 930 | package com.denizenscript.denizencore.utilities;
import com.denizenscript.denizencore.scripts.ScriptEntry;
import java.util.Iterator;
import java.util.List;
public class ListQueue implements Iterable<ScriptEntry> {
public ScriptEntry[] values;
public int count;
public int start;
public ListQueue(... | 19,395 |
https://github.com/modulovalue/console.dart/blob/master/example/choice.dart | Github Open Source | Open Source | MIT | null | console.dart | modulovalue | Dart | Code | 33 | 92 |
import 'package:console/prompt.dart';
// Select a multiple choice option.
void main() {
final chooser = DCChooser<String>(
['A', 'B', 'C', 'D'],
message: 'Select a Letter: ',
);
final letter = chooser.chooseSync();
print('You chose $letter.');
}
| 38,148 |
https://github.com/clappr/clappr-plugins/blob/master/src/plugins/error_screen/error_screen.test.js | Github Open Source | Open Source | BSD-3-Clause | 2,023 | clappr-plugins | clappr | JavaScript | Code | 213 | 867 | import { Core, Container, Events, Playback, PlayerError } from '@clappr/core'
import ErrorScreen from './error_screen'
describe('ErrorScreen', function() {
beforeEach(() => {
this.core = new Core({})
this.errorScreen = new ErrorScreen(this.core)
this.core.addPlugin(this.errorScreen)
})
it('is named... | 30,465 |
https://github.com/steffenjacobs/supersocial/blob/master/backend/src/main/java/me/steffenjacobs/supersocial/domain/entity/StandaloneUser.java | Github Open Source | Open Source | MIT | 2,021 | supersocial | steffenjacobs | Java | Code | 205 | 718 | package me.steffenjacobs.supersocial.domain.entity;
import java.util.Date;
import java.util.UUID;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Inheritance;
import javax.persistence.InheritanceType;
impo... | 46,726 |
https://github.com/microsoftgraph/msgraph-beta-sdk-php/blob/master/src/Generated/Models/Windows10VpnConfiguration.php | Github Open Source | Open Source | MIT | 2,023 | msgraph-beta-sdk-php | microsoftgraph | PHP | Code | 2,505 | 7,929 | <?php
namespace Microsoft\Graph\Beta\Generated\Models;
use Microsoft\Kiota\Abstractions\Serialization\Parsable;
use Microsoft\Kiota\Abstractions\Serialization\ParseNode;
use Microsoft\Kiota\Abstractions\Serialization\SerializationWriter;
use Microsoft\Kiota\Abstractions\Types\TypeUtils;
use Psr\Http\Message\StreamInt... | 2,782 |
https://github.com/BuildJet/sat4envi/blob/master/s4e-backend/src/main/java/pl/cyfronet/s4e/controller/LicenseGrantController.java | Github Open Source | Open Source | Apache-2.0 | 2,020 | sat4envi | BuildJet | Java | Code | 471 | 1,478 | /*
* Copyright 2020 ACC Cyfronet AGH
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | 10,865 |
https://github.com/georghinkel/ttc2017smartGrids/blob/master/solutions/eMoflon/rgse.ttc17.metamodels.src/src/gluemodel/CIM/IEC61968/Common/impl/LocationImpl.java | Github Open Source | Open Source | MIT | 2,021 | ttc2017smartGrids | georghinkel | Java | Code | 3,546 | 14,834 | /**
*/
package gluemodel.CIM.IEC61968.Common.impl;
import gluemodel.CIM.IEC61968.Assets.Asset;
import gluemodel.CIM.IEC61968.Assets.AssetsPackage;
import gluemodel.CIM.IEC61968.Common.CommonPackage;
import gluemodel.CIM.IEC61968.Common.CoordinateSystem;
import gluemodel.CIM.IEC61968.Common.ElectronicAddress;
import ... | 47,719 |
https://github.com/alltheplaces/alltheplaces/blob/master/locations/spiders/gulf_oil_nl.py | Github Open Source | Open Source | CC0-1.0, MIT | 2,023 | alltheplaces | alltheplaces | Python | Code | 108 | 601 | import scrapy
from locations.hours import OpeningHours, sanitise_day
from locations.items import Feature
class GulfOilNLSpider(scrapy.Spider):
name = "gulf_oil_nl"
start_urls = ["http://www.gulftankstationsenviemretail.nl/wp-content/themes/gulf-stations/gulf-map/json.php"]
item_attributes = {"brand": "G... | 26,774 |
https://github.com/AndreZila01/Projects-C-sharp/blob/master/GamesForGood/Library/PackageCache/com.unity.visualscripting@1.8.0/Editor/VisualScripting.Core/Inspection/Root/LudiqScriptableObjectEditor.cs | Github Open Source | Open Source | MIT, LicenseRef-scancode-unknown-license-reference | 2,023 | Projects-C-sharp | AndreZila01 | C# | Code | 15 | 55 | using UnityEditor;
namespace Unity.VisualScripting
{
[CustomEditor(typeof(LudiqScriptableObject), true)]
public class LudiqScriptableObjectEditor : LudiqRootObjectEditor { }
}
| 43,275 |
https://github.com/JStumpp/jooby/blob/master/jooby/src/test/java/org/jooby/MediaTypeTest.java | Github Open Source | Open Source | Apache-2.0 | 2,016 | jooby | JStumpp | Java | Code | 501 | 2,579 | package org.jooby;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNotEquals;
import static org.junit.Assert.assertTrue;
import java.nio.file.Paths;
import java.util.Collections;
import java.util.Iterator;
import java.util.List;
import java... | 8,317 |
https://github.com/rajaru/dbmysql/blob/master/dbmysql.js | Github Open Source | Open Source | MIT | null | dbmysql | rajaru | JavaScript | Code | 1,149 | 3,496 | var mysql = require('mysql2');
const {performance} = require('perf_hooks');
//var mysql = require('mysql');
/*
* conf:
* host, port, socketPath, user, password, database, charset
*/
class gdb{
constructor(){
this.name = null; //data base (schema?) name
this.schema = null;
... | 44,764 |
https://github.com/ccding/go-logging/blob/master/logging/fields.go | Github Open Source | Open Source | Apache-2.0 | 2,019 | go-logging | ccding | Go | Code | 703 | 1,721 | // Copyright 2013, Cong Ding. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable l... | 23,406 |
https://github.com/chaitanyanarukulla/pyramid-learning-journal/blob/master/learning_journal/conftest.py | Github Open Source | Open Source | MIT | 2,017 | pyramid-learning-journal | chaitanyanarukulla | Python | Code | 104 | 433 | """Test fixture."""
import pytest
from pyramid import testing
from learning_journal.models import Entry
from learning_journal.models.meta import Base
@pytest.fixture(scope='session')
def configuration(request):
"""Set up a Configurator instance."""
config = testing.setUp(settings={
'sqlalchemy.url': '... | 52,719 |
https://github.com/dimdol/sql-java/blob/master/sql-java/src/com/dimdol/sql/ConsoleData.java | Github Open Source | Open Source | Apache-2.0 | null | sql-java | dimdol | Java | Code | 404 | 1,294 | package com.dimdol.sql;
import java.sql.ResultSet;
import java.sql.ResultSetMetaData;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.Comparator;
import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import java.util.function.BiFunction;
clas... | 31,463 |
https://github.com/santosh3197/SWMS/blob/master/LR4/staff_login/segregation/segregation.php | Github Open Source | Open Source | MIT | 2,021 | SWMS | santosh3197 | PHP | Code | 60 | 268 | <html>
<head>
<title>Collection Details</title>
</head>
<body>
<?php
//including the database connection file
include_once("config.php");
if(isset($_POST['submit'])) {
$date1 = $_POST['date1'];
$city = $_POST['city'];
$waste = $_POST['waste'];
$source = $_POST['source'];
$area = $_POST['a... | 9,752 |
https://github.com/thetrueoneshots/CubeMegaMod/blob/master/src/cwsdk-extension/events/EventList.cpp | Github Open Source | Open Source | MIT | 2,022 | CubeMegaMod | thetrueoneshots | C++ | Code | 95 | 348 | #include "EventList.h"
cube::EventList::EventList()
{
}
cube::EventList::~EventList()
{
for (cube::Event* e : events)
{
delete e;
}
}
cube::Event* cube::EventList::Find(EventType type)
{
for (cube::Event* e : events)
{
if (e->eventType == type)
{
return e;
}
}
return nullptr;
}
void cube::EventLi... | 12,744 |
https://github.com/orels1/pokedex/blob/master/backend/api/v1/search.js | Github Open Source | Open Source | MIT | 2,017 | pokedex | orels1 | JavaScript | Code | 446 | 958 | const express = require('express');
const Pokedex = require('pokedex-promise-v2');
const _ = require('lodash');
const router = express.Router();
/*
* PokeAPI wrapper provides an 11-day caching policy
* So we can simply get it manually everytime and be good with it
*/
const P = new Pokedex();
/**
* @param {array... | 9,354 |
https://github.com/RunOpenCode/event-overlaps/blob/master/assets/src/contract/event.interface.ts | Github Open Source | Open Source | MIT | 2,021 | event-overlaps | RunOpenCode | TypeScript | Code | 35 | 77 | export interface EventInterface {
/**
* Reference to event.
*/
reference: any;
/**
* Get start date/time of the event.
*/
start: Date;
/**
* Get end date/time of the event.
*/
end: Date;
} | 30,324 |
https://github.com/lanseyege/lanseyege.github.io/blob/master/node_modules/speech-rule-engine/js/enrich_mathml/case_multiscripts.d.ts | Github Open Source | Open Source | Apache-2.0 | 2,023 | lanseyege.github.io | lanseyege | TypeScript | Code | 28 | 86 | import { SemanticNode } from '../semantic_tree/semantic_node';
import { CaseMultiindex } from './case_multiindex';
export declare class CaseMultiscripts extends CaseMultiindex {
static test(semantic: SemanticNode): boolean;
constructor(semantic: SemanticNode);
getMathml(): Element;
}
| 22,856 |
https://github.com/mehlon/SSVOpenHexagon/blob/master/include/SSVOpenHexagon/SSVUtilsJson/JsonCpp/json.hpp | Github Open Source | Open Source | AFL-3.0, AFL-2.1, LicenseRef-scancode-unknown-license-reference | 2,019 | SSVOpenHexagon | mehlon | C++ | Code | 1,690 | 5,044 | // Copyright (c) 2013-2015 Vittorio Romeo
// License: Academic Free License ("AFL") v. 3.0
// AFL License page: http://opensource.org/licenses/AFL-3.0
// Fork of: http://jsoncpp.sourceforge.net/
#ifndef SSVUJ_OH_JSONCPP_JSON
#define SSVUJ_OH_JSONCPP_JSON
#define JSON_FAIL_MESSAGE(message) throw std::runtime_error(mes... | 24,497 |
https://github.com/hanifeoglu/pos/blob/master/examples/ykb/regular/direct.php | Github Open Source | Open Source | MIT | 2,019 | pos | hanifeoglu | PHP | Code | 87 | 309 | <?php
require '_config.php';
$order_id = date('Ymd') . strtoupper(substr(uniqid(sha1(time())),0,4));
$amount = (double) 100;
$order = [
'id' => $order_id,
'name' => 'John Doe', // optional
'email' => 'mail@customer.com', // optional
'user_id' => '12', // optional
... | 44,512 |
https://github.com/lechium/iOS1351Headers/blob/master/System/Library/PrivateFrameworks/UIKitCore.framework/_UIStatusBarRegionCursorInsetProvider.h | Github Open Source | Open Source | MIT | 2,022 | iOS1351Headers | lechium | C | Code | 57 | 188 | /*
* This header is generated by classdump-dyld 1.5
* on Friday, April 30, 2021 at 11:35:11 AM Mountain Standard Time
* Operating System: Version 13.5.1 (Build 17F80)
* Image Source: /System/Library/PrivateFrameworks/UIKitCore.f... | 27,856 |
https://github.com/swc-project/swc/blob/master/crates/swc_ecma_transforms_base/tests/ts-resolver/type/checker/002/input.ts | Github Open Source | Open Source | LicenseRef-scancode-unknown-license-reference, Apache-2.0 | 2,023 | swc | swc-project | TypeScript | Code | 23 | 45 | export declare function foo<T>(obj: T): T extends () => infer P ? P : never;
export function bar<T>(obj: T) {
return foo(obj);
}
| 11,749 |
https://github.com/jmarrama/hhvm/blob/master/hphp/hack/test/hh_matcher/matcher_tests/expr_tests.php | Github Open Source | Open Source | PHP-3.01, Zend-2.0 | 2,015 | hhvm | jmarrama | PHP | Code | 96 | 223 | //// tosearch.php
<?hh //strict
class Bar {
public function baz(): int {
return 5;
}
}
class Foo {
public function bar(): void {
$foo = $bar = 0;
$foo++;
--$foo;
$c = $foo + 1;
$c += d;
$f = new Bar();
$g = $f->baz();
}
}
//// matcherpattern.php
<?hh //strict
class Bar {
pu... | 39,943 |
https://github.com/iantal/AndroidPermissions/blob/master/apks/obfuscation_and_logging/com_kbank_otp/app/smali/org/afree/util/PaintTypeUtilities.smali | Github Open Source | Open Source | Apache-2.0 | 2,019 | AndroidPermissions | iantal | Smali | Code | 84 | 369 | .class public Lorg/afree/util/PaintTypeUtilities;
.super Ljava/lang/Object;
.source "PaintTypeUtilities.java"
# direct methods
.method private constructor <init>()V
.locals 0
.prologue
.line 72
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 73
return-void
.end method
.method public... | 15,201 |
https://github.com/u-wave/web/blob/master/src/components/MediaList/AddToPlaylistAction.jsx | Github Open Source | Open Source | MIT | 2,023 | web | u-wave | JavaScript | Code | 177 | 460 | import omit from 'just-omit';
import React from 'react';
import PropTypes from 'prop-types';
import { useDispatch } from 'react-redux';
import { mdiPlus } from '@mdi/js';
import { addMediaMenu } from '../../actions/PlaylistActionCreators';
import { useMediaListContext } from './BaseMediaList';
import SvgIcon from '../S... | 17,802 |
https://github.com/chshpra/prebid-server/blob/master/util/maputil/maputil.go | Github Open Source | Open Source | Apache-2.0 | 2,021 | prebid-server | chshpra | Go | Code | 119 | 283 | package maputil
// ReadEmbeddedMap reads element k from the map m as a map[string]interface{}.
func ReadEmbeddedMap(m map[string]interface{}, k string) (map[string]interface{}, bool) {
if v, ok := m[k]; ok {
vCasted, ok := v.(map[string]interface{})
return vCasted, ok
}
return nil, false
}
// ReadEmbeddedSlic... | 13,227 |
https://github.com/CSDTs/CScratch-Modules/blob/master/all functions/pen_lineofbeads.js | Github Open Source | Open Source | MIT | null | CScratch-Modules | CSDTs | JavaScript | Code | 333 | 1,961 | let NEW_BLOCK_STRING_lineofbeads = '<block type="pen_lineofbeads" id="pen_lineofbeads"><value name="NUMb"><shadow type="math_number"><field name="NUM">15</field></shadow></value>'
+'<value name="rise"><shadow type="math_number"><field name="NUM">2</field></shadow></value>'
+'<value name="run"><shadow type="math_number"... | 18,541 |
https://github.com/jakobkmar/Kodein-DB/blob/master/kdb/kodein-db/src/commonTest/kotlin/org/kodein/db/impl/data/DataDBTests_06_Seek.kt | Github Open Source | Open Source | MIT | 2,022 | Kodein-DB | jakobkmar | Kotlin | Code | 172 | 911 | package org.kodein.db.impl.data
import org.kodein.db.Value
import org.kodein.db.data.DataDB
import org.kodein.db.inDir
import org.kodein.db.inmemory.inMemory
import org.kodein.db.test.utils.array
import org.kodein.db.test.utils.int
import org.kodein.memory.file.FileSystem
import org.kodein.memory.use
import kotlin.tes... | 12,921 |
https://github.com/ThainaPetry/FORMDACS2020/blob/master/banco/dbcreate.sql | Github Open Source | Open Source | MIT | null | FORMDACS2020 | ThainaPetry | SQL | Code | 61 | 197 | USE `univille`;
CREATE TABLE `academia` (
`codigo` int(11) NOT NULL AUTO_INCREMENT,
`nome` varchar(100) DEFAULT NULL,
`horaini` varchar(200) DEFAULT NULL,
PRIMARY KEY (`codigo`));
GRANT ALL PRIVILEGES ON univille.* TO 'root'@'%' WITH GRANT OPTION;
FLUSH PRIVILEGES;
LOCK TABLES `academia` WRITE;
insert into... | 56,162 |
https://github.com/Muhodari/spring-boot-template/blob/master/src/main/java/com/example/template/controllers/AuthenticationController.java | Github Open Source | Open Source | MIT | 2,022 | spring-boot-template | Muhodari | Java | Code | 197 | 965 | package com.example.template.controllers;
import com.example.template.dtos.SignInDTO;
import com.example.template.dtos.SignUpDTO;
import com.example.template.exceptions.ApiRequestException;
import com.example.template.models.Role;
import com.example.template.models.User;
import com.example.template.payload.JwtAuthenti... | 42,511 |
https://github.com/tamboto2000/netflixcheck/blob/master/netflixchecker.go | Github Open Source | Open Source | MIT | null | netflixcheck | tamboto2000 | Go | Code | 91 | 224 | // Package netflixcheck is a lib for Netflix account checker
package netflixcheck
import (
"os"
)
// Account contains information about Netflix account
type Account struct {
Username string `json:"username"`
Name string `json:"name"`
Screens int `json:"screens"`
Language string `json:"language"`
... | 39,524 |
https://github.com/J-VOL/mage/blob/master/Mage.Sets/src/mage/cards/p/PainfulTruths.java | Github Open Source | Open Source | MIT | 2,022 | mage | J-VOL | Java | Code | 119 | 449 |
package mage.cards.p;
import java.util.UUID;
import mage.abilities.dynamicvalue.common.ColorsOfManaSpentToCastCount;
import mage.abilities.effects.Effect;
import mage.abilities.effects.common.DrawCardSourceControllerEffect;
import mage.abilities.effects.common.LoseLifeSourceControllerEffect;
import mage.cards.CardImp... | 38,937 |
https://github.com/ppartarr/azure-sdk-for-java/blob/master/sdk/hdinsight/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/hdinsight/v2018_06_01_preview/BillingResources.java | Github Open Source | Open Source | MIT | 2,021 | azure-sdk-for-java | ppartarr | Java | Code | 260 | 682 | /**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.hdinsight.v2018_06_01_preview;
import java.util.... | 2,570 |
https://github.com/rossh/Monocle/blob/master/project/plugins.sbt | Github Open Source | Open Source | MIT | null | Monocle | rossh | Scala | Code | 33 | 200 | resolvers += Resolver.sonatypeRepo("releases")
addSbtPlugin("com.typesafe.sbt" % "sbt-pgp" % "0.8.3")
addSbtPlugin("com.github.gseitz" % "sbt-release" % "0.8.5")
addSbtPlugin("com.typesafe" % "sbt-mima-plugin" % "0.1.6")
addSbtPlugin("net.virtual-void" % "sbt-dependency-graph" % "0.7.4")
addSbtPlugin("org.xerial.s... | 38,356 |
https://github.com/PraneethChandraThota/socketlabs-java/blob/master/examples/src/main/java/examples/ExampleConfig.java | Github Open Source | Open Source | MIT | 2,021 | socketlabs-java | PraneethChandraThota | Java | Code | 19 | 72 | package examples;
public class ExampleConfig {
public static int ServerId = Integer.parseInt(System.getenv("SOCKETLABS_SERVER_ID"));
public static String ApiKey = System.getenv("SOCKETLABS_INJECTION_API_KEY");
}
| 32,051 |
https://github.com/andyli/pyextern/blob/master/out/science/tensorflow/python/autograph/pyct/parser/Parser.hx | Github Open Source | Open Source | BSD-3-Clause | 2,022 | pyextern | andyli | Haxe | Code | 15 | 49 | /* This file is generated, do not edit! */
package tensorflow.python.autograph.pyct.parser;
typedef Parser = tensorflow.python.autograph.pyct.parser.Parser_Module; | 7,352 |
https://github.com/shokhrukh026/project/blob/master/src-electron/routes/producers.js | Github Open Source | Open Source | MIT | 2,022 | project | shokhrukh026 | JavaScript | Code | 771 | 2,692 | const express = require('express')
const router = express.Router()
const Producer = require('../models/producer')
const Product_producer = require('../models/product-producer')
const Product_producer_detail = require('../models/product-producer-detail')
//Getting all producers
router.get('/', async (req, res) => {
... | 53,340 |
https://github.com/dyna-dot/WebGL/blob/master/extensions/rev_utils.xsl | Github Open Source | Open Source | MIT | 2,022 | WebGL | dyna-dot | null | Spoken | 70 | 574 | <?xml version="1.0"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template name="last_rev">
<xsl:value-of select="count(history/revision)"/>
</xsl:template>
<xsl:template name="last_mod">
<xsl:for-each select="history/revision">
<xsl:sort select="@date... | 56,337 |
https://github.com/chicken-with-lips/duck/blob/master/Source/Engine/CoreInterfaces/Serialization/IDeserializer.cs | Github Open Source | Open Source | Apache-2.0 | null | duck | chicken-with-lips | C# | Code | 194 | 648 | using System.Collections.ObjectModel;
using Silk.NET.Maths;
namespace Duck.Serialization;
public interface IDeserializer
{
public IDeserializer Root { get; }
public IDeserializer? Parent { get; }
public ReadOnlyCollection<IndexEntry> Index { get; }
public string ReadString();
public string R... | 17,927 |
https://github.com/jknack/handlebars.java/blob/master/handlebars/src/test/java/com/github/jknack/handlebars/DecoratorTest.java | Github Open Source | Open Source | Apache-2.0 | 2,023 | handlebars.java | jknack | Java | Code | 963 | 3,251 | package com.github.jknack.handlebars;
import static org.junit.Assert.assertArrayEquals;
import static org.junit.Assert.assertEquals;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashSet;
import java.util.List;
import java.util.concurrent.atomic.AtomicInteger;
impo... | 40,959 |
https://github.com/Electrux/CCPP-Code/blob/master/ChatRoom/ChatRoom_Auth_Server/src/Main.cpp | Github Open Source | Open Source | BSD-3-Clause | 2,021 | CCPP-Code | Electrux | C++ | Code | 163 | 639 | #define _CRT_SECURE_NO_WARNINGS
#include <iostream>
#include <SFML/System.hpp>
#include <SFML/Network.hpp>
#include <list>
#include <functional>
#include <sqlite3.h>
#include <fstream>
#include <thread>
#include <mutex>
#include "../include/Enums.hpp"
#include "../include/Data.hpp"
#include "../include/Users.hpp"
#in... | 39,584 |
https://github.com/mocanet/MocaControls/blob/master/MocaControls20.TestWin/Forms/Form1.vb | Github Open Source | Open Source | MS-PL | 2,021 | MocaControls | mocanet | Visual Basic | Code | 767 | 2,932 |
Imports Moca.Win
Public Class Form1
Private dat As New Hoge2Row
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
Dim lst As IList(Of HogeRow)
lst = New List(Of HogeRow)
Dim ii As Integer
Dim row As HogeRow
row = New HogeRow With {
... | 55,549 |
https://github.com/Cyborg2017/android_device_nubia_nx549j/blob/master/mokee_nx549j.mk | Github Open Source | Open Source | FTL | null | android_device_nubia_nx549j | Cyborg2017 | Makefile | Code | 183 | 536 | #
# Copyright (C) 2018 The LineageOS Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agree... | 20,623 |
https://github.com/kongdexiaochina/react-hooks/blob/master/src/hooks/UseReducer.jsx | Github Open Source | Open Source | MIT | 2,019 | react-hooks | kongdexiaochina | JavaScript | Code | 94 | 280 | import React, { useReducer } from 'react'
function UseReducer() {
const initState = { count: 100 }
const reducer = (state, action) => {
switch (action.type) {
case 'ADD':
return { count: state.count + 1 }
case 'MINUS':
return { count: state.count - 1 }
case 'RESET':
... | 28,676 |
https://github.com/jlavelle/spotify-related-graph/blob/master/src/Spotify.hs | Github Open Source | Open Source | BSD-3-Clause | 2,021 | spotify-related-graph | jlavelle | Haskell | Code | 112 | 242 | module Spotify (MonadSpotify(..), parseArtist, module Types, mkParams) where
import Protolude
import Data.Vector (Vector)
import Data.Aeson (fromJSON, Result(..))
import qualified Data.List.NonEmpty as NE
import Spotify.Api.Types as Types
class Monad m => MonadSpotify m where
getArtist :: SpotifyId -> m A... | 4,320 |
https://github.com/Belial09/Fesslersoft-WindowsAPI/blob/master/Fesslersoft.WindowsAPI/Internal/Native/NetworkManagementFunctions/APIBufferFunctions/DllImports.cs | Github Open Source | Open Source | BSD-4-Clause | 2,017 | Fesslersoft-WindowsAPI | Belial09 | C# | Code | 26 | 99 | #region
using System;
using System.Runtime.InteropServices;
#endregion
namespace Fesslersoft.WindowsAPI.Internal.Native.NetworkManagementFunctions.APIBufferFunctions
{
internal static class DllImports
{
[DllImport("Netapi32.dll", SetLastError = true)]
internal static extern int NetApiBufferF... | 17,038 |
https://github.com/shekharsvbhosale/rux/blob/master/lib/rux/visitor.rb | Github Open Source | Open Source | MIT | 2,021 | rux | shekharsvbhosale | Ruby | Code | 41 | 183 | module Rux
class Visitor
def visit(node)
node.accept(self)
end
def visit_list(node)
visit_children(node)
end
def visit_ruby(node)
visit_children(node)
end
def visit_string(node)
visit_children(node)
end
def visit_tag(node)
visit_children(node)
... | 49,073 |
https://github.com/simbathesailor/gzippalo/blob/master/src/index.ts | Github Open Source | Open Source | MIT | null | gzippalo | simbathesailor | TypeScript | Code | 214 | 553 | import { pipeline } from 'stream';
import glob from 'glob';
import path from 'path';
import { createReadStream, createWriteStream } from 'fs';
import { promisify } from 'util';
import zlib from 'zlib'; // native node_modules didn't know about that
const { createGzip } = zlib;
const pipe = promisify(pipeline);
async... | 34,138 |
https://github.com/nilsmunch/LaravalPlay/blob/master/resources/views/gamer/about.blade.php | Github Open Source | Open Source | MIT | null | LaravalPlay | nilsmunch | PHP | Code | 5 | 24 | @extends('layouts.gamer')
@section('content')
About us
@stop | 20,404 |
https://github.com/mkinney/Everest/blob/master/src/main/java/com/rohitawate/everest/requestmanager/RequestManager.java | Github Open Source | Open Source | Apache-2.0 | null | Everest | mkinney | Java | Code | 257 | 904 | /*
* Copyright 2018 Rohit Awate.
*
* 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 t... | 42,942 |
https://github.com/dizzyd/Mekanism/blob/master/src/main/java/mekanism/client/render/obj/OBJBakedModelBase.java | Github Open Source | Open Source | MIT | 2,019 | Mekanism | dizzyd | Java | Code | 632 | 2,774 | package mekanism.client.render.obj;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.ImmutableMap;
import com.google.common.collect.Lists;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;... | 1,476 |
https://github.com/ArnavDhiman/CSE-511Phase1/blob/master/target/streams/$global/assemblyOption/$global/streams/assembly/41d7ede042ac5b3e3483baf7f7c41d145a83b639_f1a3bc53c9d60307e0bbfe0638e7fa45b26884d9_da39a3ee5e6b4b0d3255bfef95601890afd80709/META-INF/maven/org.apache.parquet/parquet-jackson/pom.properties | Github Open Source | Open Source | Apache-2.0 | 2,020 | CSE-511Phase1 | ArnavDhiman | null | Spoken | 12 | 49 | #Generated by Maven
#Wed Jan 18 17:30:16 PST 2017
version=1.8.2
groupId=org.apache.parquet
artifactId=parquet-jackson
| 10,034 |
https://github.com/nextbuzz/lor-seo/blob/master/vendor/lengthofrope/create-jsonld-tiny/src/Schema/MusicRecordingSchema.php | Github Open Source | Open Source | MIT | 2,020 | lor-seo | nextbuzz | PHP | Code | 467 | 1,115 | <?php
/*
* The MIT License
*
* Copyright 2016 LengthOfRope, Bas de Kort <bdekort@gmail.com>.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without l... | 53,215 |
https://github.com/Hadisalman/PSRule/blob/master/src/PSRule/Runtime/Assert.cs | Github Open Source | Open Source | MIT | 2,020 | PSRule | Hadisalman | C# | Code | 1,710 | 4,652 | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using Manatee.Json;
using Manatee.Json.Schema;
using Manatee.Json.Serialization;
using PSRule.Configuration;
using PSRule.Pipeline;
using PSRule.Resources;
using System;
using System.Collections;
using System.IO;
using System.Management.Automa... | 47,043 |
https://github.com/stephane888/wbu-shopify/blob/master/src/ApiRest/Prodcuts/Product.php | Github Open Source | Open Source | MIT | null | wbu-shopify | stephane888 | PHP | Code | 115 | 381 | <?php
namespace Wbu\ApiRest\Prodcuts;
use Wbu\ApiRest\Shopify;
use Wbu\ApiRest\Metafields\MetafieldsTrait;
class Product extends Shopify {
use MetafieldsTrait;
function __construct($configs)
{
parent::__construct($configs);
}
/**
* Permet de recuperer les produits.
*/
public function getProduc... | 1,618 |
https://github.com/wufe/Polo/blob/master/packages/server/pkg/versioning/embedded-git-client.go | Github Open Source | Open Source | MIT | 2,022 | Polo | wufe | Go | Code | 139 | 514 | package versioning
import (
"path/filepath"
"github.com/go-git/go-git/v5"
"github.com/go-git/go-git/v5/config"
"github.com/go-git/go-git/v5/plumbing"
"github.com/go-git/go-git/v5/plumbing/transport"
)
type EmbeddedGitClient struct {
Auth transport.AuthMethod
}
func NewEmbeddedGitClient(auth transport.AuthMeth... | 39,474 |
https://github.com/Game-Designing/Custom-Football-Game/blob/master/sources/p005cm/aptoide/p006pt/comments/view/C2716z.java | Github Open Source | Open Source | MIT | 2,019 | Custom-Football-Game | Game-Designing | Java | Code | 57 | 173 | package p005cm.aptoide.p006pt.comments.view;
import p026rx.p027b.C0129b;
/* renamed from: cm.aptoide.pt.comments.view.z */
/* compiled from: lambda */
public final /* synthetic */ class C2716z implements C0129b {
/* renamed from: a */
private final /* synthetic */ CommentWidget f5918a;
public /* synthet... | 40,508 |
https://github.com/blemoine/angular12-slides/blob/master/exemple2/step3/jspm_packages/npm/angular2@2.0.0-beta.9/src/router/location/hash_location_strategy.js | Github Open Source | Open Source | MIT | null | angular12-slides | blemoine | JavaScript | Code | 366 | 1,143 | /* */
'use strict';
var __extends = (this && this.__extends) || function(d, b) {
for (var p in b)
if (b.hasOwnProperty(p))
d[p] = b[p];
function __() {
this.constructor = d;
}
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
var __decorate = (this && this._... | 18,015 |
https://github.com/GSM-MSG/GCMS-Android/blob/master/app/src/main/java/com/msg/gcms/data/remote/dto/datasource/club/response/ClubResponse.kt | Github Open Source | Open Source | MIT | 2,022 | GCMS-Android | GSM-MSG | Kotlin | Code | 38 | 97 | package com.msg.gcms.data.remote.dto.datasource.club.response
data class ClubResponse(
val type : String,
val bannerUrl : String,
val title : String,
val description : String,
val contact : String,
val teacher : String,
val isOpened : Boolean,
val relatedLink : List<RelatedLink>
)
| 21,161 |
https://github.com/mohamedjs/laraflat/blob/master/app/Console/Commands/MakeModel.php | Github Open Source | Open Source | MIT | null | laraflat | mohamedjs | PHP | Code | 98 | 330 | <?php
namespace App\Console\Commands;
use Illuminate\Console\GeneratorCommand;
class MakeModel extends GeneratorCommand
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected $name = 'make:laraflat_model';
/**
* The console command description.
... | 10,503 |
https://github.com/elephantmfa/framework/blob/master/tests/Helpers/Matchers/WildcardTest.php | Github Open Source | Open Source | MIT | 2,020 | framework | elephantmfa | PHP | Code | 127 | 851 | <?php
namespace Tests\Helpers\Matches;
use Elephant\Helpers\Matchers\Wildcard;
use Elephant\Helpers\Exceptions\MatcherException;
use Tests\TestCase;
class WildcardTest extends TestCase
{
const PATTERN = "a[abc][[cde]]f?g*\[\][!g0-9][[!h0-9]]";
const PASS_AGAINST = 'abcccdef1g23[]hklmnop';
const FAIL_AGAI... | 35,738 |
https://github.com/eugeneilyin/mdi-norm/blob/master/lib/SyncDisabled.js | Github Open Source | Open Source | MIT | 2,019 | mdi-norm | eugeneilyin | JavaScript | Code | 48 | 253 | "use strict";
exports.__esModule = true;
var _createThemedIcon = require("./utils/createThemedIcon");
var _FilledSyncDisabled = require("./FilledSyncDisabled");
var _OutlineSyncDisabled = require("./OutlineSyncDisabled");
var _RoundSyncDisabled = require("./RoundSyncDisabled");
var _SharpSyncDisabled = require(".... | 7,621 |
https://github.com/WayNian/CameraLivingPlay/blob/master/app/src/main/java/playerdemo/PLAudioPlayerActivity.java | Github Open Source | Open Source | MIT | 2,017 | CameraLivingPlay | WayNian | Java | Code | 509 | 1,842 | package playerdemo;
import android.content.Context;
import android.media.AudioManager;
import android.os.Bundle;
import android.os.PowerManager;
import android.support.v7.app.AppCompatActivity;
import android.util.Log;
import android.view.View;
import com.pili.pldroid.player.PLMediaPlayer;
import net.ossrs.yasea.R;
... | 22,839 |
https://github.com/copslock/broadcom_cpri/blob/master/sdk-6.5.20/libs/sdklt/bcmpc/phy/bcmpc_phy.c | Github Open Source | Open Source | Spencer-94 | null | broadcom_cpri | copslock | C | Code | 1,146 | 5,625 | /*! \file bcmpc_phy.c
*
* PHY related functions in Port Control.
*/
/*
* This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file.
*
* Copyright 2007-2020 Broadcom Inc. All rights reserved.
*/
#include <bsl/bsl.h>
#include <shr/shr_debug... | 11,972 |
https://github.com/eqyun/VerticalCrawler/blob/master/src/main/java/com/pada/spider/tool/impl/SpiderAnalyseImpl.java | Github Open Source | Open Source | Apache-2.0 | 2,014 | VerticalCrawler | eqyun | Java | Code | 809 | 3,174 | package com.pada.spider.tool.impl;
import java.lang.annotation.Annotation;
import java.lang.reflect.Field;
import java.util.Collection;
import java.util.List;
import java.util.Map;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import com.pada.common.FileOperator;
import com.pada.mydao.bean.Wp_terms;... | 47,979 |
https://github.com/koromerzhin/repocheck/blob/master/front/src/components/Follows.vue | Github Open Source | Open Source | MIT | null | repocheck | koromerzhin | Vue | Code | 225 | 969 | <template>
<q-table
:title="title"
:data="follows"
:columns="columns"
row-key="title"
dense
separator="cell"
>
<template
v-slot:body="props"
>
<q-tr :props="props">
<q-td
key="info"
:props="props"
>
<q-img
:src="pr... | 51,371 |
https://github.com/tsoding/gl.hpp/blob/master/tools/Makefile | Github Open Source | Open Source | MIT | 2,020 | gl.hpp | tsoding | Makefile | Code | 20 | 79 | CXXFLAGS=-Wall -Wextra -pedantic -std=c++17 -ggdb
all: spec
spec: spec.cpp
$(CXX) $(CXXFLAGS) `pkg-config --cflags libxml-2.0` -o spec spec.cpp `pkg-config --libs libxml-2.0`
| 4,829 |
https://github.com/luisllamasbinaburo/ESP32-Examples/blob/master/04_Client/ESP32_Utils_Client.hpp | Github Open Source | Open Source | Apache-2.0 | 2,022 | ESP32-Examples | luisllamasbinaburo | C++ | Code | 96 | 272 | //void ClientRequest()
//{
// HTTPClient http;
// WiFiClient client;
//
// if (http.begin(client, url)) //Iniciar conexión
// {
// Serial.print("[HTTP] GET...\n");
// int httpCode = http.GET(); // Realizar petición
//
// if (httpCode > 0) {
// Serial.printf("[HTTP] GET... code: %d\n", h... | 41,572 |
https://github.com/faizyboy1/JobPortal/blob/master/app/Observers/JobSkillObserver.php | Github Open Source | Open Source | MIT | null | JobPortal | faizyboy1 | PHP | Code | 22 | 77 | <?php
namespace App\Observers;
use App\JobSkill;
class JobSkillObserver
{
public function saving(JobSkill $jobSkill)
{
if (company()) {
$jobSkill->company_id = company()->id;
}
}
}
| 23,747 |
https://github.com/mehtadeepen/blaze/blob/master/src/main/java/com/main/Context.java | Github Open Source | Open Source | MIT | 2,021 | blaze | mehtadeepen | Java | Code | 222 | 554 | package com.main;
import java.io.IOException;
import com.map.Mapper;
import com.reduce.Reducer;
import com.utils.FileUtils;
/**
* Class for setting the Mapper class, Reducer class, Input path and Output path
* @author Deepen
*/
public class Context {
public static Class<? extends Mapper> mapper;
public static ... | 3,449 |
https://github.com/joevansanttos/Projek/blob/master/production/php/adiciona/adiciona-suspect.php | Github Open Source | Open Source | MIT | 2,018 | Projek | joevansanttos | PHP | Code | 88 | 446 | <?php
require_once "../bancos/conecta.php";
require_once "../bancos/banco-market.php";
require_once "../bancos/banco-suspect.php";
require_once "../bancos/banco-historico.php";
require_once "../bancos/banco-consultores-market.php";
ob_start();
session_start();
$id = $_POST["id"];
$contato = $_POST["contato"];... | 48,838 |
https://github.com/benoitdevos/pousse-cafe-shop-app/blob/master/src/main/java/poussecafe/shop/domain/ProductDataAccess.java | Github Open Source | Open Source | Apache-2.0 | null | pousse-cafe-shop-app | benoitdevos | Java | Code | 14 | 51 | package poussecafe.shop.domain;
import poussecafe.domain.EntityDataAccess;
public interface ProductDataAccess<N extends Product.Attributes> extends EntityDataAccess<ProductId, N> {
}
| 4,465 |
https://github.com/nayan1xyz/Sanjeevani-Hospital-Management-Application/blob/master/src/hms/pojo/UserDetailsPojo.java | Github Open Source | Open Source | MIT | null | Sanjeevani-Hospital-Management-Application | nayan1xyz | Java | Code | 174 | 395 | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package hms.pojo;
/**
*
* @author HP
*/
public class UserDetailsPojo {
@Override
public String toString() {
return... | 310 |
https://github.com/fanmu-projects/muwu/blob/master/muwu-common/muwu-common-security/src/main/java/com/fanmu/muwu/common/security/exceptionhandler/SecurityExceptionHandler.java | Github Open Source | Open Source | Apache-2.0 | 2,022 | muwu | fanmu-projects | Java | Code | 83 | 405 | /*
* Copyright (c) 2021 fanmu All Rights Reserved.
*
* 创建人:mumu
* 联系方式:fanmu_projects@163.com
* 开源地址: https://github.com/fanmu-projects
*/
package com.fanmu.muwu.common.security.exceptionhandler;
import com.fanmu.muwu.common.security.SecurityResult;
import lombok.extern.slf4j.Slf4j;
import org.springframework.... | 23,092 |
https://github.com/gatzec/fortify-web/blob/master/src/components/info/index.jsx | Github Open Source | Open Source | MIT | null | fortify-web | gatzec | null | Spoken | 430 | 1,416 | import React, { Component } from 'react';
import PropTypes from 'prop-types';
import styled from 'styled-components';
import { PeculiarCertificateViewer } from '@peculiar/certificates-viewer-react';
import '@peculiar/certificates-viewer/dist/peculiar/peculiar.css';
import { CircularLoader } from '../basic';
import Head... | 804 |
https://github.com/tengzlsunny/studyRe/blob/master/app/src/pages/home/home.js | Github Open Source | Open Source | MIT | null | studyRe | tengzlsunny | JavaScript | Code | 460 | 1,789 |
import React from 'react';
import { Link } from 'react-router-dom';
import Footer from '../../components/footer'
import Header from '../../components/header'
import Slider from '../../components/slider'
import api from '../../../utils/api'
import '@/static/home/home.scss'
import banner1 from '@/assets/imgs/1.jpg'
im... | 34,894 |
https://github.com/Marmat21/pharo/blob/master/src/Morphic-Examples.package/SimplestClassListExample.class/instance/plugOne.st | Github Open Source | Open Source | MIT | 2,017 | pharo | Marmat21 | null | Spoken | 23 | 76 | examples
plugOne
| l |
rootClass := Object.
l := PluggableListMorph
on: self
list: #rootItems
selected: #selected
changeSelected: #selected:.
(l embeddedInMorphicWindowLabeled: 'test') openInWorld | 56,320 |
https://github.com/fling2/platform_system_core/blob/master/rootdir/Android.mk | Github Open Source | Open Source | MIT | 2,022 | platform_system_core | fling2 | Makefile | Code | 108 | 371 | LOCAL_PATH:= $(call my-dir)
#######################################
# init.rc
# Only copy init.rc if the target doesn't have its own.
ifneq ($(TARGET_PROVIDES_INIT_RC),true)
include $(CLEAR_VARS)
LOCAL_MODULE := init.rc
LOCAL_SRC_FILES := $(LOCAL_MODULE)
LOCAL_MODULE_CLASS := ETC
LOCAL_MODULE_PATH := $(TARGET_ROOT_OU... | 29,888 |
https://github.com/lukebell88/lettersnthat/blob/master/src/pages/contact.js | Github Open Source | Open Source | MIT | null | lettersnthat | lukebell88 | JavaScript | Code | 151 | 561 | import React from 'react'
import { graphql } from 'gatsby'
import { Helmet } from 'react-helmet'
import get from 'lodash/get'
import Img from 'gatsby-image'
import Layout from '../components/layout'
class Contact extends React.Component {
render() {
const contact = get(this, 'props.data.contentfulPage')
ret... | 42,134 |
https://github.com/evoila/osb-backup-manager/blob/master/osb-backup-core/src/main/java/de/evoila/cf/model/agent/AbstractRequest.java | Github Open Source | Open Source | Apache-2.0 | null | osb-backup-manager | evoila | Java | Code | 73 | 219 | package de.evoila.cf.model.agent;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* @author Johannes Hiemer.
*/
public class AbstractRequest {
protected String id;
protected boolean compression;
@JsonProperty("encryption_key")
protected String encryptionKey;
public String getId() ... | 47,039 |
https://github.com/210215-USF-NET/JakeGaughan-code/blob/master/6-angular/ToHAngular/TourOfHeroes/src/app/services/hero-rest.service.spec.ts | Github Open Source | Open Source | MIT | null | JakeGaughan-code | 210215-USF-NET | TypeScript | Code | 36 | 121 | import { TestBed } from '@angular/core/testing';
import { HeroRESTService } from './hero-rest.service';
describe('HeroRESTService', () => {
let service: HeroRESTService;
beforeEach(() => {
TestBed.configureTestingModule({});
service = TestBed.inject(HeroRESTService);
});
it('should be created', () =... | 3,632 |
https://github.com/hatv1592/quanlyvukhi/blob/master/public/js/phieunhapkho.js | Github Open Source | Open Source | MIT | null | quanlyvukhi | hatv1592 | JavaScript | Code | 458 | 1,828 | var app = app || {};
(function(app, $) {
app.phieunhapkho = {
defaultOption: '<option value="">Chọn</option>',
onChangeWeaponSystem: function(el) {
var id = el.value || el.val();
if (!id) {
return;
}
var callBackHandle = function(re... | 3,424 |
https://github.com/CyberFlameGO/EpicLevels/blob/master/src/main/java/com/songoda/epiclevels/tasks/BoostTask.java | Github Open Source | Open Source | LicenseRef-scancode-other-permissive | 2,021 | EpicLevels | CyberFlameGO | Java | Code | 65 | 241 | package com.songoda.epiclevels.tasks;
import com.songoda.epiclevels.EpicLevels;
import org.bukkit.Bukkit;
import org.bukkit.scheduler.BukkitRunnable;
public class BoostTask extends BukkitRunnable {
private static BoostTask instance;
private static EpicLevels plugin;
public BoostTask(EpicLevels plug) {
... | 30,027 |
https://github.com/tommasoc80/EventStoryLine/blob/master/evaluation_format/test_corpus/v1.5/event_mentions_extended/1/1_21ecbplus.tab | Github Open Source | Open Source | CC-BY-3.0 | 2,022 | EventStoryLine | tommasoc80 | SQL | Code | 48 | 161 | 53 56 FALLING_ACTION
119 122 FALLING_ACTION
56 61 FALLING_ACTION
91 94 FALLING_ACTION
32_33 53 PRECONDITION
53 122 FALLING_ACTION
47_48 53 PRECONDITION
47_48 119 PRECONDITION
32_33 119 PRECONDITION
32_33 75 PRECONDITION
75 122 FALLING_ACTION
119 141 null
119 129 FALLING_ACTION
65 70 PRECONDITION
47_48 75 PRECONDITION
6... | 48,098 |
https://github.com/jyothsna01/pgbackrest/blob/master/lib/pgBackRest/Config/Rule.pm | Github Open Source | Open Source | MIT | 2,017 | pgbackrest | jyothsna01 | Perl | Code | 1,287 | 4,216 | ####################################################################################################################################
# Configuration Rule Interface
####################################################################################################################################
package pgBackRest::Con... | 36,582 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.