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/EnsurityTechnologies/net-ipfs-engine/blob/master/test/CoreApi/SwarmApiTest.cs | Github Open Source | Open Source | MIT | 2,021 | net-ipfs-engine | EnsurityTechnologies | C# | Code | 357 | 1,783 | using Microsoft.VisualStudio.TestTools.UnitTesting;
using Newtonsoft.Json.Linq;
using PeerTalk.Cryptography;
using System;
using System.IO;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
namespace Ipfs.Engine
{
[TestClass]
public class SwarmApiTest
{
IpfsEngine ipfs = Te... | 52,491 |
https://github.com/ReGameView/Tour-to-go/blob/master/views/realProperty/view.php | Github Open Source | Open Source | 2,019 | Tour-to-go | ReGameView | PHP | Code | 129 | 498 | <?php
use yii\helpers\Html;
use yii\widgets\DetailView;
/* @var $this yii\web\View */
/* @var $model app\models\RealProperty */
$this->title = $model->fullAddress;
$this->params['breadcrumbs'][] = ['label' => 'Real Properties', 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
\yii\web\YiiAsset::re... | 5,773 | |
https://github.com/GrapeBaBa/tensorbase/blob/master/crates/meta/src/confs.rs | Github Open Source | Open Source | Apache-2.0, LicenseRef-scancode-free-unknown, LicenseRef-scancode-unknown-license-reference | 2,021 | tensorbase | GrapeBaBa | Rust | Code | 416 | 1,294 | /* Copyright (c) 2020 TensorBase, and its contributors
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 ... | 1,635 |
https://github.com/Keneral/aframeworks/blob/master/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/IccCardStatusTest.java | Github Open Source | Open Source | Unlicense | null | aframeworks | Keneral | Java | Code | 228 | 918 | /*
* Copyright (C) 2016 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... | 48,362 |
https://github.com/trxeste/wrk/blob/master/sbcl/codes-from-books/elementsOfAI/Chapter12/EDGES.lisp | Github Open Source | Open Source | BSD-3-Clause | 2,017 | wrk | trxeste | Common Lisp | Code | 641 | 1,662 | ;;; EDGES.CL
;;; A demonstration of edge detection and related image processing
;;; in Lisp.
;;; (C) Copyright 1995 by Steven L. Tanimoto.
;;; This program is described in Chapter 12 ("Vision") of
;;; "The Elements of Artificial Intelligence Using Common Lisp," 2nd ed.,
;;; published by W. H. Freeman, 41 Madison Ave.,... | 30,123 |
https://github.com/hezag/Watchr/blob/master/Components/Models/M.URL.php | Github Open Source | Open Source | MIT | 2,015 | Watchr | hezag | PHP | Code | 191 | 735 | <?php
/**
* @author hezag
* @link http://github.com/hezag
* @license The MIT License, http://opensource.org/licenses/MIT
* @version 0.1.0
*/
class URL
{
public $id = false;
public $accessCode;
public $creationTimestamp;
public $destinationURL;
public $logs;
public function __construct($accessCode)
{
$... | 52,733 |
https://github.com/kadaan/promutil/blob/master/config/time.go | Github Open Source | Open Source | Apache-2.0, LicenseRef-scancode-unknown-license-reference | 2,022 | promutil | kadaan | Go | Code | 165 | 461 | package config
import (
"fmt"
"github.com/araddon/dateparse"
"github.com/dustin/go-humanize"
"github.com/kadaan/promutil/lib/errors"
"github.com/tj/go-naturaldate"
"strconv"
"time"
)
var (
Now = time.Now().UTC()
)
type timeValue time.Time
func NewTimeValue(p *time.Time, val time.Time) *timeValue {
*p = val... | 40,444 |
https://github.com/cims-bioko/cims-server/blob/master/core/src/main/resources/db/migration/V19__remove_building_and_floor_from_location.sql | Github Open Source | Open Source | BSD-2-Clause | 2,023 | cims-server | cims-bioko | PLpgSQL | Code | 185 | 642 | create type uniquebid as (
formatted text,
map_name text,
map integer,
sector_name text,
sector integer,
building_name text,
building integer,
floor_name text,
floor integer,
duplicate_name text,
duplicate integer
);
create or replace function to_uniquebid(str text) returns uniquebid as $$
declar... | 29,929 |
https://github.com/myjinifuture/practice_test/blob/master/lib/Common/Constants.dart | Github Open Source | Open Source | MIT | 2,021 | practice_test | myjinifuture | Dart | Code | 36 | 77 | import 'package:flutter/material.dart';
class Session {
static const String Name = "Id";
static const String Password = "RoleId";
static const String Email = "SocietyId";
static const String PhoneNo = "Name";
static const String Profession = "mobileNo";
}
| 18,047 |
https://github.com/Carabes/Chi/blob/master/src/documentation/pages/components/dropdown/examples/_plain_text.vue | Github Open Source | Open Source | MIT | 2,022 | Chi | Carabes | Vue | Code | 125 | 540 | <template lang="pug">
<ComponentExample title="Plain Text" id="plain_text" :tabs="exampleTabs" additionalClasses="-bg--grey-20">
p.-text(slot="example-description") Use a <code>span</code> tag to include text without rendering as a link.
.chi-col.-w--7.-w-sm--4.-w-md--5.-w-lg--3(slot="example")
.chi-dro... | 25,247 |
https://github.com/julian-M3141/or-mapper-java/blob/master/DemoApp/src/main/java/demoapp/models/Sex.java | Github Open Source | Open Source | MIT | null | or-mapper-java | julian-M3141 | Java | Code | 8 | 24 | package demoapp.models;
public enum Sex {
MALE,FEMALE
}
| 7,774 |
https://github.com/Koredotcom/iOS-kore-sdk/blob/master/Widgets/Widgets/Common/UIViewController+KoreBotSDK.swift | Github Open Source | Open Source | MIT | 2,020 | iOS-kore-sdk | Koredotcom | Swift | Code | 392 | 1,204 | //
// UIViewController+KoreBotSDK.swift
// KoreBotSDK
//
// Created by Srinivas Vasadi on 04/07/19.
// Copyright © 2019 Srinivas Vasadi. All rights reserved.
//
import UIKit
public extension UIViewController {
// MARK: -
public var isModal: Bool {
if let index = navigationController?.viewControlle... | 41,651 |
https://github.com/jbosstools/jbosstools-quarkus/blob/master/tests/org.jboss.tools.quarkus.lsp4e.test/projects/maven/hibernate-orm-resteasy/src/main/java/org/acme/hibernate/orm/CustomJaxRsResolving.java | Github Open Source | Open Source | Apache-2.0 | 2,023 | jbosstools-quarkus | jbosstools | Java | Code | 18 | 64 | package org.acme.hibernate.orm;
import javax.ws.rs.Path;
@Path("myPath")
public class CustomJaxRsResolving {
public String myMethod() {
return "my string";
}
} | 49,347 |
https://github.com/huangsansui/wim/blob/master/src/main/java/protocol/response/GroupMessageResponse.java | Github Open Source | Open Source | Apache-2.0 | 2,022 | wim | huangsansui | Java | Code | 43 | 121 | package protocol.response;
import lombok.Data;
import protocol.Packet;
import protocol.command.Command;
/**
* Created on 2019/7/1
*
* @author qing.huang
*/
@Data
public class GroupMessageResponse extends Packet {
private Boolean isSuccess;
private String username;
private String message;
@Over... | 28,334 |
https://github.com/acrlakshman/gradient-augmented-levelset-cuda/blob/master/tests/array.cc | Github Open Source | Open Source | BSD-3-Clause | 2,021 | gradient-augmented-levelset-cuda | acrlakshman | C++ | Code | 467 | 1,373 | ///////////////////////////////////////////////////////////////////////////////
// Copyright 2019 Lakshman Anumolu, Raunak Bardia.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// 1. Redistributions of source... | 23,028 |
https://github.com/ClemensFischer/FX-Map-Control/blob/master/FxMapControl/src/main/java/fxmapcontrol/MapItem.java | Github Open Source | Open Source | MIT | 2,020 | FX-Map-Control | ClemensFischer | Java | Code | 173 | 534 | /*
* FX Map Control - https://github.com/ClemensFischer/FX-Map-Control
* © 2020 Clemens Fischer
*/
package fxmapcontrol;
import javafx.beans.property.BooleanProperty;
import javafx.beans.property.IntegerProperty;
import javafx.beans.property.SimpleBooleanProperty;
import javafx.beans.property.SimpleIntegerProperty;... | 42,395 |
https://github.com/HackCameroon/SMS-Shopping-for-Seniors-for-Organization/blob/master/zakupy_dla_seniora/auth/forms.py | Github Open Source | Open Source | MIT | 2,020 | SMS-Shopping-for-Seniors-for-Organization | HackCameroon | Python | Code | 33 | 105 | from flask_wtf import FlaskForm
from flask_babel import _
from wtforms import StringField, PasswordField, SubmitField
from wtforms.validators import DataRequired
class LoginForm(FlaskForm):
login = StringField(_('Login or Email'), validators=[DataRequired()])
password = PasswordField(_('Password'), validator... | 18,350 |
https://github.com/mano7onam/kotlin-native/blob/master/backend.native/tests/external/codegen/box/properties/kt4373.kt | Github Open Source | Open Source | Apache-2.0 | 2,018 | kotlin-native | mano7onam | Kotlin | Code | 35 | 84 | interface Tr<T> {
val prop: T
}
class A(a: Tr<Int>) : Tr<Int> by a
fun eat(x: Int) {}
fun box(): String {
eat(A(object : Tr<Int> {
override val prop = 42
}).prop)
return "OK"
}
| 4,290 |
https://github.com/lishilong/foodProject/blob/master/food/rest/modules/food/controllers/ListController.php | Github Open Source | Open Source | BSD-3-Clause | 2,016 | foodProject | lishilong | PHP | Code | 106 | 402 | <?php
namespace rest\modules\food\controllers;
use common\models\food\FoodDetailedList;
use common\models\food\FoodList;
use common\models\JsonMessage;
use rest\controllers\RestfulBaseController;
use Yii;
use yii\web\ServerErrorHttpException;
/**
* Class CurrentAccountController
* @package rest\modules\v1\control... | 5,129 |
https://github.com/claudex/test-ssl/blob/master/test.py | Github Open Source | Open Source | MIT | 2,014 | test-ssl | claudex | Python | Code | 493 | 1,327 | #!/usr/bin/python
#Copyright (c) 2014 Xavier Claude
#
#Permission is hereby granted, free of charge, to any person obtaining a copy of
#this software and associated documentation files (the "Software"), to deal in
#the Software without restriction, including without limitation the rights to
#use, copy, modify, merge, ... | 34,929 |
https://github.com/nozzlegear/Shopify-Prime/blob/master/enums/order_cancel_reason.ts | Github Open Source | Open Source | MIT | 2,021 | Shopify-Prime | nozzlegear | TypeScript | Code | 15 | 39 | export type OrderCancelReason = (
"customer" |
"inventory" |
"fraud" |
"other" |
string
); | 31,276 |
https://github.com/mattdennewitz/convox/blob/master/provider/gcp/gcp.go | Github Open Source | Open Source | Apache-2.0 | null | convox | mattdennewitz | Go | Code | 177 | 591 | package gcp
import (
"context"
"encoding/base64"
"os"
"cloud.google.com/go/storage"
"github.com/convox/convox/pkg/elastic"
"github.com/convox/convox/pkg/structs"
"github.com/convox/convox/provider/k8s"
)
type Provider struct {
*k8s.Provider
Bucket string
Key []byte
Project string
Region string... | 45,792 |
https://github.com/joacon/battleShip/blob/master/app/controllers/SocketCtrl.java | Github Open Source | Open Source | Apache-2.0 | null | battleShip | joacon | Java | Code | 191 | 639 | package controllers;
import actor.GameRoom;
import actor.GameRoomManager;
import com.fasterxml.jackson.databind.JsonNode;
import model.dbModels.User;
import play.mvc.*;
import akka.actor.*;
import services.UserService;
import java.util.Optional;
/**
* Created by joaquin on 01/06/16.
*/
public class SocketCtrl exte... | 2,413 |
https://github.com/IrfanGhuori/Bootstrap-extra/blob/master/js/bootstrap.js | Github Open Source | Open Source | MIT | 2,023 | Bootstrap-extra | IrfanGhuori | JavaScript | Code | 9,284 | 31,882 | var $videoSrc;
! function(t, e) {
"object" == typeof exports && "undefined" != typeof module ? e(exports, require("jquery"), require("popper.js")) : "function" == typeof define && define.amd ? define(["exports", "jquery", "popper.js"], e) : e((t = t || self).bootstrap = {}, t.jQuery, t.Popper)
}(this, function(t, e... | 30,541 |
https://github.com/mdoshi96/beacls/blob/master/docs/0.0.1/search/classes_d.js | Github Open Source | Open Source | BSD-2-Clause, BSD-2-Clause-FreeBSD | 2,022 | beacls | mdoshi96 | JavaScript | Code | 19 | 675 | var searchData=
[
['savedd',['SaveDD',['../d3/dd3/classSaveDD.html',1,'']]],
['schemedata',['SchemeData',['../df/d0b/classlevelset_1_1SchemeData.html',1,'levelset']]],
['schemedata_5fimpl',['SchemeData_impl',['../d0/d8d/classlevelset_1_1SchemeData__impl.html',1,'levelset']]],
['sdmodfunctor',['SDModFunctor',['.... | 25,999 |
https://github.com/djjonno/kerala/blob/master/core/src/main/java/org/kerala/core/Boot.kt | Github Open Source | Open Source | MIT, LicenseRef-scancode-unknown-license-reference, LicenseRef-scancode-other-permissive | 2,021 | kerala | djjonno | Kotlin | Code | 292 | 979 | package org.kerala.core
import org.apache.log4j.Logger
import org.kerala.core.config.Config
import org.kerala.core.consensus.ConsensusFacade
import org.kerala.core.consensus.RaftFactory
import org.kerala.core.log.LogFactory
import org.kerala.core.runtime.client.broker.ClusterSetInfo
import org.kerala.core.runtime.clie... | 2,650 |
https://github.com/exogenesys/freeways-web-2/blob/master/models/comment.js | Github Open Source | Open Source | MIT | 2,017 | freeways-web-2 | exogenesys | JavaScript | Code | 52 | 179 | var mongoose = require('mongoose'),
Schema = mongoose.Schema;
var CommentSchema = new Schema({
type: String,
slug: {
type: String,
unique: true
},
userID: {
type: Schema.Types.ObjectId
},
parentComment: {
type: Schema.Types.ObjectId default: false
},
childComment: {
type: [
{
type: Schem... | 45,193 |
https://github.com/brunnolou/relatify/blob/master/test/add.test.js | Github Open Source | Open Source | MIT | 2,020 | relatify | brunnolou | JavaScript | Code | 18 | 49 | import relatify from '../src';
describe('addition', () => {
it('adds 2 numbers', () => {
expect(add(3, 5)).toBe(8);
});
});
| 10,766 |
https://github.com/swordev/suid/blob/master/packages/icons-material/lib/ContactPageSharp.jsx | Github Open Source | Open Source | MIT | 2,023 | suid | swordev | JavaScript | Code | 26 | 244 | import $ from "./utils/createSvgIcon";
export default $(
() => (
<>
<rect fill="none" height="24" width="24" />
<path d="M14,2H4v20h16V8L14,2z M12,10c1.1,0,2,0.9,2,2c0,1.1-0.9,2-2,2s-2-0.9-2-2C10,10.9,10.9,10,12,10z M16,18H8v-0.57 c0-0.81,0.48-1.53,1.22-1.85C10.07,15.21,11.01,15,12,15c0.99,0,1.93,0.2... | 29,129 |
https://github.com/predictiverye/SQL-Server-R-Services-Samples/blob/master/PredictiveMaintenance/SQLR/DataProcessing/create_table.sql | Github Open Source | Open Source | CC-BY-4.0, MIT | 2,019 | SQL-Server-R-Services-Samples | predictiverye | SQL | Code | 195 | 553 | DROP TABLE IF EXISTS PM_Train
GO
create table PM_Train
(
id INT,
cycle INT,
setting1 float,
setting2 float,
setting3 float,
s1 float,
s2 float,
s3 float,
s4 float,
s5 float,
s6 float,
s7 float,
s8 float,
s9 float,
s10 float,
s11 float,
s12 float,
s13 float,
s14 float,
s15 float,
s16 float,
s17 fl... | 48,001 |
https://github.com/stevenjchang/roseflix/blob/master/src/components/accordion/styles/accordion.ts | Github Open Source | Open Source | MIT | 2,022 | roseflix | stevenjchang | TypeScript | Code | 135 | 458 | import styled from 'styled-components/macro';
export const Container = styled.div`
color: #fff;
border-bottom: 0.5rem solid #222;
`;
export const Title = styled.h1`
text-align: center;
margin: 4rem 0 3rem;
`;
export const Inner = styled.div`
max-width: 50rem;
margin: auto;
@media (max-width: 1000px) {
max-... | 47,801 |
https://github.com/iamlocky/CoreMate/blob/master/core/src/main/java/core/mate/adapter/CoreRecyclerAdapter.java | Github Open Source | Open Source | Apache-2.0 | 2,017 | CoreMate | iamlocky | Java | Code | 584 | 1,994 | package core.mate.adapter;
import android.content.Context;
import android.support.annotation.CallSuper;
import android.support.annotation.NonNull;
import android.support.v4.view.ViewPager;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.V... | 10,190 |
https://github.com/alexbelij/ss_bottom_navbar/blob/master/lib/src/views/nav_item.dart | Github Open Source | Open Source | Apache-2.0 | 2,021 | ss_bottom_navbar | alexbelij | Dart | Code | 248 | 962 | import 'package:flutter/material.dart';
import 'package:provider/provider.dart';
import 'package:ss_bottom_navbar/src/ss_bottom_navbar.dart';
import '../service.dart';
class NavItem extends StatefulWidget {
final SSBottomNavItem ssBottomNavItem;
final bool isActive;
final Function onTab;
NavItem(this.ssBotto... | 16,236 |
https://github.com/yoyonel/sflm2-custom/blob/master/bindings/c/include/SFML/Audio/SoundStream.h | Github Open Source | Open Source | Zlib | null | sflm2-custom | yoyonel | C | Code | 1,298 | 2,516 | ////////////////////////////////////////////////////////////
//
// SFML - Simple and Fast Multimedia Library
// Copyright (C) 2007-2009 Laurent Gomila (laurent.gom@gmail.com)
//
// This software is provided 'as-is', without any express or implied warranty.
// In no event will the authors be held liable for any damages ... | 30,976 |
https://github.com/seetgz000/maxihomesweb/blob/master/MVC/views/admin/User/all.php | Github Open Source | Open Source | MIT | null | maxihomesweb | seetgz000 | PHP | Code | 169 | 756 | <section class="content-header">
<h1>
Agents
</h1>
<ol class="breadcrumb">
<li><a href="<?= base_url() ?>User/all"><i class="fa fa-users"></i> Agents</a></li>
</ol>
</section>
<br>
<section class="content">
<div class="mediumBox">
<div class='panel panel-default'>
... | 43,998 |
https://github.com/atiqbutt/IMSEDU/blob/master/edusol/application/views/account/bank_list.php | Github Open Source | Open Source | MIT | null | IMSEDU | atiqbutt | PHP | Code | 301 | 1,852 | <link href="<?php echo base_url(); ?>assets/vendors/datatables.net-bs/css/dataTables.bootstrap.min.css" rel="stylesheet">
<link href="<?php echo base_url(); ?>assets/vendors/datatables.net-buttons-bs/css/buttons.bootstrap.min.css" rel="stylesheet">
<link href="<?php echo base_url(); ?>assets/vendors/datatable... | 6,417 |
https://github.com/getconnect/connect-test-data-generator/blob/master/test/generate-data-tests.js | Github Open Source | Open Source | MIT | 2,016 | connect-test-data-generator | getconnect | JavaScript | Code | 156 | 387 | var chai = require('chai'),
expect = chai.expect,
generateData = require('../lib/data-generator').generateData;
describe('Data Generation', function() {
describe('When values are literals', function () {
var template = {
number: 1,
string: 's',
array: [1],
regex: /w/
}
it... | 36,816 |
https://github.com/awkward-minion/apollo-federation-demo/blob/master/user-service/src/modules/types/LoginResponse.ts | Github Open Source | Open Source | MIT | 2,020 | apollo-federation-demo | awkward-minion | TypeScript | Code | 17 | 51 | import { ObjectType, Field } from "type-graphql";
@ObjectType()
export class LoginResponse {
@Field()
success:boolean
@Field()
accessToken:string
} | 35,528 |
https://github.com/Wang-Jiang/Summer/blob/master/src/main/java/space/wangjiang/summer/model/ModelGenerator.java | Github Open Source | Open Source | MIT | 2,018 | Summer | Wang-Jiang | Java | Code | 814 | 3,452 | package space.wangjiang.summer.model;
import com.jfinal.template.Engine;
import com.jfinal.template.Template;
import org.apache.commons.io.FileUtils;
import space.wangjiang.summer.common.Logger;
import space.wangjiang.summer.common.ResourceReader;
import space.wangjiang.summer.model.dialect.Dialect;
import space.wangj... | 22,892 |
https://github.com/pytest-dev/pytest-asyncio/blob/master/tests/loop_fixture_scope/conftest.py | Github Open Source | Open Source | Apache-2.0 | 2,023 | pytest-asyncio | pytest-dev | Python | Code | 37 | 100 | import asyncio
import pytest
class CustomSelectorLoop(asyncio.SelectorEventLoop):
"""A subclass with no overrides, just to test for presence."""
loop = CustomSelectorLoop()
@pytest.fixture(scope="module")
def event_loop():
"""Create an instance of the default event loop for each test case."""
yield l... | 21,124 |
https://github.com/fahad-zeeshan/carsonline/blob/master/app/Http/Controllers/ImageController.php | Github Open Source | Open Source | MIT | 2,021 | carsonline | fahad-zeeshan | PHP | Code | 27 | 93 | <?php
namespace App\Http\Controllers;
use App\Http\Requests\ImageRequest;
use Illuminate\Http\Request;
class ImageController extends Controller
{
//
public function image()
{
return view('admins.add-images');
}
public function store(ImageRequest $request)
{
}
}
| 8,897 |
https://github.com/fullstorydev/grpchan/blob/master/httpgrpc/protocol_versions.go | Github Open Source | Open Source | MIT | 2,022 | grpchan | fullstorydev | Go | Code | 482 | 974 | package httpgrpc
import (
"mime"
"google.golang.org/grpc/encoding"
grpcproto "google.golang.org/grpc/encoding/proto"
)
// If the on-the-wire encoding every needs to be changed in a backwards-incompatible way,
// here are the steps for doing so:
//
// 1. Define new content-types that represent the new encoding. If... | 24,165 |
https://github.com/thomasp85/farver/blob/master/R/farver-package.R | Github Open Source | Open Source | MIT | 2,022 | farver | thomasp85 | R | Code | 19 | 48 | #' @useDynLib farver, .registration = TRUE
#' @keywords internal
"_PACKAGE"
## usethis namespace: start
## usethis namespace: end
NULL | 49,316 |
https://github.com/andy12838729/tb-houston-service/blob/master/tb_houston_service/landingzoneprogressitem.py | Github Open Source | Open Source | Apache-2.0 | 2,021 | tb-houston-service | andy12838729 | Python | Code | 497 | 1,604 | """
This is the landingZoneProgressItem module and supports all the ReST actions for the
landingZoneProgressItem collection
"""
from pprint import pformat
from flask import abort, make_response
from config import app, db
from models import LandingZoneProgressItem, LandingZoneProgressItemSchema
def apply_state_trans... | 14,194 |
https://github.com/Belyenochi/Programming-Languages/blob/master/SmallTalk/pharo/github-cache/kursjan/petitparser2/master/kursjan-petitparser2-25c9dbd/PetitParser2-Smalltalk-Tests.package/TPP2SmalltalkParserTests.trait/instance/testVariable5.st | Github Open Source | Open Source | MIT | 2,018 | Programming-Languages | Belyenochi | null | Spoken | 16 | 38 | testing
testVariable5
super testVariable5.
self assert: self result isVariable.
self assert: self result name equals: 'supernanny' | 16,149 |
https://github.com/bansalhimanshu0296/jyc.club/blob/master/social/module/admincp/include/service/block/block.class.php | Github Open Source | Open Source | Apache-2.0 | null | jyc.club | bansalhimanshu0296 | PHP | Code | 549 | 2,140 | <?php
/**
* [NULLED BY DARKGOTH 2014]
*/
defined('PHPFOX') or exit('NO DICE!');
/**
*
*
* @copyright [PHPFOX_COPYRIGHT]
* @author Raymond Benc
* @package Module_Admincp
* @version $Id: block.class.php 7187 2014-03-13 18:43:36Z Fern $
*/
class Admincp_Service_Block_Block extends Phpfox_Service
{
... | 2,405 |
https://github.com/ChaoLIDataTeam/python-canvas-api/blob/master/scripts/export_submission_attachments.py | Github Open Source | Open Source | MIT | 2,017 | python-canvas-api | ChaoLIDataTeam | Python | Code | 264 | 808 | #!/usr/bin/env python
# -*- coding: utf- -*-
from marking import canvas_api, mongodb_store, marking_actions, marks, file_actions, git_actions, java_actions
import requests
from marking.mongodb_store import content_decode
import os
import argparse
if __name__ == "__main__":
store = mongodb_store.SubmissionStore(... | 18,400 |
https://github.com/dunham/soaride/blob/master/com.soartech.soar.ide.core/src/edu/umich/soar/editor/editors/datamap/DatamapNode.java | Github Open Source | Open Source | TCL, Unlicense | 2,016 | soaride | dunham | Java | Code | 1,094 | 3,745 | package edu.umich.soar.editor.editors.datamap;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import org.eclipse.core.resources.IContainer;
import org.eclipse.core.resources.IFile;
import org.eclipse.core.resources.IResource;
import org.... | 53,499 |
https://github.com/MiniverCheevy/spa-starter-kit/blob/master/dev-tools/Vodoo.CodeGeneration.Tests/AssemblyInitialize.cs | Github Open Source | Open Source | MIT | null | spa-starter-kit | MiniverCheevy | C# | Code | 36 | 136 | using System.Configuration;
using System.Diagnostics;
//using Fernweh.Core;
//using Fernweh.Core.Infrastructure;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Voodoo.Logging;
namespace Fernweh.Tests
{
[TestClass]
public class AssemblyInitialize
{
[TestMethod]
public void Test... | 23,041 |
https://github.com/ihewro/notebook-scala/blob/master/build.sbt | Github Open Source | Open Source | MIT | null | notebook-scala | ihewro | Scala | Code | 44 | 178 | name := "sbt_hello"
version := "0.1"
scalaVersion := "2.12.8"
libraryDependencies += "com.typesafe.akka" %% "akka-actor" % "2.4.17"
libraryDependencies += "com.typesafe.akka" %% "akka-http" % "10.1.9"
libraryDependencies += "com.typesafe.akka" %% "akka-stream" % "2.5.25"
libraryDependencies += "mysql" % "mysql-conne... | 12,262 |
https://github.com/EmilioAiolfi/xstyled/blob/master/packages/styled-components/rollup.config.js | Github Open Source | Open Source | MIT | null | xstyled | EmilioAiolfi | JavaScript | Code | 30 | 125 | import { getRollupConfig } from '../../config/rollup'
import pkg from './package.json'
export default getRollupConfig({
pwd: __dirname,
buildName: 'xstyled-styled-components',
name: 'xstyled',
pkg,
globals: {
react: 'React',
'@xstyled/system': 'xstyledSystem',
'styled-components': 'styled',
},
... | 23,199 |
https://github.com/hueniverse/redat/blob/master/lib/index.js | Github Open Source | Open Source | BSD-3-Clause | 2,017 | redat | hueniverse | JavaScript | Code | 29 | 66 | 'use strict';
// Load modules
const Hash = require('./hash');
const Pair = require('./pair');
// Declare internals
const internals = {};
exports.Client = Hash;
exports.Hash = Hash;
exports.Pair = Pair;
| 1,171 |
https://github.com/MeasureAuthoringTool/fhir-mongoose-models/blob/master/app/assets/javascripts/fhir/EvidenceVariableCharacteristic.js | Github Open Source | Open Source | CC0-1.0 | null | fhir-mongoose-models | MeasureAuthoringTool | JavaScript | Code | 133 | 482 | const { BackboneElementSchema } = require('./BackboneElement');
const { CodeableConceptSchema } = require('./allSchemaHeaders.js');
const { DataRequirementSchema } = require('./allSchemaHeaders.js');
const { DurationSchema } = require('./allSchemaHeaders.js');
const { ExpressionSchema } = require('./allSchemaHeaders.js... | 48,906 |
https://github.com/iCoder333/Nativescript-angular/blob/master/tests/e2e-tests/multi-page-routing.js | Github Open Source | Open Source | Apache-2.0 | null | Nativescript-angular | iCoder333 | JavaScript | Code | 105 | 489 | "use strict";
var nsAppium = require("nativescript-dev-appium");
describe("multi page routing", function () {
this.timeout(360000);
var driver;
before(function () {
driver = nsAppium.createDriver();
});
after(function () {
return driver
.quit()
.finally(function ()... | 50,085 |
https://github.com/tochix/shapes-api/blob/master/src/Controllers/Exceptions/InvalidParameterException.php | Github Open Source | Open Source | MIT | 2,022 | shapes-api | tochix | PHP | Code | 34 | 98 | <?php declare(strict_types=1);
namespace App\Controllers\Exceptions;
final class InvalidParameterException extends ApiException
{
const MESSAGE = 'Provided parameter(s) are invalid: %s';
public static function create(string $msg)
{
$message = sprintf(self::MESSAGE, $msg);
return new self(... | 39,408 |
https://github.com/OilPrice-Where/iOS-main/blob/master/OilPrice-Where/Scenes/Main/List/MainListVC.swift | Github Open Source | Open Source | MIT | 2,020 | iOS-main | OilPrice-Where | Swift | Code | 700 | 2,694 | //
// MainListVC.swift
// OilPrice-Where
//
// Created by wargi on 2022/03/01.
// Copyright © 2022 sangwook park. All rights reserved.
//
import Then
import SnapKit
import UIKit
import RxSwift
import RxCocoa
import NMapsMap
import SCLAlertView
import FirebaseAnalytics
protocol MainListVCDelegate: AnyObject {
... | 2,040 |
https://github.com/rebase-network/tokenbridge-frontend/blob/master/contracts/test/mockERC677Reciever.sol | Github Open Source | Open Source | MIT | null | tokenbridge-frontend | rebase-network | Solidity | Code | 49 | 171 | pragma solidity ^0.5.0;
import "../zeppelin/token/ERC20/ERC20Detailed.sol";
import "../zeppelin/token/ERC20/ERC20.sol";
import "../IERC677Receiver.sol";
contract mockERC677Receiver is IERC677Receiver {
event Success(address _sender, uint _value, bytes _data);
/**
* ERC-677's only method implementation
... | 46,793 |
https://github.com/bpbp-boop/network-weathermap/blob/master/random-bits/query_weathermap_runtime.php | Github Open Source | Open Source | MIT, CC-BY-2.5, LicenseRef-scancode-unknown-license-reference | 2,020 | network-weathermap | bpbp-boop | PHP | Code | 144 | 523 | #!/usr/bin/php
<?php
include dirname(__FILE__) . '/../../../include/config.php';
include dirname(__FILE__) . '/../lib/database.php';
$pdo = weathermap_get_pdo();
$statement = $pdo->prepare("SELECT * FROM settings WHERE name LIKE 'weathermap_%'");
$nmaps = 0;
$warnings = 0;
$statement->execute();
$lines = $statemen... | 16,617 |
https://github.com/fmarco76/FutureGatewayAdmin-LiferayModules/blob/master/future-gateway-admin-portlet/src/main/java/it/infn/ct/indigo/futuregateway/server/FGServerManeger.java | Github Open Source | Open Source | Apache-2.0 | 2,017 | FutureGatewayAdmin-LiferayModules | fmarco76 | Java | Code | 749 | 1,929 | /**
* *********************************************************************
* Copyright (c) 2016: Istituto Nazionale di Fisica Nucleare (INFN) -
* INDIGO-DataCloud
*
* See http://www.infn.it and and http://www.consorzio-cometa.it for details on
* the copyright holders.
*
* Licensed under the Apache License, Ver... | 42,701 |
https://github.com/rjanvier/micmac/blob/master/src/hough/Sources.cmake | Github Open Source | Open Source | CECILL-B | 2,021 | micmac | rjanvier | CMake | Code | 20 | 245 | set(Hough_Src_Files
${HOUGH_DIR}/cPtOfCorrel.cpp
${HOUGH_DIR}/hough_algo.cpp
${HOUGH_DIR}/hough_basic.cpp
${HOUGH_DIR}/hough_clip.cpp
${HOUGH_DIR}/hough_extrac_basic.cpp
${HOUGH_DIR}/hough_file.cpp
${HOUGH_DIR}/hough_filtr_seg_basic.cpp
${HOUGH_DIR}/hough_gen.cpp
${HOUGH_DIR}/hough_inst_fseg.cpp
${HOUGH_DIR}/... | 35,196 |
https://github.com/OneStarrySky/NetworkSynchronization/blob/master/Snaker-master/Assets/Plugins/Android/res/drawable-mdpi/common_signin_btn_text_pressed_light.9.png.meta | Github Open Source | Open Source | MIT | 2,021 | NetworkSynchronization | OneStarrySky | Unity3D Asset | Code | 8 | 52 | fileFormatVersion: 2
guid: bf16896d27ee04bc6ad5a2b01a4aef28
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:
| 46,129 |
https://github.com/openvinotoolkit/openvino/blob/master/tools/mo/openvino/tools/mo/front/mxnet/eye_ext.py | Github Open Source | Open Source | Apache-2.0 | 2,023 | openvino | openvinotoolkit | Python | Code | 80 | 315 | # Copyright (C) 2018-2023 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
import numpy as np
from openvino.tools.mo.ops.eye import MXEye
from openvino.tools.mo.front.extractor import FrontExtractorOp
from openvino.tools.mo.front.mxnet.extractors.utils import get_mxnet_layer_attrs
class EyeExtractor(FrontExt... | 2,324 |
https://github.com/MirzaAliShamal/Takneek/blob/master/resources/views/back/permission/list.blade.php | Github Open Source | Open Source | MIT | null | Takneek | MirzaAliShamal | PHP | Code | 307 | 1,523 | @extends('layouts.back')
@section('content')
<div class="card card-custom gutter-b">
<!--begin::Header-->
<div class="card-header border-0 py-5">
<h3 class="card-title align-items-start flex-column">
<span class="card-label font-weight-bolder text-dark">All Permissions</span>
<s... | 38,963 |
https://github.com/rmotafreitas/BotKaoriDiscord/blob/master/src/commands/AnimeList/reset-list.js | Github Open Source | Open Source | MIT | 2,021 | BotKaoriDiscord | rmotafreitas | JavaScript | Code | 79 | 228 | const { Client, Message, MessageEmbed } = require("discord.js");
const watchlists = require("../../models/watchlist");
module.exports = {
name: "reset-list",
aliases: ["rst"],
cooldown: 2000,
category: "AnimeList",
description: "Reset your kaori watch list",
/**
* @param {Client} client
* @param {Mes... | 5,558 |
https://github.com/willsr/styleguide/blob/master/src/components/Chart/utils.test.js | Github Open Source | Open Source | BSD-3-Clause, MIT | 2,021 | styleguide | willsr | JavaScript | Code | 261 | 888 | import test from 'tape'
import { calculateAxis } from './utils'
const tLabel = identity => identity
test('calculateAxis with round ticks', assert => {
const yAxis = calculateAxis('.2f', tLabel, [99.34, 2507.3], 'Meter', {
ticks: [100, 500, 1000, 2000]
})
assert.equal(yAxis.format(99.34), '99,34', 'format w... | 46,768 |
https://github.com/coffius/idris-exercises/blob/master/ProofExercises_7.idr | Github Open Source | Open Source | MIT | null | idris-exercises | coffius | null | Spoken | 101 | 168 | total sameCons: {xs: List a} -> {ys: List a} -> xs = ys -> x :: xs = x :: ys
sameCons Refl = Refl
total sameLists: {xs: List a} -> {ys: List a} -> x = y -> xs = ys -> x :: xs = y :: ys
sameLists Refl Refl = Refl
data ThreeEq: Nat -> Nat -> Nat -> Type where
Same: (x:Nat) -> ThreeEq x x x
total allSameS: (x, y, z: ... | 13,400 |
https://github.com/reactjsguru/atom-settings/blob/master/packages/git-blame/lib/util/BlameGutter.js | Github Open Source | Open Source | MIT | null | atom-settings | reactjsguru | JavaScript | Code | 695 | 2,313 | 'use babel';
import { debounce, bindAll } from 'lodash';
import { Range, CompositeDisposable } from 'atom';
import React from 'react';
import ReactDOM from 'react-dom';
import Blamer from './Blamer';
import GitCommander from './GitCommander';
import RemoteRevision from './RemoteRevision';
import repositoryForEditorPa... | 29,909 |
https://github.com/use-my-tech-stuff-3-4/FE-3/blob/master/tech-stuff/src/React1/Profile.js | Github Open Source | Open Source | MIT | null | FE-3 | use-my-tech-stuff-3-4 | JavaScript | Code | 169 | 534 | import React, {useState} from 'react';
const Profile = (props) =>{
//hook statement for monitoring state for usertype with initial state being both false
const [userType, setUserType] = useState({
renter: false,
owner: false
})
//a handle submit that asks which boxes are checked and chanes the ... | 7,496 |
https://github.com/alexeiaccio/fhu/blob/master/src/components/elements/full-screen.js | Github Open Source | Open Source | Unlicense, MIT | null | fhu | alexeiaccio | JavaScript | Code | 184 | 573 | import React from 'react'
import PropTypes from 'prop-types'
import { css } from '@emotion/core'
import styled from '@emotion/styled'
import { outlinedStyles } from '../layout/outlined'
const hovered = ({ hover, theme }) => css`
transition: all 200ms ease-in-out;
opacity: ${hover ? 1 : 0};
transform: scale(1);
... | 26,600 |
https://github.com/mongodb/mongo-hhvm-driver/blob/master/tests/bson-serialize-types.phpt | Github Open Source | Open Source | Apache-2.0 | 2,021 | mongo-hhvm-driver | mongodb | PHP | Code | 481 | 3,085 | --TEST--
BSON Object Serialization
--FILE--
<?php
$tests = [
"Binary" => new \MongoDB\BSON\Binary( "foobar", MongoDB\BSON\Binary::TYPE_GENERIC ),
"Binary with empty name" => new \MongoDB\BSON\Binary( '', MongoDB\BSON\Binary::TYPE_GENERIC ),
"Binary with '\\0' in name" => new \MongoDB\BSON\Binary( "\0foo", MongoDB\BS... | 16,648 |
https://github.com/crypto-engineer/interbtc-ui/blob/master/src/pages/Transactions/IssueRequestsTable/IssueRequestModal/WhoopsStatusUI/index.tsx | Github Open Source | Open Source | Apache-2.0 | 2,022 | interbtc-ui | crypto-engineer | TypeScript | Code | 318 | 1,765 | import { useTranslation } from 'react-i18next';
import { useSelector } from 'react-redux';
import clsx from 'clsx';
import RequestWrapper from 'pages/Bridge/RequestWrapper';
import PriceInfo from 'pages/Bridge/PriceInfo';
import Hr2 from 'components/hrs/Hr2';
import InterlayTooltip from 'components/UI/InterlayTooltip'... | 23,938 |
https://github.com/Doc077/melonly-core/blob/master/src/crypto/uuid.class.ts | Github Open Source | Open Source | MIT | 2,022 | melonly-core | Doc077 | TypeScript | Code | 32 | 72 | import { v4, v5 } from 'uuid'
export class Uuid {
public static v4(): string {
return v4()
}
public static v5(input: string, namespace: string): string {
return v5(input, namespace)
}
}
| 2,934 |
https://github.com/jingsam/android-test/blob/master/SMSTest/app/src/main/java/com/mycompany/smstest/MainActivity.java | Github Open Source | Open Source | MIT | 2,016 | android-test | jingsam | Java | Code | 248 | 976 | package com.mycompany.smstest;
import android.app.PendingIntent;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.telephony.SmsManager;
... | 29,424 |
https://github.com/DXCanas/kolibri/blob/master/kolibri/plugins/coach/assets/test/views/AssignmentChangeStatusModal.spec.js | Github Open Source | Open Source | MIT | 2,018 | kolibri | DXCanas | JavaScript | Code | 207 | 692 | import { mount } from '@vue/test-utils';
import AssignmentChangeStatusModal from '../../src/views/assignments/AssignmentChangeStatusModal';
const defaultProps = {
modalTitle: '',
modalDescription: '',
};
// prettier-ignore
function makeWrapper(options) {
const wrapper = mount(AssignmentChangeStatusModal, option... | 38,278 |
https://github.com/DmitriyArkhipov/Interpreter_Pattern/blob/master/interpreter_pattern/ViewController.m | Github Open Source | Open Source | MIT | 2,016 | Interpreter_Pattern | DmitriyArkhipov | Objective-C | Code | 177 | 523 | //
// ViewController.m
// interpreter_pattern
//
// Created by Dmitriy Arkhipov on 16.08.16.
// Copyright © 2016 Dmitriy Arkhipov. All rights reserved.
//
#import "ViewController.h"
#import "InterpreterPattern.h"
@interface ViewController ()
@end
@implementation ViewController
- (void)viewDidLoad {
[super... | 41,053 |
https://github.com/IvanTodorovBG/SoftUni/blob/master/Python Advanced/Advanced/Lists as Stacks and Queues/Exercise/Task01.py | Github Open Source | Open Source | MIT | 2,022 | SoftUni | IvanTodorovBG | Python | Code | 19 | 61 | numbers = [int(num) for num in input().split()]
rev_numbers = []
while numbers:
rev_numbers.append(numbers.pop())
print(f"{' '.join([str(num) for num in rev_numbers])}")
| 25,184 |
https://github.com/rubrikinc/terraform-provider-polaris/blob/master/internal/provider/provider_test.go | Github Open Source | Open Source | MIT | 2,021 | terraform-provider-polaris | rubrikinc | Go | Code | 522 | 1,424 | package provider
import (
"encoding/json"
"fmt"
"os"
"strings"
"text/template"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
)
var provider *schema.Provider = Provider()
var providerFactories = map[string]func() (*schema.Provider, error){
"polaris": func() (*schema.Provider, error) {
return ... | 4,903 |
https://github.com/2kodes/orchid-fluid/blob/master/src/FluidServiceProvider.php | Github Open Source | Open Source | MIT | null | orchid-fluid | 2kodes | PHP | Code | 47 | 170 | <?php
declare(strict_types=1);
namespace Tabuna\Fluid;
use Illuminate\Support\ServiceProvider;
/**
* Class FluidServiceProvider
*
*/
class FluidServiceProvider extends ServiceProvider
{
/**
* Bootstrap any application services.
*
* @return void
*/
public function boot()
{
... | 53,407 |
https://github.com/bundle-dao/bundle-contract/blob/master/contracts/6/protocol/BundleVault.sol | Github Open Source | Open Source | MIT | 2,021 | bundle-contract | bundle-dao | Solidity | Code | 1,326 | 4,426 | // SPDX-License-Identifier: MIT
pragma solidity 0.6.12;
pragma experimental ABIEncoderV2;
import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol";
import "@openzeppelin/contracts/math/SafeMath.sol";
import "@openzeppelin/contracts/math/Math.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@bundle-... | 13,889 |
https://github.com/paolozu/UnivaqPush/blob/master/src/UnivaqPushIonic/src/pages/adsu/adsu.ts | Github Open Source | Open Source | MIT | 2,018 | UnivaqPush | paolozu | TypeScript | Code | 40 | 127 | import { Component } from '@angular/core';
import { IonicPage } from 'ionic-angular';
@IonicPage()
@Component({
selector: "page-adsu",
templateUrl: "adsu.html"
})
export class AdsuPage {
protected time_phone: string;
protected seat: string;
constructor(){}
ionViewDidLoad() {
this.time_phone = "front-... | 43,801 |
https://github.com/Mortens4444/VoiceController/blob/master/VoiceController/Commands/IStopListening.cs | Github Open Source | Open Source | MIT | null | VoiceController | Mortens4444 | C# | Code | 8 | 26 | namespace VoiceController.Commands
{
interface IStopListening
{
}
}
| 43,957 |
https://github.com/dballesteros7/alius/blob/master/frontend/app/src/toolbar/auto-focus.js | Github Open Source | Open Source | MIT | 2,016 | alius | dballesteros7 | JavaScript | Code | 66 | 198 | (function () {
'use strict';
angular.module('alius')
.directive('aliusAutoFocus', ['$timeout', function ($timeout) {
function link(scope, element) {
scope.aliusFocus = function () {
var el = element[0];
$timeout(function () {
el.focus();
}, ... | 49,605 |
https://github.com/syberant/nix-conf/blob/master/configuration/home-manager/modules/shell.nix | Github Open Source | Open Source | MIT | 2,021 | nix-conf | syberant | null | Spoken | 24 | 65 | { ... }:
{
home.sessionVariables = {
VISUAL = "nvim";
EDITOR = "nvim";
# Use neovim as manpager
MANPAGER = "nvim +Man!";
};
}
| 611 |
https://github.com/laoyu456/task_job/blob/master/application/common/logic/LogicBase.php | Github Open Source | Open Source | Apache-2.0 | null | task_job | laoyu456 | PHP | Code | 64 | 163 | <?php
// +----------------------------------------------------------------------
// | 兼职任务app服务端
// +----------------------------------------------------------------------
// | Author: apeLiu
// +----------------------------------------------------------------------
namespace app\common\logic;
class LogicBase
{
... | 10,857 |
https://github.com/PJijin/react-rainbow/blob/master/src/components/GoogleAddressLookup/helpers/getSearchForOption.js | Github Open Source | Open Source | MIT | 2,019 | react-rainbow | PJijin | JavaScript | Code | 34 | 141 | import React from 'react';
import SearchValueIcon from '../icons/searchValueIcon';
export default function getSearchForOption(searchValue) {
return {
label: (
<span className="rainbow-google-address-lookup_search-option-label">
Search for:
<span className="rainbo... | 23,966 |
https://github.com/codeAligned/mDA-Tensorflow/blob/master/denoising_autoencoder.py | Github Open Source | Open Source | MIT | 2,018 | mDA-Tensorflow | codeAligned | Python | Code | 179 | 771 | # Author: Satwik Bhattamishra
import tensorflow as tf
import numpy as np
import tensorflow.examples.tutorials.mnist.input_data as input_data
def denoising_autoencoder(hidden_units= 1000, prob=0.4):
learning_rate = 0.005
batch_size = 50
n_epochs = 300
x = tf.placeholder(tf.float32, [None, 784], name='x')
x_ = ... | 45,028 |
https://github.com/DigitalMachinist/HexGrid/blob/master/docs/html/search/variables_0.js | Github Open Source | Open Source | MIT | 2,019 | HexGrid | DigitalMachinist | JavaScript | Code | 5 | 97 | var searchData=
[
['one_5fthird',['ONE_THIRD',['../classca_1_1axoninteractive_1_1_geometry_1_1_hex_1_1_hex_grid.html#a7fe2070afda46b0c992be08657cf32f4',1,'ca::axoninteractive::Geometry::Hex::HexGrid']]]
];
| 44,866 |
https://github.com/iShopifyExpert/Ajaxinate/blob/master/gulpfile.js | Github Open Source | Open Source | MIT | null | Ajaxinate | iShopifyExpert | JavaScript | Code | 578 | 1,688 | 'use strict';
// Default gulp modules
const gulp = require('gulp');
const tap = require('gulp-tap');
const babel = require('gulp-babel');
const minify = require('gulp-minify');
const rename = require('gulp-rename'); // Helps rename files or changing extensions
const babelMinify = require("gulp-babel-minify"); // Conve... | 27,775 |
https://github.com/Apron63/AppleTest/blob/master/backend/views/site/index.php | Github Open Source | Open Source | BSD-3-Clause | null | AppleTest | Apron63 | PHP | Code | 189 | 710 | <?php
use yii\data\ActiveDataProvider;
use yii\grid\GridView;
use yii\helpers\Html;
use yii\web\View;
/** @var ActiveDataProvider $dataProvider */
/** @var int $timeBooster title */
$this->title = 'Яблоки повсюду!';
?>
<div class="site-index">
<div class="well">
<?= Html::a('Создать яблочко', ['apple/c... | 39,469 |
https://github.com/TheNotoriousOOP/Iteration3/blob/master/src/main/model/resources/resourceVisitor/RemoveResourceVisitor.java | Github Open Source | Open Source | Apache-2.0 | 2,017 | Iteration3 | TheNotoriousOOP | Java | Code | 36 | 121 | package model.resources.resourceVisitor;
import model.resources.ResourceStorage;
/**
* Created by Customer-PC on 4/15/2017.
*/
public class RemoveResourceVisitor implements ResourceVisitor{
private InnerResourceVisitor visitor;
public RemoveResourceVisitor(InnerResourceVisitor visitor) {
this.visi... | 22,395 |
https://github.com/dns2316/learn_java/blob/master/home_work/tablex/src/table/a2.java | Github Open Source | Open Source | MIT | 2,016 | learn_java | dns2316 | Java | Code | 44 | 114 | package table;
/************************************
* Created by dns2316 on 03.06.2016.*
***********************************/
public class a2 {
public static int[] create(int x){
int[] tablex = new int[9];
for (int i = 1; i<10; i++){
tablex[i] = x * i;
tablex[i+1] = i;
... | 38,630 |
https://github.com/ransoing/tat-proxy/blob/master/api/getCampaigns.php | Github Open Source | Open Source | MIT | 2,019 | tat-proxy | ransoing | PHP | Code | 105 | 317 | <?php
/**
* The high-level code for the getCampaigns API call.
* See index.php for usage details.
*/
require_once( '../functions.php' );
require_once( '../api-support-functions.php' );
$firebaseUid = verifyFirebaseLogin();
addToLog( 'command: getCampaigns' );
getSalesforceContactID( $firebaseUid )->then( functi... | 2,879 |
https://github.com/anton46/ShowcaseView/blob/master/library/test/com/espian/showcaseview/ShowcaseViewTests.java | Github Open Source | Open Source | Apache-2.0 | 2,016 | ShowcaseView | anton46 | Java | Code | 164 | 896 | package com.espian.showcaseview;
import android.graphics.Point;
import com.espian.showcaseview.targets.Target;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.robolectric.Robolectric;
import org.robolectric.RobolectricTestRunner;
import org.robolectric.annotation.Config;
i... | 31,238 |
https://github.com/sarvex/Cachet/blob/master/app/lang/en/setup.php | Github Open Source | Open Source | MIT, BSD-3-Clause | 2,023 | Cachet | sarvex | PHP | Code | 61 | 174 | <?php
return [
'setup' => 'Setup',
'title' => 'Setup Cachet',
'service_details' => 'Service Details',
'status_page_setup' => 'Status Page Setup',
'show_support' => 'Show support for Cachet? <small>Places a link in the footer linking to Cachet.</small>',
'admin_acc... | 12,820 |
https://github.com/pjabang1/market-research-tool/blob/master/src/AEMR/Bundle/MarketResearchBundle/Command/LoadCsvCommand.php | Github Open Source | Open Source | MIT | null | market-research-tool | pjabang1 | PHP | Code | 115 | 578 | <?php
namespace AEMR\Bundle\MarketResearchBundle\Command;
ini_set('memory_limit', '200M');
use AEMR\Bundle\MarketResearchBundle\Command\ConnectionAwareCommand;
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Input\InputOption;
use Sy... | 25,497 |
https://github.com/chromia/pyspk/blob/master/spark/include/Extensions/Zones/SPK_Plane.h | Github Open Source | Open Source | Zlib | null | pyspk | chromia | C | Code | 611 | 1,496 | //////////////////////////////////////////////////////////////////////////////////
// SPARK particle engine //
// Copyright (C) 2008-2009 - Julien Fryer - julienfryer@gmail.com //
// //
// This software is provided 'as-is', without any express or implied //
// warranty. In no event... | 11,607 |
https://github.com/ahsai001/zlcore/blob/master/zlcore/src/main/java/com/zaitunlabs/zlcore/modules/shaum_sholat/SholatReminderReceiver.java | Github Open Source | Open Source | MIT | null | zlcore | ahsai001 | Java | Code | 174 | 979 | package com.zaitunlabs.zlcore.modules.shaum_sholat;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import com.zaitunlabs.zlcore.R;
import com.zaitunlabs.zlcore.utils.CommonUtil;
import com.zaitunlabs.zlcore.utils.Prefs;
import java.util.Calendar;
/**
* Cre... | 45,725 |
https://github.com/aliyun/aliyun-openapi-java-sdk/blob/master/aliyun-java-sdk-iovcc/src/main/java/com/aliyuncs/iovcc/model/v20180501/ListTriggersResponse.java | Github Open Source | Open Source | Apache-2.0 | 2,023 | aliyun-openapi-java-sdk | aliyun | Java | Code | 652 | 2,030 | /*
* 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 writing, software
* distributed u... | 38,922 |
https://github.com/firstApp-team/firstApp/blob/master/firstApp_bak/src/main/java/com/springboot/dao/UserMapper.java | Github Open Source | Open Source | Apache-2.0 | 2,019 | firstApp | firstApp-team | Java | Code | 27 | 120 | package com.springboot.dao;
import com.springboot.model.User;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.stereotype.Repository;
/**
* Creat... | 53,132 |
https://github.com/RobertoE90/UnityDotsMusicRoad/blob/master/Assets/MyAssets/Scripts/DOTS/Systems/PerlinNoiseValueCompute.cs | Github Open Source | Open Source | MIT | 2,021 | UnityDotsMusicRoad | RobertoE90 | C# | Code | 149 | 456 | using Unity.Collections;
using Unity.Entities;
using Unity.Jobs;
using Unity.Mathematics;
using Unity.Transforms;
using UnityEngine;
public class PerlinNoiseValueCompute : JobComponentSystem
{
private float _time = 0f;
protected override JobHandle OnUpdate(JobHandle inputDeps)
{
_time += Time.Del... | 25,909 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.