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/AhmedAlsaab/IRT/blob/master/redux/reducers/index.js | Github Open Source | Open Source | MIT | null | IRT | AhmedAlsaab | JavaScript | Code | 40 | 132 | import { combineReducers } from 'redux';
import transactionReducer from './transactionReducer';
import userReducer from './userReducer';
import driverReducer from './driverReducer';
import ticketReducer from './ticketReducer';
import vehicleReducer from './vehicleReducer';
export default combineReducers({
transaction... | 25,618 |
https://github.com/Erdou/Rikiki-MVC/blob/master/app/cache/full-page/.gitignore | Github Open Source | Open Source | Apache-2.0 | 2,016 | Rikiki-MVC | Erdou | Ignore List | Code | 2 | 6 | *.html
*.php | 43,438 |
https://github.com/akinncar/expo/blob/master/packages/expo-localization/build/Localization.d.ts | Github Open Source | Open Source | MIT, Apache-2.0, BSD-3-Clause | 2,020 | expo | akinncar | TypeScript | Code | 248 | 420 | import { Localization } from './Localization.types';
export { Localization };
/**
* Native device language, returned in standard format.
*
* @example `en`, `en-US`, `es-US`
*/
export declare const locale: string;
/**
* List of all the native languages provided by the user settings.
* These are returned in the ord... | 20,741 |
https://github.com/factor-50-devops-bot/front-end/blob/master/HelpMyStreetFE/HelpMyStreetFE/Models/Account/AccountNavBadgeViewModel.cs | Github Open Source | Open Source | MIT | 2,020 | front-end | factor-50-devops-bot | C# | Code | 39 | 93 | using HelpMyStreetFE.Enums.Account;
namespace HelpMyStreetFE.Models.Account
{
public class AccountNavBadgeViewModel
{
public MenuPage MenuPage { get; set; }
public string GroupKey { get; set; }
public int Count { get; set; }
public string CssClass { get; set; }
}
}
| 23,978 |
https://github.com/syin/CIT/blob/master/web/pipeline/migrations/0068_auto_20200829_0153.py | Github Open Source | Open Source | Apache-2.0 | 2,021 | CIT | syin | Python | Code | 650 | 5,985 | # Generated by Django 2.2.13 on 2020-08-29 01:53
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('pipeline', '0067_censussubdivision_pop_count_total'),
]
operations = [
migrations.AddField(
model_name='censussubdivision',
... | 15,059 |
https://github.com/rohansachdeva1990/art-of-code/blob/master/solid-design-principles/src/main/java/com/rohan/dp/solid/srp/example1/bad/Demo.java | Github Open Source | Open Source | MIT | 2,021 | art-of-code | rohansachdeva1990 | Java | Code | 30 | 101 | package com.rohan.dp.solid.srp.example1.bad;
public class Demo {
public static void main(String[] args) throws Exception{
Journal j = new Journal();
j.addEntry("I am feeling determined");
j.addEntry("I am feeling content");
System.out.println(j);
j.save("pers");
}
}... | 14,786 |
https://github.com/Arthur1/national-economy2/blob/master/app/Game/Building.php | Github Open Source | Open Source | MIT | 2,021 | national-economy2 | Arthur1 | PHP | Code | 50 | 144 | <?php
namespace App\Game;
use Illuminate\Http\Request;
use App\Models\Game;
use App\Models\GameBuilding;
interface Building
{
public function __construct(GameBuilding $building, Game $game);
public function use(Request $request);
public function canUse(): bool;
public function occupyingPlayers(): arr... | 40,833 |
https://github.com/spring-projects/spring-framework/blob/master/spring-web/src/main/java/org/springframework/http/client/AbstractStreamingClientHttpRequest.java | Github Open Source | Open Source | Apache-2.0 | 2,023 | spring-framework | spring-projects | Java | Code | 314 | 713 | /*
* Copyright 2002-2023 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | 51,214 |
https://github.com/ferhatsahinkaya/vertx-amqp-client/blob/master/README.adoc | Github Open Source | Open Source | Apache-2.0 | 2,020 | vertx-amqp-client | ferhatsahinkaya | AsciiDoc | Code | 27 | 112 | = Vert.x AMQP Client
image:https://travis-ci.org/vert-x3/vertx-amqp-client.svg?branch=master["Build Status", link="https://travis-ci.org/vert-x3/vertx-amqp-client"]
== Build
=== Requirements
* Docker (used with Test Container)
* Java 8
* Maven
=== Instructions
`mvn clean install`
| 7,865 |
https://github.com/matteobovetti/wasp/blob/master/plugin-mailer-spark/src/main/scala/it/agilelab/bigdata/wasp/consumers/spark/plugins/mailer/MailWriter.scala | Github Open Source | Open Source | Apache-2.0 | 2,022 | wasp | matteobovetti | Scala | Code | 185 | 673 | package it.agilelab.bigdata.wasp.consumers.spark.plugins.mailer
import it.agilelab.bigdata.wasp.consumers.spark.writers.SparkStructuredStreamingWriter
import org.apache.spark.sql.{DataFrame, Encoders, ForeachWriter, Row}
import org.apache.spark.sql.streaming.DataStreamWriter
import it.agilelab.bigdata.wasp.core.evente... | 48,848 |
https://github.com/Eduardo-Silla/coreos-installer/blob/master/src/io.rs | Github Open Source | Open Source | Apache-2.0 | 2,020 | coreos-installer | Eduardo-Silla | Rust | Code | 1,416 | 4,757 | // Copyright 2019 CoreOS, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... | 14,530 |
https://github.com/gitter-badger/Printing-Pattern-Programs/blob/master/CSharp Pattern Programs/Numeric Patterns/Pattern 13.cs | Github Open Source | Open Source | MIT | 2,022 | Printing-Pattern-Programs | gitter-badger | C# | Code | 52 | 137 | using System;
class Pattern_30
{
public static void Main()
{
int n = 5; // size
for (int i = n;i >= 1;i--)
{
for (int j = n - 1;j >= i;j--)
{
Console.Write(" ");
}
for (int k = 1;k <= i;k++)
{
Console.Write(i);
}
Console.WriteLine();
}... | 46,205 |
https://github.com/Moniter123/websql/blob/master/src/core/__init__.py | Github Open Source | Open Source | MIT | 2,021 | websql | Moniter123 | Python | Code | 41 | 94 | # from __future__ import absolute_import, unicode_literals
import pymysql
# from settingConf.celery import app as celery_app
pymysql.install_as_MySQLdb()
# This will make sure the app is always imported when
# Django starts so that shared_task will use this app.
# __all__ = ['celery_app']
| 42,261 |
https://github.com/ValentinATA/sirius-sdk-python/blob/master/sirius_sdk/agent/wallet/wallets.py | Github Open Source | Open Source | Apache-2.0 | 2,022 | sirius-sdk-python | ValentinATA | Python | Code | 126 | 571 | from sirius_sdk.agent.connections import AgentRPC
from sirius_sdk.agent.wallet.impl.did import DIDProxy
from sirius_sdk.agent.wallet.impl.cache import CacheProxy
from sirius_sdk.agent.wallet.impl.crypto import CryptoProxy
from sirius_sdk.agent.wallet.impl.ledger import LedgerProxy
from sirius_sdk.agent.wallet.impl.pair... | 42,080 |
https://github.com/Txclever/Jigsaw-puzzle/blob/master/WebApplication/js/script.js | Github Open Source | Open Source | MIT | 2,019 | Jigsaw-puzzle | Txclever | JavaScript | Code | 17 | 44 | var end = new Vue({
el: '#end',
methods: {
removeend: function () {
console.log('remove')
}
}
}) | 27,439 |
https://github.com/broncio123/mpmodeling/blob/master/Parallel-HOLE.sh | Github Open Source | Open Source | MIT | null | mpmodeling | broncio123 | Shell | Code | 553 | 1,621 | #!/bin/bash
# NOTE: 28 Nov 2016
# Possible improvements for future versions:
#1. Personalise number of trials
#2. Personalise running option, either serial or parallel
#3. Work out job distribution depending on number of cores available, and jobs requested.
#4. Personalise option of running if folder with PDB frames e... | 3,104 |
https://github.com/ivywe/geeklogjapan-ivywe/blob/master/extended/public_html/admin/plugins/nmoxtopicown/index.php | Github Open Source | Open Source | PostgreSQL | 2,015 | geeklogjapan-ivywe | ivywe | PHP | Code | 861 | 2,826 | <?php
// +---------------------------------------------------------------------------+
// | nmoxtopicown Geeklog Plugin |
// +---------------------------------------------------------------------------+
// | index.php ... | 2,141 |
https://github.com/cavi-art/clir-theories/blob/master/defaultdb/database.lisp | Github Open Source | Open Source | Apache-2.0 | 2,016 | clir-theories | cavi-art | Common Lisp | Code | 196 | 461 | ;;; CAVIART-THEORYDB - A Theory Database for use in the CAVI-ART Project originally
;;; developed at GPD UCM.
;;;
;;; Copyright 2016 Santiago Saavedra López <s.saavedra@fdi.ucm.es>, Grupo de
;;; Programación Declarativa - Universidad Complutense de Marid
;;;
;;; Licensed under the Apache License, Version 2.0 (the "Lice... | 2,008 |
https://github.com/davidprowe/AWS_PowerTools/blob/master/IAM/GetCredentialReport.ps1 | Github Open Source | Open Source | Apache-2.0 | 2,022 | AWS_PowerTools | davidprowe | PowerShell | Code | 194 | 647 | function Get-AWSCredentialReport {
param(
[string]$Role
)
$originID = (Get-STSCallerIdentity).account
$objects = @()
if(!$Role){
Request-IAMCredentialReport |Out-Null
$report = Get-iamCredentialReport -AsTextArray
$columnnames = $report[0] -split ','
$i = 1 #start abov... | 19,136 |
https://github.com/sarnold/meta-beagleboard/blob/master/common-bsp/recipes-kernel/linux/linux-rt-3.8/preempt-rt/0232-softirq-Check-preemption-after-reenabling-interrupts.patch | Github Open Source | Open Source | MIT | 2,021 | meta-beagleboard | sarnold | null | Spoken | 417 | 2,047 | From 1521c23e42fd81f6bbe32b9b112c49c48e75c229 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Sun, 13 Nov 2011 17:17:09 +0100
Subject: [PATCH 232/291] softirq: Check preemption after reenabling interrupts
raise_softirq_irqoff() disables interrupts and wakes the softirq
daemon, but after reena... | 25,772 |
https://github.com/rhtsinha/p11/blob/master/routes/web.php | Github Open Source | Open Source | Apache-2.0 | null | p11 | rhtsinha | PHP | Code | 161 | 1,385 | <?php
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| This file is where you may define all of the routes that are handled
| by your application. Just tell Laravel the URIs it should respond
| to... | 1,404 |
https://github.com/collector-m/SST/blob/master/mmdet3d/ops/sst/sst_ops.py | Github Open Source | Open Source | Apache-2.0 | 2,022 | SST | collector-m | Python | Code | 2,511 | 10,196 | import torch
from ipdb import set_trace
import random
import numpy as np
from mmdet3d.ops import spconv
def scatter_nd(indices, updates, shape):
"""pytorch edition of tensorflow scatter_nd.
this function don't contain except handle code. so use this carefully when
indice repeats, don't support repeat add ... | 44,011 |
https://github.com/groverhood/fakix/blob/master/pyke/make.py | Github Open Source | Open Source | MIT | null | fakix | groverhood | Python | Code | 120 | 373 | from typing import Union, Sequence, Dict
import ast
import functools
class MakeVariable(object):
def __init__(self, name: str, value = None):
self.name = name
self.value = value
def reference(self):
return f'$({self.name})'
def set_value(self, value):
self.value = value
... | 7,303 |
https://github.com/webcerebrium/ec-react15-lib/blob/master/src/containers/ApplicationContainer.js | Github Open Source | Open Source | Apache-2.0 | 2,019 | ec-react15-lib | webcerebrium | JavaScript | Code | 147 | 434 | import React, { Component } from 'react';
import { push } from 'react-router-redux';
import { connect } from 'react-redux';
import { Logger } from './../services/Logger';
import { getDocumentContext } from './../services/TplContext';
import { renderDocument } from './../services/TplRenderer';
class ApplicationContaine... | 11,418 |
https://github.com/Shadyzpop/react-native-windows-compiled/blob/master/ReactWindows/ReactNative.Shared/UIManager/ReactShadowNodeVisitor.cs | Github Open Source | Open Source | MIT | null | react-native-windows-compiled | Shadyzpop | C# | Code | 84 | 264 | using System;
using System.Collections.Generic;
namespace ReactNative.UIManager
{
abstract class ReactShadowNodeVisitor<T>
{
public T Visit(ReactShadowNode node)
{
if (node == null)
{
throw new ArgumentNullException(nameof(node));
}
... | 29,471 |
https://github.com/kuzanatoliy/cssbattle-notebook/blob/master/plays/12-wiggly-moustache.js | Github Open Source | Open Source | MIT | null | cssbattle-notebook | kuzanatoliy | JavaScript | Code | 96 | 329 | module.exports = `
<div id='l'></div>
<div id='c'></div>
<div id='r'></div>
<style>
*{
background: #F5D6B4;
position: fixed;
}
#l, #r, #c{
width: 60px;
height: 30px;
border: 20px solid #D86F45;
}
#l, #r{
border-radius: 0 0 50px 50px;
border-top: 0;
}
#l{
margin: 142px 0 0 6... | 1,602 |
https://github.com/n3oltd/N3O.Umbraco/blob/master/src/DemoSite/DemoSite.Core/Content/Models/Generated/FundDonationOption.generated.cs | Github Open Source | Open Source | MIT | null | N3O.Umbraco | n3oltd | C# | Code | 278 | 2,140 | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Umbraco.ModelsBuilder.Embedded v9.2.0+763cb70e677ac0c85557b19b5df09eccfa1b9dfb
//
// Changes to this file will be lost if the code is regenerated.
// </auto-generated>
... | 22,262 |
https://github.com/Bharat-Reddy/Competitive-Programming/blob/master/Library/C++/Graph/Centroid Decomposition.cpp | Github Open Source | Open Source | MIT | 2,021 | Competitive-Programming | Bharat-Reddy | C++ | Code | 160 | 494 | #include <bits/stdc++.h>
using namespace std;
const int MAXN = 100005;
int N;
int vis[MAXN], sub[MAXN], maxsub[MAXN];
vector <int> g[MAXN], dfn;
void dfs(int x, int par) {
dfn.push_back(x);
sub[x] = 1; maxsub[x] = 0;
for (auto &y : g[x]) {
if (vis[y] || y == par) continue;
dfs(y, x);
maxsub[x] = max(maxsub[... | 27,687 |
https://github.com/Mody-Napester/atsa/blob/master/app/Activity.php | Github Open Source | Open Source | MIT | null | atsa | Mody-Napester | PHP | Code | 235 | 765 | <?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Activity extends Model
{
/**
* The attributes that are mass assignable.
*
* @var array
*/
protected $fillable = ['client_id', 'num_of_words', 'num_of_papers',
'lang_from', 'lang_to', 'task_name',
'task_type... | 39,036 |
https://github.com/hasadna/openmuni-budgets/blob/master/openbudgets/apps/tools/static/tools/comparisons/controllers/TimelineChart.js | Github Open Source | Open Source | BSD-2-Clause, BSD-3-Clause | 2,014 | openmuni-budgets | hasadna | JavaScript | Code | 139 | 470 | define([
'uijet_dir/uijet',
'resources'
], function (uijet, resources) {
uijet.Adapter('TimelineChart', {
set : function (legend_item_models) {
var updated_models = legend_item_models.map(function (legend_item) {
var attrs = legend_item.attributes,
mu... | 3,832 |
https://github.com/excaliburjs/Excalibur/blob/master/src/engine/Collision/Detection/Pair.ts | Github Open Source | Open Source | BSD-2-Clause | 2,023 | Excalibur | excaliburjs | TypeScript | Code | 373 | 944 | import { CollisionContact } from './CollisionContact';
import { CollisionType } from '../CollisionType';
import { BodyComponent } from '../BodyComponent';
import { Id } from '../../Id';
import { Collider } from '../Colliders/Collider';
/**
* Models a potential collision between 2 colliders
*/
export class Pair {
p... | 3,692 |
https://github.com/k9120303/LockScreenAllInOneRootless/blob/master/app/src/main/java/g7/lockscreenrootless/MainActivity.java | Github Open Source | Open Source | Apache-2.0 | 2,019 | LockScreenAllInOneRootless | k9120303 | Java | Code | 230 | 801 | // Copyright 2016 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to... | 30,610 |
https://github.com/lucaferranti/IntervalLinearAlgebra.jl/blob/master/docs/make.jl | Github Open Source | Open Source | MIT | 2,021 | IntervalLinearAlgebra.jl | lucaferranti | Julia | Code | 106 | 512 | using IntervalLinearAlgebra
using Plots
using Documenter
DocMeta.setdocmeta!(IntervalLinearAlgebra, :DocTestSetup, :(using IntervalLinearAlgebra); recursive=true)
makedocs(;
modules=[IntervalLinearAlgebra],
authors="Luca Ferranti",
repo="https://github.com/JuliaIntervals/IntervalLinearAlgebra.jl/blob/{com... | 44,065 |
https://github.com/QodotPlugin/quarchitect/blob/master/src/layer_filter/mod.rs | Github Open Source | Open Source | MIT | 2,021 | quarchitect | QodotPlugin | Rust | Code | 170 | 790 | use crate::geo_builder;
use crate::map;
use std::collections::HashMap;
pub fn run(
entity_data: Vec<(map::quake::Entity, geo_builder::entity::Geometry)>,
) -> (
Vec<(map::quake::Entity, geo_builder::entity::Geometry)>,
HashMap<String, Vec<geo_builder::brush::Geometry>>,
) {
let mut worldspawn_layers: H... | 37,484 |
https://github.com/coreaitri/PelayananPublikDesa/blob/master/public/asset/sass/_buttons.scss | Github Open Source | Open Source | MIT | 2,020 | PelayananPublikDesa | coreaitri | SCSS | Code | 159 | 565 |
/* buttons */
.site-btn {
display: inline-block;
border: none;
font-size: 16px;
font-weight: 600;
min-width: 167px;
padding: 14px 30px;
border-radius: 50px;
text-transform: uppercase;
color: #fff;
line-height: normal;
cursor: pointer;
text-align: center;
letter-spaci... | 20,564 |
https://github.com/a6401040/Moss/blob/master/moss-service/src/main/java/org/xujin/moss/service/impl/MenuServiceImpl.java | Github Open Source | Open Source | Apache-2.0 | 2,022 | Moss | a6401040 | Java | Code | 448 | 2,167 | package org.xujin.moss.service.impl;
import org.xujin.moss.constant.Constants;
import org.xujin.moss.entity.Menu;
import org.xujin.moss.mapper.MenuMapper;
import org.xujin.moss.model.MenuModel;
import org.xujin.moss.vo.SubMenuVO;
import org.xujin.moss.model.UserRoleModel;
import org.xujin.moss.service.MenuService;
imp... | 24,705 |
https://github.com/luckkiss/rongyaojt/blob/master/src/MuGame/GeneralProxy.cs | Github Open Source | Open Source | MIT | 2,017 | rongyaojt | luckkiss | C# | Code | 152 | 583 | using Cross;
using System;
namespace MuGame
{
internal class GeneralProxy : BaseProxy<GeneralProxy>
{
public bool active_open = false;
public uint active_left_tm = 0u;
public GeneralProxy()
{
this.addProxyListener(151u, new Action<Variant>(this.onConfig));
this.addProxyListener(99u, new Action<Varian... | 35,163 |
https://github.com/kjk/volante-obsolete/blob/master/java/src/org/nachodb/impl/Bytes.java | Github Open Source | Open Source | MIT-0 | 2,021 | volante-obsolete | kjk | Java | Code | 462 | 1,277 | package org.nachodb.impl;
import org.nachodb.StorageError;
import java.io.UnsupportedEncodingException;
//
// Class for packing/unpacking data
//
public class Bytes {
public static short unpack2(byte[] arr, int offs) {
return (short)((arr[offs] << 8) | (arr[offs+1] & 0xFF));
}
public static int u... | 26,913 |
https://github.com/bbolker/cvms/blob/master/R/validate_evaluation.R | Github Open Source | Open Source | MIT | 2,019 | cvms | bbolker | R | Code | 33 | 145 | validate_evaluation <- function(fold_eval_fn, eval_aggregation_fn,
predictions_and_targets, model,
model_specifics){
# Evaluate as single fold
single_fold_evaluation <- list(fold_eval_fn(predictions_and_targets,
... | 31,738 |
https://github.com/yklishevich/RubetekIOS-CPP-releases/blob/master/RubetekIOS-CPP.framework/Versions/A/Headers/libnet/dawn/app/log_init.hpp | Github Open Source | Open Source | MIT | null | RubetekIOS-CPP-releases | yklishevich | C++ | Code | 93 | 417 | #pragma once
#include <msw/throw_runtime_error.hpp>
#include <dawn/log/log.hpp>
#include <dawn/log/logger.hpp>
#include <dawn/log/logger_io.hpp>
#include <dawn/log/log_io_tags.hpp>
#include <dawn/app/log_settings.hpp>
namespace dawn {
namespace app {
template <typename Settings>
void log_init(Settings con... | 9,205 |
https://github.com/BrunoBebr/super-kucharka/blob/master/src/app/app.component.scss | Github Open Source | Open Source | MIT | 2,022 | super-kucharka | BrunoBebr | SCSS | Code | 178 | 912 |
* {
cursor: url("../assets/images/spoon.png"), auto;
}
.example-spacer {
flex: 1 1 auto;
}
.right{
position: absolute;
right: 20px;
}
.searchbar{
position: absolute;
right: 5%;
}
#footer{
background-color: #4350af;
color: white;
position: relative;
bottom: 0px;
height: 400px;
wi... | 22,991 |
https://github.com/James4Deutschland/lazer/blob/master/semantic/test/fixtures/ruby/corpus/number.A.rb | Github Open Source | Open Source | WTFPL, GPL-1.0-or-later, MIT | 2,020 | lazer | James4Deutschland | Ruby | Code | 7 | 50 | 1234
1_234
0d1_234
0xa_bcd_ef0_123_456_789
0o1234567
0b1_0
1.234_5e678_90
| 9,036 |
https://github.com/keyman9848/kde/blob/master/kernel_mailing_list/kvm_community/2019-05-31/12_kvm_nVMX_Enforce_must-be-zero_bits_in_the_IA32_VMX_VMCS_ENUM_MSR_125787/series_125787.patch | Github Open Source | Open Source | MIT | 2,019 | kde | keyman9848 | null | Spoken | 3,192 | 14,000 | From patchwork Fri May 31 18:41:59 2019
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Patchwork-Submitter: Aaron Lewis <aaronlewis@google.com>
X-Patchwork-Id: 10970657
Return-Path: <kvm-owner@kernel.org>
Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeauro... | 51,803 |
https://github.com/kLabz/haxe-material-ui/blob/master/src/mui/icon/ExposureRounded.hx | Github Open Source | Open Source | MIT | 2,022 | haxe-material-ui | kLabz | Haxe | Code | 12 | 56 | package mui.icon;
import react.ReactComponent;
@:jsRequire('@material-ui/icons', 'ExposureRounded')
extern class ExposureRounded extends ReactComponentOfProps<IconProps> {}
| 14,039 |
https://github.com/yuchuangye/wang-moba/blob/master/web/src/views/hero/HeroList.vue | Github Open Source | Open Source | MIT | 2,022 | wang-moba | yuchuangye | Vue | Code | 235 | 933 | <template>
<div id="hero-list">
<div class="nav">
<div class="nav-item"
v-for="(item, index) in heroCates"
:key="index"
:class="{'active': active == index}"
@click="toggleNav(index, item.name)">
<span class="nav-link">{{ item.name }}</span>
</div>
</div>
... | 44,764 |
https://github.com/Aryansh-S/USACO/blob/master/algo_ds/more-segtree/simplesegptr.cpp | Github Open Source | Open Source | MIT | 2,022 | USACO | Aryansh-S | C++ | Code | 152 | 388 | #include <bits/stdc++.h>
using namespace std;
// slow but intuitive, good for starting out with pointer version of trees
template<class T> struct node {
node *left, *right; int l, r; T val;
node(int a, int b) {
l = a, r = b;
if(l == r) return;
int m = (l + r) / 2;
left = new node(l, m), ri... | 23,075 |
https://github.com/digideskio/openstack-ruby-sdk/blob/master/spec/openstack-ruby-sdk_spec.rb | Github Open Source | Open Source | MIT | 2,016 | openstack-ruby-sdk | digideskio | Ruby | Code | 138 | 478 | require 'spec_helper'
describe OpenStackRubySDK, :vcr do
before do
ENV['SDK'] = "openstack"
end
it 'has a version number' do
expect(OpenStackRubySDK::VERSION).not_to be nil
end
it 'knows what services are available' do
expect(Peace.service_catalog.available_services.size).to be > 0
end
it ... | 21,618 |
https://github.com/antonioflaminio/myrepo/blob/master/modules/ProjectTask/language/it_it.lang.php | Github Open Source | Open Source | Unlicense | null | myrepo | antonioflaminio | PHP | Code | 565 | 1,848 | <?php
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
/*********************************************************************************
* The contents of this file are subject to the SugarCRM Enterprise Subscription
* Agreement ("License") which can be viewed at
* http://www.sugarcrm.com... | 10,072 |
https://github.com/maxim-zhao/bmp2tilecompressors/blob/master/compressors/gfxcomp_phantasystargaiden.cpp | Github Open Source | Open Source | MIT | 2,021 | bmp2tilecompressors | maxim-zhao | C++ | Code | 922 | 2,499 | #include <vector>
#include <map>
#include <cstdint>
void deinterleave(std::vector<uint8_t>& buffer, uint32_t interleaving)
{
std::vector<uint8_t> tempBuffer(buffer.size());
// Deinterleave into tempBuffer
const auto bitplaneSize = buffer.size() / interleaving;
for (unsigned int src = 0; src < buffer.s... | 48,651 |
https://github.com/KDSBest/service-fabric/blob/master/src/prod/src/retail/native/FabricInstallerService/Utility.h | Github Open Source | Open Source | MIT | 2,020 | service-fabric | KDSBest | C++ | Code | 126 | 400 | // ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
#pragma once
namespace Fabric... | 35,389 |
https://github.com/Domenic-MZS/nextjs-introduction-ecommerce/blob/master/pages/_app.js | Github Open Source | Open Source | Apache-2.0 | null | nextjs-introduction-ecommerce | Domenic-MZS | JavaScript | Code | 30 | 106 | import {useEffect} from 'react';
import '../styles/globals.css';
function MyApp({Component, pageProps}) {
useEffect(() => {
const jssStyles = document.querySelector('#jss-server-side');
if (jssStyles) jssStyles.parentElement.removeChild(jssStyles);
}, [])
return <Component {...pageProps} />
}
export de... | 8,709 |
https://github.com/Cherno-SuS/SunderingShadows/blob/master/d/attaya/newseneca/obj/mask_celestia.c | Github Open Source | Open Source | MIT, LicenseRef-scancode-unknown-license-reference | 2,021 | SunderingShadows | Cherno-SuS | C | Code | 411 | 1,188 | //mask_celestia.c - special porcelain mask
//for new Seneca ~Circe~ 12/21/07
#include <std.h>
#include "../seneca.h"
inherit COSTUME;
void create(){
::create();
set_name("celestia mask");
set_obvious_short("%^BOLD%^a white porcelain mask decorated with %^YELLOW%^gold%^RESET%^");
set_short("%^BOLD%^%^WHITE... | 1,011 |
https://github.com/pivotal-cf/om/blob/master/acceptance/credential_references_test.go | Github Open Source | Open Source | Apache-2.0, LicenseRef-scancode-unknown-license-reference | 2,023 | om | pivotal-cf | Go | Code | 180 | 1,009 | package acceptance
import (
"github.com/onsi/gomega/ghttp"
"net/http"
"os/exec"
"github.com/onsi/gomega/gexec"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
)
var _ = Describe("credential references command", func() {
const tableOutput = `+------------------------------+
| CREDENTIALS ... | 5,197 |
https://github.com/MtAden/ios-template/blob/master/PRODUCTNAME/PRODUCTNAMETests/Helpers/TestConstants.swift | Github Open Source | Open Source | MIT | null | ios-template | MtAden | Swift | Code | 28 | 64 | //
// TestConstants.swift
// PRODUCTNAME
//
// Created by LEADDEVELOPER on 11/3/16.
// Copyright © 2017 ORGANIZATION. All rights reserved.
//
import Foundation
let timeout: TimeInterval = 200
| 23,208 |
https://github.com/865826021/trade/blob/master/file/script/album.js | Github Open Source | Open Source | MIT | 2,017 | trade | 865826021 | JavaScript | Code | 282 | 878 |
var Abody = document.documentElement || document.body;
if(isGecko) Abody = document.body;
var mid_div = Dd('mid_div');
var mid_pic = Dd('mid_pic');
var big_div = Dd('big_div');
var big_pic = Dd('big_pic');
var zoomer = Dd('zoomer');
var AL = Dd('mid_pos').offsetLeft + 5;
var AT = Dd('mid_pos').offsetTop + 5;
var ZW = ... | 42,992 |
https://github.com/reachcloudtai/openxmlspreadsheet/blob/master/openxmlspreadsheet/Services/Writer.cs | Github Open Source | Open Source | Unlicense | null | openxmlspreadsheet | reachcloudtai | C# | Code | 334 | 1,118 | using OpenXmlSpreadsheet.Interfaces;
using System;
using System.Collections.Generic;
using DocumentFormat.OpenXml;
using DocumentFormat.OpenXml.Packaging;
using DocumentFormat.OpenXml.Spreadsheet;
using System.IO;
using System.Reflection;
namespace OpenXmlSpreadsheet.Services
{
public class Writer<T> : IWriter<T>... | 1,646 |
https://github.com/first-class-exteriors-concepts/FSharp.Interop.Compose/blob/master/src/NETSTD_2_0/FSharp.Interop.Compose.IO/File.fs | Github Open Source | Open Source | Apache-2.0 | 2,020 | FSharp.Interop.Compose | first-class-exteriors-concepts | null | Spoken | 83 | 460 | // Generated with FSharp.Interop.Compose (2.0.1) http://jbtule.github.io/FSharp.Interop.Compose
namespace FSharp.Interop.Compose.IO
/// Corresponding static methods as functions for [`System.IO.File`](https://docs.microsoft.com/en-us/dotnet/api/system.io.file)
module File =
/// Calls [`AppendAllLines(path, conten... | 28,502 |
https://github.com/elacy/AdapterPatternGenerator/blob/master/AdapterPatternGenerator.CodeGenerator/ISolutionGenerator.cs | Github Open Source | Open Source | MIT | 2,016 | AdapterPatternGenerator | elacy | C# | Code | 30 | 109 | using System;
using System.CodeDom;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FubuCsProjFile;
namespace AdapterPatternGenerator.CodeGenerator
{
public interface ISolutionGenerator
{
Solution GenerateProjects(string directoryName, string... | 11,492 |
https://github.com/Fenrur/IdeaIconPack/blob/master/src/krasa/iconpack/IconsDecorator.java | Github Open Source | Open Source | Apache-2.0 | 2,020 | IdeaIconPack | Fenrur | Java | Code | 157 | 1,818 | package krasa.iconpack;
import com.intellij.openapi.util.IconPathPatcher;
import org.jetbrains.annotations.Nullable;
import java.io.File;
import java.util.HashMap;
public final class IconsDecorator extends IconPathPatcher {
private final static HashMap<String, String> icons = new HashMap<>();
private final IconPat... | 30,366 |
https://github.com/fliklab/Emoticon3D-Material/blob/master/src/components/CheckPrint3/index.jsx | Github Open Source | Open Source | MIT | null | Emoticon3D-Material | fliklab | null | Spoken | 245 | 829 | import React, { Component } from "react";
import Card from "react-md/lib/Cards/Card";
// import CardText from "react-md/lib/Cards/CardText";
// import config from "../../../data/SiteConfig";
import "./CheckPrint3.scss";
function startTimer(total, display, display2) {
let timer = total;
let hours;
let minutes;
... | 27,841 |
https://github.com/linares82/crmscool_cedva/blob/master/resources/views/estados/_common.blade.php | Github Open Source | Open Source | MIT | null | crmscool_cedva | linares82 | PHP | Code | 1 | 12 | @section('estadosAppTitle','Estado') | 49,505 |
https://github.com/panda-lab/libnss_stns/blob/master/libstns/request.go | Github Open Source | Open Source | MIT | null | libnss_stns | panda-lab | Go | Code | 920 | 3,190 | package libstns
import (
"bytes"
"context"
"crypto/tls"
"crypto/x509"
"encoding/json"
"errors"
"fmt"
"github.com/creack/pty"
"io"
"io/ioutil"
"log"
"net"
"net/http"
"net/url"
"os"
"os/exec"
"path"
"regexp"
"strconv"
"strings"
"time"
"github.com/panda-lab/libnss_stns/cache"
)
type Request struct... | 18,078 |
https://github.com/mvvproject/ReVerSE-U9/blob/master/u9_nes/hw/src/keyboard/keyboard.vhd | Github Open Source | Open Source | BSD-2-Clause | 2,019 | ReVerSE-U9 | mvvproject | VHDL | Code | 563 | 1,686 | -------------------------------------------------------------------[06.10.2013]
-- PS/2 scancode
-------------------------------------------------------------------------------
library IEEE;
use IEEE.STD_LOGIC_1164.ALL;
use IEEE.NUMERIC_STD.ALL;
use ieee.std_logic_unsigned.all;
entity keyboard is
port (
CLK : in ... | 33,991 |
https://github.com/Khalibre/Rocket.Chat/blob/master/apps/meteor/client/main.ts | Github Open Source | Open Source | LicenseRef-scancode-free-unknown, LicenseRef-scancode-unknown-license-reference, MIT | 2,022 | Rocket.Chat | Khalibre | TypeScript | Code | 42 | 172 | import '../ee/definition/rest';
import '../ee/definition/methods';
import '../definition/methods';
import '../ee/client/ecdh';
import './polyfills';
import '../lib/oauthRedirectUri';
import './lib/meteorCallWrapper';
import './importPackages';
import '../ee/client';
import './templateHelpers';
import './methods/delet... | 50,536 |
https://github.com/SimoneSchaefer/wortomat/blob/master/backend/src/main/java/de/wortomat/model/INovelItem.java | Github Open Source | Open Source | 2,023 | wortomat | SimoneSchaefer | Java | Code | 35 | 127 | package de.wortomat.model;
import java.util.Date;
import java.util.List;
public interface INovelItem<T extends IGroupingNovelItem> {
Long getId();
Integer getPosition();
void setPosition(Integer position);
Long getParentId();
T getParent();
void setParent(T item);
Date getDeletedAt();
... | 49,903 | |
https://github.com/rdsouza10/ITK/blob/master/Modules/ThirdParty/VNL/src/vxl/core/vnl/Templates/vnl_vector_fixed_ref+double.4-.cxx | Github Open Source | Open Source | Apache-2.0 | 2,022 | ITK | rdsouza10 | C++ | Code | 3 | 41 | #include <vnl/vnl_vector_fixed_ref.hxx>
VNL_VECTOR_FIXED_REF_INSTANTIATE(double,4);
| 3,076 |
https://github.com/PreetiW/NewsAppExpo/blob/master/NewsApp/3/screens/HomeScreen/index.js | Github Open Source | Open Source | MIT | 2,018 | NewsAppExpo | PreetiW | JavaScript | Code | 67 | 220 | /**
* @format
* @flow
*/
import React, { Component } from 'react';
import { Text, View, Image } from 'react-native';
import styles from './styles';
import Title from './../../components/Title';
import CategoryList from './../../components/CategoryList';
export default class HomeScreen extends Component<Props> {
... | 31,588 |
https://github.com/txdy077345/CTK/blob/master/Libs/DICOM/Widgets/ctkDICOMAppWidget.cpp | Github Open Source | Open Source | LicenseRef-scancode-unknown-license-reference, Apache-2.0, LicenseRef-scancode-warranty-disclaimer | 2,023 | CTK | txdy077345 | C++ | Code | 1,948 | 10,159 | /*=========================================================================
Library: CTK
Copyright (c) Kitware Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.ap... | 25,284 |
https://github.com/keonsunkim/BlogWorld/blob/master/src/Tag/migrations/0001_initial.py | Github Open Source | Open Source | BSD-3-Clause | 2,018 | BlogWorld | keonsunkim | Python | Code | 96 | 457 | # -*- coding: utf-8 -*-
# Generated by Django 1.11.16 on 2018-12-06 06:44
from __future__ import unicode_literals
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
('Post', '0001_initial'),
]
ope... | 18,452 |
https://github.com/afshin-x76/BootCamp-and-Training/blob/master/quiztest/quiz/urls.py | Github Open Source | Open Source | MIT | 2,021 | BootCamp-and-Training | afshin-x76 | Python | Code | 35 | 143 | from django.urls import path
from users.views import login_page, sign_up, hello
from .views import test, answer_or_show_question, end_test, show_score
urlpatterns = [
path('login/', login_page),
path('signup/', sign_up),
path('hello/', hello),
path('test/', test),
path('test/<int:id>/', answer_or_s... | 21,938 |
https://github.com/denoland/deno/blob/master/test_napi/arraybuffer_test.js | Github Open Source | Open Source | MIT | 2,023 | deno | denoland | JavaScript | Code | 69 | 236 | // Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
import { assert, assertEquals, loadTestLibrary } from "./common.js";
const typedarray = loadTestLibrary();
Deno.test("napi arraybuffer detach", function () {
const buf = new ArrayBuffer(5);
assertEquals(buf.byteLength, 5);
typedarray.te... | 24,111 |
https://github.com/BiovistaInc/resty-gwt/blob/master/restygwt/src/it/restygwt-example/src/main/java/org/fusesource/restygwt/examples/client/OrderConfirmation.java | Github Open Source | Open Source | Apache-2.0 | 2,018 | resty-gwt | BiovistaInc | Java | Code | 214 | 461 | /**
* Copyright (C) 2009-2012 the original author or authors.
* See the notice.md file distributed with this work for additional
* information regarding copyright ownership.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* Yo... | 7,414 |
https://github.com/malayli/ios-inappmessaging/blob/master/RInAppMessaging/Classes/Utilities/TriggerAttributesValidator.swift | Github Open Source | Open Source | MIT | 2,020 | ios-inappmessaging | malayli | Swift | Code | 467 | 1,051 | /// Helper class with methods to check if a campaign is ready to be displayed.
internal struct TriggerAttributesValidator {
/// Check if the trigger has been satisfied or not. A trigger is
/// satisfied if all of its attributes are satisfied.
/// - Parameter trigger: The trigger to reconcile.
/// - Par... | 23,827 |
https://github.com/pmiddend/fcppt/blob/master/libs/core/include/fcppt/homogenous_pair_output.hpp | Github Open Source | Open Source | BSL-1.0 | 2,019 | fcppt | pmiddend | C++ | Code | 132 | 454 | // Copyright Carl Philipp Reh 2009 - 2017.
// Copyright Philipp Middendorf 2009 - 2017.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#ifndef FCPPT_HOMOGENOUS_PAIR_OUTPUT_HPP_INC... | 26,863 |
https://github.com/chesteradib/symfony/blob/master/src/FrontEnd/js/forthparty/homepage_js/homepage_item_crud.js | Github Open Source | Open Source | MIT | null | symfony | chesteradib | JavaScript | Code | 193 | 908 |
////////////////////////////////////////////////////////////////////////////
/// 1. Listen to Show product, input parameters : product id
/// 2. Show product
////////////////////////////////////////////////////////////////////////////
var show_article_listener = function()
{
$('a.show_article_trigger').click(fun... | 30,134 |
https://github.com/tilia/tilia-vobject/blob/master/test/v_object/component/v_event_test.rb | Github Open Source | Open Source | BSD-3-Clause | 2,016 | tilia-vobject | tilia | Ruby | Code | 340 | 1,421 | require 'test_helper'
module Tilia
module VObject
class VEventTest < Minitest::Test
def time_range_test_data
tests = []
berlin = ActiveSupport::TimeZone.new('Europe/Berlin')
calendar = Tilia::VObject::Component::VCalendar.new
vevent = calendar.create_component('VEVENT')
... | 14,478 |
https://github.com/JakBlack/Ballerine/blob/master/Assets/Scripts/DeathZone.cs | Github Open Source | Open Source | Apache-2.0 | null | Ballerine | JakBlack | C# | Code | 18 | 57 | using UnityEngine;
using System.Collections;
public class DeathZone : MonoBehaviour
{
private void OnTriggerEnter(Collider other)
{
Destroy(other.gameObject);
}
}
| 52,352 |
https://github.com/inwebo-tech/plugin-openam-v13.0/blob/master/openam-ui-ria/src/main/js/org/forgerock/openam/ui/admin/views/realms/dashboard/DashboardTasksView.js | Github Open Source | Open Source | MIT | null | plugin-openam-v13.0 | inwebo-tech | JavaScript | Code | 218 | 621 | /**
* The contents of this file are subject to the terms of the Common Development and
* Distribution License (the License). You may not use this file except in compliance with the
* License.
*
* You can obtain a copy of the License at legal/CDDLv1.0.txt. See the License for the
* specific language governing perm... | 51,924 |
https://github.com/singla-shivam/Javascript-Algorithms-DataStructures/blob/master/src/data-structure/doubly-linked-list/doublyLinkedList.js | Github Open Source | Open Source | MIT | 2,021 | Javascript-Algorithms-DataStructures | singla-shivam | JavaScript | Code | 918 | 2,289 | const DoublyLinkedListNode = require('./doublyLinkedListNode')
const Comparator = require('./../../utils/comparator/comparator')
/**
* @callback TraverseCallback
* @param {DoublyLinkedListNode} curr - current node
* @param {number} [index] - index of current node
* @param {number} [size] - size of the list
* @par... | 17,409 |
https://github.com/thorlaguna/proyectoEDD/blob/master/.import/FIRE_00033.png-6185140723dbe49c2e5217d674237e53.md5 | Github Open Source | Open Source | CC0-1.0 | 2,019 | proyectoEDD | thorlaguna | null | Spoken | 2 | 52 | source_md5="23d60b0ba8222958b22d4acc86665af4"
dest_md5="d6be96e15aa845ebef204ef691539efb"
| 46,731 |
https://github.com/metux/chromium-suckless/blob/master/third_party/closure_compiler/externs/pending_compiler_externs.js | Github Open Source | Open Source | LGPL-2.0-or-later, GPL-1.0-or-later, MIT, Apache-2.0, LicenseRef-scancode-unknown-license-reference, BSD-3-Clause | 2,017 | chromium-suckless | metux | JavaScript | Code | 45 | 106 | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
/** @externs */
/**
* @type {?Document}
* @see w3c_dom2.js
* @see http://www.w3.org/TR/html-imports/#interface-import
*/
HTMLLinkElement.prototype.im... | 6,896 |
https://github.com/Alex-At-Home/cbb-on-off-analyzer/blob/master/src/utils/AdvancedFilterUtils.ts | Github Open Source | Open Source | Apache-2.0 | 2,023 | cbb-on-off-analyzer | Alex-At-Home | TypeScript | Code | 1,126 | 5,158 | import _ from "lodash";
import Enumerable from "linq";
/** Library accepts strings. but typescript extension doesn't */
type TypeScriptWorkaround1 = (element: any, index: number) => boolean;
type TypeScriptWorkaround2 = (element: any) => unknown;
type EnumToEnum = (
e: Enumerable.IEnumerable<any>
) => Enumerable.IEn... | 46,347 |
https://github.com/evanchooly/dbfx/blob/master/app/src/main/kotlin/cn/navigational/dbfx/view/HomeViewController.kt | Github Open Source | Open Source | Apache-2.0 | 2,020 | dbfx | evanchooly | Kotlin | Code | 119 | 584 | package cn.navigational.dbfx.view
import cn.navigational.dbfx.ViewController
import cn.navigational.dbfx.config.*
import cn.navigational.dbfx.controller.NavigatorToolBarController
import cn.navigational.dbfx.controls.tree.CustomTreeView
import cn.navigational.dbfx.handler.MainTabPaneHandler
import cn.navigational.dbfx... | 11,421 |
https://github.com/claudiacauli/CloudFORMAL/blob/master/src/main/resources/terminology/resourcespecificationsOwl/ecstaskset.owl | Github Open Source | Open Source | Apache-2.0 | 2,022 | CloudFORMAL | claudiacauli | null | Spoken | 744 | 5,904 | <?xml version="1.0"?>
<Ontology xmlns="http://www.w3.org/2002/07/owl#"
xml:base="http://www.claudiacauli.com/aws/cfn/2019/v1.0/ecstaskset#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:xml="http://www.w3.org/XML/1998/namespace"
xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
xmln... | 583 |
https://github.com/yurkth/OpenSiv3D/blob/master/Siv3D/src/Siv3D/Script/Bind/Script_Point.cpp | Github Open Source | Open Source | MIT | 2,021 | OpenSiv3D | yurkth | C++ | Code | 1,547 | 5,331 | //-----------------------------------------------
//
// This file is part of the Siv3D Engine.
//
// Copyright (c) 2008-2019 Ryo Suzuki
// Copyright (c) 2016-2019 OpenSiv3D Project
//
// Licensed under the MIT License.
//
//-----------------------------------------------
# include <Siv3D/Script.hpp>
# include <Siv3D/... | 9,110 |
https://github.com/sanddudu/candy-theme-moeclub/blob/master/admin/nav.jade | Github Open Source | Open Source | MIT | 2,016 | candy-theme-moeclub | sanddudu | null | Spoken | 27 | 218 | ul#adminTab.nav.nav-tabs
li.active
a(href="#home",data-toggle="tab")
i.icon-dashboard
|#{site.name} 概览
li
a(href="#board",data-toggle="tab")
i.icon-hdd
|讨论节点
span.badge.pull-right #{boards.length}
li
a(href="#user",data-toggle="tab")
i.icon-user
|成员
span... | 38,834 |
https://github.com/joaoepj/oda-component-ctk/blob/master/L2-dynamicValidationRunner.js | Github Open Source | Open Source | Apache-2.0 | 2,021 | oda-component-ctk | joaoepj | JavaScript | Code | 231 | 537 | const Mocha = require('mocha')
const process = require('process')
const fs = require('fs')
let namespace = 'components' // default
if (process.env.NAMESPACE) {
namespace = process.env.NAMESPACE
}
let header = '' // default
let numberOfArgs = 0
process.argv.forEach(function (val, index, array) {
if ((val === '-n')... | 6,846 |
https://github.com/FENIX-Platform/fenix-commons/blob/master/fenix-commons-search/src/main/java/org/fao/fenix/commons/msd/dto/templates/export/metadata/MeStatisticalProcessing.java | Github Open Source | Open Source | Apache-2.0 | null | fenix-commons | FENIX-Platform | Java | Code | 46 | 261 | package org.fao.fenix.commons.msd.dto.templates.export.metadata;
import com.fasterxml.jackson.annotation.JsonProperty;
import org.fao.fenix.commons.msd.dto.templates.ResponseHandler;
public class MeStatisticalProcessing extends ResponseHandler {
public MeStatisticalProcessing() {}
public MeStatisticalProces... | 41,946 |
https://github.com/stephsch/Fixing_AI_In_Multiplayer/blob/master/mp/src/game/server/hl2/npc_dog.cpp | Github Open Source | Open Source | Unlicense | 2,021 | Fixing_AI_In_Multiplayer | stephsch | C++ | Code | 4,453 | 17,677 | //========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose: Implements d0g, the loving and caring head crushing Alyx companion.
//
//=============================================================================//
#include "cbase.h"
#include "npcevent.h"
#include "ai_basenpc.h"
#include ... | 38,682 |
https://github.com/iotaeco/iota-pico-core/blob/master/src/helpers/jsonHelper.ts | Github Open Source | Open Source | MIT | 2,018 | iota-pico-core | iotaeco | TypeScript | Code | 152 | 302 | /**
* Json helper methods.
*/
export class JsonHelper {
/**
* Stringify an object with recursion breaking.
* @param value A JavaScript value, usually an object or array, to be converted.
* @param replacer A function that transforms the results.
* @param space Adds indentation, white space, and... | 11,601 |
https://github.com/manandbytes/augeasproviders/blob/master/spec/support/sshd_config.rb | Github Open Source | Open Source | Apache-2.0 | 2,021 | augeasproviders | manandbytes | Ruby | Code | 84 | 307 | shared_examples_for 'sshd_config resource' do
it { should have_sshd_config_resource_count(1) }
it do
should contain_sshd_config('PermitRootLogin').only_with({
'name' => 'PermitRootLogin',
'ensure' => 'present',
'value' => 'yes',
'provider' => 'augeas',
})
end
end
sha... | 19,251 |
https://github.com/fernandosantosrethink/radien-ce/blob/master/rd-ms-permissionmanagement-client/src/main/java/io/radien/ms/permissionmanagement/client/util/ListPermissionModelMapper.java | Github Open Source | Open Source | Apache-2.0 | 2,021 | radien-ce | fernandosantosrethink | Java | Code | 202 | 415 | /*
* Copyright (c) 2006-present radien GmbH & its legal owners. All rights reserved.
* <p>
* 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
* <p>
* http://www.apache.org/licenses/LICENSE-... | 47,727 |
https://github.com/alfredlaggner/manifest.ozinc.info/blob/master/resources/views/page1/product_table.blade.php | Github Open Source | Open Source | MIT | 2,019 | manifest.ozinc.info | alfredlaggner | Blade | Code | 114 | 464 | <?php
$fmt = new NumberFormatter('en_US', NumberFormatter::CURRENCY);
?>
<style>
th {
vertical-align: center;
width: auto;
}
.grey {
background-color: lightgray;
}
</style>
<table style="table-layout: fixed; width: 100%" class="table table-bordered">
<thead>
<tr style... | 37,721 |
https://github.com/easynet-cn/easymesh-ui/blob/master/src/components/list/index.ts | Github Open Source | Open Source | Apache-2.0 | null | easymesh-ui | easynet-cn | TypeScript | Code | 22 | 53 | import List from './List.vue'
import { App } from 'vue'
List.install = (Vue: App) => {
Vue.component(List.name, List)
}
export default List
| 18,611 |
https://github.com/ayazhafiz/action-lgtm-reaction/blob/master/pkg/github/github.go | Github Open Source | Open Source | Apache-2.0 | 2,022 | action-lgtm-reaction | ayazhafiz | Go | Code | 319 | 910 | // Copyright 2020 micnncim
//
// 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 wr... | 6,978 |
https://github.com/kebernet/erigo/blob/master/ios/app/Erigo/com/google/common/collect/SingletonImmutableTable.h | Github Open Source | Open Source | Apache-2.0, BSD-2-Clause | 2,017 | erigo | kebernet | Objective-C | Code | 178 | 1,193 | //
// Generated by the J2ObjC translator. DO NOT EDIT!
// source: /Volumes/Personal/Documents/raspi-config/client-framework/build/j2oSources/com/google/common/collect/SingletonImmutableTable.java
//
#include "J2ObjC_header.h"
#pragma push_macro("INCLUDE_ALL_ComGoogleCommonCollectSingletonImmutableTable")
#ifdef RE... | 48,888 |
https://github.com/thetizzo/nfl_data/blob/master/spec/models/schedule_spec.rb | Github Open Source | Open Source | MIT | 2,020 | nfl_data | thetizzo | Ruby | Code | 53 | 192 | # frozen_string_literal: true
RSpec.describe NflData::Schedule do
let(:schedule) { described_class.new }
it "should be empty when there are no games" do
expect(schedule.games).to be_empty
end
it "should return an array of game hashes" do
game_1 = NflData::Game.new(week: 1, away_team: "Raiders")
g... | 30,373 |
https://github.com/GarconsdeCrystal/summit_proposal/blob/master/src/components/homepage/Submit.vue | Github Open Source | Open Source | MIT | 2,020 | summit_proposal | GarconsdeCrystal | Vue | Code | 709 | 2,889 | <template>
<section class="submit" id="submit">
<div class="submit-container container">
<h2 class="main-title light">投稿辦法</h2>
<section class="item">
<h3>
<b-icon icon="heart-fill" variant="danger"></b-icon>投稿主題 Topics
</h3>
<div class="categories">
<div cl... | 16,682 |
https://github.com/skwasjer/Correlate/blob/master/src/Correlate.Core/InternalsVisibleTo.cs | Github Open Source | Open Source | Apache-2.0 | 2,023 | Correlate | skwasjer | C# | Code | 8 | 65 | using System.Runtime.CompilerServices;
[assembly: InternalsVisibleTo("Correlate.Core.Tests")]
[assembly: InternalsVisibleTo("Correlate.AspNetCore")]
[assembly: InternalsVisibleTo("Correlate.AspNetCore.Tests")]
| 2,747 |
https://github.com/aspose-cells/Aspose.Cells-for-.NET/blob/master/Examples/CSharp/Articles/CopyRangeStyleOnly.cs | Github Open Source | Open Source | MIT | 2,023 | Aspose.Cells-for-.NET | aspose-cells | C# | Code | 222 | 709 | using System.IO;
using System.Drawing;
using Aspose.Cells;
using System;
namespace Aspose.Cells.Examples.CSharp.Articles
{
public class CopyRangeStyleOnly
{
public static void Run()
{
//Output directory
string outputDir = RunExamples.Get_OutputDirectory();
//... | 24,336 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.