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/ThrusterIO/http/blob/master/src/Exception/RequestException.php | Github Open Source | Open Source | MIT, LicenseRef-scancode-unknown-license-reference | 2,016 | http | ThrusterIO | PHP | Code | 65 | 194 | <?php
namespace Thruster\Component\Http\Exception;
/**
* Class RequestException
*
* @package Thruster\Component\Http\Exception
* @author Aurimas Niekis <aurimas@niekis.lt>
*/
class RequestException extends \Exception
{
/**
* @var int
*/
protected $responseCode;
/**
* @param int $c... | 27,045 |
https://github.com/Sahar-1/JavaDesktop-CodeNameOneMobile/blob/master/app/Resources/views/base_professeur.html.twig | Github Open Source | Open Source | MIT, BSD-3-Clause | 2,020 | JavaDesktop-CodeNameOneMobile | Sahar-1 | Twig | Code | 545 | 2,392 | <!DOCTYPE html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>Professeur - Accueil | ED+</title>
<!-- plugins:css -->
<link rel="stylesheet" href=" {{ asset('Back_assets/a... | 12,720 |
https://github.com/bardsnight/unity-2d-online-rpg/blob/master/2D Online RPG/Assets/Renderer/SmartLighting2D/Scripts/Rendering/Light/Pass/ShadowEngine/ShadowEngine.cs | Github Open Source | Open Source | CECILL-B | 2,022 | unity-2d-online-rpg | bardsnight | C# | Code | 616 | 2,023 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using LightSettings;
namespace Rendering.Light {
public struct UVRect {
public float x0;
public float y0;
public float x1;
public float y1;
public UVRect(float x0, float y0, float x1, float y1)... | 6,782 |
https://github.com/yvanpapa/tarakihi_genome_assembly/blob/master/22_funct_annotation/2_interproscan.bash | Github Open Source | Open Source | MIT | 2,021 | tarakihi_genome_assembly | yvanpapa | Shell | Code | 88 | 467 | #!/bin/bash
#SBATCH --job-name=interproscan
#SBATCH --cpus-per-task=16
#SBATCH --mem=128G
#SBATCH --partition=bigmem
#SBATCH --time=10-00:00:00
#SBATCH -o /nfs/scratch/papayv/Tarakihi/TARdn/12_funct_annotation/interproscan/interproscan_%j.out
#SBATCH -e /nfs/scratch/papayv/Tarakihi/TARdn/12_funct_annotation/interprosca... | 30,970 |
https://github.com/vujadin/BabylonHx/blob/master/com/babylonhx/loading/ctm/CTMAttrMap.hx | Github Open Source | Open Source | Apache-2.0 | 2,022 | BabylonHx | vujadin | Haxe | Code | 38 | 127 | package com.babylonhx.loading.ctm;
import com.babylonhx.utils.typedarray.Float32Array;
/**
* ...
* @author Krtolica Vujadin
*/
class CTMAttrMap {
public var attr:Float32Array;
public var name:String = "";
public function new(attr:Float32Array, name:String = "") {
this.attr = attr;
this.name = name;
}... | 32,970 |
https://github.com/kkcookies99/UAST/blob/master/Dataset/Leetcode/train/14/150.py | Github Open Source | Open Source | MIT | null | UAST | kkcookies99 | Python | Code | 48 | 140 | class Solution(object):
def XXX(self, strs):
"""
:type strs: List[str]
:rtype: str
"""
if len(strs) == 0:
return ''
num = min([len(e) for e in strs])
dst = []
for i in range(num):
cur = [e[i] for e in strs]
if len(s... | 5,375 |
https://github.com/coloradohokie/programming-univbasics-nds-nds-to-insight-with-methods-denver-web-010620/blob/master/lib/nds_extract.rb | Github Open Source | Open Source | LicenseRef-scancode-public-domain, LicenseRef-scancode-unknown-license-reference | 2,019 | programming-univbasics-nds-nds-to-insight-with-methods-denver-web-010620 | coloradohokie | Ruby | Code | 131 | 300 | require 'directors_database'
# Write a method that, given an NDS creates a new Hash
# The return value should be like:
#
# { directorOne => allTheMoneyTheyMade, ... }
def directors_totals(nds)
result = {}
director_count = 0 #list of directors; first Array
while director_count < nds.length do
#get the name o... | 8,428 |
https://github.com/vzakharchenko/dynamic-orm/blob/master/dynamic-orm-core/src/main/java/com/github/vzakharchenko/dynamic/orm/core/SelectBuilder.java | Github Open Source | Open Source | Apache-2.0 | 2,022 | dynamic-orm | vzakharchenko | Java | Code | 672 | 1,568 | package com.github.vzakharchenko.dynamic.orm.core;
import com.github.vzakharchenko.dynamic.orm.core.dynamic.QDynamicTable;
import com.github.vzakharchenko.dynamic.orm.core.dynamic.dml.DynamicTableModel;
import com.querydsl.core.types.Expression;
import com.querydsl.sql.RelationalPath;
import com.querydsl.sql.SQLCommon... | 26,041 |
https://github.com/sapphire119/NullPro/blob/master/src/Services/UnprofessionalsApp.Mapping/Profiles/InputModels/Comments/CommentDeleteProfile.cs | Github Open Source | Open Source | MIT | null | NullPro | sapphire119 | C# | Code | 27 | 98 | using AutoMapper;
using System;
using System.Collections.Generic;
using System.Text;
using UnprofessionalsApp.Models;
namespace UnprofessionalsApp.Mapping.Profiles.InputModels.Comments
{
public class CommentDeleteProfile : Profile
{
public CommentDeleteProfile()
{
CreateMap<CommentDeleteProfile, Comment>();
... | 33,508 |
https://github.com/jeremie0/vault-elastic-plugin/blob/master/httputil/http_client_test.go | Github Open Source | Open Source | MIT | 2,020 | vault-elastic-plugin | jeremie0 | Go | Code | 166 | 754 | package httputil
import (
"bytes"
"net/http"
"testing"
"github.com/ch-robinson/vault-elastic-plugin/testdata"
"github.com/stretchr/testify/assert"
)
func initClient(resBody *string) *ClientWrapper {
mockHTTP := testdata.NewMockHTTP(resBody)
clientWrapper := New(mockHTTP)
return clientWrapper
}
func TestNewC... | 42,307 |
https://github.com/signaturefish/tendra/blob/master/tcc/src/filename.h | Github Open Source | Open Source | HPND | 2,022 | tendra | signaturefish | C | Code | 584 | 1,268 | /*
* Copyright 2002-2011, The TenDRA Project.
* Copyright 1997, United Kingdom Secretary of State for Defence.
*
* See doc/copyright/ for the full copyright terms.
*/
#ifndef FILENAME_H
#define FILENAME_H
/* TODO comment on keeping in sync with the table and vice-versa */
enum filetype {
/* TODO prefix FT_ */... | 30,338 |
https://github.com/alexander-marquardt/Deduplicate-Elasticsearch/blob/master/deduplicate-elaticsearch.py | Github Open Source | Open Source | MIT | 2,022 | Deduplicate-Elasticsearch | alexander-marquardt | Python | Code | 287 | 749 | #!/usr/local/bin/python3
# A description and analysis of this code can be found at
# https://alexmarquardt.com/2018/07/23/deduplicating-documents-in-elasticsearch/
import hashlib
from elasticsearch import Elasticsearch, helpers
ES_HOST = 'localhost:9200'
ES_USER = 'elastic'
ES_PASSWORD = 'elastic'
es = Elasticsear... | 33,022 |
https://github.com/jpizagno/nrtsearch/blob/master/src/main/java/com/yelp/nrtsearch/server/luceneserver/doc/LoadedDocValues.java | Github Open Source | Open Source | ECL-2.0, Apache-2.0 | 2,020 | nrtsearch | jpizagno | Java | Code | 1,756 | 5,428 | /*
* Copyright 2020 Yelp Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... | 38,063 |
https://github.com/Nasir-Khan-Software-Engineer/Laravel-Ecommerce/blob/master/resources/views/vendor/order/show.blade.php | Github Open Source | Open Source | MIT | 2,021 | Laravel-Ecommerce | Nasir-Khan-Software-Engineer | Blade | Code | 373 | 2,119 | @extends('customer.layouts.master')
@section('title')
<title>Order | {{$billing->name}}</title>
@endsection
@section('content')
<div class="row pb-3">
<div class="col-12 ">
<div class="text-right">
<a data-toggle="tooltip" data-placement="top" title="Back" href="{{ url()->previous() }}" class="btn bt... | 2,705 |
https://github.com/thealonekhan/WTBZ-API/blob/master/app/Http/Requests/Backend/ZumhiTour/StoreZumhiTourRequest.php | Github Open Source | Open Source | MIT | null | WTBZ-API | thealonekhan | PHP | Code | 103 | 328 | <?php
namespace App\Http\Requests\Backend\ZumhiTour;
use Illuminate\Foundation\Http\FormRequest;
class StoreZumhiTourRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return access()-... | 26,663 |
https://github.com/abyss7/capnproto/blob/master/c++/src/capnp/serialize-async-test.c++ | Github Open Source | Open Source | BSD-2-Clause | null | capnproto | abyss7 | C++ | Code | 832 | 2,497 | // Copyright (c) 2013, Kenton Varda <temporal@gmail.com>
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// 1. Redistributions of source code must retain the above copyright notice, this
//... | 22,372 |
https://github.com/ennnnny/weiphp3/blob/master/Addons/Shop/View/default/Wap/Template/tmall/info.php | Github Open Source | Open Source | Apache-2.0 | 2,018 | weiphp3 | ennnnny | PHP | Code | 15 | 76 | <?php
return array (
'title' => '仿天猫',
'author' => 'jacy',
'desc' => 'banner图片规格是640x300 分类图标是60x60或以上规格正方形白色图标'
); | 2,244 |
https://github.com/Xymist/jamie-duerden/blob/master/app/assets/js/resume.js | Github Open Source | Open Source | MIT | null | jamie-duerden | Xymist | JavaScript | Code | 118 | 269 | 'use strict';
//Would be one list. This is a workaround to a problem that no longer exists with the formatting on the CV page. TODO: Merge lists, put ng-repeat in the right places in the HTML
angular.module('jamieApp.resume', []).controller('CVCtrl', function ($scope) {
$scope.skillsList1 = [
"Interviewing ... | 49,945 |
https://github.com/mdsol/representors/blob/master/lib/representors/serialization/serializer_factory.rb | Github Open Source | Open Source | MIT | null | representors | mdsol | Ruby | Code | 26 | 137 | require 'representors/serialization/serialization_factory_base'
module Representors
class SerializerFactory < SerializationFactoryBase
def self.register_serializers(*serializers)
register_serialization_classes(*serializers)
end
def self.registered_serializers
registered_serialization_classes... | 17,923 |
https://github.com/Harshit2929/ACM_ICPC_Codebook/blob/master/ACM-ICPC-Handbook-master/code/segmenttree.cpp | Github Open Source | Open Source | MIT | 2,020 | ACM_ICPC_Codebook | Harshit2929 | C++ | Code | 262 | 601 | const int MAX = 1e5 + 5;
const int LIM = 3e5 + 5; //equals 2 * 2^ceil(log2(n))
int a[MAX];
int seg[LIM];
//Complexity: O(1)
//Stores what info. segment[i..j] should store
int combine(int &a, int &b) {
return a + b;
}
//Complexity: O(n)
void build(int t, int i, int j) {
if (i == j) {
//base case : leaf node i... | 18,591 |
https://github.com/oleg-dirtrider/GoogleTagManagerTemplates/blob/master/variables/Four Column Lookup.tpl | Github Open Source | Open Source | MIT | 2,022 | GoogleTagManagerTemplates | oleg-dirtrider | null | Spoken | 569 | 1,871 | ___INFO___
{
"displayName": "Four Column Lookup",
"description": "A Four Column Regex Table",
"securityGroups": [],
"id": "cvt_temp_public_id",
"type": "MACRO",
"version": 1,
"containerContexts": [
"WEB"
],
"brand": {}
}
___TEMPLATE_PARAMETERS___
[
{
"displayName": "Input Variable",
... | 10,976 |
https://github.com/maritojhefi/delight-nutrifood/blob/master/app/Http/Livewire/Admin/Usuarios/Personal.php | Github Open Source | Open Source | MIT | 2,021 | delight-nutrifood | maritojhefi | PHP | Code | 20 | 82 | <?php
namespace App\Http\Livewire\Admin\Usuarios;
use Livewire\Component;
class Personal extends Component
{
public function render()
{
return view('livewire.admin.usuarios.personal')
->extends('admin.master')
->section('content');
}
}
| 39,368 |
https://github.com/sky3d/resolve/blob/master/packages/adapters/eventstore-adapters/resolve-eventstore-lite/src/js/unfreeze.js | Github Open Source | Open Source | MIT | 2,020 | resolve | sky3d | JavaScript | Code | 23 | 63 | const unfreeze = async ({ database, eventsTableName, escapeId }) => {
await database.exec(
`DROP TABLE IF EXISTS ${escapeId(`${eventsTableName}-freeze`)}`
)
}
export default unfreeze
| 7,697 |
https://github.com/bensampaio/bensampaio.github.io/blob/master/tsconfig.json | Github Open Source | Open Source | MIT | 2,022 | bensampaio.github.io | bensampaio | null | Spoken | 41 | 184 | {
"compilerOptions": {
"allowJs": true,
"allowUnreachableCode": false,
"allowUnusedLabels": false,
"jsx": "react-jsx",
"lib": ["dom", "esnext"],
"module": "ES2020",
"moduleResolution": "node",
"noEmit": true,
"noFallthroughCasesInSwitch": true,... | 7,902 |
https://github.com/sarvex/harlan-lang/blob/master/harlan/middle/languages.scm | Github Open Source | Open Source | BSD-3-Clause-Open-MPI | 2,023 | harlan-lang | sarvex | Scheme | Code | 348 | 1,201 | ;; Definition of all the Nanopass Languages.
(library
(harlan middle languages)
(export M0 unparse-M0 parse-M0
M1 unparse-M1
M2 unparse-M2
M3 unparse-M3 parse-M3
M5 unparse-M5 parse-M5
M6 unparse-M6
M7 unparse-M7 parse-M7
M7.0.0 unparse-M7.0.0... | 46,604 |
https://github.com/bleenco/bproxy/blob/master/3rdparty/openssl/openssl/crypto/modes/asm/ghashp8-ppc.pl | Github Open Source | Open Source | OpenSSL, MIT | 2,018 | bproxy | bleenco | null | Spoken | 598 | 2,995 | #!/usr/bin/env perl
#
# ====================================================================
# Written by Andy Polyakov <appro@openssl.org> for the OpenSSL
# project. The module is, however, dual licensed under OpenSSL and
# CRYPTOGAMS licenses depending on where you obtain it. For further
# details see http://www.open... | 45,472 |
https://github.com/cherifGsoul/generator-canjs/blob/master/app/templates/Gruntfile.js | Github Open Source | Open Source | MIT | 2,014 | generator-canjs | cherifGsoul | JavaScript | Code | 429 | 1,475 | var esprima = require('esprima'),
fs = require('fs'),
escodegen = require('escodegen');
var getRenderer = function(ext, cwd){
return "define(function() {\n"+
" var Rndrr = {},\n"+
" buildMap = {};\n"+
" Rndrr.load = function(name, parentRequire, load, config) {\n"+
" var path = parentRequire.toU... | 10,912 |
https://github.com/RobWHickman/gettyR/blob/master/R/open_matlab_data.R | Github Open Source | Open Source | MIT | 2,020 | gettyR | RobWHickman | R | Code | 513 | 1,954 | open_mat <- function(file) {
x <- R.matlab::readMat(file)
#get trial data
data <- x$savefile
trial_data_row <- which(rownames(data) == "trial")
all_trial_data <- data[[trial_data_row]]
#hack to find out number of trials
n_trials <- length(all_trial_data) / 12
for (i in seq(n_trials)) {
single_tria... | 19,301 |
https://github.com/raphi011/sourcegraph/blob/master/internal/conf/reposource/jvm_packages.go | Github Open Source | Open Source | Apache-2.0 | null | sourcegraph | raphi011 | Go | Code | 710 | 1,843 | package reposource
import (
"fmt"
"net/url"
"sort"
"strconv"
"strings"
"unicode"
"github.com/sourcegraph/sourcegraph/internal/api"
)
type MavenModule struct {
GroupID string
ArtifactID string
}
func (m *MavenModule) IsJDK() bool {
return *m == jdkModule()
}
func (m *MavenModule) MatchesDependencyStrin... | 46,759 |
https://github.com/caseyamcl/openapi-params/blob/master/tests/Validation/AbstractValidatorRuleTest.php | Github Open Source | Open Source | MIT | 2,023 | openapi-params | caseyamcl | PHP | Code | 69 | 193 | <?php
/**
* OpenApi-Params Library
*
* @license http://opensource.org/licenses/MIT
* @link https://github.com/caseyamcl/openapi-params
*
* @author Casey McLaughlin <caseyamcl@gmail.com>
*
* For the full copyright and license information, please view the LICENSE.md
* file that was distributed with this sourc... | 5,990 |
https://github.com/tinh-tran/crm/blob/master/front_end/pages/home/management/doctors.vue | Github Open Source | Open Source | Apache-2.0 | 2,017 | crm | tinh-tran | Vue | Code | 206 | 854 | <template>
<div class="doctor-managemnet">
<h2>医生管理</h2>
<el-card class="box-card">
<float-button @click.native="addDoctor"/>
<el-table style="width: 100%" border :data="doctors">
<el-table-column prop="id" label="ID" width="180"></el-table-column>
<el-table-column prop="name" labe... | 16,052 |
https://github.com/chgixxer87/uebungen_swe2/blob/master/src/Bonus/Lotto/appClasses/App_View_start.java | Github Open Source | Open Source | BSD-3-Clause | 2,017 | uebungen_swe2 | chgixxer87 | Java | Code | 460 | 2,152 | package Bonus.Lotto.appClasses;
import java.awt.Desktop;
import java.io.File;
import java.io.IOException;
import java.util.Locale;
import javafx.geometry.Insets;
import javafx.scene.Scene;
import javafx.scene.control.Button;
import javafx.scene.control.Label;
import javafx.scene.control.Menu;
import javafx.scene.contr... | 19,616 |
https://github.com/sturdynut/sturdynut.github.io/blob/master/node_modules/sass-lint/tests/helpers/isNestable.js | Github Open Source | Open Source | MIT | 2,022 | sturdynut.github.io | sturdynut | JavaScript | Code | 96 | 271 | 'use strict';
var assert = require('assert'),
helpers = require('../../lib/helpers');
describe('helpers - isNestable', function () {
//////////////////////////////
// isNestable
//////////////////////////////
it('isNestable - nest attribute in selector', function (done) {
var elements = ['selector',... | 6,568 |
https://github.com/kITerE/managarm/blob/master/kernel/thor/arch/x86/cpu.cpp | Github Open Source | Open Source | MIT | 2,022 | managarm | kITerE | C++ | Code | 2,832 | 11,021 | #include <thor-internal/arch/hpet.hpp>
#include <thor-internal/arch/vmx.hpp>
#include <thor-internal/debug.hpp>
#include <thor-internal/fiber.hpp>
#include <thor-internal/kasan.hpp>
#include <thor-internal/main.hpp>
#include <thor-internal/physical.hpp>
namespace thor {
namespace {
constexpr bool disableSmp = false;... | 6,526 |
https://github.com/smola/language-dataset/blob/master/data/github.com/moritz/perl6-Sudoku/187a83401ae9b6eca6f5c9b3d656bd317851b429/test.pl | Github Open Source | Open Source | MIT | 2,022 | language-dataset | smola | null | Spoken | 78 | 261 | use v6;
BEGIN { @*INC.push: 'lib' };
use Sudoku;
# from http://sudokugarden.de/de/online/2010-09-09
# 000000009
# 800060000
# 004000051
# 000005008
# 000000700
# 009001003
# 300000600
# 000000000
# 000079040
#
# solution:
# 237514869
# 815963274
# 964827351
# 126735498
# 543298716
# 789641523
# 391452687
# 472186935
... | 28,304 |
https://github.com/LaxarJS/ax-layer-control/blob/master/lib/layer_fixed_positioning.js | Github Open Source | Open Source | MIT | null | ax-layer-control | LaxarJS | JavaScript | Code | 187 | 475 | /**
* Copyright 2015-2017 aixigo AG
* Released under the MIT license.
* http://laxarjs.org/license
*/
import { DISTANCE_TO_WINDOW, applyPositionClass, calculateDomData } from './layer_utils';
function calculateOffsetForMiddle( layer, $layer, domData ) {
applyPositionClass( $layer, 'center' );
const innerHei... | 23,314 |
https://github.com/mrdominic09/oci-typescript-sdk/blob/master/lib/managementdashboard/lib/request/index.ts | Github Open Source | Open Source | UPL-1.0, Apache-2.0, MIT-0, MIT-Wu, WTFPL, MIT, Unlicense, ISC, BSD-3-Clause, BSD-2-Clause, CC0-1.0, LicenseRef-scancode-unknown-license-reference | 2,021 | oci-typescript-sdk | mrdominic09 | TypeScript | Code | 268 | 846 | /**
* ManagementDashboard API
* API for the Management Dashboard micro-service. Use this API for dashboard and saved search metadata preservation and to perform tasks such as creating a dashboard, creating a saved search, and obtaining a list of dashboards and saved searches in a compartment.
* OpenAPI spec v... | 456 |
https://github.com/onebytegone/banknote/blob/master/util/run-tests.sh | Github Open Source | Open Source | Apache-2.0 | null | banknote | onebytegone | Shell | Code | 15 | 38 | #!/bin/bash
# Must be ran from root of project. (e.g. banknote/)
phpunit --bootstrap code/require.php tests
| 40,716 |
https://github.com/oxnz/oxnz.github.io/blob/master/_sass/_custom.scss | Github Open Source | Open Source | Artistic-2.0 | 2,016 | oxnz.github.io | oxnz | SCSS | Code | 404 | 1,305 | /**
* Copyright (C) 2016-2017 oxnz, All Rights Reserved.
*/
body {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.site-header {
border-top-color: $blue-color-dark;
background-color: $blue-color;
}
.site-header .site-title {
color: #fff;
font-weight: bold;
}
.site-header .site-ti... | 27,087 |
https://github.com/CMSgov/beneficiary-fhir-data/blob/master/apps/bfd-model/bfd-model-rif/src/main/resources/db/migration/V6__Add_final_action_status_columns.sql | Github Open Source | Open Source | CC0-1.0, LicenseRef-scancode-public-domain | 2,023 | beneficiary-fhir-data | CMSgov | SQL | Code | 206 | 533 | /*
* Alters the claim tables to add `finalAction` columns to each, backfilling
* existing rows with the value 'F'.
*
* See:
* * http://issues.hhsdevcloud.us/browse/CBBD-301
* * http://issues.hhsdevcloud.us/browse/CBBD-361
*/
alter table "CarrierClaims" add column "finalAction" char(1);
update "CarrierClaims" s... | 43,834 |
https://github.com/Gratzi/Telescope/blob/master/packages/nova-core/lib/seo.js | Github Open Source | Open Source | MIT | 2,022 | Telescope | Gratzi | JavaScript | Code | 73 | 242 | // // SEO
// Telescope.SEO = {};
// Telescope.SEO.setTitle = function (title) {
// DocHead.setTitle(title);
// DocHead.addMeta({name: "title", content: title});
// DocHead.addMeta({property: "og:title", content: title});
// DocHead.addMeta({property: "twitter:title", content: title});
// }
// Telescope.SEO.s... | 135 |
https://github.com/themagicsketchbook/reldens/blob/master/packages/game/client/manager.js | Github Open Source | Open Source | MIT | 2,021 | reldens | themagicsketchbook | JavaScript | Code | 1,075 | 3,291 | /**
*
* Reldens - GameManager
*
* Like the ServerManager class, this is the main one that will handle everything on the client side.
*
*/
const { GameClient } = require('./game-client');
const { GameEngine } = require('./game-engine');
const { RoomEvents } = require('./room-events');
const { FeaturesManager } = ... | 20,182 |
https://github.com/AkshayKurhade/aditof_sdk/blob/master/tools/calibration-96tof1/tof_calib/regwrite_generator.py | Github Open Source | Open Source | BSD-3-Clause | 2,022 | aditof_sdk | AkshayKurhade | Python | Code | 844 | 2,518 | #
# BSD 3-Clause License
#
# Copyright (c) 2019, Analog Devices, Inc.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# 1. Redistributions of source code must retain the above copyright notice, ... | 39,383 |
https://github.com/Weidaicheng/corefx/blob/master/src/System.IO.Pipelines/src/System/IO/Pipelines/PipeWriterStream.cs | Github Open Source | Open Source | MIT | 2,019 | corefx | Weidaicheng | C# | Code | 302 | 896 | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Diagnostics;
using System.Threading;
using System.Threading.Tasks;
namespace System.IO.Pipelines
{
... | 12,941 |
https://github.com/pl3nny/csc648-team05_pl3nny/blob/master/mysite/myapp/models.py | Github Open Source | Open Source | MIT | null | csc648-team05_pl3nny | pl3nny | Python | Code | 780 | 2,613 | from django.db import models
from django.urls import reverse
from django.contrib.auth.models import User
from imagekit.models import ImageSpecField
from imagekit.processors import ResizeToFill
"""
Note: Always perform migrations when making a change to models.py
in order to have the changes reflect in the database.a... | 49,386 |
https://github.com/Prakhar-Bhartiya/OpenCV-Learn/blob/master/Codes/dectection_test_01.py | Github Open Source | Open Source | MIT | null | OpenCV-Learn | Prakhar-Bhartiya | Python | Code | 24 | 121 | import numpy as np
import cv2 as cv
img = cv.imread('test_face.jpg')
OPENCV_ENABLE_NONFREE = 1
gray= cv.cvtColor(img,cv.COLOR_BGR2GRAY)
sift = cv.xfeatures2d.SIFT_create()
kp = sift.detect(gray,None)
img=cv.drawKeypoints(gray,kp,img)
cv.imwrite('sift_keypoints.jpg',img)
| 22,495 |
https://github.com/taoyuan/generator-oac/blob/master/generators/app/index.js | Github Open Source | Open Source | MIT | 2,020 | generator-oac | taoyuan | JavaScript | Code | 181 | 631 | 'use strict';
const Generator = require('yeoman-generator');
const _ = require('lodash');
const PromiseA = require('bluebird');
const chalk = require('chalk');
const yosay = require('yosay');
const gitConfig = require('git-config');
const beautify = require('gulp-beautify');
const gulpif = require('gulp-if');
const pr... | 40,176 |
https://github.com/dsx-tech/XChange/blob/master/xchange-core/src/main/java/org/knowm/xchange/service/trade/params/DefaultWithdrawFundsParams.java | Github Open Source | Open Source | MIT | 2,020 | XChange | dsx-tech | Java | Code | 190 | 554 | package org.knowm.xchange.service.trade.params;
import java.math.BigDecimal;
import javax.annotation.Nullable;
import org.knowm.xchange.currency.Currency;
import org.knowm.xchange.dto.account.AddressWithTag;
public class DefaultWithdrawFundsParams implements WithdrawFundsParams {
public final String address;
pri... | 19,939 |
https://github.com/VaderY/cppast/blob/master/include/cppast/cpp_concept.hpp | Github Open Source | Open Source | NCSA, MIT | 2,023 | cppast | VaderY | C++ | Code | 165 | 574 | // Copyright (C) 2017-2023 Jonathan Müller and cppast contributors
// SPDX-License-Identifier: MIT
#ifndef CPPAST_CPP_CONCEPT_HPP_INCLUDED
#define CPPAST_CPP_CONCEPT_HPP_INCLUDED
#include <cppast/cpp_entity.hpp>
#include <cppast/cpp_expression.hpp>
#include <cppast/cpp_template_parameter.hpp>
namespace cppast
{
/// ... | 23,509 |
https://github.com/openshift/installer/blob/master/vendor/github.com/microsoftgraph/msgraph-sdk-go/education/classes/item/assignments/item/resources/item/education_assignment_resource_item_request_builder.go | Github Open Source | Open Source | Apache-2.0, MIT | 2,023 | installer | openshift | Go | Code | 628 | 3,224 | package item
import (
"context"
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go"
iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models"
ia572726a95efa92ddd544552cd950653dc691023836... | 48,219 |
https://github.com/IdentiDoc/Backend/blob/master/identidoc/static/js/upload.js | Github Open Source | Open Source | MIT | 2,021 | Backend | IdentiDoc | JavaScript | Code | 283 | 991 | $('#uploadForm').submit(function (e) {
e.preventDefault();
var formData = new FormData(this);
var fileInput = document.getElementById('uploadFile');
var file = fileInput.files[0];
formData.append('file', file);
$.ajax({
url: '/api/upload',
data: formData,
processData: false,
contentType: fa... | 9,125 |
https://github.com/hagneva1/esup-nfc-tag-keyboard/blob/master/src/main/java/org/esupportail/esupnfctagkeyboard/UniqueInstance.java | Github Open Source | Open Source | Apache-2.0 | null | esup-nfc-tag-keyboard | hagneva1 | Java | Code | 409 | 969 | /**
* Licensed to ESUP-Portail under one or more contributor license
* agreements. See the NOTICE file distributed with this work for
* additional information regarding copyright ownership.
*
* ESUP-Portail licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this fil... | 11,071 |
https://github.com/miketheman/sprout/blob/master/pivotal_workstation/recipes/standby-delay.rb | Github Open Source | Open Source | MIT | 2,017 | sprout | miketheman | Ruby | Code | 20 | 74 | # http://www.ewal.net/2012/09/09/slow-wake-for-macbook-pro-retina/
# "Fixing" Slow Wake for MacBook Pro w/ Retina Display and MacBook Air
execute "pmset -a standbydelay 86400"
| 18,101 |
https://github.com/LC-ardovino/CursoEmVideo/blob/master/Ex010.py | Github Open Source | Open Source | MIT | null | CursoEmVideo | LC-ardovino | Python | Code | 18 | 58 | dinheiro = float(input("Digite quanto de dinheiro você possui: "))
dolar = round(dinheiro/5.37, 2)
print(f"Você pode sacar {dolar} dólares.") | 37,531 |
https://github.com/cdli-gh/mtaac_cdli_ur3_corpus/blob/master/ur3_corpus_data/annotated/pos/P126/P126776.conll | Github Open Source | Open Source | CC0-1.0, LicenseRef-scancode-public-domain | 2,022 | mtaac_cdli_ur3_corpus | cdli-gh | null | Spoken | 145 | 787 | #new_text=P126776
# ID FORM SEGM XPOSTAG HEAD DEPREL MISC
o.1.1 1(disz) 1(disz)[one] NU
o.1.2 masz2 masz[goat] N
o.1.3 ga ga[milk] N
o.2.1 KA-NE-sze3 _ PN
o.3.1 e2-uz-ga e'uzga[building_type][-ak][-sze] N
o.4.1 ki ki[place] N
o.4.2 a-a-kal-la-mu _ PN
o.5.1 iti iti[month] N
o.5.2 u4 ud[day] N
o.5.3 3(disz) 3(disz)[one] ... | 22,198 |
https://github.com/fzammetti/books/blob/master/practical-webix/wxGame/Crystal.js | Github Open Source | Open Source | MIT | 2,023 | books | fzammetti | JavaScript | Code | 79 | 189 | "use strict";
/**
* Game object class: crystal.
*/
class Crystal extends GameObject {
/**
* Constructor.
*/
constructor(inConfig) {
// Construct object.
super((function() {
return webix.extend(inConfig,
{ pixWidth : 32, pixHeight : 30, frameCount : 4, baseName : "crystal" }
... | 14,813 |
https://github.com/lxe/io.coffee/blob/master/test/simple/test-http-client-default-headers-exist.coffee | Github Open Source | Open Source | Artistic-2.0 | null | io.coffee | lxe | CoffeeScript | Code | 310 | 642 | # Copyright Joyent, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, me... | 40,695 |
https://github.com/mechaadi/Titanium-invoice/blob/master/src/classes/generator.js | Github Open Source | Open Source | MIT | 2,019 | Titanium-invoice | mechaadi | JavaScript | Code | 1,757 | 6,255 |
import moment from 'moment';
import pug from 'pug';
import fs from 'fs';
import path from 'path';
import Common from './common';
import Recipient from './recipient';
import Emitter from './emitter';
import i18n from '../lib/i18n';
export default class Generator extends Common {
constructor(config) {
super();
... | 27,539 |
https://github.com/remy22/ContinuousSeo/blob/master/src/ContinuousSeo/W3cValidation/ContinuousSeo.W3cValidation.Runner/Output/HtmlIndexFileWriter.cs | Github Open Source | Open Source | Apache-2.0 | 2,012 | ContinuousSeo | remy22 | C# | Code | 196 | 543 | #region Copyright
// -----------------------------------------------------------------------
//
// Copyright (c) 2012, Shad Storhaug <shad@shadstorhaug.com>
//
// 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 cop... | 48,821 |
https://github.com/ivenpoker/Python-Projects/blob/master/online-workouts/leet-code/easy/remove-duplicates-from-sorted-array-1.py | Github Open Source | Open Source | MIT | 2,019 | Python-Projects | ivenpoker | Python | Code | 77 | 240 | #!/usr/bin/env python3
#######################################################################################
# #
# Program purpose: Removes duplicates element (leaving just a single one) using #
# O(1) me... | 14,701 |
https://github.com/pletfix/ldap-plugin/blob/master/views/login.blade.php | Github Open Source | Open Source | MIT | 2,017 | ldap-plugin | pletfix | Blade | Code | 116 | 608 | @extends('app')
@section('title', t('ldap.login.title'))
@section('content')
<div class="container">
<div class="row">
<div class="col-md-6 col-md-offset-3">
<div class="panel panel-default">
<div class="panel-heading">
{{t('ldap.logi... | 24,538 |
https://github.com/Graciie101/BeeZeeApp/blob/master/FrontEnd/components/global/courseList/index.tsx | Github Open Source | Open Source | MIT | 2,020 | BeeZeeApp | Graciie101 | TSX | Code | 91 | 261 | import React, {FC} from 'react';
import uuid from 'uuid/v4';
import CourseItem from '../courseItem';
import { createSelector } from 'reselect';
import { compose } from 'recompose';
import { connect } from 'react-redux';
import { ICourse } from 'models';
import './styles.scss';
import { selectAllCourses } from 'redux-st... | 48,096 |
https://github.com/atlarge-research/opencraft/blob/master/src/main/java/science/atlarge/opencraft/opencraft/generator/ground/SnowyGroundGenerator.java | Github Open Source | Open Source | MIT | 2,021 | opencraft | atlarge-research | Java | Code | 14 | 56 | package science.atlarge.opencraft.opencraft.generator.ground;
public class SnowyGroundGenerator extends GroundGenerator {
public SnowyGroundGenerator() {
setTopMaterial(SNOW);
}
}
| 1,637 |
https://github.com/hjanime/IGCSA/blob/master/hbase-genomes/src/main/java/org/lcsb/lu/igcsa/hbase/fasta/AberrationWriter.java | Github Open Source | Open Source | Apache-2.0 | 2,015 | IGCSA | hjanime | Java | Code | 1,237 | 3,376 | ///**
// * org.lcsb.lu.igcsa.hbase.fasta
// * Author: sarah.killcoyne
// * Copyright University of Luxembourg and Luxembourg Centre for Systems Biomedicine 2013
// * Open Source License Apache 2.0 http://www.apache.org/licenses/LICENSE-2.0.html
// */
//
//
//package org.lcsb.lu.igcsa.hbase.fasta;
//
//import org.apache... | 27,588 |
https://github.com/qin901102/caffe-hash/blob/master/src/caffe/proto/caffe.pb.cc | Github Open Source | Open Source | BSD-2-Clause, LicenseRef-scancode-generic-cla | 2,016 | caffe-hash | qin901102 | C++ | Code | 20,000 | 100,444 | // Generated by the protocol buffer compiler. DO NOT EDIT! // source: caffe.proto #define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION #include "caffe.pb.h" #include <algorithm> #include <google/protobuf/stubs/common.h> #include <google/protobuf/stubs/once.h> #include <google/protobuf/io/coded_stream.h> #include <googl... | 32,661 |
https://github.com/hrnyc38-cacti/catwalk_from_scratch_test/blob/master/client/src/components/questions/Search4answer.jsx | Github Open Source | Open Source | Unlicense | null | catwalk_from_scratch_test | hrnyc38-cacti | null | Spoken | 47 | 179 | import React from "react";
import { BiSearchAlt2 } from 'react-icons/bi';
function Search4answer ({updateInput}) {
const barStyle = {width:"20rem",background:"#F2F1F9", border:"none", padding:"0.5rem"};
return (
<form>
<input type="text" className="search-bar" placeholder='HAVE A QUESTION? SEARCH FOR AN... | 4,763 |
https://github.com/NodeJSDevelopment/classjs-plugins/blob/master/tests/cl.carousel.js | Github Open Source | Open Source | BSD-3-Clause | 2,016 | classjs-plugins | NodeJSDevelopment | JavaScript | Code | 189 | 538 | /*!
* @author Angelo Dini - github.com/finalangel/classjs-plugins
* @copyright Distributed under the BSD License.
*/
/*
* TESTS
*/
var carousel = new Cl.Carousel();
module('cl.carousel.js');
test('Options', function() {
var options = ['index', 'timeout', 'autoplay', 'easing', 'duration', 'move', 'mo... | 21,256 |
https://github.com/yezidd/WisdomTourApp/blob/master/react-navigation/src/views/withNavigationFocus.js | Github Open Source | Open Source | BSD-3-Clause, BSD-2-Clause | 2,018 | WisdomTourApp | yezidd | JavaScript | Code | 148 | 445 | import React from 'react'
import propTypes from 'prop-types'
import hoistStatics from 'hoist-non-react-statics'
import invariant from '../utils/invariant'
export default function withNavigationFocus(Component) {
class ComponentWithNavigationFocus extends React.Component {
static displayName = `withNavigationFocu... | 33,224 |
https://github.com/L4HG/bronotbaggage/blob/master/bronotbaggage/BronotBaggage/Extensions/UIView+addSubviews.swift | Github Open Source | Open Source | MIT | null | bronotbaggage | L4HG | Swift | Code | 30 | 93 | //
// UIView+addSubviews.swift
// TeslaApp
//
// Created by Кирилл Худяков on 23/09/2019.
//
import UIKit
extension UIView {
func addSubviews(_ views: [UIView]) {
views.forEach { addSubview($0) }
}
}
| 25,737 |
https://github.com/chenqixu/jstorm/blob/master/jstorm-utility/ons/src/main/java/com/alibaba/jstorm/ons/producer/ProducerBolt.java | Github Open Source | Open Source | Apache-2.0 | 2,022 | jstorm | chenqixu | Java | Code | 356 | 1,174 | /**
* 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... | 675 |
https://github.com/shaleen111/configs/blob/master/powershell/Install.ps1 | Github Open Source | Open Source | MIT | null | configs | shaleen111 | PowerShell | Code | 13 | 43 | Install-Module oh-my-posh -Scope CurrentUser
Install-Module posh-git -Scope CurrentUser
Install-Module -Name Terminal-Icons -Repository PSGallery
| 32,279 |
https://github.com/wangliu5566/zhongbaopingtai/blob/master/cs/api/models/Hits.php | Github Open Source | Open Source | BSD-3-Clause | 2,018 | zhongbaopingtai | wangliu5566 | PHP | Code | 117 | 339 | <?php
namespace api\models;
use Yii;
/**
* This is the model class for table "{{%hits}}".
*
* @property string $id
* @property string $primaryId
* @property string $hits
* @property int $type 类型:1 作品 ;2活动
*/
class Hits extends \yii\db\ActiveRecord
{
/**
* @inheritdoc
*/
public static functio... | 42,358 |
https://github.com/knabben/tradelens/blob/master/examples/example_2.go | Github Open Source | Open Source | Apache-2.0 | 2,021 | tradelens | knabben | Go | Code | 88 | 468 | package main
import (
"fmt"
"io/ioutil"
"os"
"github.com/spf13/viper"
"github.com/mitchellh/go-homedir"
"github.com/knabben/tradelens/token"
"github.com/knabben/tradelens/request"
)
var cfgFile string
func init() {
if cfgFile != "" {
viper.SetConfigFile(cfgFile)
} else {
home, err := homedir.Dir()
if... | 9,123 |
https://github.com/SmartPolarBear/dionysus-lite/blob/master/libs/user/include/thread.hpp | Github Open Source | Open Source | MIT | 2,022 | dionysus-lite | SmartPolarBear | C++ | Code | 30 | 151 | #pragma once
#include "kernel_object.hpp"
#include "compiler/compiler_extensions.hpp"
#include "handle_type.hpp"
#include "dionysus_api.hpp"
DIONYSUS_API error_code get_current_thread(OUT object::handle_type* out);
DIONYSUS_API error_code get_thread_by_id(OUT object::handle_type* out, object::koid_type id);
DIONYS... | 27,172 |
https://github.com/kshitijSing/Algorithms/blob/master/Recursive Algorithms/digitalRoot.cpp | Github Open Source | Open Source | MIT | 2,020 | Algorithms | kshitijSing | C++ | Code | 43 | 141 |
#include <iostream>
using namespace std;
int digitalRoot(int n)
{
//Your code here
if(n < 10)
return n;
int sum= digitalRoot(n/10) + n % 10;
return digitalRoot(sum);
}
int main() {
int T;
cin>>T;
while(T--)
{
int n;
cin>>n;
cout<<digitalRoot(n)<<endl;
... | 33,996 |
https://github.com/Nestjik/AlgebraCSharp2019/blob/master/ConsoleApp1/12.1.2/Program.cs | Github Open Source | Open Source | MIT | null | AlgebraCSharp2019 | Nestjik | C# | Code | 59 | 193 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _12._1._2
{
class Program
{
static void Main(string[] args)
{
Console.Write("Pritisni neku tipku za pocetak mjerenja");
Console.ReadKey();
... | 36,604 |
https://github.com/fukuyu/test/blob/master/testConnection/node_modules/@azure/arm-compute/dist-esm/samples-dev/cloudServiceOperatingSystemsGetOSVersionSample.d.ts | Github Open Source | Open Source | MIT | 2,022 | test | fukuyu | TypeScript | Code | 4 | 25 | export {};
//# sourceMappingURL=cloudServiceOperatingSystemsGetOSVersionSample.d.ts.map | 14,826 |
https://github.com/chikoom/Screenter-Client/blob/master/src/components/CreatorEventList.jsx | Github Open Source | Open Source | MIT | 2,020 | Screenter-Client | chikoom | JavaScript | Code | 125 | 445 | import React from 'react'
import { MDBContainer, MDBRow, MDBCol, MDBBtn } from 'mdbreact'
import EventCard from './EventCard/EventCard'
import { inject, observer } from 'mobx-react'
import { useHistory } from 'react-router-dom'
const selectOptions = ['Date', 'Popularity', 'Screenter']
const EventGrid = inject('events... | 37,937 |
https://github.com/jagot/PolynomialOperators.jl/blob/master/src/PolynomialOperators.jl | Github Open Source | Open Source | MIT | null | PolynomialOperators.jl | jagot | Julia | Code | 108 | 464 | module PolynomialOperators
using Polynomials
using LinearOperators
using IterativeSolvers
type PolynomialOperator <: AbstractLinearOperator
A::AbstractLinearOperator
p::Poly
nrow::Integer
ncol::Integer
dtype::DataType
symmetric::Bool
hermitian::Bool
prod::Function
tprod::Nullable{F... | 16,155 |
https://github.com/mroncatto/it-flow-api/blob/master/src/main/java/com/itflow/api/constant/AppConstant.java | Github Open Source | Open Source | Unlicense, MIT | null | it-flow-api | mroncatto | Java | Code | 75 | 196 | package com.itflow.api.constant;
public class AppConstant {
public static final String APP_NAME = "IT FLOW";
public static final String APP_DESC = "GESTION DE SERVICIOS DE TECNOLOGIAS DE LA INFORMACION";
public static final String APP_URL = "http://myappurl";
public static final String APP_SUPPORT_URL ... | 20,885 |
https://github.com/EEParker/TestImplementation/blob/master/CTP/CtpCommand/ThreadStaticItems.cs | Github Open Source | Open Source | MIT | 2,021 | TestImplementation | EEParker | C# | Code | 17 | 47 | using System;
namespace CTP
{
internal static class ThreadStaticItems
{
[ThreadStatic]
public static CtpObjectWriter CommandObject_Writer;
}
} | 2,485 |
https://github.com/jdeugarte/bonsaiPOS/blob/master/models/products/stock.js | Github Open Source | Open Source | MIT | 2,020 | bonsaiPOS | jdeugarte | JavaScript | Code | 372 | 1,178 | /* global DataBase */
var fs = require('fs');
var db = new DataBase();
var myObject = db.getTable("products",'\\views\\products',2);
var products = [];
getProducts();
function getpathproyect(todelete,cant_of_breakbar)
{
actualdir = __dirname
/*34 es ascii de '\', la primera comparación ve si pertenece el path a wi... | 25,587 |
https://github.com/joevansanttos/midas/blob/master/rdfapi-php/test/setup.php | Github Open Source | Open Source | MIT | 2,021 | midas | joevansanttos | PHP | Code | 195 | 567 | <?php
/**
* Prepares your system for RAP.
* Creates database tables if they don't exist yet
*/
$strConfFile = dirname(__FILE__) . '/config.php';
if (!file_exists($strConfFile)) {
die('Please copy "test/config.php.dist" to "test/config.php" and adjust it');
}
require_once $strConfFile;
require_once RDFAPI_INCLUDE_D... | 4,328 |
https://github.com/MiggL/bikiniproxy/blob/master/DeadClick/webtraces/3572a3cd1278aec138ccc542562f205b/125d91b5-a5d1-4ac6-98cc-f2cbf30c5c31 | Github Open Source | Open Source | MIT, OFL-1.1 | 2,021 | bikiniproxy | MiggL | null | Spoken | 178 | 659 | /* Settings that apply to entire gallery */
div.afg-gallery {
margin:auto;
}
/* Effect for thumbnails in gallery */
img.afg-img {
margin-top:5%;
opacity:1;
filter:alpha(opacity=100);
box-shadow: 1px 1px 7px rgba(0, 0, 0, 0.6);
-moz-box-shadow: 1px 1px 7px rgba(0, 0, 0, 0.6);
-webkit-box-sha... | 50,741 |
https://github.com/abhishekjoshigamerz/LwcLaravelProject/blob/master/resources/views/adminpanel/class.blade.php | Github Open Source | Open Source | MIT | 2,021 | LwcLaravelProject | abhishekjoshigamerz | Blade | Code | 189 | 844 | @include('adminpanel/include/header')
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<div class="content-header">
<div class="container-fluid">
<div class="row mb-2">
<div class="col-sm-6">
<h1 class="m-0"> Class </h1>
</div><!-- /.col -->
<div cl... | 9,908 |
https://github.com/xccjh/-Content-management-project/blob/master/int/logo.php | Github Open Source | Open Source | MIT | 2,019 | -Content-management-project | xccjh | PHP | Code | 109 | 484 | <?php
//引入外部文件
require('../functions.php');
//调用方法查询数据
$res = query("SELECT `VALUE` from options where `key` = 'site_logo'")[0];
$site_url = query("SELECT `VALUE` from options where `key` = 'site_url'")[0];
$site_name = query("SELECT `VALUE` from options where `key` = 'site_name'")[0];
$site_descrip... | 5,000 |
https://github.com/sky923/gy/blob/master/gy/core/application_win64.cpp | Github Open Source | Open Source | MIT | null | gy | sky923 | C++ | Code | 98 | 391 | #include "application.h"
#if GY_OS_WIN_STANDALONE_IS_ENABLED
#include <Windows.h>
#include <iostream>
#include <process.h>
#include <iostream>
#include <TlHelp32.h>
result_t GApplication::onPreInitialize() { return GY_SUCCESS; }
result_t GApplication::onInitialize() { return GY_SUCCESS; }
result_t GApplication::onPo... | 2,654 |
https://github.com/zhangmaliang/Conference/blob/master/js/Utils/index.js | Github Open Source | Open Source | Apache-2.0 | 2,017 | Conference | zhangmaliang | JavaScript | Code | 31 | 83 | /**
* Created by zhangmaliang on 2017/7/4.
*/
import Request from './Request'
import ObjectUtil from './ObjectUtil'
import ArrayUtil from './ArrayUtil'
import DateUtil from './DateUtil'
export {
Request,
ObjectUtil,
ArrayUtil,
DateUtil,
} | 17,511 |
https://github.com/haolemawo/Steeltoe/blob/master/src/Configuration/test/ConfigServer.ITest/ConfigServerConfigurationExtensionsIntegrationTest.cs | Github Open Source | Open Source | Apache-2.0 | 2,021 | Steeltoe | haolemawo | C# | Code | 1,101 | 4,350 | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information.
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.TestHost;
using Microsoft.Extensions.Configur... | 12,493 |
https://github.com/mariano/disque-php/blob/master/src/Command/Argument/InvalidOptionException.php | Github Open Source | Open Source | MIT | 2,017 | disque-php | mariano | PHP | Code | 34 | 115 | <?php
namespace Disque\Command\Argument;
use Disque\Command\CommandInterface;
class InvalidOptionException extends InvalidCommandArgumentException
{
public function __construct(CommandInterface $command, array $options)
{
parent::__construct($command, $options);
$this->message = sprintf("Inval... | 24,281 |
https://github.com/dashotv/flame/blob/master/nzbget/history.go | Github Open Source | Open Source | Apache-2.0 | 2,021 | flame | dashotv | Go | Code | 139 | 428 | package nzbget
type History struct {
ID int `json:"nzbid"`
Name string
RemainingFileCount int
RetryData bool
HistoryTime int
Status string
Log []string
NZBName string
NZBNicename string
Kind string
URL ... | 32,685 |
https://github.com/molayab/open-world-game/blob/master/resources/kenney_natureKit_2/Models/OBJ format/tree_small_dark.obj | Github Open Source | Open Source | CC0-1.0, MIT | 2,021 | open-world-game | molayab | Wavefront Object | Code | 999 | 4,018 | # Created by Kenney (www.kenney.nl)
mtllib tree_small_dark.mtl
g tree_small_dark
v 0.04048436 0 0.04048436
v -0.04048436 0 0.04048436
v 0.02570758 0.28575 0.02570758
v -0.02570758 0.28575 0.02570758
v 0.1773187 0.6338249 0.102375
v 0.1773187 0.3450375 -0.102375
v 0.1773187 0.6338249 -0.102375
v 0.1773187 0.3450375 0... | 14,019 |
https://github.com/zhangbo27/WebService/blob/master/WebServicePark/IParkService.asmx | Github Open Source | Open Source | MIT | 2,020 | WebService | zhangbo27 | null | Spoken | 6 | 38 | <%@ WebService Language="C#" CodeBehind="IParkService.asmx.cs" Class="WebServicePark.IParkService" %>
| 38,374 |
https://github.com/kyledharrington/dynatrace-operator/blob/master/src/controllers/csi/provisioner/events.go | Github Open Source | Open Source | Apache-2.0, LicenseRef-scancode-unknown-license-reference | 2,023 | dynatrace-operator | kyledharrington | Go | Code | 61 | 297 | package csiprovisioner
import (
dynatracev1beta1 "github.com/Dynatrace/dynatrace-operator/src/api/v1beta1"
corev1 "k8s.io/api/core/v1"
"k8s.io/client-go/tools/record"
)
type updaterEventRecorder struct {
dynakube *dynatracev1beta1.DynaKube
recorder record.EventRecorder
}
func (event *updaterEventRecorder) sendF... | 19,207 |
https://github.com/eapbokma/DotSpatial/blob/master/Source/DotSpatial.Data/IValueRow.cs | Github Open Source | Open Source | MIT | 2,022 | DotSpatial | eapbokma | C# | Code | 111 | 189 | // Copyright (c) DotSpatial Team. All rights reserved.
// Licensed under the MIT license. See License.txt file in the project root for full license information.
namespace DotSpatial.Data
{
/// <summary>
/// A public interface definition for a single row of values that should be supported
/// by any of the ... | 22,271 |
https://github.com/apache/bookkeeper/blob/master/tests/docker-images/all-released-versions-image/scripts/install-tarball.sh | Github Open Source | Open Source | Apache-2.0 | 2,023 | bookkeeper | apache | Shell | Code | 221 | 527 | #!/usr/bin/env bash
#
#/**
# * 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... | 43,756 |
https://github.com/DesertPunk/LiveSplitOne/blob/master/src/layout/Split.tsx | Github Open Source | Open Source | MIT | 2,019 | LiveSplitOne | DesertPunk | TSX | Code | 202 | 780 | import * as React from "react";
import * as LiveSplit from "../livesplit";
import { colorToCss, gradientToCss } from "../util/ColorUtil";
import { Option } from "../util/OptionUtil";
export interface Props {
splitsState: LiveSplit.SplitsComponentStateJson,
evenOdd: [Option<string>, Option<string>],
split: ... | 25,531 |
https://github.com/yhyu13/Engine2021/blob/master/engine/external/imgui/imgui/addons/imguiyesaddons/imguibz2.h | Github Open Source | Open Source | MIT | null | Engine2021 | yhyu13 | C | Code | 371 | 797 | #ifndef IMGUIBZ2_H_
#define IMGUIBZ2_H_
/* --------------------------------------------------------------------------
This program, "bzip2", the associated library "libbzip2", and all
documentation, are copyright (C) 1996-2007 Julian R Seward. All
rights reserved.
Redistribution and use in source and binary forms, ... | 38,033 |
https://github.com/hangilc/myclinic-intraclinic/blob/master/browser-src/myclinic-modal.js | Github Open Source | Open Source | MIT | null | myclinic-intraclinic | hangilc | JavaScript | Code | 581 | 1,860 | "use strict";
const typed_dom_1 = require("./typed-dom");
class ModalDialog {
constructor(title = "Untitled") {
this.screenZIndex = 10;
this.screenOpacity = 0.5;
this.dialogZIndex = 11;
this.onClose = () => true;
this.screen = null;
this.dialog = null;
this.co... | 38,304 |
https://github.com/beetle2k/Metin2Client/blob/master/source/EterLib/FuncObject.h | Github Open Source | Open Source | MIT | 2,021 | Metin2Client | beetle2k | C | Code | 74 | 306 | #pragma once
template<typename T>
class CFuncObject
{
public:
CFuncObject()
{
Clear();
}
virtual ~CFuncObject()
{
}
void Clear()
{
m_pSelfObject = NULL;
m_pFuncObject = NULL;
}
void Set(T* pSelfObject, void (T::*pFuncObject)())
{
m_pSelfObject = pSelfObject;
m_pFuncObject = pFu... | 29,369 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.