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/niklaslong/epicodus-lessons/blob/master/Rails/music_store/spec/models/product_spec.rb
Github Open Source
Open Source
MIT
2,020
epicodus-lessons
niklaslong
Ruby
Code
44
129
require 'rails_helper' describe Product do it { should have_many(:reviews).dependent(:destroy) } it { should have_many(:users).through(:reviews) } it { should have_many(:order_items).dependent(:destroy) } it { should have_many(:accounts).through(:order_items) } it { should validate_presence_of :name } it ...
40,942
https://github.com/dreamflyings/fpga-demo/blob/master/src/main/cc/sim/endpoints/counters.cc
Github Open Source
Open Source
LicenseRef-scancode-bsd-3-clause-jtag
2,019
fpga-demo
dreamflyings
C++
Code
659
2,294
#include "counters.h" #include <algorithm> #include <iostream> #include <iomanip> #include <cstring> #ifdef ENABLE_COUNTERS #define get_token(x) token = strtok((x), ",\r") #define init_token get_token((char*)line.c_str()) #define next_token get_token(NULL) counters_t::counters_t(simif_t* s): endpoint_t(s), has_cac...
8,760
https://github.com/mpservizi/lims-ms/blob/master/views/apps/prove/lista.hbs
Github Open Source
Open Source
MIT
null
lims-ms
mpservizi
null
Spoken
9
49
<input id="txt_1" type="text" /> <button id="btn_save">Salva</button> <script type="module" src="/apps/prove/prova.js"></script>
4,648
https://github.com/MatchmakerExchange/exchange-server/blob/master/deployment/gunicorn_config.py
Github Open Source
Open Source
MIT
null
exchange-server
MatchmakerExchange
Python
Code
18
43
bind = 'localhost:8008' workers = 3 umask = '0o007' accesslog = '-' errorlog = '-' loglevel = 'info'
12,299
https://github.com/marcinmilewicz/akita/blob/master/apps/angular-store-app/src/app/todos-app/todos.module.ts
Github Open Source
Open Source
Apache-2.0
2,022
akita
marcinmilewicz
TypeScript
Code
79
239
import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { TodoComponent } from './todo/todo.component'; import { TodosComponent } from './todos/todos.component'; import { ReactiveFormsModule } from '@angular/forms'; import { TodosFiltersComponent } from './filter/todos-filters.c...
7,723
https://github.com/XuDeveloper/Share/blob/master/src/com/example/share/model/Like.java
Github Open Source
Open Source
Apache-2.0
null
Share
XuDeveloper
Java
Code
107
377
package com.example.share.model; import java.io.Serializable; import java.sql.Date; import android.os.Parcel; import android.os.Parcelable; import android.os.Parcelable.Creator; public class Like implements Serializable { /** * 点赞人的姓名 */ private String mUserName; /** * 点赞人的头像 */ private String mUserLo...
26,403
https://github.com/apache/tomee/blob/master/utils/livereload-tomee/src/main/java/org/apache/tomee/livereload/Instances.java
Github Open Source
Open Source
Apache-2.0, W3C-19980720, W3C, BSD-3-Clause, CDDL-1.0, MIT
2,023
tomee
apache
Java
Code
219
451
/* * 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 ...
34,258
https://github.com/ECSE437-Fall2019/OpenOffice/blob/master/main/bridges/source/cpp_uno/gcc3_macosx_intel/call.s
Github Open Source
Open Source
Apache-2.0, LGPL-2.0-or-later, HPND-sell-variant, ICU, LicenseRef-scancode-warranty-disclaimer, PSF-2.0, BSD-3-Clause, LicenseRef-scancode-free-unknown, IJG, Zlib, NTP, W3C, GPL-1.0-or-later, LicenseRef-scancode-python-cwi, Bitstream-Vera, LicenseRef-scancode-openssl, LicenseRef-scancode-ssleay-windows, curl, GPL-2.0-o...
2,019
OpenOffice
ECSE437-Fall2019
Unix Assembly
Code
1,016
3,835
/************************************************************** * * 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 y...
30,289
https://github.com/zuoziqi/RustySpine/blob/master/src/blend_mode.rs
Github Open Source
Open Source
Apache-2.0
2,021
RustySpine
zuoziqi
Rust
Code
45
122
pub enum BlendMode { Normal, Additive, Multiply, Screen, } impl BlendMode { pub fn values(value: i32) -> Self { match value { 0 => BlendMode::Normal, 1 => BlendMode::Additive, 2 => BlendMode::Multiply, 3 => BlendMode::Screen, _ => ...
51,098
https://github.com/flupe/psync/blob/master/src/main/scala/psync/verification/VC.scala
Github Open Source
Open Source
Apache-2.0, MIT
null
psync
flupe
Scala
Code
500
1,443
package psync.verification import Utils._ import dzufferey.report._ import psync.formula._ import psync.logic._ import psync.utils.SmtSolver import dzufferey.utils.Logger import dzufferey.utils.LogLevel._ import dzufferey.utils.Namer import dzufferey.smtlib.{Sat, UnSat, Unknown, Failure, Result, Solver} abstract cla...
51,009
https://github.com/jianghairui/jiagongbao/blob/master/application/api/controller/Order.php
Github Open Source
Open Source
Apache-2.0
null
jiagongbao
jianghairui
PHP
Code
179
846
<?php /** * Created by PhpStorm. * User: JHR * Date: 2019/6/15 * Time: 19:03 */ namespace app\api\controller; use think\Db; class Order extends Common { public function orderRelease() { $val['title'] = input('post.title'); $val['province_code'] = input('post.province_code'); $val['cit...
28,025
https://github.com/martin-petrov03/Gallery/blob/master/GalleryClient/client/src/services/signalRService.js
Github Open Source
Open Source
MIT
null
Gallery
martin-petrov03
JavaScript
Code
71
218
import { LogLevel, HubConnectionBuilder } from "@aspnet/signalr"; import store from '../store'; import config from '../config.js'; const buildConnection = () => { return new HubConnectionBuilder() .withUrl(config.restAPI + '/postHub') .configureLogging(LogLevel.Information) .build(); } con...
38,481
https://github.com/tenbirds/OPENWORKS-3.0/blob/master/src/main/java/zes/openworks/intra/proofIssueapply/ProofIssueapplyServiceImpl.java
Github Open Source
Open Source
Apache-2.0
null
OPENWORKS-3.0
tenbirds
Java
Code
231
1,041
/* * Copyright (c) 2012 ZES Inc. All rights reserved. * This software is the confidential and proprietary information of ZES Inc. * You shall not disclose such Confidential Information and shall use it * only in accordance with the terms of the license agreement you entered into * with ZES Inc. (http://www.zesinc....
1,200
https://github.com/ankit-trantor/flex-chat/blob/master/src/messages/index.js
Github Open Source
Open Source
MIT
2,016
flex-chat
ankit-trantor
JavaScript
Code
16
39
export * from './message-component'; export * from './messages-list'; export * from './flexchat-component'; export * from './message-blob-service';
31,453
https://github.com/Zachary4biz/ExqUtils/blob/master/python_utils/zac_pyutils/Timeout.py
Github Open Source
Open Source
Python-2.0
2,020
ExqUtils
Zachary4biz
Python
Code
275
1,309
# author: zac # create-time: 2019-09-04 14:58 # usage: - import threading import multiprocessing import time import sys import os from queue import Queue,Empty is_py2 = sys.version[0] == '2' if is_py2: print("Timeout not available for py2") class ThreadStopException(Exception): pass class _BasicStopThread(...
857
https://github.com/rezasmoradi/ghessar-front/blob/master/app/containers/UserSettings/index.js
Github Open Source
Open Source
MIT
2,021
ghessar-front
rezasmoradi
JavaScript
Code
835
3,017
import React, { useState, useEffect } from 'react'; import PropTypes from 'prop-types'; import { TouchableOpacity, View, Image, I18nManager, StatusBar, Dimensions } from 'react-native'; import { Text, Input, Header, Content, List, ListItem, Card, CardItem, Icon, Label, Form, Item, Right, Toa...
2,240
https://github.com/jaimeaba3/practico/blob/master/mod/pcoder/inc/chat/chat.php
Github Open Source
Open Source
BSD-2-Clause
2,021
practico
jaimeaba3
PHP
Code
724
3,286
<?php /* Copyright (c) 2009 Anant Garg (anantgarg.com | inscripts.com) This script may be used for non-commercial purposes only. For any commercial purposes, please contact the author at anant.garg@inscripts.com THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT L...
16,070
https://github.com/akib6074/sim-ecom-common/blob/master/src/enum/ssl-response-status.enum.ts
Github Open Source
Open Source
MIT
null
sim-ecom-common
akib6074
TypeScript
Code
20
68
export enum SslResponseStatusEnum { VALID = 'VALID', FAILED = 'FAILED', CANCELLED = 'CANCELLED', UNATTEMPTED = 'UNATTEMPTED', EXPIRED = 'EXPIRED', }
34,268
https://github.com/robinzhoucmu/Pushing/blob/master/motion_model_common/ScaleForceToOneLevelSet.m
Github Open Source
Open Source
Apache-2.0
2,017
Pushing
robinzhoucmu
MATLAB
Code
54
200
function [F] = ScaleForceToOneLevelSet(F, coeffs) % Scale force to be back on the 1-level set. x = F(1); y = F(2); z = F(3); d = [x^4; y^4; z^4; ... x^3*y; x^3*z; y^3*x; y^3*z; z^3*x; z^3*y; ... x^2*y^2; x^2*z^2; y^2*z^2; ... x^2*y*z; y^2*x*z; z^2*x*y;]; %d'*coeffs s = (1 / abs((d'*coeffs)))^(1...
7,505
https://github.com/toss/toss-ui/blob/master/packages/styled/docs/apis/components.tsx
Github Open Source
Open Source
Apache-2.0
2,022
toss-ui
toss
TypeScript
Code
79
233
import emotion, { Interpolation } from '@emotion/styled'; // styled-components is only used in docs // eslint-disable-next-line import/no-extraneous-dependencies import styledComponents, { InterpolationFunction } from 'styled-components'; import { createVariantPropInterpolation } from '../../src'; const backgroundColo...
5,896
https://github.com/thind-io/play-http-metrics/blob/master/src/main/scala/com/thindio/metrics/common/HttpEndpointLatencyMetric.scala
Github Open Source
Open Source
Apache-2.0
null
play-http-metrics
thind-io
Scala
Code
26
105
package com.thindio.metrics.common import com.codahale.metrics.MetricRegistry import javax.inject.{Inject, Singleton} @Singleton class HttpEndpointLatencyMetric @Inject()(implicit val registry: MetricRegistry) { def histogram(path: String, latency: Long) { registry.histogram(path + "_latency").update(latency)...
21,976
https://github.com/ishunko/hubzero-cms/blob/master/core/components/com_tools/migrations/Migration20190228114147ComTools.php
Github Open Source
Open Source
MIT
2,020
hubzero-cms
ishunko
PHP
Code
162
593
<?php /** * @package hubzero-cms * @copyright Copyright 2005-2019 HUBzero Foundation, LLC. * @license http://opensource.org/licenses/MIT MIT */ use Hubzero\Content\Migration\Base; // No direct access defined('_HZEXEC_') or die(); /** * Migration script for adding indexes to #__recent_tools table **/ cla...
14,027
https://github.com/s-emp/Spells/blob/master/Spells/Spells/Stories/CreateSpell/Professions/View/ProfessionInput.swift
Github Open Source
Open Source
MIT
2,019
Spells
s-emp
Swift
Code
39
88
// // ProfessionInput.swift // Spells // // Created by Сергей Мельников on 12.10.2019. // Copyright © 2019 Sergey Melnikov. All rights reserved. // import Foundation protocol ProfessionsInput: AnyObject { var spell: Spell! { get set } func success() }
38,019
https://github.com/psegurap/travel/blob/master/resources/views/destination_details.blade.php
Github Open Source
Open Source
MIT
null
travel
psegurap
PHP
Code
1,091
5,425
@extends('layouts.app') @section('title') @if(App::getlocale() == 'es') {{$trip->title_es}} @else {{$trip->title_en}} @endif @endsection @section('styles') <style> </style> @endsection @section('content') <div class="detail_container"> <!-- bradcam_area --> ...
42,000
https://github.com/Renjie1997/movie-rec/blob/master/MovieRecommenderSystem/src/online/mrsys/movierecommender/domain/Role.java
Github Open Source
Open Source
Apache-2.0
null
movie-rec
Renjie1997
Java
Code
275
780
package online.mrsys.movierecommender.domain; import java.io.Serializable; import java.util.HashSet; import java.util.Set; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persi...
21,093
https://github.com/RiKa0-0/vite-element-plus-admin/blob/master/src/layout/components/tagsView/index.vue
Github Open Source
Open Source
MIT
2,021
vite-element-plus-admin
RiKa0-0
Vue
Code
1,210
3,508
<template> <div id="tags-view-container" class="tags-view-container"> <el-scrollbar wrap-class="tags-view-wrapper" class="scroll-container" ref="scrollPaneEl" @scroll="handleScroll" @wheel.prevent="scrollHandle" :tagRefList="tagRefList" > <router-link :ref="se...
6,473
https://github.com/Experience-of-Design/PrestaShop-Customize/blob/master/classes/stock/SupplyOrderDetail.php
Github Open Source
Open Source
Apache-2.0
null
PrestaShop-Customize
Experience-of-Design
PHP
Code
1,292
3,847
<?php /* * 2007-2017 PrestaShop * * NOTICE OF LICENSE * * This source file is subject to the Open Software License (OSL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://opensource.org/licenses/osl-3.0.php * If you did not receive a...
7,392
https://github.com/gffs/PbF2Calo/blob/master/src/physics/PbF2Model.cc
Github Open Source
Open Source
MIT
2,016
PbF2Calo
gffs
C++
Code
70
370
#include "G4OpticalPhoton.hh" #include "G4ThreeVector.hh" #include "G4UserRunAction.hh" #include "PhotonTrackInformation.h" #include "PbF2Model.h" #include <mutex> std::mutex PbF2_mutex; PbF2Model::PbF2Model(const G4String& name, G4Region* const regionPbF2): G4VFastSimulationModel(name, regionPbF2) {} G...
19,573
https://github.com/alanzh/alloy-ui/blob/master/sandbox/taglibs/alloy-taglib/src/com/liferay/alloy/taglib/alloy/ColorPickerTag.java
Github Open Source
Open Source
BSD-3-Clause
2,021
alloy-ui
alanzh
Java
Code
30
111
package com.liferay.alloy.taglib.alloy; import com.liferay.alloy.taglib.alloy.base.BaseColorPickerTag; /** * <a href="ColorPickerTag.java.html"><b><i>View Source</i></b></a> * * @author Eduardo Lundgren * @author Bruno Basto * @author Nathan Cavanaugh */ public class ColorPickerTag extends BaseColorPickerTag { ...
18,475
https://github.com/BasPaap/RedYarn/blob/master/Bas.RedYarn.WebApp/ViewModels/TagViewModel.cs
Github Open Source
Open Source
MIT
null
RedYarn
BasPaap
C#
Code
232
560
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; namespace Bas.RedYarn.WebApp.ViewModels { public sealed class TagViewModel { public Guid Id { get; set; } [Required] public string Name { get; ...
4,084
https://github.com/a497500306/yijia_kuanjia/blob/master/医家/Pods/EaseMobDIYUI/EaseMobUI/EaseMobUI/Main/EaseMobUIClient.h
Github Open Source
Open Source
Apache-2.0, MIT
2,016
yijia_kuanjia
a497500306
Objective-C
Code
328
1,415
// // EaseMobUIClient.h // EaseMobUI // // Created by 周玉震 on 15/8/5. // Copyright (c) 2015年 周玉震. All rights reserved. // #import "EM+ChatUser.h" #import "EM+ChatBuddy.h" #import "EM+ChatGroup.h" #import "EM+ChatRoom.h" @class UIApplication; @class UILocalNotification; @class EM_ChatMessageModel; @protocol EM_Chat...
17,399
https://github.com/trustex/yshop-gin/blob/master/.gitignore
Github Open Source
Open Source
Apache-2.0
2,021
yshop-gin
trustex
Ignore List
Code
8
40
.idea/ */.DS_Store runtime/logs/ lastupdate.tmp yshop *.exe yshop.tar.gz go-mall.iml
38,545
https://github.com/Zeiin/dl/blob/master/adv/summer_cleo.py
Github Open Source
Open Source
Apache-2.0
null
dl
Zeiin
Python
Code
130
670
from core.advbase import * from slot.a import * def module(): return Summer_Cleo class Summer_Cleo(Adv): comment = 'nofs' a3 = ('k_paralysis',0.3) conf = {} conf['slots.a'] = RR()+Spirit_of_the_Season() conf['acl'] = """ `dragon `s2 `s1 `s3 ...
19,803
https://github.com/InstantlyMoist/NetflixStatistix/blob/master/src/main/java/me/kyllian/netflixstatistix/post/PostBuilder.java
Github Open Source
Open Source
MIT
2,020
NetflixStatistix
InstantlyMoist
Java
Code
220
684
package me.kyllian.netflixstatistix.post; import me.kyllian.netflixstatistix.controllers.Controller; import org.apache.http.HttpEntity; import org.apache.http.HttpResponse; import org.apache.http.NameValuePair; import org.apache.http.client.HttpClient; import org.apache.http.client.entity.UrlEncodedFormEntity; import...
17,258
https://github.com/NightOfTwelve/android_device_huawei_hwp7/blob/master/kernel/huawei/hwp7/drivers/misc/gpu_drv/hal/os/ce/kernel/gc_hal_kernel_ce.cpp
Github Open Source
Open Source
Apache-2.0
2,020
android_device_huawei_hwp7
NightOfTwelve
C++
Code
3,394
14,460
/**************************************************************************** * * Copyright (c) 2005 - 2013 by Vivante Corp. All rights reserved. * * The material in this file is confidential and contains trade secrets * of Vivante Corporation. This is proprietary information owned by * Vivante Corporation...
22,919
https://github.com/hxor/dandan/blob/master/public/assets/less/icons.less
Github Open Source
Open Source
MIT
2,020
dandan
hxor
Less
Code
28
176
/* Template Name: UBold Dashboard Author: CoderThemes Email: coderthemes@gmail.com File: Icons */ @import "icons/font-awesome/less/font-awesome"; @import "icons/themify-icons/themify-icons"; @import "icons/material-design-iconic-font/less/material-design-iconic-font"; @import "icons/simple-line-icons/less/simple-line-...
6,548
https://github.com/cyy1991/dcsxx-control/blob/master/scripts/run_tests.sh
Github Open Source
Open Source
Apache-2.0
2,016
dcsxx-control
cyy1991
Shell
Code
38
166
#!/bin/sh base_path=. test_src_path="$base_path/test/src/dcs/control" test_bin_path="$base_path/build/test/dcs/control" test_files=$(ls $test_src_path/*.cpp) for f in $test_files; do f=$(basename $f .cpp) t="$test_bin_path/$f" if [ -x $t ]; then echo -n "--- $f ==> " out=$($t 2>&1 | grep -i 'failed test') ...
1,861
https://github.com/vvaswani/jade/blob/master/module/Application/src/Module.php
Github Open Source
Open Source
LicenseRef-scancode-other-permissive, Apache-2.0
2,019
jade
vvaswani
PHP
Code
429
1,630
<?php /** * @link http://github.com/zendframework/ZendSkeletonApplication for the canonical source repository * @copyright Copyright (c) 2005-2016 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License */ namespace Application; use Zend\Mvc\Con...
8,213
https://github.com/Qingquanlv/testflow_api/blob/master/src/main/java/com/testflow/apitest/stepdefinations/Buffer.java
Github Open Source
Open Source
Apache-2.0
2,021
testflow_api
Qingquanlv
Java
Code
40
136
package com.testflow.apitest.stepdefinations; import com.testflow.apitest.business.BufferManager; /** * * @author qq.lv * @date 2019/6/15 */ public class Buffer { public Object getBufferByKey(String bufferKey) throws Exception { return BufferManager.getBufferByKey(bufferKey); } public void a...
2,642
https://github.com/kieran6roberts/ButtonBuilder/blob/master/src/scss/layout/layout.scss
Github Open Source
Open Source
MIT
null
ButtonBuilder
kieran6roberts
SCSS
Code
11
46
.app-container { display: grid; grid-template-columns: 1fr; align-content: space-between; min-height: 100vh; }
18,403
https://github.com/RudyLu/gaia/blob/master/apps/sms/test/marionette/lib/views/new-message/accessors.js
Github Open Source
Open Source
Apache-2.0
2,015
gaia
RudyLu
JavaScript
Code
168
780
'use strict'; /* global module */ var SELECTORS = Object.freeze({ main: '#thread-messages', toField: '#messages-to-field', // last-child is a temporary workaound for bug 1097575 recipientsInput: '#messages-to-field [contenteditable=true]:last-child', recipientsList: '#messages-recipients-list', recipients...
1,671
https://github.com/marvellhasea/prognet/blob/master/public/pengguna/html/assets/less/components/shop-item.less
Github Open Source
Open Source
MIT
null
prognet
marvellhasea
Less
Code
1,074
4,123
/** * Shop item gallery */ .item-gallery { position: relative; .image { position: relative; margin-left: -15px; margin-right: -15px; width: auto; .item { position: relative; img { position: relativ...
48,930
https://github.com/santoshbaggam/folebrity/blob/master/app/controllers/SessionController.php
Github Open Source
Open Source
MIT
2,015
folebrity
santoshbaggam
PHP
Code
179
763
<?php use Folebrity\Repositories\UserRepository; class SessionController extends BaseController { private $user; public function __construct(UserRepository $user) { $this->user = $user; } public function create() { $sign_in_twitter = TRUE; $force_login = FALSE; ...
1,808
https://github.com/rezzaarsdy/kph_ajatappareng/blob/master/resources/views/home/kontak/index.blade.php
Github Open Source
Open Source
MIT
null
kph_ajatappareng
rezzaarsdy
PHP
Code
187
885
{{-- content --}} @extends('home.layout') @section('content') <!-- ======= Contact Section ======= --> <section id="contact" class="contact"> <div class="container mt-4" data-aos="fade-up"> <header class="section-header"> <h2>Kontak</h2> <p>Kontak Kami</p> ...
52,560
https://github.com/worning77/my-portfolio/blob/master/node_modules/@fortawesome/pro-light-svg-icons/faEject.js
Github Open Source
Open Source
MIT
2,020
my-portfolio
worning77
JavaScript
Code
120
517
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); var prefix = 'fal'; var iconName = 'eject'; var width = 448; var height = 512; var ligatures = []; var unicode = 'f052'; var svgPathData = 'M435.322 239.565L259.383 47.558c-19.014-20.743-51.751-20.745-70.767 0L12.67 239.565C-15.475 270.268 6.3...
17,618
https://github.com/OpenFortranProject/ofp-sdf/blob/master/tests/bug-reports-sf/rose/bug-3386150.f90
Github Open Source
Open Source
BSD-3-Clause
2,021
ofp-sdf
OpenFortranProject
null
Spoken
45
81
! ! Regression test for ROSE bug 3386150 ! ! Title: ROSE: Array initialization to scalar unparses incorrectly ! ! The bug occurs when the array inializer is unparsed as (/0/), ! rather than as the scalar, 0. ! integer :: A(3) = 0 end
44,046
https://github.com/StasDeveloper/RealEstate-portal/blob/master/trunk/app/protected/migrations/m141029_150838_create_saved_searches_table.php
Github Open Source
Open Source
BSD-3-Clause
2,018
RealEstate-portal
StasDeveloper
PHP
Code
74
249
<?php class m141029_150838_create_saved_searches_table extends CDbMigration { public function up() { $this->createTable('tbl_saved_searches', array( 'id' => 'pk', 'user_id' => 'string NOT NULL', 'name' => 'string', 'email_alert_freq' => 'integer', '...
22,730
https://github.com/zhitko/speech-apps/blob/master/services/sound/autosoundrecorder.cpp
Github Open Source
Open Source
MIT
2,016
speech-apps
zhitko
C++
Code
188
810
#include "autosoundrecorder.h" #include "buffer.h" extern "C" { #include "utills/SPTK/SPTK.h" #include "utills/SPTK/pitch/pitch.h" #include "utills/SPTK/x2x/x2x.h" } #include <QDebug> AutoSoundRecorder::AutoSoundRecorder(oal_device *device, int sampleByteSize, int maxTime, QObject *parent) : SoundRe...
39,212
https://github.com/daothaison/algorithm-vi/blob/master/QuyHoachDong/i.cpp
Github Open Source
Open Source
Apache-2.0
null
algorithm-vi
daothaison
C++
Code
53
223
#include <iostream> using namespace std; int a[100], n; void input(){ cin>>n; for(int i=1 ;i<=n;i++){ cin>>a[i]; } } int dayConTang(){ int L[101]={0}; L[0]=1; for(int i=1; i<=n;i++){ L[i]=L[i-1]; for(int j=1;j<i;j++){ if(a[i]> a[j] && L[i] < L[j]+ 1){ L[i]=L[j]+1; } } } return L[n]; } main(){...
16,792
https://github.com/ScalablyTyped/Distribution/blob/master/s/shopify-buy/src/main/scala/typings/shopifyBuy/mod/AppliedGiftCard.scala
Github Open Source
Open Source
MIT
2,023
Distribution
ScalablyTyped
Scala
Code
176
654
package typings.shopifyBuy.mod import org.scalablytyped.runtime.StObject import scala.scalajs.js import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess} // end GraphQL Types - Input Objects /** * Checkout */ trait AppliedGiftCard extends StObject with Node { var...
48,982
https://github.com/blinemedical/aws-sdk-cpp/blob/master/aws-cpp-sdk-shield/include/aws/shield/ShieldClient.h
Github Open Source
Open Source
Apache-2.0
null
aws-sdk-cpp
blinemedical
C
Code
8,750
28,665
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include <aws/shield/Shield_EXPORTS.h> #include <aws/shield/ShieldErrors.h> #include <aws/core/client/AWSError.h> #include <aws/core/client/ClientConfiguration.h> #include <aws/core/clien...
37,836
https://github.com/LasseWolter/clowdr/blob/master/hasura/migrations/1609986591287_alter_table_public_AttendeeProfile_add_column_photoURL_50x50/down.sql
Github Open Source
Open Source
BSD-3-Clause
2,022
clowdr
LasseWolter
SQL
Code
6
27
ALTER TABLE "public"."AttendeeProfile" DROP COLUMN "photoURL_50x50";
370
https://github.com/josephkirk/cross3d/blob/master/cross3d/abstract/abstractscenelayergroup.py
Github Open Source
Open Source
MIT
2,018
cross3d
josephkirk
Python
Code
633
1,728
## # \namespace cross3d.abstract.abstractscenelayergroup # # \remarks The AbstractSceneLayerGroup provides a cross-application interface to 3d scene layer's and their interaction # This class will provide the base implementation and definition of methods that will need to be re-implemented # to hanel per-applicat...
35,217
https://github.com/8secz-johndpope/rahul/blob/master/ixprez/ixprez/XPDashBoardProfileTableViewCell.swift
Github Open Source
Open Source
MIT
2,017
rahul
8secz-johndpope
Swift
Code
110
411
// // XPDashBoardProfileTableViewCell.swift // ixprez // // Created by Claritaz Techlabs on 28/06/17. // Copyright © 2017 Claritaz Techlabs. All rights reserved. // import UIKit class XPDashBoardProfileTableViewCell: UITableViewCell { @IBOutlet weak var cellUserProfileImage = UIImageView() @IBOutlet...
11,973
https://github.com/radekg/kratos/blob/master/x/clean_url_test.go
Github Open Source
Open Source
Apache-2.0
2,022
kratos
radekg
Go
Code
74
351
package x import ( "fmt" "io/ioutil" "net/http" "net/http/httptest" "testing" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "github.com/urfave/negroni" ) func TestCleanPath(t *testing.T) { n := negroni.New(CleanPath) n.UseHandlerFunc(func(w http.ResponseWriter, r *http.Request)...
15,401
https://github.com/ajesse11x/dremio-oss/blob/master/dac/ui/src/components/Menus/ExplorePage/TypeGroups/TypeGroup.js
Github Open Source
Open Source
Apache-2.0
2,019
dremio-oss
ajesse11x
JavaScript
Code
367
1,172
/* * Copyright (C) 2017-2019 Dremio Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable l...
40,497
https://github.com/dominikmn/one-million-posts/blob/master/notebooks/visualization_plot_f1_scores.py
Github Open Source
Open Source
MIT
null
one-million-posts
dominikmn
Python
Code
460
1,736
# --- # jupyter: # jupytext: # formats: ipynb,py:percent # text_representation: # extension: .py # format_name: percent # format_version: '1.3' # jupytext_version: 1.11.1 # kernelspec: # display_name: Python 3 (ipykernel) # language: python # name: python3 # --- # %% [ma...
26,859
https://github.com/Da0ne/DayZCommunityOfflineMode/blob/master/scripts/4_World/Entities/ItemBase/Edible_Base.c
Github Open Source
Open Source
MIT
2,018
DayZCommunityOfflineMode
Da0ne
C
Code
606
2,158
class Edible_Base extends ItemBase { ref FoodStage m_FoodStage; void Edible_Base() { if ( !m_FoodStage ) { m_FoodStage = new FoodStage ( this ); } //synchronized variables RegisterNetSyncVariableInt( "m_FoodStage.m_FoodStageType", FoodStageType.NONE, FoodStageType.COUNT ); RegisterNetSyncVariable...
26,468
https://github.com/yagamy4680/vagrant-boxes/blob/master/scripts/ubuntu/install_util
Github Open Source
Open Source
Apache-2.0
2,016
vagrant-boxes
yagamy4680
Shell
Code
15
42
#!/bin/bash [ "true" == "${IGNORE_REPO_UPDATE}" ] || apt-get update apt-get install -y gawk sysstat jq
16,075
https://github.com/cosanlab/emote/blob/master/src/data/repositories/ck.py
Github Open Source
Open Source
MIT
2,017
emote
cosanlab
Python
Code
238
674
#Interface to access CK+ data set within python import cv2 import os from data import FACDatum, FACLabel from data.repositories import FACRepository from util.paths import DataLoc import util.constants as ks FAC_DATA = 'fac_data' BUFFER_SIZE = 50 IMAGE_EXT = '.jpg' class CKRepository(FACRepository): """ Repositor...
45,241
https://github.com/johnsvill/app-almacen/blob/master/AppWebPersonal.sln
Github Open Source
Open Source
Apache-2.0
2,020
app-almacen
johnsvill
null
Spoken
80
432
 Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio Version 16 VisualStudioVersion = 16.0.29905.134 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AppWebPersonal", "AppWebPersonal.csproj", "{719451B2-BCF3-4829-8117-306BDDFC273A}" EndProject Globa...
22,083
https://github.com/DanielaGawehns/watch-device/blob/master/documentation/html/search/functions_c.js
Github Open Source
Open Source
MIT
null
watch-device
DanielaGawehns
JavaScript
Code
11
462
var searchData= [ ['print_5fschedule_243',['print_schedule',['../scheduler_8h.html#a4eb4dcbb88cc9d3b80f9b7c57b15cfa4',1,'print_schedule():&#160;scheduler.c'],['../scheduler_8c.html#a4eb4dcbb88cc9d3b80f9b7c57b15cfa4',1,'print_schedule():&#160;scheduler.c']]], ['prot_5ffreeparam_244',['prot_freeparam',['../protocol_8...
52,383
https://github.com/amammay/IST411/blob/master/Alex Mammay/04Bean/src/CounterTwo.java
Github Open Source
Open Source
Apache-2.0
2,017
IST411
amammay
Java
Code
74
212
import javax.faces.bean.ApplicationScoped; import javax.faces.bean.ManagedBean; /** * */ @ManagedBean //shared between users @ApplicationScoped /** * @author mammay * */ public class CounterTwo { private int value = 0; /* * */ public CounterTwo() { } public String increment() { v...
50,997
https://github.com/apple/foundationdb/blob/master/fdbserver/workloads/LocalRatekeeper.actor.cpp
Github Open Source
Open Source
Apache-2.0
2,023
foundationdb
apple
C++
Code
522
1,796
/* * LocalRatekeeper.actor.cpp * * This source file is part of the FoundationDB open source project * * Copyright 2013-2022 Apple Inc. and the FoundationDB project authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * Yo...
21,028
https://github.com/rbanffy/pingo/blob/master/experiments/beagle/analog.js
Github Open Source
Open Source
MIT
2,014
pingo
rbanffy
JavaScript
Code
36
104
var b = require('bonescript'); var exibir = function exibir(p) { console.log(p.value); }; var ler = function ler() { b.analogRead('P9_39', exibir); }; var timer = setInterval(ler, 50); var parar = function parar() { clearInterval(timer); }; setTimeout(parar, 10000);
26,586
https://github.com/HeQuanX/study/blob/master/boot-jpa-security/src/main/java/cn/crabapples/spring/common/utils/ImageUtils.java
Github Open Source
Open Source
Apache-2.0
2,021
study
HeQuanX
Java
Code
288
1,240
package cn.crabapples.spring.common.utils; import com.google.zxing.*; import com.google.zxing.client.j2se.BufferedImageLuminanceSource; import com.google.zxing.common.BitMatrix; import com.google.zxing.common.HybridBinarizer; import com.google.zxing.qrcode.QRCodeReader; import com.google.zxing.qrcode.QRCodeWriter; imp...
49,318
https://github.com/shinesolutions/cloudmanager-api-clients/blob/master/clients/groovy/generated/src/main/groovy/org/openapitools/model/PipelineExecutionListRepresentation.groovy
Github Open Source
Open Source
Apache-2.0
2,020
cloudmanager-api-clients
shinesolutions
Groovy
Code
27
153
package org.openapitools.model; import groovy.transform.Canonical import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import org.openapitools.model.PipelineExecutionListRepresentationEmbedded; import org.openapitools.model.PipelineExecutionListRepresentationLinks; import org.openapi...
20,219
https://github.com/mitodl/micromasters/blob/master/exams/management/commands/import_edx_exam_grades.py
Github Open Source
Open Source
2,023
micromasters
mitodl
Python
Code
298
1,080
""" Import proctored exam grades from edx """ import csv import argparse from django.contrib.auth.models import User from django.core.management import BaseCommand, CommandError from courses.models import Course from exams.models import ExamRun, ExamAuthorization from exams.constants import EXAM_GRADE_PASS, BACKEND_M...
20,095
https://github.com/carlcastillo9818/JavaFXBankApp/blob/master/javafx-sdk-11.0.2/lib/src/javafx.graphics/javafx/geometry/BoundingBox.java
Github Open Source
Open Source
MIT
2,021
JavaFXBankApp
carlcastillo9818
Java
Code
1,141
2,319
/* * Copyright (c) 2008, 2016, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
50,638
https://github.com/frankc60/gatsby/blob/master/src/examples/Images.js
Github Open Source
Open Source
0BSD
2,020
gatsby
frankc60
JavaScript
Code
176
694
import React from "react" import { graphql, useStaticQuery } from "gatsby" import img from "../images/image-1.jpeg" import Image from "gatsby-image" const getImages = graphql` { fixed: file(relativePath: { eq: "image-3.jpeg" }) { childImageSharp { fixed(width: 300, height: 280) { ...Gatsb...
11,311
https://github.com/Dr34mR/TwitchSubstitutionBot/blob/master/MisterDoctor/Forms/FormPlugins.cs
Github Open Source
Open Source
MIT
2,022
TwitchSubstitutionBot
Dr34mR
C#
Code
570
2,230
using System; using System.Drawing; using System.Linq; using System.Windows.Forms; using MisterDoctor.Classes; using MisterDoctor.Helpers; using MisterDoctor.Managers; using MisterDoctor.Plugins; using MisterDoctor.Properties; // ReSharper disable PossibleNullReferenceException // ReSharper disable LocalizableElement...
41,064
https://github.com/wangbj/systrace/blob/master/tools_helper/src/lib.rs
Github Open Source
Open Source
BSD-2-Clause
2,019
systrace
wangbj
Rust
Code
31
82
#![feature(format_args_nl, slice_internals)] /// systrace tools helper #[macro_use] pub mod stdio; pub mod logger; pub mod spinlock; pub mod consts; pub mod state; pub mod counter; pub use counter::note_syscall; pub use counter::NoteInfo;
19,588
https://github.com/little-blue/Surelog/blob/master/third_party/tests/Rsd/Processor/Src/Verification/UnitTest/RegisterFile/TestRegisterFile.sv
Github Open Source
Open Source
Apache-2.0
2,022
Surelog
little-blue
null
Spoken
577
2,131
// Copyright 2019- RSD contributors. // Licensed under the Apache License, Version 2.0, see LICENSE for details. `timescale 1ns/1ps import BasicTypes::*; parameter STEP = 10; parameter HOLD = 2.5; parameter SETUP = 0.5; parameter WAIT = STEP*2-HOLD-SETUP; module TestRegisterFile; // // Clock and Reset...
17,570
https://github.com/MrRacoon/vim-mode-treats/blob/master/lib/components/charts/index.js
Github Open Source
Open Source
MIT
null
vim-mode-treats
MrRacoon
JavaScript
Code
21
59
'use babel'; import PointsHistogram from './points'; import ItemList from './items'; import EquipList from './equip'; export default { PointsHistogram, ItemList, EquipList, };
42,037
https://github.com/id1945/vuexy-admin/blob/master/vue-laravel-version/vuexy-bootstrapvue/full-version/resources/js/src/@core/components/b-card-code/BCardCode.vue
Github Open Source
Open Source
MIT
2,022
vuexy-admin
id1945
Vue
Code
281
1,191
<template> <b-card v-bind="cardAttrs" no-body v-on="$listeners" > <div class="card-header"> <!-- Title & SubTitle --> <div> <b-card-title>{{ $attrs.title }}</b-card-title> <b-card-sub-title v-if="$attrs['sub-title']"> {{ $attrs['sub-title'] }} </b-card-s...
3,491
https://github.com/trustcerts/trustchain-sdk/blob/master/packages/did/src/lib/issuer-service.ts
Github Open Source
Open Source
Apache-2.0
2,022
trustchain-sdk
trustcerts
TypeScript
Code
78
191
import { Configuration, BaseAPI } from '@trustcerts/gateway'; import { CryptoService } from '@trustcerts/crypto'; /** * Service to sign files. */ export abstract class IssuerService { protected api!: BaseAPI; protected apiConfiguration: Configuration; constructor( gateways: string[], protected readon...
40,462
https://github.com/PierceLBrooks/BallisticallyRogue/blob/master/Trunk/src/br/main.cpp
Github Open Source
Open Source
MIT
null
BallisticallyRogue
PierceLBrooks
C++
Code
140
740
// Author: Pierce Brooks #include <br/BallisticallyRogue.hpp> #include <iostream> #include <SFML/Graphics/RenderWindow.hpp> #include <SFML/Window/Event.hpp> #include <SFML/Window/Mouse.hpp> #include <SFML/Window/Keyboard.hpp> typedef br::BallisticallyRogue Application; void report(const sf::Vector2f& target) { ...
18,156
https://github.com/neoneye/loda-programs/blob/master/oeis/243/A243116.asm
Github Open Source
Open Source
Apache-2.0
2,022
loda-programs
neoneye
Assembly
Code
56
399
; A243116: a(n) = Sum_{k=0..n} C(n + 2*k, 3*k) * C(3*k, 2*k). ; Submitted by Christian Krause ; 1,4,28,220,1816,15424,133456,1169872,10354528,92331904,828204928,7464652672,67547774464,613295870464,5584367987968,50974595472640,466307503244800,4273832891668480,39237007284226048,360768875975526400,3321625537178669056,3061...
1,479
https://github.com/Bhaskers-Blu-Org2/taco-cli/blob/master/src/taco-dependency-installer/elevatedInstaller.ts
Github Open Source
Open Source
MIT
2,019
taco-cli
Bhaskers-Blu-Org2
TypeScript
Code
796
2,033
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for details. /// <reference path="../typings/dependencyInstallerInterfaces.d.ts" /> /// <reference path="../typings/Q.d.ts" /> /// <reference path="../typings/tacoUtils.d.ts" /> "use st...
22,380
https://github.com/bsd-ac/karma-bot/blob/master/main.go
Github Open Source
Open Source
0BSD
null
karma-bot
bsd-ac
Go
Code
360
1,044
/* * Copyright (c) 2022 Aisha Tammy <aisha@bsd.ac> * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE AU...
27,848
https://github.com/coloration/asker/blob/master/esm/method/genPost.js
Github Open Source
Open Source
MIT
2,020
asker
coloration
JavaScript
Code
116
360
import { CONTENT_TYPE } from '../util/def' import { mergeQueue, merge, object2formdata, object2Query, object2Json } from '../util/format' import request from './request' export default function postGen (method) { return function postLike (url, body, conf) { const queueMap = mergeQueue(this.conf, conf) let _...
25,998
https://github.com/UziTech/sync-settings-folder-location/blob/master/spec/folder-spec.js
Github Open Source
Open Source
MIT
2,022
sync-settings-folder-location
UziTech
JavaScript
Code
447
1,904
const path = require('path') const os = require('os') const fs = require('fs-extra') const folder = require('../lib/folder') const { InputView } = require('atom-modal-views') function sleep (ms = 0) { return new Promise(resolve => setTimeout(resolve, ms)) } describe('folder', () => { beforeEach(async () => { cons...
50,013
https://github.com/pouladzade/zarb-go/blob/master/txpool/pool_test.go
Github Open Source
Open Source
MIT
null
zarb-go
pouladzade
Go
Code
444
2,168
package txpool import ( "fmt" "testing" "time" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "github.com/zarbchain/zarb-go/account" "github.com/zarbchain/zarb-go/crypto" "github.com/zarbchain/zarb-go/logger" "github.com/zarbchain/zarb-go/sandbox" "github.com/zarbchain/zarb-go/sy...
40,050
https://github.com/isetbio/isetbio/blob/master/external/brainardlabtoolbox/Plotting/@NicePlot/exportFigToPDF.m
Github Open Source
Open Source
MIT
2,023
isetbio
isetbio
MATLAB
Code
144
591
function exportFigToPDF(pdfFileName,figHandle,dpi, varargin) % If no handle is provided, use the current figure as default if nargin<1 [fileName,pathName] = uiputfile('*.pdf','Save to PDF file:'); if fileName == 0; return; end pdfFileName = [pathName,fileName]; end if nargin<2 ...
10,564
https://github.com/gorkemalgan/tflite_flutter_helper/blob/master/lib/src/image/tensor_image.dart
Github Open Source
Open Source
Apache-2.0
2,022
tflite_flutter_helper
gorkemalgan
Dart
Code
932
2,158
import 'dart:io'; import 'dart:typed_data'; import 'package:image/image.dart'; import 'package:quiver/check.dart'; import 'package:tflite_flutter/tflite_flutter.dart'; import 'package:tflite_flutter_helper/src/image/base_image_container.dart'; import 'package:tflite_flutter_helper/src/image/color_space_type.dart'; imp...
46,334
https://github.com/PramodhMDT/ATPluginAll/blob/master/target/jira/webapp/template/standard/duedatecontrolheader.jsp
Github Open Source
Open Source
Apache-2.0
null
ATPluginAll
PramodhMDT
null
Spoken
143
676
<%@ taglib uri="webwork" prefix="ww" %> <%-- Only show message if errors are available. This will be done if ActionFormSupport is used. --%> <ww:property value="errors[parameters['namePrevious']]"> <ww:if test="."> <tr> <ww:if test="parameters['labelposition'] == 'top'"> <td align="left" va...
23,472
https://github.com/raymondjacobson/monsoon/blob/master/lib/db.py
Github Open Source
Open Source
MIT
2,018
monsoon
raymondjacobson
Python
Code
167
543
from pymongo import MongoClient client = MongoClient() db = client.monsoon_db def saveAccountIntoDB(fname, lname, email, password, access_token, available_space): """Saves new account credentials into the mongodb""" account = {"first_name": fname, "last_name": lname, "email": email, ...
23,525
https://github.com/Kolaposki/Discoco/blob/master/Procfile
Github Open Source
Open Source
MIT
2,022
Discoco
Kolaposki
null
Spoken
3
11
web: gunicorn discoco.wsgi
50,047
https://github.com/Christovis/astrild/blob/master/src/astrild/particles/hutils/density.py
Github Open Source
Open Source
MIT
2,021
astrild
Christovis
Python
Code
1,790
5,678
import os.path import numpy as np from astrild.rays.voids.tunnels import miscellaneous as misc from astrild.rays.voids.tunnels.miscellaneous import throwError, throwWarning bufferType = np.uint64 bufferSizeBytes = 8 DENSITY_FILE = 1 VELOCITY_FILE = 11 VELOCITY_GRADIENT_FILE = 12 VELOCITY_DIVERGENCE_FILE = 13 VELOCIT...
6,788
https://github.com/prncvrm/gvr/blob/master/views/site/index.php
Github Open Source
Open Source
BSD-3-Clause
2,020
gvr
prncvrm
PHP
Code
255
1,423
<?php /* @var $this yii\web\View */ $this->title = ''; ?> <div class=""> <!-- Content Header (Page header) --> <section class="content-header"> <h1> Dashboard <small>Version 1.0</small> </h1> <ol class="breadcrumb"> <li><a href="#"><i class="fa fa-dashboard"></i> Home...
26,608
https://github.com/JetBrains/intellij-community/blob/master/platform/analysis-api/src/com/intellij/psi/search/scope/packageSet/NamedPackageSetReference.java
Github Open Source
Open Source
Apache-2.0
2,023
intellij-community
JetBrains
Java
Code
136
410
// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. package com.intellij.psi.search.scope.packageSet; import com.intellij.openapi.project.Project; import com.intellij.openapi.util.text.StringUtil; import com.intellij.openapi.vfs.VirtualFile; import o...
2,623
https://github.com/Nurl4n/Nim-Game/blob/master/src/sources_1/new/update_led_matrix.sv
Github Open Source
Open Source
MIT
null
Nim-Game
Nurl4n
null
Spoken
163
523
`timescale 1ns / 1ps ////////////////////////////////////////////////////////////////////////////////// // Company: // Engineer: // // Create Date: 05/04/2018 06:19:14 AM // Design Name: // Module Name: update_led_matrix // Project Name: // Target Devices: // Tool Versions: // Description: // // Dependencies: ...
32,216
https://github.com/RuanZhongNan/drill_plugins/blob/master/js/plugins/Drill_BattleCamera.js
Github Open Source
Open Source
MIT
null
drill_plugins
RuanZhongNan
JavaScript
Code
3,127
16,112
//============================================================================= // Drill_BattleCamera.js //============================================================================= /*: * @plugindesc [v1.2] 战斗 - 活动战斗镜头 * @author Drill_up * * @param 镜头架宽度 * @type number * @min 50 * @desc 镜头可以活动的宽度。战斗背景...
14,207
https://github.com/GMBPlatform/wallet-cpp/blob/master/util/qrcode/split.cpp
Github Open Source
Open Source
MIT
2,018
wallet-cpp
GMBPlatform
C++
Code
1,061
2,863
/* * qrencode - QR Code encoder * * Input data splitter. * Copyright (C) 2006, 2007, 2008, 2009 Kentaro Fukuchi <fukuchi@megaui.net> * * The following data / specifications are taken from * "Two dimensional symbol -- QR-code -- Basic Specification" (JIS X0510:2004) * or * "Automatic identification and data ca...
42,410
https://github.com/softdevelop/uls-laravel/blob/master/resources/views/auth/createPassword.blade.php
Github Open Source
Open Source
MIT
2,016
uls-laravel
softdevelop
Blade
Code
104
436
@extends('auth') @section('title') Set Password @stop @section('content') <div id="resetpassword_logo" class="logo text-center"> <img src="{{ asset('images/navibar/uls_logo.png') }}"/> </div> @if (count($errors) > 0) <div class="alert alert-danger"> <ul> @foreach ($errors->all() a...
17,829
https://github.com/VoDangVinh2000/DoAnNhomD-Backend2/blob/master/BaoCao/Laravel/database/seeders/trainersSeeder.php
Github Open Source
Open Source
Apache-2.0
null
DoAnNhomD-Backend2
VoDangVinh2000
PHP
Code
85
326
<?php namespace Database\Seeders; use Illuminate\Database\Seeder; use Illuminate\Support\Facades\DB; use Illuminate\Support\Facades\Hash; use Illuminate\Support\Str; use IntlIterator; class trainersSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function ...
13,364
https://github.com/MrLW/jk_parent/blob/master/jk_utils/src/main/java/com/lw/jk/utils/Page.java
Github Open Source
Open Source
MIT
null
jk_parent
MrLW
Java
Code
365
1,709
package com.lw.jk.utils; import java.util.HashMap; import java.util.List; import java.util.Map; /** * 分页辅助类:对分页的基本数据进行一个简单的封装 用来传递分页参数和查询参数params */ public class Page<T> { private int pageNo = 1; // 页码,默认是第一页 private int pageSize = SysConstant.PAGE_SIZE; // 每页显示的记录数,默认是10 private int totalRecord; // 总记录数 privat...
28,796
https://github.com/RaysOfTheSun/cooki-e-commerce/blob/master/src/components/productGrid/cookieGridItem.jsx
Github Open Source
Open Source
Apache-2.0
2,018
cooki-e-commerce
RaysOfTheSun
JavaScript
Code
124
519
import React from 'react'; const CookieGridItem = ({title, products, showButton}) => { let button = <input type="button" className="btn btn-lg btn-dark text-extra-small p-3 px-4 font-weight-bold rounded-0" value="See Our Cookies"/>; return ( <div classNa...
36,254
https://github.com/fhchina/NakedObjectsFramework/blob/master/MVC/NakedObjects.Mvc.Test.Data/fixtures/CurrencyFixture.cs
Github Open Source
Open Source
BSD-3-Clause
2,015
NakedObjectsFramework
fhchina
C#
Code
114
283
// Copyright © Naked Objects Group Ltd ( http://www.nakedobjects.net). // All Rights Reserved. This code released under the terms of the // Microsoft Public License (MS-PL) ( http://opensource.org/licenses/ms-pl.html) using Expenses.Currencies; using NakedObjects; namespace Expenses.Fixtures { public class Cur...
12,367
https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/ffbinaries/ffbinaries-tests.ts
Github Open Source
Open Source
MIT
2,023
DefinitelyTyped
DefinitelyTyped
TypeScript
Code
225
849
import ffbinaries = require("ffbinaries"); ffbinaries.detectPlatform(); ffbinaries.detectPlatform({ type: 'darwin', arch: 'x64' }); ffbinaries.detectPlatform({ type: 'will return null', arch: 'x64' }); ffbinaries.downloadBinaries( ["ffmpeg", "ffprobe", "ffplay", "ffserver"], { platform: ffbinaries.det...
45,893