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/AloisSeckar/SoftMan/blob/master/src/main/java/elrh/softman/logic/LineupPosition.java | Github Open Source | Open Source | Unlicense | null | SoftMan | AloisSeckar | Java | Code | 75 | 204 | package elrh.softman.logic;
import elrh.softman.db.orm.PlayerInfo;
public class LineupPosition {
private PlayerInfo player;
private Position position;
public LineupPosition(PlayerInfo player, Position position) {
this.player = player;
this.position = position;
}
public Playe... | 50,485 |
https://github.com/zhangxuan666/Lxgw/blob/master/resources/views/Home/Sell.blade.php | Github Open Source | Open Source | MIT | 2,019 | Lxgw | zhangxuan666 | Blade | Code | 2,010 | 13,576 | @extends('layout.publics')
<!--End Header End-->
<!--Begin Menu Begin-->
<div class="menu_bg">
<div class="menu">
<!--Begin 商品分类详情 Begin-->
<div class="nav">
<div class="nav_t">全部商品分类</div>
<div class="leftNav none">
<ul>
<li>
... | 41,351 |
https://github.com/coder-zyy/WYnews/blob/master/WYnews/WYnews/Classes/Other/Tools/NetworkTools.swift | Github Open Source | Open Source | MIT | 2,021 | WYnews | coder-zyy | Swift | Code | 118 | 305 | //
// NetworkTools.swift
// WYnews
//
// Created by coder_zyy on 2018/5/24.
// Copyright © 2018年 coder_zyy. All rights reserved.
//
import UIKit
import Alamofire
enum MethodType {
case get
case post
}
class NetworkTools {
class func requestData(URLString : String, type : MethodType, parameters : [Str... | 47,411 |
https://github.com/udoprog/ptscan/blob/master/crates/ptscan/src/bitset.rs | Github Open Source | Open Source | MIT, Apache-2.0, CC-BY-SA-3.0 | 2,023 | ptscan | udoprog | Rust | Code | 172 | 461 | //! A simple, stripped down bitset implementation.
#[derive(Clone)]
#[repr(transparent)]
pub struct BitSet {
slots: Vec<u64>,
}
impl BitSet {
const BITS_IN_SLOT: usize = std::mem::size_of::<u64>() * 8;
/// Construct a new bitset.
pub fn new() -> Self {
Self { slots: Vec::new() }
}
//... | 40,873 |
https://github.com/teknoplop/z88dk/blob/master/libsrc/_DEVELOPMENT/adt/wv_priority_queue/c/sccz80/wv_priority_queue_shrink_to_fit.asm | Github Open Source | Open Source | ClArtistic | 2,021 | z88dk | teknoplop | Assembly | Code | 16 | 122 |
; int wv_priority_queue_shrink_to_fit(wv_priority_queue_t *q)
SECTION code_clib
SECTION code_adt_wv_priority_queue
PUBLIC wv_priority_queue_shrink_to_fit
EXTERN asm_wv_priority_queue_shrink_to_fit
defc wv_priority_queue_shrink_to_fit = asm_wv_priority_queue_shrink_to_fit
| 27,771 |
https://github.com/chrismcleod17/newsday-roku/blob/master/components/Content/OmnitureHandler.brs | Github Open Source | Open Source | BSD-2-Clause | null | newsday-roku | chrismcleod17 | null | Spoken | 504 | 1,505 | ' ********** Copyright 2016 Roku Corp. All Rights Reserved. **********
' init(): OmnitureHandler constructor
' Description: sets the execution function for the UriFetcher
' and tells the UriFetcher to run
sub init()
print "OmnitureHandler.brs - [init]"
' create the message port
m.port = ... | 44,107 |
https://github.com/ripxfrostbite/RedirectLauncher/blob/master/RedirectLauncherMk2-WPF/Updaters/ClientUpdater.cs | Github Open Source | Open Source | MIT | 2,019 | RedirectLauncher | ripxfrostbite | C# | Code | 949 | 3,486 | using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.IO;
using System.IO.Compression;
using System.Net;
using System.Security.Cryptography;
using System.Text;
using System.Threading.Tasks;
namespace RedirectLauncherMk2_WPF.Updater
{
class ClientUpdater
{... | 25,584 |
https://github.com/paulscottrobson/elf-replica/blob/master/Assembler/door.asm | Github Open Source | Open Source | MIT | null | elf-replica | paulscottrobson | Assembly | Code | 243 | 637 | ; ************************************************************************************************************
; ************************************************************************************************************
;
; Door opening
;
; Uses RE,RF
; *****************************************************... | 28,914 |
https://github.com/PandaWzg/imking-ecology/blob/master/common/models/common/SmsLog.php | Github Open Source | Open Source | Apache-2.0 | 2,020 | imking-ecology | PandaWzg | PHP | Code | 269 | 918 | <?php
namespace common\models\common;
use Yii;
use common\behaviors\MerchantBehavior;
/**
* This is the model class for table "{{%common_sms_log}}".
*
* @property int $id
* @property string $merchant_id 商户id
* @property string $member_id 用户id
* @property string $mobile 手机号码
* @property string $code 验证码
* @pr... | 44,868 |
https://github.com/stuart-xyz/knative-gcp/blob/master/pkg/reconciler/trigger/trigger_test.go | Github Open Source | Open Source | Apache-2.0 | null | knative-gcp | stuart-xyz | Go | Code | 1,840 | 10,145 | /*
Copyright 2020 Google LLC
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 writing, software
dist... | 21,837 |
https://github.com/costajvsc/dotimer/blob/master/controllers/door-guards/create.php | Github Open Source | Open Source | MIT | null | dotimer | costajvsc | PHP | Code | 36 | 185 | <?php
include_once('../../database/DoorGuard.php');
include_once('../../database/DoorGuardDAO.php');
$DAO = new DoorGuardDAO();
$door_guard = new DoorGuard();
$door_guard->setIDDoor($_POST['id_door']);
$door_guard->setIDEmploye($_POST['id_employe']);
$result = $DAO->create($door_guard);
session_start();
if($result... | 26,559 |
https://github.com/icaas/xgboost/blob/master/python-package/conv_rst.py | Github Open Source | Open Source | Apache-2.0 | null | xgboost | icaas | Python | Code | 24 | 95 | # pylint: disable=invalid-name, exec-used
"""Convert README.md to README.rst for PyPI"""
from pypandoc import convert
read_md = convert('python-package/README.md', 'rst')
with open('python-package/README.rst', 'w') as rst_file:
rst_file.write(read_md)
| 27,597 |
https://github.com/faraway030/tongfang-unofficial-control-center/blob/master/main.py | Github Open Source | Open Source | MIT | null | tongfang-unofficial-control-center | faraway030 | Python | Code | 434 | 1,625 | #!/usr/bin/python3
# main.py
import sys
import argparse, textwrap
from handler import DeviceHandler
class Controller(DeviceHandler):
def __init__(self, vendor_id, product_id):
super(Controller, self).__init__(vendor_id, product_id)
brightness_map = {
1: 0x08,
2: 0x16,
3: 0... | 29,943 |
https://github.com/ke-sasso/serviciosgenerales/blob/master/resources/views/layouts/top-nav.blade.php | Github Open Source | Open Source | MIT | null | serviciosgenerales | ke-sasso | PHP | Code | 115 | 456 | <!-- BEGIN TOP NAV -->
<div class="top-navbar {{ (Session::get('cfgHideMenu',false))?'toggle':'' }}">
<div class="top-navbar-inner">
<!-- Begin Logo brand -->
<div class="logo-brand success-color">
<a>{!! Html::image('img/logo.png') !!}</a>
</div><!-- /.logo-brand -->
<!-- End Logo brand -->
<div cl... | 6,795 |
https://github.com/hankaibo/mydnd/blob/master/src/pages/dnd/components/SourceContainer.js | Github Open Source | Open Source | MIT | null | mydnd | hankaibo | JavaScript | Code | 92 | 287 | import React from 'react';
import { Collapse } from 'antd';
import { connect } from 'umi';
import SourceWrap from './SourceWrap';
const { Panel } = Collapse;
const SourceContainer = connect(({ dnd: { sourceDnDComponentList } }) => ({
sourceDnDComponentList,
}))(({ sourceDnDComponentList }) => {
const recursion = ... | 19,068 |
https://github.com/Kunstmaan/KunstmaanBundlesCMS/blob/master/src/Kunstmaan/AdminBundle/Repository/UserRepository.php | Github Open Source | Open Source | MIT | 2,023 | KunstmaanBundlesCMS | Kunstmaan | PHP | Code | 102 | 402 | <?php
namespace Kunstmaan\AdminBundle\Repository;
use Doctrine\ORM\EntityRepository;
use Kunstmaan\AdminBundle\Entity\User;
use Symfony\Component\Security\Core\User\PasswordAuthenticatedUserInterface;
use Symfony\Component\Security\Core\User\PasswordUpgraderInterface;
/**
* UserRepository
*/
class UserRepository e... | 15,106 |
https://github.com/Aryo-Patel/Axotl/blob/master/client/src/actions/companies.js | Github Open Source | Open Source | MIT | 2,021 | Axotl | Aryo-Patel | JavaScript | Code | 116 | 369 | import axios from 'axios'
import { GET_COMPANIES, GET_COMPANY, COMPANY_ERROR, CHANGE_DISPLAYED_COMPANIES} from './Types'
export const getCompanies = (pageNumber) => async dispatch => {
try {
const res = await axios.get(`/api/profiles/sponsor/${pageNumber}`)
dispatch({
type: GET_COMPANIE... | 10,658 |
https://github.com/centrumkanalen/smil-player/blob/master/src/components/playlist/mock/mockBrokenSmil.ts | Github Open Source | Open Source | MIT | null | smil-player | centrumkanalen | TypeScript | Code | 410 | 2,114 | export const mockBrokenSmil = {
region: {
video: {
regionName: "video",
left: "10",
top: "10",
width: "1280",
height: "720",
"z-index": "1",
backgroundColor: "#FFFFFF",
mediaAlign: "topLeft",
region: [{
regionName: "video1",
left: "0",
top: "0",
width: "640",
height: "7... | 4,934 |
https://github.com/darylwei/MusicProj/blob/master/main.js | Github Open Source | Open Source | MIT | null | MusicProj | darylwei | JavaScript | Code | 374 | 1,142 | const { app, BrowserWindow, dialog, Menu } = require('electron')
const path = require('path')
const url = require('url')
const join = require('path').join;
const fs = require('fs')
const openAboutWindow = require('about-window').default;
let win
function createWindow() {
// Create the browser window.
win = new B... | 23,342 |
https://github.com/hieuhdh/Multi-tasking-program/blob/master/src/Control/Control.py | Github Open Source | Open Source | MIT | null | Multi-tasking-program | hieuhdh | Python | Code | 448 | 1,292 | from webbrowser import open_new
from PIL import ImageTk,Image
from Control.Application import*
from Control.Login import*
from Control.Sign import*
from Control.About import*
from Control.Home import*
from Tools.CenterDisplay import*
root = Tk()
root.title("De Uteri")
root.iconbitmap('images/frame/icon.ico')
root.geom... | 37,795 |
https://github.com/passyweb/csharp-2021/blob/master/Chap03_Proprietes/Program.cs | Github Open Source | Open Source | MIT | null | csharp-2021 | passyweb | C# | Code | 38 | 90 | using System;
namespace Chap03_Proprietes
{
class Program
{
static void Main(string[] args)
{
Product item = new Product();
var item2 = new Product();
Product item3 = new();
item.Name = " Stylo";
var s = item.Name;
}
}
}
| 14,937 |
https://github.com/hbbsoft/OpenClubhouse-Worker/blob/master/worker.py | Github Open Source | Open Source | MIT | 2,021 | OpenClubhouse-Worker | hbbsoft | Python | Code | 686 | 2,701 | from pymongo import MongoClient
# from pymongo.objectid import ObjectId
from ch_helper import ClubHouseHelper
from collections import deque
import time
import random
import json
class Worker():
def __init__(
self,
clubHouseHelper: ClubHouseHelper,
mongo_uri: str,
t... | 27,763 |
https://github.com/bsomeshwer/version-comparison/blob/master/src/Repo/ExpressionValidator.php | Github Open Source | Open Source | MIT | 2,018 | version-comparison | bsomeshwer | PHP | Code | 774 | 2,411 | <?php namespace Someshwer\VersionComparison\Repo;
use Illuminate\Support\Facades\Log;
use Someshwer\VersionComparison\Lib\ResponseMaker;
use Someshwer\VersionComparison\Repo\ExpressionEvaluator;
use Someshwer\VersionComparison\Repo\Lexer;
use Someshwer\VersionComparison\Repo\Parser;
/**
* ExpressionValidator class
... | 35,086 |
https://github.com/obarnard99/vilio/blob/master/features/himario/grakn/conceptnet.py | Github Open Source | Open Source | MIT | 2,021 | vilio | obarnard99 | Python | Code | 751 | 2,681 | from grakn.client import GraknClient
import csv
import random
from loguru import logger
REL = [
"/r/RelatedTo",
"/r/FormOf",
"/r/IsA",
"/r/PartOf",
"/r/HasA",
"/r/UsedFor",
"/r/CapableOf",
"/r/AtLocation",
"/r/Causes",
"/r/HasSubevent",
"/r/HasFirstSubevent",
"/r/HasLast... | 11,067 |
https://github.com/academydistrict20/notifications/blob/master/packages/shared/src/types.ts | Github Open Source | Open Source | MIT | 2,020 | notifications | academydistrict20 | TypeScript | Code | 179 | 496 | import { NotificationsPlugin } from './plugin'
export const enum NotificationImportance {
INFO = 'info',
ALERT = 'alert',
EMERGENCY = 'emergency',
SUCCESS = 'success',
}
export const enum NotificationTypes {
BANNER = 'banner',
FLOATING = 'floating',
INLINE = 'inline',
STATUS = 'status',
}
export inte... | 28,129 |
https://github.com/emranbm/bazel/blob/master/src/main/java/com/google/devtools/build/lib/query2/aquery/AqueryUtils.java | Github Open Source | Open Source | Apache-2.0 | 2,019 | bazel | emranbm | Java | Code | 244 | 703 | // Copyright 2018 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 appl... | 9,695 |
https://github.com/BorhanMiah/Development-of-Hospital-Management-System-for-Rowshan-Hospital-project/blob/master/resources/views/backend/presception/print.blade.php | Github Open Source | Open Source | MIT | null | Development-of-Hospital-Management-System-for-Rowshan-Hospital-project | BorhanMiah | PHP | Code | 149 | 1,099 | <!DOCTYPE html>
<html>
<head>
<title>Print presception</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
</head>
<body>
<h1 style="text-align: center;"... | 48,293 |
https://github.com/me-framework/me-app/blob/master/public/index.php | Github Open Source | Open Source | Apache-2.0 | null | me-app | me-framework | PHP | Code | 13 | 69 | <?php
define('ME_DEBUG', true);
require '../vendor/autoload.php';
require '../vendor/me-framework/me/Me.php';
$config = include '../config/api.php';
(new \me\components\Application($config))->run();
| 17,945 |
https://github.com/thicsilva/SearchRepair/blob/master/repository/linux/test397.c | Github Open Source | Open Source | MIT, LicenseRef-scancode-unknown-license-reference | 2,019 | SearchRepair | thicsilva | C | Code | 11 | 21 | void test(int bio, int parent){
parent = bio - > ;} | 7,671 |
https://github.com/CodeDone4U/niche-one/blob/master/wp-content/plugins/woocommerce/packages/woocommerce-blocks/assets/js/utils/test/products.js | Github Open Source | Open Source | LGPL-2.0-or-later, LicenseRef-scancode-warranty-disclaimer, LGPL-2.1-or-later, GPL-3.0-or-later, GPL-1.0-or-later, GPL-3.0-only, LicenseRef-scancode-other-copyleft, LicenseRef-scancode-unknown-license-reference, GPL-2.0-only, GPL-2.0-or-later | 2,020 | niche-one | CodeDone4U | JavaScript | Code | 349 | 713 | /**
* Internal dependencies
*/
import { getImageSrcFromProduct, getImageIdFromProduct } from '../products';
describe( 'getImageSrcFromProduct', () => {
test( 'returns first image src', () => {
const imageSrc = getImageSrcFromProduct( {
images: [ { src: 'foo.jpg' } ],
} );
expect( imageSrc ).toBe( 'foo.jpg... | 40,017 |
https://github.com/dhimant1990/coffee-time/blob/master/mobile/lib/core/utils/asset_loader.dart | Github Open Source | Open Source | MIT | 2,020 | coffee-time | dhimant1990 | Dart | Code | 17 | 55 | import 'dart:async' show Future;
import 'package:flutter/services.dart' show rootBundle;
Future<String> loadAsset(String path) async {
return await rootBundle.loadString(path);
}
| 7,196 |
https://github.com/tevesz/cloudbreak/blob/master/cloud-aws/src/main/java/com/sequenceiq/cloudbreak/cloud/aws/connector/resource/AwsRdsTerminateService.java | Github Open Source | Open Source | Apache-2.0 | null | cloudbreak | tevesz | Java | Code | 469 | 1,796 | package com.sequenceiq.cloudbreak.cloud.aws.connector.resource;
import com.amazonaws.AmazonServiceException;
import com.amazonaws.services.cloudformation.AmazonCloudFormationClient;
import com.amazonaws.services.cloudformation.model.DeleteStackRequest;
import com.amazonaws.services.cloudformation.model.DescribeStacksR... | 8,607 |
https://github.com/cash2one/xai/blob/master/xai/brain/wordbase/nouns/_intricacies.py | Github Open Source | Open Source | MIT | 2,017 | xai | cash2one | Python | Code | 24 | 119 |
from xai.brain.wordbase.nouns._intricacy import _INTRICACY
#calss header
class _INTRICACIES(_INTRICACY, ):
def __init__(self,):
_INTRICACY.__init__(self)
self.name = "INTRICACIES"
self.specie = 'nouns'
self.basic = "intricacy"
self.jsondata = {}
| 36,323 |
https://github.com/lucasgomesgp/transport/blob/master/js/script.js | Github Open Source | Open Source | MIT | null | transport | lucasgomesgp | JavaScript | Code | 39 | 142 | const home = document.getElementById("home");
const btnToggle = document.getElementById("toggler");
const menuHamburguer = document.getElementById("menu_hamburguer");
let toggle = true;
btnToggle.addEventListener("click", () => {
if(toggle){
menuHamburguer.style.display = "initial";
home.style.marg... | 53,140 |
https://github.com/nabilahnarjis02/UASPILADMIN_2018114029_Nabilahnarjis_Siebisnis/blob/master/resources/views/pengalamans/index.blade.php | Github Open Source | Open Source | MIT | 2,021 | UASPILADMIN_2018114029_Nabilahnarjis_Siebisnis | nabilahnarjis02 | Blade | Code | 116 | 578 | @extends('template')
@section('content')
<div class="row mt-5 mb-5">
<div class="col-lg-12 margin-tb">
<div class="float-left">
<h2>Halaman Pengalaman Bekerja/Usaha</h2>
</div>
<div class="float-right">
<a class="btn btn-success" href="{{... | 32,974 |
https://github.com/marozau/cocurc/blob/master/sources/timed_idle/abstract_timed_worker.cpp | Github Open Source | Open Source | BSL-1.0 | 2,014 | cocurc | marozau | C++ | Code | 35 | 137 | #include "abstract_timed_worker.h"
namespace cocurc
{
abstract_timed_worker::abstract_timed_worker( const size_t delay, const bool first_run )
: timed_idle_( delay, [ this ](){ job_(); }, first_run )
{
}
abstract_timed_worker::~abstract_timed_worker()
{
}
//
void abstract_timed_worker::run()
{
timed_idle... | 41,684 |
https://github.com/jaredhanson/crane-amqp/blob/master/lib/broker.js | Github Open Source | Open Source | MIT | null | crane-amqp | jaredhanson | JavaScript | Code | 1,551 | 3,670 | /**
* Module dependencies.
*/
var EventEmitter = require('events').EventEmitter
, amqp = require('amqp')
, util = require('util')
, Queue = require('./queue')
, Message = require('./message')
, NoQueueError = require('./errors/noqueueerror')
, NoSubscriptionError = require('./errors/nosubscriptionerror')
... | 16,143 |
https://github.com/Atlanticity91/Aurora/blob/master/Aurora/Diagnostics/DiagnosticReport.cs | Github Open Source | Open Source | MIT | null | Aurora | Atlanticity91 | C# | Code | 647 | 1,448 | /**
*
* /\
* / \ _ _ _ __ ___ _ __ __ _
* / /\ \| | | | '__/ _ \| '__/ _` |
* / ____ \ |_| | | | (_) | | | (_| |
* /_/ \_\__,_|_| \___/|_| \__,_|
*
* Licensed under the MIT License <http://opensource.org/licenses/MIT>.
* SPDX-License-Identifier :... | 28,179 |
https://github.com/themattharris/chimehack/blob/master/client/Pods/Pods-UIResponder+MNActions-dummy.m | Github Open Source | Open Source | MIT | 2,015 | chimehack | themattharris | Objective-C | Code | 10 | 58 | #import <Foundation/Foundation.h>
@interface PodsDummy_Pods_UIResponder_MNActions : NSObject
@end
@implementation PodsDummy_Pods_UIResponder_MNActions
@end
| 10,728 |
https://github.com/bmottag/andromeda/blob/master/assets/js/validate/inspection/vehicle_inspection_v2.js | Github Open Source | Open Source | MIT | null | andromeda | bmottag | JavaScript | Code | 412 | 1,457 | $( document ).ready( function () {
$("#hours").bloquearTexto().maxlength(10);
$( "#form" ).validate( {
rules: {
hours: { number: true, minlength: 2, maxlength: 10 },
belt: { required: true },
powerSteering: { required: true },
oil: { required: true },
coolantLevel: { required: true ... | 32,691 |
https://github.com/pankajsa/splus/blob/master/splus/commands/clientuser_commands.py | Github Open Source | Open Source | MIT | 2,020 | splus | pankajsa | Python | Code | 377 | 1,267 | import logging
import click
from common import add_if
from common import send_response
from common import my_global_options
from managers import RestMgr
suburl = 'clientUsernames'
logger = logging.getLogger(__name__)
@click.group()
def clientuser():
pass
@clientuser.command()
@click.argument("name")
@click.op... | 725 |
https://github.com/pushpithaDilhan/ReadItNow/blob/master/resources/views/book.blade.php | Github Open Source | Open Source | MIT | 2,017 | ReadItNow | pushpithaDilhan | Blade | Code | 223 | 1,262 | @extends('layouts.master')
@section('title')
Book Shelf
@endsection
@section('content')
@include('layouts.navbar-bookreader')
<div style="margin-top:180px;">
<img src="{{URL::asset('/books/'.$image.'.jpg')}}" alt="profile Pic" style="display:inline; margin-left:80px;" width="256" height="384"> ... | 54,216 |
https://github.com/DasSheep/Massivesoft_ITE220/blob/master/secure/config.php | Github Open Source | Open Source | MIT | 2,017 | Massivesoft_ITE220 | DasSheep | PHP | Code | 63 | 305 | <?php //Created by Trin [DB connector and config]
ob_start();
session_start();
date_default_timezone_set('Asia/Bangkok'); //DB credentials !CHANGE IF NEW HOST!
define('DBHOST','localhost');
define('DBUSER','root');
define('DBPASS','');
define('DBNAME','Massivesoft');
define('DIR',... | 53,919 |
https://github.com/SoporteUti/Graduacion/blob/master/pguesfinal/resources/views/ues/solicitudes/reprobacionxabandono.blade.php | Github Open Source | Open Source | MIT | 2,021 | Graduacion | SoporteUti | Blade | Code | 447 | 2,213 | <div style="width: 20px;float: left;">
<img src="{{ public_path('img/minerva2.png') }}" width="100px" height="110px" ></img>
</div>
<style type="text/css">
html {
margin:2cm 2cm 2cm 2cm;
}
</style>
<h4 align="center">
Universidad de El Salvador<br>
Facultad Multidisciplinaria Paracentral<br>
@foreach($grupo as $g... | 6,880 |
https://github.com/kcgithub2014/setup/blob/master/preferences/_os_.prefs | Github Open Source | Open Source | MIT | 2,018 | setup | kcgithub2014 | Shell | Code | 47 | 149 | #!/usr/bin/env zsh
# Set wallpaper
CURRENT_WALLPAPER=$DIR_SYNC/Wallpapers/wallpaper_mikael_gustafsson.png
echo_title "Updating wallpaper to $CURRENT_WALLPAPER"
# npmig wallpaper-cli
# wallpaper $CURRENT_WALLPAPER
# wallpaper-cli does not like macos-refresh method
# so this simple command below is enough for macOS
osas... | 24,734 |
https://github.com/awesome-archive/WeRoBot/blob/master/travis/terryfy/test_pyver_ge.sh | Github Open Source | Open Source | BSD-2-Clause, MIT | 2,017 | WeRoBot | awesome-archive | Shell | Code | 96 | 269 | # Test python version comparison utility
if [ -n "$(pyver_ge 2.7.8 3.4.0)" ]; then RET=1; fi
if [ -z "$(pyver_ge 3.8.2 3.4.0)" ]; then RET=1; fi
if [ -n "$(pyver_ge 3.3.8 3.4.0)" ]; then RET=1; fi
if [ -z "$(pyver_ge 2.7.8 2.6.9)" ]; then RET=1; fi
if [ -z "$(pyver_ge 3.4.0 3.4.0)" ]; then RET=1; fi
if [ -n "$(pyver_ge... | 6,578 |
https://github.com/kchulj/boa-sdk-ts/blob/master/src/modules/net/error/ErrorTypes.ts | Github Open Source | Open Source | MIT | 2,021 | boa-sdk-ts | kchulj | TypeScript | Code | 369 | 866 | /*******************************************************************************
Contains definition for error types
Copyright:
Copyright (c) 2020-2021 BOSAGORA Foundation
All rights reserved.
License:
MIT License. See LICENSE for details.
****************************************... | 10,412 |
https://github.com/leonardolira14/serverqvalapp/blob/master/application/controllers/Clientes.php | Github Open Source | Open Source | MIT | null | serverqvalapp | leonardolira14 | PHP | Code | 75 | 514 | <?php
defined('BASEPATH') OR exit('No direct script access allowed');
require_once( APPPATH.'/libraries/REST_Controller.php' );
use Restserver\libraries\REST_Controller;
class Clientes extends REST_Controller {
function __construct()
{
header("Access-Control-Allow-Methods: GET");
header("Access-Contr... | 17,721 |
https://github.com/CS2103-AY1819S2-W13-3/main/blob/master/src/main/java/seedu/address/ui/SourceCard.java | Github Open Source | Open Source | MIT | 2,019 | main | CS2103-AY1819S2-W13-3 | Java | Code | 204 | 621 | package seedu.address.ui;
import javafx.fxml.FXML;
import javafx.scene.control.Label;
import javafx.scene.layout.FlowPane;
import javafx.scene.layout.HBox;
import javafx.scene.layout.Region;
import seedu.address.model.source.Source;
/**
* An UI component that displays information of a {@code Source}.
*/
public clas... | 46,451 |
https://github.com/learn-more/BadApp/blob/master/BadApp/Heap.c | Github Open Source | Open Source | MIT | 2,022 | BadApp | learn-more | C | Code | 315 | 1,058 | /*
* PROJECT: BadApp
* LICENSE: MIT (https://spdx.org/licenses/MIT)
* PURPOSE: Heap bugs
* COPYRIGHT: Copyright 2018 Mark Jansen (mark.jansen@reactos.org)
*/
#include "stdafx.h"
static HANDLE g_Heap1;
static HANDLE g_Heap2;
#define ALLOCATION_SIZE 0x0d
PVOID BADAPP_EXPORT DoAllocation(void)
{... | 18,112 |
https://github.com/AmanziTel/neo4j-index/blob/master/lib/neo4j-index/range_tree/index_node.rb | Github Open Source | Open Source | MIT | 2,011 | neo4j-index | AmanziTel | Ruby | Code | 76 | 329 | module Neo4jIndex
module RangeTree
module IndexNode
class << self
def create_raw(index_values, level)
index_node = Neo4j::Node.new
index_node[:level] = level
index_node[:index_values] = index_values
index_node
end
def create_first(indexer, va... | 14,617 |
https://github.com/vishalbelsare/XDATA/blob/master/textstructure/topic/src/chowtree/InterfaceObservationLikelihood.h | Github Open Source | Open Source | Apache-2.0 | 2,016 | XDATA | vishalbelsare | C++ | Code | 192 | 521 |
#ifndef INTERFACEOBSERVATIONLIKELIHOOD_H_
#define INTERFACEOBSERVATIONLIKELIHOOD_H_
#include <vector>
#include <string>
#include "InterfaceDetectorModel.h"
//#include "InterfacePlaceModel.h"
class InterfaceObservationLikelihood {
public:
//takes the training data in the form [image[histogram of image]] and generat... | 17,103 |
https://github.com/budeci/amma-1/blob/master/resources/views/partials/products/item-block.blade.php | Github Open Source | Open Source | MIT | 2,016 | amma-1 | budeci | Blade | Code | 34 | 196 | <div class="item product">
@include('partials.products.item.info-label')
<div class="display-table">
<div class="wrapp_img with_hover td wrapp_countdown">
{{--@include('partials.products.item.countdown')--}}
<a href="{{ route('view_product', ['product' => $item->id]) }}"><img sr... | 6,845 |
https://github.com/tatarch/yii/blob/master/views/list/index.php | Github Open Source | Open Source | 2,020 | yii | tatarch | PHP | Code | 116 | 456 | <?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
use unclead\multipleinput\MultipleInput;
/* @var $this yii\web\View */
/** @var \app\models\TaskList[] $taskLists */
$this->title = 'Task Lists';
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="task-list-index">
<h1><?= Html::encode($this->t... | 11,420 | |
https://github.com/Morning-Train/wp-blocks/blob/master/src/Classes/BlockMeta.php | Github Open Source | Open Source | MIT, LicenseRef-scancode-unknown-license-reference | 2,022 | wp-blocks | Morning-Train | PHP | Code | 116 | 370 | <?php
namespace Morningtrain\WP\Blocks\Classes;
use Mockery\Exception;
class BlockMeta
{
public array $editorStyleDependencies = [];
public mixed $renderCallback = null;
public mixed $view = null;
public array $scriptDependencies = [];
public array $styleDependencies = [];
public function __... | 1,537 |
https://github.com/remicollet/horde/blob/master/chora/lib/Renderer/File/Plain.php | Github Open Source | Open Source | Adobe-Glyph | null | horde | remicollet | PHP | Code | 50 | 130 | <?php
/**
* Copyright 2000-2017 Horde LLC (http://www.horde.org/)
*
* See the enclosed file COPYING for license information (GPL). If you
* did not receive this file, see http://www.horde.org/licenses/gpl.
*
* @author Chuck Hagenbuch <chuck@horde.org>
* @package Chora
*/
class Chora_Renderer_File_Plain extends... | 46,910 |
https://github.com/bepintocosta/CleanArchitecture/blob/master/src/Application/Features/Products/Queries/GetAllProducts/GetAllProductsQueryHandler.cs | Github Open Source | Open Source | MIT | 2,021 | CleanArchitecture | bepintocosta | C# | Code | 60 | 308 | namespace CleanArchitecture.Application.Features.Products.Queries.GetAllProducts;
using CleanArchitecture.Application.Common.Wrappers;
using MediatR;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
public class GetAllProductsQueryHandler : IRequestHandler<GetAllProductsQuery, Result<PagedRes... | 35,924 |
https://github.com/l00k/phala-miner-monitor-ui/blob/master/src/core/Loader/ModuleLoader.ts | Github Open Source | Open Source | MIT | 2,021 | phala-miner-monitor-ui | l00k | TypeScript | Code | 116 | 321 | import { InitiationException } from '@100k/intiv/Exception';
type Callback = (data : any, previousResult : any) => any;
type Listners = {
[eventName : string] : Callback[]
};
export default class ModuleLoader
{
public async _loadModules(types : string[], require)
{
const modules = [];
... | 6,148 |
https://github.com/LucidSigma/Daily-Coding-Problems/blob/master/Days 221 - 230/Day 227/BoggleWordFinder.cpp | Github Open Source | Open Source | MIT | null | Daily-Coding-Problems | LucidSigma | C++ | Code | 295 | 940 | #include <algorithm>
#include <array>
#include <cstddef>
#include <cstdlib>
#include <iostream>
#include <iterator>
#include <string>
#include <vector>
static constexpr size_t GridSize = 4u;
using Dictionary = std::vector<std::string>;
using BoggleGrid = std::array<std::array<char, GridSize>, GridSize>;
using Visited... | 17,620 |
https://github.com/test-ci-bot/fabric8-planner/blob/master/src/app/components_ngrx/label-selector/label-selector.component.ts | Github Open Source | Open Source | Apache-2.0 | null | fabric8-planner | test-ci-bot | TypeScript | Code | 497 | 1,848 | import { EventService } from './../../services/event.service';
import {
Component,
ElementRef,
EventEmitter,
Input,
Output,
OnInit,
SimpleChanges,
ViewChild
} from '@angular/core';
import { cloneDeep } from 'lodash';
import { LabelUI, LabelModel } from './../../models/label.model';
import { LabelService... | 42,797 |
https://github.com/RajeshMaster/larainvoice/blob/master/resources/views/Engineerdetails/index.blade.php | Github Open Source | Open Source | MIT | null | larainvoice | RajeshMaster | PHP | Code | 1,213 | 5,212 | @extends('layouts.app')
@section('content')
@php use App\Http\Helpers; @endphp
<script type="text/javascript">
var datetime = '<?php echo date('Ymdhis'); ?>';
var mainmenu = '<?php echo $request->mainmenu; ?>';
$(document).ready(function() {
setDatePicker("startdate");
setDatePicker("enddate");
});
fu... | 43,089 |
https://github.com/zhangjunfang/jstorm-0.9.6.3-/blob/master/jstorm-client/src/main/java/backtype/storm/metric/api/MultiCountMetric.java | Github Open Source | Open Source | Apache-2.0 | 2,015 | jstorm-0.9.6.3- | zhangjunfang | Java | Code | 72 | 243 | package backtype.storm.metric.api;
import backtype.storm.metric.api.IMetric;
import java.util.HashMap;
import java.util.Map;
@SuppressWarnings({"unchecked","rawtypes"})
public class MultiCountMetric implements IMetric {
Map<String, CountMetric> _value = new HashMap();
public MultiCountMetric() {
}
public CountM... | 29,543 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.