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/bgazzera/react-keyboard/blob/master/src/FocusTrap.js
Github Open Source
Open Source
MIT
2,017
react-keyboard
bgazzera
JavaScript
Code
42
125
import React from 'react' import PropTypes from 'prop-types' export const FocusTrap = ({ component: Component, children, ...props }) => <Component tabIndex="-1" {...props}> {children} </Component> FocusTrap.propTypes = { onFocus: PropTypes.func, onBlur: PropTypes.func, component: PropTypes.any, childr...
50,013
https://github.com/hzeller/precise-pitch/blob/master/src/net/zllr/precisepitch/model/DisplayNote.java
Github Open Source
Open Source
Apache-2.0
2,020
precise-pitch
hzeller
Java
Code
401
726
/* * Copyright 2013 Henner Zeller <h.zeller@acm.org> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
24,846
https://github.com/acm309/PutongOJ/blob/master/test/controllers/problem/user.test.js
Github Open Source
Open Source
MIT
2,023
PutongOJ
acm309
JavaScript
Code
98
336
const test = require('ava') const supertest = require('supertest') const app = require('../../../app') const users = require('../../seed/users') const server = app.listen() const request = supertest.agent(server) const user = Object.values(users.data)[15] test.before('Login', async (t) => { const login = await req...
23,012
https://github.com/kcc/fuzzing-with-sanitizers/blob/master/llvm/llvm-as/C1/cc.ll
Github Open Source
Open Source
MIT
2,015
fuzzing-with-sanitizers
kcc
LLVM
Code
100
401
target datalayout = "E-m:e-i64:64-n32:64" target triple = "powerpc64-unknown-linux-gnu" define i64 @test1(i64 %a, i64 %b) { entry: %c = icmp eq i64 %a, %b br label %foo foo: call { i64, i64 } asm sideeffect "sc", "={r0},={r3},{r0},~{cr0},~{cr1},~{cr2},~{cr3},~{cr4},~{cr5},~{cr6},~{cr7}" (i64 %a) br i1 %c, la...
13,277
https://github.com/MarkDz/Picture_Gallery/blob/master/server/api/upload.js
Github Open Source
Open Source
2,021
Picture_Gallery
MarkDz
JavaScript
Code
49
187
const router = require('express').Router() const fileUpload = require('express-fileupload') module.exports = router router.use(fileUpload()) router.post('/', (req, res) => { if (req.files === null) { return res.status(400).json({msg: 'No File Uploaded'}) } const file = req.files.file file.mv(`${__dirnam...
42,471
https://github.com/vanttec/vectornav-ros/blob/master/include/cpp/help/search/groups_4.js
Github Open Source
Open Source
MIT
null
vectornav-ros
vanttec
JavaScript
Code
18
170
var searchData= [ ['uart_20ascii_20response_20packet_20parsers',['UART ASCII Response Packet Parsers',['../group__uart_ascii_response_parsers.html',1,'']]], ['uart_20ascii_20asynchronous_20packet_20parsers',['UART ASCII Asynchronous Packet Parsers',['../group__uart_packet_ascii_async_parsers.html',1,'']]], ['uart...
5,782
https://github.com/jdelon02/delongd8/blob/master/web/modules/contrib/easy_breadcrumb/src/Form/EasyBreadcrumbGeneralSettingsForm.php
Github Open Source
Open Source
MIT
null
delongd8
jdelon02
PHP
Code
696
3,099
<?php namespace Drupal\easy_breadcrumb\Form; use Drupal\Core\Form\ConfigFormBase; use Drupal\Core\Form\FormStateInterface; use Drupal\easy_breadcrumb\EasyBreadcrumbConstants; /** * Build Easy Breadcrumb settings form. */ class EasyBreadcrumbGeneralSettingsForm extends ConfigFormBase { /** * {@inheritdoc} ...
1,436
https://github.com/changangela/cockroach/blob/master/pkg/sql/opt/testutils/opt_steps.go
Github Open Source
Open Source
MIT, BSD-3-Clause
2,020
cockroach
changangela
Go
Code
909
1,623
// Copyright 2018 The Cockroach 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 ag...
40,728
https://github.com/Hitman7eo/AnalizadorLexico/blob/master/src/com/gt/vista/GUI/Principal.java
Github Open Source
Open Source
Apache-2.0
null
AnalizadorLexico
Hitman7eo
Java
Code
351
2,233
package com.gt.vista.GUI; import com.gt.tokenizer.Validaciones; import java.awt.Image; import javax.swing.ImageIcon; import javax.swing.JFrame; import javax.swing.JOptionPane; public class Principal extends JFrame { //--- private ImageIcon image, icon; private final Validaciones validarCaracter = new Val...
12,867
https://github.com/lxneng/oauthenticator/blob/master/oauthenticator/tests/test_gitlab.py
Github Open Source
Open Source
BSD-3-Clause
null
oauthenticator
lxneng
Python
Code
339
1,378
import re import json from io import BytesIO import functools import collections from urllib.parse import urlparse, parse_qs from tornado.httpclient import HTTPResponse from tornado.httputil import HTTPHeaders from pytest import fixture, mark from ..gitlab import GitLabOAuthenticator from .mocks import setup_oauth_m...
7,785
https://github.com/Adolph1/ZUPS-MIS/blob/master/console/migrations/m180809_200407_create_tbl_vituo_table.php
Github Open Source
Open Source
BSD-3-Clause
2,019
ZUPS-MIS
Adolph1
PHP
Code
46
169
<?php use yii\db\Migration; /** * Handles the creation of table `tbl_vituo`. */ class m180809_200407_create_tbl_vituo_table extends Migration { /** * @inheritdoc */ public function up() { $this->createTable('tbl_vituo', [ 'id' => $this->primaryKey(), 'kituo' => ...
4,513
https://github.com/priya-iyer9/looks-freak-mobile/blob/master/lib/Pages/my-shop.dart
Github Open Source
Open Source
MIT
null
looks-freak-mobile
priya-iyer9
Dart
Code
622
2,158
import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:looksfreak/services/server.dart'; import 'package:looksfreak/utils/user.dart'; import 'my-profile.dart'; class MyShop extends StatefulWidget { final CustomUser user; final Server server; const MyShop({Key key, this....
52,653
https://github.com/abdullahmamunn/ek-con/blob/master/resources/views/backend/post/subpost-add.blade.php
Github Open Source
Open Source
MIT
null
ek-con
abdullahmamunn
PHP
Code
221
977
@extends('backend.layouts.app') @section('content') <!-- Content Header (Page header) --> <div class="content-header"> <div class="container-fluid"> <div class="row mb-2"> <div class="col-sm-6"> <h1 class="m-0 text-dark">{{ !empty($editData)? 'Update Post' : 'Add Post' }}</h1> ...
1,182
https://github.com/OkaMoez/SDVMM2/blob/master/SDVMM Rebuild/cMain.h
Github Open Source
Open Source
MIT
2,022
SDVMM2
OkaMoez
C++
Code
604
2,292
#pragma once #include <wx/wx.h> #include <wx/menu.h> #include <wx/event.h> #include <wx/notebook.h> #include <wx/dataview.h> #include <wx/checkbox.h> #include <wx/fileconf.h> #include <wx/wupdlock.h> #include <wx/textfile.h> #include <wx/dirdlg.h> #include <wx/filedlg.h> #include <wx/stdpaths.h> #include <wx/filefn.h>...
51,195
https://github.com/SelimSkhiri/nuts/blob/master/core/nuts-runtime/src/main/java/net/thevpc/nuts/runtime/standalone/app/cmdline/DefaultNutsCommandLine.java
Github Open Source
Open Source
Apache-2.0
null
nuts
SelimSkhiri
Java
Code
2,560
7,831
/** * ==================================================================== * Nuts : Network Updatable Things Service * (universal package manager) * <br> * is a new Open Source Package Manager to help install packages and libraries * for runtime execution. Nuts is the ultimate companion for maven (and other * bu...
11,095
https://github.com/raxracks/chadOS/blob/master/userspace/apps/compositor/Cursor.h
Github Open Source
Open Source
MIT, BSD-2-Clause
2,021
chadOS
raxracks
C
Code
26
146
#pragma once #include <abi/Mouse.h> #include <libgraphic/Painter.h> void cursor_initialize(); void cursor_handle_packet(MousePacket packet); void cursor_render(Graphic::Painter &painter); Math::Recti cursor_bound_from_position(Math::Vec2i position); Math::Recti cursor_dirty_bound_from_position(Math::Vec2i positio...
26,849
https://github.com/utarsuno/ruuuby/blob/master/lib/ruuuby/db/migrations/rollout/00_ruuuby_gem.sql
Github Open Source
Open Source
MIT
2,020
ruuuby
utarsuno
SQL
Code
1,001
3,518
--() { :; }; exec psql -f "$0" -- -------------------------------------------- ⚠️ -------------------------------------------- -- testing purposes -- -------------------------------------------- ⚠️ -------------------------------------------- BEGIN TRANSACTION; -- __ ___ ___ __ ___ __ -- |__) |__...
6,732
https://github.com/stephenmathieson-oldstuff/node-bunyan-env/blob/master/Makefile
Github Open Source
Open Source
Unlicense, MIT
null
node-bunyan-env
stephenmathieson-oldstuff
Makefile
Code
74
294
MOCHA ?= node_modules/.bin/mocha MOCHA_REPORTER ?= spec JSCOVERAGE ?= jscoverage SRC = index.js SRC += $(wildcard lib/*.js) TESTS = $(wildcard test/*.js) ACCEPTANCE = $(wildcard test/acceptance/*.js) test: node_modules @$(MOCHA) --reporter $(MOCHA_REPORTER) test-ac...
7,279
https://github.com/gwkkwg/cl-markdown/blob/master/unit-tests/test-extensions.lisp
Github Open Source
Open Source
MIT
2,022
cl-markdown
gwkkwg
Common Lisp
Code
96
410
(in-package #:cl-markdown-test) (deftestsuite test-extensions-basic (cl-markdown-test) ()) (deftestsuite test-properties (test-extensions-basic) ()) (addtest (test-properties) basic-get/set (ensure-same (cl-markdown::strip-whitespace (strip-html (nth-value 1 (markdown "{set-property _my-prop...
37,998
https://github.com/mikevoyt/RoboPhish/blob/master/networking/src/main/kotlin/robophish/phishin/PhishinRepository.kt
Github Open Source
Open Source
Apache-2.0
2,020
RoboPhish
mikevoyt
Kotlin
Code
88
323
package robophish.phishin import robophish.model.Show import robophish.model.YearData import kotlin.Exception sealed class PhishinResponse<T> data class PhishinSuccess<T>(val data: T): PhishinResponse<T>() data class PhishinError<T>(val exception: Exception): PhishinResponse<T>() class PhishinRepository internal con...
44,743
https://github.com/Stone-Zeng/toys/blob/master/leetcode/198-house-robber.rs
Github Open Source
Open Source
MIT
2,022
toys
Stone-Zeng
Rust
Code
150
633
// 198. House Robber // https://leetcode.com/problems/house-robber/ struct Solution { } impl Solution { fn _rob(nums: &Vec<i32>, begin: usize, len: usize, temp: &mut Vec<i32>) -> i32 { match len - begin { 0 => 0, 1 => nums[begin], 2 => i32::max(nums[begin], nums[begin +...
7,053
https://github.com/Flower-Story-Team/FlowerOfHua/blob/master/build/tmp/expandedArchives/forge-1.15.2-31.2.0_mapped_snapshot_20200704-1.15.1-sources.jar_33b22049f3c940d438a3642799476d2d/net/minecraft/inventory/container/EnchantmentContainer.java
Github Open Source
Open Source
MIT
2,020
FlowerOfHua
Flower-Story-Team
Java
Code
1,042
3,877
package net.minecraft.inventory.container; import java.util.List; import java.util.Random; import net.minecraft.advancements.CriteriaTriggers; import net.minecraft.block.Blocks; import net.minecraft.enchantment.EnchantmentData; import net.minecraft.enchantment.EnchantmentHelper; import net.minecraft.entity.player.Play...
32,295
https://github.com/webstar1987923/mycampaignsio/blob/master/frontend/site/default/new-ui/crm/REMOVED/Invoices/listinvoice.php
Github Open Source
Open Source
MIT
2,018
mycampaignsio
webstar1987923
PHP
Code
209
918
<?php if( ! isset( $current_page ) ){ global $current_page; $current_page = 'business-invoices'; } require FCPATH . '/frontend/site/default/new-ui/parts/top.php'; ?> <div class="content-row"> <div class="content-column w-100 w-two-thirds-l"> <div class="content-column-main"> <div class...
8,075
https://github.com/crumblingstatue/mizu/blob/master/mizu-core/src/tests/blargg_tests.rs
Github Open Source
Open Source
MIT
2,021
mizu
crumblingstatue
Rust
Code
151
697
gb_tests!( inf; // clock until infinite loop // FIXME: the test passes but the screen is not correct // the label for test 11 does not show "OK" blargg_cpu_instrs, "blargg-gb-tests/cpu_instrs/cpu_instrs.gb", 16599394073517471602, 3892107528677358037; blargg_instr_timing, "blargg-g...
54,134
https://github.com/ajunlonglive/coreutils/blob/master/src/rm/helper.v
Github Open Source
Open Source
MIT
2,021
coreutils
ajunlonglive
null
Spoken
565
1,417
// module rmutil import os import common // Important constants const ( name = 'rm' interactive_yes = ['y'] invalid_interactive = 'Invalid for interactive. Use either of [never, no, none], [once], [always, yes]' valid_interactive = [ ['never', 'no', 'none'], ['once'], ['always', 'yes'], ...
13,538
https://github.com/johntellsall/hello/blob/master/Makefile
Github Open Source
Open Source
MIT
null
hello
johntellsall
Makefile
Code
56
155
all: test test: docker-compose --verbose up # NOTES # docker-compose build # docker tag 5795e johntellsall/fortunecookie_web # docker push johntellsall/fortunecookie_web # # docker-cloud nodecluster create --sync jm_cluster # docker-cloud stack create --name fortune # # docker-cloud up --sync terminate-service: ...
11,367
https://github.com/hanselrd/bubble-warriors-adventure/blob/master/src/Animation.cpp
Github Open Source
Open Source
MIT
2,021
bubble-warriors-adventure
hanselrd
C++
Code
56
193
#include "Animation.hpp" void Animation::addFrame(sf::IntRect rect) { _frames.push_back(rect); } void Animation::setSpriteSheet(const sf::Texture& texture) { _texture = &texture; } const sf::Texture* Animation::getSpriteSheet() const { return _texture; } std::size_t Animation::getSize() const { retu...
45,426
https://github.com/rnbguy/oopsla21artifact/blob/master/jepsen/tpcc/oltp_src/main/java/kv/Check.java
Github Open Source
Open Source
MIT
2,022
oopsla21artifact
rnbguy
Java
Code
118
413
package kv; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.Connection; public class Check { public static int check(Connection conn, int id) throws Exception { try { PreparedStatement stmt1 = conn.prepareStatement("SELECT balance FROM saving WHERE id = ? "); PreparedStatement ...
50,578
https://github.com/ducnguyenarm/devtools/blob/master/libs/rteutils/src/WildCards.cpp
Github Open Source
Open Source
Apache-2.0, MIT, ECL-2.0, BSL-1.0, BSD-3-Clause
2,022
devtools
ducnguyenarm
C++
Code
573
1,626
/******************************************************************************/ /* RTE - CMSIS Run-Time Environment */ /******************************************************************************/ /** @file WildCards.cpp * @brief Simplified symmetric wild card matching */ /******************************************...
19,721
https://github.com/hsk/gdis_prolog/blob/master/test/goal_expansion.pl
Github Open Source
Open Source
MIT
2,019
gdis_prolog
hsk
Prolog
Code
12
50
goal_expansion(A,A) :- writeln(A),fail. goal_expansion(a,b). b :- writeln(bbb). c. :- a. :- halt.
31,765
https://github.com/woshikid/java-utils/blob/master/src/main/java/com/github/woshikid/utils/FileUtils.java
Github Open Source
Open Source
Apache-2.0
2,017
java-utils
woshikid
Java
Code
237
704
package com.github.woshikid.utils; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; /** * * @author kid * */ public class FileUtils { public static InputStream getResourceAsStream(String path) { return FileUtils.clas...
32,785
https://github.com/MrQwenty/developers.italia.it/blob/master/Makefile
Github Open Source
Open Source
BSD-3-Clause
null
developers.italia.it
MrQwenty
Makefile
Code
22
97
.PHONY: deploy local: JEKYLL_NO_GITHUB=true bundle exec jekyll serve deploy: JEKYLL_ENV=production bundle exec jekyll build rsync -avP --rsync-path="sudo -u www-data rsync" _site/ developers.italia.it:/data/www/developers.italia.it/web/
3,843
https://github.com/RemiFusade2/ScoutsForever/blob/master/UnityProject/Assets/Animations/CouperDuBois/BusLeaves.anim.meta
Github Open Source
Open Source
MIT
2,016
ScoutsForever
RemiFusade2
Unity3D Asset
Code
12
65
fileFormatVersion: 2 guid: 5ce3ec23d54ff1a45ab1522d13644f11 timeCreated: 1437580514 licenseType: Free NativeFormatImporter: userData: assetBundleName: assetBundleVariant:
22,777
https://github.com/PaesslerAG/django-rosetta-grappelli/blob/master/Makefile
Github Open Source
Open Source
MIT
2,019
django-rosetta-grappelli
PaesslerAG
Makefile
Code
329
901
.PHONY: avoid-too-many-dependencies pip-list COVERAGE?=0 COVERAGERCFLAG=--rcfile .coveragerc ifeq ($(COVERAGE), 1) PYTHON=coverage run ${COVERAGERCFLAG} else PYTHON=python endif PYPI_SERVER?=pypi GIT_REMOTE_NAME?=origin SHELL=/bin/bash VERSION=$(shell python -c"import rosetta_grappelli as m; print(m.__version__)") h...
44,211
https://github.com/wildanv10/GIS-DISTAN-KabBandung/blob/master/app/Kontak.php
Github Open Source
Open Source
MIT
null
GIS-DISTAN-KabBandung
wildanv10
PHP
Code
19
71
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Kontak extends Model { protected $table = 'kontaks'; protected $fillable = ['namaKontak','emailKontak','isiKontak','balasan','isiBalasan']; }
19,203
https://github.com/hudsonb/kubed/blob/master/kubed-demos/src/main/kotlin/kubed/demo/ContourPlotDemo.kt
Github Open Source
Open Source
BSD-3-Clause
2,020
kubed
hudsonb
Kotlin
Code
342
910
package kubed.demo import javafx.application.Application import javafx.geometry.Insets import javafx.scene.Group import javafx.scene.Scene import javafx.scene.paint.Color import javafx.stage.Stage import kubed.color.scheme.schemeYlGnBu import kubed.contour.Contour import kubed.contour.contours import kubed.geo.path.ge...
47,538
https://github.com/freymanandresreyes/po/blob/master/resources/views/informes/grafica.blade.php
Github Open Source
Open Source
MIT
null
po
freymanandresreyes
PHP
Code
20
115
@extends('layout') @section('contenido') <br> <div class="col-lg-12"> <div class="card"> <div class="card-body"> <h4 class="card-title">NUEVA GRAFICA</h4> <div id="bar-chart" style="width:100%; height:400px;"></div> </div> </div> </div> @endsection
40,000
https://github.com/TeamSPoon/logicmoo_nlu/blob/master/ext/SIRIDUS/UGOT-D31/godis-apps/domain-vcr/Resources/asrg_vcr_english.pl
Github Open Source
Open Source
MIT
2,020
logicmoo_nlu
TeamSPoon
Perl
Code
3
46
:-module(asrg_travel_english,[resource_of_type/1,language/1]). resource_of_type(asr_grammar). language(english).
42,823
https://github.com/LucBerge/Datafus/blob/master/data/DofusInvoker/scripts/com/ankamagames/dofus/datacenter/npcs/NpcMessage.as
Github Open Source
Open Source
MIT
2,021
Datafus
LucBerge
null
Spoken
90
403
package com.ankamagames.dofus.datacenter.npcs { import com.ankamagames.dofus.types.IdAccessors; import com.ankamagames.jerakine.data.GameData; import com.ankamagames.jerakine.data.I18n; import com.ankamagames.jerakine.interfaces.IDataCenter; import com.ankamagames.jerakine.logger.Log; import com.ankam...
9,427
https://github.com/dexmo007/spring-hateoas-engine/blob/master/sample/src/main/java/com/dexmohq/hateoas/state/sample/task/TaskDto.java
Github Open Source
Open Source
MIT
null
spring-hateoas-engine
dexmo007
Java
Code
16
65
package com.dexmohq.hateoas.state.sample.task; import lombok.Data; import javax.validation.constraints.NotEmpty; @Data public class TaskDto { @NotEmpty private String name; }
32,261
https://github.com/NyiNyiLin/YUMenuBookAdmin/blob/master/YUMenuAdmin/app/src/main/java/com/nyi/yumenuadmin/adapters/MenuAdapter.java
Github Open Source
Open Source
Apache-2.0
null
YUMenuBookAdmin
NyiNyiLin
Java
Code
94
426
package com.nyi.yumenuadmin.adapters; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import com.nyi.yumenuadmin.R; import com.nyi.yumenuadmin.YUMenuBookAdminApp; import com.nyi.yumenuadmin.data.VOs.MenuItem; import com.nyi.yu...
39,238
https://github.com/dbubs/corny/blob/master/lib/corny.js
Github Open Source
Open Source
0BSD
null
corny
dbubs
JavaScript
Code
1,632
4,090
"use strict"; var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol ? "symbol" : typeof obj; }; var _createClass = function () { function defineProperties(tar...
54,246
https://github.com/kurodakazumichi/study-hub/blob/master/backend/app/Http/Controllers/Web/HomeController.php
Github Open Source
Open Source
MIT
2,021
study-hub
kurodakazumichi
PHP
Code
70
257
<?php namespace App\Http\Controllers\Web; use App\Http\Controllers\Controller; use App\Models\Achievement; use App\Models\Category; use App\Models\Study; use App\Models\Variety; use Illuminate\Http\Request; class HomeController extends Controller { public function index() { $skills = Study::getStats();...
9,119
https://github.com/theodo/keiko-serverless/blob/master/packages/backend/libs/configHelper/getHandlerPath.ts
Github Open Source
Open Source
MIT
null
keiko-serverless
theodo
TypeScript
Code
37
75
/** Helper to be used in config.ts files to retrieve the path of the handler. */ export const getHandlerPath = (directoryPath: string): string => { const processRunLocation = process.cwd(); return directoryPath.replace(processRunLocation + '/', '') + '/handler.main'; };
2,601
https://github.com/billhung/GGJ2021/blob/master/GGJ2021/Assets/CityVoxelPack/Assets/roads/medium/Mesh/road5.obj
Github Open Source
Open Source
CC0-1.0
2,021
GGJ2021
billhung
Wavefront Object
Code
2,258
7,822
# MagicaVoxel @ Ephtracy # group g road5 # material mtllib road5.mtl usemtl palette # normals vn -1 0 0 vn 1 0 0 vn 0 0 1 vn 0 0 -1 vn 0 -1 0 vn 0 1 0 # texcoords vt 0.900391 0.5 vt 0.904297 0.5 vt 0.962891 0.5 vt 0.966797 0.5 # verts v -10.5 0 7.5 v -10.5 0 -7.5 v -10.5 1 2.5 v -10.5 1 -2.5 v -10.5 2 7.5 v -10.5 ...
22,958
https://github.com/Ashwanigupta9125/code-DS-ALGO/blob/master/Olympiad Solutions/URI/1883.cpp
Github Open Source
Open Source
MIT
2,022
code-DS-ALGO
Ashwanigupta9125
C++
Code
163
775
// Ivan Carvalho // Solution to https://www.urionlinejudge.com.br/judge/problems/view/1883 #include <cstdio> #include <queue> #define MAXN 1001 #define MP make_pair using namespace std; typedef pair<int,int> ii; typedef pair<int,ii> iii; char matriz[MAXN][MAXN]; int processado[MAXN][MAXN]; int main(){ int TC; scanf("...
39,776
https://github.com/andyschott/Destiny2/blob/master/Components/Collectibles/DestinyCollectibleComponent.cs
Github Open Source
Open Source
MIT
2,021
Destiny2
andyschott
C#
Code
16
47
namespace Destiny2.Components.Collectibles { public class DestinyCollectibleComponent { public DestinyCollectibleState State { get; set; } } }
53,236
https://github.com/muguangyi/bubble/blob/master/env/sysvar.go
Github Open Source
Open Source
MIT
2,020
bubble
muguangyi
Go
Code
82
194
// Copyright 2019 Bubble. All rights reserved. // Use of this source code is governed by a MIT-style // license that can be found in the LICENSE file. package env import ( "fmt" "strings" ) func GetSysvar(name string) (IAny, error) { f, ok := sysvars[name] if !ok { return nil, fmt.Errorf("Variable [%s] is not ...
36,196
https://github.com/Gudang-Source/iqbalpos/blob/master/database/m_supplier_produk.sql
Github Open Source
Open Source
Apache-2.0, LicenseRef-scancode-unknown-license-reference, MIT
2,017
iqbalpos
Gudang-Source
SQL
Code
498
1,818
-- phpMyAdmin SQL Dump -- version 4.2.11 -- http://www.phpmyadmin.net -- -- Host: 127.0.0.1 -- Generation Time: May 20, 2017 at 09:01 PM -- Server version: 5.6.21 -- PHP Version: 5.6.3 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; ...
56,488
https://github.com/UKHomeOffice/egar-public-ui/blob/master/apps/egar/behaviours/utils/paging.js
Github Open Source
Open Source
MIT
null
egar-public-ui
UKHomeOffice
JavaScript
Code
489
1,078
'use strict'; const _ = require('lodash'); const url = require('url'); const util = require('util'); const querystring = require('querystring'); module.exports = { /** * Gets an object that describes the current paging state of a collection * @param {number} numThings The number of items in the collect...
2,145
https://github.com/JetBrains/intellij-community/blob/master/java/java-tests/testData/psi/resolve/method/generics/Inheritance2.java
Github Open Source
Open Source
Apache-2.0
2,023
intellij-community
JetBrains
Java
Code
30
93
class Test{ class A <T>{ B x; class B <Z>{ public void put(T x, Z y){} public Z getZ(){} public T getT(){} } } { new A<Integer>().new B<Boolean>().getZ().<caret>booleanValue(); } }
26,561
https://github.com/Chapmania/Juniper/blob/master/src/Juniper.Root/Color3.cs
Github Open Source
Open Source
MIT
2,020
Juniper
Chapmania
C#
Code
852
2,546
using System; using System.Linq; using System.Numerics; namespace Juniper { public struct Color3 : IEquatable<Color3> { private static readonly int[] SkinColors = { 0xFFDFC4, 0xF0D5BE, 0xEECEB3, 0xE1B899, 0xE5C298, 0xFFDCB2, ...
19,986
https://github.com/kedikebba/Phone-Bills-Payment-System/blob/master/payment_service/paymentService/src/main/java/ea/finalProject/paymentService/model/PaymentType.java
Github Open Source
Open Source
MIT
null
Phone-Bills-Payment-System
kedikebba
Java
Code
216
545
package ea.finalProject.paymentService.model; import org.springframework.data.annotation.Id; public class PaymentType { @Id private String Id; private Long creditcardNumber; private Integer cvv; private String expiryDate; private String name; private String bankName; private String a...
43,396
https://github.com/moserdiogo/SistemaCimol/blob/master/application/models/Armario_model.php
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, MIT
2,019
SistemaCimol
moserdiogo
PHP
Code
571
3,244
<?php class Armario_model extends CI_Model{ // testando, busca armarios disponiveis public function busca_armario_disponivel($curso){ $this->db->select('a.numero, aa.armario_id') ->from('armario_aluno aa') ->join('armario a','aa.armario_id=a.id') ->where('aa.data_entrega=', null) ->where('a.curso_id=', ...
20,834
https://github.com/MrBergin/zircon/blob/master/zircon.core/src/commonMain/kotlin/org/hexworks/zircon/api/builder/component/ProgressBarBuilder.kt
Github Open Source
Open Source
Apache-2.0
null
zircon
MrBergin
Kotlin
Code
168
539
package org.hexworks.zircon.api.builder.component import org.hexworks.zircon.api.component.ProgressBar import org.hexworks.zircon.api.component.builder.base.BaseComponentBuilder import org.hexworks.zircon.internal.component.impl.DefaultProgressBar import org.hexworks.zircon.internal.component.renderer.DefaultProgressB...
29,095
https://github.com/cjnstha/united_insurance/blob/master/resources/views/admin/gallery/edit.blade.php
Github Open Source
Open Source
MIT
2,020
united_insurance
cjnstha
Blade
Code
207
907
@extends('layouts.admin.admin_layouts') @section('content') <!-- Content Wrapper. Contains page content --> <div class="content-wrapper"> <!-- Content Header (Page header) --> <section class="content-header"> <div class="container-fluid"> <div class="row mb-2"> ...
35,050
https://github.com/jholland-usgs/asl-java-tools/blob/master/src/asl/seedscan/metrics/CrossPowerKey.java
Github Open Source
Open Source
PostgreSQL, Apache-2.0
2,021
asl-java-tools
jholland-usgs
Java
Code
227
470
/* * Copyright 2012, United States Geological Survey or * third-party contributors as indicated by the @author tags. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of t...
37,088
https://github.com/carefree0910/carefree-learn/blob/master/cflearn/data/blocks/cv/normalize.py
Github Open Source
Open Source
MIT
2,023
carefree-learn
carefree0910
Python
Code
175
671
import numpy as np from typing import List from typing import Tuple from cftool.types import np_dict_type from ....schema import IRuntimeDataBlock from ....constants import INPUT_KEY @IRuntimeDataBlock.register("static_normalize") class StaticNormalizeBlock(IRuntimeDataBlock): division: float def __init__(...
52,388
https://github.com/queenstina/rcg_player/blob/master/qt4/qt4.pro
Github Open Source
Open Source
BSD-2-Clause
2,016
rcg_player
queenstina
null
Spoken
217
838
CONFIG += release TEMPLATE = app QT += network TARGET = rcg_player DESTDIR = ../bin DEPENDPATH += . ../rcg INCLUDEPATH += . .. win32 { INCLUDEPATH += ../../boost } unix { INCLUDEPATH += /opt/local/include } macx { INCLUDEPATH += /opt/local/include } LIBS += -L../lib -lrcssrcgparser win32 { LIBS += ../../zl...
49,295
https://github.com/HarshRohila/stencil-web-component/blob/master/src/components.d.ts
Github Open Source
Open Source
MIT
null
stencil-web-component
HarshRohila
TypeScript
Code
225
661
/* eslint-disable */ /* tslint:disable */ /** * This is an autogenerated file created by the Stencil compiler. * It contains typing information for all components that exist in this project. */ import { HTMLStencilElement, JSXBase } from "@stencil/core/internal"; export namespace Components { interface ABtn { ...
31,763
https://github.com/SkillsFundingAgency/logstash_exporter/blob/master/Makefile
Github Open Source
Open Source
MIT
null
logstash_exporter
SkillsFundingAgency
Makefile
Code
91
279
all: clean format golint build test PROMU_VERSION := 0.5.0 include Makefile.common TARGET ?= das-logstash-exporter vendor: @echo ">> installing dependencies on vendor" GO111MODULE=$(GO111MODULE) $(GO) mod vendor test: @echo ">> running tests" GO111MODULE=$(GO111MODULE) $(GO) test -short $(pkgs) format: @ec...
11,509
https://github.com/alexandreannic/signalement-api/blob/master/app/controllers/RatingController.scala
Github Open Source
Open Source
MIT
2,020
signalement-api
alexandreannic
Scala
Code
72
294
package controllers import java.time.OffsetDateTime import java.util.UUID import com.mohiva.play.silhouette.api.Silhouette import javax.inject._ import models.Rating import play.api.Logger import play.api.libs.json.{JsError, Json} import repositories.RatingRepository import utils.silhouette.auth.AuthEnv import scala...
55,653
https://github.com/CodeFuller/music-library/blob/master/src/PandaPlayer/ViewModels/EditedSongProperty.cs
Github Open Source
Open Source
MIT
null
music-library
CodeFuller
C#
Code
202
639
using System; using System.Collections.Generic; using GalaSoft.MvvmLight; namespace PandaPlayer.ViewModels { public class EditedSongProperty<T> : ViewModelBase { private bool hasValue; public bool HasValue { get => hasValue; private set => Set(ref hasValue, value); } public bool HasBlankValue => H...
47,634
https://github.com/RamosCruz/Dashboard/blob/master/application/views/Plantilla.php
Github Open Source
Open Source
MIT
null
Dashboard
RamosCruz
PHP
Code
1,996
9,434
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <link rel="apple-touch-icon" sizes="57x57" href="<?php echo base_url('assets/img/favicon/apple-icon-57x57.png'); ?>"> <link rel="apple-touch-icon" sizes="...
3,241
https://github.com/zchenry/engrafo/blob/master/integration-tests/__snapshots__/def.test.js.snap
Github Open Source
Open Source
Apache-2.0
2,017
engrafo
zchenry
null
Spoken
156
774
// Jest Snapshot v1, https://goo.gl/fbAQLP exports[`\\def multiple simple arguments render correctly 1`] = ` <body> <div class="engrafo-container" > <dt-article> <h1> Untitled </h1> <div class="engrafo-metadata" > <div ...
30,454
https://github.com/zpscott/3xGame/blob/master/3XMobile/src/framework/util/listenerManager/ListenerManager.as
Github Open Source
Open Source
MIT
2,016
3xGame
zpscott
null
Spoken
170
554
package framework.util.listenerManager { import framework.util.listenerManager.ListenerStruct; import flash.events.EventDispatcher; public class ListenerManager { private var _listeners : Vector.<ListenerStruct> = new Vector.<ListenerStruct>(); public function ListenerManager() { } public function ...
616
https://github.com/sibylfs/sibylfs_src/blob/master/fs_test/repro/rename_leak.c
Github Open Source
Open Source
ISC
2,022
sibylfs_src
sibylfs
C
Code
111
512
#include <unistd.h> #include <stdlib.h> #include <stdio.h> #include <string.h> #include <errno.h> #include <sys/stat.h> #include <fcntl.h> int write_sz = 4096*4096*4; int main() { long* page; int fd, i, j, sz; struct stat st; page = (long *)malloc(write_sz); for (j = 0; j < 32; j++) { errno = 0; ...
29,196
https://github.com/TomasHofman/testsuite.next/blob/master/tests-configuration-deploymentscanner/src/test/java/org/jboss/hal/testsuite/test/configuration/deploymentscanner/DeploymentScannerTest.java
Github Open Source
Open Source
Apache-2.0
2,017
testsuite.next
TomasHofman
Java
Code
353
1,588
/* * Copyright 2015-2016 Red Hat, Inc, and individual contributors. * * 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...
37,917
https://github.com/CodeURJC-DAW-2020-21/webapp2/blob/master/backend/src/main/java/es/dawgroup2/juding/competitions/rest/CompetitionDTO.java
Github Open Source
Open Source
Apache-2.0
2,021
webapp2
CodeURJC-DAW-2020-21
Java
Code
152
558
package es.dawgroup2.juding.competitions.rest; import javax.validation.constraints.NotBlank; import javax.validation.constraints.Pattern; public class CompetitionDTO { private final String id; @NotBlank private final String shortName; @NotBlank private final String additionalInfo; private fina...
39,358
https://github.com/fike/horusec/blob/master/horusec-auth/internal/services/keycloak/keycloak.go
Github Open Source
Open Source
Apache-2.0
2,021
horusec
fike
Go
Code
445
1,800
// Copyright 2020 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA // // 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...
13,910
https://github.com/xuwang/coreos-docker-dev/blob/master/apps/nginx/units/nginx.service
Github Open Source
Open Source
MIT
2,016
coreos-docker-dev
xuwang
null
Spoken
60
392
[Unit] Description=nginx Requires=registry.service After=registry.service [Service] EnvironmentFile=/etc/environment EnvironmentFile=/var/lib/skydns/envvars EnvironmentFile=/var/lib/apps/nginx/envvars TimeoutStartSec=0 ExecStartPre=/var/lib/apps/bin/dkpull ${DOCKER_IMAGE} ExecStartPre=/var/lib/apps/bin/call-confd # Re...
14,412
https://github.com/aws/aws-sdk-net/blob/master/sdk/src/Services/AppSync/Generated/Model/AssociateSourceGraphqlApiRequest.cs
Github Open Source
Open Source
Apache-2.0, LicenseRef-scancode-proprietary-license, LicenseRef-scancode-public-domain, MIT, LicenseRef-scancode-unknown-license-reference
2,023
aws-sdk-net
aws
C#
Code
505
1,050
/* * Copyright Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fi...
48,832
https://github.com/tgbn/Wagtail-Pipit/blob/master/Company-Project/deploy/files/example.env
Github Open Source
Open Source
MIT
2,019
Wagtail-Pipit
tgbn
Shell
Code
15
224
DJANGO_SETTINGS_MODULE=pipit.settings.prod ALLOWED_HOSTS=127.0.0.1,localhost,example.com,stage.example.com SECRET_KEY=generatesecretkeyhere MEDIA_PATH=/mnt/persist/www/company_project/shared/media STATIC_PATH=/mnt/persist/www/company_project/current/src/static DATABASE_NAME=company_project DATABASE_USER=company_project...
8,672
https://github.com/emberfuse/sentinel/blob/master/src/Auth/PrepareAuthenticatedSession.php
Github Open Source
Open Source
MIT
2,021
sentinel
emberfuse
PHP
Code
45
152
<?php namespace Emberfuse\Scorch\Auth; use Closure; use Illuminate\Http\Request; class PrepareAuthenticatedSession extends Authenticate { /** * Handle the incoming request. * * @param \Illuminate\Http\Request $request * @param \Closure $next * * @return mixed */...
48,763
https://github.com/jhvergara/Inventario/blob/master/app/Hmantenimiento.php
Github Open Source
Open Source
MIT
2,016
Inventario
jhvergara
PHP
Code
44
183
<?php namespace Inventario; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\SoftDeletes; class Hmantenimiento extends Model { use SoftDeletes; protected $table = 'hmantenimientos'; protected $fillable = ['fec_ult_mantenimiento', 'observaciones', 'user_id', 'efisico_id']; p...
37,459
https://github.com/andreluizdsantos/Curso_ADS/blob/master/Java/XP1/src/xp1/XP1.java
Github Open Source
Open Source
MIT
2,020
Curso_ADS
andreluizdsantos
Java
Code
479
1,766
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package xp1; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; /** * * @author Santos *...
56,016
https://github.com/milou-se/milou.deployer.web/blob/master/src/Milou.Deployer.Web.IisHost/Areas/Deployment/Middleware/DeploymentHubLogHandler.cs
Github Open Source
Open Source
MIT
2,020
milou.deployer.web
milou-se
C#
Code
77
341
using System; using System.Collections.Immutable; using System.Linq; using System.Threading; using System.Threading.Tasks; using JetBrains.Annotations; using MediatR; using Microsoft.AspNetCore.SignalR; namespace Milou.Deployer.Web.IisHost.Areas.Deployment.Middleware { [UsedImplicitly] public class DeploymentH...
53,926
https://github.com/VirtueDev/synced_repo/blob/master/src/gwt/client/me/StreamPanel.java
Github Open Source
Open Source
BSD-3-Clause
2,021
synced_repo
VirtueDev
Java
Code
210
925
// // $Id$ package client.me; import java.util.List; import com.google.common.collect.Lists; import com.google.gwt.core.client.GWT; import com.google.gwt.user.client.rpc.AsyncCallback; import com.google.gwt.user.client.ui.FlowPanel; import com.google.gwt.user.client.ui.InlineLabel; import com.google.gwt.user.client....
51,797
https://github.com/CynthiaProtector/helo/blob/master/nnvm/tvm/include/tvm/runtime/module.h
Github Open Source
Open Source
Apache-2.0
2,021
helo
CynthiaProtector
C
Code
790
1,698
/*! * Copyright (c) 2017 by Contributors * \file module.h * \brief Runtime container of the functions generated by TVM, * This is used to support dynamically link, load and save * functions from different convention under unified API. */ #ifndef TVM_RUNTIME_MODULE_H_ #define TVM_RUNTIME_MODULE_H_ #include <dm...
10,499
https://github.com/hico-horiuchi/ohgibone/blob/master/Makefile
Github Open Source
Open Source
MIT
2,017
ohgibone
hico-horiuchi
Makefile
Code
49
245
gom: go get github.com/mattn/gom gom -test install fmt: gom exec goimports -w sensu/*.go test: gom test -v -cover -race github.com/hico-horiuchi/ohgibone/sensu link: mkdir -p $(GOPATH)/src/github.com/hico-horiuchi if [ ! -d $(GOPATH)/src/github.com/hico-horiuchi/ohgibone ]; then ln -s $(CURDIR) $(GOPATH)/src/g...
40,016
https://github.com/namica/vizzu-lib/blob/master/src/base/text/smartstring.cpp
Github Open Source
Open Source
Apache-2.0, LicenseRef-scancode-free-unknown
2,021
vizzu-lib
namica
C++
Code
468
1,623
#include "smartstring.h" #include <algorithm> #include <cctype> #include <cmath> #include <cstring> #include <locale> #include <sstream> #include "base/math/floating.h" #include "base/conv/numtostr.h" #include "base/math/normalizednumber.h" namespace Text { void SmartString::lowerCase(std::string &str) { for (aut...
41,257
https://github.com/vtumuluri/cockroach/blob/master/pkg/security/certmgr/file_cert_test.go
Github Open Source
Open Source
BSD-3-Clause, LicenseRef-scancode-bsl-1.0, MIT, LicenseRef-scancode-cockroach
2,021
cockroach
vtumuluri
Go
Code
414
1,639
// Copyright 2021 The Cockroach Authors. // // Use of this software is governed by the Business Source License // included in the file licenses/BSL.txt. // // As of the Change Date specified in that file, in accordance with // the Business Source License, use of this software will be governed // by the Apache License, ...
51,007
https://github.com/windqdu/props4j/blob/master/props-common/src/main/java/base/props4j/WriteProps.java
Github Open Source
Open Source
Apache-2.0
2,015
props4j
windqdu
Java
Code
170
497
package base.props4j; import java.math.BigDecimal; public interface WriteProps extends Props { void putVal(String key, String val); default void putVal(String key, Integer val) { putVal(key, val == null? (String) null : val.toString()); } default void putVal(String key, Long val) { putVal(key, val == ...
22,218
https://github.com/MustafaCOKER/ISO8583Lib/blob/master/Makefile
Github Open Source
Open Source
MIT
null
ISO8583Lib
MustafaCOKER
Makefile
Code
51
157
SRC := src EXAMPLE := example TEST := test all: makedirs build build: $(MAKE) -C $(SRC) build $(MAKE) -C $(EXAMPLE) build $(MAKE) -C $(TEST) build makedirs: $(MAKE) -C $(SRC) makedirs $(MAKE) -C $(EXAMPLE) makedirs $(MAKE) -C $(TEST) makedirs clean: $(MAKE) -C $(SRC) clean $(MAKE) -C $(EXAMPLE) clean $(M...
13,740
https://github.com/andriylesch/elastic-golang/blob/master/Makefile
Github Open Source
Open Source
MIT
2,019
elastic-golang
andriylesch
Makefile
Code
33
108
BINARY=elasticsearch-golang ${BINARY}: CGO_ENABLED=0 go build -a -ldflags '-s' -installsuffix cgo -o $(BINARY) . .PHONY: build build: CGO_ENABLED=0 go build -a -ldflags '-s' -installsuffix cgo -o $(BINARY) . .PHONY: run run: @go run main.go
18,612
https://github.com/Ascendus/RN-Discord-Bot/blob/master/src/structures/Logger.ts
Github Open Source
Open Source
BSD-3-Clause
null
RN-Discord-Bot
Ascendus
TypeScript
Code
59
208
import chalk from "chalk"; export class Logger { public sendSuccess(message: string): void { return console.log(`${chalk.green("success")} - ${message}`); }; public sendError(message: string): void { return console.log(`${chalk.red("error")} - ${message}`); }; public sendWarning...
16,748
https://github.com/madfrog2047/flink/blob/master/flink-table/flink-table-planner/src/main/scala/org/apache/flink/table/runtime/aggregate/RowTimeBoundedRowsOver.scala
Github Open Source
Open Source
Apache-2.0
2,019
flink
madfrog2047
Scala
Code
908
2,625
/* * 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 ...
31,636
https://github.com/edisite01/ussiweb/blob/master/application/modules/admin/controllers/Panel.php
Github Open Source
Open Source
Apache-2.0, MIT
2,019
ussiweb
edisite01
PHP
Code
890
4,811
<?php defined('BASEPATH') OR exit('No direct script access allowed'); /** * Admin Panel management, includes: * - Admin Users CRUD * - Admin User Groups CRUD * - Admin User Reset Password * - Account Settings (for login user) */ class Panel extends Admin_Controller { public function __construct() { par...
10,192
https://github.com/gitter-badger/signal-arr/blob/master/webpack.config.js
Github Open Source
Open Source
MIT
2,015
signal-arr
gitter-badger
JavaScript
Code
158
776
/*global:__dirname*/ var _ = require('lodash'); var path = require('path'); var webpack = require('webpack'); module.exports = { resolve: { root: path.join(__dirname, 'src'), extensions: ['', '.js', '.jsx', '.less'], alias: { img: 'img', lib: 'lib', less: 'less', bower: path.join(_...
17,798
https://github.com/sangoma/pytest-pcap/blob/master/pytest_pcap/dump.py
Github Open Source
Open Source
MIT
2,021
pytest-pcap
sangoma
Python
Code
336
1,136
import os import re import sys import select import threading import errno from subprocess import Popen, PIPE, CalledProcessError from .pcap import Pcap, MAXIMUM_SNAPLEN if sys.version_info >= (3, 0): import queue else: import Queue as queue class Dump(object): def __init__(self, filename, bpf_program, de...
207
https://github.com/r315/laser4-plus/blob/master/app/board.h
Github Open Source
Open Source
MIT
null
laser4-plus
r315
C
Code
978
3,931
#ifndef _board_h_ #define _board_h_ #ifdef __cplusplus extern "C" { #endif #include <stdint.h> #include "stm32f1xx_hal.h" #include "fifo.h" #ifdef ENABLE_DISPLAY #include "ssd1306.h" #endif /* GPIO definitions */ #define GPIO_MODE_MASK 15 //#define GPIO_MODE_INPUT (0 << 0) // Input, defined on HAL #...
18,468
https://github.com/OpenIxia/ixnetwork_restpy/blob/master/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocols/instructions_a545a16ec203e97934be61b56f3be2b6.py
Github Open Source
Open Source
MIT
2,023
ixnetwork_restpy
OpenIxia
Python
Code
1,414
3,492
# MIT LICENSE # # Copyright 1997 - 2020 by IXIA Keysight # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), # to deal in the Software without restriction, including without limitation # the rights to use, copy, modify,...
14,076
https://github.com/Scottx86-64/dotfiles-1/blob/master/source/pkgsrc/devel/ruby-term-ansicolor/Makefile
Github Open Source
Open Source
Unlicense
2,021
dotfiles-1
Scottx86-64
Makefile
Code
40
222
# $NetBSD: Makefile,v 1.10 2019/01/20 14:07:23 taca Exp $ DISTNAME= term-ansicolor-1.7.1 CATEGORIES= devel MAINTAINER= taca@NetBSD.org HOMEPAGE= https://flori.github.com/term-ansicolor COMMENT= Ruby library colors strings using ANSI escape sequences LICENSE= apache-2.0 DEPENDS+= ${RUBY_PKGPREFIX}-tins>=1.0<2:../../d...
22,834
https://github.com/ljia310/vueAdmin-template/blob/master/src/views/devmng/index.vue
Github Open Source
Open Source
MIT
2,017
vueAdmin-template
ljia310
Vue
Code
807
3,586
<template> <div class="app-container" style="margin-top:-15px;"> <el-col :span="4" style="margin-bottom:5px;margin-left:-15px;"> <el-button-group style="margin-bottom:5px;"> <el-button type="primary" @click="grp_dialog_title = '新增组织';grp_input = null;grp_oper_type = 0;grp_dialogVisible = true">新增</e...
39,171
https://github.com/solgarcia2002/mejuri/blob/master/src/components/sectionTitle.js
Github Open Source
Open Source
MIT
null
mejuri
solgarcia2002
JavaScript
Code
52
149
import React from 'react' import PropTypes from 'prop-types' import styled from 'styled-components' function SectionTitle({ title }) { const H2 = styled.h2` text-align: start; width: 100%; padding-left: 4rem; color: #555; display: inline-block; ` return ( <H2>{title}</H2> ) } SectionTi...
5,284
https://github.com/nkisi/nkisi/blob/master/nkisi-js/nkisi-runtime-js/nkisi-core-js/@nkisi/structure/main/interpreter/Interpreter.ts
Github Open Source
Open Source
Apache-2.0
2,021
nkisi
nkisi
TypeScript
Code
624
1,587
// Copyright 2015-2021 Nkisi inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to...
8,273
https://github.com/hustliubo/Tomoko-Android/blob/master/common/src/main/java/ai/bind/iot/client/common/wakeup/ControlProcessAliveChecker.java
Github Open Source
Open Source
Apache-2.0
2,019
Tomoko-Android
hustliubo
Java
Code
196
587
/* * Copyright (c) 2018 CELLA * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wr...
49,790
https://github.com/cesarverlini/Magve/blob/master/application/controllers/sistema/Servicios.php
Github Open Source
Open Source
MIT
2,019
Magve
cesarverlini
PHP
Code
285
1,215
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Servicios extends CI_Controller { public function __construct(){ parent::__construct(); //$this->load->model('Servicios_model'); } public function index(){ $data['title'] = "Servicios"; $this->load...
49,520
https://github.com/RyanBacka/VFW1501/blob/master/Backa_Ryan_Project2/build/iphone/build/Backa_Ryan_Project2.build/Debug-iphonesimulator/Backa_Ryan_Project2-universal.build/Objects-normal/i386/TiButtonUtil.d
Github Open Source
Open Source
Apache-2.0
2,015
VFW1501
RyanBacka
Makefile
Code
11
203
dependencies: \ /Users/ryankbacka/Desktop/VFW1501/Backa_Ryan_Project2/build/iphone/Classes/TiButtonUtil.m \ /Users/ryankbacka/Desktop/VFW1501/Backa_Ryan_Project2/build/iphone/Classes/TiButtonUtil.h \ /Users/ryankbacka/Desktop/VFW1501/Backa_Ryan_Project2/build/iphone/Classes/TiBase.h \ /Users/ryankbacka/Desktop/...
44,635
https://github.com/8VAid8/FastReport/blob/master/Demos/Reports/Gauge.frx
Github Open Source
Open Source
MIT
2,022
FastReport
8VAid8
Visual Basic
Code
352
1,910
<?xml version="1.0" encoding="utf-8"?> <Report ScriptLanguage="CSharp" TextQuality="Regular" ReportInfo.Description="This report demonstrates the Gauge object features." ReportInfo.Created="01/17/2008 03:05:57" ReportInfo.Modified="09/11/2017 14:57:22" ReportInfo.CreatorVersion="1.0.0.0"> <ScriptText> using System; ...
39,940