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/jayther/hackathon-overlay-minigame/blob/master/server-debug.js
Github Open Source
Open Source
0BSD
null
hackathon-overlay-minigame
jayther
JavaScript
Code
150
485
const path = require('path'); const fs = require('fs-extra'); const express = require('express'); const { createServer } = require('http'); const logger = require('./src/server/utils/logger'); const assetsPath = './src/client/assets'; const assetsBackupPath = './src/client/assets/backup'; async function updateSprites...
18,080
https://github.com/18810443670/shop/blob/master/catalog/language/zh-cn/extension/module/kuaidi_chaxun.php
Github Open Source
Open Source
MIT
null
shop
18810443670
PHP
Code
31
118
<?php /** * @copyright 2017 www.guangdawangluo.com - All Rights Reserved * @author TL <mengwb@opencart.cn> * @created 2016-11-15 10:00:00 * @modified 2016-11-15 10:00:00 */ // Text $_['text_time'] = '时间'; $_['text_station'] = '地点和跟踪进度';
53,195
https://github.com/Mestrado-UFSCar/Filtragem-EPC01/blob/master/EPC01_gyro.m
Github Open Source
Open Source
MIT
2,021
Filtragem-EPC01
Mestrado-UFSCar
MATLAB
Code
173
673
%main para o epc01 da semana01 clear all clc all close all %carregando dados imu_data = load('imuData.mat'); %data IMU gyro = imu_data.g; time = imu_data.t; %tamanho do vetor de tempo para IMU e MAG n = length(time); %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %variaveis para filtro AVG avg_gyro = zeros(...
33,123
https://github.com/AlexLarusso/ui-internship-lwo3-redux-team2/blob/master/src/app/styles/_common.scss
Github Open Source
Open Source
MIT
2,019
ui-internship-lwo3-redux-team2
AlexLarusso
SCSS
Code
13
35
.content { &__container { display: flex; margin: 0 auto; width: 80%; } }
6,049
https://github.com/BUPTEMC/LMS/blob/master/public/javascripts/file/fileManagement.js
Github Open Source
Open Source
MIT
2,019
LMS
BUPTEMC
JavaScript
Code
47
189
$(document).ready(function() { $('#table_page').bootstrapTable({ columns: [ { field: '文件编号', title: '文件编号', align: 'center' }, { field: '文件名称', title: '文件名称', align: 'center' ...
37,481
https://github.com/liufee/feehicms/blob/master/frontend/models/FriendlyLink.php
Github Open Source
Open Source
Apache-2.0
2,018
feehicms
liufee
PHP
Code
25
79
<?php /** * Author: lf * Blog: https://blog.feehi.com * Email: job@feehi.com * Created at: 2016-04-07 12:06 */ namespace frontend\models; class FriendlyLink extends \cms\frontend\models\FriendlyLink { }
39,508
https://github.com/ernestyalumni/HrdwCCppCUDA/blob/master/Constructicon/Mixmaster/projects/package_collections_etc/src/lib.rs
Github Open Source
Open Source
MIT
2,023
HrdwCCppCUDA
ernestyalumni
Rust
Code
607
1,475
// https://doc.rust-lang.org/book/ch08-01-vectors.html#using-an-enum-to-store-multiple-types // Define an enum whose variants will hold different value types, and all enum variants will be // considered the same type: that of the enum. Then we can create a vector to hold that enum. pub enum SpreadsheetCell { Int(i32)...
4,472
https://github.com/stackroute/LogAggregatorRT/blob/master/tattvaserver/datastream/stream_routes.js
Github Open Source
Open Source
Apache-2.0
2,016
LogAggregatorRT
stackroute
JavaScript
Code
250
886
var stream_router = require('express').Router(); var StreamSchema = require('./stream.js'); var dataProvider = require('../core/datamodelprovider'); stream_router.get('/', function(request, res, next) { var StreamModel = dataProvider.getModel(StreamSchema, request.user.orgsite); StreamModel.find({},{streamname:1, ...
4,725
https://github.com/timxor/leetcode-journal/blob/master/solutions/LeetCode/C++/813.cpp
Github Open Source
Open Source
MIT
2,022
leetcode-journal
timxor
C++
Code
171
507
__________________________________________________________________________________________________ sample 4 ms submission class Solution { public: double largestSumOfAverages(vector<int>& A, int K) { int n = A.size(); vector<double> current(n), next(n); int sum = 0; for (int i = 0; ...
4,836
https://github.com/kenjirotorii/burger_war_dev/blob/master/burger_war_dev/scripts/utils/replaymemory.py
Github Open Source
Open Source
BSD-3-Clause
2,021
burger_war_dev
kenjirotorii
Python
Code
50
166
#!python3 #-*- coding: utf-8 -*- from state import State from transition import Transition class ReplayMemory(object): def __init__(self, CAPACITY): self.capacity = CAPACITY # メモリの最大長さ self.memory = [] # 経験を保存する変数 self.index = 0 # 保存するindexを示す変数 def push(self, state, action, state...
44,235
https://github.com/sayem1413/Service-And-Product-Selling-Auction-PlatForm/blob/master/database/migrations/2020_08_17_200654_create_auction_details_views.php
Github Open Source
Open Source
MIT
2,020
Service-And-Product-Selling-Auction-PlatForm
sayem1413
PHP
Code
103
390
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateAuctionDetailsViews extends Migration { /** * Run the migrations. * * @return void */ public function up() { DB::statement('CREATE VI...
25,344
https://github.com/dcbnvn7604/rs_express/blob/master/sr_express/entry/api.js
Github Open Source
Open Source
MIT
null
rs_express
dcbnvn7604
JavaScript
Code
139
422
import { validationResult } from 'express-validator'; import { Entry } from './model.js'; import { NotFoundException } from '../exception.js'; export const list = async (req, res, next) => { let entries = await Entry.search(req.query.q); res.json(entries); } export const create = async (req, res, next) => { le...
51,928
https://github.com/cxw951109/TY_RMS_BZP_Manage_zhejingjikong/blob/master/static/js/utilsBZP.js
Github Open Source
Open Source
MIT
2,021
TY_RMS_BZP_Manage_zhejingjikong
cxw951109
JavaScript
Code
736
2,590
$(function () { var visitType = window.parent.frames.getUrlParam('visitType'); $("#download").click(function () { window.open($image.cropper("getDataURL")); }); $("#zoomIn").click(function () { $image.cropper("zoom", 0.1); }); $("#zoomOut").click(function () { $image.cr...
32,984
https://github.com/VasilChavdarov999/OOP-Basics-newAdds/blob/master/DefiningClasses-Lab/src/demo/Main.java
Github Open Source
Open Source
MIT
null
OOP-Basics-newAdds
VasilChavdarov999
Java
Code
26
116
package demo; public class Main { public static void main(String[] args) { Student student = new Student("Pesho", 15); student.getGrades().add(5.5); student.getGrades().add(6d); student.getGrades().add(4.5); System.out.println(student.getGrades().stream().mapToDouble(g -> ...
14,667
https://github.com/rahil-1407/Data-Structure-and-Algorithms/blob/master/Codechef/Smallest Number of Notes/Smallest Number of Notes.cpp
Github Open Source
Open Source
MIT
2,022
Data-Structure-and-Algorithms
rahil-1407
C++
Code
136
327
//TODO: A program to calculate smallest number of notes to be given #include <iostream> int main(void) { int t; cin>>t; for(int i = 0; i < t;i++) //TODO: Take user input { int n = 0; cin>>n; int count = 0; while (n >= 100) //TO...
42,800
https://github.com/danimtz/VulkanEngine/blob/master/src/Engine/Renderer/Vulkan/Buffers/StagingBuffer.h
Github Open Source
Open Source
MIT
null
VulkanEngine
danimtz
C
Code
23
110
#pragma once #include "vulkan/vulkan.h" #include "Engine/Renderer/Vulkan/Buffers/Buffer.h" #include "Engine/Renderer/Vulkan/Buffers/VertexDescription.h" #include "Engine/Logger.h" class StagingBuffer : public Buffer { public: StagingBuffer(void* data, uint32_t size); ~StagingBuffer(); };
3,087
https://github.com/quakex/gcblue/blob/master/include/sim/tcOpticalSensor.h
Github Open Source
Open Source
BSD-3-Clause
2,015
gcblue
quakex
C++
Code
511
1,169
/** ** @file tcOpticalSensor.h */ /* ** Copyright (c) 2014, GCBLUE PROJECT ** All rights reserved. ** ** Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: ** ** 1. Redistributions of source code must retain the above copyr...
39,890
https://github.com/FlutterWorks/git-touch/blob/master/lib/models/gogs.dart
Github Open Source
Open Source
Apache-2.0
2,022
git-touch
FlutterWorks
Dart
Code
261
1,118
import 'package:json_annotation/json_annotation.dart'; part 'gogs.g.dart'; @JsonSerializable(fieldRename: FieldRename.snake) class GogsUser { GogsUser(); factory GogsUser.fromJson(Map<String, dynamic> json) => _$GogsUserFromJson(json); int? id; String? username; String? fullName; String? avatarUrl; ...
29,851
https://github.com/JxTang-bioinformatics/Tangbio/blob/master/CaMelia model/Feature extraction/get_local_Feature_for_train.py
Github Open Source
Open Source
MIT
2,021
Tangbio
JxTang-bioinformatics
Python
Code
1,183
5,944
# -*- coding: utf-8 -*- """ Created on Thu Jun 11 09:45:08 2020 @author: tjx """ from __future__ import division from sys import argv import math import pandas as pd import numpy as np import os import time from numba import jit from concurrent.futures import ProcessPoolExecutor,as_completed import warnings wa...
11,422
https://github.com/JoG-Dev/checker-framework/blob/master/checker/jdk/javari/src/com/sun/source/tree/UnaryTree.java
Github Open Source
Open Source
MIT
null
checker-framework
JoG-Dev
Java
Code
16
58
package com.sun.source.tree; import org.checkerframework.checker.javari.qual.*; public interface UnaryTree extends ExpressionTree { @PolyRead ExpressionTree getExpression(@PolyRead UnaryTree this); }
10,727
https://github.com/Khromium/TNCT-Prol/blob/master/7.ファイルの取り扱い/p07ex05.c
Github Open Source
Open Source
Apache-2.0
2,015
TNCT-Prol
Khromium
C
Code
71
493
/*** p07ex05.c ***/ #include <stdio.h> #include <stdlib.h> int main() { char fileName[999]; char fileNamea[999]; FILE *fileRead, *fileWrite; int ch; int reading=0;//単語検出のとき int num=0;//単語数 printf("出力ファイル名→"); gets(fileName); printf("入力ファイル名→"); gets(fileNamea); fileWrite=fopen(fileName,"w"); fileRead=fo...
41,251
https://github.com/trojan20161207/LeetCode-in-Golang/blob/master/Algorithms/0098.validate-binary-search-tree/validate-binary-search-tree.go
Github Open Source
Open Source
MIT
2,022
LeetCode-in-Golang
trojan20161207
Go
Code
69
228
package Problem0098 import ( "github.com/aQuaYi/LeetCode-in-Golang/kit" ) type TreeNode = kit.TreeNode func isValidBST(root *TreeNode) bool { // Golang int 类型的最小值与最大值 MIN, MAX := -1<<63, 1<<63-1 return recur(MIN, MAX, root) } // 以递归的方式,检查 root.Val 是否在 (min, max) 范围内。 func recur(min, max int, root *TreeNode) bo...
47,341
https://github.com/fniephaus/graaljs/blob/master/graal-js/src/com.oracle.truffle.js.parser/src/com/oracle/truffle/js/parser/GraalJSParserHelper.java
Github Open Source
Open Source
MIT, UPL-1.0
2,018
graaljs
fniephaus
Java
Code
854
2,772
/* * Copyright (c) 2018, 2018, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * The Universal Permissive License (UPL), Version 1.0 * * Subject to the condition set forth below, permission is hereby granted to any * person obtaining a copy of ...
22,562
https://github.com/L-Zheng/AppleOpenSource/blob/master/xun/xnu-6153.81.5/bsd/dev/i386/systemcalls.c
Github Open Source
Open Source
MIT
null
AppleOpenSource
L-Zheng
C
Code
1,946
7,159
/* * Copyright (c) 2000-2016 Apple Inc. All rights reserved. * * @APPLE_OSREFERENCE_LICENSE_HEADER_START@ * * This file contains Original Code and/or Modifications of Original Code * as defined in and that are subject to the Apple Public Source License * Version 2.0 (the 'License'). You may not use this file exc...
9,040
https://github.com/fishool/happybirthday/blob/master/app/src/javascripts/main.js
Github Open Source
Open Source
Apache-2.0
null
happybirthday
fishool
JavaScript
Code
512
1,605
// load dependencies var animationControl = require('./animation-control.js'); var bgMusic = $('audio').get(0); var $btnMusic = $('.btn-music'); var $upArrow = $('.up-arrow'); (function () { 'use strict'; $(document).ready(function () { // background music control $btnMusic.click(function ()...
8,667
https://github.com/mbithy/mtapi/blob/master/MtApi5/Mt5TimeConverter.cs
Github Open Source
Open Source
MIT
2,022
mtapi
mbithy
C#
Code
90
240
using System; namespace MtApi5 { internal class Mt5TimeConverter { public static DateTime ConvertFromMtTime(int time) { var tmpTime = new DateTime(1970, 1, 1); return new DateTime(tmpTime.Ticks + (time * 0x989680L)); } public static DateTime ConvertFrom...
13,935
https://github.com/sreikanth/open-swamp/blob/master/registry-web-server/var/www/html/templates/run-requests/list/run-requests-list.tpl
Github Open Source
Open Source
Apache-2.0
2,015
open-swamp
sreikanth
null
Spoken
44
188
<table style="display:none"> <thead> <tr> <th class="package first"> Package </th> <th class="tool"> Tool </th> <th class="platform"> Platform </th> <th class="schedule last"> Schedule </th> <% if (showDelete) { %> <th class="append"></th> <% } %> </tr> </thead...
1,538
https://github.com/kyx0r/FA_Patcher/blob/master/boost_lib/boost/fusion/container/set/detail/as_set.hpp
Github Open Source
Open Source
BSL-1.0, MIT
2,020
FA_Patcher
kyx0r
C++
Code
141
606
/*============================================================================= Copyright (c) 2014-2015 Kohei Takahashi Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) ========================================...
41,266
https://github.com/KodamaSakuno/wpf/blob/master/src/Microsoft.DotNet.Wpf/src/PresentationCore/MS/internal/Classification.cs
Github Open Source
Open Source
MIT
null
wpf
KodamaSakuno
C#
Code
1,839
4,649
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. // // // // Contents: Unicode classification entry point // // using System; using System.Diagnostics; using MS.I...
44,828
https://github.com/Drewsup123/BlockStack-App/blob/master/src/components/homescreen/ImportFileModal.js
Github Open Source
Open Source
MIT
null
BlockStack-App
Drewsup123
JavaScript
Code
307
1,027
import React from 'react'; import Button from '@material-ui/core/Button'; import Dialog from '@material-ui/core/Dialog'; import DialogActions from '@material-ui/core/DialogActions'; import DialogContent from '@material-ui/core/DialogContent'; import DialogTitle from '@material-ui/core/DialogTitle'; import TextField fro...
47,933
https://github.com/meteoorkip/GROOVE/blob/master/groove/src/groove/explore/prettyparse/PLiteral.java
Github Open Source
Open Source
Apache-2.0
2,021
GROOVE
meteoorkip
Java
Code
368
803
/* GROOVE: GRaphs for Object Oriented VErification * Copyright 2003--2007 University of Twente * * 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/LICENS...
5,125
https://github.com/thriveweb/see-civil/blob/master/src/components/Accordion.js
Github Open Source
Open Source
MIT
null
see-civil
thriveweb
JavaScript
Code
92
306
import './Accordion.scss' import React, { Component } from 'react' // Components import AccordionItem from './AccordionItem' class Accordion extends Component { state = { activeAccordions: [] } handleAccordionItem = i => { let { activeAccordions } = this.state activeAccordions.includes(i) ...
2,294
https://github.com/ignition25/memegen/blob/master/config/initializers/02_aws.rb
Github Open Source
Open Source
MIT
2,014
memegen
ignition25
Ruby
Code
27
198
if Rails.env.production? ENV['S3_BUCKET_NAME'] = 'memeosa-generated' ENV['S3_BUCKET_URL'] = 'https://memeosa-generated.s3.amazonaws.com/' else ENV['S3_BUCKET_NAME'] = 'generated-memes' ENV['S3_BUCKET_URL'] = 'https://generated-memes.s3.amazonaws.com/' end ENV['S3_TEMPLATE_URL'] = 'https://memeosa-templates.s3.amaz...
11,080
https://github.com/devos50/compo/blob/master/src/views/jolla/CompoView/compoview_plugin.cpp
Github Open Source
Open Source
MIT
2,014
compo
devos50
C++
Code
26
123
#include "compoview_plugin.h" #include "compoview.h" #include <qdeclarative.h> void CompoViewPlugin::registerTypes(const char *uri) { // @uri com.compofx qmlRegisterType<CompoView>(uri, 1, 0, "CompoView"); } #if QT_VERSION < 0x050000 Q_EXPORT_PLUGIN2(CompoView, CompoViewPlugin) #endif
2,986
https://github.com/ureshiiYing/tp/blob/master/src/main/java/seedu/address/logic/commands/ingredientcommands/IngredientViewSingleCommand.java
Github Open Source
Open Source
MIT
null
tp
ureshiiYing
Java
Code
296
931
package seedu.address.logic.commands.ingredientcommands; import static java.util.Objects.requireNonNull; import static seedu.address.logic.parser.CliSyntax.PREFIX_INGREDIENT; import java.util.Optional; import seedu.address.logic.commands.Command; import seedu.address.logic.commands.CommandResult; import seedu.addres...
2,147
https://github.com/jvanderbiest/lunchorder-1/blob/master/backend/WebApi/Lunchorder.Domain/Constants/DocumentDbSp.cs
Github Open Source
Open Source
MIT
2,018
lunchorder-1
jvanderbiest
C#
Code
51
141
namespace Lunchorder.Domain.Constants { public class DocumentDbSp { public const string AddUserOrder = "addUserOrder"; public const string GetOrCreateVendorOrderHistory = "getOrCreateVendorOrderHistory"; public const string UpdateUserBalance = "updateUserBalance"; public const s...
49,771
https://github.com/ECellNitrr/EcellWeb2k17/blob/master/resources/views/admin/questionSets/index.blade.php
Github Open Source
Open Source
MIT
2,017
EcellWeb2k17
ECellNitrr
PHP
Code
524
2,717
@extends('layouts.admin_panel') @section('title', 'Admin Panel') @section('content') @parent <!-- Content Wrapper. Contains page content --> <div class="content-wrapper"> <!-- Content Header (Page header) --> <section class="content-header"> <h1> Question Sets <small>B-Quiz</small> ...
35,036
https://github.com/definelib/gridview/blob/master/modules/GridView/Panel.js
Github Open Source
Open Source
MIT
null
gridview
definelib
JavaScript
Code
202
901
const Panel = require('@definejs/panel'); module.exports = { create(meta) { const Header = require('./Panel/Header')(meta); const Main = require('./Panel/Main')(meta); const Pager = require('./Panel/Pager')(meta); const Data = require('./Panel/Data'); let panel = new Pan...
783
https://github.com/gbwol/fantestic-cestmanager/blob/master/tests/Unit/Unparser/AstBuilderTest.php
Github Open Source
Open Source
Apache-2.0
null
fantestic-cestmanager
gbwol
PHP
Code
213
893
<?php declare(strict_types = 1); namespace Fantestic\CestManager\Tests\Unit\Unparser; use Fantestic\CestManager\Contract\ScenarioInterface; use Fantestic\CestManager\Unparser\AstBuilder; use Fantestic\CestManager\Tests\Doubles\Action; use Fantestic\CestManager\Tests\Doubles\Collection; use Fantestic\CestManager\Tests...
4,101
https://github.com/Gegel85/GameJam2020/blob/master/src/Utils.cpp
Github Open Source
Open Source
CC0-1.0
2,020
GameJam2020
Gegel85
C++
Code
348
1,328
// // Created by Gegel85 on 26/10/2019. // #include <algorithm> #include <cstring> #include <sstream> #ifndef _WIN32 #include <vector> #include <sys/stat.h> #include <SFML/Graphics.hpp> #include "Game.hpp" #define ICON_ERROR_PATH "assets/box/error.png" #else #include <io.h> #endif #include "Utils.hpp" #include "Ex...
40,093
https://github.com/JcYasantha/sonsy/blob/master/resources/js/components/test.vue
Github Open Source
Open Source
MIT
2,020
sonsy
JcYasantha
Vue
Code
190
940
<template> <div class="container"> <div class="row justify-content-center"> <div class="col-md-12"> <div class="card"> <div class="card-header">Add Order</div> <div class="card-body"> <div class="row"> ...
44,781
https://github.com/QoobIY/vscode/blob/master/src/vs/editor/browser/view/viewImpl.ts
Github Open Source
Open Source
MIT
2,021
vscode
QoobIY
TypeScript
Code
1,535
6,805
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
14,506
https://github.com/BlissCatalyst/sacrament-program/blob/master/sacrament-generator/src/components/Login/Login.less
Github Open Source
Open Source
MIT
2,019
sacrament-program
BlissCatalyst
Less
Code
135
547
@Login-title-color: #a5a5a5; @Login-error-color: #ee2222; @Login-input-border-color: @header; @Login-input-background-color: #122f42; @Login-button-color: #3ea1e4; .Login { margin: 10px 0px; min-height: 47rem; display: flex; justify-content: center; flex-direction: column; align-items: center; ...
41,304
https://github.com/dguihal/quteqoin/blob/master/ui/pinipede/qqhuntpixmapitem.cpp
Github Open Source
Open Source
WTFPL
2,023
quteqoin
dguihal
C++
Code
588
2,643
#include "qqhuntpixmapitem.h" #include "core/qutetools.h" #include <qmath.h> #include <QGraphicsScene> #include <QPixmap> #include <QPropertyAnimation> #if QT_VERSION >= QT_VERSION_CHECK(5, 15, 0) #include <QRandomGenerator> #endif #define BASE_ANIM_PIX QString(":/anims/") QQHuntPixmapItem::QQHuntPixmapItem(QStrin...
26,619
https://github.com/tuanngo/openclinica_sqldatamart/blob/master/scripts/openclinica_fdw/dm_create_ft_openclinica.sql
Github Open Source
Open Source
MIT
2,016
openclinica_sqldatamart
tuanngo
PLpgSQL
Code
133
551
CREATE OR REPLACE FUNCTION openclinica_fdw.dm_create_ft_openclinica( foreign_openclinica_schema_name TEXT DEFAULT $$public$$ ) RETURNS VOID AS $b$ /* Create a local foreign table for each table in the foreign schema. */ DECLARE r RECORD; BEGIN FOR r IN WITH table_list AS ( SELECT ft_pg_class.relname A...
25,060
https://github.com/ivoputzer/m.test/blob/master/man/m.test.1
Github Open Source
Open Source
MIT
2,022
m.test
ivoputzer
null
Spoken
224
482
M.TEST(1) User Manuals M.TEST(1) M.TEST(1) NAME m.test - test runner from the m.icro series. DESCRIPTION a test runner inspired by simplicity, written to kickstart the m.icro series with solid roots! SYNOPSIS m.test [options] [files] OPTIONS -h, --help outputs usage i...
22,769
https://github.com/v2v3v4/BigWorld-Engine-2.0.1/blob/master/src/lib/network/circular_array.hpp
Github Open Source
Open Source
snprintf
2,022
BigWorld-Engine-2.0.1
v2v3v4
C++
Code
284
654
/****************************************************************************** BigWorld Technology Copyright BigWorld Pty, Ltd. All Rights Reserved. Commercial in confidence. WARNING: This computer program is protected by copyright law and international treaties. Unauthorized use, reproduction or distribution of thi...
32,069
https://github.com/BloCamLimb/InfinitesimalZeros/blob/master/src/main/java/infinitesimalzeros/common/core/InventoryHandlerZero.java
Github Open Source
Open Source
MIT
2,019
InfinitesimalZeros
BloCamLimb
Java
Code
326
1,448
package infinitesimalzeros.common.core; import infinitesimalzeros.api.interfaces.IInventoryZero; import net.minecraft.item.ItemStack; import net.minecraftforge.items.IItemHandlerModifiable; import net.minecraftforge.items.ItemHandlerHelper; public class InventoryHandlerZero implements IItemHandlerModifiable { IInv...
16,032
https://github.com/Sensational-Code/web-components/blob/master/packages/date-picker/src/vaadin-date-picker.d.ts
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, Apache-2.0
2,021
web-components
Sensational-Code
TypeScript
Code
711
1,766
/** * @license * Copyright (c) 2021 Vaadin Ltd. * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ */ import { ElementMixin } from '@vaadin/component-base/src/element-mixin.js'; import { InputControlMixin } from '@vaadin/field-base/src/input-control-mixin.js'; imp...
41,781
https://github.com/lucasfe/campuscode_android_lessons/blob/master/lesson4_calling_another_activity/app/src/main/java/br/com/campuscode/callingactivities/MainActivity.java
Github Open Source
Open Source
Apache-2.0
2,017
campuscode_android_lessons
lucasfe
Java
Code
74
201
package br.com.campuscode.callingactivities; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; //TODO Sua classe deve implementar a interface View.OnClickListener public class MainActivity extends AppCompatActivity { @Override protected void onCreate(Bundle...
51,684
https://github.com/Ducasse/SmallKanren/blob/master/SmallKanren-Core.package/SKVar.class/instance/car.list.o..st
Github Open Source
Open Source
MIT
2,021
SmallKanren
Ducasse
null
Spoken
47
107
as yet unclassified car: aCar list: aSize o: aBlock |vars | vars := (aBlock argumentNames copyFrom: 1 to: aSize) collect: [ :n | self class tag: n]. ^ SKGuardedMultiMatch var: (aCar isSKVar ifTrue: {self. aCar} ifFalse: {self}) pattern: (aCar cons: vars asCons) cons vars: vars block: aBlock.
16,739
https://github.com/rishabhandroid/fenster-master/blob/master/library/src/main/java/com/malmstein/fenster/helper/BrightnessHelper.java
Github Open Source
Open Source
Apache-2.0
2,022
fenster-master
rishabhandroid
Java
Code
52
190
package com.malmstein.fenster.helper; import android.content.ContentResolver; import android.content.Context; import android.provider.Settings; public class BrightnessHelper { public static void setBrightness(Context context, int brightness){ ContentResolver cResolver = context.getContentResolver(); ...
52,411
https://github.com/Prospus-ShantiGola/fahrenheit/blob/master/resources/views/elements/adcalcmodal.blade.php
Github Open Source
Open Source
MIT
2,020
fahrenheit
Prospus-ShantiGola
PHP
Code
223
791
<!-- Compression Chillers modal start --> <!-- Compression Chillers modal end --> <script> jQuery('[data-toggle="popover"]').popover(); jQuery('body').on('click', function (e) { jQuery('[data-toggle="popover"]').each(function () { //the 'is' for buttons that trigger pop...
16,884
https://github.com/ianpaulfo/backend/blob/master/seeds/01users.js
Github Open Source
Open Source
MIT
null
backend
ianpaulfo
JavaScript
Code
65
268
exports.seed = function(knex) { // Deletes ALL existing entries return knex('users').truncate() .then(function () { // Inserts seed entries return knex('users').insert([ {username: 'ifragoso', email: 'ianfragoso@yahoo.com', password: 'password'}, {username: 'thotchkiss', email: 'mtk...
24,949
https://github.com/azhkhn/mis/blob/master/frontend/views/site/index.php
Github Open Source
Open Source
BSD-3-Clause
2,019
mis
azhkhn
PHP
Code
1,145
4,270
<?php use kartik\grid\GridView; use yii\helpers\Html; use miloschuman\highcharts\Highcharts; $session = Yii::$app->session; /* @var $this yii\web\View */ $this->title = 'ระบบศูนย์ข้อมูลและสารสนเทศ'; ?> <?php if ($session["loginname"] != null) { ?> <?php } ?> <div style="display:none"> <?p...
36,023
https://github.com/davidgiven/ack/blob/master/mach/pdp/libem/ror.s
Github Open Source
Open Source
LicenseRef-scancode-other-permissive
2,023
ack
davidgiven
Unix Assembly
Code
47
179
.sect .text; .sect .rom; .sect .data; .sect .bss; .sect .text .sect .text .define ror~ .extern save~,retu~ ! $Id$ ror~: asr r0 jsr pc,save~ mov (sp)+,r3 3: mov sp,r1 mov r0,-(sp) clc 1: ror (r1)+ sob r0,1b bcc 2f bis $0100000,02(sp) 2: mov (sp)+,r0 sob r3,3b jmp retu~
46,564
https://github.com/woowebsite/next-typescript-mobx/blob/master/.gitignore
Github Open Source
Open Source
MIT
2,019
next-typescript-mobx
woowebsite
Ignore List
Code
8
37
.idea dist node_modules yarn-error.log lerna-debug.log npm-debug.log .next out
51,089
https://github.com/jamezp/launcher-application/blob/master/creator/src/main/kotlin/io/fabric8/launcher/creator/catalog/CapabilityImport.kt
Github Open Source
Open Source
Apache-2.0
2,022
launcher-application
jamezp
Kotlin
Code
116
462
package io.fabric8.launcher.creator.catalog import io.fabric8.launcher.creator.catalog.GeneratorInfo.* import io.fabric8.launcher.creator.core.* import io.fabric8.launcher.creator.core.catalog.BaseGenerator import io.fabric8.launcher.creator.core.catalog.GeneratorContext import io.fabric8.launcher.creator.core.resourc...
34,477
https://github.com/mihaelarrr/Licenta/blob/master/aplicatie/components/Camera/styles.js
Github Open Source
Open Source
MIT
null
Licenta
mihaelarrr
JavaScript
Code
62
200
import { StyleSheet } from "react-native"; export default StyleSheet.create({ container: { flex: 1, }, camera: { flex: 1, }, cameraactions: { flex: 1, backgroundColor: "transparent", flexDirection: "row", justifyContent: "space-between", alignItems: "center", paddingBottom: 50...
14,065
https://github.com/cleverguns/Basic-C-OOP-CLI-/blob/master/payslip.h
Github Open Source
Open Source
MIT
null
Basic-C-OOP-CLI-
cleverguns
C
Code
250
727
#ifndef _PAYSLIP #define _PAYSLIP #include <string> #include "employee.h" using namespace std; class Payslip : public Employee { private: double mOvertimePay, mGrossPay , mNetPay, mWithholdingTax; double SSS= 500.00, PagIbig =200.00, Philhealth =100.00; public: ...
19,376
https://github.com/marceljs/sontag/blob/master/src/tags/set.js
Github Open Source
Open Source
MIT
2,019
sontag
marceljs
JavaScript
Code
138
345
import { Tag } from '../node-types'; import { expression } from '../parse'; export const SET = /^([^\s]+?)(?:\s*=[^=]*([^]+))?$/; /* The {% set %} tag allows assignments. It works both as a self-closing tag, or as a paired tag that captures its content into a variable name. Uses aliases `assign` and `capture` ...
38,517
https://github.com/cms-sw/cmssw/blob/master/DataFormats/Luminosity/interface/LumiConstants.h
Github Open Source
Open Source
Apache-2.0
2,023
cmssw
cms-sw
C++
Code
74
169
#ifndef DataFormats_Luminosity_LumiConstants_h #define DataFormats_Luminosity_LumiConstants_h // Various constants used by the lumi classes. namespace LumiConstants { static const unsigned int numOrbits = 262144; // number of orbits per LS (2^18) static const unsigned int numBX = 3564; // number of BX per...
46,444
https://github.com/NovichikhinAlexey/Lykke.Service.PayInternal/blob/master/src/Lykke.Service.PayInternal.Services/BitcoinApiClient.cs
Github Open Source
Open Source
MIT
null
Lykke.Service.PayInternal
NovichikhinAlexey
C#
Code
385
2,304
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Common; using Common.Log; using JetBrains.Annotations; using Lykke.Bitcoin.Api.Client.AutoGenerated.Models; using Lykke.Bitcoin.Api.Client.BitcoinApi; using Lykke.Bitcoin.Api.Client.BitcoinApi.Models; using Lykke.Com...
42,799
https://github.com/gautamborad/fs-dotfiles/blob/master/copy/.gitconfig
Github Open Source
Open Source
MIT
2,016
fs-dotfiles
gautamborad
Git Config
Code
364
989
[user] name = ENTER_YOUR_FULL_NAME_HERE email = ENTER_YOUR_EMAIL_HERE [core] autocrlf = input whitespace = fix,space-before-tab,tab-in-indent,trailing-space excludesfile = ~/.gitignore_global editor = vim [apply] whitespace = fix [alias] # short aliases st = status co = checkout # pull/push #...
30,324
https://github.com/DawnLck/FrontendDiscipline/blob/master/DOM/Dom_Diff/DomDiff.js
Github Open Source
Open Source
MIT
2,022
FrontendDiscipline
DawnLck
JavaScript
Code
96
668
/** * DomDiff * MVVM 模式框架的核心算法 * 使得vm最终变为 dom 操作 * */ /** * 简单的diff算法 * 逐个遍历 newVdom 的节点,找到它在oldVdom中的位置,如果找到了就移动对应的DOM元素,如果没找到说明是新增节点,则新建一个节点插入。遍历完成之后如果oldVdom中还有没处理过的节点,则说明这些节点在newVdom中被删除了,删除它们即可。 仔细思考一下,几乎每一步都要做移动DOM的操作,这在DOM整体结构变化不大时的开销是很大的,实际上DOM变化不大的情况现实中经常发生,很多时候我们只需要变更某个节点的文本而已。 * */ /** * 注意一:web中跨...
44,899
https://github.com/lupermanasseh/app.midas.local/blob/master/resources/views/Prints/loan_balances_pdf.blade.php
Github Open Source
Open Source
Apache-2.0
2,022
app.midas.local
lupermanasseh
Blade
Code
256
1,391
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <link rel="stylesheet" href="https://fonts.googleapis.com/css?famaily=Open+Sans:300,400,600"> <link rel="styles...
44,096
https://github.com/uwearzt/site-uwe-arzt/blob/master/sass/screen.scss
Github Open Source
Open Source
Apache-2.0
null
site-uwe-arzt
uwearzt
SCSS
Code
29
136
// ------------------------------------------------------------------------------ // Copyright 2019-2020 Uwe Arzt, mail@uwe-arzt.de // SPDX-License-Identifier: Apache-2.0 // ------------------------------------------------------------------------------ @import url("screen-dark.css") (prefers-color-scheme: dark); @impor...
5,208
https://github.com/ZhangRGK/leaa/blob/master/packages/_leaa-common/src/interfaces/index.ts
Github Open Source
Open Source
BSD-3-Clause
null
leaa
ZhangRGK
TypeScript
Code
20
48
export * from './user.interface'; export * from './auth.interface'; export * from './permission.interface'; export * from './attachment.interface'; export * from './ax.interface';
48,182
https://github.com/igorshmidt65/arttr4/blob/master/lead-api/aff/leadrock.php
Github Open Source
Open Source
CC-BY-4.0, CC-BY-3.0
2,020
arttr4
igorshmidt65
PHP
Code
178
740
<?php $API = array( 'key' => '135', 'secret' => 'dcc6104588f828768f1c3293fc2c5ddf' ); if (isset($_POST['other'])) { foreach ($_POST['other'] as $other_val) { $other .= $other_val . PHP_EOL; } } $params = array( 'flow_url' => $stream, 'user_phone' => $phone, 'user_name' => $name, 'other' => $_POST['other'], '...
47,891
https://github.com/jimlyndon/unicodecoder-xtag/blob/master/src/unicodecoder.js
Github Open Source
Open Source
MIT
2,014
unicodecoder-xtag
jimlyndon
JavaScript
Code
344
1,151
function getCharacters() { var value = document.getElementById('input').value; this.characters = value ? value.split('') : []; } function unicodePad(value) { // new variable needed to keep coercion to base16 during concatenation var b16 = base16(value); switch (b16.length) { case 2: return '00' +...
28,415
https://github.com/mehrdad-shokri/otter/blob/master/src/Otter.php
Github Open Source
Open Source
MIT
2,022
otter
mehrdad-shokri
PHP
Code
1,012
2,993
<?php namespace Poowf\Otter; use Illuminate\Support\Collection; use Illuminate\Support\Str; use Illuminate\Support\Facades\File; use Poowf\Otter\Http\Resources\OtterResource; class Otter { /** * The callback that should be used to authenticate Otter users. * * @var \Closure */ public stat...
44,777
https://github.com/xmoshi/nighthawk/blob/master/nightawk-jdbc/src/main/java/com/github/nightawk/jdbc/mybatis/ComboPooledDataSourceAdapter.java
Github Open Source
Open Source
Apache-2.0
2,017
nighthawk
xmoshi
Java
Code
41
182
package com.github.nightawk.jdbc.mybatis; import com.mchange.v2.c3p0.ComboPooledDataSource; import javax.sql.DataSource; public class ComboPooledDataSourceAdapter extends AbstractDataSourceAdapter { private final ComboPooledDataSource comboPooledDataSource; public ComboPooledDataSourceAdapter(ComboPooledDa...
22,073
https://github.com/EdSchouten/bazel-elm-spa-example/blob/master/BUILD.bazel
Github Open Source
Open Source
MIT
2,020
bazel-elm-spa-example
EdSchouten
Starlark
Code
44
185
load("@io_bazel_rules_docker//container:container.bzl", "container_image", "container_layer") container_layer( name = "application", directory = "/usr/share/nginx/html", files = ["//src:elm"], ) container_layer( name = "static_assets", data_path = ".", directory = "/usr/share/nginx/html", ...
42,273
https://github.com/chritter/TernausNetV2/blob/master/demo.py
Github Open Source
Open Source
BSD-3-Clause
null
TernausNetV2
chritter
Python
Code
749
2,180
from pylab import * from skimage.morphology import watershed import scipy.ndimage as ndimage from PIL import Image, ImagePalette from torch.nn import functional as F from torchvision.transforms import ToTensor, Normalize, Compose import torch # read image and metadata from TIFF-like files used in bioimaging. import ...
46,561
https://github.com/reserve-protocol/protocol/blob/master/contracts/plugins/mocks/ATokenMock.sol
Github Open Source
Open Source
BlueOak-1.0.0
2,022
protocol
reserve-protocol
Solidity
Code
255
793
// SPDX-License-Identifier: BlueOak-1.0.0 pragma solidity 0.8.9; import "contracts/plugins/assets/ATokenFiatCollateral.sol"; import "contracts/libraries/Fixed.sol"; import "./ERC20Mock.sol"; // This is the inner, rebasing ERC. It's not what we interact with. contract ATokenMock is ERC20Mock { address internal imm...
48,677
https://github.com/MianenCZ/WinExtensions/blob/master/src/WinExtensions/WinExtensions.GetOpt.Tests/GetOptBaseTests.cs
Github Open Source
Open Source
MIT
null
WinExtensions
MianenCZ
C#
Code
1,442
5,390
using System; using System.IO; using System.Linq; using FluentAssertions; using WinExtension.Common.Helpers; using WinExtension.GetOpt; using WinExtension.GetOpt.Enums; using WinExtension.GetOpt.Exceptions; using Xunit; using Xunit.Abstractions; namespace WinExtensions.GetOpt.Tests { public class Opts { ...
48,991
https://github.com/Kocher-JGC/custom-platform-tool/blob/master/.bak/core.bak/test/description-list-table.ts
Github Open Source
Open Source
MIT
2,020
custom-platform-tool
Kocher-JGC
TypeScript
Code
520
2,020
const globalCollections = { modifierCollection: { "##": "required", }, eventCollection: { API: { query: () => { return ["data"]; }, }, }, }; const listTableIUBDSL = { id: "pageId", type: "config", name: "用户管理", // 理论上这一层应该在顶可以复用 metaDataMapping: { tableId1: { ...
19,139
https://github.com/YoussefKababe/GSTicket/blob/master/app/database/seeds/UtilisateursTableSeeder.php
Github Open Source
Open Source
MIT
2,014
GSTicket
YoussefKababe
PHP
Code
159
904
<?php // Composer: "fzaninotto/faker": "v1.3.0" // use Faker\Factory as Faker; class UtilisateursTableSeeder extends Seeder { public function run() { Utilisateur::create([ 'nom' => 'Kababe', 'prenom' => 'Youssef', 'email' => 'youssef.kbe@gmail.com', 'photo' => 'UOrQlNUync264VDJvtQway3hfB8wvvBPaYlv6R...
47,660
https://github.com/aries-demos/dataops/blob/master/stacks/XIAOMATECH/1.0/services/WEBVIRT/package/scripts/libvirt.py
Github Open Source
Open Source
Apache-2.0
2,019
dataops
aries-demos
Python
Code
139
678
from resource_management.core.resources.system import Execute from resource_management.libraries.script import Script from resource_management.core.source import StaticFile from resource_management.core.resources.system import File from resource_management.libraries.functions.check_process_status import check_process_s...
6,231
https://github.com/nmbatingal/hrmisv2.0/blob/master/database/migrations/2018_10_13_071200_create_document_trackers_table.php
Github Open Source
Open Source
MIT
null
hrmisv2.0
nmbatingal
PHP
Code
85
659
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateDocumentTrackersTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::connection('my...
34,925
https://github.com/DartNyan4/cpachecker/blob/master/src/org/sosy_lab/cpachecker/cpa/value/symbolic/util/SymbolicValuesTest.java
Github Open Source
Open Source
Apache-2.0
2,018
cpachecker
DartNyan4
Java
Code
315
1,098
/* * CPAchecker is a tool for configurable software verification. * This file is part of CPAchecker. * * Copyright (C) 2007-2015 Dirk Beyer * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You ...
51,557
https://github.com/TriggerMail/luci-go/blob/master/server/templates/middleware.go
Github Open Source
Open Source
Apache-2.0
null
luci-go
TriggerMail
Go
Code
190
400
// Copyright 2015 The LUCI 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...
6,852
https://github.com/ZhengKeli/PositronSpector/blob/master/src/dbspy/gui/spectrum/dbs/bg/__init__.py
Github Open Source
Open Source
MIT
2,019
PositronSpector
ZhengKeli
Python
Code
4
8
from ._bg import Controller
30,497
https://github.com/NaskoVasilev/CharityShop-BG/blob/master/views/home/index.hbs
Github Open Source
Open Source
MIT
2,020
CharityShop-BG
NaskoVasilev
null
Spoken
307
1,539
<section class="home_banner_area"> <div class="banner_inner"> <div class="container"> <div class="banner_content"> <p class="upper_text">Подай ръка</p> <h2>за да подобрим света около нас</h2> <p> Сега е момента да помогнете на х...
42,520
https://github.com/roman-kulish/graph-object/blob/master/tests/ObjectGraph/Test/GraphNode/Youtube/Item.php
Github Open Source
Open Source
MIT
2,018
graph-object
roman-kulish
PHP
Code
73
153
<?php /** * This file is part of the Object Graph package. * * (c) Roman Kulish <roman.kulish@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace ObjectGraph\Test\GraphNode\Youtube; use ObjectGraph\GraphNode; /...
37,265
https://github.com/samkenxstream/openzeppelin-sdk/blob/master/packages/cli/mocks/mock-stdlib-unpublished/contracts/GreeterBase.sol
Github Open Source
Open Source
MIT
2,019
openzeppelin-sdk
samkenxstream
Solidity
Code
31
89
pragma solidity ^0.5.0; contract GreeterBase { event Greeting(string greeting); uint256 public value; function initialize(uint256 _value) public { value = _value; } function clashingInitialize(uint256 _value) public { value = _value; } }
39,405
https://github.com/y1316/shopProject/blob/master/src/main/webapp/WEB-INF/jsp/ia/article-add.jsp
Github Open Source
Open Source
MIT
2,019
shopProject
y1316
null
Spoken
385
2,655
<!--_meta 作为公共模版分离出去--> <%@ page contentType="text/html;charset=UTF-8" language="java" %> <html> <head> <%@include file="/common/head.jsp"%> <meta charset="utf-8"> <meta name="renderer" content="webkit|ie-comp|ie-stand"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta name="viewport" content="...
48,940
https://github.com/OliverCaiJia/micro_service_api/blob/master/config/ucenter.php
Github Open Source
Open Source
MIT
null
micro_service_api
OliverCaiJia
PHP
Code
201
1,054
<?php /** * vergil-lai/uc-client包配置文件 * @author Vergil <vergil@vip.163.com> */ return [ /* * Ucenter的地址 */ 'api' => env('UC_API', 'http://bbs.jdt.com/uc_server'), /* * 通信密钥,必须药与Ucenter保持一致,否则该应用无法与Ucenter正常通信 */ 'key' => env('UC_KEY','32182vFikUtPT8p4L5aPKMngsZHR/ZS4kWFhE'), ...
3,486
https://github.com/adamgreig/stm32ral/blob/master/src/cortex_m/peripherals/dwt.rs
Github Open Source
Open Source
MIT, LicenseRef-scancode-unknown-license-reference, Apache-2.0
2,022
stm32ral
adamgreig
Rust
Code
1,245
3,166
#![allow(non_snake_case, non_upper_case_globals)] #![allow(non_camel_case_types)] //! Data Watchpoint and Trace Unit //! //! Used by: armv6m, armv7em, armv7m use crate::{RORegister, RWRegister, WORegister}; #[cfg(not(feature = "nosync"))] use core::marker::PhantomData; /// Control Register pub mod CTRL {} /// Cycle ...
42,358
https://github.com/ebjones-eric/iotChess/blob/master/index.js
Github Open Source
Open Source
Apache-2.0
null
iotChess
ebjones-eric
JavaScript
Code
381
1,412
var Chess = require('chess.js').Chess; var chess = new Chess(); var AWS = require('aws-sdk'); var ses = new AWS.SES({apiVersion: '2010-12-01'}); var sqs = new AWS.SQS({region:'eu-east-1'}); AWS.config.region="us-east-1"; console.log('Loading Function'); exports.handler = function(event, context) { console.log('handler...
51,323
https://github.com/kasptom/topnav_rosjava_kasptom/blob/master/topnav_graph/src/main/java/com/github/topnav_rosjava_kasptom/topnav_graph/FeedbackResolver.java
Github Open Source
Open Source
Apache-2.0
2,020
topnav_rosjava_kasptom
kasptom
Java
Code
131
625
package com.github.topnav_rosjava_kasptom.topnav_graph; import com.github.topnav_rosjava_kasptom.topnav_shared.constants.DrivingStrategy; import com.github.topnav_rosjava_kasptom.topnav_shared.model.*; import java.util.HashSet; import java.util.List; import java.util.stream.Collectors; import static com.github.topna...
7,187
https://github.com/AtmaBuster/pokeplat-gen2/blob/master/engine/battle/move_effects/frustration.asm
Github Open Source
Open Source
blessing
2,022
pokeplat-gen2
AtmaBuster
Assembly
Code
72
209
BattleCommand_frustrationpower: ; frustrationpower push bc ld hl, wBattleMonHappiness ldh a, [hBattleTurn] and a jr z, .got_happiness ld hl, wEnemyMonHappiness .got_happiness ld a, $ff sub [hl] ldh [hMultiplicand + 2], a xor a ldh [hMultiplicand + 0], a ldh [hMultiplicand + 1], a ld a, 10 ldh [hMultiplie...
52,511
https://github.com/stornado/crypto-spring-boot-starter/blob/master/src/main/java/com/zxytech/crypto/starter/request/RequestException.java
Github Open Source
Open Source
Apache-2.0
null
crypto-spring-boot-starter
stornado
Java
Code
50
157
package com.zxytech.crypto.starter.request; public class RequestException extends RuntimeException { public RequestException() { super(); } public RequestException(String message) { super(message); } public RequestException(String message, Throwable cause) { super(message...
50,883
https://github.com/ASKashin/applab/blob/master/src/assets/sass/content-12.scss
Github Open Source
Open Source
MIT
null
applab
ASKashin
SCSS
Code
63
234
.content-12 { background-color: #09142e; .container { .logo { margin-top: 120px; } } .nav { margin-top: 40px; &-item { } &-link { font-size: 16px; color: $white; } } .cocial-items { margin-top: 50px; list-style-type: none; padding-left: 0; ...
53,525
https://github.com/luansergiomattos/PicrossUniverse/blob/master/src/assets/style/modules/animation/_slide-in-from-top.scss
Github Open Source
Open Source
MIT
null
PicrossUniverse
luansergiomattos
SCSS
Code
14
48
@keyframes slideInFromTop { 0% { transform: translateY(-100%); } 100% { transform: translateX(0); } }
10,132
https://github.com/AlaminSikander/online-class/blob/master/database/migrations/2022_03_09_065827_create_add_teachers_table.php
Github Open Source
Open Source
MIT
null
online-class
AlaminSikander
PHP
Code
66
328
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateAddTeachersTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('add_teacher...
38,627
https://github.com/imvkmark/popjs-util/blob/master/src/poppy/_view.ts
Github Open Source
Open Source
MIT
null
popjs-util
imvkmark
TypeScript
Code
189
555
/** * 获取当前视窗的大小 * To get the correct viewport width * based on http://andylangton.co.uk/articles/javascript/get-viewport-size-javascript/ * @returns {{width: *, height: *}} */ export const viewport = function () { if (typeof window === 'undefined' || typeof document === 'undefined') { return { ...
35,404
https://github.com/samlythemanly/markoe_wedding/blob/master/src/widgets/dress_code_page/lib/dress_code_page.tsx
Github Open Source
Open Source
MIT
null
markoe_wedding
samlythemanly
TypeScript
Code
34
93
import { Route } from '../../../common/navigation'; import styles from './dress_code_page.module.scss'; export function DressCodePage(): JSX.Element { return ( <div className={ styles.container }> Dress code </div> ); } export const dressCodeRoute = new Route('Dress code', DressCodePage);
5,891
https://github.com/BLACKujira/SekaiTools/blob/master/SekaiTools/Assets/Live2D/Motions/25meiko_motion_base/w-cute-glad06r.motion3.json.meta
Github Open Source
Open Source
MIT
2,023
SekaiTools
BLACKujira
Unity3D Asset
Code
11
87
fileFormatVersion: 2 guid: 56cd71aaae0570344895c7b12b13d430 TextScriptImporter: externalObjects: {} userData: '{"_animationClipGuid":"f55a054015dc0d948b0db946da64bfba"}' assetBundleName: assetBundleVariant:
27,968
https://github.com/ringcentral/ringcentral-js-widgets/blob/master/packages/ringcentral-widgets/components/ContactSearchPanel/i18n/ko-KR.ts
Github Open Source
Open Source
MIT
2,023
ringcentral-js-widgets
ringcentral
TypeScript
Code
226
1,113
import { HintsType } from '../ContactSearchPanelEnum'; export default { [HintsType.thirdPartyNoRecordsContent]: "{sourceName} 레코드를 모두 찾으려면 검색어(문자 또는 숫자)를 최소 {minimumLength}자 이상 입력하세요.", [HintsType.noFilterOrSearchRecordsTitle]: "검색 결과 없음", [HintsType.noFilterOrSearchRecordsContent]: "다른 소스에서 결과를 확인하거나 키워드를 변경하세요....
2,395