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/xulei8/notepad2/blob/master/src/Styles.c
Github Open Source
Open Source
MIT
2,015
notepad2
xulei8
C
Code
20,000
74,154
/****************************************************************************** * * * Notepad2 * * Styles.c * Scintilla Style Management * * See Readme.txt for more information about this source code. * Please send me your comments to this work. * * See License.txt for details about distribution and modification. * * (...
33,018
https://github.com/bdsumon4u/DURANTA/blob/master/database/factories/ProductFactory.php
Github Open Source
Open Source
MIT
null
DURANTA
bdsumon4u
PHP
Code
102
350
<?php namespace Database\Factories; use App\Models\Product; use Illuminate\Database\Eloquent\Factories\Factory; use Illuminate\Support\Str; class ProductFactory extends Factory { /** * The name of the factory's corresponding model. * * @var string */ protected $model = Product::class; ...
51,492
https://github.com/VigneshAjay98/boat/blob/master/resources/front/front_assets/@lottiefiles/lottie-player/dist/lottie-player.d.ts
Github Open Source
Open Source
MIT
null
boat
VigneshAjay98
TypeScript
Code
562
1,321
import { LitElement, TemplateResult } from "lit-element"; export declare enum PlayerState { Destroyed = "destroyed", Error = "error", Frozen = "frozen", Loading = "loading", Paused = "paused", Playing = "playing", Stopped = "stopped" } export declare enum PlayMode { Bounce = "bounce", ...
41,187
https://github.com/Hasan-Jawaheri/quic-tor/blob/master/src/simple-quic/lib/libquic/manage.py
Github Open Source
Open Source
MIT
null
quic-tor
Hasan-Jawaheri
Python
Code
287
1,057
#!/usr/bin/env python from __future__ import print_function import os import sys import json from getdep import DependencyTree SRCROOT = "src" def open_deps(filepath="DEPS"): with open(filepath, "r") as f: s = f.read() if "# START #" not in s: print("Cannot parse DEPS") ...
5,047
https://github.com/unshorn-forks/STAC/blob/master/Engagement_Challenges/Engagement_4/info_trader/source/InfoTrader/src/infotrader/parser/validate/NoteValidator.java
Github Open Source
Open Source
Apache-2.0
2,018
STAC
unshorn-forks
Java
Code
505
1,091
/* * Copyright (c) 2009-2016 Matthew R. Harrah * * MIT License * * 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,...
15,752
https://github.com/sanjosh/KUPEKS/blob/master/src/ke_std.c
Github Open Source
Open Source
MIT, LicenseRef-scancode-unknown-license-reference
2,019
KUPEKS
sanjosh
C
Code
695
3,385
#include <stdlib.h> #include <stdio.h> #include <string.h> #include <tepla/ec.h> void ke_std_setup(const EC_PAIRING p, EC_POINT P, EC_POINT ek1, mpz_t dk1, mpz_t x_1, mpz_t y_1, mpz_t x0_1, mpz_t y0_1, mpz_t x1_1, mpz_t y1_1, mpz_t x2_1, mpz_t y2_1, EC_POINT G1_1, EC_POINT G2_1, EC_POINT G1alpha_1, Element z_1, EC_PO...
44,715
https://github.com/jan-lenart/spring-shop/blob/master/src/main/java/com/janlenart/springshop/api/dto/OrderInfoDTO.java
Github Open Source
Open Source
MIT
2,018
spring-shop
jan-lenart
Java
Code
59
241
package com.janlenart.springshop.api.dto; import com.fasterxml.jackson.annotation.JsonFormat; import com.janlenart.springshop.bo.domain.OrderStatus; import lombok.*; import java.time.LocalDateTime; import java.util.Set; @Getter @NoArgsConstructor(access = AccessLevel.PACKAGE) @AllArgsConstructor(access = AccessLevel...
46,080
https://github.com/kiegroup/droolsjbpm-contributed-experiments/blob/master/machinelearning/5.0.x/drools-eclipse/org.drools.eclipse/src/main/java/org/drools/eclipse/WorkItemDefinitions.java
Github Open Source
Open Source
Apache-2.0
2,020
droolsjbpm-contributed-experiments
kiegroup
Java
Code
133
537
package org.drools.eclipse; import java.util.HashMap; import java.util.Map; import org.drools.RuleBaseConfiguration; import org.drools.eclipse.util.ProjectClassLoader; import org.drools.process.core.WorkDefinition; import org.eclipse.core.resources.IProject; import org.eclipse.core.resources.IResource; import org.ecl...
20,083
https://github.com/gabolucuy/Payroll-Project/blob/master/src/main/java/payrollcasestudy/boundaries/MemoryDB.java
Github Open Source
Open Source
CC-BY-3.0
null
Payroll-Project
gabolucuy
Java
Code
239
991
package payrollcasestudy.boundaries; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Set; import payrollcasestudy.entities.Employee; import payrollcasestudy.entities.PayCheck; import payrollcasestudy.entities.paymentclassifications.CommissionedPaymen...
15,767
https://github.com/JintaiYang/songs_recommendation/blob/master/song_recommendation/src/main/java/nanali/recommendation/util/ConstantUtil.java
Github Open Source
Open Source
BSD-2-Clause
2,019
songs_recommendation
JintaiYang
Java
Code
32
74
package nanali.recommendation.util; /** * 常量类 * @author lina * @date 2019-04-13 16:44 */ public class ConstantUtil { public static final int REC_NUMBER = 18; public static final int DIM = 250; }
47,270
https://github.com/nusuke/component-library/blob/master/src/components/atoms/SkeletonBox/SkeletonBox.tsx
Github Open Source
Open Source
MIT
null
component-library
nusuke
TypeScript
Code
46
128
import * as React from "react" import classnames from "classnames" import "./SkeletonBox.scss" interface P { // height: number; // width: number; } const SkeletonBox: React.FC<P> = props => { const classNames = classnames("SkeletonBox", { }) return ( <div className={classNames}> {props.chil...
39,479
https://github.com/mustafatamer/AcadLib/blob/master/AcadLib/Model/UI/Ribbon/Data/RibbonGroupData.cs
Github Open Source
Open Source
MIT
2,022
AcadLib
mustafatamer
C#
Code
298
1,116
namespace AcadLib.UI.Ribbon.Data { using System; using System.Collections.Generic; using System.Drawing; using System.Drawing.Imaging; using System.IO; using System.Windows.Media; using System.Windows.Media.Imaging; using AutoCAD_PIK_Manager.Settings; using Elements; using JetBra...
43,196
https://github.com/tecumsehmaverick/sym-extensions/blob/master/extensions/mass-upload-utility/extension.driver.php
Github Open Source
Open Source
MIT
2,009
sym-extensions
tecumsehmaverick
PHP
Code
198
789
<?php class Extension_MassUploadUtility extends Extension { /*------------------------------------------------------------------------- Definition: -------------------------------------------------------------------------*/ protected $upload = '/uploads/mui'; protected $supported_types = array('upload'); ...
39,284
https://github.com/EminentMass/Crossroads/blob/master/src/main/java/com/Da_Technomancer/crossroads/EventHandlerClient.java
Github Open Source
Open Source
MIT
2,021
Crossroads
EminentMass
Java
Code
965
4,597
package com.Da_Technomancer.crossroads; import com.Da_Technomancer.crossroads.API.alchemy.ReagentManager; import com.Da_Technomancer.crossroads.API.beams.BeamUnit; import com.Da_Technomancer.crossroads.API.packets.*; import com.Da_Technomancer.crossroads.API.technomancy.EnumGoggleLenses; import com.Da_Technomancer.cro...
37,837
https://github.com/arsysop/sito/blob/master/buildSrc/src/main/groovy/ru/arsysop/site/plugin/content/Site.groovy
Github Open Source
Open Source
Apache-2.0
null
sito
arsysop
Groovy
Code
354
939
/******************************************************************************* * Copyright (c) 2020 ArSysOp * * 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....
418
https://github.com/remore/gemstat/blob/master/lib/gemstat/cache/gemfiles/e/evernote:1.2.1/Gemfile
Github Open Source
Open Source
MIT
2,015
gemstat
remore
Ruby
Code
6
20
gem 'thrift_client' gem 'rspec' gem 'yard'
12,931
https://github.com/HealMeGitproject/HealMeProject/blob/master/lib/screen/Peopole.dart
Github Open Source
Open Source
MIT
null
HealMeProject
HealMeGitproject
Dart
Code
53
176
import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; class People extends StatefulWidget { @override _PeopleState createState() => _PeopleState(); } class _PeopleState extends State<People> { @override Widget build(BuildContext context) { return LayoutBuilder( builder: (B...
22,107
https://github.com/openquantumhardware/qick/blob/master/firmware/ip/axis_buffer_ddr_v1/src/tb/tb_axi_mst.sv
Github Open Source
Open Source
MIT
2,023
qick
openquantumhardware
null
Spoken
795
4,056
import axi_vip_pkg::*; import axi_slv_0_pkg::*; module tb(); // DUT generics. parameter TARGET_SLAVE_BASE_ADDR = 32'h40000000; parameter ID_WIDTH = 1; parameter DATA_WIDTH = 256; // Reset and Clock. reg m_axi_aclk ; reg m_axi_aresetn ; // Write Address Channel. wire [ID_WIDTH-1:0] m_axi_awid...
8,937
https://github.com/jeperez/socialcrawl/blob/master/socialcrawl/networks/views.py
Github Open Source
Open Source
MIT
2,013
socialcrawl
jeperez
Python
Code
96
325
from socialcrawl.networks.tasks import fetch from socialcrawl.networks.models import Profile from socialcrawl.networks.api import APIResponse SUPPORTED_NETWORKS = [n[1].lower() for n in Profile.SOCIAL_NETWORKS] def notfound(request): """JSONified 404""" return APIResponse({'error': 'Not Found'}, status=404) ...
51,622
https://github.com/keawade/fluffy-barnacle/blob/master/app.js
Github Open Source
Open Source
MIT
null
fluffy-barnacle
keawade
JavaScript
Code
207
598
// Bring in external packages var express = require('express'); var hbs = require('hbs'); var bodyParser = require('body-parser'); var Converter = require('csvtojson').Converter; var google = require('googleapis'); // Instantiate CSV to JSON converter var converter = new Converter({}); var app = express(); // Set up...
51,125
https://github.com/SJaffa/Q_plus/blob/master/AllStars/D1.58C1G3R79.star
Github Open Source
Open Source
MIT
2,021
Q_plus
SJaffa
Starlark
Code
258
1,447
# 85 # -0.14883 0.58625 -0.58092 -0.88502 0.35982 -0.09175 -0.28423 0.07076 -0.12673 0.68137 0.09370 -0.69342 0.58193 -0.25754 -0.17847 -0.17627 -0.07422 -0.77527 0.28466 -0.18623 -0.77610 -0.18558 -0.58037 -0.19856 -0.27623 0.18458 0.07810 -0.07910 0.06371 -0.43163 0.61029 -0.41893 -0.38201 -0.01944 -0.271...
5,806
https://github.com/ML-KULeuven/problog/blob/master/test/findall_duplicates.pl
Github Open Source
Open Source
LicenseRef-scancode-warranty-disclaimer, Apache-2.0
2,023
problog
ML-KULeuven
Prolog
Code
73
286
%Expected outcome:% % q([]) 0.336 % q([a, a]) 0.096 % q([a, b, a]) 0.024 % q([a, b]) 0.036 % q([a]) 0.368 % q([b, a]) 0.056 % q([b]) 0.084 % s([a, b, a]) 1 % s2([a, b]) 1 % s3(X2) 0 0.3::p(a). 0.2::p(b). 0.4::p(a). q(L) :- findall(X, p(X), L). query(q(L)). r(...
4,367
https://github.com/jandrop/halo-android/blob/master/sdk-libs/halo-translations/src/main/java/com/mobgen/halo/android/translations/repository/Cursor2MapTranslationConverter.java
Github Open Source
Open Source
Apache-2.0
2,020
halo-android
jandrop
Java
Code
142
476
package com.mobgen.halo.android.translations.repository; import android.database.Cursor; import android.support.annotation.NonNull; import com.mobgen.halo.android.framework.toolbox.data.HaloResultV2; import com.mobgen.halo.android.sdk.core.selectors.ISelectorConverter; import com.mobgen.halo.android.translations.spec...
18,581
https://github.com/yujunting/UECS/blob/master/src/core/SingletonLocator.cpp
Github Open Source
Open Source
MIT
null
UECS
yujunting
C++
Code
42
145
#include <UECS/SingletonLocator.h> using namespace Ubpa::UECS; using namespace std; SingletonLocator::SingletonLocator(std::span<const AccessTypeID> types) { for (const auto& type : types) singletonTypes.insert(type); } bool SingletonLocator::HasWriteSingletonType() const noexcept { for (const auto& type : singl...
45,068
https://github.com/kk-stars/KK-BLOG/blob/master/application/index/controller/About.php
Github Open Source
Open Source
Apache-2.0
2,018
KK-BLOG
kk-stars
PHP
Code
16
42
<?php namespace app\index\controller; use think\Controller; class About extends Comm{ public function about(){ return view(); } }
3,711
https://github.com/tmfo/PrtgAPI/blob/master/PrtgAPI.Tests.UnitTests/ObjectTests/PowerShell/Clone-Object.Tests.ps1
Github Open Source
Open Source
MIT
2,017
PrtgAPI
tmfo
PowerShell
Code
215
567
. $PSScriptRoot\Support\Standalone.ps1 function SetCloneResponse { $client = [PrtgAPI.Tests.UnitTests.ObjectTests.BaseTest]::Initialize_Client((New-Object PrtgAPI.Tests.UnitTests.ObjectTests.TestResponses.CloneResponse)) SetPrtgClient $client } Describe "Clone-Sensor" -Tag @("PowerShell", "UnitTest") { ...
27,825
https://github.com/juliomarcelopicardo/Wolfy2D/blob/master/external/jmp/include/token.h
Github Open Source
Open Source
MIT
2,018
Wolfy2D
juliomarcelopicardo
C++
Code
165
454
/** Copyright Julio Marcelo Picardo 2017-18, all rights reserved. * * @project JMP_PROJECT - A Scripting Language for Game Engines. * @brief Final Project: BSc (Honours) Computer Science for Games. * @supervisor Dr. Paul Parry <p.w.parry@shu.ac.uk> * @author Julio Marcelo Picardo <juliomarcelopicardo@gmail.com> * ...
9,318
https://github.com/jsdelivrbot/dockerfiles-1/blob/master/data/d/dolpher/docker-cobbler/Dockerfile
Github Open Source
Open Source
MIT
2,018
dockerfiles-1
jsdelivrbot
Dockerfile
Code
89
376
FROM ubuntu:14.04.4 MAINTAINER dolpher.du@intel.com RUN apt-get update \ && apt-get install -y cobbler cobbler-web dnsmasq supervisor \ && apt-get clean ADD conf/supervisord.conf /etc/supervisor/conf.d/supervisord.conf ADD conf/dnsmasq.template /etc/cobbler/dnsmasq.template RUN (echo -n "cobbler:Cob...
6,597
https://github.com/ngovantuan97/webbytuan/blob/master/resources/views/admin/lienhe/contactDetail.blade.php
Github Open Source
Open Source
MIT
2,019
webbytuan
ngovantuan97
PHP
Code
128
798
<style> .userorder .col-md-4{float: left;font-weight: bold;} .xuly .col-md-4{float: left;font-weight: bold;} .chitietlienhe h1{text-align: center;margin-top: 20px;} .chitietlienhe h2{background-color: #4FAF91;padding: 5px;} </style> @extends("admin/controlpanel") @section("content") <section class="container-flui...
28,119
https://github.com/google/j2objc/blob/master/jre_emul/android/platform/libcore/luni/src/main/java/javax/xml/transform/Source.java
Github Open Source
Open Source
LicenseRef-scancode-unicode, Classpath-exception-2.0, GPL-2.0-only, Apache-2.0, SunPro, W3C, LicenseRef-scancode-generic-cla, W3C-19980720, ICU, MIT, BSD-3-Clause, LicenseRef-scancode-public-domain, BSD-2-Clause, APSL-1.0, LGPL-2.0-or-later, LicenseRef-scancode-proprietary-license, GPL-1.0-or-later, LicenseRef-scancode...
2,023
j2objc
google
Java
Code
277
438
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
43,754
https://github.com/madhavPdesai/ahir/blob/master/vhdl/ahir/operatorsV2/base/QueueBase.vhd
Github Open Source
Open Source
NCSA, LicenseRef-scancode-unknown-license-reference
2,023
ahir
madhavPdesai
VHDL
Code
940
2,461
------------------------------------------------------------------------------------------------ -- -- Copyright (C) 2010-: Madhav P. Desai -- All Rights Reserved. -- -- Permission is hereby granted, free of charge, to any person obtaining a -- copy of this software and associated documentation files (the -- "Softwar...
1,575
https://github.com/alecalve/cardano-sl/blob/master/shell.nix
Github Open Source
Open Source
MIT
2,021
cardano-sl
alecalve
null
Spoken
400
1,107
######################################################################## # shell.nix -- development environment # # This provides all system and haskell dependencies required to build # the cardano-sl haskell packages with stack and cabal. # # To get a repl for cardano-wallet with stack: # # nix-shell # stack g...
42,459
https://github.com/jpoikela/z88dk/blob/master/libsrc/_DEVELOPMENT/temp/sp1/zx/c/sdcc_iy/sp1_RemoveUpdateStruct_fastcall.asm
Github Open Source
Open Source
ClArtistic
2,022
z88dk
jpoikela
Assembly
Code
14
77
; sp1_RemoveUpdateStruct SECTION code_clib SECTION code_temp_sp1 PUBLIC _sp1_RemoveUpdateStruct_fastcall EXTERN asm_sp1_RemoveUpdateStruct defc _sp1_RemoveUpdateStruct_fastcall = asm_sp1_RemoveUpdateStruct
54,484
https://github.com/bcajes/glow/blob/master/core/src/test/scala/io/projectglow/tertiary/MomentAggStateSuite.scala
Github Open Source
Open Source
Apache-2.0
2,022
glow
bcajes
Scala
Code
274
647
/* * Copyright 2019 The Glow 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 agree...
31,767
https://github.com/robbiestells/Capstone-Project/blob/master/app/src/main/java/com/prime/perspective/commentist/CommentistWidgetProvider.java
Github Open Source
Open Source
Unlicense
2,017
Capstone-Project
robbiestells
Java
Code
245
882
package com.prime.perspective.commentist; import android.app.PendingIntent; import android.appwidget.AppWidgetManager; import android.content.ComponentName; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.widget.RemoteViews; import com.prime.perspective.commenti...
5,725
https://github.com/5l1v3r1/AutoTrading/blob/master/src/business/virtualTrading/Order.java
Github Open Source
Open Source
MIT
2,018
AutoTrading
5l1v3r1
Java
Code
252
714
package business.virtualTrading; import dataAccess.databaseManagement.entity.AssetEntity; /** * Class Name: Order * * @version 1.5 * @date June 1, 2011 * @author Xuan Ngoc */ /* * TODO : Assume that names of all symbols are unique */ public class Order { private Asset asset; private boolean orderType; ...
26,004
https://github.com/Szabek/CarRental/blob/master/app/Services/TransactionService.php
Github Open Source
Open Source
MIT
null
CarRental
Szabek
PHP
Code
7
23
<?php namespace App\Services; class TransactionService { }
41,202
https://github.com/bantalek/Algorithms_Sedgewick/blob/master/algorithms/eggDrop.js
Github Open Source
Open Source
MIT
null
Algorithms_Sedgewick
bantalek
JavaScript
Code
158
333
// Egg drop. Suppose that you have an n-story building (with floors 1 through n) and plenty of eggs. // An egg breaks if it is dropped from floor T or higher and does not break otherwise. // Your goal is to devise a strategy to determine the value of T given the // following limitations on the number of eggs and tos...
13,104
https://github.com/danwild/aurora-australis/blob/master/lib/router.js
Github Open Source
Open Source
Apache-2.0
2,021
aurora-australis
danwild
JavaScript
Code
86
316
Router.configure({ layoutTemplate: 'layout', loadingTemplate: 'loading', notFoundTemplate: 'notFound' }); Router.route("/", { name: "chartsTemplate", data: function(){ return { activeTemplate: 'charts' } } }); Router.route("/map", { name: "mapTemplate", data: function(){ return { activeTemplate:...
16,199
https://github.com/devvsda/gargantua/blob/master/src/com/devsda/gargantua/asignments/2/42.cpp
Github Open Source
Open Source
MIT
null
gargantua
devvsda
C++
Code
84
236
stack<int> s; int findCelebrity(int size { for(int i = 0; i < size; i++) { s.push(i+1); } int A = s.pop(); int B = s.pop(); while(s.size() != 1) { if( isAknowsB(A, B)) { A = s.pop(); } else B = s.pop(); } int C = s.pop(); if( isCknowsA(C, ...
20,284
https://github.com/majioa/faststring/blob/master/src/strlist.asm
Github Open Source
Open Source
MIT
2,021
faststring
majioa
Assembly
Code
849
3,184
.386 .model flat include constant.inc SetMode proc near ;in ;eax: old mode ;ecx: new value of count ;edx: text length ;out ;eax: new mode ret SetMode endp CheckBufferSize proc near ;eax: mode of text ;edx: buffer ptr ;out ;edx: new buffer ptr ret CheckBufferSize endp AnalyseText proc near ;eax: buf...
46,065
https://github.com/papajo/Dolphin/blob/master/Core/Object Arts/Dolphin/Base/Float.cls
Github Open Source
Open Source
MIT
2,016
Dolphin
papajo
null
Spoken
3,464
8,008
"Filed out from Dolphin Smalltalk 7"! Number variableByteSubclass: #Float instanceVariableNames: '' classVariableNames: 'DefaultSigFigs FMax FMin SignificantDifference' poolDictionaries: '' classInstanceVariableNames: ''! Float guid: (GUID fromString: '{87B4C65A-026E-11D3-9FD7-00A0CC3E4A32}')! Float comment: 'Floa...
52,481
https://github.com/dorellang/hunter/blob/master/src/Hunter.package/HNDirectoryDropHandlerMorph.class/instance/openProjectLocatedAt..st
Github Open Source
Open Source
MIT
2,020
hunter
dorellang
null
Spoken
28
112
events-processing openProjectLocatedAt: aDirectory self removeMorph: contentsMorph. contentsMorph := (HNOpenProjectFolder new presenterForProjectLocatedAt: aDirectory) buildWithSpec. contentsMorph color: Color transparent; hResizing: #spaceFill; vResizing: #spaceFill. self addMorph: contentsMorph fullFrame: (...
37,285
https://github.com/runeh/dragonfly-stp-1/blob/master/src/lib/test_framework.js
Github Open Source
Open Source
ECL-2.0, Apache-2.0
null
dragonfly-stp-1
runeh
JavaScript
Code
1,174
3,939
/** * (This file was autogenerated by hob) * * @fileoverview * fixme: add fileoverview */ window.cls || ( window.cls = {} ); /** * @constructor */ window.cls.TestFramework = function() { /** * class to inspect and test the scope interface * * the class expects the following markup: * ...
11,003
https://github.com/nickswalker/nickwalker.us/blob/master/_sass/research-portfolio/_calendar.scss
Github Open Source
Open Source
MIT
2,018
nickwalker.us
nickswalker
SCSS
Code
322
1,003
/*--- = Layout */ #clndr, .schedule { width: 100%; } .clndr { display: flex; flex-direction: column; } .upcoming-events { margin: 24px 0 48px 0; padding: 0 12px; } /*--- = Head */ .clndr thead { text-align: center; } .clndr thead td { padding: 5px; } .clndr .head { text-align: center; color: r...
46,103
https://github.com/ucanme/gdp/blob/master/template/util/request.go
Github Open Source
Open Source
MIT
2,022
gdp
ucanme
Go
Code
180
563
package util import ( "bytes" "errors" "fmt" "io/ioutil" "log" "net/http" "net/url" "time" ) type ContentType string const ( ContentType_JSON ContentType = "application/x-www-form-urlencoded" ContentType_XML ContentType = "application/json" ) func Get(reqUrl string, reqParams map[string]string) ([]byte, ...
15,701
https://github.com/pbudzon/dhcp-php/blob/master/src/DHCP/Options/DHCPOption1.php
Github Open Source
Open Source
MIT
2,019
dhcp-php
pbudzon
PHP
Code
71
188
<?php namespace DHCP\Options; use Psr\Log\LoggerInterface; /** * Class DHCPOption1 - Subnet Mask * * @package DHCP\Options */ class DHCPOption1 extends DHCPOption { /** * Option number = 1. */ protected static $option = 1; /** * {@inheritdoc} */ protected static $name = 'Subnet...
48,971
https://github.com/darwin12112/ludoadmin/blob/master/public/admin-assets/css/custom/js/shopcoin/shopcoin.js
Github Open Source
Open Source
MIT
null
ludoadmin
darwin12112
JavaScript
Code
228
868
//its global variable $(document).ready(function(){ "use strict"; $(".edit_buuton").each(function(){ $(this).on('click',function(){ var edit_id = $(this).attr("data-id"); //now ajax request $.ajax({ type : "GET", url: "coin/edit/" + edit_id, data: { _token: $("body").a...
615
https://github.com/manpages-zh/manpages_zh/blob/master/source/cmpp/man7/drop_database.7
Github Open Source
Open Source
CC-BY-3.0
2,021
manpages_zh
manpages-zh
null
Spoken
94
479
.\" auto-generated by docbook2man-spec $Revision: 1.1 $ .TH "DROP DATABASE" "7" "2003-11-02" "SQL - Language Statements" "SQL Commands" .SH NAME DROP DATABASE \- 删除一个数据库 .SH SYNOPSIS .sp .nf DROP DATABASE \fIname\fR .sp .fi .SH "DESCRIPTION 描述" .PP \fBDROP DATABASE\fR 删除一个现存数据库的目录入口并且删除包含数据的目录。 只有数据库所有者能够执行这条命令(通常也是数据...
47,227
https://github.com/fetchai/agents-aea/blob/master/packages/fetchai/protocols/default/custom_types.py
Github Open Source
Open Source
Apache-2.0
2,023
agents-aea
fetchai
Python
Code
300
611
# -*- coding: utf-8 -*- # ------------------------------------------------------------------------------ # # Copyright 2018-2023 Fetch.AI Limited # # 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 ...
14,184
https://github.com/qwe321/Animation-Sequencer/blob/master/Scripts/Runtime/Core/Steps/PlayParticleSystemAnimationStep.cs.meta
Github Open Source
Open Source
MIT
2,021
Animation-Sequencer
qwe321
Unity3D Asset
Code
6
35
fileFormatVersion: 2 guid: 7083bbfd31744658a6900f0124a78521 timeCreated: 1614179360
50,032
https://github.com/mataide/acs-nft-viewer/blob/master/lib/app/home/settings/card_with_children.dart
Github Open Source
Open Source
Apache-2.0
2,022
acs-nft-viewer
mataide
Dart
Code
84
338
import 'package:flutter/material.dart'; import 'package:flutter_riverpod/flutter_riverpod.dart'; // Providers import 'package:faktura_nft_viewer/core/providers/providers.dart'; class CardWithChildren extends ConsumerWidget { final List<Widget>? children; final String title; CardWithChildren({Key? key, this.chil...
43,565
https://github.com/meetpatel0963/orchestrator-service/blob/master/cmd/proto/orchestratorService_grpc.pb.go
Github Open Source
Open Source
Apache-2.0
2,022
orchestrator-service
meetpatel0963
Go
Code
813
2,675
// Code generated by protoc-gen-go-grpc. DO NOT EDIT. package orchestratorserviceproto import ( context "context" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" ) // This is a compile-time assertion to ensure that this generated file // is compatible wit...
34,438
https://github.com/castrovilli/Jump-Puke/blob/master/JumpNPuke/JNPIntroBaseLayer.mm
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, MIT
2,012
Jump-Puke
castrovilli
Objective-C++
Code
268
746
// // JNPGameLayer.m // plop // // Created by Alain Vagner on 04/01/12. // Copyright __MyCompanyName__ 2012. All rights reserved. // // Import the interfaces #import "JNPIntroBaseLayer.h" // IntroBaseLayer implementation @implementation JNPIntroBaseLayer +(CCScene *) scene { // 'scene' is an autorelease obje...
1,998
https://github.com/awagen/kolibri/blob/master/kolibri-base/src/main/scala/de/awagen/kolibri/base/io/json/SupplierJsonProtocol.scala
Github Open Source
Open Source
Apache-2.0
2,022
kolibri
awagen
Scala
Code
219
597
/** * Copyright 2021 Andreas Wagenmann * * 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 o...
25,692
https://github.com/akrahdan/codetube/blob/master/node_modules/@pluralsight/ps-design-system-theme/dist/esm/vars/index.d.ts
Github Open Source
Open Source
Apache-2.0
2,021
codetube
akrahdan
TypeScript
Code
11
58
export declare const names: Readonly<import("@pluralsight/ps-design-system-util/dist/esm/key-mirror").KeyMirror<["dark", "light"]>>; export declare const defaultName: "dark";
46,507
https://github.com/spring-projects/spring-data-examples/blob/master/jpa/deferred/src/main/java/example/service/Customer1477Service.java
Github Open Source
Open Source
Apache-2.0
2,023
spring-data-examples
spring-projects
Java
Code
16
61
package example.service; import example.repo.Customer1477Repository; import org.springframework.stereotype.Service; @Service public class Customer1477Service { public Customer1477Service(Customer1477Repository repo) {} }
18,155
https://github.com/gr2m/fixtures/blob/master/lib/remove-credentials.js
Github Open Source
Open Source
MIT
2,021
fixtures
gr2m
JavaScript
Code
47
188
export default removeCredentials; import env from "./env.js"; const tokenToFixture = { [env.FIXTURES_USER_A_TOKEN_FULL_ACCESS]: "0000000000000000000000000000000000000001", [env.FIXTURES_USER_B_TOKEN_FULL_ACCESS]: "0000000000000000000000000000000000000002", }; function removeCredentials(fixture) { // ze...
30,191
https://github.com/AsdMonio/rr-external_skia/blob/master/tests/ErrorTest.cpp
Github Open Source
Open Source
Apache-2.0
2,022
rr-external_skia
AsdMonio
C++
Code
166
550
/* * Copyright 2013 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "SkError.h" #include "SkPath.h" #include "SkRect.h" #include "Test.h" typedef struct { skiatest::Reporter *fReporter; unsigned int *fIntPointer; } ErrorConte...
2,255
https://github.com/immertreu/prontotype/blob/master/app/bootstrap.php
Github Open Source
Open Source
BSD-3-Clause
2,013
prontotype
immertreu
PHP
Code
672
2,500
<?php define('DS', '/'); define('VERSION', '2.0'); /* Define globally available application paths */ define('DOC_ROOT', realpath(__DIR__ . '/..')); define('APP_PATH', DOC_ROOT . '/app'); define('VENDOR_PATH', APP_PATH . '/vendor'); define('APP_TEMPLATES_PATH', APP_PATH . '/views'); if ( ! file_exists(APP_PATH . '/v...
7,549
https://github.com/nidzam96/nleave-windows/blob/master/resources/views/admin/settings.blade.php
Github Open Source
Open Source
MIT
2,017
nleave-windows
nidzam96
Blade
Code
951
4,492
@extends('admin.layout') @section('pagetitle','Setting') @section('section') <div class="section-2"> <div class="tabs" role="tabpanel"> <ul class="nav-tabs" role="tablist"> <li class="active" role="presentation"> <a href="#leave" role="tab" data-toggle="tab"...
46,090
https://github.com/onmyway133/Runtime-Headers/blob/master/iOS/10.0.2/Frameworks/Intents.framework/_INPBIntentResponse.h
Github Open Source
Open Source
MIT
2,021
Runtime-Headers
onmyway133
Objective-C
Code
113
440
/* Generated by RuntimeBrowser Image: /System/Library/Frameworks/Intents.framework/Intents */ @interface _INPBIntentResponse : PBCodable <NSCopying> { _INPBIntentResponsePayloadFailure * _PayloadFailure; _INPBIntentResponsePayloadSuccess * _PayloadSuccess; struct { unsigned int type : 1; ...
40,936
https://github.com/andrewrusselrenner/bs4-jaemalblogclean/blob/master/vendor/scss/_bukutamu2.scss
Github Open Source
Open Source
MIT
null
bs4-jaemalblogclean
andrewrusselrenner
SCSS
Code
310
1,130
@import url('https://fonts.googleapis.com/css?family=Muli|Ovo'); .bukutamu { .container { width: 60%; margin: 3% auto 10rem auto; overflow: hidden; } p { line-height: 150%; } a { text-decoration: none; color: #CDDBE2; background: #A51C3C; ...
40,725
https://github.com/mkienenb/sdk-java/blob/master/src/main/java/net/authorize/api/contract/v1/TransactionResponse.java
Github Open Source
Open Source
Apache-2.0
2,016
sdk-java
mkienenb
Java
Code
4,237
13,238
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2015.05.26 at 11:27...
24,730
https://github.com/trungfinity/visc/blob/master/src/main/scala/visc/correction/rule/RuleValidator.scala
Github Open Source
Open Source
MIT
2,016
visc
trungfinity
Scala
Code
32
118
package visc.correction.rule import visc.util.SyllableUtils object RuleValidator { def validate(rule: CorrectionRule): Boolean = { rule match { case rule: CorrectionRule.Word => SyllableUtils.validate(rule.correction) case rule: CorrectionRule.SyllablePart => SyllableUtils.validate...
20,826
https://github.com/zimoo354/rdui/blob/master/src/components/SelectField/SelectField.stories.tsx
Github Open Source
Open Source
MIT
null
rdui
zimoo354
TypeScript
Code
68
203
import { Meta, Story } from '@storybook/react'; import { SelectFieldProps } from 'types'; import * as TemplateSelectField from './SelectField'; export default { title: 'Components/SelectField', component: TemplateSelectField.default, } as Meta; const Template: Story<SelectFieldProps> = (args: SelectFieldProps) =>...
50,930
https://github.com/saeumi/SamsungBlockchain-Hackathon/blob/master/stores/index.ts
Github Open Source
Open Source
MIT
2,020
SamsungBlockchain-Hackathon
saeumi
TypeScript
Code
40
95
import { useStaticRendering } from "mobx-react"; import { GlobalStore } from "./globalStore"; const isServer = typeof window === "undefined"; useStaticRendering(isServer); export class Store { globalStore: GlobalStore; constructor() { this.globalStore = new GlobalStore(); } } export const rootStore = new ...
32,894
https://github.com/elizabethnesguerra2021/dont-kill-my-app/blob/master/killers/nokia/com.evenwell.powersaving.g3/sources/com/evenwell/powersaving/g3/retrofit/CheckCpPost.java
Github Open Source
Open Source
CC-BY-4.0
2,020
dont-kill-my-app
elizabethnesguerra2021
Java
Code
90
244
package com.evenwell.powersaving.g3.retrofit; import android.content.Context; public class CheckCpPost extends DevicePost { public String reason; public CheckCpPost(Context context, String category, String reason) { super(context); this.category = category; this.reason = reason; }...
42,905
https://github.com/sunystop/LBDoubleTableView/blob/master/LBDoubleTableView/LBViews/LBIndexView/LBIndexView.h
Github Open Source
Open Source
MIT
2,021
LBDoubleTableView
sunystop
Objective-C
Code
103
505
// // LBIndexView.h // LBDoubleTableView // // Created by 理享学 on 2021/9/15. // #import <UIKit/UIKit.h> @class LBIndexView; // calloutViewType typedef enum { CalloutViewTypeForDefault, CalloutViewTypeForSuspen, CalloutViewTypeForCenterGrid }LBCalloutViewType; // titleViewType typedef enum { TitleV...
46,044
https://github.com/BedrockStreaming/GuzzleHttpBundle/blob/master/src/Handler/CurlMultiHandler.php
Github Open Source
Open Source
MIT
2,023
GuzzleHttpBundle
BedrockStreaming
PHP
Code
56
216
<?php namespace M6Web\Bundle\GuzzleHttpBundle\Handler; use GuzzleHttp\Handler\CurlMultiHandler as GuzzleCurlMultiHandler; use Symfony\Component\EventDispatcher\EventDispatcherInterface; /** * Extends guzzle CurlMultiHandler */ class CurlMultiHandler extends GuzzleCurlMultiHandler { use CacheTrait; /** @va...
10,845
https://github.com/cabinetoffice/gender-pay-gap/blob/master/GenderPayGap.WebUI/Cookies/SeenCookieMessage.cs
Github Open Source
Open Source
MIT
2,023
gender-pay-gap
cabinetoffice
C#
Code
16
47
namespace GenderPayGap.WebUI.Cookies { public class SeenCookieMessage { public int Version { get; set; } } }
21,102
https://github.com/prager/arrleb/blob/master/application/controllers/User.php
Github Open Source
Open Source
MIT
null
arrleb
prager
PHP
Code
203
1,100
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class User extends CI_Controller { var $msg; public function index() { $this->edit_user(); } public function edit_user() { if($this->Login_model->is_logged()['logged']) { $id = $this->Login_model->get_cur_user_...
23,038
https://github.com/rondeo/vue-ele2/blob/master/src/vuex/store.js
Github Open Source
Open Source
MIT
null
vue-ele2
rondeo
JavaScript
Code
95
269
import Vue from 'vue'; import Vuex from 'vuex'; import user from "./user.js"; Vue.use(Vuex); // 登录验证 export default new Vuex.Store({ modules: { user }, state: { // userToken: null, // userInfo: null }, mutations: { // 登录 // login(state, userInfo) { //...
4,349
https://github.com/carloscasalar/descentCampaignTrackerApp/blob/master/app/scripts/services/deslieutenant.js
Github Open Source
Open Source
MIT
2,015
descentCampaignTrackerApp
carloscasalar
JavaScript
Code
62
261
'use strict'; /** * @ngdoc service * @name descentCampaignTrackerApp.desLieutenant * @description * # desLieutenant * Lieutenant API. */ angular.module('descentCampaignTrackerApp') .factory('desLieutenant', ['desCore', function (desCore) { return { newLieutenants: newLieutenants, new...
6,530
https://github.com/Jilbaba17/car-park/blob/master/views/parking-slip/index.php
Github Open Source
Open Source
BSD-3-Clause
null
car-park
Jilbaba17
PHP
Code
67
349
<?php use yii\helpers\Html; use yii\grid\GridView; /* @var $this yii\web\View */ /* @var $dataProvider yii\data\ActiveDataProvider */ $this->title = 'Parking Slips'; $this->params['breadcrumbs'][] = $this->title; ?> <div class="parking-slip-index"> <h1><?= Html::encode($this->title) ?></h1> <p> <?=...
10,841
https://github.com/PacktPublishing/Python-Natural-Language-Processing/blob/master/Chapter05/bagofwordsdemo/BOWdemo.py
Github Open Source
Open Source
MIT
2,023
Python-Natural-Language-Processing
PacktPublishing
Python
Code
79
184
from sklearn.feature_extraction.text import CountVectorizer import numpy as np ngram_vectorizer = CountVectorizer(analyzer='char_wb', ngram_range=(2, 2), min_df=1) # List is noumber of document here there are two document and each has only one word # we are considering n_gram = 2 on chapracter unit leve counts = ngram...
21,696
https://github.com/Dohko19/laravel5-5/blob/master/app/Http/Controllers/ExcelExportData.php
Github Open Source
Open Source
MIT
2,019
laravel5-5
Dohko19
PHP
Code
62
247
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Usuario; use App\Encuesta; use App\Respuestas; use App\Resultado; use Illuminate\Support\Facades\DB; use Illuminate\Support\Collection as Collection; use Illuminate\Database\Eloquent\Model; use Illuminate\Support\Facades\Storage; use Illuminat...
42,575
https://github.com/okx-code/CivModCore/blob/master/src/main/java/vg/civcraft/mc/civmodcore/inventory/items/PotionUtils.java
Github Open Source
Open Source
BSD-3-Clause
2,021
CivModCore
okx-code
Java
Code
335
1,750
package vg.civcraft.mc.civmodcore.inventory.items; import java.util.EnumMap; import java.util.HashMap; import java.util.HashSet; import java.util.Map; import java.util.Set; import java.util.stream.Collectors; import org.apache.commons.collections4.CollectionUtils; import org.bukkit.potion.PotionEffectType; import org....
41,660
https://github.com/RaylaMedeiros/Ataux/blob/master/backend/src/list/dto/resume-list.dto.ts
Github Open Source
Open Source
MIT
2,021
Ataux
RaylaMedeiros
TypeScript
Code
39
129
import { PayloadUserDTO } from 'src/users/dto/payload-user.dto'; class UserResume { id: number; userId: number; listId: number; user: PayloadUserDTO; } export class ListResumeDTO { id: number; classId: number; title: string; expirationTime: string; createdAt: string; updatedAt:...
39,314
https://github.com/amikeliunas/buildfirst/blob/master/ch07/06_shopping-list/app/views/list.js
Github Open Source
Open Source
MIT
2,014
buildfirst
amikeliunas
JavaScript
Code
63
161
var fs = require('fs'); var base = require('./base.js'); var template = fs.readFileSync(__dirname + '/templates/list.mu', { encoding: 'utf8' }); module.exports = base.extend({ el: '.view', template: template, viewModel: { shopping_list: [ { name: 'Banana', amount: 3 }, { name: 'Strawberry', amoun...
32,497
https://github.com/eirTony/INDI1/blob/master/incoming/JViolaJones/wiki/Results.wiki
Github Open Source
Open Source
MIT
null
INDI1
eirTony
null
Spoken
36
345
#summary Results obtained on the Yale face database = Introduction = Add your content here. = Details = Faces to find : 169. ==haarcascade_frontal_default.xml== <table style="border:1px solid black;"> <tr style="text-align:center"><td>baseScale</td><td>scale_inc</td><td>increment</td><td>min_neighbors</td><td>Dete...
7,986
https://github.com/vxsd/refraction/blob/master/src/game/client/hl2/c_hl2_playerlocaldata.cpp
Github Open Source
Open Source
MIT
2,022
refraction
vxsd
C++
Code
131
663
//========= Copyright Valve Corporation, All rights reserved. ============// // // Purpose: // // $NoKeywords: $ //=============================================================================// #include "cbase.h" #include "c_hl2_playerlocaldata.h" #include "dt_recv.h" // memdbgon must be the last include file in a .c...
21,336
https://github.com/KM8S/km8/blob/master/common/src/main/scala/io/km8/common/service.scala
Github Open Source
Open Source
Apache-2.0
2,022
km8
KM8S
Scala
Code
60
222
package io.km8.common import zio.* import zio.stream.* trait TopicsService { def addTopic(request: AddTopicRequest): Task[TopicDetails] def getTopics(request: GetTopicsRequest): Task[TopicResponse] def deleteTopic(request: DeleteTopicRequest): Task[DeleteTopicResponse] } trait BrokersService { def getBrokers...
44,138
https://github.com/youtube/cobalt/blob/master/third_party/devtools/front_end/performance_monitor/PerformanceMonitor.js
Github Open Source
Open Source
BSD-3-Clause, GPL-1.0-or-later, LGPL-2.0-or-later, Apache-2.0, MIT
2,023
cobalt
youtube
JavaScript
Code
1,791
6,392
// Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. /** * @implements {SDK.SDKModelObserver} * @unrestricted */ export class PerformanceMonitorImpl extends UI.HBox { constructor() { super(true); ...
35,451
https://github.com/nattangwiwat/Mayan-EDMS-recitation/blob/master/mayan/apps/messaging/tests/literals.py
Github Open Source
Open Source
Apache-2.0
2,018
Mayan-EDMS-recitation
nattangwiwat
Python
Code
10
27
TEST_MESSAGE_BODY = 'test message body' TEST_MESSAGE_SUBJECT = 'test message subject'
27,278
https://github.com/wilsonshakespeare/next-js-template/blob/master/styles/layouts/_grid.scss
Github Open Source
Open Source
MIT
null
next-js-template
wilsonshakespeare
SCSS
Code
178
538
@mixin outer-container($local-max-width: $max-width-container) { max-width: $local-max-width; margin: { left: auto; right: auto; } } .container { @include outer-container; } .container-full { width: 100%; } .row { width: auto; position: relative; &.narrow { max-width: 992px; margin-le...
12,679
https://github.com/alexzubovsky/angular-1/blob/master/src/app/individual/transactions/components/exchange/exchangers-list/exchangers-list.component.less
Github Open Source
Open Source
BSD-2-Clause
null
angular-1
alexzubovsky
Less
Code
7
25
.exchanger:hover { color: #999999; cursor: pointer; }
2,457
https://github.com/TheOneSV/AirportSim/blob/master/AirportSim/src/com/airsim/view/AirplaneViewController.java
Github Open Source
Open Source
MIT
null
AirportSim
TheOneSV
Java
Code
67
357
package com.airsim.view; import com.airsim.model.Airplane; import javafx.fxml.FXML; import javafx.scene.control.Label; import javafx.scene.control.ProgressBar; public class AirplaneViewController { @FXML private Label speedLabel; @FXML private Label stateLabel; @FXML private Label startLabel; @FXML private...
48,223
https://github.com/Sable/mclab-parser/blob/master/src/Matlab/Utils/NodeCollection.java
Github Open Source
Open Source
BSD-3-Clause
2,021
mclab-parser
Sable
Java
Code
167
558
package Matlab.Utils; import Matlab.DotNet.*; public class NodeCollection extends Sequence<Node> implements IFreezable { // region FIELDS: private Node owner; // endregion // region PROPERTIES: // region TREE PROPERTIES: public Node GetOwner() { return this.owner; } p...
36,093
https://github.com/fnxpt/bamboohr.go/blob/master/types/time_off_test.go
Github Open Source
Open Source
MIT
2,019
bamboohr.go
fnxpt
Go
Code
67
301
package types_test import ( "testing" "gotest.tools/assert" "github.com/AkihikoITOH/bamboohr.go/types" ) var dummyTimeOffsData = []byte( `[ { "id": 111, "type": "timeOff", "employeeId": 54321, "name": "Jessy Doe", "start": "2018-02-01", "end": "2021-01-31" }, { ...
51,981
https://github.com/fschirinzi/laramote/blob/master/src/Http/Controllers/FactoryController.php
Github Open Source
Open Source
MIT
null
laramote
fschirinzi
PHP
Code
135
560
<?php namespace Fschirinzi\LaraMote\Http\Controllers; use Fschirinzi\LaraMote\Http\Requests\FactoryRequest; use Fschirinzi\LaraMote\LaraMote; use Illuminate\Database\Eloquent\Collection as EloquentCollection; class FactoryController { public function call(FactoryRequest $request) { $action = $request...
22,509
https://github.com/peolic/stash-box/blob/master/frontend/src/pages/sites/siteForm/SiteForm.tsx
Github Open Source
Open Source
MIT
null
stash-box
peolic
TypeScript
Code
387
1,369
import React from "react"; import { useHistory } from "react-router-dom"; import { useForm, Controller } from "react-hook-form"; import { yupResolver } from "@hookform/resolvers/yup"; import * as yup from "yup"; import cx from "classnames"; import { Button, Form } from "react-bootstrap"; import Select from "react-selec...
27,842
https://github.com/bijondev/facebook-photo-contest/blob/master/libs/dibi/drivers/oracle.php
Github Open Source
Open Source
Apache-2.0
null
facebook-photo-contest
bijondev
PHP
Code
1,334
3,586
<?php /** * This file is part of the "dibi" - smart database abstraction layer. * * Copyright (c) 2005 David Grudl (http://davidgrudl.com) * * For the full copyright and license information, please view * the file license.txt that was distributed with this source code. */ /** * The dibi driver for Oracle dat...
7,545
https://github.com/noidname01/UV_Robotic_Challenge-Software/blob/master/uv-robotic-web/src/index.js
Github Open Source
Open Source
MIT
2,020
UV_Robotic_Challenge-Software
noidname01
JavaScript
Code
41
130
import React from 'react'; import ReactDOM from 'react-dom'; import './index.css'; import Control from './control'; import Info from "./info" import { BrowserRouter, Switch, Route } from 'react-router-dom' ReactDOM.render( <BrowserRouter> <Switch> <Route exact path="/" component={Control}/> ...
31,253
https://github.com/wjase/cntools/blob/master/cntools/cntools-concurrency/src/main/java/com/cybernostics/lib/concurrent/ObjectFutureWrapper.java
Github Open Source
Open Source
Apache-2.0
2,012
cntools
wjase
Java
Code
143
517
package com.cybernostics.lib.concurrent; import java.util.concurrent.ExecutionException; import java.util.concurrent.Future; import java.util.concurrent.TimeUnit; import java.util.concurrent.TimeoutException; /** * @author jasonw * */ public class ObjectFutureWrapper< ResultClass > implements Future< Object > { ...
15,992
https://github.com/Rowantrek/A3-Antistasi/blob/master/A3-Antistasi/functions/EventHandler/fn_addArtilleryTrailEH.sqf
Github Open Source
Open Source
MIT
2,022
A3-Antistasi
Rowantrek
SQF
Code
99
293
/* Author: Wurzel0701 Adds the needed code to give artillery a smoke trail, so you can see where it is coming from Arguments: <OBJECT> The artillery vehicle that the smoke should be added to Return Value: <NIL> Scope: Where _artillery is local Environment: Any Public: No Dependencies: <NIL> Example:...
31,873
https://github.com/LgcyNetwork/Cosmos/blob/master/lgcy/framework/src/test/resources/soliditycode/VerifyBurnProof001.sol
Github Open Source
Open Source
MIT
2,021
Cosmos
LgcyNetwork
Solidity
Code
67
230
contract VerifyBurnProof001Test { // verifyBurnProof(bytes32[10],bytes32[2],uint64,bytes32[2],bytes32) // size = 512 // function VerifyBurnProofSize001(bytes32[10] memory output, bytes32[2] memory spendAuthoritySignature, uint64 value, bytes32[2] memory bindingSignature,bytes32 signHash) public return...
8,848
https://github.com/furti/ng-dashboard/blob/master/script/mixins/stackMixin.js
Github Open Source
Open Source
Apache-2.0
2,020
ng-dashboard
furti
JavaScript
Code
222
623
/** * Copyright 2014 Daniel Furtlehner * * 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 ...
41,674
https://github.com/Tannermanner2008/ManiacEditor-GenerationsEdition/blob/master/ManiacEditor/Methods/Entities/SplineSpawning.cs
Github Open Source
Open Source
MIT
2,022
ManiacEditor-GenerationsEdition
Tannermanner2008
C#
Code
198
1,016
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Drawing; namespace ManiacEditor.Methods.Entities { public static class SplineSpawning { private static ManiacEditor.Controls.Editor.MainEditor Instance { get; set; } ...
49,496
https://github.com/dilbrent/bazel/blob/master/tools/python/BUILD
Github Open Source
Open Source
Apache-2.0
2,018
bazel
dilbrent
Starlark
Code
59
232
package(default_visibility = ["//visibility:public"]) sh_binary( name = "2to3", srcs = ["2to3.sh"], ) filegroup( name = "srcs_and_embedded_tools", srcs = [ # Tools are build from the workspace for tests. "2to3.sh", "BUILD", ], visibility = ["//visibility:private"], ) f...
27,548