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/fedepacher/APIRest-DAM/blob/master/src/backend/index.js | Github Open Source | Open Source | MIT | null | APIRest-DAM | fedepacher | JavaScript | Code | 67 | 211 | var express = require('express');
var app = express();
var cors = require('cors');
var sql = require('./mysql');
var device = require('./routes/device');
var messure = require('./routes/messure');
var spray = require('./routes/spray');
app.use(express.json());
var corsOption = {origin: '*', optionSuccessStatus: 200};... | 42,465 |
https://github.com/sebeier/biosamples-v4/blob/master/pipelines/ncbi/src/test/java/uk/ac/ebi/biosamples/ncbi/NcbiElementCallableTest.java | Github Open Source | Open Source | Apache-2.0 | null | biosamples-v4 | sebeier | Java | Code | 297 | 1,262 | /*
* Copyright 2019 EMBL - European Bioinformatics Institute
* 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 ag... | 1,289 |
https://github.com/Pythagus/java-messenger/blob/master/messenger-client/src/main/java/fr/insa/messenger/client/exceptions/PseudoException.java | Github Open Source | Open Source | MIT | 2,021 | java-messenger | Pythagus | Java | Code | 44 | 103 | package fr.insa.messenger.client.exceptions;
/**
* @author Damien MOLINA
*/
public class PseudoException extends AppException implements UserException {
/**
* Make a new App exception with
* the given message.
*
* @param msg : exception message.
*/
public PseudoException(String msg)... | 53,164 |
https://github.com/DmitryTsybin/Study/blob/master/ProjectEuler/6_sum_square_difference.py | Github Open Source | Open Source | MIT | null | Study | DmitryTsybin | Python | Code | 23 | 57 | sumSquare = 0
squareSum = 0
for i in range (1,101):
squareSum += i
sumSquare += i**2
squareSum = squareSum**2
print(squareSum - sumSquare)
| 34,954 |
https://github.com/massbrowser/android/blob/master/components/offline_pages/core/prefetch/prefetch_request_fetcher_unittest.cc | Github Open Source | Open Source | BSD-3-Clause | 2,017 | android | massbrowser | C++ | Code | 310 | 2,419 | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/offline_pages/core/prefetch/prefetch_request_fetcher.h"
#include "base/message_loop/message_loop.h"
#include "base/test/mock_callbac... | 21,078 |
https://github.com/gurgeous/command_kit.rb/blob/master/lib/command_kit/arguments/argument.rb | Github Open Source | Open Source | MIT | null | command_kit.rb | gurgeous | Ruby | Code | 226 | 519 | require 'command_kit/arguments/argument_value'
module CommandKit
module Arguments
#
# Represents a defined argument.
#
# @api private
#
class Argument < ArgumentValue
# The argument's name.
#
# @return [Symbol]
attr_reader :name
# The argument's description.
... | 13,376 |
https://github.com/Zelrone/zimbra-api/blob/master/src/Zimbra/Admin/Tests/Struct/IntIdAttrTest.php | Github Open Source | Open Source | BSD-3-Clause, LicenseRef-scancode-unknown-license-reference | 2,021 | zimbra-api | Zelrone | PHP | Code | 68 | 256 | <?php
namespace Zimbra\Admin\Tests\Struct;
use Zimbra\Admin\Tests\ZimbraAdminTestCase;
use Zimbra\Admin\Struct\IntIdAttr;
/**
* Testcase class for IntIdAttr.
*/
class IntIdAttrTest extends ZimbraAdminTestCase
{
public function testIntIdAttr()
{
$value = mt_rand(0, 100);
$attr = new IntIdAtt... | 25,048 |
https://github.com/luckydonald/memes.pony.style/blob/master/mylittlefacewhen/scripts/old/import.py | Github Open Source | Open Source | 0BSD | 2,021 | memes.pony.style | luckydonald | Python | Code | 371 | 1,176 | """
Old import script. Works only with local db.
Process all images in a given folder into Face objects.
This process has multiple steps.
"""
from datetime import datetime
import os
import sys
import shutil
from PIL import Image
from viewer.models import *
#directories = ["/home/inopia/mlfw2/"]#,
# "/home/inop... | 14,046 |
https://github.com/deains/oot-tracker/blob/master/src/js/model/Area.js | Github Open Source | Open Source | MIT | null | oot-tracker | deains | JavaScript | Code | 278 | 839 | define([
'model/Model'
], function(Model) {
/**
* Area constructor
*
* @param {Store} store
* @param {string} name
* @param {string} className
* @param {string} type
* @param {string} label
* @param {Array<Check>} checks
*
* @constructor
*/
function Area(store, name, className, type, labe... | 19,456 |
https://github.com/xiaohu-ya/MyBlog/blob/master/src/main/java/com/lrm/service/UserService.java | Github Open Source | Open Source | Apache-2.0 | null | MyBlog | xiaohu-ya | Java | Code | 14 | 44 | package com.lrm.service;
import com.lrm.po.User;
public interface UserService {
User checkUser(String username, String password);
}
| 4,083 |
https://github.com/LongBody/veronica/blob/master/Login_UX_UI/views/register.js | Github Open Source | Open Source | MIT | 2,020 | veronica | LongBody | JavaScript | Code | 195 | 751 | import backLogin from './login.js'
import setScreen from '../index.js'
import { register } from '../controllers/auth.js'
const screen = `<div class="container">
<div class="row">
<div class="col-lg-4"></div>
<div class="col-lg-3 card shadow" style="padding: 20px 25px; border: 1px solid black;border-radius: 10px;"... | 5,073 |
https://github.com/Jaineel-Mamtora/MVVM-Boilerplate/blob/master/lib/ui/views/base_view.dart | Github Open Source | Open Source | Apache-2.0 | 2,022 | MVVM-Boilerplate | Jaineel-Mamtora | Dart | Code | 116 | 452 | import 'package:flutter/material.dart';
import 'package:provider/provider.dart';
import '../../locator.dart';
import '../../viewmodels/base_viewmodel.dart';
import '../../managers/lifecycle_event_handler.dart';
class BaseView<T extends BaseViewModel> extends StatefulWidget {
final Widget Function(
BuildContext ... | 43,611 |
https://github.com/srstevens/gcsv5_installer/blob/master/Makefile | Github Open Source | Open Source | Apache-2.0 | 2,021 | gcsv5_installer | srstevens | Makefile | Code | 67 | 327 | VENV_ROOT=venv
ANSIBLE_PLAYBOOK=$(VENV_ROOT)/bin/ansible-playbook
ANSIBLE_CFG=ansible/ansible.cfg
PLAYBOOK=playbook.yml
PYTHON_VERSION=3
PYTHON=$(VENV_ROOT)/bin/python$(PYTHON_VERSION)
PIP=$(VENV_ROOT)/bin/pip$(PYTHON_VERSION)
CONFIG=config.yml
SETUP=setup.py
ifeq (, $(shell command -v python$(PYTHON_VERSION)))
$(er... | 772 |
https://github.com/howardyun/BrainWave-Proj/blob/master/Assets/BRAIN CITY-CAR Unity Project/Library/Artifacts/cc/cc3093f72d0298a4bc3e6db155f806ce.meta | Github Open Source | Open Source | MIT | 2,021 | BrainWave-Proj | howardyun | Unity3D Asset | Code | 10 | 61 | fileFormatVersion: 2
guid: ab5ec1cf7bff94731a9e9a67a67dc3a7
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| 14,629 |
https://github.com/huangduan/onethink/blob/master/Runtime/Temp/2bb202459c30a1628513f40ab22fa01a.php | Github Open Source | Open Source | Apache-2.0 | 2,017 | onethink | huangduan | PHP | Code | 3 | 30 | <?php
//000000000000a:1:{s:2:"u1";s:9:"huangduan";}
?> | 41,919 |
https://github.com/alexmon1989/kalashnikov/blob/master/resources/views/admin/errors/404.blade.php | Github Open Source | Open Source | MIT | null | kalashnikov | alexmon1989 | PHP | Code | 78 | 296 | @extends('admin.layout.master')
@section('top_content')
@include('admin.layout.breadcrumbs', [
'title' => '404 Ошибка',
'items' => array(
array('title' => 'Начало работы', 'action' => 'Admin\DashboardController@getIndex', 'active' => FALSE),
array('title'... | 46,947 |
https://github.com/samson1016/NTHU-Wifi-Auto-Login/blob/master/Android/app/src/main/java/tw/edu/kuas/wifiautologin/libs/Utils.java | Github Open Source | Open Source | Apache-2.0 | null | NTHU-Wifi-Auto-Login | samson1016 | Java | Code | 624 | 2,605 | package tw.edu.kuas.wifiautologin.libs;
import android.annotation.TargetApi;
import android.app.Activity;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.net.ConnectivityManager;
import android.net.Network;
... | 6,401 |
https://github.com/allink/allink-core/blob/master/allink_core/apps/locations/config.py | Github Open Source | Open Source | BSD-3-Clause | 2,022 | allink-core | allink | Python | Code | 17 | 55 | # -*- coding: utf-8 -*-
from django.apps import AppConfig
class LocationsConfig(AppConfig):
name = 'allink_core.apps.locations'
verbose_name = "Locations"
| 53,973 |
https://github.com/gastonfeng/pyswd/blob/master/swd/stlinkcom.py | Github Open Source | Open Source | MIT | null | pyswd | gastonfeng | Python | Code | 323 | 1,130 | """ST-Link/V2 USB communication"""
import logging as _logging
import usb.core as _usb
import pyswd.swd._log as _log
class StlinkComException(Exception):
"""Exception"""
class StlinkComNotFound(Exception):
"""Exception"""
class StlinkComV2Usb():
"""ST-Link/V2 USB communication class"""
ID_VENDOR =... | 55,465 |
https://github.com/dnr/blb/blob/master/cmd/watchblb/main.go | Github Open Source | Open Source | MIT | 2,018 | blb | dnr | Go | Code | 98 | 394 | // Copyright (c) 2016 Western Digital Corporation or its affiliates. All rights reserved.
// SPDX-License-Identifier: MIT
package main
import (
"flag"
"github.com/westerndigitalcorporation/blb/internal/watchblb"
"github.com/westerndigitalcorporation/blb/platform/clustersniff"
)
func main() {
// Parse the flags.... | 43,952 |
https://github.com/GHP7/GraceShopper/blob/master/server/api/index.js | Github Open Source | Open Source | MIT | null | GraceShopper | GHP7 | JavaScript | Code | 47 | 155 | const router = require('express').Router()
const Users = require('../db/models/user')
const Products = require('../db/models/product')
const Cart = require('../db/models/cart')
const Order = require('../db/models/order')
router.use('/users', require('./users'))
router.use('/products', require('./products'))
router.use... | 30,264 |
https://github.com/StOriJimmy/importer-exporter/blob/master/impexp-core/src/main/java/org/citydb/citygml/exporter/database/content/DBTransportationComplex.java | Github Open Source | Open Source | Apache-2.0 | null | importer-exporter | StOriJimmy | Java | Code | 1,110 | 5,433 | /*
* 3D City Database - The Open Source CityGML Database
* http://www.3dcitydb.org/
*
* Copyright 2013 - 2019
* Chair of Geoinformatics
* Technical University of Munich, Germany
* https://www.gis.bgu.tum.de/
*
* The 3D City Database is jointly developed with the following
* cooperation partners:
*
* virtual... | 7,002 |
https://github.com/pfiadeiro/ADF.procfwk/blob/master/FactoryTesting/Pipelines/02-Parent/GivenBatchExecutionsForSingleBatch.cs | Github Open Source | Open Source | MIT | null | ADF.procfwk | pfiadeiro | C# | Code | 89 | 432 | using FluentAssertions;
using NUnit.Framework;
using NUnit.Framework.Internal;
using System.Threading.Tasks;
namespace FactoryTesting.Pipelines.Parent
{
public class GivenBatchExecutionsForSingleBatch
{
private ParentHelper _helper;
[OneTimeSetUp]
public async Task WhenPipelineRun()
... | 20,805 |
https://github.com/WendellTeam/code-java/blob/master/034-project-seed-1/sys/src/main/java/com/keqi/seed/sys/controller/MenuController.java | Github Open Source | Open Source | Apache-2.0 | 2,021 | code-java | WendellTeam | Java | Code | 104 | 473 | package com.keqi.seed.sys.controller;
import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport;
import com.github.xiaoymin.knife4j.annotations.ApiSupport;
import com.keqi.seed.sys.domain.param.MenuParam;
import com.keqi.seed.sys.service.MenuService;
import io.swagger.annotations.Api;
import io.swagger.annota... | 34,139 |
https://github.com/329Enjuneers/Budgeter/blob/master/src/main/java/receipt_parser/MyFloat.java | Github Open Source | Open Source | MIT | null | Budgeter | 329Enjuneers | Java | Code | 26 | 63 | package receipt_parser;
public class MyFloat {
public int location;
public float value;
public MyFloat(int location, float value) {
this.location = location;
this.value = value;
}
}
| 7,709 |
https://github.com/studentinsights/studentinsights/blob/master/spec/importers/file_importers/student_section_assignments_importer_spec.rb | Github Open Source | Open Source | MIT, LicenseRef-scancode-warranty-disclaimer | 2,023 | studentinsights | studentinsights | Ruby | Code | 1,077 | 5,089 | require 'rails_helper'
RSpec.describe StudentSectionAssignmentsImporter do
def make_importer(options = {})
StudentSectionAssignmentsImporter.new(options: {
school_scope: nil,
log: LogHelper::FakeLog.new
}.merge(options))
end
def make_importer_for_import_row_test
importer = make_importer(... | 13,954 |
https://github.com/PoffM/seqdb-ui/blob/master/components/api-client/__tests__/ApiClientContext.test.ts | Github Open Source | Open Source | MIT | null | seqdb-ui | PoffM | TypeScript | Code | 398 | 1,204 | import { AxiosRequestConfig } from "axios";
import Kitsu from "kitsu";
import { createContextValue } from "../ApiClientContext";
import { Operation, OperationsResponse } from "../jsonapi-types";
const AXIOS_JSONPATCH_REQUEST_CONFIG: AxiosRequestConfig = {
headers: {
Accept: "application/json-patch+json",
"Co... | 33,164 |
https://github.com/Dantcho-BG/GYTime/blob/master/page_files/page_parts/backup/page_part_private_info.php | Github Open Source | Open Source | MIT | null | GYTime | Dantcho-BG | PHP | Code | 228 | 1,203 | <?php
require "functions".DIRECTORY_SEPARATOR."function_private_p_info.php";
?>
<!--<div class="box box-info">
<div class="box-header with-border">
<h3 class="box-title">Change Your Pivate Information</h3>
<div class="box-tools pull-right">
<button class="btn btn-box-tool" data-widget="coll... | 1,291 |
https://github.com/teqnickels/roam/blob/master/public/script.js | Github Open Source | Open Source | MIT | 2,018 | roam | teqnickels | JavaScript | Code | 250 | 1,052 | (function () {
const buttons = {
loginButton: document.querySelector('.login-button'),
closeModalButton: document.querySelector('.close')
}
const loginModal = document.querySelector('.login-modal');
const modalActions = {
displayLoginModal: () => {
return loginModal.style.display = 'block';
... | 45,352 |
https://github.com/toniedzwiedz/gradle-aem-plugin/blob/master/src/main/kotlin/com/cognifide/gradle/aem/instance/tasks/InstanceKill.kt | Github Open Source | Open Source | Apache-2.0 | 2,021 | gradle-aem-plugin | toniedzwiedz | Kotlin | Code | 52 | 228 | package com.cognifide.gradle.aem.instance.tasks
import com.cognifide.gradle.aem.common.instance.names
import com.cognifide.gradle.aem.common.tasks.LocalInstance
import org.gradle.api.tasks.TaskAction
open class InstanceKill : LocalInstance() {
@TaskAction
fun kill() {
localInstanceManager.base.examin... | 24,813 |
https://github.com/a44281071/MineCase/blob/master/src/MineCase.Nbt/Tags/NbtNumber.cs | Github Open Source | Open Source | MIT | 2,021 | MineCase | a44281071 | C# | Code | 42 | 106 | using System;
using System.Collections.Generic;
using System.Text;
namespace MineCase.Nbt.Tags
{
public abstract class NbtNumber : NbtTag
{
public abstract long GetLong();
public abstract int GetInt();
public abstract short GetShort();
public abstract sbyte GetByte();
... | 33,332 |
https://github.com/kl07/sentry/blob/master/src/sentry/api/serializers/models/activity.py | Github Open Source | Open Source | BSD-3-Clause | 2,020 | sentry | kl07 | Python | Code | 160 | 532 | from __future__ import absolute_import
from sentry.api.serializers import Serializer, register, serialize
from sentry.models import Activity
@register(Activity)
class ActivitySerializer(Serializer):
def get_attrs(self, item_list, user):
# TODO(dcramer); assert on relations
users = dict(zip(
... | 49,449 |
https://github.com/miketalbot/JsStore/blob/master/dist/ts/worker/keystore/utils_logic.d.ts | Github Open Source | Open Source | MIT | 2,019 | JsStore | miketalbot | TypeScript | Code | 18 | 43 | import { CONNECTION_STATUS } from './enums';
export declare class Utils {
static updateDbStatus(status: CONNECTION_STATUS, err?: any): void;
}
| 5,631 |
https://github.com/Sunshine-Scooters/control-code/blob/master/src/control.ino | Github Open Source | Open Source | MIT | null | control-code | Sunshine-Scooters | null | Spoken | 1,608 | 3,951 | /*
Sunshine Scooters Control Code
Adapted from code written by FIRST Team 1939 (The Kuhnigits) to utilize Cytron PS2 Shield as parent override device.
Parent mode is actived by pressing the D-PAD or SQUARE button. Child mode is
reactived by pressing the START button.
*/
#include <Servo.h>
#include "Cytro... | 7,013 |
https://github.com/marcuswu0814/RedmineBot/blob/master/Tests/RedmineBotTest/PostCommitHookCommandActionTest.swift | Github Open Source | Open Source | MIT, LicenseRef-scancode-other-permissive | 2,018 | RedmineBot | marcuswu0814 | Swift | Code | 51 | 213 | import XCTest
import Foundation
@testable import RedmineBotCore
class PostCommitHookCommandActionTest: XCTestCase {
let config = Config(redmineUrl: "www.redmine.com", apiAccessKey: "FakeAccessKey")
var sut: PostCommitHookCommandAction?
var mockRequest: MockCommentRequest?
func test__givenRequ... | 37,453 |
https://github.com/ckelsel/iap-windows-rdc-plugin/blob/master/Google.Solutions.IapDesktop.Application/Windows/ExceptionDialog.cs | Github Open Source | Open Source | Apache-2.0 | 2,020 | iap-windows-rdc-plugin | ckelsel | C# | Code | 278 | 746 | //
// Copyright 2019 Google LLC
//
// 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, Ver... | 10,395 |
https://github.com/travislondon/ciera/blob/master/examples/GPS/GPS_Watch/src/main/java/gps_watch/UI.java | Github Open Source | Open Source | Apache-2.0 | 2,020 | ciera | travislondon | Java | Code | 777 | 2,420 | package gps_watch;
import gps_watch.ui.UIUI;
import io.ciera.runtime.summit.application.IApplication;
import io.ciera.runtime.summit.application.IRunContext;
import io.ciera.runtime.summit.application.tasks.GenericExecutionTask;
import io.ciera.runtime.summit.application.tasks.HaltExecutionTask;
import io.ciera.runtim... | 29,031 |
https://github.com/YinLiu-91/thrust/blob/master/testing/scatter.cu | Github Open Source | Open Source | BSL-1.0 | 2,020 | thrust | YinLiu-91 | null | Spoken | 795 | 3,672 | #include <unittest/unittest.h>
#include <thrust/scatter.h>
#include <thrust/iterator/counting_iterator.h>
#include <thrust/iterator/discard_iterator.h>
#include <thrust/iterator/retag.h>
#include <thrust/sequence.h>
#include <thrust/fill.h>
#include <algorithm>
template <class Vector>
void TestScatterSimple(void)
{
... | 46,526 |
https://github.com/opreradovic/FollowTheLight/blob/master/ProjectSettings/EditorBuildSettings.asset | Github Open Source | Open Source | MIT | 2,021 | FollowTheLight | opreradovic | Unity3D Asset | Code | 142 | 835 | %YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1045 &1
EditorBuildSettings:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Scenes:
- enabled: 1
path: Assets/Scenes/Menu.unity
guid: 5cb71920cd536824b8356d6dd97a7e2e
- enabled: 1
path: Assets/Scenes/Tutorial1.unity
guid: 7b0daba690791ec4c96203591a3... | 55,587 |
https://github.com/Marius1342/Web-Notes/blob/master/index.php | Github Open Source | Open Source | Apache-2.0 | null | Web-Notes | Marius1342 | PHP | Code | 1,420 | 4,979 | <html>
<?php
require_once("db.php");
?>
<head>
<title>Web Notes</title>
<meta http-equiv="expires" content="0">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<meta charset="UTF-8">
<link content="no-c... | 55,475 |
https://github.com/MSUSEL/msusel-pique-binaries/blob/master/src/main/java/piquebinaries/runnable/QualityModelDeriver.java | Github Open Source | Open Source | MIT | null | msusel-pique-binaries | MSUSEL | Java | Code | 542 | 1,287 | /**
* MIT License
* Copyright (c) 2019 Montana State University Software Engineering Labs
* <p>
* 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 li... | 29,659 |
https://github.com/GPTechinno/W7500x/blob/master/src/pwm.rs | Github Open Source | Open Source | MIT | null | W7500x | GPTechinno | Rust | Code | 104 | 286 | #[doc = r"Register block"]
#[repr(C)]
pub struct RegisterBlock {
#[doc = "0x00 - Interrupt enable register"]
pub ier: crate::Reg<ier::IER_SPEC>,
#[doc = "0x04 - Start Stop register"]
pub ssr: crate::Reg<ssr::SSR_SPEC>,
#[doc = "0x08 - Pause register"]
pub psr: crate::Reg<psr::PSR_SPEC>,
}
#[doc ... | 14,057 |
https://github.com/Drestat/ZombieShooter/blob/master/ZombieShooter/Assets/Models/Characters/Toon Zombie Grunt/Toon Animations/Animations/Run Stop (ToonZombie).fbx.meta | Github Open Source | Open Source | Apache-2.0 | 2,016 | ZombieShooter | Drestat | Unity3D Asset | Code | 2,618 | 10,198 | fileFormatVersion: 2
guid: b38cc33566bfb4dd7872ad31e2dc847a
timeCreated: 1440913815
licenseType: Free
ModelImporter:
serializedVersion: 18
fileIDToRecycleName:
100000: //RootNode
100002: BVH:Head
100004: BVH:Head_End
100006: BVH:Hips
100008: BVH:LeftArm
100010: BVH:LeftFingerBase
100012:... | 4,236 |
https://github.com/ApsarasX/ant-sniffer/blob/master/src/pages/main/style.module.less | Github Open Source | Open Source | MIT | 2,020 | ant-sniffer | ApsarasX | Less | Code | 60 | 209 | .horizontalToolbar {
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
height: 48px;
line-height: 48px;
padding: 0 16px;
border-bottom: 1px solid #d9d9d9;
}
.leftToolbar {
display: flex;
}
.filterSearch {
width: 480px;
margin-right: 16px;
}
.actionBtn {
... | 49,688 |
https://github.com/joeaudette/square.netstandard/blob/master/src/Square.NetStandard/Model/CreateOrderRequestModifier.cs | Github Open Source | Open Source | Apache-2.0 | 2,017 | square.netstandard | joeaudette | C# | Code | 468 | 1,350 | /*
* Square Connect API
*
* Client library for accessing the Square Connect APIs
*
* OpenAPI spec version: 2.0
* Contact: developers@squareup.com
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.Regular... | 50,274 |
https://github.com/xdptdr/xdptdr/blob/master/xdptdr-acme/src/main/java/xdptdr/acme/jw/JWK.java | Github Open Source | Open Source | MIT | null | xdptdr | xdptdr | Java | Code | 48 | 154 | package xdptdr.acme.jw;
import java.util.HashMap;
import java.util.Map;
public class JWK {
Map<String, String> jwk = new HashMap<>();
public JWK() {
}
public JWK(Map<String, String> props) {
this.jwk = props;
}
public Map<String, String> getJwk() {
return jwk;
}
public void setJwk(Map<String, String>... | 26,467 |
https://github.com/adeo/mozaic-design-system/blob/master/packages/tokens/build/ios/StyleDictionaryColor.h | Github Open Source | Open Source | Apache-2.0 | 2,023 | mozaic-design-system | adeo | Objective-C | Code | 497 | 3,694 |
//
// StyleDictionaryColor.h
//
#import <UIKit/UIKit.h>
typedef NS_ENUM(NSInteger, StyleDictionaryColorName) {
ColorBadgeInfoBackground,
ColorBadgeInfoBorder,
ColorBadgeInfoText,
ColorBadgeSuccessBackground,
ColorBadgeSuccessBorder,
ColorBadgeSuccessText,
ColorBadgeWarningBackground,
ColorBadgeWarningBorder,
ColorBa... | 23,364 |
https://github.com/kronostechnologies/richman/blob/master/Makefile | Github Open Source | Open Source | MIT | null | richman | kronostechnologies | Makefile | Code | 131 | 442 | GITCOMMIT := $(shell git describe --always)
VERSION := $(shell git describe --tags 2>/dev/null || echo "latest")
PROJECTNAME := $(shell basename "$(PWD)")
GOBASE := $(shell pwd)
GOPATH := $(GOBASE)/vendor:$(GOBASE)
GOBIN := $(GOBASE)/bin
GOFILES := $(wildcard *.go)
LDFLAGS=-ldflags="-X 'main.version=$(VERSION)' $(EXT... | 18,149 |
https://github.com/gustavofmr/PWA-Framework-Speedtest/blob/master/node_modules/@nrwl/workspace/src/migrations/update-8-10-0/fix-tslint-json.js | Github Open Source | Open Source | Apache-2.0 | 2,021 | PWA-Framework-Speedtest | gustavofmr | JavaScript | Code | 145 | 515 | "use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
const schematics_1 = require("@angular-devkit/schematics");
const core_1 = require("@angular-devkit/core");
const literals_1 = require("@angular-devkit/core/src/utils/literals");
const ast_utils_1 = require(".... | 7,297 |
https://github.com/premsingh4github/japanconsultancy/blob/master/resources/views/attendance/new_attend_entry.blade.php | Github Open Source | Open Source | MIT | 2,019 | japanconsultancy | premsingh4github | Blade | Code | 233 | 1,029 | @if($attend_sts->status == 'present')
<span class="btn btn-success btn-sm" style="font-size: 9px" title="Present from QR scan">0</span>
<span class="sub-menu">
<form action="{{url('new_attend_entry').'/'.$attend_sts->attendance_id.'/'.$attend_sts->period_id}}" method="post" onsubmit="changeAttendace(th... | 17,891 |
https://github.com/krajasek/yugabyte-db/blob/master/src/postgres/contrib/yb_fdw/yb_fdw_pggate_api.h | Github Open Source | Open Source | PostgreSQL, Apache-2.0, OpenSSL, BSD-3-Clause, CC0-1.0, Unlicense, bzip2-1.0.6, dtoa, MIT, BSL-1.0, LicenseRef-scancode-public-domain | 2,018 | yugabyte-db | krajasek | C | Code | 84 | 330 | /*-----------------------------------------------------------------------------
*
* yb_fdw_pggate_api.h
* A single header to import YugaByte "PgGate" API so we can interact
* with the YugaByte universe from PostgreSQL C code
*
* Copyright (c) YugaByte, Inc.
*
* IDENTIFICATION
* contrib/yb_fdw/yb_fdw_p... | 48,364 |
https://github.com/overfullstack/park-my-car/blob/master/adapters/exchange/src/main/java/com/gakshintala/parkmycar/exchange/request/LeaveSlotRequestParser.java | Github Open Source | Open Source | MIT | null | park-my-car | overfullstack | Java | Code | 37 | 166 | package com.gakshintala.parkmycar.exchange.request;
import com.gakshintala.parkmycar.exchange.RequestParser;
import com.gakshintala.parkmycar.usecases.leaveslot.LeaveSlotCommand;
import lombok.NonNull;
import lombok.Value;
/*
* gakshintala created on 11/2/19
*/
@Value
public class LeaveSlotRequestParser implements ... | 27,569 |
https://github.com/namezis/bella/blob/master/internal/render/testdata/.gitignore | Github Open Source | Open Source | MIT | 2,020 | bella | namezis | Ignore List | Code | 1 | 6 | *.new.png
| 48,237 |
https://github.com/bjjdkp/anti-app/blob/master/apktool/com.homelink.android_144115188476575598_9.0.1_9001/smali_classes2/com/homelink/android/schoolhouse/activity/SchoolHouseToBuyActivity$5.smali | Github Open Source | Open Source | Apache-2.0 | 2,018 | anti-app | bjjdkp | Smali | Code | 167 | 1,336 | .class Lcom/homelink/android/schoolhouse/activity/SchoolHouseToBuyActivity$5;
.super Lcom/homelink/net/Service/CommonSubcriber;
.source "SchoolHouseToBuyActivity.java"
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcom/homelink/net/Service/CommonSubcriber<",
"Lcom/homel... | 10,325 |
https://github.com/fractalspace/superdump/blob/master/src/SuperDumpService/Helpers/TempDirectoryHandle.cs | Github Open Source | Open Source | MIT, Apache-2.0 | 2,017 | superdump | fractalspace | C# | Code | 60 | 159 | using System;
using System.IO;
namespace SuperDumpService.Helpers {
public class TempDirectoryHandle : IDisposable {
private bool delete;
public DirectoryInfo Dir { get; internal set; }
/// <summary>
/// Deletes the directory given, when disposed. Except "delete=false".
/// </summary>
public TempDirect... | 15,224 |
https://github.com/meimeinew/Pixel3D/blob/master/src/Pixel3D.P2P/P2PServerMessage.cs | Github Open Source | Open Source | Apache-2.0 | 2,019 | Pixel3D | meimeinew | C# | Code | 153 | 357 | // Copyright © Conatus Creative, Inc. All rights reserved.
// Licensed under the Apache 2.0 License. See LICENSE.md in the project root for license terms.
namespace Pixel3D.P2P
{
/// <summary>Messages from the P2P server to the P2P client</summary>
internal enum P2PServerMessage
{
/// <summary>
/// Initial... | 5,972 |
https://github.com/Fernando-Fernandez/apexsharp/blob/master/Apex/DataSource/ReadContext.cs | Github Open Source | Open Source | MIT | 2,018 | apexsharp | Fernando-Fernandez | C# | Code | 96 | 348 | namespace Apex.DataSource
{
using ApexSharp;
using ApexSharp.ApexAttributes;
using ApexSharp.Implementation;
using global::Apex.System;
/// <summary>
/// https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_class_DataSource_ReadContext.htm#apex_class_DataSource_ReadCont... | 23,392 |
https://github.com/Chigogo/-/blob/master/initiate_sql.php | Github Open Source | Open Source | MIT | null | - | Chigogo | PHP | Code | 738 | 2,850 | <?php
header('Content-Type: text/plain');
?>
drop database gjp_web;
create database gjp_web;
<?php
$user_agent = $_SERVER['HTTP_USER_AGENT'];
if(!strpos($user_agent, "Windows NT"))
echo <<<Mac
GRANT ALL ON test.* TO 'Chigogo'@'localhost' WITH GRANT OPTION;
Mac;
if(strpos($user_agent, "Windows NT"))
echo... | 863 |
https://github.com/AeronZhang/Image-to-Image-Translation/blob/master/3. CycleGAN/train.py | Github Open Source | Open Source | MIT | 2,021 | Image-to-Image-Translation | AeronZhang | Python | Code | 579 | 2,502 | import os
import numpy as np
from itertools import chain
import torch
import torch.nn as nn
import torch.backends.cudnn as cudnn
from config import *
from horse2zebra import get_horse2zebra_loader
from models import Discriminator, Generator
from utils import make_dirs, get_lr_scheduler, set_requires_grad, sample_imag... | 16,565 |
https://github.com/registsys/ka-table/blob/master/src/Demos/SearchDemo/SearchDemo.tsx | Github Open Source | Open Source | MIT | null | ka-table | registsys | TypeScript | Code | 239 | 614 | import React, { useState } from 'react';
import { ITableProps, kaReducer, Table } from '../../lib';
import { search } from '../../lib/actionCreators';
import { DataType } from '../../lib/enums';
import { DispatchFunc } from '../../lib/types';
const dataArray: any[] = [
{ id: 1, name: 'Mike Wazowski', score: 80, pas... | 49,648 |
https://github.com/zelohon/ExtremeCopy/blob/master/ExtremeCopy/DLL/Doc/DLLDemo/CPP/demo/demo.cpp | Github Open Source | Open Source | Apache-2.0 | 2,020 | ExtremeCopy | zelohon | C++ | Code | 307 | 1,169 | // demo.cpp : Defines the entry point for the console application.
//
#include <stdio.h>
#include <tchar.h>
#include "ExtremeCopy.h"
int __stdcall ExtremeCopyRoutine(int nCmd,void* pRoutineParam, int nParam1,int nParam2,const TCHAR* pSrcStr,const TCHAR* pDstStr) ;
int _tmain(int argc, _TCHAR* argv[])
{
ExtremeCopy_... | 17,329 |
https://github.com/MaximBalaganskiy/system-static-aurelia-loader-sample/blob/master/.gitignore | Github Open Source | Open Source | MIT | 2,017 | system-static-aurelia-loader-sample | MaximBalaganskiy | Ignore List | Code | 9 | 39 | # Dependency directories
node_modules
jspm_packages
dist/
typings
/src/**/*.js
/src/**/*.d.ts
| 32,709 |
https://github.com/golnazads/export_service/blob/master/exportsrv/formatter/bibTexFormat.py | Github Open Source | Open Source | MIT | 2,021 | export_service | golnazads | Python | Code | 2,049 | 7,005 | # -*- coding: utf-8 -*-
from collections import OrderedDict
from datetime import datetime
from flask import current_app
from textwrap import fill
import re
import json
from unidecode import unidecode
from exportsrv.formatter.ads import adsJournalFormat
from exportsrv.formatter.toLaTex import encode_laTex, encode_laTe... | 26,943 |
https://github.com/wbhob/spool-cart/blob/master/lib/validator/validateOrder.ts | Github Open Source | Open Source | MIT | 2,018 | spool-cart | wbhob | TypeScript | Code | 600 | 1,720 | import * as joi from 'joi'
import {
order,
update,
cancel,
pay,
refund,
retry,
authorize,
capture,
voidTransaction,
addItem,
addItems,
updateItem,
removeItem,
addShipping,
addTaxes,
removeShipping,
removeTaxes,
pricingOverrides,
send,
fulfill
} from '../schemas/order'
export co... | 4,987 |
https://github.com/tendermint/cosmos-ui/blob/master/src/Hero/Hero.stories.js | Github Open Source | Open Source | Apache-2.0 | 2,021 | cosmos-ui | tendermint | JavaScript | Code | 155 | 506 | import Hero from "./Hero.vue";
import GozHero from "./GozHero.vue";
import data from "./data"
import { text } from '@storybook/addon-knobs';
export default {
title: "Hero",
component: Hero
};
export const normal = () => ({
components: { Hero },
data: function () {
return {
data: data.hero
};
}... | 40,187 |
https://github.com/brahimmade/uaibus/blob/master/uaibus/csv_command.py | Github Open Source | Open Source | Apache-2.0 | 2,019 | uaibus | brahimmade | Python | Code | 176 | 599 | # -*- coding: utf-8 -*-
"""CSV log module."""
import csv
import datetime
import logging
import os
class CSVCommand:
"""CSV command that writes the combined data of passenger's (WiFi ProbeRequest and GPS data)
Attributes:
csvfile The CSV file
csvwriter A handler that can write to the cs... | 19,206 |
https://github.com/BarRescue/rsmod/blob/master/game/src/main/kotlin/org/rsmod/game/jackson/JacksonCoordinatesSerializer.kt | Github Open Source | Open Source | ISC, BSD-2-Clause | 2,023 | rsmod | BarRescue | Kotlin | Code | 32 | 182 | package org.rsmod.game.jackson
import com.fasterxml.jackson.core.JsonGenerator
import com.fasterxml.jackson.databind.SerializerProvider
import com.fasterxml.jackson.databind.ser.std.StdSerializer
import org.rsmod.game.map.Coordinates
public object JacksonCoordinatesSerializer : StdSerializer<Coordinates>(Coordinates:... | 54,341 |
https://github.com/niuxiaokui/webpack4demo/blob/master/build/config.js | Github Open Source | Open Source | MIT | 2,019 | webpack4demo | niuxiaokui | JavaScript | Code | 100 | 389 | module.exports = {
// 项目构建后存放的目录
buildDire: "dist",
// 资源目录
assetsPath: "assets/",
// 是否为统一模板 true:全部使用 src/index.html false: 使用pages/*/index.html
unifiedTemplate: false,
// 是否开启gzip压缩
gzip: true,
// 开发环境
host: "localhost",
port: "8080",
// 默认打开页
index: 'index.html',
// 代理
proxy: {
/... | 41,996 |
https://github.com/Accedian/bigmuddy-network-telemetry-pipeline/blob/master/vendor/github.com/cisco/bigmuddy-network-telemetry-proto/proto_go/cisco_ios_xr_ipv4_io_oper/ipv4_network/nodes/node/interface_data/vrfs/vrf/briefs/brief/a.go | Github Open Source | Open Source | Apache-2.0 | null | bigmuddy-network-telemetry-pipeline | Accedian | Go | Code | 8 | 111 |
//go:generate protoc --go_out=plugins=grpc:. ipv4_if_brief.proto
// Cisco-IOS-XR-ipv4-io-oper:ipv4-network/nodes/node/interface-data/vrfs/vrf/briefs/brief
package cisco_ios_xr_ipv4_io_oper_ipv4_network_nodes_node_interface_data_vrfs_vrf_briefs_brief
| 51,956 |
https://github.com/segabor/OSCCore/blob/master/Source/OSCCore/conversion/Bool+OSCConvertible.swift | Github Open Source | Open Source | MIT | 2,022 | OSCCore | segabor | Swift | Code | 58 | 150 | //
// Bool+OSCConvertible.swift
// OSCCorePackageDescription
//
// Created by Sebestyén Gábor on 2017. 12. 08..
//
import Foundation
extension Bool: OSCMessageArgument {
public var oscType: TypeTagValues {
return self == true ? .TRUE_TYPE_TAG : .FALSE_TYPE_TAG
}
public init?(data: ArraySlice<B... | 14,721 |
https://github.com/alexmozzhakov/vk_notifier_GUI/blob/master/src/main/kotlin/VkOnlineChecker.kt | Github Open Source | Open Source | MIT | 2,018 | vk_notifier_GUI | alexmozzhakov | Kotlin | Code | 108 | 366 | import com.github.salomonbrys.kotson.jsonObject
import com.github.salomonbrys.kotson.put
import java.text.SimpleDateFormat
import java.util.*
private val map = mutableMapOf<String, Boolean>()
private val platformOs = System.getProperty("os.name")
abstract class Checker {
abstract fun check()
}
class VkOnlineChec... | 13,640 |
https://github.com/peterparity/symder/blob/master/data/diff_source_2d.py | Github Open Source | Open Source | MIT | 2,022 | symder | peterparity | Python | Code | 355 | 1,141 | from jax import lax
import numpy as np
from numpy.fft import fftfreq, fft2, ifft2
from sklearn.preprocessing import StandardScaler
from .utils import solve_ETDRK4, generate_diff_kernels
__all__ = ["generate_dataset"]
def generate_dataset(
sys_size=64, mesh=64, dt=5e-2, tspan=None, num_der=2, seed=0, raw_sol=Fal... | 6,393 |
https://github.com/bpkgoud/pulumi-azure-native/blob/master/sdk/go/azure/documentdb/v20160331/databaseAccountGremlinGraph.go | Github Open Source | Open Source | BSD-3-Clause, Apache-2.0 | 2,021 | pulumi-azure-native | bpkgoud | Go | Code | 442 | 2,201 |
package v20160331
import (
"context"
"reflect"
"github.com/pkg/errors"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
type DatabaseAccountGremlinGraph struct {
pulumi.CustomResourceState
ConflictResolutionPolicy ConflictResolutionPolicyResponsePtrOutput `pulumi:"conflictResolutionPolicy"`
DefaultTtl ... | 54,888 |
https://github.com/apache/cassandra/blob/master/src/java/org/apache/cassandra/utils/RangesSerializer.java | Github Open Source | Open Source | Apache-2.0, MIT, CC0-1.0, BSD-3-Clause, LicenseRef-scancode-public-domain | 2,023 | cassandra | apache | Java | Code | 276 | 744 | /*
* 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 ... | 39,555 |
https://github.com/BrinsLee/LightMusic/blob/master/app/src/main/java/com/brins/lightmusic/ui/widget/BaseDialogFragment.kt | Github Open Source | Open Source | Apache-2.0 | 2,021 | LightMusic | BrinsLee | Kotlin | Code | 260 | 877 | package com.brins.lightmusic.ui.widget
import android.os.Build
import android.os.Bundle
import android.view.*
import androidx.fragment.app.DialogFragment
import androidx.fragment.app.FragmentManager
abstract class BaseDialogFragment : DialogFragment() {
val TAG = this.javaClass.simpleName
val DEFAULT_DIM_AMOU... | 8,641 |
https://github.com/husaynhakeem/Unconnectify-Re/blob/master/app/src/main/java/husaynhakeem/io/unconnectifyre/UnconnectifyApplication.kt | Github Open Source | Open Source | MIT | 2,020 | Unconnectify-Re | husaynhakeem | Kotlin | Code | 28 | 126 | package husaynhakeem.io.unconnectifyre
import android.app.Application
import husaynhakeem.io.unconnectifyre.di.appModule
import org.koin.android.ext.android.startKoin
class UnconnectifyApplication : Application() {
override fun onCreate() {
super.onCreate()
initKoin()
}
private fun init... | 5,533 |
https://github.com/amir-abdi/artisynth-rl/blob/master/src/python/artisynth_envs/envs/point2point_env.py | Github Open Source | Open Source | MIT | 2,021 | artisynth-rl | amir-abdi | Python | Code | 223 | 839 | import numpy as np
from common import constants as c
from common.config import setup_logger
from artisynth_envs.artisynth_base_env import ArtiSynthBase
logger = setup_logger()
class Point2PointEnv(ArtiSynthBase):
def __init__(self, goal_threshold, wait_action, reset_step, goal_reward, **kwargs):
super()... | 6,994 |
https://github.com/MicksITBlogs/PowerShell/blob/master/ApplicationVirusDetectionMethod.ps1 | Github Open Source | Open Source | MIT | 2,022 | PowerShell | MicksITBlogs | PowerShell | Code | 58 | 156 | $LastInfection = get-winevent -filterhashtable @{ logname = 'system'; ID = 1116 } -maxevents 1 -ErrorAction SilentlyContinue
$LastFullScan = get-winevent -filterhashtable @{ logname = 'system'; ID = 1118 } -maxevents 1 -ErrorAction SilentlyContinue
If (($LastFullScan.TimeCreated -lt $LastInfection.TimeCreated) -or ($L... | 28,231 |
https://github.com/JeffGrant274/readme-generator/blob/master/index.js | Github Open Source | Open Source | MIT | null | readme-generator | JeffGrant274 | JavaScript | Code | 226 | 555 | // TODO: Include packages needed for this application
const inquirer = require("inquirer");
const fs = require("fs");
// const utils = require('./utils');
// const writeFileAsync = utils.promisify(fs.writeFile);
const generatorMarkdown = require("./utils/generateMarkdown");
// TODO: Create an array of questions for ... | 57,212 |
https://github.com/josephemmanuel/ChirpyICal/blob/master/src/VTodo.php | Github Open Source | Open Source | MIT | null | ChirpyICal | josephemmanuel | PHP | Code | 394 | 1,211 | <?php
/**
* Created by PhpStorm.
* User: proteux
* Date: 1/10/17
* Time: 10:40 AM
* Author: iemarjay <emarjay921@gmail.com>
*/
namespace ChirpyICal;
use DateTime;
use BadMethodCallException;
class VTodo extends VEventAndTodo
{
/**
* This property defines the overall status or confirmation for the cal... | 14,580 |
https://github.com/Androniq/Dum/blob/master/src/routes/EditBlog/EditBlog.js | Github Open Source | Open Source | MIT | null | Dum | Androniq | JavaScript | Code | 48 | 141 | import React from 'react';
import PropTypes from 'prop-types';
import s from './EditBlog.css';
import cx from 'classnames';
import { Helmet } from 'react-helmet';
import withEverything from '../../withEverything';
class EditBlog extends React.Component
{
render()
{
return (
<div className="... | 30,244 |
https://github.com/lbaiao/sys-simulator-2/blob/master/sys_simulator/q_learning/environments/fixed_positions_environment.py | Github Open Source | Open Source | MIT | 2,020 | sys-simulator-2 | lbaiao | Python | Code | 436 | 1,552 | import sys
import os
lucas_path = os.environ['LUCAS_PATH']
sys.path.insert(1, lucas_path)
from devices.devices import base_station, mobile_user, d2d_user, d2d_node_type
from general import general as gen
from sinr.sinr import sinr_d2d, sinr_mue
from q_learning.agents.agent import Agent
from typing import List, Callabl... | 41,742 |
https://github.com/HCIELab/ColorMod/blob/master/Painting/ColorFab_2DPainting/PaintingUI.h | Github Open Source | Open Source | MIT | 2,020 | ColorMod | HCIELab | C | Code | 87 | 345 | #pragma once
#ifndef PAINTINGUI_H
#define PAINTINGUI_H
#include <QtWidgets/QMainWindow>
#include <QList>
#include <QMainWindow>
#include "ui_PaintingUI.h"
#include <iostream>
#include <string>
#include "PaintingImageAnalysis.h"
class PaintingArea;
class PaintingUI : public QMainWindow
{
Q_OBJECT
public:
Paintin... | 41,025 |
https://github.com/carmenvkrol/bloc3/blob/master/public/modules/articles/css/tags.less | Github Open Source | Open Source | MIT | null | bloc3 | carmenvkrol | Less | Code | 98 | 396 | @blue: #67BDEE;
@yellow: #FAF283;
.tag-edit-remove-list {
list-style: none;
padding-left: 0;
li {
margin-top: 10px;
margin-bottom: 10px;
margin-right: auto;
margin-left: auto;
width: 228px;
#tag {
width: 150px;
text-align: left;
}
.form-group.has-feedback.has-feedback-... | 302 |
https://github.com/tassinariz/Candle-Caverns/blob/master/Assets/Scenes/2 Level 1.unity | Github Open Source | Open Source | MIT | 2,018 | Candle-Caverns | tassinariz | Unity3D Asset | Code | 20,000 | 63,127 | %YAML 1.1 %TAG !u! tag:unity3d.com,2011: --- !u!29 &1 OcclusionCullingSettings: m_ObjectHideFlags: 0 serializedVersion: 2 m_OcclusionBakeSettings: smallestOccluder: 5 smallestHole: 0.25 backfaceThreshold: 100 m_SceneGUID: 00000000000000000000000000000000 m_OcclusionCullingData: {fileID: 0} --- !u!104 &2 RenderSettings:... | 5,521 |
https://github.com/salesforce/omakase/blob/master/src/main/java/com/salesforce/omakase/Suppliers.java | Github Open Source | Open Source | BSD-3-Clause | 2,023 | omakase | salesforce | Java | Code | 440 | 1,300 | /*
* Copyright (c) 2015, salesforce.com, inc.
* 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 cond... | 45,871 |
https://github.com/lucasmpavelski/flowshop-neh-based-heuristic-recommendation/blob/master/R/permutation_distances.R | Github Open Source | Open Source | MIT | 2,021 | flowshop-neh-based-heuristic-recommendation | lucasmpavelski | R | Code | 429 | 1,022 |
adjacencyDistance <- function(a, b) {
# number of times jobs i,j is adjacent in both a and b
n <- length(a)
d <- 0
for (i in 1:(n - 1)) {
p_ai <- which(b == a[i])[[1]]
if (p_ai < n) {
d <- d + (b[p_ai + 1] == a[i + 1])
}
}
max_dist <- n - 1
(max_dist - d) / max_dist
}
precedenceDistanc... | 35,171 |
https://github.com/home-assistant/hassbian-scripts/blob/master/package/opt/hassbian/helpers/suite/info | Github Open Source | Open Source | Apache-2.0 | 2,019 | hassbian-scripts | home-assistant | Shell | Code | 124 | 466 | #!bin/bash
# Helper script for hassbian-config.
declare suitename
function hassbian.suite.info.print {
# Show information about a suite.
# Usage example:
# hassbian.suite.info.print [suite]
# hassbian.suite.info.print duckdns
local author
local name
local long_description
local installed
suitename... | 25,680 |
https://github.com/TheFirstDeity/TangoXaml/blob/master/TangoXaml/Test/TangoTest.cs | Github Open Source | Open Source | MS-PL, LicenseRef-scancode-public-domain | 2,014 | TangoXaml | TheFirstDeity | C# | Code | 102 | 334 | using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Resources;
using System.Text;
using System.Threading.Tasks;
using Xunit;
using System.Windows.Media;
namespace TangoXaml
{
public class TangoTest
{
internal const string _Manifest... | 17,672 |
https://github.com/dotnet/AspNetDocs/blob/master/aspnet/aspnet/overview/developing-apps-with-windows-azure/building-real-world-cloud-apps-with-windows-azure/automate-everything/samples/sample3.ps1 | Github Open Source | Open Source | MIT, CC-BY-4.0 | 2,023 | AspNetDocs | dotnet | PowerShell | Code | 13 | 27 | # Create a new website
$website = New-AzureWebsite -Name $Name -Location $Location -Verbose | 953 |
https://github.com/khouloudS/RPA_Telecom_Drive_tests/blob/master/node_modules/@progress/kendo-react-popup/dist/npm/main.js | Github Open Source | Open Source | MIT | null | RPA_Telecom_Drive_tests | khouloudS | JavaScript | Code | 17 | 61 | "use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var Popup_1 = require("./Popup");
exports.Popup = Popup_1.default;
//# sourceMappingURL=main.js.map | 52,692 |
https://github.com/HBTU-Connect/App/blob/master/src/scss/pages/_feedsPage.scss | Github Open Source | Open Source | MIT | 2,020 | App | HBTU-Connect | SCSS | Code | 653 | 2,433 | .content-container{
&::-webkit-scrollbar {
width: 0px;
display: none;
visibility: hidden;
opacity: 0;
}
.post-wrapper{
margin: 2rem 0;
margin-top: 0;
width: 95%;
height: auto;
background: white;
box-sizing: border-box... | 27,389 |
https://github.com/joshuashum/browser-videoplayer/blob/master/index.js | Github Open Source | Open Source | CC0-1.0 | null | browser-videoplayer | joshuashum | JavaScript | Code | 19 | 88 | const fileElem = document.querySelector("input");
const videoElem = document.querySelector("video");
fileElem.addEventListener("change", function(){
videoElem.src = URL.createObjectURL(this.files[0]);
videoElem.onload = function(){
URL.revokeObjectURL(this.src);
}
}); | 45,464 |
https://github.com/undefinedfm/wordpress-heroku/blob/master/web/app/plugins/wp-job-manager-resumes/includes/class-wp-resume-manager-ajax.php | Github Open Source | Open Source | MIT | null | wordpress-heroku | undefinedfm | PHP | Code | 583 | 1,884 | <?php
/**
* File containing the WP_Resume_Manager_Ajax.
*
* @package wp-job-manager-resumes
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
/**
* WP_Resume_Manager_Ajax class.
*/
class WP_Resume_Manager_Ajax {
/**
* Constructor
*/
public function __construct() {
add_action( 'wp_ajax_nopriv_resume_manager_g... | 21,069 |
https://github.com/liho98/genal-chat/blob/master/genal-chat-client/src/api/apis/modules/user.ts | Github Open Source | Open Source | MIT | 2,022 | genal-chat | liho98 | TypeScript | Code | 109 | 325 | import fetch from '@/api/fetch';
/**
* 更新用户名
* @param params
*/
export const patchUserName = (params: User) => {
return fetch.patch(`/user/username`, {
...params,
});
};
/**
* 更新用户密码
* @param user
* @param password
*
*/
export const patchPassword = (user: User, password: string) => {
return fetch.pa... | 42,233 |
https://github.com/Evil1991/bitrixdock/blob/master/www/html/bitrix/tools/catalog/generate_coupon.php | Github Open Source | Open Source | MIT | 2,020 | bitrixdock | Evil1991 | PHP | Code | 1 | 32 | <?require($_SERVER['DOCUMENT_ROOT'].'/bitrix/modules/catalog/tools/generate_coupon.php');?> | 30,010 |
https://github.com/FabioBo/scsf20xx/blob/master/Guidance Packages/SmartClientFactory/SmartClientFactoryPackage/CustomWizardPages/CreateDSA/EndpointPage/IEndpointPage.cs | Github Open Source | Open Source | MS-PL | 2,022 | scsf20xx | FabioBo | C# | Code | 250 | 653 | //===============================================================================
// Microsoft patterns & practices
// Smart Client Software Factory 2010
//===============================================================================
// Copyright (c) Microsoft Corporation. All rights reserved.
// THIS CODE AND INFOR... | 35,496 |
https://github.com/srivas91/php-class/blob/master/web-app/StudManagement/addstud.php | Github Open Source | Open Source | MIT | 2,021 | php-class | srivas91 | PHP | Code | 37 | 159 | <?php
include('dataconnect.php');
$stuid=$_POST['stuid'];
echo $stuid;
$stuname=$_POST['stuname'];
echo $stuname;
$course=$_POST['course'];
echo $course;
$mobile=$_POST['mobile'];
echo $mobile;
$stmt = $con->prepare("INSERT INTO student (stuid, stuname,course,mobile) VALUES (?, ?, ?,?)");
$stmt->bind_param("isss", $... | 9,867 |
https://github.com/Asncodes-80/HamraheAvval_Smart_Parking/blob/master/payausers/lib/Screens/forget_password.dart | Github Open Source | Open Source | MIT | null | HamraheAvval_Smart_Parking | Asncodes-80 | Dart | Code | 250 | 1,103 | import 'package:flutter/material.dart';
import 'package:payausers/Model/api_access.dart';
import 'package:payausers/ConstFiles/initialConst.dart';
import 'package:lottie/lottie.dart';
import 'package:payausers/ExtractedWidgets/bottom_btn_navigator.dart';
import 'package:payausers/ExtractedWidgets/text_field_controller.... | 46,525 |
https://github.com/Artu1000/una.app/blob/master/resources/views/pages/front/leading-team.blade.php | Github Open Source | Open Source | MIT | 2,015 | una.app | Artu1000 | PHP | Code | 250 | 1,103 | @extends('templates.front.full_layout')
@section('content')
{{-- top background img --}}
{{--@if($background_image)--}}
{{--<div class="top_background_image row">--}}
{{--<div class="background_responsive_img fill" data-background-image="{{ ImageManager::imagePath(config('image.news.public... | 12,486 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.