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/evertheylen/solid-material-components/blob/master/demos/style.scss | Github Open Source | Open Source | MIT | 2,022 | solid-material-components | evertheylen | SCSS | Code | 98 | 353 | body {
margin: 0;
background-color: lightgrey;
font-family: Roboto, sans-serif;
}
.page {
max-width: 600px;
border-left: 1px solid black;
border-right: 1px solid black;
padding: 40px;
margin-left: auto;
margin-right: auto;
background-color: white;
min-height: calc(100vh - 80px);
}
.flex-row {
... | 33,112 |
https://github.com/Mic92/bitw/blob/master/main.go | Github Open Source | Open Source | BSD-3-Clause | null | bitw | Mic92 | Go | Code | 1,186 | 3,366 | // Copyright (c) 2019, Daniel Martí <mvdan@mvdan.cc>
// See LICENSE for licensing information
package main
import (
"context"
"crypto/aes"
"crypto/cipher"
"crypto/hmac"
"crypto/sha256"
"encoding/json"
"flag"
"fmt"
"io"
"io/ioutil"
"os"
"os/signal"
"path/filepath"
"strings"
"text/tabwriter"
"time"
"g... | 33,856 |
https://github.com/antonmedv/year/blob/master/packages/2030/09/22/index.js | Github Open Source | Open Source | MIT | 2,021 | year | antonmedv | JavaScript | Code | 6 | 15 | module.exports = new Date(2030, 8, 22)
| 8,522 |
https://github.com/donicom/EventListManager/blob/master/src/Entities/UserProfilePhotos.php | Github Open Source | Open Source | MIT | 2,020 | EventListManager | donicom | PHP | Code | 156 | 435 | <?php
/**
* This file is part of the TelegramBot package.
*
* (c) Avtandil Kikabidze aka LONGMAN <akalongman@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Longman\TelegramBot\Entities;
/**
* C... | 18,769 |
https://github.com/Mocksybren/A3-Antistasi-1.4/blob/master/A3-Antistasi/Garage/personalGarage/setPersonalGarage.sqf | Github Open Source | Open Source | MIT | 2,022 | A3-Antistasi-1.4 | Mocksybren | SQF | Code | 9 | 31 | params ["_unit", ["_garage", []]];
_unit setVariable ["personalGarage", _garage, true]; | 8,985 |
https://github.com/JoneZeroX/jarboot/blob/master/jarboot-ui/src/common/CommonUtils.ts | Github Open Source | Open Source | Apache-2.0 | 2,021 | jarboot | JoneZeroX | TypeScript | Code | 12 | 32 |
export default class CommonUtils {
public static loginPage() {
location.assign('/login.html');
}
}
| 51,233 |
https://github.com/viejalospelos/cocina/blob/master/src/Cocina/ComprasBundle/DataFixtures/ORM/Cambios_precio.php | Github Open Source | Open Source | MIT | null | cocina | viejalospelos | PHP | Code | 46 | 310 | <?php
namespace Cocina\ComprasBundle\DataFixtures\ORM;
use Doctrine\Common\DataFixtures\AbstractFixture;
use Doctrine\Common\DataFixtures\OrderedFixtureInterface;
use Doctrine\Common\Persistence\ObjectManager;
use Cocina\ComprasBundle\Entity\Cambios_precio;
class CambiosPrecio extends AbstractFixture implements Orde... | 48,829 |
https://github.com/kwon-young/Millenium-Neural-Net/blob/master/lib/cmake/eigen3/Eigen3Config.cmake | Github Open Source | Open Source | MIT | null | Millenium-Neural-Net | kwon-young | CMake | Code | 157 | 517 | # -*- cmake -*-
#
# Eigen3Config.cmake(.in)
# Use the following variables to compile and link against Eigen:
# EIGEN3_FOUND - True if Eigen was found on your system
# EIGEN3_USE_FILE - The file making Eigen usable
# EIGEN3_DEFINITIONS - De... | 33,959 |
https://github.com/jupiterfirepower/HASKELL/blob/master/HASKELLBOOKSCODE/BuildingAnApplicationWithFunctionalHaskell/Volume_03_Section_02_Topic_03/step-007/to-do/app/Main.hs | Github Open Source | Open Source | MIT | 2,021 | HASKELL | jupiterfirepower | Haskell | Code | 606 | 1,358 | ------------------------------------------------------------
--
-- Main.hs
-- Code sample accompanying topic 3.2.3 "Subparsers and wrapping up"
-- See README.md for details
--
-- Fundamentals of Practical Haskell Programming
-- By Richard Cook
--
------------------------------------------------------------
module Main... | 10,603 |
https://github.com/SnarkyClark/luafcgid/blob/master/src/request.c | Github Open Source | Open Source | BSD-2-Clause | 2,015 | luafcgid | SnarkyClark | C | Code | 453 | 1,551 | #include "main.h"
#if LUA_VERSION_NUM >= 502
static void luaL_register(lua_State* L,const char* name,const luaL_Reg *l) {
if (name) {
lua_newtable(L);luaL_setfuncs (L, l, 0);lua_pushvalue(L,-1);lua_setglobal(L,name);
} else {
luaL_setfuncs(L,l,0);
}
}
#endif
/* utility functions */
reques... | 16,618 |
https://github.com/wangrui-msft/azure-sdk-for-java/blob/master/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/samples/java/com/azure/resourcemanager/recoveryservicesbackup/generated/ProtectionContainersInquireSamples.java | Github Open Source | Open Source | MIT | 2,022 | azure-sdk-for-java | wangrui-msft | Java | Code | 79 | 309 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.recoveryservicesbackup.generated;
import com.azure.core.util.Context;
/** Samples for ProtectionContainers Inquire. */
public f... | 19,824 |
https://github.com/matyioe92/SlinkyTyped/blob/master/s/swagger-schema-official/src/main/scala/typingsSlinky/swaggerSchemaOfficial/mod/Schema.scala | Github Open Source | Open Source | MIT | 2,021 | SlinkyTyped | matyioe92 | Scala | Code | 297 | 1,188 | package typingsSlinky.swaggerSchemaOfficial.mod
import org.scalablytyped.runtime.StringDictionary
import org.scalablytyped.runtime.StObject
import scala.scalajs.js
import scala.scalajs.js.`|`
import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess}
@js.native
trait Schema extend... | 12,226 |
https://github.com/M2Coach/eslint-action/blob/master/lib/api.js | Github Open Source | Open Source | MIT | 2,020 | eslint-action | M2Coach | JavaScript | Code | 475 | 1,083 | "use strict";
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { t... | 13,833 |
https://github.com/nightscape/hash_mapper/blob/master/Rakefile | Github Open Source | Open Source | MIT | 2,011 | hash_mapper | nightscape | Ruby | Code | 124 | 316 | require 'rubygems'
require File.dirname(__FILE__) + '/lib/hash_mapper'
Dir['tasks/**/*.rake'].each { |t| load t }
# TODO - want other tests/tasks run by default? Add them to the list
task :default => [:spec]
begin
require 'jeweler'
Jeweler::Tasks.new do |gemspec|
gemspec.name = "hash_mapper"
gemspec.sum... | 48,352 |
https://github.com/alexewu/oppia/blob/master/core/templates/dev/head/domain/topic/SubtopicPageContentsObjectFactory.ts | Github Open Source | Open Source | Apache-2.0 | null | oppia | alexewu | TypeScript | Code | 266 | 965 | // Copyright 2018 The Oppia Authors. 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 ap... | 49,313 |
https://github.com/smartdevicelink/sdl_core/blob/master/src/components/application_manager/rpc_plugins/vehicle_info_plugin/test/commands/mobile/subscribe_vehicle_request_test.cc | Github Open Source | Open Source | 2,022 | sdl_core | smartdevicelink | C++ | Code | 683 | 4,189 | /*
Copyright (c) 2020, Ford Motor Company
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 code must retain the above copyright notice, this
list of conditions and the fol... | 42,895 | |
https://github.com/fourstix/Elfos-utils/blob/master/src/file/flags.asm | Github Open Source | Open Source | MIT | 2,022 | Elfos-utils | fourstix | Assembly | Code | 750 | 1,584 | ; -------------------------------------------------------------------
; Show directory, executable and hidden flags for a file.
; Copyright 2021 by Gaston Williams
; -------------------------------------------------------------------
; Based on software written by Michael H Riley
; Thanks to the author for making this ... | 32,209 |
https://github.com/mrbraveheart71/pytorch-ts/blob/master/ts_models/encoders.py | Github Open Source | Open Source | Apache-2.0 | 2,021 | pytorch-ts | mrbraveheart71 | Python | Code | 396 | 1,703 | import torch
import torch.nn as nn
import torch.nn.functional as F
class RNNInitEncoder(nn.Module):
def __init__(self, embed_sizes, rnn_num_layers=1, input_feature_len=1, sequence_len=168, hidden_size=100, bidirectional=False, device='cpu'):
super().__init__()
self.sequence_len = sequence_len
... | 30,762 |
https://github.com/tefra/xsdata-w3c-tests/blob/master/output/instances/nistData/list/NMTOKEN/Schema+Instance/NISTXML-SV-IV-list-NMTOKEN-minLength-2-4.py | Github Open Source | Open Source | MIT | 2,023 | xsdata-w3c-tests | tefra | Python | Code | 19 | 224 | from output.models.nist_data.list_pkg.nmtoken.schema_instance.nistschema_sv_iv_list_nmtoken_min_length_2_xsd.nistschema_sv_iv_list_nmtoken_min_length_2 import NistschemaSvIvListNmtokenMinLength2
obj = NistschemaSvIvListNmtokenMinLength2(
value=[
"NIST_in:of-must:National:",
"has-leadership-availab... | 39,886 |
https://github.com/BullFrog13/AngularTimeTracker/blob/master/src/app/main/newTimesheet/newTimesheet.controller.js | Github Open Source | Open Source | MIT | null | AngularTimeTracker | BullFrog13 | JavaScript | Code | 59 | 242 | export default class NewTimesheetController {
constructor($filter, TimesheetService) {
this.TimesheetService = TimesheetService;
this.$filter = $filter;
}
$onInit() {
this.date = this.resolve.date;
this.taskId = this.resolve.taskId;
this.taskName = this.resolve.taskN... | 26,965 |
https://github.com/remorhaz/php-ucd/blob/master/src/Ranges/Grapheme_Link.php | Github Open Source | Open Source | MIT | null | php-ucd | remorhaz | PHP | Code | 76 | 483 | <?php
/** @noinspection PhpUnhandledExceptionInspection */
declare(strict_types=1);
namespace Remorhaz\UCD\Tool\Properties;
use Remorhaz\IntRangeSets\RangeSet;
/** phpcs:disable Generic.Files.LineLength.TooLong */
return RangeSet::createUnsafe(...RangeSet::importRanges([0x94d], [0x9cd], [0xa4d], [0xacd], [0xb4d], ... | 21,824 |
https://github.com/jesusrq92/cursoAngular/blob/master/js/modules/serviciosServicio.js | Github Open Source | Open Source | MIT | 2,016 | cursoAngular | jesusrq92 | JavaScript | Code | 55 | 162 | // La receta SERVICIO
//.service es la sintaxis para inyectar funciones mas limpias
angular.module("services", [])
.value("factor", 6)
.service("multiplier", ["factor", Multiplier]);
//.service("myService", ["dependency", MyObject]);
function Multiplier(factor) {
this.multiply = function (controllerFactor... | 25,103 |
https://github.com/CY810912/leo-im-web/blob/master/src/utils/exception.js | Github Open Source | Open Source | Apache-2.0 | 2,019 | leo-im-web | CY810912 | JavaScript | Code | 19 | 81 | export function outputError(source, error) {
console.log(error.response ? error.response : error.message)
source.$message({
showClose: true,
message: '出错了,请按F12查看浏览器日志。',
type: 'error'
})
} | 37,300 |
https://github.com/rocketman123456/RocketEngine/blob/master/UnitTest/ContainerTest/list_test.cpp | Github Open Source | Open Source | Apache-2.0 | null | RocketEngine | rocketman123456 | C++ | Code | 81 | 275 | #include "Memory/MemoryCheck.h"
#include "Containers/List/List.h"
#include "Containers/List/DoubleList.h"
#include <random>
using namespace Rocket;
int main() {
List<double> list;
for(int i = 0; i < 100; ++i)
list.InsertFront(std::rand());
for(int i = 0; i < 100; ++i)
list.InsertBack(std:... | 42,351 |
https://github.com/lightnarcissus/MMVR/blob/master/Assets/Crazy Minnow Studio/SALSA with RandomEyes/Third Party Support/Daz3D/CM_DazSetup.cs | Github Open Source | Open Source | MIT | null | MMVR | lightnarcissus | C# | Code | 359 | 1,177 | using UnityEngine;
using CrazyMinnow.SALSA;
namespace CrazyMinnow.SALSA.Daz
{
[AddComponentMenu("Crazy Minnow Studio/SALSA/Addons/Daz3D/SALSA 1-Click Daz3D Setup")]
public class CM_DazSetup : MonoBehaviour
{
/// <summary>
/// This initializes Setup when setting up characters at runtime
/// </summary... | 12,729 |
https://github.com/hpcaitech/ColossalAI/blob/master/colossalai/zero/legacy/gemini/ophooks/runtime_mem_tracer_hook.py | Github Open Source | Open Source | BSD-3-Clause, LicenseRef-scancode-warranty-disclaimer, Apache-2.0, BSD-2-Clause, MIT | 2,023 | ColossalAI | hpcaitech | Python | Code | 372 | 1,539 | from contextlib import contextmanager
from enum import Enum
from functools import partial
from typing import List
import torch
from colossalai.tensor.param_op_hook import ColoParamOpHook
from colossalai.zero.gemini.memory_tracer import MemStats, SyncCudaMemoryMonitor
from colossalai.zero.legacy.gemini.tensor_utils im... | 44,306 |
https://github.com/karagozidis/springboot-Angular-application/blob/master/frontend/src/app/pages/modules/ge-hyppo-io/ge-hyppo-io-graph/ge-hyppo-io-graph.component.ts | Github Open Source | Open Source | MIT | 2,020 | springboot-Angular-application | karagozidis | TypeScript | Code | 865 | 3,090 | import { Component, OnInit, ViewChild, ElementRef, TemplateRef } from '@angular/core';
import { PlotlyService } from 'angular-plotly.js';
import { MatTextareaAutosize, MatAutocomplete, MatAutocompleteSelectedEvent, MatChipInputEvent } from '@angular/material';
import { GraphService } from 'app/services/graph.serv... | 40,302 |
https://github.com/imoldxu/single-ep/blob/master/kph_ep/src/main/java/com/yyg/eprescription/mapper/PrescriptionMapper.java | Github Open Source | Open Source | Apache-2.0 | null | single-ep | imoldxu | Java | Code | 31 | 180 | package com.yyg.eprescription.mapper;
import java.util.List;
import org.apache.ibatis.annotations.Param;
//import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
import com.yyg.eprescription.BaseMapper;
import com.yyg.eprescription.entity.CountPrescriptionInfo;
import com.yyg.... | 2,082 |
https://github.com/pzerui/smarties/blob/master/.gitmodules | Github Open Source | Open Source | MIT | 2,021 | smarties | pzerui | Git Config | Code | 16 | 85 | [submodule "source/extern/pybind11"]
path = source/extern/pybind11
url = https://github.com/pybind/pybind11.git
[submodule "units/extern/googletest"]
path = units/extern/googletest
url = https://github.com/google/googletest
| 2,303 |
https://github.com/stevenpark88/PokerGame/blob/master/Assets/Scripts/Common/DEBUG.cs | Github Open Source | Open Source | JSON, MIT | 2,019 | PokerGame | stevenpark88 | C# | Code | 47 | 230 | using UnityEngine;
using System.Collections;
public class DEBUG : MonoBehaviour {
private static DEBUG inst;
public string msg;
public static void Log(object obj){
//return;
if(inst==null){
GameObject g=new GameObject("GUILogs");
DontDestroyOnLoad(g);
inst=g.AddComponent<DEBUG>();
}
inst.msg+=o... | 47,655 |
https://github.com/woon5118/totara_ub/blob/master/server/mod/facetoface/classes/signup/state/attendance_state.php | Github Open Source | Open Source | PostgreSQL | null | totara_ub | woon5118 | PHP | Code | 428 | 1,132 | <?php
/*
* This file is part of Totara LMS
*
* Copyright (C) 2019 onwards Totara Learning Solutions LTD
*
* 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 License,... | 41,889 |
https://github.com/lhcb/DevelopKit/blob/master/code/GaudiTemplate/GaudiPackageTemplate/options/gaudi_opts.py | Github Open Source | Open Source | LicenseRef-scancode-public-domain, MIT, CC-BY-4.0 | 2,017 | DevelopKit | lhcb | Python | Code | 27 | 76 | from Gaudi.Configuration import *
from Configurables import GaudiTemplateAlg
# Might need data instead
ApplicationMgr().EvtMax = 10
ApplicationMgr().EvtSel = "NONE"
#Test your algorithm here
alg = GaudiTemplateAlg()
ApplicationMgr().TopAlg.append(alg)
| 5,063 |
https://github.com/dmisuvorov/CallRecorder/blob/master/app/src/main/java/com/media/dmitry68/callrecorder/preferences/NumberPreferenceFragmentCompat.kt | Github Open Source | Open Source | Apache-2.0 | 2,019 | CallRecorder | dmisuvorov | Kotlin | Code | 101 | 369 | package com.media.dmitry68.callrecorder.preferences
import android.os.Bundle
import android.support.v7.preference.PreferenceDialogFragmentCompat
import android.view.View
import com.github.stephenvinouze.materialnumberpickercore.MaterialNumberPicker
import com.media.dmitry68.callrecorder.R
class NumberPreferenceFragm... | 42,746 |
https://github.com/kanboard/plugin-rabbitmq/blob/master/vendor/php-amqplib/php-amqplib/PhpAmqpLib/Exception/AMQPTimeoutException.php | Github Open Source | Open Source | MIT, LGPL-2.0-or-later, LGPL-2.1-only | 2,019 | plugin-rabbitmq | kanboard | PHP | Code | 11 | 37 | <?php
namespace PhpAmqpLib\Exception;
class AMQPTimeoutException extends \RuntimeException implements AMQPExceptionInterface
{
}
| 30,901 |
https://github.com/waj334/tinygo/blob/master/src/machine/board_arduino_mega2560.go | Github Open Source | Open Source | Apache-2.0 | 2,021 | tinygo | waj334 | Go | Code | 381 | 799 | // +build arduino_mega2560
package machine
// Return the current CPU frequency in hertz.
func CPUFrequency() uint32 {
return 16000000
}
const (
AREF Pin = NoPin
LED Pin = PB7
A0 Pin = PF0
A1 Pin = PF1
A2 Pin = PF2
A3 Pin = PF3
A4 Pin = PF4
A5 Pin = PF5
A6 Pin = PF6
A7 Pin = PF7
A8 Pin = PK0
A... | 17,602 |
https://github.com/Muslim4334/forma/blob/master/app/Http/Controllers/AsabController.php | Github Open Source | Open Source | MIT | null | forma | Muslim4334 | PHP | Code | 18 | 55 | <?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
class AsabController extends Controller
{
public function amizone() {
return view('noname');
}
}
| 33,545 |
https://github.com/noctera/Vocascan/blob/master/src/Forms/InviteCodeForm/InviteCodeForm.scss | Github Open Source | Open Source | Apache-2.0 | 2,020 | Vocascan | noctera | SCSS | Code | 40 | 142 | .invite-code-form {
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
.form-wrapper {
width: 50%;
height: 50%;
display: flex;
flex-direction: column;
align-items: center;
.select-wrapper {
width: 100%;
heig... | 50,630 |
https://github.com/tdanford/adam/blob/master/adam-core/src/test/scala/org/bdgenomics/adam/converters/VariantAnnotationsSuite.scala | Github Open Source | Open Source | Apache-2.0, MIT | null | adam | tdanford | Scala | Code | 643 | 2,431 | /**
* Licensed to Big Data Genomics (BDG) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The BDG licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use ... | 28,905 |
https://github.com/JoaoRafa19/Todo/blob/master/lib/app/app.pages.dart | Github Open Source | Open Source | MIT | null | Todo | JoaoRafa19 | Dart | Code | 51 | 205 | import 'package:get/get.dart';
import 'package:todo/app/bindings.dart';
import 'package:todo/modules/auth/login/login.page.dart';
import 'package:todo/modules/auth/register/register.page.dart';
import '../modules/home/home.page.dart';
import 'routes.dart';
class AppPages {
static final routes = [
GetPage(
... | 34,233 |
https://github.com/alice-gh/dependency-analysis-android-gradle-plugin/blob/master/src/main/kotlin/com/autonomousapps/services/InMemoryCache.kt | Github Open Source | Open Source | Apache-2.0, LicenseRef-scancode-unknown-license-reference | 2,020 | dependency-analysis-android-gradle-plugin | alice-gh | Kotlin | Code | 134 | 417 | @file:Suppress("UnstableApiUsage")
package com.autonomousapps.services
import com.autonomousapps.internal.AnalyzedJar
import com.autonomousapps.internal.AnnotationProcessor
import org.gradle.api.services.BuildService
import org.gradle.api.services.BuildServiceParameters
import java.util.concurrent.ConcurrentHashMap
i... | 43,295 |
https://github.com/mgrosvenor/camio1.0/blob/master/dag/libdagconf/components/led_controller_component.c | Github Open Source | Open Source | BSD-2-Clause | 2,016 | camio1.0 | mgrosvenor | C | Code | 2,438 | 8,560 | /*
* Copyright (c) 2005 Endace Technology Ltd, Hamilton, New Zealand.
* All rights reserved.
*
* This source code is proprietary to Endace Technology Limited and no part
* of it may be redistributed, published or disclosed except as outlined in
* the written contract supplied with this product.
*
*/
/* Interna... | 40,788 |
https://github.com/datLucius/thicc-or-fat/blob/master/sass/partials/_global.scss | Github Open Source | Open Source | MIT | null | thicc-or-fat | datLucius | SCSS | Code | 108 | 429 | // put global styles here
* {
font-family: 'Merriweather;', serif;
}
.gold-boi {
background-color: #a98760;
}
.gold-text {
color: #a98760;
}
html {
background: url("/images/whitehouse_fade.jpg") no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size... | 1,973 |
https://github.com/DamyGenius/risk/blob/master/source/database/migrations/mig_000043/alter_t_torneos.sql | Github Open Source | Open Source | MIT | null | risk | DamyGenius | SQL | Code | 24 | 85 | alter table T_TORNEOS add id_url VARCHAR2(3);
alter table T_TORNEOS add id_importacion VARCHAR2(50);
alter table T_TORNEOS
add constraint FK_TORNEOS_URLS foreign key (ID_URL)
references T_IMPORTADOR_URLS (ID_URL);
| 6,238 |
https://github.com/eishon/Flutter-Samples/blob/master/backdrop_filter_loading/example/lib/main.dart | Github Open Source | Open Source | MIT | null | Flutter-Samples | eishon | Dart | Code | 93 | 304 | import 'package:backdrop_filter_loading/backdrop_filter_loading.dart';
import 'package:flutter/material.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatefulWidget {
@override
_MyAppState createState() => _MyAppState();
}
class _MyAppState extends State<MyApp> {
bool loading = true;
@overri... | 53,106 |
https://github.com/kailan/Tracker/blob/master/src/main/java/pw/kmp/tracker/trackers/gravity/GravityTracker.java | Github Open Source | Open Source | MIT | 2,016 | Tracker | kailan | Java | Code | 271 | 1,165 | package pw.kmp.tracker.trackers.gravity;
import org.bukkit.Bukkit;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.EventPriority;
import org.bukkit.event.entity.EntityDamageEvent;
import org.bukkit.event.entity.PlayerDeathEvent;
import org.bukkit.event.player.PlayerMoveEv... | 26,570 |
https://github.com/Acagamics/python-sepadd/blob/master/sepadd/__init__.py | Github Open Source | Open Source | MIT | 2,018 | python-sepadd | Acagamics | Python | Code | 9 | 26 | from .debit import SepaDD # noqa
version = '1.3.0'
| 12,123 |
https://github.com/DivanteLtd/magento2-pimcore-bridge/blob/master/Queue/QueueFactory.php | Github Open Source | Open Source | MIT | 2,020 | magento2-pimcore-bridge | DivanteLtd | PHP | Code | 114 | 418 | <?php
/**
* @package Divante\PimcoreIntegration
* @author Bartosz Herba <bherba@divante.pl>
* @copyright 2018 Divante Sp. z o.o.
* @license See LICENSE_DIVANTE.txt for license details.
*/
namespace Divante\PimcoreIntegration\Queue;
use Divante\PimcoreIntegration\Api\Queue\Data\AssetQueueInterface;
use Divante\P... | 15,043 |
https://github.com/miketsukerman/vsomeip-ros-bridge/blob/master/src/gnss-someip-lib/cmake/FindFrancaRosTools.cmake | Github Open Source | Open Source | Apache-2.0 | null | vsomeip-ros-bridge | miketsukerman | CMake | Code | 21 | 164 | if(NOT FRANCA_ROS_TOOLS_FOUND)
if(NOT DEFINED FIDL2ROS_TRANSLATOR)
find_program(FIDL2ROS_TRANSLATOR NAMES fidl2ros)
message(STATUS "fidl2ros translator: ${FIDL2ROS_TRANSLATOR}")
endif()
find_package(PackageHandleStandardArgs REQUIRED)
find_package_handle_standard_args(FrancaRosTools D... | 41,817 |
https://github.com/dudugou/job-support/blob/master/laravel/app/Repositories/DocumentFolderRepository.php | Github Open Source | Open Source | MIT | 2,021 | job-support | dudugou | PHP | Code | 55 | 196 | <?php
namespace App\Repositories;
use App\Contracts\Repositories\DocumentFolderRepositoryInterface;
use App\Models\DocumentFolder;
use App\Repositories\Abstracts\EloquentRepository;
use Illuminate\Database\Eloquent\Model;
class DocumentFolderRepository extends EloquentRepository implements DocumentFolderRepositoryIn... | 41,215 |
https://github.com/delta-io/delta/blob/master/kernel/kernel-api/src/main/java/io/delta/kernel/internal/snapshot/LogSegment.java | Github Open Source | Open Source | Apache-2.0, LicenseRef-scancode-unknown-license-reference | 2,023 | delta | delta-io | Java | Code | 398 | 1,024 | /*
* Copyright (2023) The Delta Lake Project Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... | 20,739 |
https://github.com/Ziyat/api/blob/master/api/controllers/shop/CategoryController.php | Github Open Source | Open Source | BSD-3-Clause | null | api | Ziyat | PHP | Code | 667 | 2,534 | <?php
/**
* Created by Madetec-Solution.
* Developer: Mirkhanov Z.S.
*/
namespace api\controllers\shop;
use api\controllers\BearerController;
use api\controllers\BearerCrudController;
use box\entities\shop\Categories;
use box\entities\shop\Category;
use box\forms\Shop\CategoriesForm;
use box\forms\shop\CategoryFor... | 24,727 |
https://github.com/peter-parque/TinyTrainable/blob/master/examples/hello/hello_printer/hello_printer.ino | Github Open Source | Open Source | MIT | 2,021 | TinyTrainable | peter-parque | null | Spoken | 34 | 127 | // include TinyTrainable library
#include <TinyTrainable.h>
// declare instance of a TinyTrainable instrument
TinyTrainable myTiny(INPUT_NONE, OUTPUT_PRINTER);
// for wiring instructions, refer to docs/
void setup() {
myTiny.setupInstrument(false);
myTiny.setupOutputPrinter();
myTiny.setPrinterBegin();
myTi... | 34,662 |
https://github.com/davidhawkes11/PythonStdioGames/blob/master/src/gamesbyexample/rockpaperscissorsalwayswin.py | Github Open Source | Open Source | MIT | 2,020 | PythonStdioGames | davidhawkes11 | Python | Code | 208 | 535 | """Rock-Paper-Scissors (Always Win), by Al Sweigart al@inventwithpython.com
A hand game of luck, except you cannot lose."""
__version__ = 1
import time, sys
print('''ROCK, PAPER, SCISSORS
By Al Sweigart al@inventwithpython.com
- Rock beats scissors.
- Paper beats rocks.
- Scissors beats paper.
''')
# These variabl... | 20,792 |
https://github.com/IRFM/ALOHA/blob/master/code_1D/couplage_1D/fortran90_source/liblapack/SRC/zla_gerfsx_extended.f | Github Open Source | Open Source | CECILL-B | 2,021 | ALOHA | IRFM | null | Spoken | 1,432 | 4,228 | SUBROUTINE ZLA_GERFSX_EXTENDED( PREC_TYPE, TRANS_TYPE, N, NRHS, A,
$ LDA, AF, LDAF, IPIV, COLEQU, C, B,
$ LDB, Y, LDY, BERR_OUT, N_NORMS,
$ ERRS_N, ERRS_C, RES, AYB, DY,
$ ... | 16,682 |
https://github.com/douhaolzz/PolyU-Cardlang/blob/master/cardlang/node/ASubobj.java | Github Open Source | Open Source | Unlicense | null | PolyU-Cardlang | douhaolzz | Java | Code | 154 | 534 | /* This file was generated by SableCC (http://www.sablecc.org/). */
package cardlang.node;
import cardlang.analysis.*;
@SuppressWarnings("nls")
public final class ASubobj extends PSubobj
{
private PObj _obj_;
public ASubobj()
{
// Constructor
}
public ASubobj(
@SuppressWarnings(... | 49,502 |
https://github.com/badochov/fun-lang-interpreter/blob/master/.gitignore | Github Open Source | Open Source | MIT | 2,020 | fun-lang-interpreter | badochov | Ignore List | Code | 6 | 37 | /.mypy_cache
.dmypy.json
/venv
/.idea
/**/__pycache__
/**/.pytest_cache | 3,889 |
https://github.com/LiesbethVanaerschot/acpaas-ui_angular/blob/master/packages/flyout/lib/src/flyout/directives/flyout-zone.directive.ts | Github Open Source | Open Source | MIT | null | acpaas-ui_angular | LiesbethVanaerschot | TypeScript | Code | 54 | 195 | import { Directive, ElementRef, Input, HostBinding } from '@angular/core';
@Directive({
selector: '[auiFlyoutZone]',
exportAs: 'auiFlyoutZone',
})
export class FlyoutZoneDirective {
@HostBinding('class.m-flyout__content') class = true;
@Input() public auiFlyoutZone: boolean;
public element: HTMLElement;
cons... | 41,446 |
https://github.com/ukwa/monitrix-bdt/blob/master/Procfile | Github Open Source | Open Source | Apache-2.0 | 2,013 | monitrix-bdt | ukwa | null | Spoken | 5 | 35 | web: target/start uk.bl.monitrix.bdt.receiver.Main -b "0.0.0.0:$PORT" | 14,237 |
https://github.com/cliuxinxin/dagou/blob/master/resources/views/group.blade.php | Github Open Source | Open Source | MIT | null | dagou | cliuxinxin | PHP | Code | 98 | 544 | @extends('layouts.app')
@section('content')
<div class="container">
<row>
<h1>报名表</h1>
<blockquote>
在这里可以发起报名表,然后把报名表发给大家报名。
</blockquote>
</row>
<hr>
<div class="row">
<table class="table table-striped">
... | 40,027 |
https://github.com/iconsafe-slowmist/iconsafe-slowmist.github.io/blob/master/src/components/ICON/inputs/RadioButtons/index.js | Github Open Source | Open Source | Apache-2.0 | 2,021 | iconsafe-slowmist.github.io | iconsafe-slowmist | JavaScript | Code | 61 | 236 | import React from 'react'
import Radio from '@material-ui/core/Radio'
import RadioGroup from '@material-ui/core/RadioGroup'
import FormControlLabel from '@material-ui/core/FormControlLabel'
const RadioButtons = ({
name,
value,
onRadioChange,
options,
...rest
}) => {
const onChangeInternal = (event) =>
... | 51,292 |
https://github.com/lawansubba/ArduinoPlantLifeSense/blob/master/ArduinoPlantLifeSense.ino | Github Open Source | Open Source | Apache-2.0 | null | ArduinoPlantLifeSense | lawansubba | null | Spoken | 392 | 1,202 | /*
MKR ENV Shield - Read Sensors
This example reads the sensors on-board the MKR ENV shield
and prints them to the Serial Monitor once a second.
The circuit:
- Arduino MKR board
- Arduino MKR ENV Shield attached
This example code is in the public domain.
*/
#include <Arduino_MKRENV.h>
#include <Arduin... | 930 |
https://github.com/bazaarvoice/dropwizard-caching-bundle/blob/master/bundle/src/main/java/com/bazaarvoice/dropwizard/caching/IncludeBodyInCacheKey.java | Github Open Source | Open Source | Apache-2.0 | 2,017 | dropwizard-caching-bundle | bazaarvoice | Java | Code | 199 | 373 | /*
* Copyright 2014 Bazaarvoice, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | 33,184 |
https://github.com/firecracker-microvm/firecracker/blob/master/src/vmm/benches/cpu_templates.rs | Github Open Source | Open Source | BSD-3-Clause, Apache-2.0 | 2,023 | firecracker | firecracker-microvm | Rust | Code | 122 | 540 | // Copyright 2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
//
// Benchmarking cases:
// * `CustomCpuTemplate` JSON deserialization
// * `CustomCpuTemplate` JSON serialization
use std::mem::size_of_val;
use criterion::{criterion_group, criterion_main, Criterio... | 6,434 |
https://github.com/shaojiankui/iOS10-Runtime-Headers/blob/master/PrivateFrameworks/MapsSupport.framework/MSPPlaceBookmark.h | Github Open Source | Open Source | MIT | 2,018 | iOS10-Runtime-Headers | shaojiankui | C | Code | 138 | 563 | /* Generated by RuntimeBrowser
Image: /System/Library/PrivateFrameworks/MapsSupport.framework/MapsSupport
*/
@interface MSPPlaceBookmark : PBCodable <NSCopying> {
GEOLatLng * _droppedPinCoordinate;
struct {
unsigned int origin : 1;
} _has;
GEOMapItemStorage * _mapItemStorage;
int _o... | 28,141 |
https://github.com/phetsims/sherpa/blob/master/js/fontawesome-5/clipboardSolidShape.js | Github Open Source | Open Source | CC-BY-4.0, MIT | 2,019 | sherpa | phetsims | JavaScript | Code | 30 | 84 | // Copyright 2021, University of Colorado Boulder
// Auto-generated by modulifyFontAwesomeIcons.js, please do not modify directly.
import Shape from '../../../kite/js/Shape.js';
import clipboardSolidString from './clipboardSolidString.js';
export default new Shape( clipboardSolidString ); | 33,190 |
https://github.com/ojwanganto/laravel-nationalHivMentorship/blob/master/app/MentorshipSessionScore.php | Github Open Source | Open Source | MIT | 2,016 | laravel-nationalHivMentorship | ojwanganto | PHP | Code | 37 | 122 | <?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class MentorshipSessionScore extends Model
{
protected $table = 'session_score';
protected $primaryKey = 'session_score_id';
/**
* Get the MentorshipSession associated with MentorshipSessionScore
*/
public function mentorship... | 27,793 |
https://github.com/ringcentral/ringcentral-embeddable/blob/master/src/components/MainViewPanel/i18n/zh-HK.js | Github Open Source | Open Source | MIT | 2,023 | ringcentral-embeddable | ringcentral | JavaScript | Code | 91 | 470 | export default {
dialpadLabel: "撥號鍵盤",
callsLabel: "通話",
historyLabel: "歷史",
messagesLabel: "訊息",
moreMenuLabel: "更多功能表",
contactsLabel: "通訊錄",
meetingLabel: "排程視訊會議",
conferenceLabel: "排程電話會議",
hangoutsLabel: "啟動 Hangouts",
hangoutsTitle: "以會議啟動 Hangouts",
settingsLabel: "設定"
};
// @key: @#@"dia... | 5,015 |
https://github.com/cetic/ORS/blob/master/src/main/java/be/cetic/ors/ontologybinding/generic/query/rdf4j_model/RDF4JSparqlModel.java | Github Open Source | Open Source | Apache-2.0, LicenseRef-scancode-free-unknown | 2,018 | ORS | cetic | Java | Code | 118 | 554 |
package be.cetic.ors.ontologybinding.generic.query.rdf4j_model;
import be.cetic.ors.ontologybinding.generic.query.SparqlModel;
import java.util.HashMap;
import java.util.Map;
import java.util.ArrayList;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotati... | 3,531 |
https://github.com/OSDeploy/OSD/blob/master/Public/Functions/Cim/Get-CimVideoControllerResolution.ps1 | Github Open Source | Open Source | MIT | 2,023 | OSD | OSDeploy | PowerShell | Code | 103 | 358 | <#
.SYNOPSIS
Returns the CIM_VideoControllerResolution Properties for the Primary Screen
.DESCRIPTION
Returns the CIM_VideoControllerResolution Properties for the Primary Screen
.LINK
https://github.com/OSDeploy/OSD/tree/master/Docs
.NOTES
21.2.1 Initial Release
#>
function Get-CimVideoControllerResolution {
[C... | 35,547 |
https://github.com/Lingua-Machina/KLinguaMachina/blob/master/src/main/kotlin/org/linguamachina/klinguamachina/parser/ast/BaseASTNodeVisitor.kt | Github Open Source | Open Source | MIT | 2,021 | KLinguaMachina | Lingua-Machina | Kotlin | Code | 375 | 1,154 | package org.linguamachina.klinguamachina.parser.ast
import org.linguamachina.klinguamachina.parser.ast.nodes.*
import org.linguamachina.klinguamachina.parser.ast.nodes.impl.*
interface BaseASTNodeVisitor<R>: ASTNodeVisitor<R> {
fun defaultValue(): R
fun visit(node: ExpressionNode) = when (node) {
is ... | 29,213 |
https://github.com/poolshark021/Odiin/blob/master/src/nfc/nxp/ntag21x/nxp_ntag21x_emulator.h | Github Open Source | Open Source | MIT | null | Odiin | poolshark021 | C | Code | 70 | 324 | #pragma once
#include "nxp_ntag21x.h"
#include "nxp_ntag21x_payloads.hpp"
#include "../../type_2_tag/nfc_type_2_tag_emulator.h"
namespace nfc::nxp::ntag21x
{
class Ntag21xEmulator : public type_2_tag::NfcType2TagEmulator
{
public:
virtual bool SetPayload(Payload* payload) override;
virtual void SetPasswordA... | 5,027 |
https://github.com/animais-de-rua/animais-de-rua/blob/master/app/Http/Requests/UserStoreRequest.php | Github Open Source | Open Source | MIT | 2,023 | animais-de-rua | animais-de-rua | PHP | Code | 59 | 188 | <?php
namespace App\Http\Requests;
use Backpack\PermissionManager\app\Http\Requests\UserStoreCrudRequest;
class UserStoreRequest extends UserStoreCrudRequest
{
/**
* Get the validation rules that apply to the request.
*
* @return array
*/
public function rules()
{
$rules = [
... | 40,105 |
https://github.com/pashazz/vmemperor/blob/master/frontend/app/components/RecycleBinButton/index.tsx | Github Open Source | Open Source | Apache-2.0 | 2,019 | vmemperor | pashazz | TypeScript | Code | 53 | 172 | /**
*
* RecycleBinButton
*
*/
import React from 'react';
// import styled from 'styled-components';
import {faTrashAlt} from "@fortawesome/free-solid-svg-icons/faTrashAlt";
import AwesomeButton, {Props as ButtonProps} from "../AwesomeButton";
type Props = Pick<ButtonProps, Exclude<keyof ButtonProps, "icon" | "colo... | 3,849 |
https://github.com/damienmarchandfr/mailboxlayer-node-client/blob/master/dist/models/data/Email.js | Github Open Source | Open Source | MIT | null | mailboxlayer-node-client | damienmarchandfr | JavaScript | Code | 120 | 388 | "use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Email = void 0;
class Email {
constructor(email) {
this.didYouMean = '';
this.user = '';
this.domain = '';
this.formatValid = true;
this.mxFound = true;
this.smtpChecked = true;
... | 51,149 |
https://github.com/cash2one/xai/blob/master/xai/brain/wordbase/adjectives/_polyunsaturated.py | Github Open Source | Open Source | MIT | 2,017 | xai | cash2one | Python | Code | 73 | 202 |
#calss header
class _POLYUNSATURATED():
def __init__(self,):
self.name = "POLYUNSATURATED"
self.definitions = [u'Polyunsaturated fat or oil has a chemical structure that does not easily change into cholesterol (= a substance containing a lot of fat that can cause heart disease) because it contains several doubl... | 1,150 |
https://github.com/LeonardoEmili/jamr/blob/master/src/FString.scala | Github Open Source | Open Source | BSD-2-Clause | 2,022 | jamr | LeonardoEmili | Scala | Code | 484 | 1,542 | package edu.cmu.lti.nlp.amr
import scala.util.matching.Regex
import scala.collection.mutable.Map
import scala.collection.mutable.Set
import scala.collection.mutable.ArrayBuffer
case class FString private (private val list: List[Int]) { // private constructor and private member list
private def this(str: String)... | 12,007 |
https://github.com/ViBiOh/ketchup/blob/master/pkg/store/ketchup/ketchup.go | Github Open Source | Open Source | MIT | 2,021 | ketchup | ViBiOh | Go | Code | 1,014 | 3,359 | package ketchup
import (
"context"
"errors"
"fmt"
"strconv"
"strings"
"github.com/ViBiOh/ketchup/pkg/model"
"github.com/jackc/pgx/v4"
)
// App of package
type App struct {
db model.Database
}
// New creates new App from Config
func New(db model.Database) App {
return App{
db: db,
}
}
// DoAtomic does a... | 25,914 |
https://github.com/ctm/executor/blob/master/src/config/front-ends/dos/vgatables.h | Github Open Source | Open Source | MIT | 2,022 | executor | ctm | C | Code | 19 | 85 | #if !defined (_VGATABLES_H_)
#define _VGATABLES_H_
extern const unsigned char vga_planar_4bpp_unscramble[256];
extern const unsigned char vga_planar_2bpp_unscramble[256];
#endif /* !_VGATABLES_H_ */
| 5,055 |
https://github.com/trema96/scafi/blob/master/project/plugins.sbt | Github Open Source | Open Source | Apache-2.0 | null | scafi | trema96 | Scala | Code | 101 | 431 | logLevel := Level.Warn
// Create Eclipse project definitions
addSbtPlugin("com.typesafe.sbteclipse" % "sbteclipse-plugin" % "5.2.4")
// Provide support for Scalastyle
addSbtPlugin("org.scalastyle" %% "scalastyle-sbt-plugin" % "1.0.0")
addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.5.1")
// Provide PGP signing ... | 21,710 |
https://github.com/minterscan/minter_link/blob/master/src/model/Window.ts | Github Open Source | Open Source | MIT | 2,022 | minter_link | minterscan | TypeScript | Code | 41 | 100 | /* istanbul ignore file */
export enum WindowType {
Sign = 'sign',
Connect = 'connect',
Payment = 'payment'
}
export type WindowQueryObject = {
tabId: string;
coin?: string;
amount?: string;
address?: string;
payload?: string;
message?: string;
merchantUrl: string;
merchantName: string;
}
| 14,563 |
https://github.com/maninwindow/dryrun/blob/master/lib/dryrun/dryrun_utils.rb | Github Open Source | Open Source | MIT | 2,016 | dryrun | maninwindow | Ruby | Code | 155 | 657 | require 'open-uri'
require 'dryrun/version'
require 'open3'
module Dryrun
class DryrunUtils
def self.execute(command)
is_success = system command
unless is_success
puts "\n\n======================================================\n\n"
puts " Something went wrong while executing this:".red
puts " ... | 30,506 |
https://github.com/mheinsen/seec/blob/master/tools/seec-print/man/man1/seec-print.1 | Github Open Source | Open Source | MIT, LicenseRef-scancode-unknown-license-reference | 2,020 | seec | mheinsen | null | Spoken | 230 | 499 | .\" Process this file with
.\" groff -man -Tascii foo.1
.\"
.TH SEEC-PRINT 1 "APRIL 2016" Linux "User Manuals"
.SH NAME
seec-print \- print information from SeeC trace files
.SH SYNOPSIS
.B seec-print [-CRSEP] [-graph-test] [-counts] [-G
.I directory
.B ] [-opt-var-name
.I name
.B ] [-reverse] [-comparable] [-quiet] [-... | 22,937 |
https://github.com/wareaglez2007/projectscope/blob/master/public/js/groups.js | Github Open Source | Open Source | MIT | null | projectscope | wareaglez2007 | JavaScript | Code | 1,672 | 5,428 | /**
* These scripts are for Groups Mods
*/
/**
* 09-01-2021
* DOM Ready Section Will go below
*/
$(function () {
}); //END of DOM ON READY <<-------------------
/**
* @controller update
* @param {*} role_id
* @param {*} group_id
* @returns Blade view GroupsManagement.partials.rolegroupselection
* (i... | 38,178 |
https://github.com/etaoins/llambda/blob/master/compiler/src/main/scala/planner/PlanExpr.scala | Github Open Source | Open Source | Apache-2.0 | 2,021 | llambda | etaoins | Scala | Code | 614 | 2,254 | package io.llambda.compiler.planner
import io.llambda
import collection.mutable
import llambda.compiler.{et, StorageLocation, ErrorCategory, RuntimeErrorMessage}
import llambda.compiler.{valuetype => vt}
import llambda.compiler.{celltype => ct}
import llambda.compiler.planner.{step => ps}
import llambda.compiler.plan... | 18,215 |
https://github.com/Ramios95/TodoList/blob/master/taskmodel.js | Github Open Source | Open Source | MIT | null | TodoList | Ramios95 | JavaScript | Code | 36 | 114 | function Task(
id,
title,
description,
completed,
duedate,
createdAt,
updatedAt
) {
this.id = id;
this.title = title;
this.description = description;
this.completed = completed;
this.duedate = duedate;
this.createdAt = createdAt;
this.updatedAt = updatedAt;
}
module.exports = Task;
| 36,384 |
https://github.com/irfnyas/facenition/blob/master/facerecognition/src/main/java/wgnelther/faces/NameActivity.java | Github Open Source | Open Source | MIT | 2,020 | facenition | irfnyas | Java | Code | 186 | 746 | package wgnelther.faces;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.KeyEvent;
import android.view.View;
import android.view.inputmethod.EditorInfo;
import android.widget.Button;
import android.widget.EditText;
import android.widget.Imag... | 38,160 |
https://github.com/stkao05/csscomb.js/blob/master/test/options/always-semicolon/process/less/include-1-multiline.less | Github Open Source | Open Source | MIT | 2,022 | csscomb.js | stkao05 | Less | Code | 6 | 18 | div {
color: tomato;
.nani
}
| 13,795 |
https://github.com/AccelByte/augment-python-sdk/blob/master/tests/test_builtindb.py | Github Open Source | Open Source | Apache-2.0 | 2,021 | augment-python-sdk | AccelByte | Python | Code | 61 | 345 | import unittest
import os
from pymongo import MongoClient
from datastore import MongoDB
class BuiltInDBTestCase(unittest.TestCase):
@classmethod
def setUpClass(cls):
cls.augment_mongodb = MongoDB(endpoint="mongodb:27017")
username = os.environ['BUILTIN_DB_USER_NAME']
password = os.en... | 16,240 |
https://github.com/softwaredeveloperca/invoice/blob/master/app/PaymentLineItems.php | Github Open Source | Open Source | MIT | null | invoice | softwaredeveloperca | PHP | Code | 91 | 241 | <?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class PaymentLineItems extends Model
{
public $guarded=['id'];
/**
* Retrieves enum fields for a column
*
* @param string $column Column name
*
* @return array
*
*/
public static function getEnumValues ($column) {
// Create an inst... | 31,339 |
https://github.com/iadvize/swift-graylog/blob/master/Source/Array+Queue.swift | Github Open Source | Open Source | MIT | 2,019 | swift-graylog | iadvize | Swift | Code | 223 | 423 | //
// Array+Queue.swift
// SwiftGraylog
//
// Created by Alexandre Karst on 14/11/2018.
// Copyright © 2018 iAdvize. All rights reserved.
//
import Foundation
/// Enum representing virtual cursors at the beginning and the end of the array.
///
/// - begin: virtual cursor representing the position before the first... | 23,673 |
https://github.com/michael-reichenauer/Dependinator/blob/master/Dependinator/ModelViewing/Private/DataHandling/Private/Persistence/IPersistenceService.cs | Github Open Source | Open Source | MIT | 2,022 | Dependinator | michael-reichenauer | C# | Code | 37 | 194 | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Dependinator.Common;
using Dependinator.ModelViewing.Private.DataHandling.Dtos;
using Dependinator.Utils.ErrorHandling;
namespace Dependinator.ModelViewing.Private.DataHandling.Private.Persistence
{
internal interface IPersistenc... | 14,379 |
https://github.com/indiana-university/rivet/blob/master/cypress/integration/sidenav_spec.js | Github Open Source | Open Source | BSD-3-Clause | null | rivet | indiana-university | JavaScript | Code | 238 | 851 | const DEV_SERVER = 'http://localhost:3000';
beforeEach(function() {
cy.visit(`${DEV_SERVER}/components/preview/sidenav`);
/**
* Use cypress aliases to share the context of the list and toggle
* elements across different assertions.
*/
cy.get('[data-rvt-sidenav-list="toggle-2"]').as('list');
cy.get('[d... | 19,225 |
https://github.com/mark-pearlpay/keenoptic/blob/master/react-ui/src/theme/styles/vendors/material-ui/_layout.scss | Github Open Source | Open Source | MIT | 2,020 | keenoptic | mark-pearlpay | SCSS | Code | 93 | 313 |
// Sidebar
.app-sidebar {
.nav-icon,
.nav-text {
vertical-align: middle;
}
.nav-icon {
margin-top: -2px; // to make icon and text vertically aligned
}
.nav {
li {
> a {
display: block !important;
text-align: left !important;
min-width: inherit !important;
... | 28,433 |
https://github.com/diennea/docetproject/blob/master/docet-core/src/main/java/docet/engine/SimpleDocetDocSearcher.java | Github Open Source | Open Source | Apache-2.0 | 2,023 | docetproject | diennea | Java | Code | 795 | 2,573 | /*
* Licensed to Diennea S.r.l. under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. Diennea S.r.l. licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this ... | 43,132 |
https://github.com/tencentyun/serverless-demo/blob/master/Nodejs12.16-COSRedisBackup/src/node_modules/tencentcloud-sdk-nodejs/src/services/cpdp/v20190820/cpdp_client.ts | Github Open Source | Open Source | Apache-2.0 | 2,023 | serverless-demo | tencentyun | TypeScript | Code | 3,680 | 19,066 | /* eslint-disable @typescript-eslint/no-unused-vars */
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. 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
*... | 2,327 |
https://github.com/ipetkov/conch-parser/blob/master/tests/parse_support.rs | Github Open Source | Open Source | Apache-2.0, MIT, LicenseRef-scancode-unknown-license-reference | 2,020 | conch-parser | ipetkov | Rust | Code | 236 | 975 | // Certain helpers may only be used by specific tests,
// suppress dead_code warnings since the compiler can't
// see our intent
#![allow(dead_code)]
use conch_parser::ast::Command::*;
use conch_parser::ast::ComplexWord::*;
use conch_parser::ast::PipeableCommand::*;
use conch_parser::ast::SimpleWord::*;
use conch_pars... | 49,555 |
https://github.com/codeplanner/SpongeBob/blob/master/src/SpongeBob.0.0.15/content/CodeTemplates/Scaffolders/Architecture/Service/Bob.Services.For/Bob.Services.For.ps1 | Github Open Source | Open Source | MIT | 2,015 | SpongeBob | codeplanner | PowerShell | Code | 222 | 733 | [T4Scaffolding.Scaffolder(Description = "Enter a description of SpongeBob.Services.For here")][CmdletBinding()]
param(
[parameter(Mandatory = $true, ValueFromPipelineByPropertyName = $true)][string]$ModelType,
[string]$Project,
[string]$CodeLanguage,
[string[]]$TemplateFolders,
[switch]$Force = $false
)... | 568 |
https://github.com/Westbrookhan/kylin/blob/master/engine-mr/src/main/java/org/apache/kylin/engine/mr/steps/KeyDistributionJob.java | Github Open Source | Open Source | Apache-2.0, MIT | 2,018 | kylin | Westbrookhan | Java | Code | 643 | 1,949 | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | 22,996 |
https://github.com/SENERGY-Platform/web-ui/blob/master/src/app/widgets/ac-control/ac-control.component.ts | Github Open Source | Open Source | Apache-2.0 | 2,023 | web-ui | SENERGY-Platform | TypeScript | Code | 799 | 2,998 | /*
* Copyright 2020 InfAI (CC SES)
*
* 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 ... | 44,822 |
https://github.com/Anxhela21/carbon_charts/blob/master/node_modules/carbon-addons-data-viz-react/node_modules/carbon-components-react/es/components/Toolbar/Toolbar.js | Github Open Source | Open Source | Apache-2.0 | 2,020 | carbon_charts | Anxhela21 | JavaScript | Code | 299 | 810 | function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
f... | 44,491 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.