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/aneoconsulting/aws-htc-grid/blob/master/examples/workloads/c++/mock_computation/Makefile | Github Open Source | Open Source | Apache-2.0 | 2,021 | aws-htc-grid | aneoconsulting | Makefile | Code | 77 | 282 | # Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
# Licensed under the Apache License, Version 2.0 https://aws.amazon.com/apache-2-0/
export TAG=mainline
BUCKET_NAME=
#BUCKET_NAME=$(shell aws cloudformation describe-stacks --stack-name $(TAG) --region $(REG... | 6,237 |
https://github.com/linnilbobo/iolib/blob/master/iolib.conf.asd | Github Open Source | Open Source | MIT | 2,022 | iolib | linnilbobo | Common Lisp | Code | 38 | 173 | ;;;; -*- Mode: Lisp; indent-tabs-mode: nil -*-
(defsystem :iolib.conf
:description "Compile-time configuration for IOLib."
:author "Stelian Ionescu <sionescu@cddr.org>"
:licence "MIT"
:version (:read-file-form "version.sexp")
:defsystem-depends-on (:iolib.asdf)
:around-compile "iolib/asdf:compile-wrapper"
... | 49,288 |
https://github.com/dune-universe/dune-universe/blob/master/packages/wikitext.3.0.1/src/wktxt_mapper.ml | Github Open Source | Open Source | MIT | 2,021 | dune-universe | dune-universe | OCaml | Code | 1,160 | 2,261 | (**
{!mapper} allows to implement AST rewriting using open recursion.
A typical mapper would be based on {!default_mapper}, a deep
identity mapper, and will fall back on it for handling the syntax it
does not modify.
*)
open Wktxt_type
type mapper =
{ document : mapper -> document -> document
; block ... | 15,245 |
https://github.com/ashkankamyab/DevOps-Python-tools/blob/master/tests/test_getent.sh | Github Open Source | Open Source | MIT | 2,022 | DevOps-Python-tools | ashkankamyab | Shell | Code | 194 | 529 | #!/usr/bin/env bash
# vim:ts=4:sts=4:sw=4:et
#
# Author: Hari Sekhon
# Date: 2016-11-20 15:35:37 +0000 (Sun, 20 Nov 2016)
#
# https://github.com/HariSekhon/DevOps-Python-tools
#
# License: see accompanying Hari Sekhon LICENSE file
#
# If you're using my code you're welcome to connect with me on LinkedIn and optio... | 34,503 |
https://github.com/sgholamian/log-aware-clone-detection/blob/master/NLPCCd/Hadoop/130_2.java | Github Open Source | Open Source | MIT | 2,021 | log-aware-clone-detection | sgholamian | Java | Code | 34 | 121 | //,temp,sample_914.java,2,14,temp,sample_7041.java,2,13
//,3
public class xxx {
public void stop() throws IOException {
rollEditsRpcExecutor.shutdown();
tailerThread.setShouldRun(false);
tailerThread.interrupt();
try {
tailerThread.join();
} catch (InterruptedException e) {
log.info("edit log tailer thread exited wit... | 44,525 |
https://github.com/Dog2puppy/stat.ink/blob/master/components/widgets/ActiveRelativeTimeWidget.php | Github Open Source | Open Source | BSD-3-Clause, MIT | 2,022 | stat.ink | Dog2puppy | PHP | Code | 521 | 1,766 | <?php
/**
* @copyright Copyright (C) 2017 AIZAWA Hina
* @license https://github.com/fetus-hina/stat.ink/blob/master/LICENSE MIT
* @author AIZAWA Hina <hina@fetus.jp>
*/
namespace app\components\widgets;
use Yii;
use app\assets\ActiveReltimeAsset;
use yii\base\Widget;
use yii\helpers\Html;
use yii\helpers\Json;
u... | 10,391 |
https://github.com/getupcloud/origin-server/blob/master/port-proxy/systemd/openshift-port-proxy.service | Github Open Source | Open Source | Apache-2.0 | 2,015 | origin-server | getupcloud | null | Spoken | 15 | 89 | [Unit]
Description=OpenShift Port Proxy
After=syslog.target network.target remote-fs.target nss-lookup.target
[Service]
ExecStart=/usr/sbin/openshift-port-proxy
ExecReload=/bin/kill -USR2 $MAINPID
[Install]
WantedBy=multi-user.target
| 39,736 |
https://github.com/Mosab97/Edu-app/blob/master/app/Http/Controllers/Api/v1/Student/CourseController.php | Github Open Source | Open Source | MIT | null | Edu-app | Mosab97 | PHP | Code | 25 | 109 | <?php
namespace App\Http\Controllers\Api\v1\Student;
use App\Http\Controllers\Controller;
use App\Http\Resources\Api\v1\Student\CourseResource;
use App\Models\Course;
use Illuminate\Http\Request;
class CourseController extends Controller
{
public function courses(Request $request)
{
return apiSuccess... | 26,541 |
https://github.com/goutamdh/daffodil/blob/master/libs/cart/src/drivers/magento/models/responses/get-selected-shipping-method.ts | Github Open Source | Open Source | MIT | 2,020 | daffodil | goutamdh | TypeScript | Code | 19 | 74 | import { MagentoCartShippingMethod } from '../outputs/cart-shipping-method';
export interface MagentoGetSelectedShippingMethodResponse {
cart: {
shipping_addresses: {
selected_shipping_method: MagentoCartShippingMethod;
}[];
};
}
| 20,051 |
https://github.com/xianggenb/Android-Studio-Health-Monitor-App/blob/master/code/UserProfile/app/src/main/java/com/example/xingxiang25/userprofile/MY_PROFILE.java | Github Open Source | Open Source | MIT | null | Android-Studio-Health-Monitor-App | xianggenb | Java | Code | 284 | 1,267 | package com.example.xingxiang25.userprofile;
import android.os.AsyncTask;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.widget.EditText;
import android.widget.TextView;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import java.io.Buf... | 44,620 |
https://github.com/frydsh/GA/blob/master/src/com/google/analytics/tracking/android/TrackerHandler.java | Github Open Source | Open Source | Apache-2.0 | 2,014 | GA | frydsh | Java | Code | 20 | 64 | package com.google.analytics.tracking.android;
import java.util.Map;
abstract interface TrackerHandler {
public abstract void closeTracker(Tracker tracker);
public abstract void sendHit(Map<String, String> hits);
} | 53,403 |
https://github.com/guyrt/routefinder/blob/master/src/RouteFinder/TripProcessor/PointComparer.cs | Github Open Source | Open Source | MIT | null | routefinder | guyrt | C# | Code | 162 | 460 | using System;
using System.Collections.Generic;
using GlobalSettings;
using RouteCleaner;
using RouteFinderDataModel.Proto;
using TripProcessor.GpxData;
namespace TripProcessor
{
public class PointComparer
{
private RunnableWayCache RunnableWayCache { get; init; }
public PointComparer(Runnabl... | 37,526 |
https://github.com/tomahim/space-3d/blob/master/src/util.js | Github Open Source | Open Source | Unlicense | 2,022 | space-3d | tomahim | JavaScript | Code | 50 | 166 | // jshint -W097
// jshint undef: true, unused: true
/* globals require,__dirname,module*/
"use strict";
var fs = require("fs");
var webgl = require("./webgl.js");
module.exports.loadProgram = function(gl, source) {
var noise4d = fs.readFileSync(__dirname + "/glsl/classic-noise-4d.snip");
source = source.repl... | 33,875 |
https://github.com/arinc9/Procursus/blob/master/makefiles/openssh.mk | Github Open Source | Open Source | 0BSD | null | Procursus | arinc9 | Makefile | Code | 310 | 2,592 | ifneq ($(PROCURSUS),1)
$(error Use the main Makefile)
endif
ifeq (,$(findstring darwin,$(MEMO_TARGET)))
ifeq ($(SSH_STRAP),1)
STRAPPROJECTS += openssh
else # ($(SSH_STRAP),1)
SUBPROJECTS += openssh
endif # ($(SSH_STRAP),1)
else # ($(MEMO_TARGET),darwin-\*)
SUBPROJECTS += openssh
endif
OPENSSH_VERSION := 8.6p... | 49,928 |
https://github.com/webosose/chromium91/blob/master/src/media/gpu/webos/BUILD.gn | Github Open Source | Open Source | BSD-3-Clause | 2,022 | chromium91 | webosose | null | Spoken | 171 | 713 | # Copyright 2022 LG Electronics, 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 agreed to in writ... | 25,752 |
https://github.com/joshlevy89/VotingApp/blob/master/app/src/containers/NewPollScreen.js | Github Open Source | Open Source | MIT | 2,016 | VotingApp | joshlevy89 | JavaScript | Code | 262 | 857 | import React, { Component } from 'react';
import { connect } from 'react-redux';
import { browserHistory, Link } from 'react-router'
import { tryAddPoll } from '../actions'
import OptionInput from '../components/OptionInput'
import { Button } from 'react-bootstrap';
require('../../styles/index.scss');
class VoteScree... | 6,167 |
https://github.com/ahsan-a/groundBeefMC/blob/master/src/main/java/com/ahsan/groundBeefMc/GroundBeefMc.java | Github Open Source | Open Source | MIT | 2,021 | groundBeefMC | ahsan-a | Java | Code | 93 | 552 | package com.ahsan.groundBeefMc;
import com.ahsan.groundBeefMc.registry.ModBlocks;
import com.ahsan.groundBeefMc.registry.ModItems;
import net.fabricmc.api.ModInitializer;
import net.fabricmc.fabric.api.biome.v1.BiomeModifications;
import net.fabricmc.fabric.api.biome.v1.BiomeSelectors;
import net.minecraft.util.Identi... | 30,864 |
https://github.com/wuzirui/CompilersLab/blob/master/lab2/05_llvm_ast/AST-5c3800.dot | Github Open Source | Open Source | MIT | null | CompilersLab | wuzirui | Graphviz (DOT) | Code | 56 | 531 | digraph unnamed {
Node0x55ad1bf5ffe0 [shape=record,label="{CompoundStmt}"];
Node0x55ad1bf5ffe0 -> Node0x55ad1bf5ff90;
Node0x55ad1bf5ffe0 -> Node0x55ad1bf5ffd0;
Node0x55ad1bf5ff90 [shape=record,label="{IfStmt}"];
Node0x55ad1bf5ff90 -> Node0x55ad1bf5ff40;
Node0x55ad1bf5ff90 -> Node0x55ad1bf5ff80;
Node0x55ad1bf5ff... | 297 |
https://github.com/r0613973/SenseIT/blob/master/resources/sass/@material/theme/_index.scss | Github Open Source | Open Source | MIT | 2,021 | SenseIT | r0613973 | SCSS | Code | 25 | 118 | @forward 'theme-color' show
$background,
$error,
$primary,
$on-error,
$on-primary,
$on-secondary,
$on-surface,
$secondary,
$surface,
accessible-ink-color,
contrast,
contrast-tone,
luminance,
text-emphasis,
tone;
@forward 'theme' show core-styles, property;
@forward 'color-palette';
| 11,287 |
https://github.com/DevExpress/testcafe/blob/master/src/native-automation/session-storage/index.ts | Github Open Source | Open Source | MIT, LicenseRef-scancode-unknown-license-reference | 2,023 | testcafe | DevExpress | TypeScript | Code | 165 | 636 | import { ProtocolApi } from 'chrome-remote-interface';
import Protocol from 'devtools-protocol';
import NativeAutomationApiBase from '../api-base';
import BindingCalledEvent = Protocol.Runtime.BindingCalledEvent;
import AsyncEventEmitter from '../../utils/async-event-emitter';
import Emittery from 'emittery';
import Me... | 34,582 |
https://github.com/eps0003/Hunter3D/blob/master/Hunter3D/BoundingShapes/IBounds.as | Github Open Source | Open Source | MIT | 2,021 | Hunter3D | eps0003 | null | Spoken | 44 | 173 | #include "AABB.as"
#include "Cylinder.as"
shared interface IBounds
{
bool intersectsAABB(Vec3f thisPos, AABB other, Vec3f otherPos);
bool intersectsCylinder(Vec3f thisPos, Cylinder other, Vec3f otherPos);
bool intersectsSolid(Vec3f worldPos);
bool intersectsNewSolid(Vec3f currentPos, Vec3f worldPos);
bool interse... | 32,832 |
https://github.com/kcm0147/SmartFactory/blob/master/Client/src/hoc/auth.js | Github Open Source | Open Source | MIT | 2,020 | SmartFactory | kcm0147 | JavaScript | Code | 110 | 367 | import React, { useEffect } from 'react';
import { useDispatch } from 'react-redux';
import { auth } from '../_actions/user_action';
export default function (SpecificComponent, option, adminRoute = null) {
//null => 아무나 출입이 가능한 페이지
//true => 로그인한 유저만 출입이 가능한 페이지
//false => 로그인한 유저는 출입 불가능한 페이지
... | 37,769 |
https://github.com/59de44955ebd/QMediaTool/blob/master/taskmanager.py | Github Open Source | Open Source | MIT | null | QMediaTool | 59de44955ebd | Python | Code | 364 | 1,647 | """
QMediaTool - task manager
"""
import os
from PyQt5.QtCore import *
from PyQt5.QtGui import *
from PyQt5.QtWidgets import *
from PyQt5 import uic
from const import RES_DIR
from myprocess import MyProcess
class TaskManager(QWidget):
statusMessage = pyqtSignal(str)
outputMessage = pyqtSignal(str)
outp... | 41,504 |
https://github.com/otus-kuber-2019-06/SergeSpinoza_platform/blob/master/kubernetes-vault/vault-guides/operations/provision-vault/kubernetes/minikube/Makefile | Github Open Source | Open Source | MIT | 2,019 | SergeSpinoza_platform | otus-kuber-2019-06 | Makefile | Code | 109 | 333 | all: cleanup build
quickstart: deps cleanup build config validate
deps:
@echo ""
@echo "*********************************************************"
@echo "***** Checking the system for required software ... *****"
@echo "*********************************************************"
./deps.sh
cleanup:
@echo ""
@ec... | 48,568 |
https://github.com/Pantnkrator/BackTrack/blob/master/Assets/Tiled2Unity/Prefabs/SeleccionNivel.prefab | Github Open Source | Open Source | MIT | 2,017 | BackTrack | Pantnkrator | Unity3D Asset | Code | 3,095 | 13,530 | %YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1001 &100100000
Prefab:
m_ObjectHideFlags: 1
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 0}
m_Modifications: []
m_RemovedComponents: []
m_ParentPrefab: {fileID: 0}
m_RootGameObject: {fileID: 1773396368962576}
m_IsPrefabParent: ... | 31,915 |
https://github.com/knopkem/dicom-dimse-native/blob/master/dcmdata/libsrc/dcstack.cc | Github Open Source | Open Source | MIT | 2,023 | dicom-dimse-native | knopkem | C++ | Code | 529 | 1,671 | /*
*
* Copyright (C) 1994-2010, OFFIS e.V.
* All rights reserved. See COPYRIGHT file for details.
*
* This software and supporting documentation were developed by
*
* OFFIS e.V.
* R&D Division Health
* Escherweg 2
* D-26121 Oldenburg, Germany
*
*
* Module: dcmdata
*
* Author: Gerd Ehl... | 15,921 |
https://github.com/tokenly/counterparty-sender/blob/master/src/Tokenly/CounterpartySender/Provider/CounterpartySenderServiceProvider.php | Github Open Source | Open Source | MIT | 2,015 | counterparty-sender | tokenly | PHP | Code | 120 | 601 | <?php
namespace Tokenly\CounterpartySender\Provider;
use Exception;
use Illuminate\Support\Facades\Config;
use Illuminate\Support\ServiceProvider;
use Nbobtc\Bitcoind\Bitcoind;
use Nbobtc\Bitcoind\Client;
use Tokenly\CounterpartySender\CounterpartySender;
/*
* CounterpartySenderServiceProvider
*/
class CounterpartyS... | 7,865 |
https://github.com/Rohit484/Distribution/blob/master/a/aws-sdk/src/main/scala/typings/awsSdk/rdsMod/RegisterDBProxyTargetsRequest.scala | Github Open Source | Open Source | MIT | 2,020 | Distribution | Rohit484 | Scala | Code | 216 | 874 | package typings.awsSdk.rdsMod
import scala.scalajs.js
import scala.scalajs.js.`|`
import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess}
@js.native
trait RegisterDBProxyTargetsRequest extends js.Object {
/**
* One or more DB cluster identifiers.
*/
var DBCluster... | 10,518 |
https://github.com/EOSTribe/productlogger-mobile-app/blob/master/app/screens/AddProduct/index.js | Github Open Source | Open Source | Apache-2.0 | 2,020 | productlogger-mobile-app | EOSTribe | JavaScript | Code | 8 | 16 | export { default as AddProductScreen } from './AddProductScreen';
| 18,055 |
https://github.com/Humhu/argus/blob/master/camplex/nodes/checkerboard_detector_node.cpp | Github Open Source | Open Source | AFL-3.0 | 2,021 | argus | Humhu | C++ | Code | 339 | 1,413 | #include <ros/ros.h>
#include <image_transport/image_transport.h>
#include <cv_bridge/cv_bridge.h>
#include <opencv2/calib3d/calib3d.hpp>
#include "camplex/FiducialCommon.h"
#include "argus_utils/utils/ParamUtils.h"
#include "argus_utils/synchronization/ThreadsafeQueue.hpp"
#include "argus_msgs/ImageFiducialDetectio... | 53,215 |
https://github.com/Dsanniu/agileway/blob/master/agileway-spring/src/main/java/com/jn/agileway/spring/web/rest/GlobalSpringRestResponseBodyHandler.java | Github Open Source | Open Source | Apache-2.0 | 2,021 | agileway | Dsanniu | Java | Code | 355 | 1,408 | package com.jn.agileway.spring.web.rest;
import com.jn.agileway.web.rest.*;
import com.jn.easyjson.core.JSONFactory;
import com.jn.langx.http.rest.RestRespBody;
import com.jn.langx.util.io.Charsets;
import com.jn.langx.util.reflect.Reflects;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springfra... | 8,395 |
https://github.com/Futuremappermydud/Naluluna-Modifier-Quest/blob/master/include/codegen/include/System/Threading/IAsyncLocal.hpp | Github Open Source | Open Source | MIT | 2,021 | Naluluna-Modifier-Quest | Futuremappermydud | C++ | Code | 80 | 262 | // Autogenerated from CppHeaderCreator on 7/27/2020 3:09:45 PM
// Created by Sc2ad
// =========================================================================
#pragma once
#pragma pack(push, 8)
// Begin includes
#include "utils/typedefs.h"
#include "utils/il2cpp-utils.hpp"
// Completed includes
// Begin forward declar... | 8,136 |
https://github.com/Roman-Klinetskyi/administrator-page/blob/master/bin/runners/seeders/country.js | Github Open Source | Open Source | MIT | null | administrator-page | Roman-Klinetskyi | JavaScript | Code | 195 | 694 | // Подключаем модель Country
const Country = require('models/country');
const init = () => new Promise((resolve, reject) => {
// Просим БД, чтобы она нам вернула общее количество Документов в
// Коллекции Country
// Источник: https://mongoosejs.com/docs/api.html#model_Model.countDocuments
Country.count... | 19,996 |
https://github.com/ifleeyo180/moodle1/blob/master/moodledata/lang/zh_tw/gradingform_checklist.php | Github Open Source | Open Source | Apache-2.0 | null | moodle1 | ifleeyo180 | PHP | Code | 345 | 1,907 | <?php
// This file is part of Moodle - https://moodle.org/
//
// Moodle 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, or
// (at your option) any later version.
//
// Moodle... | 2,167 |
https://github.com/CrackerCat/thanos/blob/master/thanos-java/thanos-services/src/main/java/com/virjar/thanos/entity/ThanosTaskBlob.java | Github Open Source | Open Source | Apache-2.0 | 2,020 | thanos | CrackerCat | Java | Code | 81 | 458 | package com.virjar.thanos.entity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serializable;
/**
* <p>
* 爬虫任务的数据区域,由于数据内容会比较大。所以单独抽离出来,避免任务调度的时候影响性能
* </p>
*
* @author virar
* @since 2020-10-28
*/
@D... | 13,651 |
https://github.com/ice-leng/api-docs/blob/master/tests/Response/Activity.php | Github Open Source | Open Source | MIT | 2,022 | api-docs | ice-leng | PHP | Code | 14 | 51 | <?php
declare(strict_types=1);
namespace HyperfTest\ApiDocs\Response;
class Activity
{
public string $id;
public string $activityName;
}
| 20,351 |
https://github.com/aliyun-UED/aliyun-sdk-js/blob/master/samples/cms/cms.js | Github Open Source | Open Source | Apache-2.0 | 2,023 | aliyun-sdk-js | aliyun-UED | JavaScript | Code | 23 | 110 | var ALY = require('../../../');
var cms = new ALY.CMS({
"accessKeyId": "在阿里云官网申请的 accessKeyId",
"secretAccessKey": "在阿里云官网申请的 secretAccessKey",
endpoint: 'http://metrics.aliyuncs.com',
apiVersion: '2015-10-20'
});
module.exports = cms; | 41,317 |
https://github.com/noyahoch/Marabou/blob/master/NNet/utils/readNNet.py | Github Open Source | Open Source | BSD-3-Clause | 2,022 | Marabou | noyahoch | Python | Code | 254 | 767 | import numpy as np
def readNNet(nnetFile, withNorm=False):
'''
Read a .nnet file and return list of weight matrices and bias vectors
Inputs:
nnetFile: (string) .nnet file to read
withNorm: (bool) If true, return normalization parameters
Returns:
weights: List of ... | 11,409 |
https://github.com/clobber/MAME-OS-X/blob/master/mame/src/emu/video/sed1330.h | Github Open Source | Open Source | MIT | 2,021 | MAME-OS-X | clobber | C | Code | 472 | 1,342 | /**********************************************************************
Seiko-Epson SED1330 LCD Controller emulation
Copyright MESS Team.
Visit http://mamedev.org for licensing and usage restrictions.
**********************************************************************/
#pragma once
#ifndef __SED1330... | 12,387 |
https://github.com/asdlei99/SSSR/blob/master/3rdparty/FlyCube/src/Apps/Indirect/CMakeLists.txt | Github Open Source | Open Source | MIT | 2,021 | SSSR | asdlei99 | CMake | Code | 105 | 603 | set(target Indirect)
set(include_path "${CMAKE_CURRENT_SOURCE_DIR}")
set(source_path "${CMAKE_CURRENT_SOURCE_DIR}")
set(shaders_path "${assets_path}/shaders/Triangle")
set(sources
${source_path}/main.cpp
)
set(pixel_shaders
${shaders_path}/PixelShader.hlsl
)
set(vertex_shaders
${shaders_path}/VertexShad... | 51,519 |
https://github.com/tama-go/assert/blob/master/Makefile | Github Open Source | Open Source | MIT | 2,020 | assert | tama-go | Makefile | Code | 22 | 56 | .PHONY: build
build:
go build -v -i
.PHONY: test
test:
go test -v ./...
.PHONY: tags
tags:
gotags -f tags -R .
| 6,858 |
https://github.com/conrad-kronos/zeus/blob/master/webapp/components/Icon.jsx | Github Open Source | Open Source | Apache-2.0 | 2,021 | zeus | conrad-kronos | null | Spoken | 30 | 86 | import styled from '@emotion/styled';
export default styled.div(
{
display: 'inline-block',
verticalAlign: 'text-top',
width: 16,
height: 16,
fontSize: 16
},
props => ({
marginRight: props.mr ? 5 : 0
})
);
| 2,439 |
https://github.com/mrnettek/VBScript0/blob/master/VBScript1/Add the Last-Saved Date to the Footer of a Microsoft Word Document.vbs | Github Open Source | Open Source | MIT | 2,021 | VBScript0 | mrnettek | Visual Basic | Code | 30 | 126 | Const wdFieldSaveDate = 22
Const wdAlignParagraphCenter = 1
Set objWord = CreateObject("Word.Application")
objWord.Visible = True
Set objDoc = objWord.Documents.Add()
Set objRange = objDoc.Sections(1).Footers(1).Range
objDoc.Fields.Add objRange, wdFieldSaveDate
objRange.ParagraphFormat.Alignment = wdAlignParagraphC... | 1,855 |
https://github.com/bfontaine/meuh-cli/blob/master/tests/query_tests.rb | Github Open Source | Open Source | MIT | null | meuh-cli | bfontaine | Ruby | Code | 122 | 852 | # -*- coding: UTF-8 -*-
require File.dirname(__FILE__) + '/fake_responses'
class Meuh_query_test < Test::Unit::TestCase
def setup
@url = Meuh.url
end
def test_keys
t = Meuh.tracks
assert(t.has_key?(:previous))
assert(t.has_key?(:current))
assert(t.has_key?(:next))
end
def test_next_t... | 5,232 |
https://github.com/icevision/annotations/blob/master/2018-02-07_1349_right/012879.tsv | Github Open Source | Open Source | CC-BY-4.0, LicenseRef-scancode-unknown-license-reference | 2,019 | annotations | icevision | TSV | Code | 22 | 60 | class xtl ytl xbr ybr temporary occluded data
3.1 964 960 981 978 false false
4.3 1667 876 1731 942 false false | 9,080 |
https://github.com/sergev/vak-opensource/blob/master/utilities/mildis/Makefile | Github Open Source | Open Source | Apache-2.0 | 2,022 | vak-opensource | sergev | Makefile | Code | 39 | 143 | CFLAGS = -Wall -g -O
INSTDIR = /usr/local
OBJS = main.o disassembler.o
PROG = mildis
all: $(PROG)
$(PROG): $(OBJS)
$(CC) $(LDFLAGS) $(OBJS) -o $@
clean:
rm -f *.[ob] *~ a.out *.core $(PROG)
install: $(PROG)
install -c -s $(PROG) $(INSTDIR)/bin/$(PROG)
| 30,398 |
https://github.com/kevindubuche/urbater/blob/master/resources/js/actions/commentActions.js | Github Open Source | Open Source | MIT | null | urbater | kevindubuche | JavaScript | Code | 152 | 419 | import { NEW_COMMENT, FETCH_COMMENTS, CLEAR_NEW_COMMENT, DELETE_COMMENT, API_COMMENT} from './types';
import axios from 'axios';
//cette fonction ajoute un nouveau commentaire au database et update l'etat du store
export const createComment = commentData => dispatch => {
console.log(commentData)
axio... | 25,835 |
https://github.com/josealvis/personal-website/blob/master/src/components/RecentlyReadingSection.vue | Github Open Source | Open Source | MIT | null | personal-website | josealvis | Vue | Code | 118 | 444 | <template>
<section id="readings" class="section readings-section">
<div class="center-box-container">
<h1 class="--centered">What I am reading now</h1>
<div class="container-books-display">
<div class="imag-box">
<a
href="https://eloquentjavascript.net/"
alt=... | 44,947 |
https://github.com/houssemDevs/msdn-code-gallery-community-0-9-non-alphabetic/blob/master/一个简单的网页分析实例(以淘宝购物网页为例)/[C#]-一个简单的网页分析实例(以淘宝购物网页为例)/C#/TBAuction/AuctionOperations.cs | Github Open Source | Open Source | Apache-2.0 | 2,019 | msdn-code-gallery-community-0-9-non-alphabetic | houssemDevs | C# | Code | 1,030 | 5,410 | using System.Text;
using System.Net;
using System.IO;
using System.IO.Compression;
using System.Text.RegularExpressions;
using System;
using System.Windows.Forms;
namespace TBAuction
{
class AuctionOperations
{
AuctionLog auctionLog;
//类初始化
public AuctionOperations(AuctionLo... | 21,524 |
https://github.com/mateoflorido/Vaccines-COVID19/blob/master/.gitignore | Github Open Source | Open Source | MIT | 2,021 | Vaccines-COVID19 | mateoflorido | Ignore List | Code | 10 | 117 | /src/EPSLoadRMI/.idea/
/src/EPSClient/.idea/
/src/EPSClient/EPSClient.iml
/src/EPSClient/target/
/src/ServerLoadBalancer/.idea/
/src/ServerLoadBalancer/ServerLoadBalancer.iml
/src/ServerLoadBalancer/target/
/src/EPSLoadRMI/EPSLoadRMI.iml
*.iml
src/DistributionCenterRMI/.idea/
| 13,871 |
https://github.com/Ankita1987/APO/blob/master/src/app/views/Admin/ViewNIT.ts | Github Open Source | Open Source | MIT | null | APO | Ankita1987 | TypeScript | Code | 62 | 289 | import { Component, OnInit } from '@angular/core';
import {LoginService} from '../../../services/login.service';
import {RFPNITService} from '../../../services/RFPNIT.service';
import {AuthService} from '../../../services/auth.service';
import { ActivatedRoute ,Router } from '@angular/router';
@Component({
templat... | 22,601 |
https://github.com/AlaaAlShammaa/TMDB-MVVM/blob/master/entity/src/test/java/com/alaashammaa/entity/LocalDatabase.kt | Github Open Source | Open Source | Apache-2.0 | 2,020 | TMDB-MVVM | AlaaAlShammaa | Kotlin | Code | 48 | 225 | package com.alaashammaa.entity
import androidx.room.Room
import androidx.test.core.app.ApplicationProvider.getApplicationContext
import com.alaashammaa.entity.database.AppDatabase
import org.junit.After
import org.junit.Before
import org.junit.runner.RunWith
import org.robolectric.RobolectricTestRunner
import org.robo... | 50,301 |
https://github.com/n0x00/beef/blob/master/modules/persistence/man_in_the_browser/command.js | Github Open Source | Open Source | Apache-2.0 | 2,015 | beef | n0x00 | JavaScript | Code | 140 | 346 | //
// Copyright 2012 Wade Alcorn wade@bindshell.net
//
// 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 ... | 16,734 |
https://github.com/kariem2k/playir/blob/master/html5/web/js/app/multi/SceneMultiUILogin.js | Github Open Source | Open Source | Apache-2.0 | 2,013 | playir | kariem2k | JavaScript | Code | 265 | 837 | /*-----------------------------------------------------------
* http://softwareispoetry.com
*-----------------------------------------------------------
* This software is distributed under the Apache 2.0 license.
*-----------------------------------------------------------
* File Name : SceneMultiUILogin.js
* ... | 6,226 |
https://github.com/chopeen/dataverse/blob/master/dataverse-webapp/src/test/java/edu/harvard/iq/dataverse/bannersandmessages/banners/dto/BannerMapperTest.java | Github Open Source | Open Source | Apache-2.0 | null | dataverse | chopeen | Java | Code | 301 | 2,104 | package edu.harvard.iq.dataverse.bannersandmessages.banners.dto;
import com.google.common.collect.ImmutableMap;
import com.google.common.collect.Lists;
import edu.harvard.iq.dataverse.bannersandmessages.banners.BannerLimits;
import edu.harvard.iq.dataverse.persistence.dataverse.Dataverse;
import edu.harvard.iq.dataver... | 24,528 |
https://github.com/vikasreddy636/sai/blob/master/src/main/java/my/project/robocontrol/ReportCommand.java | Github Open Source | Open Source | Unlicense | null | sai | vikasreddy636 | Java | Code | 145 | 354 | package my.project.robocontrol;
/**
* ReportCommand class implements RoboCommands interface. This class is responsible for getting the
* Robot's position and format the text before printing.
* ReportCommand takes care of handling REPORT invocation on uninitialized Robot or Robot which
* is not placed on the tabl... | 12,097 |
https://github.com/BareConductive/random-touch-mp3/blob/master/Random_Touch_MP3/Random_Touch_MP3.ino | Github Open Source | Open Source | MIT | 2,017 | random-touch-mp3 | BareConductive | null | Spoken | 1,153 | 2,989 |
/*******************************************************************************
Bare Conductive Random Touch MP3 player
---------------------------------------
Random_Touch_MP3.ino - touch triggered MP3 playback taken randomly from microSD
You need twelve folders named E0 to E11 in the root of the microSD card... | 43,057 |
https://github.com/ArturMoczulski/AppBase-PHP-Framework/blob/master/views/groups/view.php | Github Open Source | Open Source | BSD-3-Clause, Apache-2.0 | 2,013 | AppBase-PHP-Framework | ArturMoczulski | PHP | Code | 18 | 115 | <h2>Group <i><?php echo $oGroup->title ?></i></h2>
<?php
$aIgnoreProperties = array("id","salt","encrypted_password");
$this->getHelper("Model")->renderTable(
$oUserModel,
$oGroup->users,
$aIgnoreProperties,
array(
array("sControllerName"=>"users", "sActionName"=>"edit")
));
?>
| 7,637 |
https://github.com/sarkaromar/iem/blob/master/application/models/Team_m.php | Github Open Source | Open Source | MIT | null | iem | sarkaromar | PHP | Code | 100 | 411 | <?php defined('BASEPATH') OR exit('No direct script access allowed');
class Team_m extends CI_Model {
function __construct() {
$this->table = 'team';
parent :: __construct();
}
public function add($image) {
$value = array(
'name'=> $this->... | 27,714 |
https://github.com/Xwudao/ujuji_backend/blob/master/src/main/java/com/ujuji/navigation/model/entity/NoticeEntity.java | Github Open Source | Open Source | Apache-2.0 | 2,022 | ujuji_backend | Xwudao | Java | Code | 45 | 195 | package com.ujuji.navigation.model.entity;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import javax.validation.constraints.NotNull;
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("... | 10,473 |
https://github.com/verimake-team/SparkRoad-V/blob/master/demo_v_5_6/13_EG4S20withM0/M0/IPCore/AT510-MN-80001-r2p0-00rel0/software/common/validation/apb_mux_tests.c | Github Open Source | Open Source | MIT | 2,023 | SparkRoad-V | verimake-team | C | Code | 1,716 | 4,932 | /*
*-----------------------------------------------------------------------------
* The confidential and proprietary information contained in this file may
* only be used by a person authorised under and to the extent permitted
* by a subsisting licensing agreement from ARM Limited or its affiliates.
*
* ... | 3,524 |
https://github.com/andrazznidar/ostanizdrav-android-dekompilacija/blob/master/decode/smali/com/google/android/gms/common/internal/zau.smali | Github Open Source | Open Source | Apache-2.0 | null | ostanizdrav-android-dekompilacija | andrazznidar | Smali | Code | 299 | 1,977 | .class public final Lcom/google/android/gms/common/internal/zau;
.super Lcom/google/android/gms/common/internal/safeparcel/AbstractSafeParcelable;
.source "com.google.android.gms:play-services-base@@17.5.0"
# static fields
.field public static final CREATOR:Landroid/os/Parcelable$Creator;
.annotation system Ldalv... | 11,738 |
https://github.com/YulyKo/js-course-2018/blob/master/homeworks/svitlana.herashchenko_gerasvladi/Homework_2/Homework2_2.js | Github Open Source | Open Source | MIT | 2,019 | js-course-2018 | YulyKo | JavaScript | Code | 22 | 50 | for (let a = 500; a < 1001; a++) {
const b = a.toString(10);
if (b[0] === b[2]) { console.log(b); }
}
| 48,316 |
https://github.com/xupin110/DIServer/blob/master/src/Services/Session.php | Github Open Source | Open Source | Apache-2.0 | 2,016 | DIServer | xupin110 | PHP | Code | 120 | 388 | <?php
namespace DIServer\Services;
use DIServer\Interfaces\ISession;
class Session extends Facade
{
public static function getFacadeAccessor()
{
return ISession::class;
}
public static function Get($key, $default = null)
{
/** @var ISession $instance */
$instance = self::getFacadeRoot();
return $insta... | 14,514 |
https://github.com/dododamba/afrisphere/blob/master/resources/js/store/modules/users/index.js | Github Open Source | Open Source | MIT | null | afrisphere | dododamba | JavaScript | Code | 104 | 380 | import ApiService from "../../../api/api";
import JwtService from "../../../services/jwt.service"
const state = {
users: []
};
const getters = {
getUsers: state => state.users,
};
const mutations = {
setUsers(state,data) {
state.users = data;
}
};
const actions = {
fetch(context){
... | 36,663 |
https://github.com/KarlingSun/JAPT-DLUT-/blob/master/japt.py | Github Open Source | Open Source | Apache-2.0 | 2,021 | JAPT-DLUT- | KarlingSun | Python | Code | 245 | 4,622 | from selenium import webdriver
from selenium.webdriver.common.action_chains import ActionChains
from selenium.webdriver.common.keys import Keys
from time import sleep
#loginname="201894069"
name = "201894108"
password = "123456"
screenshot_path="/Users/sunzhengyu/Desktop/japt/"
options = webdriver.ChromeOptions()
opti... | 5,582 |
https://github.com/drpowell/XMPP/blob/master/Network/XMPP/Stanzas.hs | Github Open Source | Open Source | BSD-3-Clause | 2,016 | XMPP | drpowell | Haskell | Code | 1,153 | 2,454 | {-# LANGUAGE OverloadedStrings #-}
module Network.XMPP.Stanzas
( sendIq
, sendIqWait
, sendIqResponse
, hasBody
, getMessageBody
, sendMessage
, sendPresence
, conj
, attributeMatches
... | 31,367 |
https://github.com/thought-machine/dracon/blob/master/common/jira/config/types.go | Github Open Source | Open Source | Apache-2.0 | 2,023 | dracon | thought-machine | Go | Code | 224 | 546 | package config
// Config contains all the data parsed from the conf.yaml file
type Config struct {
DefaultValues DefaultValues `yaml:"defaultValues"`
Mappings []Mappings `yaml:"mappings"`
DescriptionExtras []string `yaml:"addToDescription"`
SyncMappings ... | 4,061 |
https://github.com/averello/AppearanceKit/blob/master/AppearanceKit/Classes/color/SIPColors.swift | Github Open Source | Open Source | Apache-2.0 | 2,020 | AppearanceKit | averello | Swift | Code | 820 | 1,976 | //
// SIPColors.swift
// AppearanceKit
//
// Created by Georges Boumis on 20/04/2017.
//
// 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 AS... | 23,454 |
https://github.com/angelicalimazup/charlescd/blob/master/ui/packages/new-ui/src/core/components/Panel/Section/__tests__/PanelSection.spec.tsx | Github Open Source | Open Source | MPL-2.0, Apache-2.0 | 2,020 | charlescd | angelicalimazup | TSX | Code | 37 | 96 | import React from 'react';
import { render } from 'unit-test/testUtils';
import PanelSection from '../';
test('render PanelSection component with default properties', () => {
const { getByText } = render(
<PanelSection>children</PanelSection>
);
const panelElement = getByText('children');
expect(panelElem... | 37,704 |
https://github.com/cristaloleg/wallaroo/blob/master/lib/wallaroo/core/topology/step_initializer.pony | Github Open Source | Open Source | LicenseRef-scancode-generic-cla, Apache-2.0 | 2,018 | wallaroo | cristaloleg | null | Spoken | 659 | 2,016 | /*
Copyright 2017 The Wallaroo 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 law or agreed to in writi... | 1,755 |
https://github.com/Clairefollett/portfolio/blob/master/scripts/view/projects.js | Github Open Source | Open Source | MIT | 2,017 | portfolio | Clairefollett | JavaScript | Code | 365 | 498 | var projectsData = [
{
title: 'About Me',
author: 'Claire Follett',
body: '<p>This was one of the first projects I worked on when I took the 201 course at Code Fellows. It was a website that had a home page with some lists and paragraphs that described me, for example my I made an ordered list of my top t... | 8,622 |
https://github.com/travis-ci/travis-build/blob/master/lib/travis/build/appliances/fix_ps4.rb | Github Open Source | Open Source | LicenseRef-scancode-unknown-license-reference, MIT | 2,023 | travis-build | travis-ci | Ruby | Code | 24 | 70 | require 'travis/build/appliances/base'
module Travis
module Build
module Appliances
class FixPs4 < Base
def apply
sh.export 'PS4', '+', echo: false
end
end
end
end
end
| 12,755 |
https://github.com/iantal/AndroidPermissions/blob/master/apks/comparison_androart/ro.btrl.pay/source/o/lv.java | Github Open Source | Open Source | Apache-2.0 | 2,019 | AndroidPermissions | iantal | Java | Code | 30 | 73 | package o;
public abstract interface lv
extends cd.ˎ
{
public abstract void ˊॱ();
public abstract void ˎ(lB paramLB);
public abstract void ˏ(eP paramEP, boolean paramBoolean);
public abstract void ॱ();
}
| 35,727 |
https://github.com/vishnudevk/MiBandDecompiled/blob/master/Original Files/apktool/Mi/smali/com/xiaomi/miui/analyticstracker/service/DispatcherHelper.smali | Github Open Source | Open Source | Apache-2.0 | 2,021 | MiBandDecompiled | vishnudevk | Smali | Code | 821 | 4,915 | .class public Lcom/xiaomi/miui/analyticstracker/service/DispatcherHelper;
.super Ljava/lang/Object;
# static fields
.field private static final a:Ljava/lang/String; = "servers"
.field private static final b:Ljava/lang/String; = "server_name"
.field private static final c:Ljava/lang/String; = "app_name"
.field priv... | 20,284 |
https://github.com/Sathibabu-P/Realsite/blob/master/application/views/admins/properties/index.php | Github Open Source | Open Source | MIT | null | Realsite | Sathibabu-P | PHP | Code | 115 | 656 | <div class="admin-content-main-inner">
<div class="container-fluid">
<a class="btn btn-primary pull-right" href="<?php echo site_url(); ?>admins/cities/create" title="Add New City">
<i class="fa fa-plus"></i>ADD
</a><!-- /.header-action -->
<h1 class="page-header"><?=$title;?></h1>
<table class="ta... | 30,585 |
https://github.com/SeptiawanAjiP/sampling/blob/master/collect_app/src/main/java/org/odk/collect/android/downloadinstance/BriefcaseFormDefinition.java | Github Open Source | Open Source | Apache-2.0 | null | sampling | SeptiawanAjiP | Java | Code | 558 | 1,665 | /*
* Copyright (C) 2011 University of Washington.
*
* 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... | 8,107 |
https://github.com/alexcostaluiz/CSCI4050-Bookstore/blob/master/src/main/java/com/csci4050/bookstore/dao/OrderDAO.java | Github Open Source | Open Source | Apache-2.0 | 2,020 | CSCI4050-Bookstore | alexcostaluiz | Java | Code | 160 | 574 | package com.csci4050.bookstore.dao;
import com.csci4050.bookstore.model.Order;
import com.csci4050.bookstore.util.Filter;
import java.util.List;
import java.util.Map;
import javax.persistence.EntityManager;
import javax.persistence.criteria.CriteriaBuilder;
import javax.persistence.criteria.CriteriaQuery;
import org.h... | 16,196 |
https://github.com/echatman/nextbus/blob/master/src/test/java/com/echatman/nextbus/test/TestUtils.java | Github Open Source | Open Source | Apache-2.0 | 2,015 | nextbus | echatman | Java | Code | 817 | 2,675 | // (c) 2014 Coverity, Inc. All rights reserved worldwide.
package com.echatman.nextbus.test;
import com.echatman.nextbus.response.NextBusResponse;
import com.google.api.client.http.GenericUrl;
import com.google.api.client.http.HttpRequestFactory;
import com.google.api.client.http.javanet.NetHttpTransport;
import org.a... | 28,145 |
https://github.com/svn2github/libicu_full/blob/master/tags/release-4-8-rc1/source/data/zone/resfiles.mk | Github Open Source | Open Source | ICU, LicenseRef-scancode-unicode | 2,015 | libicu_full | svn2github | Makefile | Code | 441 | 1,643 | # * Copyright (C) 1998-2011, International Business Machines
# * Corporation and others. All Rights Reserved.
ZONE_CLDR_VERSION = 2.0
# A list of txt's to build
# Note:
#
# If you are thinking of modifying this file, READ THIS.
#
# Instead of changing this file [unless you want to check it back in],
# you should... | 19,834 |
https://github.com/amco/mutant/blob/master/spec/unit/mutant/cli/classifier/namespace/flat_spec.rb | Github Open Source | Open Source | MIT | 2,018 | mutant | amco | Ruby | Code | 158 | 444 | # encoding: utf-8
require 'spec_helper'
describe Mutant::CLI::Classifier::Namespace::Flat, '#each' do
let(:object) { described_class.run(cache, input) }
let(:cache) { Mutant::Cache.new }
let(:known_namespace) { '::TestApp::Literal' }
let(:unknown_names... | 20,089 |
https://github.com/atumanov/incubator-tvm/blob/master/vta/hardware/vitis/setup_emulator.sh | Github Open Source | Open Source | Apache-2.0, Zlib, MIT, LicenseRef-scancode-unknown-license-reference, Unlicense, BSD-2-Clause | 2,020 | incubator-tvm | atumanov | Shell | Code | 24 | 114 | source /tools/reconfig/xilinx/Vitis/Vitis/2019.2/settings64.sh
source /opt/xilinx/xrt/setup.sh
emconfigutil --platform xilinx_u280_xdma_201920_1
# export XCL_EMULATION_MODE=sw_emu
# export XCL_EMULATION_MODE=hw_emu
# modifiy makefile target also
# TARGET := hw_emu or sw_emu
| 54,746 |
https://github.com/imlewc/huaweicloud-sdk-go-v3/blob/master/services/ims/v2/model/model_list_os_versions_request.go | Github Open Source | Open Source | BSD-2-Clause, Apache-2.0 | null | huaweicloud-sdk-go-v3 | imlewc | Go | Code | 49 | 142 | /*
* IMS
*
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
*/
package model
import (
"encoding/json"
"strings"
)
// Request Object
type ListOsVersionsRequest struct {
Tag *string `json:"tag,omitempty"`
}
func (o ListOsVersionsRequest) String() ... | 10,058 |
https://github.com/rafaelmartinsbuck/ai-for-trading/blob/master/lesson-08/statistical_test.py | Github Open Source | Open Source | MIT | 2,020 | ai-for-trading | rafaelmartinsbuck | Python | Code | 132 | 370 | import pandas as pd
import numpy as np
import scipy.stats as stats
def analyze_returns(net_returns):
"""
Perform a t-test, with the null hypothesis being that the mean return is zero.
Parameters
----------
net_returns : Pandas Series
A Pandas Series for each date
Returns
-------
... | 10,610 |
https://github.com/yetship/flask-theme/blob/master/setup.py | Github Open Source | Open Source | MIT | 2,019 | flask-theme | yetship | Python | Code | 158 | 462 | """
flask-theme
-----------
flask-theme provides infrastructure for theming support in Flask
applications. It takes care of:
- loading themes
- rendering templates from themes
- serving static files like CSS and images from themes
Links
`````
* `documentation <http://flask-theme.readthedocs.io/>`_
* `development v... | 51,424 |
https://github.com/harwoodspike/arcusios/blob/master/i2app/i2app/UI/ViewControllers/AlarmSoundViewController.swift | Github Open Source | Open Source | Apache-2.0 | 2,021 | arcusios | harwoodspike | Swift | Code | 314 | 896 | //
// AlarmSoundViewController.swift
// i2app
//
// Created by Arcus Team on 1/6/17.
/*
* Copyright 2019 Arcus Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://w... | 16,633 |
https://github.com/sergiygladkyy/Thunder/blob/master/Source/core/MessageUnit.h | Github Open Source | Open Source | BSD-3-Clause, MIT, Apache-2.0, LicenseRef-scancode-public-domain, LicenseRef-scancode-unknown-license-reference, LicenseRef-scancode-other-permissive, Zlib, BSD-2-Clause | 2,022 | Thunder | sergiygladkyy | C++ | Code | 1,111 | 2,998 | /*
* If not stated otherwise in this file or this component's LICENSE file the
* following copyright and licenses apply:
*
* Copyright 2022 Metrological
*
* 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 ... | 24,929 |
https://github.com/2010phenix/Syslist/blob/master/web/sparePeripherals.php | Github Open Source | Open Source | MIT | 2,012 | Syslist | 2010phenix | PHP | Code | 426 | 2,247 | <?
Include("Includes/global.inc.php");
checkPermissions(2, 1800);
$notify = getOrPost('notify');
notifyUser($notify);
$strSQLlocation = "SELECT * FROM locations WHERE locationID=" . $_SESSION['locationStatus'] . " AND accountID=" . $_SESSION['accountID'] . "";
$strLocationName = fetchLocationName($strSQLl... | 26,691 |
https://github.com/WereDouglas/aamedical/blob/master/application/controllers/Home.php | Github Open Source | Open Source | MIT | 2,018 | aamedical | WereDouglas | PHP | Code | 304 | 1,308 | <?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Home extends CI_Controller {
function __construct() {
parent::__construct();
error_reporting(E_PARSE);
$this->load->model('Md');
$this->load->library('session');
$this->load->library('encrypt');
... | 12,606 |
https://github.com/cermat/WellCommerce/blob/master/src/WellCommerce/Bundle/CartBundle/Visitor/CartShippingMethodVisitor.php | Github Open Source | Open Source | MIT | 2,015 | WellCommerce | cermat | PHP | Code | 151 | 530 | <?php
/*
* WellCommerce Open-Source E-Commerce Platform
*
* This file is part of the WellCommerce package.
*
* (c) Adam Piotrowski <adam@wellcommerce.org>
*
* For the full copyright and license information,
* please view the LICENSE file that was distributed with this source code.
*/
namespace WellCommerce\... | 979 |
https://github.com/Guided-Missile-Project/gmpforth/blob/master/test/test_binary_long_division.rb | Github Open Source | Open Source | MIT | 2,017 | gmpforth | Guided-Missile-Project | Ruby | Code | 354 | 1,468 | #
# test_binary_long_division.rb
#
# Copyright (c) 2016 by Daniel Kelley
#
#
require 'test/unit'
require 'noredef'
require 'pp'
require 'binary-long-division'
class TestBinaryLongDivision < Test::Unit::TestCase
extend NoRedef
# constructor, internal functions
def test_bld_000
b = 64
d = BinaryLongDi... | 5,566 |
https://github.com/answear/focus-contact-center-bundle/blob/master/src/Request/FCC/UpsertRecords/Record.php | Github Open Source | Open Source | MIT | null | focus-contact-center-bundle | answear | PHP | Code | 188 | 618 | <?php
declare(strict_types=1);
namespace Answear\FocusContactCenterBundle\Request\FCC\UpsertRecords;
use Answear\FocusContactCenterBundle\ValueObject\AttributeValueCollection;
class Record
{
private string $externalId;
private ?AttributeValueCollection $values = null;
/**
* @var string[]|null
... | 14,793 |
https://github.com/littlexiansheng/ZD_System/blob/master/src/routes/teamLeader/successPolicy/sendModal.less | Github Open Source | Open Source | MIT | null | ZD_System | littlexiansheng | Less | Code | 65 | 275 | .sendModal{
:global{
.ant-modal-title{
text-align: center;
}
.ant-btn{
display: block;
margin: 0 auto;
}
.ant-btn-primary{
display: none;
}
.ant-timeline{
margin-left: 20px;
margin-right: 20px;
}
.time-year{
display: inline-block;
wid... | 36,747 |
https://github.com/alldatacenter/alldata/blob/master/dts/inlong/inlong-sort/sort-flink/sort-flink-v1.13/sort-connectors/filesystem/src/main/java/org/apache/inlong/sort/filesystem/stream/AbstractStreamingWriter.java | Github Open Source | Open Source | Apache-2.0, MIT, LicenseRef-scancode-compass, BSD-3-Clause | 2,023 | alldata | alldatacenter | Java | Code | 839 | 3,196 | /*
* 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 may n... | 18,290 |
https://github.com/amralihassan/egytal_software/blob/master/application/views/vendor/vendor_view.php | Github Open Source | Open Source | MIT | null | egytal_software | amralihassan | PHP | Code | 852 | 4,542 | <div class="se-pre-con"></div>
<div class="container">
<div class="row">
<div class="col-md-8">
<h4>الموردين</h4>
</div>
<div class="col-md-4">
<!-- search -->
<input class="w3-input w3-border w3-light-grey" type="search" name="txtSearch" placeholder="بحث ..." id="id_of_textbox">
</div>
</div>
... | 50,350 |
https://github.com/c-sky/buildroot/blob/master/package/misc-download-c910/misc-download-c910.mk | Github Open Source | Open Source | Apache-2.0 | 2,022 | buildroot | c-sky | Makefile | Code | 36 | 264 | ################################################################################
#
# misc-download-c910
#
################################################################################
MISC_DOWNLOAD_C910_VERSION = fc2fc86e2146be8464a804535bbd151cdb6ef84b
MISC_DOWNLOAD_C910_SOURCE = misc-download-c910-$(MISC_DOWNLOAD... | 42,023 |
https://github.com/Ecomz/Cart/blob/master/tests/Ecomz/Cart/ItemCollectionTest.php | Github Open Source | Open Source | MIT | 2,014 | Cart | Ecomz | PHP | Code | 184 | 570 | <?php
namespace Ecomz\Cart;
class ItemCollectionTest extends \PHPUnit_Framework_TestCase{
public function testCannotAcceptNonItemItems()
{
$this->markTestIncomplete('Não pode aceitar itens que não sejam itens validos');
}
public function testCannotAcceptDuplicatedItems()
{
$this->... | 2,393 |
https://github.com/gjtorikian/ruby-openai/blob/master/spec/ruby/openai/client/answers_spec.rb | Github Open Source | Open Source | MIT | 2,021 | ruby-openai | gjtorikian | Ruby | Code | 187 | 592 | RSpec.describe OpenAI::Client do
describe "#answers", :vcr do
let(:question) { "which puppy is happy?" }
let(:examples) { [["What is human life expectancy in the United States?", "78 years."]] }
let(:examples_context) { "In 2017, U.S. life expectancy was 78.6 years." }
context "with a file" do
... | 36,156 |
https://github.com/YuriKovalchuk/Coworkee/blob/master/client/app/view/home/HomeModel.js | Github Open Source | Open Source | MIT | 2,021 | Coworkee | YuriKovalchuk | JavaScript | Code | 41 | 139 | Ext.define('App.view.home.HomeModel', {
extend: 'Ext.app.ViewModel',
alias: 'viewmodel.home',
data: {
greeting: null,
range: 'upcoming',
time: null
},
stores: {
history: {
type: 'actions',
autoLoad: true,
pageSize: 8
},
... | 24,890 |
https://github.com/airicyu/fb-page-comment-event/blob/master/src/utils/request-promise.js | Github Open Source | Open Source | MIT | null | fb-page-comment-event | airicyu | JavaScript | Code | 48 | 108 | 'use strict';
/* Promisify request library */
const request = require('request');
const rp = async function (options) {
return new Promise((resolve, reject) => {
request(options, function (error, response, body) {
if (error) {
return reject(error);
} else {
... | 37,855 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.