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/randolphwong/mcsema/blob/master/llvm-3.5/test/Assembler/2007-04-25-AssemblerFoldExternWeak.ll | Github Open Source | Open Source | BSD-3-Clause | 2,022 | mcsema | randolphwong | LLVM | Code | 28 | 79 | ; RUN: llvm-as < %s | llvm-dis | grep "icmp.*test_weak.*null"
; PR1358
@G = global i1 icmp ne (i32 (...)* @test_weak, i32 (...)* null)
declare extern_weak i32 @test_weak(...)
| 7,307 |
https://github.com/synfron/Reshaper/blob/master/ReshaperCore/Rules/EventInfo.cs | Github Open Source | Open Source | MIT | 2,021 | Reshaper | synfron | C# | Code | 216 | 700 | using ReshaperCore.Messages;
using ReshaperCore.Proxies;
using ReshaperCore.Utils;
using ReshaperCore.Vars;
namespace ReshaperCore.Rules
{
public class EventInfo : ObservableEntity
{
private EventType _type;
private DataDirection _direction;
private Message _message;
private ProxyConnection _proxyConnection... | 9,788 |
https://github.com/Avatarchik/Off-Peak/blob/master/Assets/Materials/brushed copper 2.sbsar.meta | Github Open Source | Open Source | CC-BY-3.0, CC-BY-4.0 | 2,015 | Off-Peak | Avatarchik | Unity3D Asset | Code | 308 | 1,089 | fileFormatVersion: 2
guid: 93473cfe575644ba4b4e481877d8d56f
SubstanceImporter:
serializedVersion: 5
materialInstances:
- serializedVersion: 12
name: metal_brushed_copper
prototypeName: metal_brushed_copper
shader: {fileID: 4, guid: 0000000000000000f000000000000000, type: 0}
inputs:
- name: $ou... | 6,457 |
https://github.com/arvinkulagin/beeper/blob/master/pubsub/topic.go | Github Open Source | Open Source | MIT | 2,015 | beeper | arvinkulagin | Go | Code | 159 | 453 | package pubsub
func deleteSubscriber(senders []Sender, sender Sender) []Sender {
for i, v := range senders {
if v.Enqueue() == sender.Enqueue() {
return append(senders[:i], senders[i+1:]...)
}
}
return senders
}
type Topic struct {
subscribe chan Sender
unsubscribe chan Sender
publish chan []byte
... | 41,189 |
https://github.com/johnbabb/AsyncLogging/blob/master/AsyncLogging/AsyncConfig.cs | Github Open Source | Open Source | MIT | 2,014 | AsyncLogging | johnbabb | C# | Code | 322 | 1,254 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AsyncLogging
{
using System.Collections.Concurrent;
using System.Runtime.Remoting.Messaging;
using System.Security.Policy;
using AsyncLogging.Enums;
public static class A... | 23,753 |
https://github.com/MatheMaddox/Now/blob/master/views/helpers/if.js | Github Open Source | Open Source | MIT | 2,018 | Now | MatheMaddox | JavaScript | Code | 16 | 63 | Handlebars.registerHelper("newIf", function(conditional, options) {
if (options.hash.desired === options.hash.type) {
options.fn(this);
} else {
options.inverse(this);
}
});
| 39,255 |
https://github.com/Inao0/pharo/blob/master/src/Calypso-SystemTools-FullBrowser/SycRemovePackageCommand.extension.st | Github Open Source | Open Source | MIT | 2,019 | pharo | Inao0 | null | Spoken | 38 | 137 | Extension { #name : #SycRemovePackageCommand }
{ #category : #'*Calypso-SystemTools-FullBrowser' }
SycRemovePackageCommand class >> fullBrowserMenuActivation [
<classAnnotation>
^CmdContextMenuActivation byRootGroupItemOrder: 10000 for: ClyFullBrowserPackageContext
]
{ #category : #'*Calypso-SystemTools-FullBrows... | 28,547 |
https://github.com/iAklis/teoca/blob/master/EXPR5/isim/TEST_isim_beh.exe.sim/work/m_00000000003365042524_4281688025.c | Github Open Source | Open Source | MIT | 2,016 | teoca | iAklis | C | Code | 1,121 | 3,597 | /**********************************************************************/
/* ____ ____ */
/* / /\/ / */
/* /___/ \ / */
/* \ \ \/ ... | 20,949 |
https://github.com/gekkedev/BaGet/blob/master/src/BaGet.Core/ServiceIndex/IBaGetServiceIndex.cs | Github Open Source | Open Source | MIT | null | BaGet | gekkedev | C# | Code | 36 | 82 | using BaGet.Protocol;
namespace BaGet.Core.ServiceIndex
{
/// <summary>
/// BaGet's extensions to the NuGet Service Index resource. These additions
/// are not part of the official protocol.
/// </summary>
public interface IBaGetServiceIndex : IServiceIndexResource
{
}
}
| 33,472 |
https://github.com/baipao123/newlt/blob/master/backend/views/question/type-info.php | Github Open Source | Open Source | BSD-3-Clause | null | newlt | baipao123 | PHP | Code | 428 | 2,201 | <?php
/**
* Created by PhpStorm.
* User: huangchen
* Date: 2018/6/22
* Time: 下午9:07
*/
use common\models\QuestionType;
use common\tools\Status;
use layuiAdm\tools\Url;
/* @var $type QuestionType */
?>
<style>
.imgList > img {
margin: 10px 0;
max-width: 200px;
}
</style>
<form class="lay... | 46,482 |
https://github.com/pczarn/yaep-rust/blob/master/tests/grammars/mod.rs | Github Open Source | Open Source | Apache-2.0, MIT | 2,021 | yaep-rust | pczarn | Rust | Code | 9 | 38 | #![allow(dead_code)]
#[macro_use]
pub mod ambiguous_arith;
#[macro_use]
pub mod precedenced_arith;
| 44,249 |
https://github.com/Zhilong-Yang/BioWorldBlog/blob/master/BioWorld.Domain/Entities/CustomPageEntity.cs | Github Open Source | Open Source | MIT | null | BioWorldBlog | Zhilong-Yang | C# | Code | 85 | 171 | using System;
using BioWorld.Domain.Common;
namespace BioWorld.Domain.Entities
{
public class CustomPageEntity : AuditableEntity
{
public Guid Id { get; set; }
public string Title { get; set; }
public string Slug { get; set; }
public string MetaDescription { get; set; }
... | 13,360 |
https://github.com/Pitchapa-Jeekhumwon/savingscoop/blob/master/application/models/Report_loan_data_model.php | Github Open Source | Open Source | MIT | null | savingscoop | Pitchapa-Jeekhumwon | PHP | Code | 7,258 | 50,545 | <?php if( ! defined('BASEPATH')) exit('No direct script access allowed');
class Report_loan_data_model extends CI_Model
{
public function __construct()
{
parent::__construct();
}
public function get_report_loan_data(){
$member_id = @$_GET['member_id'];
$loan_id = @$_GET['loan_id'];... | 10,846 |
https://github.com/anomaddev/NomadTools/blob/master/NomadTools/NomadTools/NomadTools/Classes/APIs/RandomUser/RandomUser.swift | Github Open Source | Open Source | MIT | 2,021 | NomadTools | anomaddev | Swift | Code | 330 | 1,023 | //
// RandomUser.swift
// NomadTools
//
// Created by Justin Ackermann on 12/27/21.
//
import Foundation
import Alamofire
open class RandomUser: Codable {
public var gender: String?
public var name: Name?
public var location: Location?
public var email: String?
public var login: Login
... | 1,775 |
https://github.com/dftty/LeetCode/blob/master/Assets/Scripts/LeetCode/LeetCode_117.cs | Github Open Source | Open Source | MIT | null | LeetCode | dftty | C# | Code | 248 | 717 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;
public class LeetCode_117 : MonoBehaviour {
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
}
// Medium https://leetcode.com/problems/populating-nex... | 20,204 |
https://github.com/wleader/PeachtreeBus/blob/master/PeachtreeBus/Headers.cs | Github Open Source | Open Source | MIT | null | PeachtreeBus | wleader | C# | Code | 66 | 128 | namespace PeachtreeBus
{
/// <summary>
/// Headers stored with the message.
/// </summary>
public class Headers
{
/// <summary>
/// the type the message was serialized from and to deserialize it to.
/// </summary>
public string MessageClass { get; set; }
///... | 43,026 |
https://github.com/genexuslabs/twitter-kit-ios/blob/master/TwitterKit/TwitterKit/TwitterShareExtensionUI/Private/Auto Completion/TWTRSEAutoCompletionViewModel.m | Github Open Source | Open Source | Apache-2.0, BSD-2-Clause-Views, LicenseRef-scancode-unknown-license-reference, BSD-2-Clause | 2,022 | twitter-kit-ios | genexuslabs | Objective-C | Code | 476 | 1,477 | /*
* Copyright (C) 2017 Twitter, 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 agr... | 27,434 |
https://github.com/itzhaolin/mutation-testing-elements/blob/master/packages/elements/test/unit/components/mutation-test-report-test-list-item.spec.ts | Github Open Source | Open Source | Apache-2.0 | 2,021 | mutation-testing-elements | itzhaolin | TypeScript | Code | 187 | 577 | import { expect } from 'chai';
import { MutantModel, TestModel } from 'mutation-testing-metrics';
import { MutationTestReportTestListItemComponent } from '../../../src/components/test-list-item/test-list-item.component';
import { CustomEventMap } from '../../../src/lib/custom-events';
import { createMutantResult, creat... | 13,318 |
https://github.com/Bastien7/Kotlin-presentation/blob/master/KotlinApp/src/main/webapp/client-app/js/views/TopicList.jsx | Github Open Source | Open Source | MIT | 2,016 | Kotlin-presentation | Bastien7 | null | Spoken | 239 | 888 | import React from "react";
import Reflux from "reflux";
import {List, ListItem, Subheader, Dialog, TextField, RaisedButton, FlatButton, FontIcon } from "material-ui";
import MessageActions from "../actions/MessageActions";
import TopicActions from "../actions/TopicActions";
import TopicStore from "../stores/TopicStore"... | 52,665 |
https://github.com/navikt/basta-frontend/blob/master/api/src/controllers/getAccesstoken.js | Github Open Source | Open Source | MIT | 2,019 | basta-frontend | navikt | JavaScript | Code | 72 | 224 | const request = require('request-promise')
const config = require('../config/passportConfig')
let ms_access_token = ''
exports.getAccessTokenUser = async (tokenURI, refreshToken, resource) => {
let parameters = ''
try {
parameters = {
client_id: config.clientID,
redirect_uri: config.redirectUrl,
... | 30,129 |
https://github.com/MinjuCo/findit/blob/master/project/resources/views/internships/show.blade.php | Github Open Source | Open Source | MIT | 2,020 | findit | MinjuCo | Blade | Code | 20 | 117 | @extends('layouts/app')
@section('title', $internship->title)
@section('nav')
<li class="nav-item">
<a class="nav-link" href="/internships">Back</a>
</li>
@endsection
@section('content')
<h1>{{ $internship->title }}</h1>
<a href="/applications/create/{{ $internship->id }}">solliciteer</a>
@endsection | 2,705 |
https://github.com/dasdiptyajit/mne_pipeline_hd/blob/master/mne_pipeline_hd/gui/loading_widgets.py | Github Open Source | Open Source | GPL-3.0-only | 2,023 | mne_pipeline_hd | dasdiptyajit | Python | Code | 5,296 | 25,814 | # -*- coding: utf-8 -*-
"""
Pipeline-GUI for Analysis with MNE-Python
@author: Martin Schulz
@email: dev@earthman-music.de
@github: https://github.com/marsipu/mne-pipeline-hd
License: GPL-3.0
"""
import os
import re
import shutil
import time
from collections import Counter
from functools import partial
from os.path im... | 51,710 |
https://github.com/drivehappy/falanx/blob/master/src/Falanx.Machinery/FSAstExtensions.fs | Github Open Source | Open Source | Apache-2.0 | null | falanx | drivehappy | null | Spoken | 817 | 2,934 | namespace Falanx.Machinery
[<AutoOpen>]
module SynTypeExtensions =
open System
open FsAst
open Microsoft.FSharp.Compiler.Ast
open Microsoft.FSharp.Compiler.Range
open ProviderImplementation.ProvidedTypes
open Utils
open Prelude
type S... | 32,673 |
https://github.com/XYROC/DoomlikeDungeons/blob/master/main/java/jaredbgreat/dldungeons/rooms/Room.java | Github Open Source | Open Source | MIT | null | DoomlikeDungeons | XYROC | Java | Code | 3,193 | 10,252 | package jaredbgreat.dldungeons.rooms;
/*
/*
* Doomlike Dungeons by is licensed the MIT License
* Copyright (c) 2014-2018 Jared Blackburn
*/
import jaredbgreat.dldungeons.ConfigHandler;
import jaredbgreat.dldungeons.Difficulty;
import jaredbgreat.dldungeons.pieces.Doorway;
import jaredbgreat.dldungeons.pieces.Sh... | 15,819 |
https://github.com/meng004/AspNetIdentityPermission/blob/master/AspNetIdentity2Permission.Mvc/IgniteUI/js/modules/i18n/regional/infragistics.ui.regional-pl.js | Github Open Source | Open Source | MIT | 2,020 | AspNetIdentityPermission | meng004 | JavaScript | Code | 154 | 812 | /* Poland +*/
/*global jQuery */
(function ($) {
$.ig = $.ig || {};
$.ig.regional = $.ig.regional || {};
if ($.datepicker && $.datepicker.regional) {
$.datepicker.regional['pl'] = {
closeText: 'Zamknij',
prevText: '<Poprzedni',
nextText: 'Następny>',
currentText: 'Dziś',
monthNa... | 52,066 |
https://github.com/workersz/scalint/blob/master/checks/ch_comparator.py | Github Open Source | Open Source | Apache-2.0 | 2,017 | scalint | workersz | Python | Code | 71 | 216 |
from scalint.scalar_comparator import NativeComparator
cmpr = NativeComparator()
#simple checks for native py comparsion numerical and tuples
assert cmpr(1,3) == cmpr.LT
assert cmpr(2,2) == cmpr.EQ
assert cmpr(3,1) == cmpr.GT
assert cmpr( (1,1), (1,3) ) == cmpr.LT
assert cmpr( (2,2), (2,2) ) == cmpr.EQ
assert cm... | 27,261 |
https://github.com/hortonworks/cloudbreak/blob/master/core-api/src/main/java/com/sequenceiq/cloudbreak/api/endpoint/v4/imagecatalog/requests/ImageEntryV4Request.java | Github Open Source | Open Source | LicenseRef-scancode-warranty-disclaimer, ANTLR-PD, CDDL-1.0, bzip2-1.0.6, Zlib, BSD-3-Clause, MIT, EPL-1.0, LicenseRef-scancode-proprietary-license, LicenseRef-scancode-jdbm-1.00, Apache-2.0, LicenseRef-scancode-unknown-license-reference | 2,023 | cloudbreak | hortonworks | Java | Code | 238 | 828 | package com.sequenceiq.cloudbreak.api.endpoint.v4.imagecatalog.requests;
import java.util.HashMap;
import java.util.Map;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;
import javax.validation.constraints.Size;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
im... | 6,178 |
https://github.com/dkaip/jvulkan-natives-Linux-x86_64/blob/master/HelperFunctions/getVkDescriptorUpdateTemplateEntry.cpp | Github Open Source | Open Source | Apache-2.0 | null | jvulkan-natives-Linux-x86_64 | dkaip | C++ | Code | 429 | 1,530 | /*
* Copyright 2019-2020 Douglas Kaip
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | 16,244 |
https://github.com/katemihalikova/test262/blob/master/test/intl402/PluralRules/supportedLocalesOf/supportedLocalesOf.js | Github Open Source | Open Source | BSD-3-Clause | 2,022 | test262 | katemihalikova | JavaScript | Code | 102 | 338 | // Copyright 2016 Mozilla Corporation. All rights reserved.
// This code is governed by the license found in the LICENSE file.
/*---
esid: sec-Intl.PluralRules.supportedLocalesOf
description: >
Tests that Intl.PluralRules.supportedLocalesOf meets the requirements for
built-in objects defined by the introductio... | 4,301 |
https://github.com/Wingbu/FFMPEGBasic/blob/master/app/src/main/java/com/example/wingbu/ffmpegbasic/play/VideoPlayActivity.java | Github Open Source | Open Source | MIT | null | FFMPEGBasic | Wingbu | Java | Code | 95 | 383 | package com.example.wingbu.ffmpegbasic.play;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.view.SurfaceHolder;
import android.view.SurfaceView;
import com.example.wingbu.ffmpegbasic.R;
public class VideoPlayActivity extends AppCompatActivity implem... | 18,977 |
https://github.com/wuGong04/twilio-video.js/blob/master/tsdef/preflighttest.d.ts | Github Open Source | Open Source | BSD-3-Clause, LicenseRef-scancode-unknown-license-reference | 2,022 | twilio-video.js | wuGong04 | TypeScript | Code | 81 | 188 | /**
* A {@link Preflight} represents the object returned from `Video.runPreflight`
* @property {string} status - The status of the test
*/
import { EventEmitter } from 'events';
import { PreflightTestReport } from '.';
export declare interface PreflightTest {
on(event: 'progress', listener: (progress: string) =>... | 46,218 |
https://github.com/Gasolene/Rum.framework/blob/master/system/utils/folder.class.php | Github Open Source | Open Source | Naumen, Condor-1.1, MS-PL | null | Rum.framework | Gasolene | PHP | Code | 659 | 1,798 | <?php
/**
* @license see /docs/license.txt
* @package PHPRum
* @author Darnell Shinbine
* @copyright Copyright (c) 2015
*/
namespace System\Utils;
/**
* Represents a folder on the file system
*
* @property string $name name of folder
* @property string $path path to folder
* @property a... | 31,512 |
https://github.com/ranocha/StochasticDiffEq.jl/blob/master/test/runtests.jl | Github Open Source | Open Source | MIT | null | StochasticDiffEq.jl | ranocha | Julia | Code | 356 | 1,196 | using StochasticDiffEq, DiffEqDevTools
using DiffEqProblemLibrary.SDEProblemLibrary: importsdeproblems; importsdeproblems()
using Test, Random
const TEST_PLOT = false
const LONGER_TESTS = false
if haskey(ENV,"GROUP")
group = ENV["GROUP"]
else
group = "All"
end
is_APPVEYOR = ( Sys.iswindows() && haskey(ENV,"... | 18,541 |
https://github.com/AdamStuart/appFX/blob/master/src/main/java/image/pixelator/ImageViewPane.java | Github Open Source | Open Source | Apache-2.0 | 2,017 | appFX | AdamStuart | Java | Code | 161 | 566 | package image.pixelator;
/*
* Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*/
import javafx.beans.property.ObjectProperty;
import javafx.beans.property.SimpleObjectProperty;
import javafx.beans.value.ChangeListener;
import jav... | 11,551 |
https://github.com/raychorn/xxhash-wasm/blob/master/test/index.test.js | Github Open Source | Open Source | MIT | 2,020 | xxhash-wasm | raychorn | JavaScript | Code | 383 | 1,261 | import test from "jest-t-assert";
import xxhash from "../src";
// The test cases were taken from tests of other implementation and the
// resulting hashes have been generated by running another implementation.
// All cases used the seed 0.
const testCases = [
{ input: "", h32: "2cc5d05", h64: "ef46db3751d8e999" },
... | 43,918 |
https://github.com/cexer/zboost/blob/master/include/boost/detail/QMethodTraitsTemplate2.h | Github Open Source | Open Source | BSL-1.0 | 2,021 | zboost | cexer | C | Code | 652 | 2,854 | //premake.vpath=boost/detail
//#pragma message(vSTRINGLIZE(vEXPAND(__CALLING __QUALIFICATION)))
template <class R, class C>
struct QFunctionTraits<R (__CALLING C::*)() __QUALIFICATION>
{
enum
{
isKnownCallable = 1,
isMethodPointer = 1,
isConstQualified = __IS_CONST_Q,
isVolatileQuali... | 38,110 |
https://github.com/nel215/benchmark-get-time/blob/master/gettimeofday.cpp | Github Open Source | Open Source | MIT | null | benchmark-get-time | nel215 | C++ | Code | 28 | 107 | #include <sys/time.h>
#include <cstdio>
inline double get_time(){
struct timeval tv;
gettimeofday(&tv, NULL);
return tv.tv_sec + tv.tv_usec*1e-6;
}
int main(){
for(int i=0; i<1000000000; i++){
get_time();
}
return 0;
}
| 25,306 |
https://github.com/DevUt/device_lge_g4-common/blob/master/config.fs | Github Open Source | Open Source | FTL | 2,021 | device_lge_g4-common | DevUt | null | Spoken | 135 | 571 | [system/vendor/bin/qmuxd]
mode: 0700
user: AID_RADIO
group: AID_SHELL
caps: BLOCK_SUSPEND
[system/vendor/bin/mm-qcamera-daemon]
mode: 0700
user: AID_CAMERA
group: AID_SHELL
caps: SYS_NICE
[system/vendor/bin/pm-service]
mode: 0755
user: AID_SYSTEM
group: AID_SYSTEM
caps: NET_BIND_SERVICE
[system/vendor/bin/imsdatadae... | 54 |
https://github.com/Bvdldf/ABP/blob/master/modules/SMSNotifier/providers/PaxHeader/VESMSru.php | Github Open Source | Open Source | PHP-3.0, Apache-2.0, ECL-2.0 | null | ABP | Bvdldf | PHP | Code | 4 | 25 | 30 mtime=1556800812.709394991
24 SCHILY.fflags=extent
| 16,116 |
https://github.com/couchbaselabs/couchbase-lite-javafx-example/blob/master/src/main/java/com/couchbase/Main.java | Github Open Source | Open Source | Apache-2.0 | 2,018 | couchbase-lite-javafx-example | couchbaselabs | Java | Code | 71 | 316 | package com.couchbase;
import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.stage.Stage;
import java.net.URL;
public class Main extends Application {
CouchbaseSingleton couchbase;
@Override
public void start(Stage pri... | 1,573 |
https://github.com/xuru/bowling/blob/master/app/fields.py | Github Open Source | Open Source | MIT | 2,014 | bowling | xuru | Python | Code | 45 | 156 | from flask.ext.restful.fields import Integer, List, Nested, String
roll_fields = {
'id': Integer,
'pins': Integer
}
frame_fields = {
'id': Integer,
'number': Integer,
'score': Integer,
'rolls': List(Nested(roll_fields))
}
player_fields = {
'id': Integer,
'name': String,
'frames': ... | 98 |
https://github.com/yume190/FillType/blob/master/Sources/Cursor/Reportable.swift | Github Open Source | Open Source | MIT | null | FillType | yume190 | Swift | Code | 98 | 286 | //
// Reportable.swift
// Cursor
//
// Created by Yume on 2021/10/29.
//
import Foundation
import SwiftSyntax
import SwiftSyntaxParser
public protocol XCodeReportable {
var reportXCode: String {get}
var reportXCodeLocation: SourceLocation? {get}
}
public protocol VSCodeReportable {
var reportVSCode: S... | 12,408 |
https://github.com/glodzienski/phenix/blob/master/src/Enumerators/ConditionDeterminantTypeEnum.php | Github Open Source | Open Source | MIT | null | phenix | glodzienski | PHP | Code | 34 | 121 | <?php
namespace glodzienski\AWSElasticsearchService\Enumerators;
use Logcomex\PhpUtils\Helpers\EnumHelper;
/**
* Class ConditionDeterminantTypeEnum
* @package glodzienski\AWSElasticsearchService\Enumerators
*/
class ConditionDeterminantTypeEnum
{
use EnumHelper;
public const MUST = 'must';
public cons... | 52,614 |
https://github.com/zonnie/Coins/blob/master/app/src/main/java/com/moneyifyapp/activities/expenseDetail/ImageAdapter.java | Github Open Source | Open Source | Apache-2.0 | null | Coins | zonnie | Java | Code | 354 | 1,310 | package com.moneyifyapp.activities.expenseDetail;
import android.app.Activity;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.Filter;
import android.widget.Filterable;
import android.widget.ImageButton;
import androi... | 49,301 |
https://github.com/JKorf/Huobi.Net/blob/master/Huobi.Net/Enums/OrderSide.cs | Github Open Source | Open Source | MIT | 2,023 | Huobi.Net | JKorf | C# | Code | 34 | 109 | using CryptoExchange.Net.Attributes;
namespace Huobi.Net.Enums
{
/// <summary>
/// Order side
/// </summary>
public enum OrderSide
{
/// <summary>
/// Buy
/// </summary>
[Map("buy")]
Buy,
/// <summary>
/// Sell
/// </summary>
... | 37,811 |
https://github.com/andelkozoric/csharp2020/blob/master/dvukasovic/Moj projekt/10_1_1_Parni/Program.cs | Github Open Source | Open Source | MIT | 2,020 | csharp2020 | andelkozoric | C# | Code | 63 | 212 | using System;
using System.IO;
namespace _10_1_1_Parni
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Parni");
FileStream fs = new FileStream("Parni.txt", FileMode.Create);
StreamWriter sw = new StreamWriter(fs);
for (in... | 30,515 |
https://github.com/crossmob/WinObjC/blob/master/include/Platform/Universal Windows/UWP/WindowsUIInputInking.h | Github Open Source | Open Source | MIT | 2,019 | WinObjC | crossmob | C | Code | 1,642 | 9,510 | //******************************************************************************
//
// Copyright (c) Microsoft. All rights reserved.
//
// This code is licensed under the MIT License (MIT).
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARR... | 41,424 |
https://github.com/xorsnn/altexo/blob/master/helper_scripts/composing/compose_webrtc.py | Github Open Source | Open Source | MIT | 2,018 | altexo | xorsnn | Python | Code | 139 | 539 |
import os
DIRECTORY = 'out'
WEBRTC_DIR = '/home/xors/workspace/lib/webrtc-checkout/src/out/Default'
def main():
libs = []
lines = []
if not os.path.exists(DIRECTORY):
os.makedirs(DIRECTORY)
for root, dirs, files in os.walk(WEBRTC_DIR):
for file in files:
if file.endswith... | 51,467 |
https://github.com/haisa86/bihua.sample/blob/master/Bihua.Client.WPF/Bihua.Demo.WPF/BihuaActor.xaml.cs | Github Open Source | Open Source | MIT | 2,021 | bihua.sample | haisa86 | C# | Code | 422 | 1,711 | using Bihua.Demo.WPF.Models;
using System;
using System.Collections.Generic;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
namespace Bihua.Demo.WPF
{
/// <summary>
/// 汉字笔画笔顺播放控件
/// </summary>
public... | 17,230 |
https://github.com/Zebiano/FoodStats/blob/master/Backend/Backend/assets/connect.js | Github Open Source | Open Source | MIT | 2,019 | FoodStats | Zebiano | JavaScript | Code | 35 | 138 | // Require
const mongoose = require('mongoose');
// Variables
const mongoURL = "mongodb://admin:Admin123@ds159387.mlab.com:59387/foodstats";
// Code to execute
mongoose.connect(mongoURL, {useNewUrlParser: true}, function(err, client) {
if (err) {
console.log("Database: ❌")
console.log(err);
}
... | 26,661 |
https://github.com/muhammadyusufprananda/guppyci4/blob/master/app/Views/admin/index.php | Github Open Source | Open Source | MIT | null | guppyci4 | muhammadyusufprananda | PHP | Code | 145 | 660 | <?= $this->extend('layout/template'); ?>
<?= $this->section('content'); ?>
<!-- Bagian Etalase -->
<section class="S-admin mt-5">
<div class="container">
<div class="row">
<div class="col-sm-3">
<?= $this->include('layout/nav_admin') ?>
</div>
<div class="... | 52,275 |
https://github.com/bLandais/txRobotic/blob/master/Scratch-firmata/Scratch_Firmata_lib/Menu.cpp | Github Open Source | Open Source | CC0-1.0 | 2,021 | txRobotic | bLandais | C++ | Code | 515 | 1,747 | /*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/*
File: Menu.cpp
Author: Mathilde
Created on 18 octobre 2016, 15:11
*/
#include "Menu.h"
#include "Led.h"
#include "Button... | 28,517 |
https://github.com/ab-group/dojo/blob/master/version.go | Github Open Source | Open Source | Apache-2.0 | 2,021 | dojo | ab-group | Go | Code | 6 | 18 | package main
const DojoVersion = "0.10.3"
| 2,147 |
https://github.com/OpenSmalltalk/opensmalltalk-vm/blob/master/platforms/Mac OS/vm/Developer/MacVMCorrectFileTypes.st | Github Open Source | Open Source | MIT | 2,023 | opensmalltalk-vm | OpenSmalltalk | null | Spoken | 218 | 622 | 'From Squeak3.7beta of ''1 April 2004'' [latest update: #5954] on 5 June 2005 at 11:11:41 pm'!
Object subclass: #MacVMCorrectFileTypes
instanceVariableNames: ''
classVariableNames: ''
poolDictionaries: ''
category: 'VMConstruction-Building'!
!MacVMCorrectFileTypes commentStamp: '<historical>' prior: 0!
Correct hfs ... | 3,380 |
https://github.com/KibaAmor/c0-parser/blob/master/test/tokenizer.cpp | Github Open Source | Open Source | MIT | 2,022 | c0-parser | KibaAmor | C++ | Code | 118 | 478 | #define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN
#include "doctest.h"
#include <tokenizer.h>
#include <sstream>
TEST_SUITE_BEGIN("tokenizer");
using namespace c0;
TEST_CASE("int parse")
{
std::string s = R"(
0
1
0x7fffffff
0X7fffffff
)";
std::istringstream is(s);
Tokenizer tzer(is);
const auto tokens = tzer... | 15,869 |
https://github.com/groundwater/node-lib-http-api/blob/master/test/handle.js | Github Open Source | Open Source | ISC | 2,014 | node-lib-http-api | groundwater | JavaScript | Code | 135 | 475 | var test = require('tap').test;
var API = require('../index.js')();
var GET = {
method : 'GET',
route : '/users/:name',
options : {
order: 'desc',
limit: 100
}
};
var POST = {
method : 'POST',
route : '/users/:name',
options : {
order: 'desc',
limit: 100
}
};
test("derive handl... | 42,384 |
https://github.com/paploo/LeioParse/blob/master/src/main/scala/net/paploo/leioparse/formatter/formatters/CSVFormatterV2.scala | Github Open Source | Open Source | BSD-3-Clause | 2,020 | LeioParse | paploo | Scala | Code | 189 | 1,259 | package net.paploo.leioparse.formatter.formatters
import java.time.format.DateTimeFormatter
import com.github.tototoshi.csv.CSVWriter
import net.paploo.leioparse.data.core.BookStatistics.SessionCumulativeStatistics
import net.paploo.leioparse.data.core.{Book, BookReport, BookStatistics, Session}
import net.paploo.lei... | 39,306 |
https://github.com/mercatis/Lighthouse/blob/master/ui/com.mercatis.lighthouse3.ui.environment.ui/src/com/mercatis/lighthouse3/ui/environment/wizards/NewProcessTaskWizard.java | Github Open Source | Open Source | Apache-2.0 | 2,011 | Lighthouse | mercatis | Java | Code | 623 | 2,761 | /*
* Copyright 2011 mercatis Technologies AG
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable l... | 47,825 |
https://github.com/braveheart12/MainFrame/blob/master/packages/launcher/src/renderer/launcher/wallets/WalletCreateModal.js | Github Open Source | Open Source | MIT | 2,019 | MainFrame | braveheart12 | JavaScript | Code | 1,078 | 3,461 | // @flow
import React, { Component } from 'react'
import { graphql, commitMutation } from 'react-relay'
import {
Button,
TextField,
Row,
Column,
Text,
Tooltip,
} from '@morpheus-ui/core'
import {
type FormSubmitPayload,
type FieldValidateFunctionParams,
} from '@morpheus-ui/forms'
import styled from 's... | 38,968 |
https://github.com/Rookfighter/MultiAgentExploration/blob/master/src/utils/StopWatch.cpp | Github Open Source | Open Source | MIT | 2,021 | MultiAgentExploration | Rookfighter | C++ | Code | 215 | 782 | #include <cstddef>
#include <sstream>
#include "utils/StopWatch.hpp"
#include "utils/Math.hpp"
namespace mae
{
StopWatch::StopWatch()
:newBestCase_(false), newWorstCase_(false)
{
best_.tv_sec = 999;
best_.tv_usec = 999;
worst_.tv_sec = 0;
worst_.tv_usec = 0;
}
StopWatch::~StopWatch()
{
}
void StopW... | 8,365 |
https://github.com/debop/debop4k/blob/master/debop4k-data-mongodb/src/test/java/debop4k/mongodb/springdata/model/Order.java | Github Open Source | Open Source | Apache-2.0 | 2,022 | debop4k | debop | Java | Code | 200 | 517 | /*
* Copyright (c) 2016. Sunghyouk Bae <sunghyouk.bae@gmail.com>
* 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... | 5,408 |
https://github.com/ICONationDevTeam/goloop/blob/master/javaee/samples/sampletoken/src/example/util/EnumerableMap.java | Github Open Source | Open Source | Apache-2.0 | null | goloop | ICONationDevTeam | Java | Code | 272 | 639 | /*
* Copyright 2021 ICON Foundation
*
* 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... | 29,927 |
https://github.com/JetBrains/android/blob/master/app-quality-insights/ui/tests/com/android/tools/idea/insights/ui/AppInsightsIssuesTableCellRendererTest.kt | Github Open Source | Open Source | Apache-2.0 | 2,023 | android | JetBrains | Kotlin | Code | 239 | 925 | /*
* Copyright (C) 2023 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 26,832 |
https://github.com/Stolz/bankAccountApi/blob/master/lumen/app/Http/Controllers/AccountController.php | Github Open Source | Open Source | MIT | 2,018 | bankAccountApi | Stolz | PHP | Code | 636 | 1,803 | <?php
namespace App\Http\Controllers;
use App\Models\Account;
use Illuminate\Http\Request;
class AccountController extends Controller
{
/**
* Instance of the service used to interact with bank accounts.
*
* @var \App\Contracts\AccountService
*/
protected $accountService;
/**
* C... | 3,574 |
https://github.com/alastairs/pact-net/blob/master/PactNet.Tests/Fakes/FakeHttpMessageHandler.cs | Github Open Source | Open Source | MIT | 2,020 | pact-net | alastairs | C# | Code | 112 | 403 | using System;
using System.Collections.Generic;
using System.Net;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
namespace PactNet.Tests.Fakes
{
public class FakeHttpMessageHandler : DelegatingHandler
{
private readonly IList<HttpRequestMessage> _requestsReceived;
... | 51,115 |
https://github.com/nats-io/nats-streaming-server/blob/master/server/raft_log_test.go | Github Open Source | Open Source | Apache-2.0 | 2,023 | nats-streaming-server | nats-io | Go | Code | 2,411 | 6,754 | // Copyright 2018-2020 The NATS 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 ... | 8,540 |
https://github.com/liamnichols/firebase-ios-sdk/blob/master/Functions/Example/Tests/FIRFunctionsTests.m | Github Open Source | Open Source | Apache-2.0, LicenseRef-scancode-proprietary-license | 2,021 | firebase-ios-sdk | liamnichols | Objective-C | Code | 229 | 897 | // Copyright 2017 Google
//
// 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... | 17,591 |
https://github.com/thomas2411/tpay-php/blob/master/tpayLibs/src/_class_tpay/Validators/VariableTypes/CountryCodeType.php | Github Open Source | Open Source | MIT | 2,021 | tpay-php | thomas2411 | PHP | Code | 60 | 231 | <?php
/*
* Created by tpay.com.
* Date: 19.06.2017
* Time: 14:39
*/
namespace tpayLibs\src\_class_tpay\Validators\VariableTypes;
use tpayLibs\src\_class_tpay\Utilities\TException;
use tpayLibs\src\_class_tpay\Validators\VariableTypesInterface;
use tpayLibs\src\Dictionaries\ISO_codes\CountryCodesDictionary;
class... | 4,775 |
https://github.com/jakhu/retis/blob/master/bin/retis.js | Github Open Source | Open Source | MIT | 2,016 | retis | jakhu | JavaScript | Code | 18 | 72 | // Generated by CoffeeScript 1.10.0
(function() {
var com, pack;
com = require('commander');
pack = require('../package.json');
com.version(pack.version).parse(process.argv);
}).call(this);
| 15,091 |
https://github.com/vankatalp360/Programming-Fundamentals-2017/blob/master/Lists Processing Variable Lab/06. Square Numbers/06. Square Numbers.cs | Github Open Source | Open Source | MIT | 2,017 | Programming-Fundamentals-2017 | vankatalp360 | C# | Code | 54 | 182 | using System;
using System.Collections.Generic;
using System.Linq;
namespace _06.Square_Numbers
{
public class Program
{
public static void Main()
{
var numbers = Console.ReadLine().Split(' ').Select(int.Parse).ToList();
numbers.Sort();
var answer = new List... | 41,994 |
https://github.com/quenaz/QuadTargetFSM/blob/master/src/utils/SocketCamera.hpp | Github Open Source | Open Source | MIT | 2,015 | QuadTargetFSM | quenaz | C++ | Code | 70 | 269 | //
// Created by owain on 11/08/15.
//
#ifndef QUADTARGETFSM_SHMCAMERA_H
#define QUADTARGETFSM_SHMCAMERA_H
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <netdb.h>
#include <opencv2/opencv.hpp>
class Sock... | 23,053 |
https://github.com/lbriais/open_lists/blob/master/app/assets/javascripts/open_lists/open_lists.js.coffee | Github Open Source | Open Source | MIT | 2,013 | open_lists | lbriais | CoffeeScript | Code | 4 | 30 | $ ->
$(".date-picker-field").datepicker({dateFormat: "yy-mm-dd"})
| 46,068 |
https://github.com/JumpIntoSqueak/vivide/blob/master/repository/Vivide.package/ViGridLayout.class/instance/layout.in..st | Github Open Source | Open Source | MIT | null | vivide | JumpIntoSqueak | null | Spoken | 32 | 103 | as yet unclassified
layout: morph in: bounds
morph submorphs ifEmpty: [^ self].
self removeWhitespaceFor: morph submorphs.
self fixOverlappingMorphs: morph submorphs.
self updateGridSizeStableFor: morph.
self updateGridScaleFor: morph.
self updateCellSizeFor: morph.
self updateSubmorphPositionsFor: morph. | 50,290 |
https://github.com/BandoSamurai/ELL/blob/master/libraries/model/src/Port.cpp | Github Open Source | Open Source | MIT, LicenseRef-scancode-unknown-license-reference | 2,017 | ELL | BandoSamurai | C++ | Code | 154 | 631 | ////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Project: Embedded Learning Library (ELL)
// File: Port.cpp (model)
// Authors: Chuck Jacobs
//
////////////////////////////////////////////////////////////////////////////////////////////////////
#includ... | 40,754 |
https://github.com/geneontology/noctua-models/blob/master/models/MGI_MGI_106912.ttl | Github Open Source | Open Source | CC-BY-4.0 | 2,023 | noctua-models | geneontology | Turtle | Code | 1,210 | 13,720 |
<http://model.geneontology.org/MGI_MGI_106912> a <http://www.w3.org/2002/07/owl#Ontology> .
<http://geneontology.org/lego/evidence> a <http://www.w3.org/2002/07/owl#AnnotationProperty> .
<http://geneontology.org/lego/hint/layout/x> a <http://www.w3.org/2002/07/owl#AnnotationProperty> .
<http://geneontology.org/lego... | 38,377 |
https://github.com/yaroslav-007/vagrant-consul-dev/blob/master/test/integration/default/check_pkg.rb | Github Open Source | Open Source | MIT | null | vagrant-consul-dev | yaroslav-007 | Ruby | Code | 339 | 1,087 | #hostname = "`hostname -s`.strip"
####Test OS
describe os.name do
it { should eq 'ubuntu' }
end
describe os.release do
it { should eq '18.04' }
end
###Check consul service
describe service('consul') do
it { should be_installed }
it { should be_enabled }
it { should be_running }
end
describe user('consul'... | 46,319 |
https://github.com/kristyramage/industry-project/blob/master/app/Http/Controllers/TransactionController.php | Github Open Source | Open Source | MIT | null | industry-project | kristyramage | PHP | Code | 509 | 2,228 | <?php
namespace App\Http\Controllers;
use App\Prints;
use App\PrintSizes;
use App\Frames;
use App\Cart;
use App\Order;
use App\Shipping;
use Session;
use Illuminate\Http\Request;
use App\Http\Requests;
use App\Http\Controllers\Controller;
use Braintree_Configuration;
use Braintree_ClientToken;
use Braintree_Transa... | 50,647 |
https://github.com/knrdhz/computer-science-in-javascript/blob/master/tests/data-structures/hash-map/hash-map.js | Github Open Source | Open Source | MIT | 2,018 | computer-science-in-javascript | knrdhz | JavaScript | Code | 779 | 2,149 | /**
* @fileoverview Hash Map tests
*/
/* global it, describe, beforeEach */
"use strict";
//-----------------------------------------------------------------------------
// Requirements
//-----------------------------------------------------------------------------
const assert = require("chai").assert;
const { Has... | 8,484 |
https://github.com/Hellblazer/apollo/blob/master/stereotomy/src/main/java/com/salesforce/apollo/stereotomy/services/Resolver.java | Github Open Source | Open Source | BSD-3-Clause | null | apollo | Hellblazer | Java | Code | 68 | 212 | /*
* Copyright (c) 2021, salesforce.com, inc.
* All rights reserved.
* SPDX-License-Identifier: BSD-3-Clause
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/BSD-3-Clause
*/
package com.salesforce.apollo.stereotomy.services;
import java.util.Optional;
import java.u... | 41,578 |
https://github.com/51OneTeam/JfinalOneTeam/blob/master/JFinalUIBV2/platform/com/platform/mvc/menu/MenuValidator.java | Github Open Source | Open Source | MIT | 2,016 | JfinalOneTeam | 51OneTeam | Java | Code | 57 | 229 | package com.platform.mvc.menu;
import org.apache.log4j.Logger;
import com.jfinal.core.Controller;
import com.jfinal.validate.Validator;
public class MenuValidator extends Validator {
@SuppressWarnings("unused")
private static Logger log = Logger.getLogger(MenuValidator.class);
protected void validate(Controlle... | 48,589 |
https://github.com/AlexRogalskiy/DevArtifacts/blob/master/master/nodejs_learning-master/nodejs_learning-master/views/index.jade | Github Open Source | Open Source | MIT | 2,019 | DevArtifacts | AlexRogalskiy | null | Spoken | 20 | 58 | h1 List of Names
ul
for name in names
li= name
hr
h1 Add Name
form(method='POST', action='/')
input(name='name')
input(type='submit', value='Add')
| 51,662 |
https://github.com/0xTim/swift-nio-ssl/blob/master/Sources/NIOSSLPerformanceTester/BenchRepeatedHandshakes.swift | Github Open Source | Open Source | Apache-2.0 | null | swift-nio-ssl | 0xTim | Swift | Code | 181 | 588 | //===----------------------------------------------------------------------===//
//
// This source file is part of the SwiftNIO open source project
//
// Copyright (c) 2019 Apple Inc. and the SwiftNIO project authors
// Licensed under Apache License v2.0
//
// See LICENSE.txt for license information
// See CONTRIBUTORS... | 20,670 |
https://github.com/tuxafgmur/OLD_Dhollmen_Kernel/blob/master/drivers/gpu/pvr/omap4/sgxfreq_activeidle.c | Github Open Source | Open Source | BSD-Source-Code | 2,015 | OLD_Dhollmen_Kernel | tuxafgmur | C | Code | 417 | 1,552 | /*
* Copyright (C) 2012 Texas Instruments, Inc
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published by
* the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
... | 23,590 |
https://github.com/hpc-ulisboa/gpuPTXModel/blob/master/src/functionsPyTorch.py | Github Open Source | Open Source | BSD-3-Clause | 2,022 | gpuPTXModel | hpc-ulisboa | Python | Code | 1,734 | 8,223 | import numpy as np
import sys
import time
import torch
from torch.autograd import Variable
import src.modelsPytorch as mopy
from src.globalStuff import printing, threshold_consecutive_epochs, max_consecutive_epochs_no_improvement, reorderData, IND_PAD, timeSince, asMinutes, list_event_names, metrics_to_use, possible_o... | 4,644 |
https://github.com/ivinteractive/generator-ivi-kirby/blob/master/generators/app/templates/site/plugins/ivform/uniform/uniform/actions/login.php | Github Open Source | Open Source | MIT | 2,022 | generator-ivi-kirby | ivinteractive | PHP | Code | 61 | 178 | <?php
/*
* Action to log in to the Kirby frontend
*/
uniform::$actions['login'] = function ($form, $actionOptions) {
$user = site()->user($form['username']);
$redirect = a::get($actionOptions, 'redirect', false);
if ($user && $user->login($form['password'])) {
if ($redirect !== false) {
... | 20,358 |
https://github.com/DimpalGondaliyaa/rud/blob/master/application/views/call_Settings.php | Github Open Source | Open Source | MIT | null | rud | DimpalGondaliyaa | PHP | Code | 801 | 3,634 | <div class="main-box">
<div class="cmdtitle">
<a href="<?php echo base_url(); ?>Administration">user & administration</a> > <a href="<?php echo base_url(); ?>Call_Settings">Call_Settings</a>
</div>
<div class="main-menu row">
<nav class="contactnav">
<div class="nav-wrapper connavwapp">
<ul id="n... | 40,484 |
https://github.com/cloudxcc/Arduissimo/blob/master/v0.1/tests/drivers/drivers_spi/ws_drivers_spi/drivers_spi_1/include/driver_spi_custom.c | Github Open Source | Open Source | Apache-2.0 | 2,022 | Arduissimo | cloudxcc | C | Code | 141 | 408 | //
// Copyright 2019 Tobias Strauch, Munich, Bavaria
// Licensed under the Apache License, Version 2.0, see LICENSE for details.
// SPDX-License-Identifier: Apache-2.0
//
#include "device.h"
#include "driver_custom.h"
#include "driver_gpio.h"
#include "driver_spi.h"
///////////////////////////////////////////////////... | 37,741 |
https://github.com/mrJean1/geodesy-php/blob/master/src/Geodesy/Datum/Yacare.php | Github Open Source | Open Source | MIT | 2,019 | geodesy-php | mrJean1 | PHP | Code | 109 | 310 | <?php
namespace Geodesy\Datum;
use Geodesy\Models\International1924;
class Yacare extends BaseDatum implements DatumInterface
{
CONST DATUM = array (
'Name' => "Yacare",
'CRS' => 4309,
'TranslationVectors' => array(
'x' => 155,
'y' => -171,
'z' => -37,
),
'RotationalVectors' => array(
... | 35,557 |
https://github.com/dinghongfa/FishClient/blob/master/temp/quick-scripts/src/assets/modules/public/script/service/serviceExclusive.js | Github Open Source | Open Source | Apache-2.0 | 2,021 | FishClient | dinghongfa | JavaScript | Code | 353 | 1,729 | "use strict";
cc._RF.push(module, '1705dDvbrRKS6iidgaYoRtF', 'serviceExclusive');
// modules/public/script/service/serviceExclusive.js
"use strict";
glGame.baseclass.extend({
properties: {
node_item: cc.Node,
node_content: cc.Node,
node_copyid: cc.Node,
label_copyid: cc.Label,
scrollView: cc.Scr... | 49,308 |
https://github.com/Andreas-Forster/GiNGR/blob/master/src/main/scala/apps/gpmm/VisualizeGPMMCorrelation.scala | Github Open Source | Open Source | Apache-2.0 | 2,022 | GiNGR | Andreas-Forster | Scala | Code | 162 | 391 | /*
* Copyright 2022 University of Basel, Graphics and Vision Research Group
*
* 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
*
* Un... | 37,719 |
https://github.com/suchongming/grpc-gm/blob/master/internal/transport/go16.go | Github Open Source | Open Source | Apache-2.0 | null | grpc-gm | suchongming | Go | Code | 191 | 450 | // +build go1.6,!go1.7
/*
*
* Copyright 2016 gRPC 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... | 474 |
https://github.com/EitanGayor/augur/blob/master/tests-unit/input/init-array-clean/test.js | Github Open Source | Open Source | UPL-1.0 | 2,022 | augur | EitanGayor | JavaScript | Code | 14 | 25 | var a = 3;
var b = [1, 2, a];
var z = b[0]; | 40,191 |
https://github.com/Urvessss/Urvesh-Lab/blob/master/src/Lab1/Exersize7.java | Github Open Source | Open Source | MIT | null | Urvesh-Lab | Urvessss | Java | Code | 66 | 237 | package Lab1;
import java.util.Scanner;
public class Exersize7 {
public static void main(String[] args) {
boolean increasingNumber=false;
Scanner sc=new Scanner(System.in);
System.out.println("Enter the number");
int number=sc.nextInt();
increasingNumber=checkNumber(number);
System.out.println(increas... | 40,528 |
https://github.com/id0612/openapi-sdk-php/blob/master/src/Vod/V20170321/AddWatermark.php | Github Open Source | Open Source | Apache-2.0, MIT, LicenseRef-scancode-unknown-license-reference | 2,019 | openapi-sdk-php | id0612 | PHP | Code | 441 | 1,398 | <?php
namespace AlibabaCloud\Vod\V20170321;
use AlibabaCloud\Client\Request\RpcRequest;
/**
* Request of AddWatermark
*
* @method string getResourceOwnerId()
* @method string getResourceOwnerAccount()
* @method string getName()
* @method string getFileUrl()
* @method string getOwnerId()
* @method string getT... | 19,518 |
https://github.com/techbola/mesl-appraisal/blob/master/resources/views/hr/levels.blade.php | Github Open Source | Open Source | MIT | 2,019 | mesl-appraisal | techbola | Blade | Code | 218 | 1,060 | @extends('layouts.main.master')
@push('styles')
<link href="{{ asset('main/assets/plugins/jquery-datatable/media/css/dataTables.bootstrap.min.css') }}" rel="stylesheet" type="text/css" />
<link href="{{ asset('main/assets/plugins/jquery-datatable/extensions/FixedColumns/css/dataTables.fixedColumns.min.css') }}" rel... | 32,377 |
https://github.com/michakinchen1988/LavaMoat/blob/master/packages/tofu/src/codeSampleFromAstNode.js | Github Open Source | Open Source | MIT | 2,021 | LavaMoat | michakinchen1988 | JavaScript | Code | 100 | 342 |
module.exports = { codeSampleFromAstNode }
function codeSampleFromAstNode (node, moduleRecord) {
const result = {}
const { specifier, content, packageName, packageVersion } = moduleRecord
const { start, end } = node.loc
result.range = `${start.line}:${start.column}`
if (end) result.range += `,${end.line}:${... | 7,831 |
https://github.com/fazleelahhee/survey/blob/master/app/Models/Section.php | Github Open Source | Open Source | MIT | null | survey | fazleelahhee | PHP | Code | 35 | 118 | <?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class Section extends Model
{
protected $table = 'section';
protected $fillable = [
'name', 'description', 'fields', 'rules', 'required'
];
public function survey()
{
return $this->belongsToMany(Survey::class, '... | 46,307 |
https://github.com/AWESOME-FORK-XD/mykasir/blob/master/backend/data/list_kota.php | Github Open Source | Open Source | MIT | 2,020 | mykasir | AWESOME-FORK-XD | PHP | Code | 55 | 320 | <?php
include("../../config.php");
$id_provinsi = $_REQUEST['id_provinsi'];
$q_kota = mysqli_query($con, "SELECT
tbl_kota.id_kota,
tbl_kota.nama_kota
FROM
tbl_kota
WHERE tbl_kota.id_provinsi = '$id_provinsi'");
$nr_kota = mysqli_num_rows($q_kota);
if($nr_kota == 0){
echo "<option value=\"\">-</option>";
}else{
whi... | 47,879 |
https://github.com/riniguez91/empty-spain-back/blob/master/app/Models/Busqueda.php | Github Open Source | Open Source | MIT | null | empty-spain-back | riniguez91 | PHP | Code | 188 | 612 | <?php
namespace App\Models;
use Illuminate\Auth\Authenticatable;
use Illuminate\Contracts\Auth\Access\Authorizable as AuthorizableContract;
use Illuminate\Contracts\Auth\Authenticatable as AuthenticatableContract;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Larav... | 52,367 |
https://github.com/SoftwareFoundationGroupAtKyotoU/stacksafe/blob/master/src/effect.cpp | Github Open Source | Open Source | MIT | 2,020 | stacksafe | SoftwareFoundationGroupAtKyotoU | C++ | Code | 632 | 1,915 | #include "effect.hpp"
#include <llvm/IR/InstrTypes.h>
#include <llvm/Support/Format.h>
#include <llvm/Support/raw_ostream.h>
#include <cassert>
#include <climits>
#include <cstdlib>
#include <fstream>
#include <tuple>
#include <vector>
namespace stacksafe {
namespace {
std::optional<std::size_t> to_size_t(std::string_... | 8,504 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.