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/Natasha2805/basic-js/blob/master/src/dream-team.js | Github Open Source | Open Source | MIT | null | basic-js | Natasha2805 | JavaScript | Code | 46 | 138 | const CustomError = require("../extensions/custom-error");
module.exports = function createDreamTeam(members) {
//throw new CustomError('Not implemented');
if (Array.isArray(members) == false) {
return false;
}
let newarr= [];
for (let element of members) {
if (typeof element == 'string') {
let... | 31,774 |
https://github.com/NightOfTwelve/iOS-Cracked-Apps/blob/master/DumpedClasses/News/ActionButton.h | Github Open Source | Open Source | MIT | 2,018 | iOS-Cracked-Apps | NightOfTwelve | Objective-C | Code | 176 | 760 | //
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "SSViewBase.h"
@class NSMutableDictionary, UIButton, UIImageView, UILabel;
@interface ActionButton : SSViewBase
{
UILabel *titleLabel;
UIImageView *imageView;
... | 46,087 |
https://github.com/zaimon01/adsi-1804230/blob/master/19-Laravel/proyLaravel/app/Http/Controllers/CategoryController.php | Github Open Source | Open Source | MIT | 2,020 | adsi-1804230 | zaimon01 | PHP | Code | 370 | 1,261 | <?php
namespace App\Http\Controllers;
use App\Category;
use Illuminate\Http\Request;
use Illuminate\Support\Str;
use App\Http\Requests\CategoryRequest;
use App\Exports\CategoriesExport;
use App\Imports\CategoriesImport;
class CategoryController extends Controller
{
/**
* Display a listing of the resource.... | 13,986 |
https://github.com/techonomics69/cartodb/blob/master/app/assets/stylesheets/common/pagination.css.scss | Github Open Source | Open Source | BSD-3-Clause | null | cartodb | techonomics69 | SCSS | Code | 143 | 572 | @import '../variables/mixins';
@import '../variables/colors';
@import '../variables/sizes';
.Pagination {
@include display-flex();
@include justify-content(center, center);
@include align-items(center, center);
}
.Pagination--shareList {
@include display-flex();
@include justify-content(flex-end, end);
pad... | 28,599 |
https://github.com/Beefster09/dotfiles/blob/master/zsh/colors.zsh | Github Open Source | Open Source | MIT | 2,021 | dotfiles | Beefster09 | Shell | Code | 46 | 121 | #!/bin/sh
# Configure terminal colors
colorflag="-G"
alias ls="command ls ${colorflag}"
alias l="ls -lF ${colorflag}" # all files, in long format
alias la="ls -laF ${colorflag}" # all files inc dotfiles, in long format
alias lsd='ls -lF ${colorflag} | grep "^d"' # only directories
export CLICOLOR=true
export LSCOLOR... | 41,981 |
https://github.com/Bassetts/f1-telemetry-parser/blob/master/src/mappings/driver_status.rs | Github Open Source | Open Source | MIT | 2,020 | f1-telemetry-parser | Bassetts | Rust | Code | 185 | 734 | use std::convert::TryFrom;
use nom::combinator::map_res;
use nom::number::complete::le_u8;
use crate::ParseResult;
#[derive(Debug, Clone, Copy, Eq, PartialEq)]
#[repr(u8)]
pub enum DriverStatus {
InGarage = 0,
FlyingLap = 1,
InLap = 2,
OutLap = 3,
OnTrack = 4,
}
#[non_exhaustive]
pub struct Inva... | 13,548 |
https://github.com/compilerexe-freelance/laravel-talenmobility/blob/master/app/Http/Controllers/CHPageController.php | Github Open Source | Open Source | MIT | null | laravel-talenmobility | compilerexe-freelance | PHP | Code | 230 | 1,280 | <?php
namespace App\Http\Controllers;
use App\Users;
use App\Http\Controllers\Controller;
class CHPageController extends Controller
{
public function getIndex(){
return view('clearinghouse.index');
}
public function getProjectManagement(){
return view('clearinghouse.include.project-manag... | 38,588 |
https://github.com/yuan-kuan/zasa/blob/master/src/app/sop/filter_ops.expiry.test.js | Github Open Source | Open Source | MIT | null | zasa | yuan-kuan | JavaScript | Code | 723 | 2,843 | import * as R from 'ramda';
import { createTestHelper } from 'test/utils';
import * as free from 'fp/free';
import { deleteAllDocs } from 'app/database';
import * as batch_ops from './batch_ops';
import * as item_ops from './item_ops';
import * as filter_ops from './filter_ops';
import * as tag_ops from "./tag_ops";
... | 12,661 |
https://github.com/cmdlabs/terraform-aws-gitlab-runner-spot/blob/master/template/user-data.sh.tpl | Github Open Source | Open Source | Apache-2.0 | 2,020 | terraform-aws-gitlab-runner-spot | cmdlabs | null | Spoken | 314 | 1,316 | #!/usr/bin/env bash
awslogs_conf='/etc/awslogs/awslogs.conf'
awscli_conf='/etc/awslogs/awscli.conf'
config_toml='/etc/gitlab-runner/config.toml'
update_hosts_file() {
echo "\
127.0.0.1 localhost localhost.localdomain $(hostname)" \
>> /etc/hosts
}
update_system() {
yum -y update
}
install_deps() {
yum -y ... | 48,020 |
https://github.com/isabella232/symfony-application-tests/blob/master/src/Webfactory/Util/VendorResources.php | Github Open Source | Open Source | MIT | 2,020 | symfony-application-tests | isabella232 | PHP | Code | 308 | 667 | <?php
namespace Webfactory\Util;
/**
* Helper methods to check if resources are located in the vendor directory.
*
* The implementation uses the file path of Composer's class loader to
* determine the vendor directory.
* This avoids problems, when the name of the vendor directory is changed.
*
* To make things... | 17,219 |
https://github.com/WxiaoM/IRiskSDK/blob/master/IRiskSDK.framework/PrivateHeaders/UIColor+Hex.h | Github Open Source | Open Source | MIT | null | IRiskSDK | WxiaoM | C | Code | 91 | 389 | //
// UIColor+Hex.h
// MCRM
//
// Created by 蒋雪姣 on 16/3/23.
// Copyright © 2016年 movit-tech. All rights reserved.
//
#import <UIKit/UIKit.h>
#define UIColorFromRGB(rgbValue,alphaValue) [UIColor \
colorWithRed:((float)((rgbValue & 0xFF0000) >> 16))/255.0 \
green:((float)((rgbValue & 0xFF00) >> 8))/255.0 \
blue... | 31,780 |
https://github.com/nilasini/identity-api-server/blob/master/components/org.wso2.carbon.identity.api.server.application.management/org.wso2.carbon.identity.api.server.application.management.v1/src/main/java/org/wso2/carbon/identity/api/server/application/management/v1/core/functions/application/inbound/saml/SAMLSSOServi... | Github Open Source | Open Source | Apache-2.0 | 2,021 | identity-api-server | nilasini | Java | Code | 353 | 2,074 | /*
* Copyright (c) 2019, WSO2 Inc. (http://www.wso2.org) 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
*
* Unles... | 51,003 |
https://github.com/mrbatista/loopback-connector-arangodb/blob/master/test/imported.test.coffee | Github Open Source | Open Source | MIT | 2,021 | loopback-connector-arangodb | mrbatista | CoffeeScript | Code | 13 | 90 | describe 'arangodb imported features', () ->
before () ->
require('./init')
require('loopback-datasource-juggler/test/common.batch')
require('loopback-datasource-juggler/test/default-scope.test')
require('loopback-datasource-juggler/test/include.test')
| 16,996 |
https://github.com/communcom/ios-client/blob/master/Commun/Vendor/Base/BaseVCs/SwipeBackNavigationController.swift | Github Open Source | Open Source | MIT | null | ios-client | communcom | Swift | Code | 228 | 611 | //
// SwipeBackNavigationController.swift
// Commun
//
// Created by Chung Tran on 4/21/20.
// Copyright © 2020 Commun Limited. All rights reserved.
//
import Foundation
class SwipeNavigationController: BaseNavigationController {
override init(rootViewController: UIViewController, tabBarVC: TabBarVC? = nil) {... | 47,846 |
https://github.com/Verteiron/JContainers/blob/master/dep/skse/skse/NiGeometry.cpp | Github Open Source | Open Source | MIT | 2,018 | JContainers | Verteiron | C++ | Code | 237 | 993 | #include "NiGeometry.h"
#include "GameAPI.h"
void NiGeometryData::AllocateVerts(UInt32 numVerts)
{
m_pkVertex = (NiPoint3 *)FormHeap_Allocate(sizeof(NiPoint3) * numVerts);
m_pkTexture = (float *)FormHeap_Allocate(sizeof(float) * 2 * numVerts);
memset(m_pkVertex, 0, sizeof(NiPoint3) * numVerts);
memset(m_pkTexture... | 41,565 |
https://github.com/snikolow/silex-issue-tracker/blob/master/src/Service/Mailer/Adapter/MailerGmail.php | Github Open Source | Open Source | MIT | 2,016 | silex-issue-tracker | snikolow | PHP | Code | 43 | 144 | <?php
namespace Tracker\Service\Mailer\Adapter;
use Tracker\Service\Mailer\AbstractMailer;
use Tracker\Service\Mailer\MailerInterface;
class MailerGmail extends AbstractMailer implements MailerInterface {
public function getHost() {
return 'smtp.gmail.com';
}
public function getPort() {... | 33,634 |
https://github.com/sangkyunyoon/SpringBoot-front-Template/blob/master/src/main/java/com/handcoding/front/api/admin/AdminClient.java | Github Open Source | Open Source | MIT | 2,018 | SpringBoot-front-Template | sangkyunyoon | Java | Code | 99 | 387 | package com.handcoding.front.api.admin;
import java.util.List;
import java.util.Map;
import com.handcoding.front.domain.ApiClientAuthVO;
import com.handcoding.front.domain.ResponseVO;
import com.handcoding.front.domain.out.OutOauthClientApiAuthVO;
import retrofit2.Call;
import retrofit2.http.Body;
import retrofit2.h... | 33,608 |
https://github.com/LongerVisionUSA/VTK/blob/master/IO/Core/Testing/Cxx/TestArraySerialization.cxx | Github Open Source | Open Source | BSD-3-Clause | null | VTK | LongerVisionUSA | C++ | Code | 594 | 3,211 | /*=========================================================================
Program: Visualization Toolkit
Module: TestArraySerialization.cxx
-------------------------------------------------------------------------
Copyright 2008 Sandia Corporation.
Under the terms of Contract DE-AC04-94AL85000 with San... | 38,443 |
https://github.com/tianleiyiji123/Express-blog-Mongodb/blob/master/views/footer.jade | Github Open Source | Open Source | MIT | null | Express-blog-Mongodb | tianleiyiji123 | null | Spoken | 6 | 19 | //
Created by wanglei on 2016/8/30.
| 39,497 |
https://github.com/ThomasKoinig/Catroweb-Symfony/blob/master/spec/Catrobat/AppBundle/Entity/TemplateManagerSpec.php | Github Open Source | Open Source | MIT | null | Catroweb-Symfony | ThomasKoinig | PHP | Code | 138 | 943 | <?php
namespace spec\Catrobat\AppBundle\Entity;
use Catrobat\AppBundle\Exceptions\InvalidCatrobatFileException;
use Doctrine\ORM\Mapping\ClassMetadata;
use PhpSpec\ObjectBehavior;
use Prophecy\Argument;
use Catrobat\AppBundle\Entity\GameJam;
use Sonata\CoreBundle\Model\Metadata;
class TemplateManagerSpec extends Obje... | 13,652 |
https://github.com/nagatavit/twenty-five-days-of-golfmas-2021/blob/master/day-16/first.go | Github Open Source | Open Source | Unlicense | null | twenty-five-days-of-golfmas-2021 | nagatavit | Go | Code | 666 | 1,737 | package main
import (
"encoding/hex"
"fmt"
"log"
)
type generalPacket struct {
// 3 bits
version byte
// 3 bits
typeID byte
// literal value or operator
content interface{}
}
// type ID == 4
//
// Padded with zeros, grouped into blocks of 4 with a leading
// indicator of 1 if it not the last block or 0 if i... | 38,091 |
https://github.com/duarten/midonet/blob/master/midonet-util/src/main/java/org/midonet/packets/IPv4Subnet.java | Github Open Source | Open Source | Apache-2.0 | null | midonet | duarten | Java | Code | 728 | 1,835 | /*
* Copyright 2015 Midokura SARL
*
* 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 t... | 12,689 |
https://github.com/masteroke/OKESM/blob/master/assets/js/lib/demos/react/app/tagcloud/customtags/app.js | Github Open Source | Open Source | MIT, LicenseRef-scancode-unknown-license-reference | 2,018 | OKESM | masteroke | JavaScript | Code | 186 | 589 | import React from 'react';
import ReactDOM from 'react-dom';
import JqxTagCloud from '../../../jqwidgets-react/react_jqxtagcloud.js';
class App extends React.Component {
render () {
let data = [
{ countryName: 'Australia', technologyRating: 35, url: 'test' },
{ countryNam... | 41,735 |
https://github.com/enak/AdaptiveCards/blob/master/source/android/mobile/src/main/java/io/adaptivecards/adaptivecardssample/CustomObjects/CardElements/CustomInput.java | Github Open Source | Open Source | MIT | null | AdaptiveCards | enak | Java | Code | 244 | 1,121 | package io.adaptivecards.adaptivecardssample.CustomObjects.CardElements;
import android.content.Context;
import android.graphics.Color;
import android.support.v4.app.FragmentManager;
import android.view.View;
import android.view.ViewGroup;
import android.widget.EditText;
import android.widget.LinearLayout;
import org... | 18,903 |
https://github.com/brzozasr/WeatherAPI/blob/master/Models/PointWeatherHistorical/AggWindSpeed.cs | Github Open Source | Open Source | Apache-2.0 | null | WeatherAPI | brzozasr | C# | Code | 25 | 61 | namespace WeatherAPI.Models.PointWeatherHistorical
{
public class AggWindSpeed : Aggregation
{
public float? WindSpeedMin { get; set; }
public float? WindSpeedMax { get; set; }
}
} | 13,423 |
https://github.com/KDahlgren/iapyx/blob/master/src/dedt/dedt.py | Github Open Source | Open Source | MIT | 2,018 | iapyx | KDahlgren | Python | Code | 3,037 | 7,293 | #!/usr/bin/env python
'''
dedt.py
Define the functionality for converting parsed Dedalus into
SQL relations (the intermediate representation).
IR SCHEMA:
Fact ( fid text, name text, timeArg text )
FactData ( fid text, dataID int, data text... | 26,034 |
https://github.com/Homebrew/homebrew-core/blob/master/Formula/f/fdclone.rb | Github Open Source | Open Source | BSD-2-Clause | 2,023 | homebrew-core | Homebrew | Ruby | Code | 132 | 1,031 | class Fdclone < Formula
desc "Console-based file manager"
homepage "https://hp.vector.co.jp/authors/VA012337/soft/fd/"
url "http://www.unixusers.net/src/fdclone/FD-3.01j.tar.gz"
sha256 "fe5bb67eb670dcdb1f7368698641c928523e2269b9bee3d13b3b77565d22a121"
livecheck do
url :homepage
regex(%r{href=.*?\./FD... | 10,664 |
https://github.com/Oceaneyes123/Book71/blob/master/resources/js/components/Books/FreeTalking-Opinion-LG/FreeTalking-Opinion-LG6/Unit6.vue | Github Open Source | Open Source | MIT | 2,021 | Book71 | Oceaneyes123 | Vue | Code | 609 | 1,989 | <template>
<div :style = "{fontSize: fontSize + 'px'}">
<v-container fluid ma-0 pa-0>
<v-layout column>
<v-img src="https://image.freepik.com/free-photo/thai-traditional-street-food-grasshoppers-larvae-market-counter-concept-traditional-exotic-food_169016-4779.jpg" style="max-width: 100%; display... | 39,668 |
https://github.com/jsxtech/hanami/blob/master/spec/isolation/hanami/boot/success_spec.rb | Github Open Source | Open Source | MIT | 2,022 | hanami | jsxtech | Ruby | Code | 90 | 307 | # frozen_string_literal: true
require "hanami/action"
require "hanami/logger"
module Bookshelf
class App < Hanami::App
end
end
module Web
end
slice = Hanami.app.register_slice :web, namespace: Web
Hanami.prepare
Hanami.app.routes do
mount :web, at: "/" do
root to: "home#index"
end
end
module Web
cla... | 50,981 |
https://github.com/imagineeeinc/Wood_Note/blob/master/service-worker.js | Github Open Source | Open Source | MIT, BSD-3-Clause | 2,020 | Wood_Note | imagineeeinc | JavaScript | Code | 57 | 258 | const cacheName = 'wood note';
self.addEventListener('install', e => {
e.waitUntil(
caches.open(cacheName).then(cache => {
return cache.addAll([
`/`,
`/index.html`,
`/src/style.css`,
`/src/app.js`,
`/src/emojiPicker.js`,
`/Favicon/favicon.ico`,
`/offli... | 23,060 |
https://github.com/dineshshitole/VehicleManagementSystem/blob/master/VehicleManagementSystem/Global.asax.cs | Github Open Source | Open Source | MIT | 2,023 | VehicleManagementSystem | dineshshitole | C# | Code | 121 | 445 | using System;
using System.Text;
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;
namespace VehicleManagementSystem
{
public class MvcApplication : System.Web.HttpApplication
{
protected void Application_Start()
{
AreaRegistration.RegisterAllAreas();
Rou... | 1,510 |
https://github.com/zp80151/sansan/blob/master/huiche-dao/src/main/java/org/huiche/dao/curd/ListQuery.java | Github Open Source | Open Source | Apache-2.0 | 2,022 | sansan | zp80151 | Java | Code | 376 | 1,218 | package org.huiche.dao.curd;
import com.querydsl.core.types.OrderSpecifier;
import com.querydsl.core.types.Predicate;
import com.querydsl.sql.SQLQuery;
import org.huiche.core.util.StringUtil;
import org.huiche.dao.provider.PathProvider;
import org.huiche.dao.provider.SqlProvider;
import org.huiche.dao.util.QueryUtil;
... | 13,394 |
https://github.com/sebgatullah372/Primary-school-management-system/blob/master/admin/school_information.php | Github Open Source | Open Source | MIT, CC-BY-3.0, CC-BY-4.0 | 2,020 | Primary-school-management-system | sebgatullah372 | PHP | Code | 185 | 840 | <?php
include './includes/header.php';
require('./includes/db_connection.php');
?>
<div class="content-wrapper">
<div class="container-fluid">
<!-- Breadcrumbs -->
<ol class="breadcrumb">
<li class="breadcrumb-item">
<a href="#">Dashboard</a>
</li>
... | 18,730 |
https://github.com/gps4net/g4nstack/blob/master/libraries/g4nc/g4nalarm.h | Github Open Source | Open Source | BSD-3-Clause | null | g4nstack | gps4net | C | Code | 494 | 1,060 | #ifndef G4NALARM_H
#define G4NALARM_H
#include <stdbool.h>
#include "g4nutil.h"
typedef struct {
Network network;
// bool network1; /* Indicates the network.True if local/home, false if roaming */
bool alarms; /* Indicates if the alarms are allowed for the selected network. */
bo... | 35,076 |
https://github.com/Haaaqs/website/blob/master/src/pages/videos.js | Github Open Source | Open Source | MIT | null | website | Haaaqs | JavaScript | Code | 171 | 451 | import React, { Component } from 'react';
import Layout from '../components/layout/layout';
import CardList from '../components/CardList';
import YouTubeVideo from '../components/YouTubeVideo';
import fetchYouTubeChannelVideos from '../data/youtube-feed';
class YouTubeVideoContainer extends Component {
state = { ... | 37,343 |
https://github.com/infifni/fan-courier-api-client/blob/master/src/Request/TrackAwb.php | Github Open Source | Open Source | MIT | 2,023 | fan-courier-api-client | infifni | PHP | Code | 202 | 662 | <?php
/**
* This file was created by the developers from Infifni.
* Feel free to contact us once you face any issues or want to start
* another great project.
* You can find more information about us on https://infifnisoftware.ro and write us
* an email on contact@infifnisoftware.ro.
*/
namespace Infifni\FanCou... | 18,855 |
https://github.com/mylab-tools/mq/blob/master/src/MyLab.Mq/MqObjects/MqQueue.cs | Github Open Source | Open Source | MIT | null | mq | mylab-tools | C# | Code | 410 | 1,353 | using System;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using MyLab.Mq.Communication;
using Newtonsoft.Json;
using RabbitMQ.Client;
using RabbitMQ.Client.Events;
using RabbitMQ.Client.Exceptions;
namespace MyLab.Mq.MqObjects
{
/// <summary... | 3,267 |
https://github.com/rekurzia/slovak-holidays/blob/master/tests/EasterDate.test.phpt | Github Open Source | Open Source | MIT | 2,022 | slovak-holidays | rekurzia | PHP | Code | 198 | 448 | <?php
require __DIR__ . '/bootstrap.php';
use Tester\Assert;
use Rekurzia\SlovakHolidays\EasterDate;
for ($year = 1582; $year <= 10000; $year++) {
Assert::same(EasterDate::get($year), getGaussEasterDate($year));
}
/**
* Gauss algorithm to compute Easter date
* @param $year
* @return int timestamp
*/
function g... | 52,565 |
https://github.com/vst-h/DotNetCore.SKIT.FlurlHttpClient.Wechat/blob/master/src/SKIT.FlurlHttpClient.Wechat.Api/Models/Product/Register/ProductRegisterSubmitMerchantInfoRequest.cs | Github Open Source | Open Source | MIT | null | DotNetCore.SKIT.FlurlHttpClient.Wechat | vst-h | C# | Code | 697 | 3,480 | using System.Collections.Generic;
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
{
/// <summary>
/// <para>表示 [POST] /product/register/submit_merchantinfo 接口的请求。</para>
/// </summary>
public class ProductRegisterSubmitMerchantInfoRequest : WechatApiRequest, IMapResponse<ProductRegisterSubmitMerchant... | 42,213 |
https://github.com/qanat/wpt/blob/master/speculation-rules/prerender/resources/shared-worker.py | Github Open Source | Open Source | BSD-3-Clause | 2,022 | wpt | qanat | Python | Code | 30 | 162 | def main(request, response):
if b"check" in request.GET:
with request.server.stash.lock:
result = request.server.stash.take(request.GET[b"id"])
response.headers.set(b"Content-Type", b"text/plain")
return result
else:
with request.server.stash.lock:
... | 7,518 |
https://github.com/carrot-garden/native_usb4java/blob/master/src/test/java/org/usb4java/LibUsbDeviceTest.java | Github Open Source | Open Source | MIT | null | native_usb4java | carrot-garden | Java | Code | 2,807 | 9,759 | /*
* Copyright (C) 2013 Klaus Reimer <k@ailis.de>
* See LICENSE.md for licensing information.
*/
package org.usb4java;
import static org.usb4java.test.UsbAssume.assumeUsbTestsEnabled;
import static org.usb4java.test.UsbAssume.isUsbTestsEnabled;
import static org.junit.Assert.assertEquals;
import static org.junit.A... | 50,620 |
https://github.com/remore/gemstat/blob/master/lib/gemstat/cache/gemfiles/a/afeld-opencv:0.0.8/Gemfile | Github Open Source | Open Source | MIT | 2,015 | gemstat | remore | Ruby | Code | 10 | 35 | gem 'rdoc'
gem 'rake-compiler'
gem 'hoe-gemspec'
gem 'rspec'
gem 'hoe'
| 27,545 |
https://github.com/Samsung/Castanets/blob/master/remoting/signaling/muxing_signal_strategy.h | Github Open Source | Open Source | BSD-3-Clause | 2,021 | Castanets | Samsung | C++ | Code | 384 | 992 | // Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef REMOTING_SIGNALING_MUXING_SIGNAL_STRATEGY_H_
#define REMOTING_SIGNALING_MUXING_SIGNAL_STRATEGY_H_
#include <memory>
#include "base/macros.h"
#in... | 1,958 |
https://github.com/ericboehs/stacky/blob/master/app/channels/application_cable/commands_channel.rb | Github Open Source | Open Source | MIT | 2,017 | stacky | ericboehs | Ruby | Code | 10 | 38 | class CommandsChannel < ApplicationCable::Channel
def subscribed
stream_from "commands_#{current_user.id}"
end
end
| 20,282 |
https://github.com/bgoonz/UsefulResourceRepo2.0/blob/master/MY_REPOS/misc-experiments/_FIREBFIRE/grpc/third_party/upb/upb/reflection.h | Github Open Source | Open Source | Apache-2.0, MIT | 2,022 | UsefulResourceRepo2.0 | bgoonz | C | Code | 864 | 2,129 |
#ifndef UPB_REFLECTION_H_
#define UPB_REFLECTION_H_
#include "upb/def.h"
#include "upb/msg.h"
#include "upb/upb.h"
#include "upb/port_def.inc"
typedef union {
bool bool_val;
float float_val;
double double_val;
int32_t int32_val;
int64_t int64_val;
uint32_t uint32_val;
uint64_t uint64_val;
const upb_... | 6,967 |
https://github.com/endeavourhealth/Transforms/blob/master/src/main/java/org/endeavourhealth/transform/ui/models/types/UIHumanName.java | Github Open Source | Open Source | Apache-2.0 | 2,021 | Transforms | endeavourhealth | Java | Code | 118 | 374 | package org.endeavourhealth.transform.ui.models.types;
import com.fasterxml.jackson.annotation.JsonInclude;
import java.util.List;
@JsonInclude(JsonInclude.Include.NON_NULL)
public class UIHumanName {
private String familyName;
private String[] givenNames;
private String prefix;
private String text;
... | 38,548 |
https://github.com/isabella232/design-system-windows/blob/master/SalesforceDesignSystem/MergedResources.xaml.cs | Github Open Source | Open Source | BSD-3-Clause | 2,018 | design-system-windows | isabella232 | C# | Code | 16 | 51 | namespace Salesforce.DesignSystem
{
public sealed partial class MergedResources
{
public MergedResources()
{
this.InitializeComponent();
}
}
}
| 3,292 |
https://github.com/onezens/QQTweak/blob/master/qqtw/qqheaders7.2/UIWindow-SwizzleMethod.h | Github Open Source | Open Source | MIT | 2,020 | QQTweak | onezens | C | Code | 32 | 109 | //
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "UIWindow.h"
@interface UIWindow (SwizzleMethod)
- (id)QQInitWithFrame:(struct CGRect)arg1;
- (void)QQSendEvent:(id)arg1;
@end
| 2,284 |
https://github.com/woodywood117/data-structures/blob/master/bst/bst.go | Github Open Source | Open Source | MIT | null | data-structures | woodywood117 | Go | Code | 392 | 1,027 | package bst
import "errors"
var ErrRepeatedValue = errors.New("repeated value")
type BST[T any] struct {
root *node[T]
cmp *func(a, b T) int // returns -1 if a < b, 0 if a == b, 1 if a > b
}
type node[T any] struct {
parent *node[T]
value T
left *node[T]
right *node[T]
}
func New[T any](cmp *func(a, b T... | 40,655 |
https://github.com/Philonous/udt-haskell/blob/master/src/Network/Udt.chs | Github Open Source | Open Source | MIT | 2,020 | udt-haskell | Philonous | null | Spoken | 1,428 | 3,356 | {-# LANGUAGE ForeignFunctionInterface #-}
{-# LANGUAGE DeriveDataTypeable #-}
{-# LANGUAGE ScopedTypeVariables #-}
#include "udt-wrapper.h"
#include "helpers.h"
module Network.Udt where
import Control.Exception.Base
import Control.Monad(when)
import Data.ByteString(ByteString)
import Data.ByteString.Unsafe(unsafeUs... | 8,542 |
https://github.com/souravroy/jeework/blob/master/jeework-web/src/main/java/com/wcs/commons/dict/controller/DictBean.java | Github Open Source | Open Source | Apache-2.0 | 2,012 | jeework | souravroy | Java | Code | 228 | 891 | package com.wcs.commons.dict.controller;
import java.io.Serializable;
import java.util.List;
import java.util.Locale;
import java.util.concurrent.TimeUnit;
import javax.ejb.EJB;
import javax.faces.bean.ApplicationScoped;
import javax.faces.bean.ManagedBean;
import javax.faces.context.FacesContext;
import javax.faces.... | 32,912 |
https://github.com/SunBoqiang/Examples-of-PowerSystemAnalysis/blob/master/chp6ex12.m | Github Open Source | Open Source | BSD-2-Clause | 2,020 | Examples-of-PowerSystemAnalysis | SunBoqiang | MATLAB | Code | 157 | 916 | % Example 6.12 Fast decoupled method
V1= 1.05; V2 = 1.0; V3 = 1.04;
d1 = 0; d2 = 0; d3=0;
Ps2=-4; Ps3 =2.0;
Qs2= -2.5;
YB = [ 20-j*50 -10+j*20 -10+j*30
-10+j*20 26-j*52 -16+j*32
-10+j*30 -16+j*32 26-j*62];
Y = abs(YB); t=angle(YB);
B =[-52 32; 32 -62]
Binv = inv(B)
iter=0;
pwracur = 0.0003; ... | 20,887 |
https://github.com/AgenaRisk/api/blob/master/src/main/java/com/agenarisk/api/model/Settings.java | Github Open Source | Open Source | Apache-2.0 | 2,023 | api | AgenaRisk | Java | Code | 578 | 1,831 | package com.agenarisk.api.model;
import com.agenarisk.api.model.interfaces.Storable;
import org.json.JSONObject;
/**
* This is a class for Model calculation settings.
*
* @author Eugene Dementiev
*/
public class Settings implements Storable {
/**
* This is set of fields for input/output to XML and JSON form... | 48,478 |
https://github.com/yodaos-project/yodaos/blob/master/hardware/wifi/bcmdhd/driver/include/bcmnvram.h | Github Open Source | Open Source | Apache-2.0 | 2,022 | yodaos | yodaos-project | C | Code | 1,465 | 3,291 | /*
* NVRAM variable manipulation
*
* Copyright (C) 1999-2017, Broadcom Corporation
*
* Unless you and Broadcom execute a separate written software license
* agreement governing use of this software, this software is licensed to you
* under the terms of the GNU General Public License version 2 (the "GPL"),
... | 28,645 |
https://github.com/Bioconductor/RBGL/blob/master/man/extractPath.Rd | Github Open Source | Open Source | BSL-1.0 | 2,023 | RBGL | Bioconductor | R | Code | 132 | 381 | \name{extractPath}
\alias{extractPath}
\title{convert a dijkstra.sp predecessor structure into the path joining two nodes }
\description{
determine a path between two nodes in a graph,
using output of \code{\link{dijkstra.sp}}.
}
\usage{
extractPath(s, f, pens)
}
\arguments{
\item{s}{ index of starting node in n... | 21,173 |
https://github.com/dessurya/l4z4tt0/blob/master/routes/web.php | Github Open Source | Open Source | MIT | 2,021 | l4z4tt0 | dessurya | PHP | Code | 28 | 247 | <?php
use Illuminate\Support\Facades\Route;
Route::get('/', 'HomeController@index')->name('beranda');
Route::get('/tentang-kami', 'AboutController@index')->name('tentang_kami');
Route::get('/menu-lazatto', 'MenuController@index')->name('menu');
Route::get('/news/read/{slug}', 'NewsController@detail')->name('news.rea... | 20,612 |
https://github.com/SaptakS/api/blob/master/measurements/static/scripts/by_date.js | Github Open Source | Open Source | BSD-3-Clause | 2,019 | api | SaptakS | JavaScript | Code | 372 | 1,383 | import * as d3 from "d3";
import moment from "moment";
function chart(element, chartData, fromDate, toDate) {
let CHART_WIDTH = 550;
let CHART_HEIGHT = 80;
let SQUARE_LENGTH = 8;
let SQUARE_PADDING = 2;
let weekStart = 0; // 0 sunday 1 monday
let max = d3.max(chartData.slice(-30), (d) => {
return d... | 18,642 |
https://github.com/gastaldi/hibernate-validator/blob/master/hibernate-validator/src/test/java/org/hibernate/validator/test/engine/methodlevel/service/CustomerRepositoryImpl.java | Github Open Source | Open Source | Apache-2.0 | null | hibernate-validator | gastaldi | Java | Code | 314 | 749 | /*
* JBoss, Home of Professional Open Source
* Copyright 2010, Red Hat Middleware LLC, and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this ... | 47,370 |
https://github.com/cebukin/ecs-agario/blob/master/Assets/Scripts/CollisionSystem.cs | Github Open Source | Open Source | MIT | null | ecs-agario | cebukin | C# | Code | 271 | 947 | using Unity.Burst;
using Unity.Entities;
using Unity.Mathematics;
using Unity.Transforms;
using Unity.Collections;
using Unity.Jobs;
public class CollisionSystem : PostGridSystem
{
[Inject] CollisionBarrierSystem _barrierSystem;
//[BurstCompile]
struct CollisionJob : IJobParallelFor
{
[ReadOn... | 36,213 |
https://github.com/cleancoindev/pods-frontend/blob/master/lib/components/ActionsClaim.jsx | Github Open Source | Open Source | LicenseRef-scancode-free-unknown, MIT | 2,020 | pods-frontend | cleancoindev | JavaScript | Code | 117 | 295 | import { PINK_BUTTON_CLASSES } from 'lib/constants'
export const ActionsClaim = ({ userAddress }) => {
return null
return <button
onClick={() => {}}
className={PINK_BUTTON_CLASSES}
>
Claim your free ticket
</button>
if (userAddress) {
let jsx = null
// TODO: run some sort of query if we... | 41,589 |
https://github.com/codelibs/fess/blob/master/dbflute_fess/_project.sh | Github Open Source | Open Source | Apache-2.0, MIT | 2,023 | fess | codelibs | Shell | Code | 7 | 57 | #!/bin/bash
export ANT_OPTS=-Xmx512m
export DBFLUTE_HOME=../mydbflute/dbflute-1.x
export MY_PROPERTIES_PATH=build.properties
| 44,589 |
https://github.com/moqimoqidea/moqi-tool-java/blob/master/src/main/java/com/moqi/archive/corejava/v2ch04/mail/MailTest.java | Github Open Source | Open Source | Apache-2.0 | null | moqi-tool-java | moqimoqidea | Java | Code | 178 | 657 | package com.moqi.archive.corejava.v2ch04.mail;
import com.moqi.in20210919.ResourcesUtil;
import javax.mail.MessagingException;
import javax.mail.Session;
import javax.mail.Transport;
import javax.mail.internet.InternetAddress;
import javax.mail.internet.MimeMessage;
import javax.mail.internet.MimeMessage.RecipientTyp... | 31,467 |
https://github.com/yukimemi/deno-denops-std/blob/master/denops_std/autocmd/common.ts | Github Open Source | Open Source | MIT | 2,021 | deno-denops-std | yukimemi | TypeScript | Code | 417 | 1,294 | import { Denops } from "../deps.ts";
import { AutocmdEvent } from "./types.ts";
type CommonOptions = {
group?: string;
};
export type DefineOptions = CommonOptions & {
once?: boolean;
nested?: boolean;
};
export type RemoveOptions = CommonOptions;
export type ListOptions = CommonOptions;
export type EmitOpti... | 23,829 |
https://github.com/rajaybitter/Lab-Tech-App/blob/master/app/src/main/java/com/github/javon/labassistant/fragments/CourseFragment.java | Github Open Source | Open Source | Apache-2.0 | null | Lab-Tech-App | rajaybitter | Java | Code | 300 | 989 | package com.github.javon.labassistant.fragments;
import android.content.Context;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import an... | 14,786 |
https://github.com/delware/QCMagritte/blob/master/src/QC-Magritte-TwitterBootstrap.package/TWBSQCReportValues.class/instance/isModel.st | Github Open Source | Open Source | MIT | 2,017 | QCMagritte | delware | null | Spoken | 3 | 11 | magritteDescription
isModel
^true | 6,137 |
https://github.com/bowtoes/NAeP/blob/master/src/process.c | Github Open Source | Open Source | Apache-2.0 | null | NAeP | bowtoes | C | Code | 491 | 1,710 | /*
Copyright 2021 BowToes (bow.toes@mailfence.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 copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in ... | 9,201 |
https://github.com/amg98/rust/blob/master/src/tools/clippy/tests/ui/should_impl_trait/method_list_1.rs | Github Open Source | Open Source | ECL-2.0, Apache-2.0, MIT-0, MIT | 2,022 | rust | amg98 | Rust | Code | 188 | 572 | #![warn(clippy::all, clippy::pedantic)]
#![allow(
clippy::missing_errors_doc,
clippy::needless_pass_by_value,
clippy::must_use_candidate,
clippy::unused_self,
clippy::needless_lifetimes,
clippy::missing_safety_doc,
clippy::wrong_self_convention,
clippy::missing_panics_doc
)]
use std::op... | 22,874 |
https://github.com/wenq1/duktape/blob/master/tests/ecmascript/test-bug-act-linenumber-gh143.js | Github Open Source | Open Source | MIT | 2,022 | duktape | wenq1 | JavaScript | Code | 120 | 312 | /*
* https://github.com/svaarala/duktape/issues/143
*/
/*===
-1 0
-2 19
-3 21
-4 25
21
-1 0
-2 19
-3 22
-4 25
22
===*/
(function() {
function cows_eat_kitties() { for (var i = -1; i >= -4; i--) { print(i, Duktape.act(i).lineNumber); }; print(Duktape.act(-3).lineNumber); }
function pigs_eat_cows() { return cows_eat... | 36,199 |
https://github.com/UnofficialJuliaMirror/Wallace.jl-cae8e8ee-2945-58eb-bb0d-8aa7cb85bad1/blob/master/src/evaluator/_tsp.jl | Github Open Source | Open Source | MIT | 2,021 | Wallace.jl-cae8e8ee-2945-58eb-bb0d-8aa7cb85bad1 | UnofficialJuliaMirror | Julia | Code | 303 | 763 | """
An evaluator specialised to the travelling salesman problem.
"""
type TSPEvaluator <: Evaluator
stage::AbstractString
cities::Int
threads::Int
distance::Array{Float, 2}
TSPEvaluator(st::AbstractString, n::Int, t::Int, d::Array{Float, 2}) =
new(st, n, t, d)
end
"""
Contains a definition of a TSP eval... | 37,147 |
https://github.com/maxgambroma/guest/blob/master/application/third_party/views/review_clienti.php | Github Open Source | Open Source | MIT | null | guest | maxgambroma | PHP | Code | 382 | 1,339 | <?php
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
?>
<?php
foreach ($reviews as $review) {
?>
<div class="row">
<div class="la... | 7,334 |
https://github.com/999946/snowpack/blob/master/test/integration/dep-remote-url/node_modules/dep-a/index.js | Github Open Source | Open Source | MIT | null | snowpack | 999946 | JavaScript | Code | 14 | 55 | import pkg from 'http://example.com/FAKE_IMPORT_URL';
console.log(pkg);
export * from 'https://example.com/FAKE_IMPORT_URL';
export const foo = 'bar'; | 1,794 |
https://github.com/FAD95/NEXT.JS-Course/blob/master/node_modules/@iconify/icons-mdi/src/file-multiple.js | Github Open Source | Open Source | MIT | 2,021 | NEXT.JS-Course | FAD95 | JavaScript | Code | 39 | 125 | let data = {
"body": "<path d=\"M15 7h5.5L15 1.5V7M8 0h8l6 6v12a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2M4 4v18h16v2H4a2 2 0 0 1-2-2V4h2z\" fill=\"currentColor\"/>",
"width": 24,
"height": 24
};
export default data;
| 17,796 |
https://github.com/amusecode/amuse/blob/master/src/amuse/community/simplex/src/plugins/hdf5/hdf5_routines.cpp | Github Open Source | Open Source | Apache-2.0, LicenseRef-scancode-warranty-disclaimer | 2,023 | amuse | amusecode | C++ | Code | 916 | 3,815 | #include "h5w.h"
vector<int> source_indices;
void smear_out_sources(void);
/*
This routine writes the simplex output in HDF5 format - DO NOT USE OPENMP UNLESS YOU MAKE CALLS TO HDF5 CRITICAL
*/
void write_hdf5_output(char *fname)
{
int i,j,k;
arr_1D<double> double_arr;
arr_1D<unsigned long long> int_arr;
int... | 14,317 |
https://github.com/737297447/MVP/blob/master/app/src/main/java/com/nzl/mvp/base/BaseContract.java | Github Open Source | Open Source | MIT | null | MVP | 737297447 | Java | Code | 35 | 107 | package com.nzl.mvp.base;
/**
* Contract(翻译:合同)
* Created by Administrator on 2016/11/8.
*/
public interface BaseContract {
interface BasePresenter<T> {
void attachView(T view);
void detachView();
}
interface BaseView {
void showError(String err);
void complete();
... | 18,322 |
https://github.com/OSLL/slam-dataset-generator/blob/master/world/world_view.cpp | Github Open Source | Open Source | MIT | 2,022 | slam-dataset-generator | OSLL | C++ | Code | 2,546 | 10,519 | #include "world_view.h"
#include <QKeyEvent>
#include <QWheelEvent>
#include <QMouseEvent>
#include <QScrollBar>
#include <QPen>
#include <QtMath>
#include <QDebug>
static QPen cosmeticPen(const QBrush &brush) {
QPen p(brush, 1.0, Qt::DashLine);
p.setCosmetic(true);
return p;
}
//=======================... | 31,329 |
https://github.com/ftaboada/catcoder-design-system/blob/master/.storybook/preview.js | Github Open Source | Open Source | MIT | null | catcoder-design-system | ftaboada | JavaScript | Code | 46 | 166 | import { addDecorator } from '@storybook/react'
import { withThemesProvider } from 'storybook-addon-styled-component-theme'
import { ThemeProvider } from 'styled-components'
import { mainTheme } from '../ theme'
const themes = [mainTheme]
addDecorator(withThemesProvider(themes), ThemeProvider)
// https://storybook.js... | 42,958 |
https://github.com/HyperdiXx/XEngine/blob/master/xengine/xengine/shaders/glsl/pbr/pbr.fs | Github Open Source | Open Source | MIT | null | XEngine | HyperdiXx | null | Spoken | 756 | 2,066 | #version 330 core
out vec4 frag_color;
in vec2 uv;
in vec3 world_pos;
in vec3 normal;
in mat3 tbn;
uniform samplerCube irradiance_map;
uniform samplerCube prefilter_map;
uniform sampler2D brdf_LUT;
uniform sampler2D albedo_map;
uniform sampler2D normal_map;
uniform sampler2D metallic_map;
uniform sampler2D roughnes... | 11,558 |
https://github.com/wedataintelligence/vivaldi-source/blob/master/chromium/ash/wm/drag_window_resizer.cc | Github Open Source | Open Source | BSD-3-Clause | null | vivaldi-source | wedataintelligence | C++ | Code | 664 | 2,663 | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ash/wm/drag_window_resizer.h"
#include "ash/display/mouse_cursor_event_filter.h"
#include "ash/screen_util.h"
#include "ash/shell.h"
#inclu... | 15,299 |
https://github.com/nordme/genz/blob/master/picks.py | Github Open Source | Open Source | MIT | 2,018 | genz | nordme | Python | Code | 104 | 707 | # -*- coding: utf-8 -*-
"""Subject IDs
410_15a No resting state
103_9a highpass > DC
104_9a highpass > DC
303_13a highpass > DC
pilots
genz901
genz904
genz907_9a
genz923
genz941
genz970
genz974
"""
names = ['genz101_9a',
'genz... | 5,470 |
https://github.com/cvss/jet9-multitask-init/blob/master/examples/freebsd/rc.patch | Github Open Source | Open Source | Unlicense | 2,015 | jet9-multitask-init | cvss | null | Spoken | 103 | 391 | --- /etc/rc.orig 2015-10-05 22:10:39.000000000 +0400
+++ /etc/rc 2015-10-12 00:19:27.000000000 +0400
@@ -124,14 +124,27 @@
fi
files=`rcorder ${skip} ${skip_firstboot} /etc/rc.d/* ${local_rc} 2>/dev/null`
+_flow_rc=
for _rc_elem in ${files}; do
case "$_rc_elem_done" in
*" $_rc_elem "*) continue ;;
esac
- ru... | 46,854 |
https://github.com/Kanuj910/SaveOnCoupon/blob/master/public/blog/wp-content/plugins/smart-slider-3/library/media/dist/smartslider-frontend.js | Github Open Source | Open Source | MIT | null | SaveOnCoupon | Kanuj910 | JavaScript | Code | 16,410 | 62,970 | (function ($, scope, undefined) {
function NextendSmartSliderBackgroundImages(slider) {
this.device = null;
this.load = $.Deferred();
this.slider = slider;
this.slides = this.slider.realSlides;
this.loaded = [];
this.lazyLoad = slider.parameters.lazyLoad;
... | 21,050 |
https://github.com/svvsaga/gradle-modules-public/blob/master/modules/datex-serializer/src/generated/java/eu/datex2/schema/_3/roadtrafficdata/VisibilityInformation.java | Github Open Source | Open Source | MIT | 2,021 | gradle-modules-public | svvsaga | Java | Code | 222 | 763 |
package eu.datex2.schema._3.roadtrafficdata;
import eu.datex2.schema._3.common.Visibility;
import eu.datex2.schema._3.common._ExtensionType;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.anno... | 18,113 |
https://github.com/Pittor052/SoftUni-Studies/blob/master/FirstStepsInPython/Basics/More Exercises/Conditional Statements Advanced/10.MultiplyBy2.py | Github Open Source | Open Source | MIT | null | SoftUni-Studies | Pittor052 | Python | Code | 18 | 53 | x = float(input())
print()
while x >= 0:
print(f"Result: {x * 2:.2f}")
x = float(input())
else:
print("Negative number!")
| 22,454 |
https://github.com/kionell/osu-tools/blob/master/PerformanceCalculator/Simulate/SimulateCommand.cs | Github Open Source | Open Source | MIT | null | osu-tools | kionell | C# | Code | 489 | 1,589 | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;
using Alba.CsConsoleFormat;
using JetBrains.Annotations;
u... | 44,298 |
https://github.com/hsqz/hellojava/blob/master/src/main/java/com/crossoverjie/basic/SerialVersionUIDTest.java | Github Open Source | Open Source | MIT | 2,018 | hellojava | hsqz | Java | Code | 18 | 59 | package com.crossoverjie.basic;
import java.io.Serializable;
public class SerialVersionUIDTest implements Serializable {
private static final long serialVersionUID = -4347819911630056053L;
}
| 31,049 |
https://github.com/shirjoybhuban/Joltorongo/blob/master/resources/views/auth/register.blade.php | Github Open Source | Open Source | MIT | 2,019 | Joltorongo | shirjoybhuban | PHP | Code | 235 | 997 | @extends('JS and CSS.jscss')
@section('auth.login')
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Register</title>
</head>
<body>
<!-- Preloader Start -->
<div class="row " id="preloader">
<div id="status" class="col-sm-12"> </div... | 40,028 |
https://github.com/kr33/libraryv2/blob/master/resources/views/category/index.blade.php | Github Open Source | Open Source | MIT | null | libraryv2 | kr33 | PHP | Code | 247 | 1,112 | @extends('layouts.layout')
@section('title', 'Categories List')
@section('content')
<!-- leads list start -->
<section class="permissions-list-wrapper">
<!-- Request Response Start -->
@include('partial.response')
<!-- Request Response End -->
<!-- Striped rows start -->
<div class="row" id="table-s... | 6,246 |
https://github.com/joques/covid19-essapp/blob/master/src/website/Namcovid19/node_modules/angular-bootstrap-md/assets/scss/core/msc/_bootstrap-select.scss | Github Open Source | Open Source | MIT, Apache-2.0 | 2,022 | covid19-essapp | joques | SCSS | Code | 134 | 785 | .custom-select.validate-error.ng-touched.ng-invalid {
border-color: #ff4444;
background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e")
no-repeat right 0.75rem center/8px 10px,
url("data:image/svg+xm... | 23,113 |
https://github.com/dustinlarimer/ideavis-composer/blob/master/app/models/links.coffee | Github Open Source | Open Source | MIT, Unlicense | null | ideavis-composer | dustinlarimer | CoffeeScript | Code | 69 | 198 | Chaplin = require 'chaplin'
mediator = require 'mediator'
Collection = require 'models/base/collection'
Link = require 'models/link'
module.exports = class Links extends Collection
_.extend @prototype, Chaplin.SyncMachine
model: Link
initialize: ->
@url = '/compositions/' + mediator.canvas.id + '/links/'
... | 43,111 |
https://github.com/wiseks/myth/blob/master/myth-core/src/main/java/com/github/myth/core/service/mq/send/MythSendMessageServiceImpl.java | Github Open Source | Open Source | Apache-2.0 | 2,018 | myth | wiseks | Java | Code | 215 | 1,182 | package com.github.myth.core.service.mq.send;
import com.github.myth.common.bean.entity.MythParticipant;
import com.github.myth.common.bean.entity.MythTransaction;
import com.github.myth.common.bean.mq.MessageEntity;
import com.github.myth.common.enums.EventTypeEnum;
import com.github.myth.common.enums.MythStatusEnum;... | 42,150 |
https://github.com/a1re1/wavefront-obj-intellij-plugin/blob/master/src/test/testData/obj/AnnotatorTestData.obj | Github Open Source | Open Source | Apache-2.0 | 2,021 | wavefront-obj-intellij-plugin | a1re1 | Wavefront Object | Code | 89 | 273 | mtllib <warning descr="MTL file not found">tetrahedron.mtl</warning>
v 1.0 1.0 1.0
v 2.0 2.0 2.0
v 3.0 3.0 3.0
vt 0.0 0.0
vt 1.0 0.0
vt 1.0 1.0
vn 0.5 0.5 0.5
usemtl <warning descr="Material not found">Marble</warning>
f 1 2 3
f 1 2 <error descr="Unresolved vertex: 4">4</error>
f 1/1 2/2 3/3
f 1/1 2/2 3/<error de... | 11,286 |
https://github.com/MasicSend/EasyFrameWork/blob/master/EasyFrameWork/RSS/RssService.cs | Github Open Source | Open Source | Apache-2.0 | 2,016 | EasyFrameWork | MasicSend | C# | Code | 155 | 539 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml;
namespace Easy.RSS
{
public class RssService
{
XmlNamespaceManager namespaceMgr;
public RssEntity Get(string feed)
{
XmlTextReader reader = new XmlTextReader(feed);
... | 24,872 |
https://github.com/darabos/skynet-simulator/blob/master/script/eons.js | Github Open Source | Open Source | MIT | 2,022 | skynet-simulator | darabos | JavaScript | Code | 226 | 778 | temp = {
eons:{
execute:function(){
addBuffer("<span class='exe'>Ping Spike</span>")
addBuffer("The Ping Spike response is scattered, as if multiple machines have responded at once. The phenomenon suggests that a continuous stream of spikes may overload the host.")
writeBuffer()
var x_ad... | 46,416 |
https://github.com/codicastudio/model-states/blob/master/tests/Dummy/IntStates/IntStateB.php | Github Open Source | Open Source | MIT | null | model-states | codicastudio | PHP | Code | 14 | 43 | <?php
namespace Spatie\ModelStates\Tests\Dummy\IntStates;
class IntStateB extends IntState
{
public static $name = 0;
}
| 31,938 |
https://github.com/oliviertassinari/material-ui/blob/master/packages/mui-system/src/cssVars/getInitColorSchemeScript.tsx | Github Open Source | Open Source | MIT | 2,022 | material-ui | oliviertassinari | TSX | Code | 156 | 552 | import * as React from 'react';
export const DEFAULT_MODE_STORAGE_KEY = 'mui-mode';
export const DEFAULT_COLOR_SCHEME_STORAGE_KEY = 'mui-color-scheme';
export const DEFAULT_ATTRIBUTE = 'data-mui-color-scheme';
export default function getInitColorSchemeScript(options?: {
enableSystem?: boolean;
defaultLightColorSc... | 3,550 |
https://github.com/EkkoZ7/easy-buy/blob/master/src/main/java/com/ekko/easy/buy/service/impl/ProductServiceImpl.java | Github Open Source | Open Source | Apache-2.0 | null | easy-buy | EkkoZ7 | Java | Code | 195 | 906 | package com.ekko.easy.buy.service.impl;
import com.ekko.easy.buy.domain.Product;
import com.ekko.easy.buy.domain.ProductCategory;
import com.ekko.easy.buy.mapper.ProductCategoryMapper;
import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;
import org.apache.ibatis.session.RowBounds;
import org... | 33,143 |
https://github.com/dwlpra/kursusOnline/blob/master/resources/views/faq.blade.php | Github Open Source | Open Source | MIT | 2,020 | kursusOnline | dwlpra | Blade | Code | 857 | 3,155 |
<link href="https://fonts.googleapis.com/css?family=Roboto:400,300,100,500,700,900" rel="stylesheet" type="text/css">
<link href="{{asset('/global_assets')}}/css/icons/icomoon/styles.min.css" rel="stylesheet" type="text/css">
<link href="{{asset('/assets')}}/css/bootstrap.min.css" rel="stylesheet" type="text/css">
... | 46,578 |
https://github.com/ardynetral/fe/blob/master/modules/Containedmgout/Controllers/Containedmgout.php | Github Open Source | Open Source | MIT | null | fe | ardynetral | PHP | Code | 431 | 1,834 | <?php
namespace Modules\Containedmgout\Controllers;
class Containedmgout extends \CodeIgniter\Controller
{
private $client;
public function __construct()
{
helper(['url', 'form', 'app']);
$this->client = api_connect();
}
function list_data()
{
$search = ($this->request->getPost('search[value]') != "")?$t... | 51,451 |
https://github.com/steamypassion/alva/blob/master/src/container/property-list/property-list-item.tsx | Github Open Source | Open Source | MIT | 2,018 | alva | steamypassion | TSX | Code | 522 | 1,852 | import * as Sender from '../../message/client';
import * as Component from '../../components';
import { EventHandlerPropertyView } from './event-handler-property-view';
import { ServerMessageType } from '../../message';
import * as MobxReact from 'mobx-react';
import { ElementProperty, PatternEnumProperty } from '../..... | 12,392 |
https://github.com/mnts26/aws-sdk-rust/blob/master/sdk/lexruntime/src/client.rs | Github Open Source | Open Source | Apache-2.0 | 2,021 | aws-sdk-rust | mnts26 | Rust | Code | 3,757 | 11,490 | // Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
#[derive(Debug)]
pub(crate) struct Handle<
C = smithy_client::erase::DynConnector,
M = aws_hyper::AwsMiddleware,
R = smithy_client::retry::Standard,
> {
client: smithy_client::Client<C, M, R>,
conf: crate::Config,
}
//... | 49,396 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.