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/SeanKilleen/lucenenet/blob/master/src/Lucene.Net.Tests/core/Support/TestExceptionSerialization.cs
Github Open Source
Open Source
Apache-2.0
2,017
lucenenet
SeanKilleen
C#
Code
291
772
/* * * 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"); y...
21,704
https://github.com/pxlit-projects/entmob2016_5/blob/master/TTT_UWP/TTT_UWP.DAL/IRackRepository.cs
Github Open Source
Open Source
MIT
null
entmob2016_5
pxlit-projects
C#
Code
34
125
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using TTT_UWP.Model; namespace TTT_UWP.DAL { public interface IRackRepository { void DeleteRack(Rack rack); Rack GetRack(); Rack GetRackById(int id); List<Rack> G...
31,145
https://github.com/ryanbrainard/octant/blob/master/internal/testutil/assert.go
Github Open Source
Open Source
Apache-2.0
2,021
octant
ryanbrainard
Go
Code
41
156
package testutil import ( "encoding/json" "testing" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) // AssertJSONEqual asserts two object's generated JSON is equal. func AssertJSONEqual(t *testing.T, expected, actual interface{}) { a, err := json.Marshal(expected) require.NoError(t...
13,916
https://github.com/dfriveros11/LiquidGalaxySimpleCMS/blob/master/app/src/main/java/com/lglab/diego/simple_cms/create/action/CreateStoryBoardActionLocationActivity.java
Github Open Source
Open Source
MIT
2,021
LiquidGalaxySimpleCMS
dfriveros11
Java
Code
874
4,429
package com.lglab.diego.simple_cms.create.action; import android.annotation.SuppressLint; import android.app.Activity; import android.app.AlertDialog; import android.app.Dialog; import android.content.Intent; import android.content.SharedPreferences; import android.os.Bundle; import android.os.Handler; import android....
30,535
https://github.com/cyberglot/effectfuljs/blob/master/packages/vscode-debugger/src/debugAdapter.ts
Github Open Source
Open Source
MIT
2,022
effectfuljs
cyberglot
TypeScript
Code
7
20
import { DebugSession } from "./session"; DebugSession.run(DebugSession);
4,558
https://github.com/zhuzhibin1988/carbondata/blob/master/integration/spark2/src/main/scala/org/apache/spark/sql/execution/datasources/SparkCarbonFileFormat.scala
Github Open Source
Open Source
Apache-2.0
null
carbondata
zhuzhibin1988
Scala
Code
835
3,297
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
9,182
https://github.com/philips-labs/tabia/blob/master/lib/github/filter_test.go
Github Open Source
Open Source
MIT
2,021
tabia
philips-labs
Go
Code
456
2,092
package github_test import ( "fmt" "testing" "time" "github.com/stretchr/testify/assert" "github.com/philips-labs/tabia/lib/github" "github.com/philips-labs/tabia/lib/shared" ) func TestReduceRepositories(t *testing.T) { assert := assert.New(t) repos := []github.Repository{ { Name: "tabia", Visibility...
44,093
https://github.com/perfectrecall/aws-sdk-cpp/blob/master/aws-cpp-sdk-appmesh/include/aws/appmesh/model/VirtualGatewayListenerTlsFileCertificate.h
Github Open Source
Open Source
Apache-2.0
2,022
aws-sdk-cpp
perfectrecall
C
Code
558
1,520
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include <aws/appmesh/AppMesh_EXPORTS.h> #include <aws/core/utils/memory/stl/AWSString.h> #include <utility> namespace Aws { namespace Utils { namespace Json { class JsonValue; class...
29,558
https://github.com/jonyhandoko/khayana/blob/master/gocart/views/admin/iframe/insert_shipping_number.php
Github Open Source
Open Source
Apache-2.0
null
khayana
jonyhandoko
PHP
Code
60
284
<?php include('header.php');?> <?php if(isset($finished)) : ?> <script type="text/javascript"> $(function() { parent.location.reload(); }); </script> <?php else : ?> <div style="text-align:left"> <form id="number_form" action="<?php echo site_url($this->config->item('admin_folder').'/orders/insert_number/'.$order_i...
24,771
https://github.com/shakenetwork/tui.editor/blob/master/src/js/extensions/table/tableUnmergePreparer.js
Github Open Source
Open Source
MIT
2,017
tui.editor
shakenetwork
JavaScript
Code
102
304
/** * @fileoverview Implements tableUnmergePreparer. * @author Jiung Kang(jiung.kang@nhnent.com) FE Development Lab/NHN Ent. */ /** * Prepend merge syntax to content. * @param {HTMLElement} cell - td or th * @private */ export function _prependMergeSyntaxToContent(cell) { const $cell = $(cell); const co...
11,820
https://github.com/zhoupan/cuba/blob/master/modules/web/src/com/haulmont/cuba/web/App.java
Github Open Source
Open Source
Apache-2.0
2,022
cuba
zhoupan
Java
Code
1,792
5,856
/* * Copyright (c) 2008-2016 Haulmont. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
34,117
https://github.com/silvioedu/silcom-frontend/blob/master/src/app/components/cadastros/documento-tipo/documento-tipo-routing.module.ts
Github Open Source
Open Source
MIT
null
silcom-frontend
silvioedu
TypeScript
Code
78
280
import { NgModule } from '@angular/core'; import { RouterModule, Routes } from '@angular/router'; import { DocumentoTipoCreateComponent } from './documento-tipo-create/documento-tipo-create.component'; import { DocumentoTipoDeleteComponent } from './documento-tipo-delete/documento-tipo-delete.component'; import { Docum...
43,563
https://github.com/JieGou/mh-master/blob/master/Hao.Geometry/EllipseExtensionMethods.cs
Github Open Source
Open Source
Apache-2.0
null
mh-master
JieGou
C#
Code
415
1,491
using System; namespace Hao.Geometry { // Token: 0x0200007F RID: 127 public static class EllipseExtensionMethods { // Token: 0x0600048E RID: 1166 RVA: 0x00016D10 File Offset: 0x00014F10 public static AxisAlignedBox2 ComputeAxisAlignedBoundingBox(this Ellipse2 ellipse) { double num; double num2; doub...
16,797
https://github.com/alvarolop/digital_comms/blob/master/matlab_scripts/plot_chart_1_lads.m
Github Open Source
Open Source
MIT
2,018
digital_comms
alvarolop
MATLAB
Code
428
1,959
function [] = plot_chart_1_lads(data_path, scenario) %% GET TABLE INFORMATION Table=readtable(data_path); % summary(Table) % Print info of the Table title_prefix = pad('Chart_1_lads_'); step_100 = Table.population_sum(length(Table.population_sum)); step_25_x = find(Table.population_sum>step_100/4,1); step_50_x = fin...
19,443
https://github.com/Morphyum/ContractSort/blob/master/ContractSort/ContractSort/Patch.cs
Github Open Source
Open Source
MIT
2,018
ContractSort
Morphyum
C#
Code
123
397
using BattleTech; using BattleTech.Framework; using BattleTech.UI; using Harmony; using System; namespace ContractSort { [HarmonyPatch(typeof(SGContractsWidget), "GetContractComparePriority")] public static class SGContractsWidget_GetContractComparePriority_Patch { static bool Prefix(SGContractsWidge...
19,695
https://github.com/commercetools/commercetools-docs-kit/blob/master/api-specs/api/types/standalone-price/StandalonePriceUpdateAction.raml
Github Open Source
Open Source
MIT
2,023
commercetools-docs-kit
commercetools
null
Spoken
15
49
#%RAML 1.0 DataType (package): StandalonePrice type: object displayName: StandalonePriceUpdateAction discriminator: action properties: action: type: string
44,286
https://github.com/DinhDuyTu/manchup/blob/master/database/seeds/CategoryTableSeeder.php
Github Open Source
Open Source
MIT
null
manchup
DinhDuyTu
PHP
Code
132
456
<?php use Illuminate\Database\Seeder; class CategoryTableSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { DB::table('categories')->insert([ 'parent_id' => 0, 'name' => 'Màn chụp người lớn', ]); ...
41,408
https://github.com/yuvadm/freebase-python/blob/master/freebase/experimental/split.py
Github Open Source
Open Source
BSD-3-Clause, BSD-2-Clause
2,010
freebase-python
yuvadm
Python
Code
398
1,195
import freebase, freebase.schema from freebase.api.session import LITERAL_TYPE_IDS from copy import deepcopy ## TODO: CLONE TYPES class AttributionNode(object): def __init__(self, s): self._dict = {} self.s = s def get(self, user): if self._dict.has_key(user): ret...
2,398
https://github.com/luckymrwang/node/blob/master/myapp/node_modules/skywalking-backend-js/lib/plugins/HttpPlugin.js
Github Open Source
Open Source
Apache-2.0
2,022
node
luckymrwang
JavaScript
Code
582
1,668
"use strict"; /*! * * 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 "L...
46,433
https://github.com/ajnavarro/language-dataset/blob/master/data/github.com/ftm13/masters/105bd354f23026db0662866675d9516eff7bb698/BlocksGame/cubeturk/examples/0ECjYvl.lisp
Github Open Source
Open Source
MIT
2,022
language-dataset
ajnavarro
Common Lisp
Code
926
5,489
(example (id session:0ECjYvl) (context (date 2016 1 29) (graph NaiveKnowledgeGraph ((string [[1,1],[1,3],[1,1],[1,3],[1,1],[1,3]]) (name b) (name c)))) (timeStamp 2016-02-29T12:41:54.832) (NBestInd 0) (utterance "remove orange") (targetFormula (call edu.stanford.nlp.sempre.cubeworld.StacksWorld.wa...
7,035
https://github.com/CenterForOpenScience/ember-osf/blob/master/addon/services/file-manager.js
Github Open Source
Open Source
MIT, Apache-2.0
2,023
ember-osf
CenterForOpenScience
JavaScript
Code
1,857
4,323
import Ember from 'ember'; import config from 'ember-get-config'; /** * @module ember-osf * @submodule services */ /** * An Ember service for doing things to files. * Essentially a wrapper for the Waterbutler API. * http://waterbutler.readthedocs.io/ * * @class file-manager * @extends Ember.Service */ expor...
19,876
https://github.com/kumarsmurthy/ondesama-kannada/blob/master/src/app/core/effects/now-playlist.effects.ts
Github Open Source
Open Source
MIT
null
ondesama-kannada
kumarsmurthy
TypeScript
Code
65
235
import { Injectable } from '@angular/core'; import { Actions, Effect, toPayload } from '@ngrx/effects'; import { NowPlaylistActions } from '../store/now-playlist'; import { PlayerService } from '../services/player.service'; @Injectable() export class NowPlaylistEffects { constructor( private actions$: Actions, ...
10,811
https://github.com/opencit/dcg_security-mtwilson/blob/master/database/postgresql/src/main/resources/com/intel/mtwilson/database/postgresql/20140213235800_mtwilson20_add_permission_table.sql
Github Open Source
Open Source
BSD-3-Clause
2,022
dcg_security-mtwilson
opencit
SQL
Code
500
1,218
-- created 2014-02-13 -- example insert: insert into mw_role (id,role_name,description) values ('a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11','test_role','just for testing'); CREATE TABLE mw_role ( id CHAR(36) NOT NULL, role_name character varying(200) NOT NULL, description text DEFAULT NULL, PRIMARY KEY (id) ); ...
9,562
https://github.com/yinlianwei/mylib/blob/master/app/cache/dev/twig/06/39/73cb44550e642206eae405c18a60.php
Github Open Source
Open Source
MIT
null
mylib
yinlianwei
PHP
Code
195
838
<?php /* MylibberBackendBundle:Book:hist.html.twig */ class __TwigTemplate_063973cb44550e642206eae405c18a60 extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); $this->parent = $this->env->loadTemplate("MylibberBackendBundle::layout.html.twig"...
19,495
https://github.com/burillo-se/lv2host-go/blob/master/lv2host/lv2host/lv2host-c.h
Github Open Source
Open Source
BSD-3-Clause
2,019
lv2host-go
burillo-se
C
Code
330
698
#ifndef LV2HOSTC_H #define LV2HOSTC_H #include <stddef.h> #ifdef __cplusplus extern "C" { #endif typedef void *CLV2Host; /* * Constructor */ CLV2Host lv2host_alloc(double sampleRate); /* * Destructor */ void lv2host_free(CLV2Host host); /* * Clear all loaded plugins. */ void lv2host_reset(CLV2Host host); /...
40,374
https://github.com/FruitieX/redux-presentation-examples/blob/master/src/components/DialogWithButtons.jsx
Github Open Source
Open Source
MIT
null
redux-presentation-examples
FruitieX
null
Spoken
368
1,218
import React, { PropTypes } from 'react'; import TextField from 'material-ui/TextField'; import { Dialog, DialogActions, DialogContent, DialogContentText, DialogTitle, } from 'material-ui/Dialog'; import Button from 'material-ui/Button'; import { LinearProgress } from 'material-ui/Progress'; import ImageUpl...
16,403
https://github.com/zengqingtao/stats/blob/master/notWarehouse/src/views/order/platformReport.vue
Github Open Source
Open Source
MIT
2,019
stats
zengqingtao
Vue
Code
965
4,439
<template> <d2-container> <template slot="header">日订单分析</template> <!-- 顶部 --> <div class="header"> <div class="pickup-points-box"> <div class="pickup-points">提货点</div> <el-select class="pickup-points-option" v-model="factory" placeholder="请选择"> <el-option v-for="(item,i) i...
17,367
https://github.com/bartonmcguire/KievII/blob/master/publish.sh
Github Open Source
Open Source
MIT
2,012
KievII
bartonmcguire
Shell
Code
20
74
#!/bin/bash . local.mk rm git_info.log 2>/dev/null git log -n 1 --pretty="%H">git_info.log scp -r git_info.log utilities/ audio/ demos/ graphic_elements/ dsp/ $remotehost:$remotedir
15,962
https://github.com/dwieeb/VDIFN/blob/master/src/PlantPath/Bundle/VDIFNBundle/Entity/Weather/Observed/Daily.php
Github Open Source
Open Source
MIT
null
VDIFN
dwieeb
PHP
Code
313
1,046
<?php namespace PlantPath\Bundle\VDIFNBundle\Entity\Weather\Observed; use PlantPath\Bundle\VDIFNBundle\Geo\Model\AbstractDailyWeather; use Doctrine\ORM\Mapping as ORM; /** * Observed daily weather data. * * @ORM\Entity(repositoryClass="PlantPath\Bundle\VDIFNBundle\Repository\Weather\Observed\DailyRepository") * ...
32,233
https://github.com/itk-event-database/event-database-api/blob/master/src/AdminBundle/Controller/AdminController.php
Github Open Source
Open Source
MIT
2,023
event-database-api
itk-event-database
PHP
Code
561
2,285
<?php /* * This file is part of Eventbase API. * * (c) 2017–2018 ITK Development * * This source file is subject to the MIT license. */ namespace AdminBundle\Controller; use AppBundle\Entity\Event; use AppBundle\Entity\Group; use AppBundle\Entity\Occurrence; use AppBundle\Entity\Place; use Doctrine\Common\Coll...
47,394
https://github.com/likaigelikaige/FPGA_Webserver/blob/master/hdl/udp/udp_test_sink.vhd
Github Open Source
Open Source
MIT
2,016
FPGA_Webserver
likaigelikaige
VHDL
Code
362
821
---------------------------------------------------------------------------------- -- Engineer: Mike Field <hamster@snap.net.nz> -- -- Module Name: udp_test_sink - Behavioral -- -- Description: Receive UDP packets for testing. -- ------------------------------------------------------------------------------------ --...
23,192
https://github.com/fucksysteminfo/h-player-v2/blob/master/src/layouts/Config.vue
Github Open Source
Open Source
MIT
2,019
h-player-v2
fucksysteminfo
Vue
Code
833
4,063
<template> <q-layout view="hHh Lpr fFf"> <!-- (Optional) The Header --> <q-header elevated> <title-bar></title-bar> <q-toolbar> <q-btn dense flat round icon="menu" @click="leftDrawer = !leftDrawer" /> <q-space></q-space> ...
8,049
https://github.com/logginghub/core/blob/master/logginghub-web/src/test/java/com/logginghub/web/Controller.java
Github Open Source
Open Source
Apache-2.0
null
core
logginghub
Java
Code
60
176
package com.logginghub.web; @WebController(staticFiles = "/static/") public class Controller { public int simpleMethodCalls = 0; public void simpleMethod() { simpleMethodCalls++; } public String simpleMethodThatReturns() { return "Return string"; } public String simpleMethod...
20,740
https://github.com/fgiorgetti/qpid-dispatch-tests/blob/master/pytest_iqa/plugin.py
Github Open Source
Open Source
Apache-2.0
null
qpid-dispatch-tests
fgiorgetti
Python
Code
378
1,101
"""PyTest Ansible Plugin Defines mandatory options and configuration that can be applied to all test suites. """ import atexit import os from .instance import IQAInstance from .fixtures import * from .logger import get_logger # Default timeout settings CLIENTS_TIMEOUT = 60 DEFAULT_LOG_FORMAT = '%(asctime)s [%(leveln...
8,257
https://github.com/cdontaki/hotel-management-system/blob/master/src/controllers/Main.java
Github Open Source
Open Source
MIT
null
hotel-management-system
cdontaki
Java
Code
39
129
package controllers; public class Main{ public static HomeScreen HS; public static void main(String[] args){ FileHandling.readReservationsFromFile(); //diavasma twn kratisewn apo to arxeio FileHandling.readRoomsFromFile(); //diavasma twn dwmatiwn apo to arxeio Registry.RS.ad...
44,362
https://github.com/xzm2004260/jyut-dict/blob/master/src/jyut-dict/logic/search/isearchobserver.h
Github Open Source
Open Source
MIT
2,019
jyut-dict
xzm2004260
C++
Code
21
87
#ifndef ISEARCHOBSERVER_H #define ISEARCHOBSERVER_H #include <logic/entry/entry.h> #include <vector> class ISearchObserver { public: virtual void callback(std::vector<Entry>) = 0; }; #endif // ISEARCHOBSERVER_H
49,459
https://github.com/androidx/androidx/blob/master/slice/slice-view/src/main/java/androidx/slice/widget/SliceViewUtil.java
Github Open Source
Open Source
Apache-2.0
2,023
androidx
androidx
Java
Code
702
2,308
/* * Copyright 2017 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
44,758
https://github.com/Mfknudsen/Galaxy-War/blob/master/Galaxy War/Library/PackageCache/com.unity.render-pipelines.high-definition@8.2.0/Editor/Lighting/IndirectLightingControllerEditor.cs
Github Open Source
Open Source
MIT
2,020
Galaxy-War
Mfknudsen
C#
Code
194
762
using UnityEngine; using UnityEngine.Rendering.HighDefinition; using UnityEngine.Rendering; namespace UnityEditor.Rendering.HighDefinition { [CanEditMultipleObjects] [VolumeComponentEditor(typeof(IndirectLightingController))] class IndirectLightingControllerEditor : VolumeComponentEditor { Seri...
11,658
https://github.com/teymourk/Android-Twitter-Client-SQL-/blob/master/app/src/main/java/com/codepath/apps/TwitterClient/FetchClient.java
Github Open Source
Open Source
MIT
null
Android-Twitter-Client-SQL-
teymourk
Java
Code
299
1,015
package com.codepath.apps.TwitterClient; import android.content.Context; import android.graphics.Bitmap; import android.support.v7.app.AppCompatActivity; import android.text.Html; import android.view.View; import android.widget.ImageView; import android.widget.TextView; import com.loopj.android.http.JsonHttpResponseH...
40,683
https://github.com/starpeng/JdSdk/blob/master/Source/JdSdk/Domains/Field.cs
Github Open Source
Open Source
MS-PL, MIT
2,014
JdSdk
starpeng
C#
Code
69
251
#region head comment /* Code generate by JdSdkTool. Copyright © starpeng@vip.qq.com 2012-06-21 10:49:00:318 +08:00 */ #endregion using System; using System.Xml.Serialization; using Newtonsoft.Json; namespace JdSdk.Domain { /// <summary> /// Field对象结构 /// </summary> [Serializable] public class Fiel...
33,632
https://github.com/lacie-life/YoctoPi/blob/master/poky-dunfell/meta/lib/oeqa/runtime/cases/oe_syslog.py
Github Open Source
Open Source
MIT
2,022
YoctoPi
lacie-life
Python
Code
438
1,503
# # SPDX-License-Identifier: MIT # from oeqa.runtime.case import OERuntimeTestCase from oeqa.core.decorator.depends import OETestDepends from oeqa.core.decorator.data import skipIfDataVar from oeqa.runtime.decorator.package import OEHasPackage import time class SyslogTest(OERuntimeTestCase): @OETestDepends(['ssh...
13,230
https://github.com/AlexKole113/mobile-shop-app/blob/master/src/components/GroupedCards/styles/index.scss
Github Open Source
Open Source
MIT
null
mobile-shop-app
AlexKole113
SCSS
Code
59
214
@import "../../../styles/partials/_mixins.scss"; .shop-grouped { padding: 1.7rem 0; &__collection { display: grid; grid-template-columns: 1fr 1fr; column-gap: .8rem; row-gap: 2rem; //@include sm { // grid-template-columns: 1fr 1fr 1fr; //} //@include md { // grid-template-co...
14,732
https://github.com/FPRDI-MIS/bamboo/blob/master/app/Http/Controllers/BamboosController.php
Github Open Source
Open Source
MIT
null
bamboo
FPRDI-MIS
PHP
Code
476
1,765
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Models\Bamboo; use App\Models\Picture; use DB; use Illuminate\Support\Facades\Storage; class BamboosController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ ...
16,020
https://github.com/grushnakk/PetitParserJava/blob/master/src/org/petitparser/parser/ActionParser.java
Github Open Source
Open Source
MIT
2,014
PetitParserJava
grushnakk
Java
Code
101
259
package org.petitparser.parser; import org.petitparser.context.Context; import org.petitparser.context.Result; import com.google.common.base.Function; /** * A parser that performs a transformation with a given function on the * successful parse result of the delegate. * * @param <T> The type of the function argu...
52,881
https://github.com/nielsuiterwijk/vulkan/blob/master/raven/graphics/buffers/CommandBuffer.cpp
Github Open Source
Open Source
MIT
2,021
vulkan
nielsuiterwijk
C++
Code
160
553
#include "CommandBuffer.h" #include "graphics\GraphicsContext.h" #include "graphics\GraphicsDevice.h" #include "graphics\VulkanSwapChain.h" #include "graphics\buffers\CommandBufferPool.h" CommandBuffer::CommandBuffer( VkCommandPool commandBufferPool ) : _pCommandBufferPool( commandBufferPool ) { Initialize(); } ...
30,054
https://github.com/lzhlyle/leetcode/blob/master/src/main/java/com/lzhlyle/leetcode/week/no1/TwoSum.java
Github Open Source
Open Source
MIT
2,020
leetcode
lzhlyle
Java
Code
82
247
package com.lzhlyle.leetcode.week.no1; import java.util.Arrays; import java.util.HashMap; import java.util.Map; public class TwoSum { public int[] twoSum(int[] nums, int target) { // base condition if (nums == null || nums.length < 2) return new int[0]; Map<Integer, Integer> map = new Has...
12,530
https://github.com/slowe/rise-and-set/blob/master/geo/cities/m-5.tsv
Github Open Source
Open Source
MIT
2,022
rise-and-set
slowe
TSV
Code
400
1,834
500 32.5632 -97.1417 America/Chicago 501 36.9613 -120.0607 America/Los_Angeles 502 31.9322 35.0442 Asia/Jerusalem 503 38.0546 -1.2076 Europe/Madrid 504 -15.8560 27.7480 Africa/Lusaka 505 15.7353 79.2685 Asia/Kolkata 506 53.2602 -2.1256 Europe/London 507 34.0095 -118.1054 America/Los_Angeles 508 23.0128 104.4508 Asia/Sh...
3,168
https://github.com/lospejos/Golden-Hoppers/blob/master/src/main/java/io/github/haykam821/goldenhoppers/block/entity/GoldenHopperBlockEntity.java
Github Open Source
Open Source
MIT
2,021
Golden-Hoppers
lospejos
Java
Code
248
1,010
package io.github.haykam821.goldenhoppers.block.entity; import java.util.stream.IntStream; import io.github.haykam821.goldenhoppers.Main; import io.github.haykam821.goldenhoppers.screen.GoldenHopperScreenHandler; import net.minecraft.block.BlockState; import net.minecraft.block.entity.BlockEntityType; import net.mine...
6,133
https://github.com/armory3d/armory_examples/blob/master/game_endlessrun/Sources/arm/PlayerController.hx
Github Open Source
Open Source
Zlib
2,023
armory_examples
armory3d
Haxe
Code
60
201
package arm; class PlayerController extends iron.Trait { public function new() { super(); notifyOnUpdate(function() { var kb = iron.system.Input.getKeyboard(); var x = object.transform.loc.x; // Move player if ((kb.down("left") || kb.down("a")) && x > -1.8) { object.transform.loc.x -= 0.06; ...
13,641
https://github.com/bhoske/changeGLTF/blob/master/node_modules/montage/core/exception.js
Github Open Source
Open Source
BSD-3-Clause
null
changeGLTF
bhoske
JavaScript
Code
306
766
var Montage = require("./core").Montage; var logger = require("./logger").logger("exception"); /** * @module montage/core/exception * @requires montage/core/core * @requires montage/core/logger */ /** * @class Exception * @extends Montage */ var Exception = exports.Exception = Montage.specialize(/** @lends Excep...
33,599
https://github.com/alllenmartin/ARPSMS/blob/master/includes/func.php
Github Open Source
Open Source
MIT
null
ARPSMS
alllenmartin
PHP
Code
505
2,487
<?php // Including database connection include_once ('db1.php'); // Check if submit button is clicked if (isset($_POST['submit'])) { $first_name = mysqli_real_escape_string($conn,$_POST['first_name']); $last_name = mysqli_real_escape_string($conn,$_POST['last_name']); $username = mysqli_real_escape...
14,530
https://github.com/sewa/cms/blob/master/app/models/cms/concerns/content_attributes.rb
Github Open Source
Open Source
MIT
2,015
cms
sewa
Ruby
Code
247
812
# encoding: utf-8 module Cms module Concerns module ContentAttributes extend ActiveSupport::Concern included do has_many :content_attributes, autosave: true, as: :attributable def destroy_content_attributes(attrs) attrs.reject {|key, value| value.blank? }.each do |key, va...
35,345
https://github.com/alexander-shipilov/vanilla-sass/blob/master/src/type/number.scss
Github Open Source
Open Source
MIT
null
vanilla-sass
alexander-shipilov
SCSS
Code
53
144
@import "../func/func-call-private--"; @import "number--"; /// Creates new "number" type /// @group types /// /// @param { type } $type /// @return { map } /// /// @example /// /// @debug is-type-of(number(string), ("foo", "bar")); // true /// @debug is-type-of(number(string), (1,)); // false /// @function number(...
8,372
https://github.com/paulwratt/bas-2.5-pw/blob/master/test/test33
Github Open Source
Open Source
MIT
2,018
bas-2.5-pw
paulwratt
Shell
Code
78
221
#!/bin/sh echo -n $0: 'OPEN FOR BINARY... ' cat >test.bas <<'eof' open "test.out" for binary as 1 put 1,1,"xy" put 1,3,"z!" put 1,10,1/3 put 1,20,9999 close 1 open "test.out" for binary as 1 s$=" " get 1,1,s$ get 1,10,x get 1,20,n% close print s$ print x print n% kill "test.out" eof cat >test.ref <<'eof' xyz! 0....
19,737
https://github.com/centreon/centreon/blob/master/centreon/packages/ui/src/Form/Inputs/Switch.tsx
Github Open Source
Open Source
Apache-2.0
2,023
centreon
centreon
TSX
Code
158
491
import { ChangeEvent } from 'react'; import { FormikValues, useFormikContext } from 'formik'; import { path, split } from 'ramda'; import { useTranslation } from 'react-i18next'; import { FormControlLabel, Switch as MUISwitch } from '@mui/material'; import { getNormalizedId } from '../../utils/getNormalizedId'; impo...
48,877
https://github.com/recore/recore-tools/blob/master/packages/loader/test/bootstrap-transform/src/bootstrap.require.js
Github Open Source
Open Source
MIT
2,022
recore-tools
recore
JavaScript
Code
12
44
/* eslint-disable */ const _recore = require('@ali/recore'); (0, _recore.runApp)({ mode: 'history', });
34,857
https://github.com/Thecarisma/serenity/blob/master/Applications/PaintBrush/BucketTool.h
Github Open Source
Open Source
BSD-2-Clause
2,019
serenity
Thecarisma
C++
Code
32
89
#pragma once #include "Tool.h" class BucketTool final : public Tool { public: BucketTool(); virtual ~BucketTool() override; virtual void on_mousedown(GMouseEvent&) override; private: virtual const char* class_name() const override { return "BucketTool"; } };
44,604
https://github.com/iamdelta/nayix/blob/master/store/mutations.js
Github Open Source
Open Source
MIT
2,018
nayix
iamdelta
JavaScript
Code
36
99
export default { SET_TOKEN (state, token) { state.token = token }, SET_USER (state, data) { state.user = data.data }, SET_ARTICLES (state, data) { state.articles = data }, SET_TAGS (state, data) { state.tags = data.data } }
850
https://github.com/hmcts/ccpay-notifications-service/blob/master/src/test/java/uk/gov/hmcts/reform/notifications/config/IdamServiceImplTest.java
Github Open Source
Open Source
MIT
null
ccpay-notifications-service
hmcts
Java
Code
257
1,551
package uk.gov.hmcts.reform.notifications.config; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertThrows; import static org.mockito.ArgumentMatchers.any; import static org.mockito.ArgumentMatchers.anyString; import static org.mockito.ArgumentMatchers.eq; import static org.mockito.Mock...
40,016
https://github.com/edsiper/duda/blob/master/packages/mariadb/deps/libmariadbclient/mysys/my_file.c
Github Open Source
Open Source
Apache-2.0
2,019
duda
edsiper
C
Code
412
1,450
/* Copyright (c) 2000, 2010, Oracle and/or its affiliates This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License. This program is distributed in the hope that it wil...
31,280
https://github.com/virtyaluk/flappy-bird-360/blob/master/src/gameStates/bootState.js
Github Open Source
Open Source
MIT
2,016
flappy-bird-360
virtyaluk
JavaScript
Code
91
351
/** * Flappy Bird 360 - a small clone of Flappy Bird for web using PhaserJS. * https://github.com/virtyaluk/flappy-bird-360 * * Copyright (c) 2016 Bohdan Shtepan * http://modern-dev.com/ * * Licensed under the MIT license. */ var phaser = require('../phaser'); module.exports = function(game, gameEntities) { ...
42,875
https://github.com/cashbacdesign/ui/blob/master/src/components/timerPulser/index.js
Github Open Source
Open Source
MIT
2,022
ui
cashbacdesign
JavaScript
Code
7
25
import TimerPulser from './TimerPulser'; export default TimerPulser;
2,252
https://github.com/InnoFang/algo-set/blob/master/Data Structure/Sort/Merge Sort/main.kt
Github Open Source
Open Source
Apache-2.0
2,023
algo-set
InnoFang
Kotlin
Code
204
508
import java.util.Random fun mergeSort(arr: IntArray, aux: IntArray, left: Int, right: Int) { if (left >= right) return; val mid = left + (right - left) / 2 mergeSort(arr, aux, left, mid) mergeSort(arr, aux, mid + 1, right) if (arr[mid] > arr[mid + 1]) merge(arr, aux, left, mid, right) } ...
47,742
https://github.com/Helium333/cardano-ledger-specs/blob/master/byron/ledger/executable-spec/src/Cardano/Ledger/Spec/STS/UTXO.hs
Github Open Source
Open Source
MIT, LicenseRef-scancode-warranty-disclaimer, Apache-2.0
2,019
cardano-ledger-specs
Helium333
Haskell
Code
285
790
{-# LANGUAGE NamedFieldPuns #-} {-# LANGUAGE TypeApplications #-} {-# LANGUAGE TypeFamilies #-} -- | UTXO transition system module Cardano.Ledger.Spec.STS.UTXO ( UTXO , UTxOEnv (UTxOEnv) , UTxOState (UTxOState) , utxo , utxo0 , pps , reserves ) where import qualifie...
15,657
https://github.com/ShettiNagashree11/ml_lab_ecsc_306/blob/master/xor.ipynb
Github Open Source
Open Source
Apache-2.0
2,017
ml_lab_ecsc_306
ShettiNagashree11
Jupyter Notebook
Code
344
1,353
{ "cells": [ { "cell_type": "code", "execution_count": 6, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "WARNING:tensorflow:From /Anaconda/anaconda3/lib/python3.6/site-packages/tensorflow/python/util/tf_should_use.py:170: initialize_all_varia...
3,781
https://github.com/mpergament/open-nti-1/blob/master/tests/test_input_jti.py
Github Open Source
Open Source
Apache-2.0
2,017
open-nti-1
mpergament
Python
Code
822
3,315
from docker import Client import docker.tls as tls import influxdb import time from os import path import os import shutil import pprint import subprocess import json import os.path from sys import platform as _platform import time import requests import filecmp import sys pp = pprint.PrettyPrinter(indent=4) ########...
21,856
https://github.com/PeterAsenov22/LimeAcademy/blob/master/UpgradeableCars/deployment/deploy.js
Github Open Source
Open Source
MIT
2,019
LimeAcademy
PeterAsenov22
JavaScript
Code
235
938
const etherlime = require('etherlime'); const ethers = require('ethers'); const Cars = require('../build/Cars.json'); const Cars2 = require('../build/Cars2.json'); const ICars = require('../build/ICars.json'); const ICars2 = require('../build/ICars2.json'); const CarsProxy = require('../build/CarsProxy.json'); const Ca...
28,065
https://github.com/lechium/tvOS144Headers/blob/master/System/Library/Frameworks/MapKit.framework/_MKMapInteractionControlsView.h
Github Open Source
Open Source
MIT
2,021
tvOS144Headers
lechium
C
Code
209
920
/* * This header is generated by classdump-dyld 1.5 * on Wednesday, April 14, 2021 at 2:25:22 PM Mountain Standard Time * Operating System: Version 14.4 (Build 18K802) * Image Source: /System/Library/Frameworks/MapKit.framework/...
5,810
https://github.com/machacekondra/assisted-service/blob/master/internal/bootfiles/bootfiles_test.go
Github Open Source
Open Source
Apache-2.0
null
assisted-service
machacekondra
Go
Code
178
1,140
package bootfiles_test import ( "context" "errors" "net/http" "testing" "github.com/go-openapi/runtime/middleware" "github.com/golang/mock/gomock" _ "github.com/jinzhu/gorm/dialects/postgres" . "github.com/onsi/ginkgo" . "github.com/onsi/gomega" "github.com/openshift/assisted-service/internal/bootfiles" "g...
2,884
https://github.com/CyberBTC/blixt-wallet/blob/master/src/windows/Receive/index.tsx
Github Open Source
Open Source
MIT
2,021
blixt-wallet
CyberBTC
TSX
Code
106
393
import React from "react" import { createStackNavigator, StackNavigationOptions, CardStyleInterpolators } from "@react-navigation/stack"; import ReceiveSetup from "./ReceiveSetup"; import ReceiveQr from "./ReceiveQr"; import { lnrpc } from "../../../proto/proto"; import useStackNavigationOptions from "../../hooks/useS...
44,331
https://github.com/LorenzoMatteucci/sibilla/blob/master/langs/pm/src/main/resources/PopulationModel.st
Github Open Source
Open Source
Apache-2.0
2,021
sibilla
LorenzoMatteucci
null
Spoken
200
840
group PopulationModel; model(packageName,className,consts,params,ruleDeclarations,rulesToModel,speciesDeclaration,measuresDeclarations) ::= << /** Generated with Sibilla. */ package <package>; import Model; import quasylab.sibilla.core.models.pm.*; public class <className> extends PopulationModelDefinition { <...
50,193
https://github.com/lostella/ProximalAlgorithms.jl/blob/master/src/utilities/conjugate.jl
Github Open Source
Open Source
MIT
2,022
ProximalAlgorithms.jl
lostella
Julia
Code
28
106
using ProximalOperators using ProximalOperators: Zero ProximalOperators.Conjugate(f::Zero) = IndZero() ProximalOperators.Conjugate(f::IndZero) = Zero() ProximalOperators.Conjugate(f::SqrNormL2) = SqrNormL2(1.0 / f.lambda) # TODO: Add other useful functions and calculus rules such as translation
52,027
https://github.com/AlinMH/acs-sma-lab/blob/master/lab03/my/MyPrey.java
Github Open Source
Open Source
MIT
2,021
acs-sma-lab
AlinMH
Java
Code
268
1,117
package my; import base.Action; import base.Perceptions; import gridworld.GridPosition; import gridworld.GridRelativeOrientation; import gridworld.ProbabilityMap; import hunting.AbstractWildlifeAgent; import hunting.WildlifeAgentType; import my.MyEnvironment.MyAction; import my.MyEnvironment.MyPerceptions; /** * Imp...
35,493
https://github.com/rxcod9/ngx-tawk/blob/master/projects/ngx-tawk/src/lib/tokens/ngx-tawk-router-settings-token.ts
Github Open Source
Open Source
MIT
null
ngx-tawk
rxcod9
TypeScript
Code
34
110
import { InjectionToken } from '@angular/core'; import { ITawkRoutingSettings } from '../interfaces/i-tawk-routing-settings'; /** * Provide a Injection Token to global settings. */ export const NGX_TAWK_ROUTING_SETTINGS_TOKEN = new InjectionToken<ITawkRoutingSettings>('ngx-tawk-routing-settings', { factory: () => ...
33,856
https://github.com/Joann3a/noi/blob/master/Noi-OpenJudge/1.编程基础/1.05编程基础之循环控制/CH010501.cpp
Github Open Source
Open Source
Apache-2.0
2,018
noi
Joann3a
C++
Code
37
118
#include <iostream> #include <iomanip> using namespace std; int main() { int n,x, sum =0; float ave; cin >> n; for (int i=1;i<=n;i++) { cin >> x; sum += x; } ave = sum*1.0/n; cout << fixed<<setprecision(2)<<ave; }
22,541
https://github.com/jlcoa/cross_platform_project/blob/master/core/output/djinni-output-temp/java/IFileStorageProvider.java
Github Open Source
Open Source
MIT
2,016
cross_platform_project
jlcoa
Java
Code
41
99
// AUTOGENERATED FILE - DO NOT MODIFY! // This file generated by Djinni from pal_file_storage_provider.djinni package com.nextuc; /** log */ public abstract class IFileStorageProvider { public abstract String getDocumentsPath(String relativePath); public abstract void createRelativeFolder(String relativePath...
26,515
https://github.com/minghao2016/simaerep/blob/master/man/plot_study.Rd
Github Open Source
Open Source
MIT
2,020
simaerep
minghao2016
R
Code
252
641
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/simaerep_plot.R \name{plot_study} \alias{plot_study} \title{plot ae development of study and sites, highlighting at risk sites} \usage{ plot_study( df_visit, df_site, df_eval, study, df_al = NULL, n_sites = 16, pval = FALSE ) } ...
51,238
https://github.com/BaroDevelopment/SilkroadLauncher/blob/master/SilkroadLauncher/SilkroadCommon/Download/FileEntry.cs
Github Open Source
Open Source
MIT
2,021
SilkroadLauncher
BaroDevelopment
C#
Code
44
83
namespace SilkroadCommon.Download { public class FileEntry { public uint ID { get; set; } public string Name { get; set; } public string Path { get; set; } public uint Size { get; set; } public bool ImportToPk2 { get; set; } } }
23,659
https://github.com/WebPx/WebPx.AdminLTE.AspNetCore/blob/master/src/WebPx.AdminLTE.AspNetCore/AdminLTEExtensions.cs
Github Open Source
Open Source
MIT
2,022
WebPx.AdminLTE.AspNetCore
WebPx
C#
Code
51
244
using Microsoft.AspNetCore.Mvc.Razor; using Microsoft.Extensions.DependencyInjection.Extensions; using Microsoft.Extensions.Options; using System; using System.Collections.Generic; using System.Text; using WebPx.AdminLTE; namespace Microsoft.Extensions.DependencyInjection { public static class AdminLTEExtensions ...
34,456
https://github.com/Lawrence-Portfolio/BookhAssistant/blob/master/modules/backend/widgets/lists/assets/js/october.list.js
Github Open Source
Open Source
RSA-MD
null
BookhAssistant
Lawrence-Portfolio
JavaScript
Code
612
2,507
/* * List Widget * * Dependences: * - Row Link Plugin (system/assets/ui/js/list.rowlink.js) */ +function ($) { "use strict"; var Base = $.oc.foundation.base, BaseProto = Base.prototype; var ListWidget = function (element, options) { this.$el = $(element); this.options = options ||...
22,580
https://github.com/HelKim/tnpc-wechat-miniprogram/blob/master/src/pages/contact-us/index.vue
Github Open Source
Open Source
MIT
2,020
tnpc-wechat-miniprogram
HelKim
Vue
Code
74
298
<template> <view class="contact-us"> <view class="content"> <nav-bar-simple title="联系我们"></nav-bar-simple> <button class="cu-btn lg block bg-black" open-type="contact"> 在线客服 </button> <button class="cu-btn lg block bg-black" open-type="feedback"> 问题反馈 </button> </...
35,829
https://github.com/Beanstalk-Farms/idom/blob/master/src/idom/core/layout.py
Github Open Source
Open Source
MIT
2,022
idom
Beanstalk-Farms
Python
Code
859
3,259
import abc import asyncio from functools import wraps from logging import getLogger from typing import ( Any, AsyncIterator, Dict, Iterator, List, Mapping, NamedTuple, Optional, Set, Tuple, Union, ) from jsonpatch import apply_patch, make_patch from idom.config import IDOM_...
31,889
https://github.com/greyblue9/binutils-gdb/blob/master/gdbsupport/gdb-dlfcn.cc
Github Open Source
Open Source
BSD-3-Clause
2,020
binutils-gdb
greyblue9
C++
Code
340
935
/* Platform independent shared object routines for GDB. Copyright (C) 2011-2021 Free Software Foundation, Inc. This file is part of GDB. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundatio...
27,654
https://github.com/libin1991/pixi.js-cn/blob/master/packages/mesh/src/Mesh.js
Github Open Source
Open Source
MIT
2,020
pixi.js-cn
libin1991
JavaScript
Code
1,044
4,588
import { State } from '@pixi/core'; import { Point, Polygon } from '@pixi/math'; import { BLEND_MODES, DRAW_MODES } from '@pixi/constants'; import { Container } from '@pixi/display'; import { settings } from '@pixi/settings'; import { MeshBatchUvs } from './MeshBatchUvs'; const tempPoint = new Point(); const tempPolyg...
22,055
https://github.com/south-potato/poseidonos/blob/master/test/unit-tests/journal_manager/config/log_buffer_layout_test.cpp
Github Open Source
Open Source
BSD-3-Clause
2,021
poseidonos
south-potato
C++
Code
126
492
#include <gtest/gtest.h> #include "src/journal_manager/config/log_buffer_layout.h" namespace pos { static const uint64_t LOG_BUFFER_SIZE = 16 * 1024 * 1024; static const int NUM_LOG_GROUPS = 2; TEST(LogBufferLayout, LogBufferLayout_testIfExecutedSuccessfully) { // Given // When, Then LogBufferLayout *lay...
52,892
https://github.com/alphagov/whitehall/blob/master/features/step_definitions/force_publishing_steps.rb
Github Open Source
Open Source
MIT, LicenseRef-scancode-proprietary-license
2,023
whitehall
alphagov
Ruby
Code
75
262
When(/^another editor retrospectively approves the "([^"]*)" publication$/) do |publication_title| user = create(:departmental_editor, name: "Other editor") login_as user visit admin_editions_path(state: :published) click_link publication_title click_link "Approve" click_button "Approve" end Then(/^the "([...
44,201
https://github.com/zekeriyakoca/TestProject1/blob/master/aspnet-core/src/MyProject.Application/Contacts/Dto/CreateContactDto.cs
Github Open Source
Open Source
MIT
2,021
TestProject1
zekeriyakoca
C#
Code
29
99
using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using Abp.Authorization.Roles; using MyProject.Authorization.Roles; namespace MyProject.Contacts.Dto { public class CreateContactDto { [Required] public string Name { get; set; } public CreateContactDto() ...
49,442
https://github.com/BigShow1949/YFCommonTools/blob/master/YFCommonTools/Categories/UIKit/UISplitViewController/UISplitViewControllerCategoryHeader.h
Github Open Source
Open Source
MIT
2,020
YFCommonTools
BigShow1949
C
Code
32
115
// // UISplitViewControllerCategoryHeader.h // YFToolsDemo // // Created by big show on 2019/3/27. // Copyright © 2019年 BigShow. All rights reserved. // #ifndef UISplitViewControllerCategoryHeader_h #define UISplitViewControllerCategoryHeader_h #import "UISplitViewController+QuickAccess_yf.h" #endif /* UISplitV...
6,667
https://github.com/dfreese/Gray/blob/master/include/Gray/Graphics/VisiblePoint.h
Github Open Source
Open Source
MIT
2,018
Gray
dfreese
C
Code
211
500
/* * Gray: A Ray Tracing-based Monte Carlo Simulator for PET * * Copyright (c) 2018, David Freese, Peter Olcott, Sam Buss, Craig Levin * * This software is distributed under the terms of the MIT License unless * otherwise noted. See LICENSE for further details. * */ #ifndef VISIBLEPOINT_H #define VISIBLEPOINT...
35,094
https://github.com/sambacha/simple-sushiswap-sdk/blob/master/dist/factories/pair/sushiswap-pair.factory.js
Github Open Source
Open Source
MIT
2,022
simple-sushiswap-sdk
sambacha
JavaScript
Code
1,767
6,101
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } return new (P || (P = Promise))(function (resolve, reject) { function fulfilled(value) { try { step(gene...
32,964
https://github.com/finleap-connect/monoskope/blob/master/pkg/domain/aggregates/suite_test.go
Github Open Source
Open Source
Apache-2.0
2,022
monoskope
finleap-connect
Go
Code
627
2,258
// Copyright 2021 Monoskope Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed...
35,722
https://github.com/sun-996/safty/blob/master/src/views/basedata/safetyCost.vue
Github Open Source
Open Source
MIT
null
safty
sun-996
Vue
Code
1,293
6,529
<template> <div class="app-container"> <div class="panel"> <div class="panel-title"> <breadcrumb class="breadcrumb-container" /> </div> <el-row type="flex" justify="space-between" align="top"> <el-button type="primary" size="small" icon="el-icon-plu...
50,637
https://github.com/marupachi/DH3DLibrary/blob/master/js/base/FrameBuffer.js
Github Open Source
Open Source
MIT-0
2,011
DH3DLibrary
marupachi
JavaScript
Code
203
1,231
/*-------------------------------------------------------------------------------- * DH3DLibrary FrameBuffer.js v0.1.0 * Copyright (c) 2010-2011 DarkHorse * * DH3DLibrary is freely distributable under the terms of an MIT-style license. * For details, see the DH3DLibrary web site: http://darkhorse2.0spec.jp/dh3d/ ...
5,988
https://github.com/lel352/Curso-Python/blob/master/aulaspythonbasico/aula23/aula23.py
Github Open Source
Open Source
MIT
2,021
Curso-Python
lel352
Python
Code
307
808
''' Aula 23 - Split, Join e Enumerate em Python Split, Join, Enumarate em Python * Split - Dividir um String # Str * Join - Juntar uma lista # Str * Enumerate - Enumerar elementos da list # list ''' string = "O Brasil é o pais do futebol, o Brasil é Penta. o o o" lista1 = string.split(' ') # Usando o espaço para div...
5,132
https://github.com/luisheleon/evalDocente20182/blob/master/app/MateriaDocente.php
Github Open Source
Open Source
MIT
2,017
evalDocente20182
luisheleon
PHP
Code
20
69
<?php namespace App; use Illuminate\Database\Eloquent\Model; class MateriaDocente extends Model { // protected $table = 'docente_materias'; protected $fillable = ['docente_id','materia_id']; }
45,675
https://github.com/yuzd/Hangfire.Mysql.Extend/blob/master/src/Hangfire.Console/Resources/script.js
Github Open Source
Open Source
MIT
2,019
Hangfire.Mysql.Extend
yuzd
JavaScript
Code
460
1,549
(function (hangfire) { hangfire.LineBuffer = (function () { function updateMoments(container) { $(".line span[data-moment-title]:not([title])", container).each(function () { var $this = $(this), time = moment($this.data('moment-title'), 'X'); ...
24,665
https://github.com/Keneral/ae1/blob/master/emma/core/java12/com/vladium/jcd/cls/constant/CONSTANT_Utf8_info.java
Github Open Source
Open Source
Unlicense
2,015
ae1
Keneral
Java
Code
286
680
/* Copyright (C) 2003 Vladimir Roubtsov. All rights reserved. * * This program and the accompanying materials are made available under * the terms of the Common Public License v1.0 which accompanies this distribution, * and is available at http://www.eclipse.org/legal/cpl-v10.html * * $Id: CONSTANT_Utf8_info.ja...
17,483
https://github.com/Constantine94/SGMA/blob/master/.gitignore
Github Open Source
Open Source
MIT
2,018
SGMA
Constantine94
Ignore List
Code
4
20
bin/* !bin/.gitkeep tmp/* !tmp/.gitkeep
29,432
https://github.com/waagsociety/reisradar/blob/master/Sencha/www/resources/sass/textfield.scss
Github Open Source
Open Source
MIT
2,013
reisradar
waagsociety
SCSS
Code
105
448
//custom skin for textfield $form-clear-size: 2.2em; $form-field-height: 2.4em; .x-field { min-height: 40px; width: 98%; border: 1px solid black; &:last-child { } } .x-field-input { .x-clear-icon { background: theme_image('default', "clear_icon.png") no-repeat; background-posit...
20,136
https://github.com/lujianzhao/AndroidWidget/blob/master/androidwidget/src/main/java/com/ljz/base/widget/selector/injection/SelectorInjection.java
Github Open Source
Open Source
Apache-2.0
null
AndroidWidget
lujianzhao
Java
Code
713
3,034
package com.ljz.base.widget.selector.injection; import android.content.Context; import android.content.res.ColorStateList; import android.content.res.TypedArray; import android.graphics.Color; import android.graphics.drawable.Drawable; import android.graphics.drawable.GradientDrawable; import android.graphics.drawable...
46,504