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/Naveed11/Hospital-Management-System/blob/master/HospitalManagementSystem/Views/Schedule/ScheduleList.cshtml | Github Open Source | Open Source | BSD-3-Clause | 2,020 | Hospital-Management-System | Naveed11 | HTML+Razor | Code | 107 | 438 |
@{
ViewBag.Title = "ScheduleList";
Layout = "~/Views/myLayout.cshtml";
}
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
</head>
<body>
<div class="content-wrapper" style="min-height: 1070px;">
<!-- Content Header (Page header) -->
<section class="content-header">
... | 35,931 |
https://github.com/all-of-us/data-browser/blob/master/public-api/src/main/java/org/pmiops/workbench/exceptions/DataBrowserException.java | Github Open Source | Open Source | BSD-3-Clause | 2,021 | data-browser | all-of-us | Java | Code | 89 | 309 | package org.pmiops.workbench.exceptions;
import org.pmiops.workbench.model.ErrorCode;
import org.pmiops.workbench.model.ErrorResponse;
public class DataBrowserException extends RuntimeException {
private ErrorResponse errorResponse;
public DataBrowserException() {
super();
}
public DataBrow... | 49,910 |
https://github.com/aghasyedbilal/intellij-community/blob/master/platform/platform-impl/src/com/intellij/internal/validation/MacMessagesTest.java | Github Open Source | Open Source | Apache-2.0 | 2,020 | intellij-community | aghasyedbilal | Java | Code | 288 | 1,153 | // Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.internal.validation;
import com.intellij.openapi.actionSystem.AnAction;
import com.intellij.openapi.actionSystem.AnActionEvent;
import com.intellij.openapi.a... | 6,747 |
https://github.com/wwoods/job_stream/blob/master/python/job_stream/test/lib/checkpoint_1.py | Github Open Source | Open Source | MIT | 2,022 | job_stream | wwoods | Python | Code | 47 | 150 |
import job_stream.common as common
import sys
class addOneAndQuit(common.Job):
def handleWork(self, w):
self._forceCheckpoint(True)
self.emit(w + 1)
if __name__ == '__main__':
common.work = [ 1 ]
common.run({
'jobs': [
{ 'type': addOneAndQuit },
... | 24,585 |
https://github.com/LeviWGG/EnableHands/blob/master/app/src/main/java/app/main/wangliwei/enablehands/base/BaseActivity.java | Github Open Source | Open Source | Apache-2.0 | 2,021 | EnableHands | LeviWGG | Java | Code | 185 | 811 | package app.main.wangliwei.enablehands.base;
import android.content.Intent;
import android.graphics.Color;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import app.main.wangli... | 7,010 |
https://github.com/RyanLiu0808/GdeiAssistant/blob/master/src/main/webapp/WEB-INF/view/Ershou/ershouEdit.jsp | Github Open Source | Open Source | MIT | 2,019 | GdeiAssistant | RyanLiu0808 | null | Spoken | 609 | 3,501 | <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport"
content="width=device-width,initial-scale=1.0,user-scalable=no,mini... | 24,065 |
https://github.com/stan-dev/math/blob/master/test/unit/math/fwd/prob/multi_student_t_test.cpp | Github Open Source | Open Source | BSD-3-Clause, GPL-2.0-only, Apache-2.0 | 2,023 | math | stan-dev | C++ | Code | 206 | 788 | #include <stan/math/fwd.hpp>
#include <gtest/gtest.h>
#include <boost/random/mersenne_twister.hpp>
#include <boost/math/distributions.hpp>
TEST(ProbDistributionsMultiStudentT, fvar_double) {
using Eigen::Dynamic;
using Eigen::Matrix;
using stan::math::fvar;
using stan::math::multi_student_t_log;
using std::v... | 10,608 |
https://github.com/sanjaygajjala/angular-tree-table/blob/master/projects/angular-tree-table/src/classes/tree-table-header-object.ts | Github Open Source | Open Source | MIT | null | angular-tree-table | sanjaygajjala | TypeScript | Code | 69 | 183 | import { TtDataType } from './tt-data-type';
export class TreeTableHeaderObject {
dataProperty: string;
title: string;
style: string;
show: boolean;
dataType: TtDataType = TtDataType.TEXT;
enableColumnSearch = true; //It will take effect when column search is enabled in data
canChangeVisbil... | 12,741 |
https://github.com/zjp693/Learning-diary/blob/master/2021年上学期/React/期末考试编程题/全栈19期末考试编程题/编程题/src/App.js | Github Open Source | Open Source | MIT | null | Learning-diary | zjp693 | JavaScript | Code | 291 | 1,210 | import "./App.css";
import React, { useState,useEffect } from "react";
var flang = false
function App() {
// 设置初始值
const [state, setstate] = useState([
{ id: 1, name: "西游记", ctime: "2021/7/10" },
{ id: 2, name: "水浒传", ctime: "2021/7/10" },
{ id: 3, name: "红楼梦", ctime: "2021/7/10" },
]);
// 编号
... | 24,356 |
https://github.com/kiat/star/blob/master/src/Engine/rrb.c | Github Open Source | Open Source | Apache-2.0 | null | star | kiat | C | Code | 1,266 | 3,658 | //
// Created by Francis McCabe on 6/1/18.
// Relaxed Radix Balanced Trees
#include "rrbP.h"
#include <assert.h>
#include <globals.h>
#include "heapP.h"
static long vectorSize(specialClassPo cl, termPo o);
static termPo vectorCopy(specialClassPo cl, termPo dst, termPo src);
static termPo vectorScan(specialClassPo cl... | 26,233 |
https://github.com/redis-developer/helplanet/blob/master/helplanet-support/src/models/notification.dto.ts | Github Open Source | Open Source | MIT | null | helplanet | redis-developer | TypeScript | Code | 64 | 226 | import { GeoModel, GRAVITY } from "./formNotification.model";
export enum MENU{
animal = 'animal',
contamination = 'contamination',
garbage = 'garbage',
delinquency = 'delinquency'
}
export class NotificationDTO{
id:string | null;
level:GRAVITY;
text:string;
geo:string;
situation:... | 42,051 |
https://github.com/itoufo/stoq-web2/blob/master/src/app/components/answers/form/form.component.ts | Github Open Source | Open Source | MIT | null | stoq-web2 | itoufo | TypeScript | Code | 61 | 193 | import {Component} from '@angular/core';
import {
Answer,
Question
} from "./../../../models"
@Component({
selector: 'answer-form',
templateUrl: './form.component.html',
styleUrls: ['./form.component.scss'],
inputs: ["answer", "question"],
})
export class AnswersFormComponent {
public question: Questio... | 37,058 |
https://github.com/MACROSSBR/steamclient-flutter/blob/master/lib/views/widgets/storefront/browse_by.dart | Github Open Source | Open Source | MIT | 2,020 | steamclient-flutter | MACROSSBR | Dart | Code | 123 | 519 | import 'package:flutter/material.dart';
import 'package:steamclient/common/predefined_colors.dart' as PredefinedColors;
class BrowseBy extends StatelessWidget {
final btns = ['New Releases', 'Free Games', 'VR Games'];
@override
Widget build(BuildContext context) {
return Container(
alignment: Alignmen... | 5,754 |
https://github.com/sjones4/eucalyptus-sdk-go/blob/master/service/euserv/euserviface/interface.go | Github Open Source | Open Source | BSD-2-Clause | null | eucalyptus-sdk-go | sjones4 | Go | Code | 347 | 809 | // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
// Package euserviface provides an interface to enable mocking the Eucalyptus Cloud Service Management Service service client
// for testing your code.
//
// It is important to note that this interface will have breaking changes
// when the service m... | 37,181 |
https://github.com/autonomous-interdependent-repositories/airport/blob/master/libs/fuel-hydrant-system/lib/sql/core/SQLInsertValues.d.ts | Github Open Source | Open Source | Apache-2.0, MIT | null | airport | autonomous-interdependent-repositories | TypeScript | Code | 66 | 214 | import { DbEntity, JsonInsertValues } from '@airport/ground-control';
import { IFuelHydrantContext } from '../../FuelHydrantContext';
import { SQLNoJoinQuery } from './SQLNoJoinQuery';
import { SQLDialect } from './SQLQuery';
/**
* Created by Papa on 11/17/2016.
*/
export declare class SQLInsertValues extends SQLNoJo... | 36,827 |
https://github.com/cofoundry-cms/cofoundry/blob/master/src/Cofoundry.Web/App_Start/Routes/AssetsRouteRegistration.cs | Github Open Source | Open Source | MIT | 2,023 | cofoundry | cofoundry-cms | C# | Code | 212 | 828 | using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Routing;
namespace Cofoundry.Web;
public class AssetsRouteRegistration : IOrderedRouteRegistration, IRunAfterRouteRegistration
{
private readonly DocumentAssetsSettings _documentAssetsSettings;
private readonly ImageAssetsSettings _imageAssetsSet... | 7,638 |
https://github.com/mesur-io/vc.transmute.world/blob/master/packages/vc-http-api/src/routes/v0.0.0/index.ts | Github Open Source | Open Source | Apache-2.0 | 2,021 | vc.transmute.world | mesur-io | TypeScript | Code | 271 | 989 | // import credential from '../../data/c.json';
// import verifiableCredential from '../../data/vc.json';
// import verifiablePresentation from '../../data/vp.json';
export default (server: any, _opts: any, done: any) => {
server.post(
'/credentials/issueCredential',
{
schema: {
description: '',... | 46,593 |
https://github.com/vyoussofzadeh/CAMEG_tool/blob/master/External functions/Other/csvwrite.m | Github Open Source | Open Source | BSD-2-Clause | 2,016 | CAMEG_tool | vyoussofzadeh | MATLAB | Code | 11 | 86 | function csvwrite(fileName,cellArray)
fid = fopen(fileName,'w');
for i=1:size(cellArray,1)
fprintf(fid,'%s,',cellArray{i,1:end-1});
fprintf(fid,'%s\n',cellArray{i,end});
end
fclose(fid); | 29,642 |
https://github.com/chcontrol/elearning-laravel/blob/master/public/themes/edugator/dashboard/sidebar-menu.blade.php | Github Open Source | Open Source | MIT | null | elearning-laravel | chcontrol | PHP | Code | 69 | 318 | <ul class="dashboard-menu">
<li class="{{request()->is('dashboard') ? 'active' : ''}}"><a href="{{route('dashboard')}}"> <i class="la la-dashboard"></i> {{__t('dashboard')}} </a></li>
@php
$menus = dashboard_menu();
@endphp
<li >
<a href="../../calendar"> Calendar </a>
</li>
@if(is_array($men... | 8,255 |
https://github.com/pabloderen/pyRevitExtension/blob/master/lib/tools.py | Github Open Source | Open Source | MIT | 2,021 | pyRevitExtension | pabloderen | Python | Code | 113 | 384 |
import clr
import math
from System.Collections.Generic import List
from Autodesk.Revit.DB import FilteredElementCollector, BasePoint, BuiltInParameter,\
Options, RevitLinkInstance, WorksetKind, FilteredWorksetCollector, ElementCategoryFilter,\
CategoryType, LogicalOrFilter, ElementFilter
def categoryFilt... | 39,668 |
https://github.com/krambuhl/Patchbay/blob/master/source/router.js | Github Open Source | Open Source | MIT | 2,014 | Patchbay | krambuhl | JavaScript | Code | 11 | 34 | Patchbay.Router = (function() {
var Router = Struck.EventObject.extend();
return Router;
}); | 13,434 |
https://github.com/OpenMS/OpenMS/blob/master/src/openms/thirdparty/evergreen/src/Tensor/transpose.hpp | Github Open Source | Open Source | MIT, BSD-3-Clause, BSL-1.0 | 2,023 | OpenMS | OpenMS | C++ | Code | 683 | 2,153 | #ifndef _TRANSPOSE_HPP
#define _TRANSPOSE_HPP
#include "MatrixTranspose.hpp"
template <typename T>
class Tensor;
// Empirically chosen:
const unsigned long SIZE_WHERE_NAIVE_TRANSPOSE_BECOMES_SLOWER = 8;
template <typename T>
inline Tensor<T> naive_transposed(const Tensor<T> & ten, const Vector<unsigned char> & new_... | 23,406 |
https://github.com/Cingozzz/Distribution/blob/master/s/storm-react-diagrams/src/main/scala/typings/stormReactDiagrams/defaultLabelFactoryMod.scala | Github Open Source | Open Source | MIT | 2,021 | Distribution | Cingozzz | Scala | Code | 28 | 172 | package typings.stormReactDiagrams
import typings.stormReactDiagrams.abstractLabelFactoryMod.AbstractLabelFactory
import typings.stormReactDiagrams.defaultLabelModelMod.DefaultLabelModel
import org.scalablytyped.runtime.StObject
import scala.scalajs.js
import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImp... | 42,408 |
https://github.com/kit-transue/software-emancipation-discover/blob/master/model_server/gra/src/graWindow.h.cxx | Github Open Source | Open Source | BSD-2-Clause | 2,015 | software-emancipation-discover | kit-transue | C++ | Code | 3,302 | 8,937 | /*************************************************************************
* Copyright (c) 2015, Synopsys, Inc. *
* All rights reserved. *
* *
* Redistribution and... | 19,752 |
https://github.com/threadheap/serviceless/blob/master/src/commands/deploy/__tests__/index.test.js | Github Open Source | Open Source | MIT | 2,018 | serviceless | threadheap | JavaScript | Code | 397 | 1,318 | 'use strict';
// mocks
const mockSelectService = jest.fn(() => Promise.resolve('path'));
const mockCli = jest.fn(() => ({
selectService: mockSelectService
}));
const mockDeployMultiple = jest.fn();
const mockDiscoverServices = jest.fn();
jest.mock('../../../cli', () => mockCli);
jest.mock('../../../serverless/dep... | 23,820 |
https://github.com/dsofowote/KW-Tool/blob/master/keywordTool/pubfiles/src/code/thecanary/128056/domainInfo.inc.js | Github Open Source | Open Source | MIT | null | KW-Tool | dsofowote | JavaScript | Code | 6 | 25 | integration.whiteRootDomains = ['thecanary.co'];
integration.blackSubDomains = [];
| 32,546 |
https://github.com/bgmerrell/simgo/blob/master/examples/electric_car.go | Github Open Source | Open Source | MIT | 2,019 | simgo | bgmerrell | Go | Code | 240 | 707 | package main
import (
"fmt"
"github.com/bgmerrell/simgo"
)
// simpy example:
/*
class Car(object):
def __init__(self, env):
self.env = env
# Start the run process everytime an instance is created.
self.action = env.process(self.run())
def run(self):
while True:
... | 48,745 |
https://github.com/cloh76/steemitphilippines.com/blob/master/src/app/components/elements/Reputation.story.jsx | Github Open Source | Open Source | MIT | 2,018 | steemitphilippines.com | cloh76 | JavaScript | Code | 29 | 80 | import React from 'react';
import { storiesOf } from '@storybook/react';
import Reputation from './Reputation';
import { Center } from 'decorators';
storiesOf('Elements', module)
.addDecorator(Center)
.add('Reputation', () => <Reputation value={1200} />);
| 29,071 |
https://github.com/bozhnyukAlex/SPBU_hometasks/blob/master/SEMESTER #3/parAlgHW/src/com/company/parensTask/ProcessingThread.java | Github Open Source | Open Source | MIT | null | SPBU_hometasks | bozhnyukAlex | Java | Code | 202 | 530 | package com.company.parensTask;
public class ProcessingThread extends Thread {
private Task task;
private String string;
private Integer[] array;
private int tId;
private int threadNum;
private int fromInc;
private int toExc;
private boolean arePrefixesCorrect;
private Integer[] pre... | 38,409 |
https://github.com/Proroks/unibelt/blob/master/js/dev.scripts.js | Github Open Source | Open Source | MIT | 2,017 | unibelt | Proroks | JavaScript | Code | 519 | 2,856 | $('#instagram').find('.slick-arrow').hide();
$(document).ready( function() {
$('.carousel-caption p').typewriter({speed:100});
$('.popap').magnificPopup({
fixedContentPos: false,
removalDelay: 500, //delay removal by X to allow out-animation
callbacks: {
beforeOpen: function() {
... | 42,189 |
https://github.com/sameasychen/Sam-Personal-Site/blob/master/my-page/src/ContactForm.js | Github Open Source | Open Source | MIT | null | Sam-Personal-Site | sameasychen | JavaScript | Code | 259 | 1,280 | import React from 'react';
const initialState={
name: "",
email: "",
phone: "",
message: ""
}
class ContactForm extends React.Component {
constructor(){
super()
this.state={
name: "",
email: "",
phone: "",
message: "",
na... | 40,764 |
https://github.com/bjornharrtell/geozero/blob/master/geozero/src/mvt/mvt_commands.rs | Github Open Source | Open Source | Apache-2.0, MIT | 2,020 | geozero | bjornharrtell | Rust | Code | 205 | 645 | /// Command to be executed and the number of times that the command will be executed
/// https://github.com/mapbox/vector-tile-spec/tree/master/2.1#431-command-integers
pub struct CommandInteger(pub u32);
pub enum Command {
MoveTo = 1,
LineTo = 2,
ClosePath = 7,
}
impl CommandInteger {
pub fn from(id:... | 22,901 |
https://github.com/hexfaktor/hex_faktor_web/blob/master/web/static/js/socket.js | Github Open Source | Open Source | MIT | 2,018 | hex_faktor_web | hexfaktor | JavaScript | Code | 34 | 101 | import {Socket} from "phoenix"
import Meta from "./meta"
import * as ProjectChannel from "./project_channel"
import * as UserChannel from "./user_channel"
let socket = new Socket("/socket", {params: {token: Meta.get("hf:user_token")}})
socket.connect()
ProjectChannel.init(socket)
UserChannel.init(socket)
export def... | 29,499 |
https://github.com/IrynaVaku/framework/blob/master/.mocharc.js | Github Open Source | Open Source | MIT | null | framework | IrynaVaku | JavaScript | Code | 47 | 125 | module.exports = {
//Import babel to the project
require: '@babel/register',
//Setup all the specs that will be runned
spec: 'specs/**/3.edit.order.spec.js',
//Setup configuretion file - MAIN HOOKS
file: 'config/setup.js',
//Setup all the specs that will be ignored
//ignore: 'specs/example.spec'... | 8,331 |
https://github.com/CraiovaPD/epoll-web/blob/master/src/client/store/debates/activeDebate.actions.ts | Github Open Source | Open Source | MIT | 2,019 | epoll-web | CraiovaPD | TypeScript | Code | 101 | 272 | import { Action } from '@ngrx/store';
import { IDebate, DebateState } from '../../types/debates/IDebate';
import { IVote } from '../../types/debates/IVote';
export enum ActiveDebateActionTypes {
SET = '[Active Debate] Set',
ADD_VOTE = '[Active Debate] Add Vote',
UPDATE_STATE = '[Active Debate] Update State'
}
e... | 7,823 |
https://github.com/sstsimulator/sst-macro/blob/master/sstmac/hardware/snappr/snappr.cc | Github Open Source | Open Source | BSD-3-Clause | 2,023 | sst-macro | sstsimulator | C++ | Code | 446 | 1,040 | /**
Copyright 2009-2023 National Technology and Engineering Solutions of Sandia,
LLC (NTESS). Under the terms of Contract DE-NA-0003525, the U.S. Government
retains certain rights in this software.
Sandia National Laboratories is a multimission laboratory managed and operated
by National Technology and Engineering So... | 2,767 |
https://github.com/jahidanowar/tournament/blob/master/application/controllers/auth/Login.php | Github Open Source | Open Source | MIT | null | tournament | jahidanowar | PHP | Code | 77 | 411 | <?php
class Login extends MY_Controller{
function __construct(){
parent::__construct();
$this->load->model('Auth_model');
$this->load->library('encryption');
if($this->session->userdata('id')){
redirect('tournament');
}
}
public function index(){
... | 41,622 |
https://github.com/bmagrini/laravel-vue/blob/master/resources/assets/js/layout/header/menu-left.vue | Github Open Source | Open Source | MIT | 2,018 | laravel-vue | bmagrini | Vue | Code | 42 | 183 | <script>
import { mapGetters } from 'vuex'
export default {
name: 'layout-menu',
computed: {
...mapGetters(['twoFactorIsValid', 'userIsAdmin'])
}
}
</script>
<template>
<ul class="navbar-nav mr-auto" v-if="userIsAdmin && twoFactorIsValid">
<li class="nav-item dropdown">
<router-link class="nav-... | 14,793 |
https://github.com/Goldeimer/goldeimer-web-apps/blob/master/lib/js-util/src/detect/detect.js | Github Open Source | Open Source | BSD-2-Clause | 2,020 | goldeimer-web-apps | Goldeimer | JavaScript | Code | 16 | 40 | export {
default as detectHover
} from './detectHover'
export {
default as detectIos
} from './detectIos'
| 24,569 |
https://github.com/aniket91/ext-angular-1/blob/master/packages/ext-angular-modern-kitchensink/src/examples/Trees/Tree/Tree.ts | Github Open Source | Open Source | MIT | null | ext-angular-1 | aniket91 | TypeScript | Code | 51 | 158 | import { Component, OnInit, ViewChild, ElementRef } from '@angular/core';
declare var Ext: any;
import {data} from './data'
@Component({
selector: 'tree-component',
templateUrl: './Tree.html',
styles: [``]
})
export class TreeComponent implements OnInit {
constructor() { }
treeStore = Ext.create('Ext.dat... | 38,864 |
https://github.com/nascimentoandre/stopwatch-app/blob/master/app/components/Alarm.tsx | Github Open Source | Open Source | MIT | null | stopwatch-app | nascimentoandre | TypeScript | Code | 38 | 96 | import React from "react";
import { View, Text, StyleSheet } from "react-native";
interface Props {
textStyle: object,
}
const Alarm: React.FC<Props> = ({ textStyle }) => {
return (
<View>
<Text style={textStyle}>Alarm</Text>
</View>
);
}
export default Alarm; | 3,998 |
https://github.com/sahil315/Google-/blob/master/style.scss | Github Open Source | Open Source | MIT | null | Google- | sahil315 | SCSS | Code | 59 | 291 | body {
margin: 0;
padding: 0;
}
.logo{
height:150px;
width:150px;
position:absolute;
top:50%;
left:50%;
transform:translate(-50%, -50%);
border-radius:50%;
border-top:50px solid #ea4335;
border-bottom:50px solid #34a583;
border-right:50px solid #4285f4;
border-left:50px solid #fbb605;
&:be... | 22,676 |
https://github.com/Popniten/ts-express-boilerplate/blob/master/client/sass/style.scss | Github Open Source | Open Source | MIT | null | ts-express-boilerplate | Popniten | SCSS | Code | 10 | 29 | @import 'theme';
html {
body {
background: $bg-color;
}
}
| 38,445 |
https://github.com/SynieztroLedPar/Wu/blob/master/org/apache/http/message/HeaderValueFormatter.java | Github Open Source | Open Source | IJG | 2,020 | Wu | SynieztroLedPar | Java | Code | 67 | 266 | package org.apache.http.message;
import org.apache.http.HeaderElement;
import org.apache.http.NameValuePair;
import org.apache.http.util.CharArrayBuffer;
public abstract interface HeaderValueFormatter
{
public abstract CharArrayBuffer formatElements(CharArrayBuffer paramCharArrayBuffer, HeaderElement[] paramArrayOf... | 40,100 |
https://github.com/JetBrains/teamcity-git/blob/master/git-common/src/jetbrains/buildServer/buildTriggers/vcs/git/URIishHelper.java | Github Open Source | Open Source | Apache-2.0 | 2,023 | teamcity-git | JetBrains | Java | Code | 208 | 443 | /*
* Copyright 2000-2019 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | 3,750 |
https://github.com/xingkong906/CitationRecommend/blob/master/data_set/generating.py | Github Open Source | Open Source | Apache-2.0 | 2,021 | CitationRecommend | xingkong906 | Python | Code | 390 | 1,309 | # -*- coding: utf-8 -*-
# !/usr/bin/python3
"""
-------------------------------------------------
File Name: generating.py
Author : Carl
Author_email: xingkong906@outlook.com
date: generating.py
Description : 用于从数据库中读取数据生成本地数据文件
-------------------------------------------------
#... | 12,113 |
https://github.com/HououinKyouma29/impacto/blob/master/modules/FindOggVorbis.cmake | Github Open Source | Open Source | ISC | 2,022 | impacto | HououinKyouma29 | CMake | Code | 90 | 552 | set(_OGGVORBIS_SEARCH
PATHS
~/Library/Frameworks
/Library/Frameworks
/sw # Fink
/opt/local # DarwinPorts
/opt/csw # Blastwave
/opt
)
foreach(search ${_OGGVORBIS_SEARCH})
find_path(OGG_INCLUDE_DIR ogg/ogg.h
HINTS
ENV OGGDIR
PATH_SUFFIXES include
)
find_path(VORBIS_INCLUDE_DIR vorbis/vorbisfile.h... | 21,784 |
https://github.com/oxelson/gempak/blob/master/gempak/source/programs/gui/nwx/wwrtim.f | Github Open Source | Open Source | BSD-3-Clause | 2,022 | gempak | oxelson | null | Spoken | 351 | 843 | SUBROUTINE WW_RTIM ( isdtar, irday, irhour, irmin, irdtar,
+ iret )
C************************************************************************
C* WW_RTIM *
C* *
C* This subroutine combines an integer system time and a watch issue *
C* day, hour and minute into an integer w... | 20,204 |
https://github.com/afiqmocaz/jas/blob/master/resources/views/modules/index.blade.php | Github Open Source | Open Source | MIT | null | jas | afiqmocaz | PHP | Code | 42 | 192 | @extends('layouts.appeia')
@section('content')
<div class="container">
<div class="row">
<div class="col-md-8 col-md-offset-2">
<div class="panel panel-default">
<section class= "selflearnings">
@include('modules.load')
</section>
<cente... | 45,799 |
https://github.com/pingidentity/pingidentity-cdr-sandbox/blob/master/scripts/old_scripts/generate_paylaods/gen_trans.pl | Github Open Source | Open Source | LicenseRef-scancode-warranty-disclaimer, Apache-2.0 | 2,023 | pingidentity-cdr-sandbox | pingidentity | Perl | Code | 170 | 740 | #!/usr/bin/perl -w
use Data::UUID;
open(SHOPS,"shops.txt");
my $int=1;
my $token=$ENV{'TOKEN'};
print "token is $token";
my @shops;
while(my $line=<SHOPS>)
{
chomp $line;
push @shops, $line;
}
open(ACC,"accounts.txt");
while (my $line=<ACC>)
{
chomp $line;
my $filename=&gen_payload();
my $cmd=<<EOF
curl -H "Content-T... | 16,005 |
https://github.com/n3rd-bugs/tiny-rtos/blob/master/port/target/stm32f030/io/spi/spi_stm32f030.cmake | Github Open Source | Open Source | RSA-MD | 2,020 | tiny-rtos | n3rd-bugs | CMake | Code | 17 | 39 | # Setup configuration options.
setup_option_def(STM32F030_SPI_TIMEOUT 100 INT "Number of cycles to wait for SPI transmission to complete.") | 19,149 |
https://github.com/juletx/ProMeta-ModelEditor/blob/master/org.eclipse.epf.uma.tests/src/org/eclipse/epf/uma/tests/ReferenceTest.java | Github Open Source | Open Source | MIT | 2,021 | ProMeta-ModelEditor | juletx | Java | Code | 165 | 479 | /**
*/
package org.eclipse.epf.uma.tests;
import junit.textui.TestRunner;
import org.eclipse.epf.uma.Reference;
import org.eclipse.epf.uma.UmaFactory;
/**
* <!-- begin-user-doc -->
* A test case for the model object '<em><b>Reference</b></em>'.
* <!-- end-user-doc -->
* @generated
*/
public class ReferenceTest... | 35,356 |
https://github.com/forked-repositories/poi/blob/master/packages/poi-preset-babel-minify/example/App.vue | Github Open Source | Open Source | MIT | 2,021 | poi | forked-repositories | Vue | Code | 4 | 22 | <template>
<div id="app">hipeople</div>
</template>
| 35,678 |
https://github.com/pikochip/transformers/blob/master/task/bq2bq/executor/samples/tasks/non_partitioned_append/query.sql | Github Open Source | Open Source | Apache-2.0 | 2,021 | transformers | pikochip | SQL | Code | 19 | 68 | select
"beerus" as hakai,
"naruto" as rasengan,
EXTRACT(DAY FROM CURRENT_TIMESTAMP()) + 8000 as `over`,
CAST("__execution_time__" AS TIMESTAMP) as `load_timestamp`; | 32,228 |
https://github.com/virginiais4lovers/balanced-java/blob/master/src/test/java/com/balancedpayments/AccountTest.java | Github Open Source | Open Source | MIT | 2,015 | balanced-java | virginiais4lovers | Java | Code | 92 | 360 | package com.balancedpayments;
import com.balancedpayments.errors.HTTPError;
import com.balancedpayments.errors.MultipleResultsFound;
import com.balancedpayments.errors.NoResultsFound;
import org.junit.Test;
import java.util.HashMap;
import java.util.Map;
import static org.junit.Assert.assertEquals;
public class Acc... | 50,557 |
https://github.com/ricdeau/enki/blob/master/file.go | Github Open Source | Open Source | MIT | null | enki | ricdeau | Go | Code | 474 | 1,341 | package enki
import (
"bytes"
"go/format"
"io"
"os"
"strings"
"github.com/pkg/errors"
)
// Block builder that can be materialized
type Block interface {
materialize() string
}
// File builder for files
type File interface {
Statement
// GoFmt manage go-fmt before write file. By default, it is enabled.
GoF... | 5,493 |
https://github.com/yulkang/SubjDecTime/blob/master/lib/BetterMatLab/bml/str/input_or_paste.m | Github Open Source | Open Source | MIT | 2,017 | SubjDecTime | yulkang | MATLAB | Code | 18 | 60 | function res = input_or_paste(prompt)
% res = input_or_paste(prompt)
res = input(prompt, 's');
if isempty(res)
res = clipboard('paste');
end | 45,475 |
https://github.com/ibm-watson-data-lab/crimeharvest/blob/master/Procfile | Github Open Source | Open Source | Apache-2.0 | 2,017 | crimeharvest | ibm-watson-data-lab | null | Spoken | 2 | 8 | web: ./app.js
| 36,303 |
https://github.com/pytorch/pytorch/blob/master/torch/utils/data/datapipes/iter/streamreader.py | Github Open Source | Open Source | BSD-3-Clause, BSD-2-Clause, LicenseRef-scancode-secret-labs-2011, LicenseRef-scancode-generic-cla, BSL-1.0, Apache-2.0 | 2,023 | pytorch | pytorch | Python | Code | 134 | 410 | from typing import Tuple
from torch.utils.data.datapipes._decorator import functional_datapipe
from torch.utils.data.datapipes.datapipe import IterDataPipe
__all__ = ["StreamReaderIterDataPipe", ]
@functional_datapipe('read_from_stream')
class StreamReaderIterDataPipe(IterDataPipe[Tuple[str, bytes]]):
r"""
G... | 38,571 |
https://github.com/cournape/pig-it/blob/master/pygit/test.py | Github Open Source | Open Source | BSD-3-Clause | 2,009 | pig-it | cournape | Python | Code | 363 | 1,639 | import os
from binascii import \
a2b_hex
from object import \
from_filename, Blob, Tree, RawEntry, parse_object, CommitHeader, \
Commit
SHA1_TO_FILE = {
'1b8ae996b7685aa07180a050332df81e0a6be40e': 'commit1',
'815fa52ea791bf9a0d152ca3386d61d3ad023a5a': 'tree1',
'00909da... | 31,287 |
https://github.com/kyleellefsen/Glams/blob/master/Glams/glams/website/cal/cal.py | Github Open Source | Open Source | MIT | 2,022 | Glams | kyleellefsen | Python | Code | 130 | 564 | # -*- coding: utf-8 -*-
"""
Created on Mon Feb 17 18:07:51 2014
@author: kyle
"""
import cherrypy
from glams.checkpassword.checkpassword import checkPassword
from glams.glamsTemplate import glamsTemplate
from glams.databaseInterface.connect import importconfig
config=importconfig()
calTag=str(config['calendarTag'])
... | 33,830 |
https://github.com/mdarkawi/hackathonDay4/blob/master/smart-doctrina/.env | Github Open Source | Open Source | MIT | 2,021 | hackathonDay4 | mdarkawi | Shell | Code | 3 | 16 | PASSWORD=password
DATABASE=test
USERNAME=root | 27,168 |
https://github.com/mornfall/nixpkgs/blob/master/pkgs/development/libraries/java/hydra-ant-logger/default.nix | Github Open Source | Open Source | MIT | 2,021 | nixpkgs | mornfall | null | Spoken | 54 | 225 | { fetchsvn, stdenv, ant }:
stdenv.mkDerivation rec {
name = "hydra-ant-logger-${version}";
version = "2010.2";
src = fetchsvn {
url = https://svn.nixos.org/repos/nix/hydra-ant-logger/trunk;
rev = 20396;
sha256 = "1lp5zy80m4y2kq222q2x052ys5mlhgc7y4kxh2bl48744f1fkgyr";
};
buildInputs = [ ant ];
... | 14,158 |
https://github.com/kawaitenshi/fools-run/blob/master/Assets/Scripts/UpdateScoreInfo.cs | Github Open Source | Open Source | Apache-2.0 | null | fools-run | kawaitenshi | C# | Code | 76 | 237 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class UpdateScoreInfo : MonoBehaviour
{
public GameObject playerScoreObj;
public GameObject[] gemImages;
public Texture collectedGem;
private Text _playerScoreText;
// Start is called befor... | 17,899 |
https://github.com/NikoMostWanted/Diploma/blob/master/views/site/courses/courses.php | Github Open Source | Open Source | BSD-3-Clause | null | Diploma | NikoMostWanted | PHP | Code | 76 | 364 | <?php
use yii\helpers\Html;
use app\models\Sections;
?>
<section class="container-fluid">
<div class="container">
<div class="row text-center header-alert">
<div class="col-sm-12">
<?= Html::img('@web/img/courses/1.png'); ?>
<h2>Перелік наявних курсів</h2>
... | 35,480 |
https://github.com/aino/django-nimda/blob/master/scss/dashboard.scss | Github Open Source | Open Source | BSD-3-Clause | null | django-nimda | aino | SCSS | Code | 303 | 919 | // • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • •
// Init Nimda
@import "_init";
/* DASHBOARD */
.dashboard .module h2 {
padding: 6px $distance-s;
}
.dashboard .module table th {
width: 100%;
}
.dashboard .module table td {
white-space: nowrap;
}
.dashboard .modul... | 51,319 |
https://github.com/real-chocopanda/ezComponents-lite/blob/master/Workflow/src/nodes/control_flow/synchronization.php | Github Open Source | Open Source | BSD-3-Clause | null | ezComponents-lite | real-chocopanda | PHP | Code | 232 | 524 | <?php
/**
* File containing the ezcWorkflowNodeSynchronization class.
*
* @package Workflow
* @version 1.4rc1
* @copyright Copyright (C) 2005-2009 eZ Systems AS. All rights reserved.
* @license http://ez.no/licenses/new_bsd New BSD License
*/
/**
* This node implements the Synchronization (AND-Join) workflow p... | 39,863 |
https://github.com/rarvolt/ros2cli/blob/master/ros2pkg/ros2pkg/resource/ament_cmake/CMakeLists.txt.em | Github Open Source | Open Source | Apache-2.0 | null | ros2cli | rarvolt | null | Spoken | 264 | 1,069 | cmake_minimum_required(VERSION 3.5)
project(@(project_name))
# Default to C99
if(NOT CMAKE_C_STANDARD)
set(CMAKE_C_STANDARD 99)
endif()
# Default to C++14
if(NOT CMAKE_CXX_STANDARD)
set(CMAKE_CXX_STANDARD 14)
endif()
if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
add_compile_options(-Wal... | 28,013 |
https://github.com/NordicSemiconductor/pc-nrfconnect-core/blob/master/src/launcher/util/checkAppCompatibility.ts | Github Open Source | Open Source | Linux-OpenIB | 2,019 | pc-nrfconnect-core | NordicSemiconductor | TypeScript | Code | 298 | 712 | /*
* Copyright (c) 2015 Nordic Semiconductor ASA
*
* SPDX-License-Identifier: LicenseRef-Nordic-4-Clause
*/
import { require as remoteRequire } from '@electron/remote';
import semver from 'semver';
import { App } from '../../main/apps';
const config = remoteRequire('../main/config');
const undecided = { isDecid... | 6,168 |
https://github.com/kennethnym/former_gen/blob/master/lib/src/constants.dart | Github Open Source | Open Source | MIT | 2,021 | former_gen | kennethnym | Dart | Code | 42 | 100 | /// maps types to the names of their corresponding validators. for example,
/// a field of type [String] should be validated by a StringValidator.
const validatorMap = <String, String>{
'String': 'StringMust',
'int': 'NumberMust',
'double': 'NumberMust',
'num': 'NumberMust',
'bool': 'BoolMust',
'dynamic': '... | 24,744 |
https://github.com/rapid7/insightconnect-plugins/blob/master/plugins/box/komand_box/actions/__init__.py | Github Open Source | Open Source | MIT | 2,023 | insightconnect-plugins | rapid7 | Python | Code | 69 | 202 | # GENERATED BY KOMAND SDK - DO NOT EDIT
from .add_user_to_group.action import AddUserToGroup
from .create_user.action import CreateUser
from .delete_file.action import DeleteFile
from .delete_folder.action import DeleteFolder
from .delete_user.action import DeleteUser
from .download_file.action import DownloadFile
from... | 19,989 |
https://github.com/JaneHxx/Rest_Koa_project/blob/master/schema/sys_menu.js | Github Open Source | Open Source | MIT | null | Rest_Koa_project | JaneHxx | JavaScript | Code | 96 | 422 | module.exports = function (sequelize,DataTypes) {
return sequelize.define('sys_menu', {
menu_id: {
type: DataTypes.BIGINT(20),
primaryKey: true,
autoIncrement: true
},
parent_id: {
type: DataTypes.BIGINT(20),
allowNull: false,
... | 32,567 |
https://github.com/jmduarte/particleflow/blob/master/mlpf/pytorch_cms/eval_end2end_cms.py | Github Open Source | Open Source | Apache-2.0 | 2,022 | particleflow | jmduarte | Python | Code | 180 | 845 | #import setGPU
import torch
import torch_geometric
import sklearn
import numpy as np
import matplotlib.pyplot as plt
from torch_geometric.data import Data, DataLoader, DataListLoader, Batch
import pandas
import mplhep
import pickle
import graph_data_cms
import train_end2end_cms
import time
def collate(items):
l =... | 26,131 |
https://github.com/rebus-org/Rebus.SignalR/blob/master/Rebus.SignalR/SignalR/Contracts/Group.cs | Github Open Source | Open Source | MIT | 2,023 | Rebus.SignalR | rebus-org | C# | Code | 114 | 317 | using Microsoft.AspNetCore.SignalR;
using System.Collections.Generic;
namespace Rebus.SignalR.Contracts
{
/// <summary>
/// Sends a message to a specific group except excluded connections
/// </summary>
/// <typeparam name="THub"></typeparam>
public class Group<THub>
where THub : Hub
... | 36,111 |
https://github.com/DanielchenN/shineout/blob/master/test/src/Pagination/Pagination.spec.js | Github Open Source | Open Source | MIT | 2,019 | shineout | DanielchenN | JavaScript | Code | 426 | 1,685 | import React from 'react'
import { Pagination } from 'shineout'
import { mount } from 'enzyme'
import PaginationSize from '../../../site/pages/components/Pagination/example-2-size'
import PaginationLayout from '../../../site/pages/components/Pagination/example-3-layout'
import PaginationText from '../../../site/pages/c... | 1,318 |
https://github.com/rizkihardinas/IFD/blob/master/application/models/Goal_tracking_model.php | Github Open Source | Open Source | MIT | null | IFD | rizkihardinas | PHP | Code | 335 | 1,184 | <?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Goal_tracking_model extends CI_Model {
public function __construct()
{
parent::__construct();
$this->load->database();
}
// get _tracking_type
public function get_goal_tracking_type() {
return $this->db->ge... | 22,326 |
https://github.com/bcaine/nn_cpp/blob/master/nn/layers/Softmax.h | Github Open Source | Open Source | MIT | 2,021 | nn_cpp | bcaine | C | Code | 307 | 909 | /**
* @file Softmax.h
*
* @breif A Softmax layer
*
* @date 12/17/17
* @author Ben Caine
*/
#ifndef NN_CPP_SOFTMAX_H
#define NN_CPP_SOFTMAX_H
#include "layers/Layer.h"
namespace nn {
template <typename Dtype = float, int Dims = 2>
class Softmax : public Layer<Dtype, Dims> {
public:
/**
... | 1,907 |
https://github.com/Tiamat-Tech/advanced-discord.js-prompts/blob/master/spec/util-specs/discord-util-spec.js | Github Open Source | Open Source | MIT | 2,021 | advanced-discord.js-prompts | Tiamat-Tech | JavaScript | Code | 117 | 434 | const { channelMsg, channelMsgDelete, channelMsgWaitDelete } = require("../../util/discord-util");
describe('Discord Util Specs', function() {
var message = {
delete: jasmine.createSpy('messageDelete'),
};
beforeEach(function() {
message.delete.calls.reset();
channel.send.calls.re... | 10,440 |
https://github.com/osiafv/Whatsapp_Bot/blob/master/lib/src/Client.ts | Github Open Source | Open Source | MIT | null | Whatsapp_Bot | osiafv | TypeScript | Code | 884 | 2,501 | import { WAConnection, MessageType, proto, compressImage } from '@adiwajshing/baileys'
import * as fs from 'fs'
import { isUrl, Buffer, getMentions} from '../functions/function'
import filetype, { FileTypeResult } from "file-type"
export class Client {
constructor(public Client: WAConnection) {}
public async s... | 32,643 |
https://github.com/stefb965/swift-k/blob/master/bin/stop-coaster-service | Github Open Source | Open Source | Apache-2.0 | 2,017 | swift-k | stefb965 | Shell | Code | 353 | 1,226 | #!/bin/bash
# crash: Report a problem and exit
crash()
{
MSG=$1
echo ${MSG} >&2
exit 1
}
# Display usage message
usage()
{
echo "Usage: $(basename $0) [OPTION]..." >&2
echo "Options:" >&2
echo "-conf <CONFIG FILE>\
Coasters service configuration file (default: coaster-service.conf)" >&... | 47,493 |
https://github.com/maithanhduyan/ant/blob/master/src/main/org/apache/tools/ant/types/XMLCatalog.java | Github Open Source | Open Source | LicenseRef-scancode-unknown, LicenseRef-scancode-unknown-license-reference, W3C, GPL-1.0-or-later, SAX-PD, Apache-2.0 | 2,018 | ant | maithanhduyan | Java | Code | 4,173 | 9,868 | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you... | 22,914 |
https://github.com/ayoung90/ATBSWP/blob/master/section6/list_methods.py | Github Open Source | Open Source | MIT | null | ATBSWP | ayoung90 | Python | Code | 24 | 152 | spam = ['hey','howdy','hiya','hello']
print(spam)
print(spam.index('hiya'))
spam.append('hi')
spam.insert(0,'privet')
print(spam)
spam.remove('hello')
spam.sort()
print(spam)
spam2 = spam.copy()
spam.sort(reverse=True,key=str.lower)
print(spam)
spam2 = spam.copy()
spam2[2] = 'test'
print(spam)
print(spam2) | 52,316 |
https://github.com/soyadrianhurtado/heroes-react-mobx-state-tree/blob/master/src/stores/HeroService.ts | Github Open Source | Open Source | MIT | 2,021 | heroes-react-mobx-state-tree | soyadrianhurtado | TypeScript | Code | 72 | 233 | import { BaseUrl } from "../utils/api-config";
import http from "../utils/http-service";
import { IHero } from "../types/hero.type";
export async function getHeroes(): Promise<any> {
return await http.get(BaseUrl.heroes);
}
export async function getHero(id: string): Promise<any> {
return await http.get(`${BaseUrl... | 48,913 |
https://github.com/ziccardi/aerogear-js-sdk/blob/master/packages/security/src/deviceTrust/SecurityCheck.ts | Github Open Source | Open Source | LicenseRef-scancode-unknown-license-reference, Apache-2.0 | 2,018 | aerogear-js-sdk | ziccardi | TypeScript | Code | 62 | 113 | import { SecurityCheckResult } from "./SecurityCheckResult";
/**
* Interface for a device security single security check that can be executed.
*/
export interface SecurityCheck {
/**
* The name of the check. This can be used for reporting the checks results.
*/
name: string;
/**
* Execute the securit... | 16,830 |
https://github.com/peteryang2016/peterTest/blob/master/zhufeng/react-redux/src/todo-plus/components/TodoList.js | Github Open Source | Open Source | MIT | null | peterTest | peteryang2016 | JavaScript | Code | 58 | 299 | import React from 'react'
import PropTypes from "prop-types";
export default class TodoList extends React.Component{
render() {
if(this.props.list.length<=0) return <div>暂无数据</div>
return(
<ul>
{
this.props.list.map((todo,index)=>{
... | 36,669 |
https://github.com/prestongarno/kotlinq/blob/master/core/src/test/kotlin/org/kotlinq/entities/FragmentEquality.kt | Github Open Source | Open Source | Apache-2.0 | 2,018 | kotlinq | prestongarno | Kotlin | Code | 160 | 549 | package org.kotlinq.entities
import org.junit.Test
import org.kotlinq.api.Kind
import org.kotlinq.entities.TestFragmentBuilder.Companion.fragment
import org.kotlinq.eq
import org.kotlinq.notEq
class FragmentEquality {
@Test fun `fragments are equal 1`() {
fragment {
scalar("foo")
scalar("bar")
... | 6,161 |
https://github.com/yuchiu/job-listing-chat-app/blob/master/server/src/policies/register.policy.js | Github Open Source | Open Source | MIT | 2,018 | job-listing-chat-app | yuchiu | JavaScript | Code | 156 | 454 | import Joi from "joi";
const authPolicy = {
register: (req, res, next) => {
const schema = {
username: Joi.string().regex(new RegExp("^[a-zA-Z0-9]{4,32}$")),
email: Joi.string().email(),
password: Joi.string().regex(new RegExp("^[a-zA-Z0-9]{4,32}$")),
role: Joi.string().regex(new RegExp("... | 13,765 |
https://github.com/OpenNTF/org.openntf.domino/blob/master/domino/core/src/main/java/org/openntf/domino/Log.java | Github Open Source | Open Source | Apache-2.0, LicenseRef-scancode-unknown-license-reference, BSD-3-Clause, ICU, MIT, BSD-2-Clause | 2,023 | org.openntf.domino | OpenNTF | Java | Code | 1,650 | 3,120 | /**
* Copyright © 2013-2021 The OpenNTF Domino API Team
*
* 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 appl... | 3,826 |
https://github.com/marievyyy/AMIS/blob/master/views/Registrationslip.php | Github Open Source | Open Source | MIT | null | AMIS | marievyyy | PHP | Code | 3,284 | 17,655 | <?php
defined('BASEPATH') OR exit('No direct script access allowed');
?>
<html xmlns:v="urn:schemas-microsoft-com:vml"
xmlns:o="urn:schemas-microsoft-com:office:office"
xmlns:w="urn:schemas-microsoft-com:office:word"
xmlns:m="http://schemas.microsoft.com/office/2004/12/omml"
xmlns="http://www.w3.org/TR/REC-html40">
... | 37,057 |
https://github.com/fabiopulvi/java-graphs_test/blob/master/src/main/java/info/debatty/java/graphs/build/PartitioningGraphBuilder.java | Github Open Source | Open Source | MIT | null | java-graphs_test | fabiopulvi | Java | Code | 616 | 1,364 | /*
* The MIT License
*
* Copyright 2015 Thibault Debatty.
*
* 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... | 44,758 |
https://github.com/rtckit/reactphp-esl/blob/master/tests/InboundServerTest.php | Github Open Source | Open Source | MIT | 2,022 | reactphp-esl | rtckit | PHP | Code | 332 | 1,514 | <?php
declare(strict_types = 1);
namespace RTCKit\React\ESL\Tests;
use RTCKit\React\ESL\{
InboundServer,
RemoteInboundClient
};
use React\EventLoop\Loop;
use React\Socket\{
ConnectionInterface,
ServerInterface
};
use React\Stream\ThroughStream;
use RTCKit\ESL;
/**
* Class InboundServerTest.
*
* ... | 44,999 |
https://github.com/pablokvitca/teach/blob/master/src/teach/modeling/toast/PythonScripts/getAllEDHSub.py | Github Open Source | Open Source | MIT | null | teach | pablokvitca | Python | Code | 42 | 142 | import json
import sys
import os
from getEDHSub import getEDHSub
print(sys.argv[1])
path = str(sys.argv[1])
def getAllEDHSub(path):
files = os.listdir(path)
x_set = []
y_set = []
for file in files:
x, y = getEDHSub(path + "/" + file)
x_set.append(x)
y_set.append(y)
return x_set, y_set
| 11,355 |
https://github.com/calintamas/durusa-app/blob/master/src/services/time/__tests__/index.js | Github Open Source | Open Source | MIT | null | durusa-app | calintamas | JavaScript | Code | 314 | 1,026 | /* eslint-env jest */
import Time from '../index'
const days = [
{ date: '2019-08-23' },
{ date: '2019-08-24' },
{ date: '2019-08-25' }
];
describe('Time service', () => {
it('Gets the correct fest day index, depending on now and switchHour', () => {
const tests = [
{
input: {
day... | 27,590 |
https://github.com/ejcorn/tau-spread/blob/master/code/aba/process_atlas.m | Github Open Source | Open Source | MIT | 2,021 | tau-spread | ejcorn | MATLAB | Code | 178 | 618 | % this code is borrowed from http://help.brain-map.org/display/mousebrain/API#API-DownloadAtlas
% and modified by EJC on 4-11-20
clear all; close all; clc
basedir = '~/Dropbox/Neurodegeneration/TauSpread/tau-spread/';
cd(basedir)
%%
% Download and unzip the atlasVolume and annotation zip files
% 25 micron volume size... | 42,178 |
https://github.com/autodesk-forks/MaterialX/blob/master/source/MaterialXRenderHw/SimpleWindowWindows.cpp | Github Open Source | Open Source | Apache-2.0 | 2,023 | MaterialX | autodesk-forks | C++ | Code | 330 | 998 | //
// Copyright Contributors to the MaterialX Project
// SPDX-License-Identifier: Apache-2.0
//
#if defined(_WIN32)
#include <MaterialXRenderHw/SimpleWindow.h>
#include <MaterialXRenderHw/WindowWrapper.h>
#include <string>
MATERIALX_NAMESPACE_BEGIN
SimpleWindow::SimpleWindow() :
_width(0),
_height(0)
{
... | 36,755 |
https://github.com/MicolPA/games/blob/master/frontend/models/CollectionsGames.php | Github Open Source | Open Source | BSD-3-Clause | null | games | MicolPA | PHP | Code | 184 | 566 | <?php
namespace frontend\models;
use Yii;
/**
* This is the model class for table "collections_games".
*
* @property int $id
* @property int $game_id
* @property string $game_name
* @property int $saga_id
* @property string $orden
* @property string $date
*
* @property Collections $saga
* @property Games ... | 48,283 |
https://github.com/nunnly/m-tasker/blob/master/test/index.js | Github Open Source | Open Source | MIT | null | m-tasker | nunnly | JavaScript | Code | 157 | 590 | const assert = require('assert');
const Tasker = require('../index.js');
describe('Stack',function(){
it('create Stack', function(){
it('new Stack', function(){
const app = new Tasker();
assert(app.constructor === Tasker);
done();
})
});
it('running task', function(done){
const app ... | 11,401 |
https://github.com/renzo4web/ReactLand/blob/master/04-bug-tracker/src/styles/components/_sidebar.scss | Github Open Source | Open Source | MIT | null | ReactLand | renzo4web | SCSS | Code | 86 | 321 | .sidebar__container {
background-color: $secondary;
color: #dddddd;
padding: 1em 0.5em;
height: 100vh;
border-radius: $spacer-3;
flex-grow: 1;
margin-right: 10px;
max-width: 300px;
display: flex;
flex-direction: column;
align-items: center;
transition: all 250ms cubic-bez... | 39,249 |
https://github.com/nickman/heliosJMX/blob/master/src/test/groovy/MQMonitorWithGrape2.groovy | Github Open Source | Open Source | Apache-2.0 | null | heliosJMX | nickman | Groovy | Code | 1,023 | 4,261 | @Grab(group='com.ibm.mq', module='pcf', version='7.0.1.4')
@Grab(group='com.ibm.mq', module='headers', version='7.0.1.4')
@Grab(group='com.ibm.mq', module='jmqi', version='7.0.1.4')
@Grab(group='com.ibm.mq', module='com.ibm.mq', version='7.0.1.4')
@Grab(group='com.ibm.mq', module='commonservices', version='7.0.1.4')
@G... | 22,870 |
https://github.com/abianche/react-profile/blob/master/src/pages/Home.tsx | Github Open Source | Open Source | MIT | null | react-profile | abianche | TypeScript | Code | 53 | 138 | import React, { Component } from "react";
import Footer from "../components/Footer";
import Header from "../components/Header";
import Profile from "../components/Profile";
import { SocialButtons } from "../components/SocialButtons";
import "./Home.css";
export default class Home extends Component {
render() {
r... | 38,496 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.