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/seacoastboy/imageserver/blob/master/cache/cache.go
Github Open Source
Open Source
MIT
2,014
imageserver
seacoastboy
Go
Code
60
128
package cache import ( "github.com/pierrre/imageserver" ) // Cache represents an Image cache // // The Get() method must return a CacheMissError if it is a cache related problem. // // The "parameters" argument can be used for custom behavior (no-cache, expiration, ...) type Cache interface { Get(key string, parame...
30,957
https://github.com/LayeRoyal/LayeRoyal-Symfony_AD1_PISD2/blob/master/public/js/homeScript.js
Github Open Source
Open Source
MIT
null
LayeRoyal-Symfony_AD1_PISD2
LayeRoyal
JavaScript
Code
15
119
loading('listEtudiant'); loading('enrEtudiant'); loading('enrChambre'); loading('listChambre'); function loading(lien) { $(document).ready(function(){ $("#"+lien).click(function(){ $("#html").load("localhost/G2_POO_AD1_PISD2/user/"+lien); $("li").removeClass("active") $(...
53,446
https://github.com/palash24/algorithms/blob/master/leetcode/algorithms/spiral-matrix/Makefile
Github Open Source
Open Source
MIT
2,021
algorithms
palash24
Makefile
Code
37
113
LIBS := ../libs JAVA := java JAVAC := javac JAVACFLAGS := -Xlint:all default: clean build run build: make -C $(LIBS) mv $(LIBS)/*.class . $(JAVAC) $(JAVACFLAGS) *.java clean: make -C $(LIBS) clean $(RM) *.class run: $(JAVA) -ea Solution
35,632
https://github.com/pct-tr22/vsoext/blob/master/lib/index.js
Github Open Source
Open Source
Apache-2.0
2,016
vsoext
pct-tr22
JavaScript
Code
224
678
var debug = require('./debug') var git = require('git-controller'); var exec = require('child_process').execSync; var theRepo = git('.'); var PullRequest = require('./pullRequest.js'); var RepoHelper = require( './repohelper.js'); var tl = require('vsts-task-lib/task'); /** * https://github.com/Microsoft/vst...
18,079
https://github.com/robinfhu/ng-json-explorer/blob/master/src/test.coffee
Github Open Source
Open Source
BSD-3-Clause
2,015
ng-json-explorer
robinfhu
CoffeeScript
Code
715
2,797
describe 'JSON Explorer Tests', -> describe 'module', -> it 'should exist', -> angular.module('nv.ui.jsonexplorer').should.have.property 'controller' describe 'directive', -> beforeEach -> angular.mock.module 'nv.ui.jsonexplorer' create = (data)-> elem = render 'json-explorer', {data}, {'json-data':'...
31,288
https://github.com/quoctrung163/saasgear/blob/master/app/src/queries/teams/inviteMember.js
Github Open Source
Open Source
MIT
2,022
saasgear
quoctrung163
JavaScript
Code
26
78
import { gql } from 'graphql.macro'; export default gql` mutation InviteMember($email: String!, $alias: String!){ inviteMember(email: $email, alias: $alias){ userName userId email isOwner status } } `
14,811
https://github.com/JamesAdey/zompy/blob/master/level_test.py
Github Open Source
Open Source
MIT
2,019
zompy
JamesAdey
Python
Code
85
372
from player import * from zombie_spawner import * from example_item import * from zombie_gridwalker import * # this is not a class currently, but a suite of helper methods import mapgenerator def create_level (gameEngine, gameGlobals): # create a zombie spawner zs = ZombieSpawner(x=100,y=100) gameEngine....
11,780
https://github.com/hassanAwanAlvi/COVID-19inventoryFrontENd/blob/master/src/store/modules/mainapp/mutations.ts
Github Open Source
Open Source
MIT
null
COVID-19inventoryFrontENd
hassanAwanAlvi
TypeScript
Code
48
122
const mainMutations = { changeUser (state : any, user : any) { state.login_user = user }, nullUserObj (state : any, user : any) { state.login_user = { _id: '', name: '', email: '', membership_active: false, membership_type: '', email_verified: true, __v: 4 } ...
21,804
https://github.com/loiola0/next-level-week-1/blob/master/web/src/services/api.ts
Github Open Source
Open Source
MIT
2,022
next-level-week-1
loiola0
TypeScript
Code
23
58
import axios from 'axios'; //axios: Cliente HTTP usado para enviar requisições à API; const api = axios.create({ baseURL: 'http://localhost:3333' }); export default api;
28,961
https://github.com/ecomfe/schema-in-js/blob/master/src/types/boolean.js
Github Open Source
Open Source
MIT
2,019
schema-in-js
ecomfe
JavaScript
Code
52
114
/** * schema in js * * @file boolean schema class. * @author hiby(yanghuabei@outlook.com) */ import {Schema} from './schema'; /** * boolean schema class. * * @class Bool * @extends Schema */ export class Bool extends Schema { /** * type * * @override */ get type() { retu...
22,356
https://github.com/KnightAndroid/wanandroidByKotlin/blob/master/library_widget/src/main/java/com/knight/kotlin/library_widget/CountNumberView.kt
Github Open Source
Open Source
Apache-2.0
2,021
wanandroidByKotlin
KnightAndroid
Kotlin
Code
155
595
package com.knight.kotlin.library_widget import android.animation.ObjectAnimator import android.content.Context import android.text.TextUtils import android.util.AttributeSet import android.view.animation.AccelerateDecelerateInterpolator import androidx.appcompat.widget.AppCompatTextView /** * Author:Knight * Time:...
33,915
https://github.com/triniti/cms-js/blob/master/src/plugins/sys/components/redirect-picker-field/index.jsx
Github Open Source
Open Source
Apache-2.0
2,021
cms-js
triniti
null
Spoken
86
304
import { FormGroup, Label } from '@triniti/admin-ui-plugin/components'; import NodePickerField from '@triniti/cms/plugins/ncr/components/node-picker-field'; import PropTypes from 'prop-types'; import React from 'react'; import RedirectId from '@triniti/schemas/triniti/sys/RedirectId'; import constants from './constants...
14,086
https://github.com/YANG-DB/sql-open-distro/blob/master/src/test/java/com/amazon/opendistroforelasticsearch/sql/sql/legacy/MultiQueryIT.java
Github Open Source
Open Source
Apache-2.0
2,021
sql-open-distro
YANG-DB
Java
Code
1,046
3,603
/* * Copyright 2020 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://www.apache.org/licenses/LICENSE-2.0...
36,596
https://github.com/wouterboomsma/quickstep/blob/master/src/dofControllers/StdDoFController.cpp
Github Open Source
Open Source
MIT
2,019
quickstep
wouterboomsma
C++
Code
215
994
/* * StdDoFController.cpp * * Created on: Dec 11, 2014 * Author: rfonseca */ #include <quickstep/dofControllers/StdDoFController.h> #include <sstream> using namespace std; namespace quickstep{ StdDoFController::StdDoFController(){} StdDoFController::StdDoFController(KinematicForest &kf, vector< string...
44,734
https://github.com/stevenwaterman/CryptoHero/blob/master/client/src/modules/components/instruments/SetPricesAction.ts
Github Open Source
Open Source
MIT
null
CryptoHero
stevenwaterman
TypeScript
Code
53
140
import Instrument from "../../../models/Instrument"; import {State} from "../../RootStore"; import Big from "big.js"; export const SetPricesType: string = "SET_PRICES"; export default interface SetPricesAction { type: typeof SetPricesType payload: { prices: Map<Instrument, Big> } } export functio...
10,342
https://github.com/genemerewether/fprime/blob/master/ROS/Gen/geometry_msgs/Types/mod.mk
Github Open Source
Open Source
Apache-2.0
2,022
fprime
genemerewether
Makefile
Code
60
332
SRC = \ AccelSerializableAi.xml \ AccelStampedSerializableAi.xml \ AccelWithCovarianceSerializableAi.xml \ AccelWithCovarianceStampedSerializableAi.xml \ InertiaSerializableAi.xml \ InertiaStampedSerializableAi.xml \ Point32SerializableAi.xml \ PointSerializableAi.xml \ PointStampedSerializableAi.xml \ PolygonSerializa...
36,946
https://github.com/schultyy/Niman/blob/master/lib/niman/vagrant/provisioner.rb
Github Open Source
Open Source
MIT
2,015
Niman
schultyy
Ruby
Code
44
185
require "vagrant/util/retryable" require 'niman/vagrant/shell' module VagrantPlugins class Provisioner < Vagrant.plugin("2", :provisioner) include Vagrant::Util::Retryable def configure(root_config) end def provision require 'niman' @machine.communicate.tap do |comm| vagrant_shel...
41,703
https://github.com/joanbatiste/frontend-clinica-dental/blob/master/src/components/Footer/Footer.jsx
Github Open Source
Open Source
MIT
2,021
frontend-clinica-dental
joanbatiste
JavaScript
Code
114
557
import React from 'react'; import "./Footer.css"; import logoFacebook from "../../img/facebook.png"; import logoTwitter from "../../img/twitter.png"; import logoInstagram from "../../img/instagram.png"; import logoUbicacion from "../../img/ubicacion.png"; import telefono from "../../img/telefono.png"; import arroba fro...
14,436
https://github.com/limitzero/MonacoServiceBus/blob/master/src/Monaco/Testing/IMockServiceBus.cs
Github Open Source
Open Source
Apache-2.0
2,017
MonacoServiceBus
limitzero
C#
Code
30
106
using System.Collections.Generic; namespace Monaco.Testing { public interface IMockServiceBus : IServiceBus { List<MessageStore> Messages { get; set; } void AssertThatMessageWasPublished(IMessage message); void AssertThatMessageWasSent(IMessage message); void AssertThatMessageWasRepliedTo(IMessage message);...
54,381
https://github.com/RISBIC/DataBroker/blob/master/metadata-rdf/src/test/java/com/arjuna/databroker/tests/metadata/rdf/NavigationToMetadataTest.java
Github Open Source
Open Source
Apache-2.0
2,016
DataBroker
RISBIC
Java
Code
204
755
/* * Copyright (c) 2013-2015, Arjuna Technologies Limited, Newcastle-upon-Tyne, England. All rights reserved. */ package com.arjuna.databroker.tests.metadata.rdf; import java.util.HashMap; import java.util.LinkedList; import java.util.List; import java.util.Map; import org.junit.BeforeClass; import org.junit.Test; ...
36,554
https://github.com/asm89/Rx.PHP/blob/master/test/Rx/Functional/Operator/DistinctUntilChangedTest.php
Github Open Source
Open Source
MIT
2,021
Rx.PHP
asm89
PHP
Code
624
3,034
<?php namespace Rx\Functional\Operator; use Rx\Functional\FunctionalTestCase; use Rx\Notification\OnCompletedNotification; use Rx\Notification\OnNextNotification; use Rx\Observable; use Rx\Observable\EmptyObservable; use Rx\Testing\Recorded; class DistinctUntilChangedTest extends FunctionalTestCase { /** * ...
20,413
https://github.com/Winstonpemberton/MVC-Rails-Project/blob/master/app/models/enemy.rb
Github Open Source
Open Source
MIT
null
MVC-Rails-Project
Winstonpemberton
Ruby
Code
13
41
class Enemy < ApplicationRecord belongs_to :game def which_enemy? self.class.name == "Enemy" end end
21,598
https://github.com/Dongshanxu/OnlinePK/blob/master/OnlinePK-Android/app/src/main/java/com/netease/yunxin/nertc/demo/user/AppAboutActivity.kt
Github Open Source
Open Source
MIT
2,021
OnlinePK
Dongshanxu
Kotlin
Code
167
725
/* * Copyright (c) 2021 NetEase, Inc. All rights reserved. * Use of this source code is governed by a MIT license that can be found in the LICENSE file */ package com.netease.yunxin.nertc.demo.user import android.os.Bundle import android.view.View import android.widget.TextView import com.netease.yunxin.nertc.d...
47,059
https://github.com/jinger26/px4-gazebo-headless/blob/master/entrypoint.sh
Github Open Source
Open Source
Apache-2.0
null
px4-gazebo-headless
jinger26
Shell
Code
13
54
#!/bin/bash source ${WORKSPACE_DIR}/edit_rcS.bash $1 $2 && cd ${FIRMWARE_DIR} && HEADLESS=1 make px4_sitl gazebo
44,605
https://github.com/havealex/touchpad-handwriting/blob/master/TouchPadHandwriting/FormSetKey.cs
Github Open Source
Open Source
BSD-2-Clause
2,020
touchpad-handwriting
havealex
C#
Code
139
486
using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace TouchPadHandwriting { internal partial class FormSetKey : Form { public FormSetKey() { InitializeComponent(...
22,049
https://github.com/Swampy821/PocketPenguin/blob/master/src/src/components/Parties/Party.js
Github Open Source
Open Source
MIT
2,017
PocketPenguin
Swampy821
JavaScript
Code
195
834
import React, {Component} from "react"; import MuiThemeProvider from "material-ui/styles/MuiThemeProvider"; import muiTheme from "./../../styles/style"; import RaisedButton from "material-ui/RaisedButton"; import FloatingActionButton from 'material-ui/FloatingActionButton'; import {white, indigo500} from 'material-ui/...
37,367
https://github.com/TheHoodieGuy02/blender-invasion/blob/master/usedtools/VRM_IMPORTER/importer/model_build.py
Github Open Source
Open Source
Naumen, Condor-1.1, MS-PL
null
blender-invasion
TheHoodieGuy02
Python
Code
2,500
15,277
""" Copyright (c) 2018 iCyP Released under the MIT license https://opensource.org/licenses/mit-license.php """ import bpy, bmesh from mathutils import Vector,Matrix from .. import V_Types as VRM_Types from ..misc import VRM_HELPER from ..V_Types import nested_json_value_getter as json_get from ..gl_const import GL_C...
33,014
https://github.com/arunkumarbhattar/llvm/blob/master/test/Transforms/LoopIdiom/bcmp-basic.ll
Github Open Source
Open Source
Apache-2.0
2,022
llvm
arunkumarbhattar
LLVM
Code
10,789
41,946
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py ; RUN: opt -loop-idiom -verify -verify-each -verify-dom-info -verify-loop-info < %s -S | FileCheck %s target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:1...
36,353
https://github.com/SeokminHong/edge-yacht/blob/master/packages/www/gatsby-config.js
Github Open Source
Open Source
MIT
2,021
edge-yacht
SeokminHong
JavaScript
Code
49
251
module.exports = { siteMetadata: { siteUrl: 'https://www.yourdomain.tld', title: 'edge-yahtzee', }, plugins: [ 'gatsby-plugin-image', 'gatsby-plugin-sharp', 'gatsby-plugin-react-helmet', 'gatsby-transformer-sharp', { resolve: 'gatsby-source-filesystem', options: { n...
1,652
https://github.com/zh1an/vcpkg/blob/master/ports/chipmunk/portfile.cmake
Github Open Source
Open Source
MIT, BSL-1.0
2,022
vcpkg
zh1an
CMake
Code
65
549
vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO slembcke/Chipmunk2D REF 87340c216bf97554dc552371bbdecf283f7c540e SHA512 9094017755e9c140aa5bf8a1b5502077ae4fb2b0a3e12f1114e86d8591a6188f89822ecc578a2b5e95f61c555018f1b3273fe50e833fe2daf30e94b180a3d07c HEAD_REF master ) string(COMPARE EQUAL "${VCPK...
6,136
https://github.com/kwf37/hdl-playground/blob/master/lib/systemc-2.3.3/objdir/docs/tlm/doxygen/html/a02454.dot
Github Open Source
Open Source
Apache-2.0
2,019
hdl-playground
kwf37
Graphviz (DOT)
Code
59
614
digraph "tlm::tlm_bw_transport_if&lt; TYPES &gt;" { edge [fontname="FreeSans",fontsize="10",labelfontname="FreeSans",labelfontsize="10"]; node [fontname="FreeSans",fontsize="10",shape=record]; rankdir="LR"; Node0 [label="tlm::tlm_bw_transport\l_if\< TYPES \>",height=0.2,width=0.4,color="black", fillcolor="grey7...
16,705
https://github.com/wx930910/commons-jcs/blob/master/commons-jcs-core/src/test/java/org/apache/commons/jcs3/auxiliary/lateral/socket/tcp/LateralTCPDiscoveryListenerUnitTest.java
Github Open Source
Open Source
Apache-2.0
null
commons-jcs
wx930910
Java
Code
1,092
3,191
package org.apache.commons.jcs3.auxiliary.lateral.socket.tcp; /* * 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...
11,127
https://github.com/wisnhusurya/api0/blob/master/lib/cryptography/src/utils/big_int.dart
Github Open Source
Open Source
MIT
null
api0
wisnhusurya
Dart
Code
205
411
// Copyright 2019-2020 Gohilla Ltd. // // 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 i...
27,374
https://github.com/wbraithwaite-nvidia/Experimental_TangoUpsample/blob/master/jni/Android.mk
Github Open Source
Open Source
MIT
2,015
Experimental_TangoUpsample
wbraithwaite-nvidia
Makefile
Code
83
534
LOCAL_PATH := $(call my-dir)/.. include $(CLEAR_VARS) LOCAL_MODULE := libtango-prebuilt LOCAL_SRC_FILES := third/lib/libtango_client_api.so LOCAL_EXPORT_C_INCLUDES := third/inc include $(PREBUILT_SHARED_LIBRARY) include $(CLEAR_VARS) LOCAL_MODULE := libOddTangoUpsample LOCAL_SHARED_LIBRARIES := libtango-prebuilt ...
45,847
https://github.com/DataDog/dd-sdk-android/blob/master/sample/kotlin/src/main/kotlin/com/datadog/android/sample/traces/TracesFragment.kt
Github Open Source
Open Source
EPL-2.0, MIT, BSD-3-Clause, LGPL-2.1-only, EPL-1.0, Apache-2.0, BSD-2-Clause
2,023
dd-sdk-android
DataDog
Kotlin
Code
314
1,342
/* * Unless explicitly stated otherwise all files in this repository are licensed under the Apache License Version 2.0. * This product includes software developed at Datadog (https://www.datadoghq.com/). * Copyright 2016-Present Datadog, Inc. */ package com.datadog.android.sample.traces import android.os.Bundle i...
47,367
https://github.com/paulbehofsics/qute/blob/master/src/decision_heuristic_VMTF_deplearn.hh
Github Open Source
Open Source
MIT
null
qute
paulbehofsics
C++
Code
296
1,101
#ifndef decision_heuristic_VMTF_deplearn_hh #define decision_heuristic_VMTF_deplearn_hh #include <vector> #include <queue> #include <random> #include "decision_heuristic.hh" using std::vector; using std::priority_queue; using std::random_device; using std::bernoulli_distribution; namespace Qute { class DecisionHeur...
28,510
https://github.com/Richard-Sharp/JavaScript/blob/master/Lesson 2/js/script.js
Github Open Source
Open Source
MIT
2,018
JavaScript
Richard-Sharp
JavaScript
Code
151
406
let money = +prompt('Ваш бюджет на месяц?'); let shopName = prompt('Название вашего магазина?'); let mainList = { money, shopName, shopGoods: [], employers: {}, Open: true } for (let i = 0; i < 3; i++) { let a = prompt('Что будем продавать?'); if ((typeof(a)) === 'string' && (typeof(a)) != null && a != ...
42,903
https://github.com/tianyaxwq/chongqin/blob/master/src/components/yf-dropdowntree/index.js
Github Open Source
Open Source
Apache-2.0
null
chongqin
tianyaxwq
JavaScript
Code
19
67
import yfDropdowntree from './main'; /* istanbul ignore next */ yfDropdowntree.install = function(Vue) { Vue.component(yfDropdowntree.name, yfDropdowntree); }; export default yfDropdowntree;
20,872
https://github.com/zyj1022/vite-react-antd/blob/master/src/main.tsx
Github Open Source
Open Source
MIT
null
vite-react-antd
zyj1022
TypeScript
Code
48
146
import { ConfigProvider } from 'antd' import zhCN from 'antd/es/locale/zh_CN' import React, { FC } from 'react' import ReactDOM from 'react-dom' import 'virtual:windi.css' import App from './App' const Root: FC = () => { return ( <React.StrictMode> <ConfigProvider locale={zhCN}> <App /> </Co...
52,241
https://github.com/hcdisat/week_three/blob/master/app/src/main/java/com/hcdisat/week_three/adapters/MusicTracksAdapter.kt
Github Open Source
Open Source
MIT
null
week_three
hcdisat
Kotlin
Code
195
724
package com.hcdisat.week_three.adapters import android.annotation.SuppressLint import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.ImageView import android.widget.TextView import androidx.recyclerview.widget.RecyclerView import com.hcdisat.week_three.R import...
28,385
https://github.com/YePpHa/maia-yt/blob/master/src/app/libs/events/Event.ts
Github Open Source
Open Source
MIT
2,020
maia-yt
YePpHa
TypeScript
Code
151
357
export class Event { public currentTarget: Object|undefined; public defaultPrevented: boolean = false; private _propagationStopped: boolean = false; private _returnValue: boolean = true; /** * A base class for event objects, so that they can support preventDefault and * stopPropagation. * @param typ...
34,142
https://github.com/ThomasGorke/StorageSolutions/blob/master/core/src/main/kotlin/com/thomasgorke/storagesolution/core/local/room/RoomAppDatabase.kt
Github Open Source
Open Source
Apache-2.0
null
StorageSolutions
ThomasGorke
Kotlin
Code
32
140
package com.thomasgorke.storagesolution.core.local.room import androidx.room.Database import androidx.room.RoomDatabase import com.thomasgorke.storagesolution.core.model.room.RoomAuthorEntity import com.thomasgorke.storagesolution.core.model.room.RoomNewsEntity @Database( entities = [RoomAuthorEntity::class, Room...
27,848
https://github.com/jamesyli/repose-6.2.2.0/blob/master/repose-aggregator/core/core-lib/src/main/java/org/openrepose/filters/translation/httpx/processor/json/JsonxStreamProcessor.java
Github Open Source
Open Source
Apache-2.0
null
repose-6.2.2.0
jamesyli
Java
Code
429
1,538
package org.openrepose.filters.translation.httpx.processor.json; import org.openrepose.commons.utils.Destroyable; import org.openrepose.commons.utils.thread.DestroyableThreadWrapper; import org.openrepose.filters.translation.httpx.processor.common.Element; import org.openrepose.filters.translation.httpx.processor.comm...
362
https://github.com/elvisaronsp/CollegeFbsRankings/blob/master/CalculateRankings/Summary.cs
Github Open Source
Open Source
MIT
2,016
CollegeFbsRankings
elvisaronsp
C#
Code
449
1,663
using System; using System.Collections.Generic; using System.IO; using System.Linq; using CollegeFbsRankings.Domain.Games; using CollegeFbsRankings.Domain.Rankings; using CollegeFbsRankings.Domain.Teams; using CollegeFbsRankings.Domain.Validations; namespace CollegeFbsRankings.Application.CalculateRankings { pub...
45,212
https://github.com/ishaanshah/AmongUs/blob/master/src/game_object.cpp
Github Open Source
Open Source
MIT
null
AmongUs
ishaanshah
C++
Code
355
1,354
#include <glm/glm.hpp> #include "game_object.hpp" #include "utils/resource_manager.hpp" GameObject::GameObject(glm::vec2 Position, glm::vec2 Direction, std::vector<float> Vertices, bool IsSolid, bool IsVisible) : Position(Position), Direction(Direct...
15,269
https://github.com/LineageOS/android_system_core/blob/master/libmemunreachable/ProcessMappings.h
Github Open Source
Open Source
LicenseRef-scancode-unicode, Apache-2.0
2,020
android_system_core
LineageOS
C
Code
150
314
/* * Copyright (C) 2016 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
41,411
https://github.com/beumsk/rb/blob/master/pages/projects/[slug].js
Github Open Source
Open Source
MIT
null
rb
beumsk
JavaScript
Code
385
1,422
import Link from 'next/link'; import PropTypes from 'prop-types'; import { projects } from '@data/projects'; import Layout from '@components/layout'; import Tech from '@components/tech'; import Codepen from 'components/codepen'; import Codesandbox from 'components/codesandbox'; Tech.propTypes = { name: PropTypes.str...
29,281
https://github.com/fnogatz/cli-cal/blob/master/bin/cli-cal
Github Open Source
Open Source
MIT
2,018
cli-cal
fnogatz
JavaScript
Code
162
515
#!/usr/bin/env node var fs = require('fs') var program = require('commander') var concat = require('concat-stream') var GitStatsColors = require('git-stats-colors') var graph = require('../index') program .usage('[options] [data]') .version(require('../package.json').version) .option('-p, --no-ansi', 'Do not us...
9,211
https://github.com/the-mac/data-store-ios/blob/master/Example/Pods/Target Support Files/Pods-DataStore_Example/Pods-DataStore_Example-umbrella.h
Github Open Source
Open Source
MIT
2,018
data-store-ios
the-mac
C
Code
10
55
#import <UIKit/UIKit.h> FOUNDATION_EXPORT double Pods_DataStore_ExampleVersionNumber; FOUNDATION_EXPORT const unsigned char Pods_DataStore_ExampleVersionString[];
3,849
https://github.com/emintatli/Eticaret-Sitesi-NextJS-MongoDB/blob/master/components/ProfilBar.js
Github Open Source
Open Source
MIT
null
Eticaret-Sitesi-NextJS-MongoDB
emintatli
JavaScript
Code
105
534
import Link from 'next/link' import { useState,useEffect } from 'react'; const ProfilBar=()=>{ const [userDeatils,setUserDetails]=useState({ ad_soyad:"", adres:"", email:"", istek_listesi:{}, password:"", siparisler: {}, tc:"", telefon:"", toke...
43,200
https://github.com/jnikles1/inspec-azure/blob/master/test/integration/verify/controls/azurerm_mariadb_server.rb
Github Open Source
Open Source
Apache-2.0
null
inspec-azure
jnikles1
Ruby
Code
79
278
resource_group = input('resource_group', value: nil) mariadb_server_name = input('mariadb_server_name', value: nil) control 'azurerm_mariadb_server' do impact 1.0 title 'Testing the singular resource of azurerm_mariadb_server.' desc 'Testing the singular resource of azurerm_mariadb_server.' only_if { !mariad...
19,486
https://github.com/chaoyuewuxian/KLineChartDemo/blob/master/KLineChartDemo/Demos/Custom/StyleSetting/SeriesParam.swift
Github Open Source
Open Source
MIT
2,019
KLineChartDemo
chaoyuewuxian
Swift
Code
939
3,476
import UIKit //import CHKLineChartKit class SeriesParamControl: NSObject, Codable { var value: Double = 0 var note: String = "" var min: Double = 0 var max: Double = 0 var step: Double = 0 convenience init(value: Double, note: String, min: Double, max: Double, step: Double) { ...
31,826
https://github.com/and-dmitry/demolighting/blob/master/lights/admin.py
Github Open Source
Open Source
MIT
null
demolighting
and-dmitry
Python
Code
31
122
from django.contrib import admin from . import models @admin.register(models.Lamp) class LampAdmin(admin.ModelAdmin): list_display = ('name', 'is_on', 'brightness') ordering = ('name',) @admin.register(models.WorkingPeriod) class WorkingPeriodAdmin(admin.ModelAdmin): list_display = ('lamp', 'brightne...
32,380
https://github.com/ulnic/weatherSensor/blob/master/weatherSensor.py
Github Open Source
Open Source
MIT
2,017
weatherSensor
ulnic
Python
Code
196
579
#!/usr/bin/python """ Entry point into the weather sensor """ import logging.config import sys import threading import time from data.SensorHandler import SensorHandler import data.SingletonExecution from data.wifiChecker.WifiMon import WifiMon as WifiMon from data.Constants import Constant # Define the Error Log Det...
43,371
https://github.com/LondonWesley/rocket-builder-ai/blob/master/Rocket Builder AI/Assets/RocketBlock.cs
Github Open Source
Open Source
MIT
null
rocket-builder-ai
LondonWesley
C#
Code
129
428
using System.Collections; using System.Collections.Generic; using UnityEngine; public class RocketBlock : BasicBlock { // Start is called before the first frame update public float nozzleDiameter = 1f; public float fuelConsumeRate = 0.1f; public List<FuelBlock> fuelSources; public GameObject flame...
288
https://github.com/lumilio/laravel-comics/blob/master/resources/views/partials/footer.blade.php
Github Open Source
Open Source
MIT
2,021
laravel-comics
lumilio
PHP
Code
142
827
<footer id='app_footer'> <div class="layout-box"> <div class="centered-box"> <div class="mini-list"> <div> <h3>DC COMICS</h3> <ul> <li><a href="#">Characters</a></li> <li><a href="#">Comics</a...
40,853
https://github.com/thestrawberryqueen/python/blob/master/games/chapter5/practice/sound_tanks.py
Github Open Source
Open Source
MIT
2,021
python
thestrawberryqueen
Python
Code
1,608
4,370
# Edit the code from the tank game so that it will: # play an explosion sound when a target is hit or run over # play a gunshot sound when a bullet is "fired" (created) # play background music during the whole game. # you can either use the provided .wav files or find # your own (responsibly, of course). # Note: # be...
9,717
https://github.com/juanmacaaz/LogicSimulator/blob/master/diagram/gcable.h
Github Open Source
Open Source
MIT
2,020
LogicSimulator
juanmacaaz
C++
Code
63
222
#ifndef LINE_H #define LINE_H #include <QGraphicsLineItem> #include <QPen> #include <QDynamicPropertyChangeEvent> #include "diagram/gvertex.h" class GCable : public QObject, public QGraphicsLineItem { Q_OBJECT public: GCable(GVertex* a, GVertex* b); bool isEqual(GCable* cable); GVertex* getVertexA() c...
34,547
https://github.com/kris7t/ReSharperContractExtensions/blob/master/ReSharper.ContractExtensions.Tests/test/data/Intentions/ContextActions/ComboRequiresForMethod/ExecutionForInterface.cs
Github Open Source
Open Source
MIT
2,016
ReSharperContractExtensions
kris7t
C#
Code
13
32
interface IA { void EnabledOnAbstractMethod{caret}(string s, int? n, string s2 = null); }
10,717
https://github.com/sripkunda/accent/blob/master/scripts/publish.sh
Github Open Source
Open Source
MIT
2,021
accent
sripkunda
Shell
Code
52
99
# Publish Accent.js packages # Navigate cd src cd core # Renderer cd renderer npm version patch npm publish cd .. # Router cd router npm version patch npm publish cd .. # Components cd components npm version patch npm publish cd .. # Animations cd animate npm version patch npm publish
31,510
https://github.com/nerdyator/graphene-django-cookbook/blob/master/env/Lib/site-packages/graphene/relay/connection.py
Github Open Source
Open Source
MIT
null
graphene-django-cookbook
nerdyator
Python
Code
431
1,397
import re from collections import Iterable, OrderedDict from functools import partial import six from graphql_relay import connection_from_list from promise import Promise, is_thenable from ..types import (AbstractType, Boolean, Enum, Int, Interface, List, NonNull, Scalar, String, Union) from .....
2,677
https://github.com/tomislijepcevic/openstack-allinone-salt/blob/master/formulas/nova-formula/nova/instance.sls
Github Open Source
Open Source
ISC
2,015
openstack-allinone-salt
tomislijepcevic
null
Spoken
79
217
{% from "glance/vars.sls" import cirros_image %} {% from "keystone/vars.sls" import os_env_adminrc %} {% from 'common/macros.sls' import env %} include: - common - keystone - glance - neutron - cinder - horizon demo_instance: cmd.run: - name: > nova boot --flavor 1 --image {{...
45,677
https://github.com/ChinKX/MaterialDesignInXamlToolkit/blob/master/.sonarqube/out/ucfg_cs/ucfg_2_583.pb
Github Open Source
Open Source
MIT
null
MaterialDesignInXamlToolkit
ChinKX
null
Spoken
18
175
EMaterialDesignThemes.Wpf.Plane3D.MeasureOverride(System.Windows.Size)X ND:\GitHub_Proj\MaterialDesignInXamlToolkit\MaterialDesignThemes.Wpf\Plane3D.csm |( availableSize"0* 0* 1 2* 1* 3* 2* 3*g 3"b X ND:\GitHub_Proj\MaterialDesignInXamlToolkit\MaterialDesignThemes.Wpf\Plane3D.cs{ {( ""* ...
47,354
https://github.com/githork/Datafus/blob/master/data/DofusInvoker/scripts/com/ankamagames/dofus/network/messages/game/idol/IdolFightPreparationUpdateMessage.as
Github Open Source
Open Source
MIT
2,021
Datafus
githork
null
Spoken
334
1,450
package com.ankamagames.dofus.network.messages.game.idol { import com.ankamagames.dofus.network.ProtocolTypeManager; import com.ankamagames.dofus.network.types.game.idol.Idol; import com.ankamagames.jerakine.network.CustomDataWrapper; import com.ankamagames.jerakine.network.ICustomDataInput; import com.a...
16,372
https://github.com/tianenchen/trojan-lite/blob/master/src/lib.rs
Github Open Source
Open Source
Apache-2.0
2,022
trojan-lite
tianenchen
Rust
Code
447
1,834
#[macro_use] extern crate log; mod forward; mod header; mod resolver; #[cfg(feature = "user-management")] mod usermg; use std::{ collections::HashMap, fs::File, io::{self, BufReader}, net::{Ipv6Addr, SocketAddr, SocketAddrV6}, path::{Path, PathBuf}, sync::Arc, }; use sha2::Digest; use thiserr...
23,088
https://github.com/Seahotel/Sea/blob/master/app/Providers/MailServiceProvider.php
Github Open Source
Open Source
Apache-2.0
null
Sea
Seahotel
PHP
Code
42
118
<?php namespace App\Providers; use App\Helpers\Mail; use Illuminate\Support\ServiceProvider; /** * Class MailServiceProvider. */ class MailServiceProvider extends ServiceProvider { /** * Register the Session Service Provider. * * @return void */ public function register() { ...
14,036
https://github.com/bi7jta/bi7jta.github.io/blob/master/images/.gitignore
Github Open Source
Open Source
MIT
2,022
bi7jta.github.io
bi7jta
Ignore List
Code
3
11
/linux /mysql /python
11,948
https://github.com/ircluzar/BizhawkLegacy-Vanguard/blob/master/BizHawk.Common/IMonitor.cs
Github Open Source
Open Source
MIT
null
BizhawkLegacy-Vanguard
ircluzar
C#
Code
13
40
namespace BizHawk.Common { public interface IMonitor { void Enter(); void Exit(); } }
12,792
https://github.com/sunchaser-lilu/sunchaser-hikari/blob/master/java-ee/netty/src/main/java/com/sunchaser/sparrow/javaee/netty/pipeline/TestPipeline.java
Github Open Source
Open Source
MIT
null
sunchaser-hikari
sunchaser-lilu
Java
Code
236
1,050
package com.sunchaser.sparrow.javaee.netty.pipeline; import io.netty.bootstrap.ServerBootstrap; import io.netty.buffer.ByteBuf; import io.netty.channel.*; import io.netty.channel.nio.NioEventLoopGroup; import io.netty.channel.socket.nio.NioServerSocketChannel; import io.netty.channel.socket.nio.NioSocketChannel; impor...
1,091
https://github.com/GESoftware-CF/uaa/blob/master/server/src/main/java/org/cloudfoundry/identity/uaa/impl/config/YamlPropertiesFactoryBean.java
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, Apache-2.0, ISC, GPL-2.0-only, Ruby, LicenseRef-scancode-public-domain, BSD-2-Clause, LGPL-2.0-or-later, LicenseRef-scancode-unicode-mappings, GPL-2.0-or-later, LGPL-3.0-only, Artistic-1.0, JSON, Apache-1.1, LicenseRef-scancode-warranty-disclaimer, LGPL-2.1-only, CDDL-1.0,...
2,022
uaa
GESoftware-CF
Java
Code
337
735
/******************************************************************************* * Cloud Foundry * Copyright (c) [2009-2016] Pivotal Software, Inc. All Rights Reserved. * * This product is licensed to you under the Apache License, Version 2.0 (the "License"). * You may not use this product except ...
31,323
https://github.com/FRidh/Sea/blob/master/Sea/model/system/__init__.py
Github Open Source
Open Source
BSD-3-Clause
2,015
Sea
FRidh
Python
Code
8
12
from System import System from Frequency import Frequency
17,930
https://github.com/hwbeeson/wepppy/blob/master/wepppy/wepp/soils/soilsdb/data/Database/ut/AYOUB(CB-L).sol
Github Open Source
Open Source
BSD-3-Clause
null
wepppy
hwbeeson
Solidity
Code
70
219
95.1 # This WEPP soil input file was made using USDA-SCS Soil-5 (1992) data # base. Assumptions: soil albedo=0.23, initial sat.=0.75. If you have # any question, please contact Reza Savabi, Ph: (317)-494-5051 # Soil Name: AYOUB Rec. ID: UT1239 Tex.:CB-L 1 1 'AYOUB' 'C...
7,965
https://github.com/c-parsons/rules_apple/blob/master/apple/bundling/mock_support.bzl
Github Open Source
Open Source
Apache-2.0
2,018
rules_apple
c-parsons
Starlark
Code
245
464
# Copyright 2017 The Bazel Authors. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable la...
38,886
https://github.com/karlost/blizzard_api_ph/blob/master/tests/ApiTestCase.php
Github Open Source
Open Source
MIT
2,022
blizzard_api_ph
karlost
PHP
Code
50
235
<?php namespace BlizzardApi\Tests; use BlizzardApi\Cache\ICacheProvider; use BlizzardApi\Cache\RedisCache; use BlizzardApi\Configuration; use BlizzardApi\Enumerators\Region; use PHPUnit\Framework\TestCase; use Redis; class ApiTestCase extends TestCase { protected ICacheProvider $cache; protected function se...
39,732
https://github.com/Mulander-J/wiki1001/blob/master/docs/.vuepress/theme/styles/scrollBar.styl
Github Open Source
Open Source
MIT
2,023
wiki1001
Mulander-J
Stylus
Code
74
418
/*定义滚动条高宽及背景 高宽分别对应横竖滚动条的尺寸*/ ::-webkit-scrollbar { width: 8px; height: 8px; border-radius: 10px; background-color: #F1F1F1; } /*定义滚动条轨道 内阴影+圆角*/ ::-webkit-scrollbar-track { border-radius: 10px; -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3); background-color: #F5F5F5; } /*定义滑块 内阴影+圆角*/ ::-webkit-scr...
37,648
https://github.com/fluttercandies/assets_generator/blob/master/lib/src/arg/arg_parser.dart
Github Open Source
Open Source
MIT
2,022
assets_generator
fluttercandies
Dart
Code
17
55
import 'package:args/args.dart'; final ArgParser parser = ArgParser(); ArgResults? argResults; void parseArgs(List<String> args) { argResults ??= parser.parse(args); }
44,040
https://github.com/peeratham/codevis/blob/master/app/test/tree/tree_structure.js
Github Open Source
Open Source
MIT
2,014
codevis
peeratham
JavaScript
Code
491
1,428
function Tree(rootName){ var _root; var that = {}; if (arguments.length) { _root = {name: rootName, children:[]}; } that.data = function(dat){ if (!arguments.length) return _root; _root = dat; _calculatePath(_root); } that.addNode = function(nodePath){ _addNode(_root,nodePath...
27,983
https://github.com/wrk-fmd/mls-auth/blob/master/.dockerignore
Github Open Source
Open Source
MIT
2,021
mls-auth
wrk-fmd
Ignore List
Code
150
442
############################################## ### Ignore everything from .gitignore ### ### This is .gitignore with prefixed "**/" ### ############################################## # generic files to ignore # backup files (*~) and vim swap file (.swp), MacOS dir file (.DS_Store) **/*~ **/*.lock **/*.DS_Store **...
52,438
https://github.com/JamesClonk/iRvisualizer/blob/master/Dockerfile
Github Open Source
Open Source
Apache-2.0
2,023
iRvisualizer
JamesClonk
Dockerfile
Code
118
377
FROM ubuntu:22.04 LABEL maintainer="JamesClonk <jamesclonk@jamesclonk.ch>" ARG package_args='--allow-downgrades --allow-remove-essential --allow-change-held-packages --no-install-recommends' RUN echo "debconf debconf/frontend select noninteractive" | debconf-set-selections && \ export DEBIAN_FRONTEND=noninteractive...
4,574
https://github.com/jesseframework/j3pro/blob/master/lib/src/database/crud/backgroundjob/backgroundjob_schedule_crud.g.dart
Github Open Source
Open Source
MIT
null
j3pro
jesseframework
Dart
Code
29
90
// GENERATED CODE - DO NOT MODIFY BY HAND part of 'backgroundjob_schedule_crud.dart'; // ************************************************************************** // DaoGenerator // ************************************************************************** mixin _$BackgroundJobScheduleDaoMixin on DatabaseAccessor<A...
9,644
https://github.com/Hlacer/remax-wechat-cloudbase/blob/master/node_modules/@remax/cli/lib/build/entries/NativeEntry.js
Github Open Source
Open Source
MIT
2,021
remax-wechat-cloudbase
Hlacer
JavaScript
Code
406
1,228
"use strict"; var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); }) : (function(o, m, k, k2) { if (k2 === undefined) k2 = k; o[k2] = m[k]; })...
38,489
https://github.com/clemos/pyextern/blob/master/out/theano/compile/Param.hx
Github Open Source
Open Source
BSD-3-Clause
2,019
pyextern
clemos
Haxe
Code
15
33
/* This file is generated, do not edit! */ package theano.compile; typedef Param = theano.compile.pfunc.Param;
49,698
https://github.com/rizerzero/schoolERP/blob/master/app/Models/Result.php
Github Open Source
Open Source
MIT
2,019
schoolERP
rizerzero
PHP
Code
26
90
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; class Result extends Model { protected $fillable = [ 'class_id', 'result' ]; public function collegeClass() { return $this->belongsTo(CollegeClass::class, 'class_id'); } }
22,454
https://github.com/vladdenisov/crove-bot/blob/master/utils/miscellaneous/youtube.js
Github Open Source
Open Source
MIT
2,022
crove-bot
vladdenisov
JavaScript
Code
37
152
const getID = url => { const regExp = /^.*((youtu.be\/)|(v\/)|(\/u\/\w\/)|(embed\/)|(watch\?))\??v?=?([^#&?]*).*/ const match = url.match(regExp) return (match && match[7].length === 11) ? match[7] : false } const getThumbnail = url => `http://i3.ytimg.com/vi/${getID(url)}/maxresdefault.jpg` module.exports = { ...
7,528
https://github.com/wanlerong/ndp-editor/blob/master/src/readonly/decorators/Tex/index.js
Github Open Source
Open Source
MIT
null
ndp-editor
wanlerong
JavaScript
Code
118
399
import React, {Component} from 'react'; import katex from 'katex'; class KatexOutput extends React.Component { constructor(props) { super(props); this.myRef = React.createRef(); } componentDidMount() { katex.render( this.props.content, this.myRef.current, {displayMode: true}, )...
1,453
https://github.com/techistoner/iJenkins/blob/master/iJenkins/FTSwitchAccountCell.h
Github Open Source
Open Source
MIT
2,017
iJenkins
techistoner
C
Code
30
88
// // FTSwitchAccountCell.h // iJenkins // // Created by Ondrej Rafaj on 31/08/2013. // Copyright (c) 2013 Fuerte Innovations. All rights reserved. // #import "FTBasicAccountCell.h" @interface FTSwitchAccountCell : FTBasicAccountCell @end
39,787
https://github.com/channotation/chap/blob/master/include/trajectory-analysis/chap_trajectory_analysis.hpp
Github Open Source
Open Source
MIT
2,022
chap
channotation
C++
Code
528
1,525
// CHAP - The Channel Annotation Package // // Copyright (c) 2016 - 2018 Gianni Klesse, Shanlin Rao, Mark S. P. Sansom, and // Stephen J. Tucker // // 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 th...
3,615
https://github.com/enoxos/r5/blob/master/src/main/java/com/conveyal/gtfs/error/RangeError.java
Github Open Source
Open Source
MIT
null
r5
enoxos
Java
Code
91
229
package com.conveyal.gtfs.error; import com.conveyal.gtfs.validator.model.Priority; import java.io.Serializable; /** Indicates that a number is out of the acceptable range. */ public class RangeError extends GTFSError implements Serializable { public static final long serialVersionUID = 1L; final double min...
2,779
https://github.com/juhosa/git-history-browser/blob/master/app/components/Commit.tsx
Github Open Source
Open Source
MIT
null
git-history-browser
juhosa
TypeScript
Code
95
264
import React from 'react'; import simpleGit from 'simple-git'; const styles = { div: { border: '2px solid #eee', borderRadius: '5px', marginBottom: '1em', padding: '0.5em', }, }; const Commit = ({ data, repo }: { data: { hash: string }; repo: string }) => { const handleClick = () => { const ...
38,901
https://github.com/teamrudra/teamrudra.github.io/blob/master/node_modules/react-icons/lib/md/beach-access.js
Github Open Source
Open Source
OFL-1.1, CC-BY-SA-3.0, CC-BY-4.0, MIT
2,022
teamrudra.github.io
teamrudra
JavaScript
Code
139
516
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } }...
22,469
https://github.com/sahwar/svgtypes/blob/master/src/color/parser.rs
Github Open Source
Open Source
Apache-2.0, MIT
2,019
svgtypes
sahwar
Rust
Code
791
2,663
// Copyright 2018 Evgeniy Reizner // // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your // option. This file may not be copied, modified, or distributed // except according...
11,008
https://github.com/callstack/benz-ql/blob/master/src/typeDefs/index.js
Github Open Source
Open Source
MIT
2,022
benz-ql
callstack
JavaScript
Code
19
44
import vehicleSchema from './vehicle.js'; const linkSchema = ` type Query { _: Boolean } `; export default [linkSchema, vehicleSchema];
8,695
https://github.com/rllynguh/MMDC-CBULMS/blob/master/resources/views/utilities/index.blade.php
Github Open Source
Open Source
MIT
null
MMDC-CBULMS
rllynguh
PHP
Code
215
1,198
@extends('layouts.mylayout') @section('title') Bank @endsection @section('content') <meta name="_token" content="{!! csrf_token() !!}" /> <div class="container-fluid"> <div class="body"> <div class="block-header"> <h2 class="align-center">UTILITIES</h2> </div> </div> <div class="row clearfix"> <...
39,300
https://github.com/Santa0727/api-intimidades/blob/master/app/Http/Controllers/MyDareController.php
Github Open Source
Open Source
MIT
null
api-intimidades
Santa0727
PHP
Code
99
436
<?php namespace App\Http\Controllers; use App\Models\MyDare; use Illuminate\Http\Request; class MyDareController extends Controller { public function __construct() { $this->middleware(['api', 'jwt']); } public function index(Request $request) { $this->validate($request, ['lang' => 'required|in:ENG,RUS,SPA'...
19,749
https://github.com/hanzopgp/CalcANTLR/blob/master/Project/src/scripts/build_all_and_test.sh
Github Open Source
Open Source
MIT
null
CalcANTLR
hanzopgp
Shell
Code
10
65
export CLASSPATH=".:/usr/local/lib/antlr-4.9-complete.jar:$CLASSPATH" bash reset.sh bash build_grammar.sh bash build_util.sh bash test_grammar.sh
6,526
https://github.com/apple987/mvc-action/blob/master/src/main/java/com/rainsoft/core/shiro/redis/RedisSessionDAO.java
Github Open Source
Open Source
Apache-2.0
2,018
mvc-action
apple987
Java
Code
382
1,863
package com.rainsoft.core.shiro.redis; import java.io.Serializable; import java.util.Collection; import java.util.HashSet; import java.util.Set; import javax.servlet.http.HttpServletRequest; import org.apache.shiro.session.Session; import org.apache.shiro.session.UnknownSessionException; import org.apache.shiro.sess...
36,067
https://github.com/emksaz/choicefrom/blob/master/development/ws-app/style/common.less
Github Open Source
Open Source
Apache-2.0
null
choicefrom
emksaz
Less
Code
386
1,418
.navbar { position: relative; z-index: 999; width: 100%; padding: 32px 0; background-color: transparent; @media (max-width: 991px) { padding: 24px 0; } } .navbar-scroll { position: fixed; z-index: 999; display: none; top: 0; width: 100%; padding: 18px 0 14px 0; background-color: black; ...
32,382
https://github.com/amit-suyal/Online-Examination-System/blob/master/admin-panel/updatesubject.php
Github Open Source
Open Source
MIT
2,019
Online-Examination-System
amit-suyal
PHP
Code
106
511
<?php include('../db_config/connection.php'); include('header.php'); include('adminnav.php'); $subjectid=$_GET['subjectid']; ?> <div class="container text-center"> <h1 class="p-5 bg-info mt-5">UPDATE SUBJECT</h1> <form method="post" action="" enctype="" > <?php $query="select * from subject_name where id='$subjec...
53,863
https://github.com/piggy1024/first/blob/master/src/views/saas/huinongSubsidy/subsidyPublicPic.vue
Github Open Source
Open Source
MIT
null
first
piggy1024
Vue
Code
322
1,873
<template> <!-- 补贴公示照片 --> <div class="app-container"> <div class="filter-container cus-bg-fa"> <p class="filter-title">查询条件</p> <div class="filter-box cus-d-fl cus-jc-end"> <el-form :inline="true" class="demo-form-inline"> <el-form-item label="公示类型"> <el-select v-model...
53,376
https://github.com/Missingpyxel/FishermansDelight/blob/master/src/main/java/missingpixel/fishermansdelight/common/world/item/food/FishermansDelightNoriItem.java
Github Open Source
Open Source
MIT
null
FishermansDelight
Missingpyxel
Java
Code
45
228
package missingpixel.fishermansdelight.common.world.item.food; import missingpixel.fishermansdelight.common.registry.ItemRegistry; import missingpixel.fishermansdelight.common.world.item.tag.FishermansDelightTags; import missingpixel.fishermansdelight.common.world.item.IAutomatedItem; import net.minecraft.tags.Tag; im...
26,434