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/relaxoak2531/homebrew-services-vscode/blob/master/src/extension.ts | Github Open Source | Open Source | MIT | 2,018 | homebrew-services-vscode | relaxoak2531 | TypeScript | Code | 33 | 179 | import * as vscode from 'vscode';
import brewExplorer from './brewExplorer';
export function activate() {
const explorer = new brewExplorer();
vscode.window.registerTreeDataProvider('brewExplorer', explorer);
vscode.commands.registerCommand('startService', explorer.execute.bind(explorer, 'start'));
vscode.co... | 28,394 |
https://github.com/oro91dev/TrafikkStasjon/blob/master/src/Register.java | Github Open Source | Open Source | MIT | 2,018 | TrafikkStasjon | oro91dev | Java | Code | 244 | 795 | // INNEHOLDER REGISTERET LAGRE METODER, REDIGERT 10.05.12 AV OLAV
// IMPORT SETNINGER
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.NotSerializableException;
import java.io.ObjectInputStream;
import java.io.ObjectOutput... | 1,723 |
https://github.com/RobertAcksel/UnrealCS/blob/master/Engine/Plugins/UnrealCS/Source/MonoPlugin/Private/GeneratedScriptLibraries/LevelScriptActor_script.h | Github Open Source | Open Source | MIT | 2,017 | UnrealCS | RobertAcksel | C | Code | 69 | 498 | //GENERATED: C++ Code
#pragma once
#include "CoreMinimal.h"
#include "ObjectMacros.h"
#include "MonoScriptBindHelper.h"
#include "F:/UnrealEngineSource/Engine/Source/Runtime/Engine/Classes/Engine/LevelScriptActor.h"
#include "LevelScriptActor_script.generated.h"
UCLASS()
class MONOPLUGIN_API ALevelScriptActor_ : publ... | 11,690 |
https://github.com/mohsinalimat/DailyFeed/blob/master/News Now/TodayImageCollectionViewCell.swift | Github Open Source | Open Source | MIT | 2,017 | DailyFeed | mohsinalimat | Swift | Code | 115 | 428 | //
// TodayImageCollectionViewCell.swift
// DailyFeed
//
// Created by TrianzDev on 31/01/17.
// Copyright © 2017 trianz. All rights reserved.
//
import UIKit
import RealmSwift
class TodayImageCollectionViewCell: UICollectionViewCell {
@IBOutlet weak var todayNewsImageView: TSImageView! {
didSet {
... | 6,521 |
https://github.com/lalifeier/vvap/blob/master/packages/admin/src/styles/index.scss | Github Open Source | Open Source | MIT | 2,022 | vvap | lalifeier | SCSS | Code | 8 | 37 | @use 'core/reset';
@use 'core/base';
@use 'core/common';
@use './tailwind.css';
| 34,133 |
https://github.com/elgressy/lyn/blob/master/src/Lyn.Protocol/Common/Messages/MessageType.cs | Github Open Source | Open Source | MIT | 2,022 | lyn | elgressy | C# | Code | 92 | 269 | namespace Lyn.Protocol.Common.Messages
{
public enum MessageType : ushort
{
//Setup & Control
Init = 16,
Error = 17,
Ping = 18,
Pong = 19,
//Channel
OpenChannel = 32,
AcceptChannel = 33,
FundingCreated = 34,
FundingSigned =... | 41,194 |
https://github.com/willroden/buf-push-action/blob/master/internal/bufpushaction/bufpushaction.go | Github Open Source | Open Source | Apache-2.0 | null | buf-push-action | willroden | Go | Code | 541 | 1,657 | // Copyright 2020-2022 Buf Technologies, 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... | 38,232 |
https://github.com/azimmmm/sh2/blob/master/app/Http/Controllers/Backend/orderController.php | Github Open Source | Open Source | MIT | 2,020 | sh2 | azimmmm | PHP | Code | 22 | 95 | <?php
namespace App\Http\Controllers\Backend;
use App\Http\Controllers\Controller;
use App\Order;
use Illuminate\Http\Request;
class orderController extends Controller
{
public function index()
{$orders=Order::paginate(10);
return view('viewbackend.orders.index',compact('orders'));
}
}
| 7,545 |
https://github.com/tohotforice/onos-sdwsn/blob/master/web/gui/src/main/webapp/app/view/topo2/topo2Zoom.js | Github Open Source | Open Source | Apache-2.0 | 2,018 | onos-sdwsn | tohotforice | JavaScript | Code | 328 | 813 | /*
* Copyright 2016-present Open Networking Foundation
*
* 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 appli... | 24,309 |
https://github.com/cheerfulwang/python-tutorial/blob/master/38nlp/02fasthan_demo.py | Github Open Source | Open Source | Apache-2.0 | 2,022 | python-tutorial | cheerfulwang | Python | Code | 59 | 238 | # -*- coding: utf-8 -*-
"""
@author:XuMing(xuming624@qq.com)
@description:
"""
from fastHan import FastHan
model = FastHan()
sentence = "郭靖是金庸笔下的一名男主。"
answer = model(sentence, target="Parsing")
print(answer)
answer = model(sentence, target="NER")
print(answer)
sentence = "一个苹果。"
print(model(sentence, 'CWS'))
model... | 32,086 |
https://github.com/0xooo2A/eth_spider/blob/master/eth_api_iter_fetcher.py | Github Open Source | Open Source | MIT | 2,018 | eth_spider | 0xooo2A | Python | Code | 124 | 602 | from utils import request as request_util
from utils.filter import ImplFilter
from utils.file_handler import *
# local settings
class LocalSettings:
api_main_url = "http://api.etherscan.io/"
api_type = "api?module=account&action=txlist"
# todo to be more universal address input
api_address = "&address=... | 30,059 |
https://github.com/hilllo/SPH-Fluid-Simulation-/blob/master/final/sph3d/sph3d/include/MarchingCube.h | Github Open Source | Open Source | MIT | 2,019 | SPH-Fluid-Simulation- | hilllo | C | Code | 72 | 250 | #pragma once
#ifndef __MARCHINGCUBE_H__
#define __MARCHINGCUBE_H__
#include <math.h>
#include <stdlib.h>
#include <string.h>
typedef unsigned int uint;
struct float3
{
float x;
float y;
float z;
};
class MarchingCube
{
private:
uint row_vox;
uint col_vox;
uint len_vox;
uint tot_vox;
float step;
float *sc... | 41,468 |
https://github.com/pombredanne/django-block-comment/blob/master/block_comment/tests/models.py | Github Open Source | Open Source | BSD-3-Clause | 2,011 | django-block-comment | pombredanne | Python | Code | 13 | 39 | from django.db import models
from block_comment.fields import BlockCommentField
class TestModel(models.Model):
document = BlockCommentField()
| 50,972 |
https://github.com/cihadsevim/corefx/blob/master/src/Common/tests/System/Security/Cryptography/AlgorithmImplementations/DSA/DSAFactory.cs | Github Open Source | Open Source | MIT | 2,016 | corefx | cihadsevim | C# | Code | 74 | 163 | // 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.
namespace System.Security.Cryptography.Dsa.Tests
{
public interface IDSAProvider
{
DSA Create();
... | 14,170 |
https://github.com/rykelley/tock/blob/master/tock/tock/utils.py | Github Open Source | Open Source | CC0-1.0 | null | tock | rykelley | Python | Code | 83 | 302 | import functools
from django.core.exceptions import PermissionDenied
from rest_framework.permissions import BasePermission
class PermissionMixin(object):
@classmethod
def as_view(cls, **initkwargs):
view = super(PermissionMixin, cls).as_view(**initkwargs)
@functools.wraps(view)
def ... | 46,551 |
https://github.com/Bosek/corpstats/blob/master/src/zkb/models/zkb.js | Github Open Source | Open Source | MIT | null | corpstats | Bosek | JavaScript | Code | 28 | 92 | import keysToLowerCase from '../../lib/keysToLowerCase';
export default class ZKB {
constructor(object) {
object = keysToLowerCase(object);
this.Hash = object.hash;
this.LocationID = object.locationid;
this.Points = object.points;
this.TotalValue = object.totalValue;
}
}
| 13,371 |
https://github.com/Morteza561/Zarinpal-Library/blob/master/fzarinpal/src/main/java/com/farzad/zarinpal/OnCallbackVerificationPaymentListener.java | Github Open Source | Open Source | MIT | 2,018 | Zarinpal-Library | Morteza561 | Java | Code | 32 | 92 | package com.farzad.zarinpal;
/**
* Created by Farzad Zare on 18/01/12.
* Email = farzad.zare@live.com
* My Custom ZarinPal Library
*/
public interface OnCallbackVerificationPaymentListener {
void onCallbackResultVerificationPayment(boolean isPaymentSuccess, String refID, PaymentRequest paymentRequest);
}
| 6,277 |
https://github.com/master-clown/ofeata/blob/master/src/feata/geom/mdl/triangulate.hpp | Github Open Source | Open Source | MIT | 2,021 | ofeata | master-clown | C++ | Code | 29 | 110 | #pragma once
#include "defs/common.hpp"
class TopoDS_Shape;
namespace geom::mdl
{
struct ShapeTriangulation;
/**
* Requires 'sh' to be already polygonized, \sa 'ConvertFrom<...>ToStl()'
*/
void Triangulate(const TopoDS_Shape& sh,
ShapeTriangulation& tria);
}
| 21,763 |
https://github.com/krm731/moto/blob/master/moto/secretsmanager/responses.py | Github Open Source | Open Source | Apache-2.0 | 2,018 | moto | krm731 | Python | Code | 43 | 226 | from __future__ import unicode_literals
from moto.core.responses import BaseResponse
from .models import secretsmanager_backends
class SecretsManagerResponse(BaseResponse):
def get_secret_value(self):
secret_id = self._get_param('SecretId')
version_id = self._get_param('VersionId')
vers... | 28,724 |
https://github.com/webyimihua/private/blob/master/project/src/statics/js/page/warnSet/addWarn.js | Github Open Source | Open Source | MIT | 2,019 | private | webyimihua | JavaScript | Code | 321 | 1,711 | layui.config({
base : "../../../js/"
}).extend({
"tools" : "tools"
})
layui.use(['form','layer','tools'],function(){
var form = layui.form
layer = parent.layer === undefined ? layui.layer : top.layer,
$ = layui.jquery;
tools = layui.tools;
form.on("submit(addAlarm)",function(dat... | 35,730 |
https://github.com/lbroudoux/apicurio-data-models/blob/master/src/main/java/io/apicurio/datamodels/asyncapi/v2/models/Aai20HeaderItem.java | Github Open Source | Open Source | Apache-2.0 | 2,021 | apicurio-data-models | lbroudoux | Java | Code | 41 | 173 | package io.apicurio.datamodels.asyncapi.v2.models;
import io.apicurio.datamodels.asyncapi.models.AaiHeaderItem;
import io.apicurio.datamodels.core.models.Node;
/**
* @author Jakub Senko <jsenko@redhat.com>
*/
public class Aai20HeaderItem extends AaiHeaderItem {
/**
* Constructor.
*/
public Aai20... | 48,787 |
https://github.com/jstowers/ReduxWeatherApp/blob/master/src/containers/weather_list.js | Github Open Source | Open Source | MIT | 2,017 | ReduxWeatherApp | jstowers | JavaScript | Code | 312 | 899 | // Container to render a list of cities and their weather data
// Saturday, February 25, 2017
// Rev. Wednesday, March 15, 2017
import React, { Component } from 'react';
import { connect } from 'react-redux';
import Chart from '../components/chart';
import GoogleMap from '../components/google_map';
import ForecastDet... | 3,371 |
https://github.com/guardian/guardian-configuration/blob/master/src/main/scala/com.gu.conf/vfs/ClasspathFileSystemConfigBuilder.scala | Github Open Source | Open Source | Apache-2.0 | 2,021 | guardian-configuration | guardian | Scala | Code | 175 | 477 | /*
* Copyright 2010 Guardian News and Media
*
* 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 a... | 50,558 |
https://github.com/yannbolliger/tendermint-rs/blob/master/rpc/src/client.rs | Github Open Source | Open Source | Apache-2.0 | null | tendermint-rs | yannbolliger | Rust | Code | 773 | 2,506 | //! Tendermint RPC client.
mod subscription;
pub use subscription::{Subscription, SubscriptionClient};
pub mod sync;
mod transport;
pub use transport::mock::{MockClient, MockRequestMatcher, MockRequestMethodMatcher};
#[cfg(feature = "http-client")]
pub use transport::http::{HttpClient, HttpClientUrl};
#[cfg(feature ... | 3,651 |
https://github.com/knebiolo/emergent/blob/master/emergent/__init__.py | Github Open Source | Open Source | MIT | null | emergent | knebiolo | Python | Code | 9 | 21 | # -*- coding: utf-8 -*-
from emergent.emergent import *
| 6,162 |
https://github.com/stoty/cloudbreak/blob/master/datalake-api/src/main/java/com/sequenceiq/sdx/api/model/SdxRestoreStatusResponse.java | Github Open Source | Open Source | LicenseRef-scancode-warranty-disclaimer, ANTLR-PD, CDDL-1.0, bzip2-1.0.6, Zlib, BSD-3-Clause, MIT, EPL-1.0, LicenseRef-scancode-proprietary-license, LicenseRef-scancode-jdbm-1.00, Apache-2.0, LicenseRef-scancode-unknown-license-reference | 2,022 | cloudbreak | stoty | Java | Code | 90 | 255 | package com.sequenceiq.sdx.api.model;
public class SdxRestoreStatusResponse {
private String operationId;
private String status;
private String reason;
public SdxRestoreStatusResponse() {
}
public SdxRestoreStatusResponse(String operationId, String status, String reason) {
this.ope... | 25,472 |
https://github.com/mikaeldui/skolplattformen-dotnet-client/blob/master/src/Skolplattformen.Client/Exceptions/EtjanstException.cs | Github Open Source | Open Source | Unlicense | null | skolplattformen-dotnet-client | mikaeldui | C# | Code | 32 | 94 | using System;
using System.Runtime.Serialization;
namespace Skolplattformen
{
internal class EtjanstException : Exception
{
public EtjanstException(string message) : base(message)
{
}
public EtjanstException(string message, Exception innerException) : base(message, innerExcept... | 47,527 |
https://github.com/ostannick/maldb/blob/master/resources/js/components/Toolbar.js | Github Open Source | Open Source | MIT | 2,021 | maldb | ostannick | JavaScript | Code | 63 | 223 | import React, { Component } from "react";
import ReactDOM from 'react-dom'
import axios from 'axios';
import ButtonGroup from './ButtonGroup';
export default class Toolbar extends Component {
constructor(props) {
super(props);
}
render() {
return (
<div className="d-flex justify-content-between ... | 30,924 |
https://github.com/lechium/iOS1351Headers/blob/master/System/Library/PrivateFrameworks/CoreUI.framework/CUINamedLayerStack.h | Github Open Source | Open Source | MIT | 2,022 | iOS1351Headers | lechium | C | Code | 150 | 621 | /*
* This header is generated by classdump-dyld 1.5
* on Friday, April 30, 2021 at 11:36:16 AM Mountain Standard Time
* Operating System: Version 13.5.1 (Build 17F80)
* Image Source: /System/Library/PrivateFrameworks/CoreUI.fram... | 24,394 |
https://github.com/grahamhome/pifx/blob/master/tests/test_main.py | Github Open Source | Open Source | Apache-2.0 | 2,021 | pifx | grahamhome | Python | Code | 10 | 30 | import sys
sys.path.insert(1, '..')
from pifx import PIFX
# TODO
| 48,743 |
https://github.com/AhsenRiaz/Project12E_VirtualLolly/blob/master/src/pages/ShowLolly.tsx | Github Open Source | Open Source | 0BSD | 2,021 | Project12E_VirtualLolly | AhsenRiaz | TSX | Code | 313 | 985 | import React from 'react'
import { useQuery , gql } from '@apollo/client'
import { Container, Grid } from '@material-ui/core'
import NewLolly from '../components/NewLolly'
import Loader from '../components/Loader'
import { navigate } from 'gatsby'
const style = require("./pages.module.css")
// interface showLollyProp... | 15,070 |
https://github.com/Holowaychitos/hackcancun-api/blob/master/deploy/setup_server.sh | Github Open Source | Open Source | MIT | null | hackcancun-api | Holowaychitos | Shell | Code | 153 | 520 | #!/bin/bash
# remote
# curl http://url.file | bash
# wget -qO- http://url.file | bash
sudo apt-get update -y
sudo apt-get install git -y
printf "\nInstall NODE & NPM"
cd ~
wget https://nodejs.org/dist/latest-v5.x/node-v5.9.0-linux-x64.tar.gz
mkdir node
tar xvf node-v*.tar.?z --strip-components=1 -C ./node
cd ~
rm ... | 12,304 |
https://github.com/19920625lsg/spring-cloud-online-exam/blob/master/code/backend/admin/src/main/java/com/huawei/l00379880/admin/model/SysDict.java | Github Open Source | Open Source | MIT | 2,019 | spring-cloud-online-exam | 19920625lsg | Java | Code | 74 | 245 | package com.huawei.l00379880.admin.model;
import lombok.Data;
import lombok.EqualsAndHashCode;
/**
* sys_dict
*
* @author liangshanguang
*/
@Data
@EqualsAndHashCode(callSuper = true)
public class SysDict extends BaseModel {
/**
* 数据值
*/
private String value;
/**
* 标签名
*/
priva... | 22,424 |
https://github.com/qwsae10/pygemini/blob/master/src/gemini3d/plot/glow.py | Github Open Source | Open Source | Apache-2.0 | null | pygemini | qwsae10 | Python | Code | 294 | 1,073 | from __future__ import annotations
from pathlib import Path
from datetime import datetime
import typing as T
import xarray
from matplotlib.figure import Figure
from .. import read
from .. import find
def glow(
direc: T.Optional[Path],
time: datetime,
saveplot_fmt: str,
xg: dict[str, T.Any] = None,
... | 11,228 |
https://github.com/xiaochong547/kubecube-front/blob/master/src/client/components/common/u-input-search.vue | Github Open Source | Open Source | Apache-2.0 | 2,021 | kubecube-front | xiaochong547 | Vue | Code | 162 | 611 | <template>
<u-linear-layout :class="$style.root" :alignRight="alignRight">
<u-input :size="size" :disabled="disabled" v-model="currentValue" :placeholder="placeholder" :class="$style.input" @keyup.enter="search" @reset="search($event, '')" close>
<u-icons :class="$style.search" name="search"></u... | 16,013 |
https://github.com/QuynhNhu1309/HTTT_Final/blob/master/development/source-code/public/app/services/sanpham.service.js | Github Open Source | Open Source | MIT | 2,016 | HTTT_Final | QuynhNhu1309 | JavaScript | Code | 41 | 165 | (function() {
'use strict';
angular
.module('minxApp')
.factory('SanPhamService', SanPhamService);
SanPhamService.$inject = ['$http'];
function SanPhamService($http) {
var service = {
getSanPham: getSanPham
};
return service;
function getS... | 46,741 |
https://github.com/Demonfail/AnarchyEngine/blob/master/src/main/java/engine/glv2/shaders/data/UniformDirectionalLight.java | Github Open Source | Open Source | BSD-3-Clause | 2,019 | AnarchyEngine | Demonfail | Java | Code | 293 | 825 | /*
* This file is part of Light Engine
*
* Copyright (C) 2016-2019 Lux Vacuos
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) an... | 40,571 |
https://github.com/StratoDem/strato-query/blob/master/man/nin_filter.Rd | Github Open Source | Open Source | MIT | 2,023 | strato-query | StratoDem | R | Code | 62 | 170 | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/filters.R
\name{nin_filter}
\alias{nin_filter}
\title{Helper function to create a "not in" filter}
\usage{
nin_filter(filter_variable, filter_value)
}
\arguments{
\item{filter_variable}{Variable filtered on}
\item{filter_value}{Value used fo... | 38,319 |
https://github.com/weiboxie/jmind-pigg/blob/master/src/main/java/jmind/pigg/jdbc/JdbcOperationsFactory.java | Github Open Source | Open Source | Apache-2.0 | 2,021 | jmind-pigg | weiboxie | Java | Code | 29 | 88 | package jmind.pigg.jdbc;
/**
* Created by weibo.xwb on 2017/8/28.
*/
public class JdbcOperationsFactory {
private static final JdbcOperations instance=new JdbcTemplate();
public static final JdbcOperations getJdbcOperations(){
return instance;
}
}
| 35,703 |
https://github.com/DMizyn/CoreOpenMMO/blob/master/src/COMMO.Server/Handlers/Management/NotationHandler.cs | Github Open Source | Open Source | MIT | 2,019 | CoreOpenMMO | DMizyn | C# | Code | 169 | 616 | // <copyright file="NotationHandler.cs" company="2Dudes">
// Copyright (c) 2018 2Dudes. All rights reserved.
// Licensed under the MIT license.
// See LICENSE file in the project root for full license information.
// </copyright>
using System;
using System.Collections.Generic;
using System.Linq;
using COMMO.Communicat... | 37,280 |
https://github.com/themindfuldev/gatsby-cintiaromero/blob/master/src/components/social-icons/social-icons.sass | Github Open Source | Open Source | MIT | null | gatsby-cintiaromero | themindfuldev | Sass | Code | 5 | 13 | .icon
> .label
display: none | 19,025 |
https://github.com/abhra0897/msp430_cc1101_energia_v2/blob/master/macros.h | Github Open Source | Open Source | MIT | 2,021 | msp430_cc1101_energia_v2 | abhra0897 | C | Code | 182 | 423 | #ifndef MACROS_h
#define MACROS_h
/******************************************************************************/
/* General utility macros */
/******************************************************************************/
// the following macro will stringize the ... | 14,685 |
https://github.com/lioncruise/alibaba-clusterdata-analysis/blob/master/src/server_cpu_load.py | Github Open Source | Open Source | MIT | 2,018 | alibaba-clusterdata-analysis | lioncruise | Python | Code | 228 | 1,509 | import pandas as pd
import matplotlib.pyplot as plt
from src.common.column_name import server_usage_column_name
# 统计物理机CPU load average随时间的变化
if __name__ == '__main__':
path = '..\dataset\server_usage.csv'
try:
f = open(path, 'r', encoding='utf-8')
data = pd.read_csv(f)
df = pd.DataFr... | 7,192 |
https://github.com/vgwb-private/EA4S_Antura_U3D/blob/master/Assets/_app/Shaders/GlassShines.shader | Github Open Source | Open Source | CC-BY-4.0 | 2,022 | EA4S_Antura_U3D | vgwb-private | GLSL | Code | 240 | 936 | // Upgrade NOTE: upgraded instancing buffer 'PerDrawSprite' to new syntax.
Shader "Antura/GlassShines"{
Properties
{
[PerRendererData] _MainTex("Sprite Texture", 2D) = "white" {}
_Color("Tint", Color) = (1,1,1,1)
[MaterialToggle] PixelSnap("Pixel snap", Float) = 0
}
SubShader
{
Tags
{
"Queue" = "Tran... | 2,773 |
https://github.com/chrisdobler/packer-scripts/blob/master/mprime/mprime.js | Github Open Source | Open Source | MIT | 2,019 | packer-scripts | chrisdobler | JavaScript | Code | 24 | 74 | export default {
mode: 'level2',
machineType: 'node-ubuntu-16.04',
supportsInitialBuild: false,
supportFiles: false,
builder: ({ vm_name, targetPlatform }) => ({
builders: [],
provisioners: [],
}),
};
| 25,496 |
https://github.com/theus77/elasticms/blob/master/src/AppBundle/Form/DataField/OuuidFieldType.php | Github Open Source | Open Source | MIT | 2,017 | elasticms | theus77 | PHP | Code | 48 | 122 | <?php
namespace AppBundle\Form\DataField;
class OuuidFieldType extends DataFieldType {
/**
*
* {@inheritdoc}
*
*/
public function getLabel(){
return 'Copy of the object identifier';
}
/**
* Get a icon to visually identify a FieldType
*
* @return string
*/
public static function getIcon()... | 7,105 |
https://github.com/pagarba/sawtooth-iot/blob/master/web-app/src/client/app/services/alert/alert-message.ts | Github Open Source | Open Source | Apache-2.0 | null | sawtooth-iot | pagarba | TypeScript | Code | 22 | 48 | import { MessageSeverity } from './alert-enums';
export class AlertMessage {
constructor(public severity: MessageSeverity, public summary: any, public detail: string) { }
}
| 9,350 |
https://github.com/explorablelabs/flogo-web/blob/master/libs/plugins/flow-client/src/lib/branch-configurator/index.ts | Github Open Source | Open Source | BSD-3-Clause | 2,022 | flogo-web | explorablelabs | TypeScript | Code | 8 | 27 | export * from './branch-configurator.component';
export * from './branch-configurator.module';
| 11,807 |
https://github.com/cloud-SN1/uxcool/blob/master/examples/views/notification/config.vue | Github Open Source | Open Source | MIT | 2,020 | uxcool | cloud-SN1 | Vue | Code | 98 | 360 | <template>
<div>
<h4>config</h4>
<div class="demo">
<ux-button @click="setConfig">set config top=5, </ux-button>
<ux-button @click="setConfig2">set config placement=bottomLeft, </ux-button>
<ux-button @click="setConfig3">
set config placement=bottomRight, getContainer= noticeWrapRef
... | 24,739 |
https://github.com/Tloops/xv6-fast-scheduler/blob/master/kernel/include/timer.h | Github Open Source | Open Source | MIT | 2,022 | xv6-fast-scheduler | Tloops | C | Code | 26 | 90 | #ifndef __TIMER_H
#define __TIMER_H
#include "types.h"
#include "spinlock.h"
extern struct spinlock tickslock;
extern uint ticks;
void timerinit();
void set_next_timeout();
void timer_tick();
int get_tick();
void do_nothing(int);
#endif
| 13,193 |
https://github.com/sagahead-io/ecommerce-blueprint/blob/master/services/auth/src/entities/Hello.ts | Github Open Source | Open Source | MIT | 2,021 | ecommerce-blueprint | sagahead-io | TypeScript | Code | 23 | 57 | import { Field, ID, ObjectType } from 'type-graphql'
@ObjectType()
export class Hello {
@Field(() => ID)
readonly id!: number
@Field()
text!: string
}
| 47,438 |
https://github.com/sKabYY/palestra/blob/master/old1/sicp/3/p70.scm | Github Open Source | Open Source | MIT | 2,020 | palestra | sKabYY | Scheme | Code | 64 | 178 | (load "weighted-pairs.scm")
(define test (weighted-pairs integers integers
(lambda (i j) (+ i j))))
(println "test)")
(stream-for-n println test 10)
(newline)
(define a (weighted-sorted-pairs integers integers
(lambda (i j) (+ i j))))
(println "a)")
(stre... | 22,695 |
https://github.com/Ivorforce/RecurrentComplex/blob/master/src/main/java/ivorius/reccomplex/item/ItemBlockSelectorFloating.java | Github Open Source | Open Source | MIT | 2,023 | RecurrentComplex | Ivorforce | Java | Code | 243 | 1,017 | /*
* Copyright (c) 2014, Lukas Tenbrink.
* * http://lukas.axxim.net
*/
package ivorius.reccomplex.item;
import ivorius.reccomplex.RecurrentComplex;
import ivorius.reccomplex.network.PacketSyncItem;
import net.minecraft.client.util.ITooltipFlag;
import net.minecraft.entity.EntityLivingBase;
import net.minecraft.e... | 49,301 |
https://github.com/wangkai2014/StarCommander/blob/master/StarCommander.Application/Messages/IJobScheduler.cs | Github Open Source | Open Source | MIT | 2,020 | StarCommander | wangkai2014 | C# | Code | 27 | 85 | using System.Threading;
using System.Threading.Tasks;
using StarCommander.Domain.Messages;
namespace StarCommander.Application.Messages
{
public interface IJobScheduler
{
void Add(Job job);
Task Start(CancellationToken cancellationToken, bool autoStop = false);
Task Stop();
}
} | 6,573 |
https://github.com/song2kim/spaceone-console-core-lib/blob/master/.eslintrc.js | Github Open Source | Open Source | Apache-2.0 | 2,021 | spaceone-console-core-lib | song2kim | JavaScript | Code | 204 | 880 | module.exports = {
root: true,
extends: [
'airbnb-base',
'plugin:@typescript-eslint/eslint-recommended'
],
parser: '@typescript-eslint/parser',
parserOptions: {
sourceType: 'module',
ecmaVersion: 2018
},
plugins: [
'@typescript-eslint'
],
env: ... | 6,750 |
https://github.com/crhondeau/veracode2rally/blob/master/src/veracode2rally/credentials.java | Github Open Source | Open Source | Unlicense | 2,019 | veracode2rally | crhondeau | Java | Code | 357 | 1,987 | package veracode2rally;
import java.io.IOException;
import java.net.URI;
import java.net.URISyntaxException;
import javax.xml.parsers.ParserConfigurationException;
import javax.xml.xpath.XPathExpressionException;
import org.jasypt.encryption.pbe.StandardPBEStringEncryptor;
import org.xml.sax.SAXException;
import co... | 4,551 |
https://github.com/luoxushenquan/yiishop/blob/master/backend/controllers/ArticleController.php | Github Open Source | Open Source | BSD-3-Clause | null | yiishop | luoxushenquan | PHP | Code | 170 | 898 | <?php
/**
* Created by PhpStorm.
* User: pc
* Date: 2017/11/3
* Time: 18:33
*/
namespace backend\controllers;
use backend\filters\RbacFilter;
use backend\models\Article;
use backend\models\ArticleCategory;
use backend\models\ArticleDetail;
use yii\data\Pagination;
use yii\web\Controller;
use yii\web\Request;
clas... | 8,336 |
https://github.com/vincent-nguyen8931/Google-book-search/blob/master/client/src/components/BookSearch/index.js | Github Open Source | Open Source | Unlicense | null | Google-book-search | vincent-nguyen8931 | JavaScript | Code | 133 | 417 | import React from "react";
import { Component } from "react";
import style from "./style.css";
import API from "../../utils/API"
class BookSearch extends Component {
state = {
books: [],
search: ""
}
// handleInputChange = event => {
// var value = event.target.value;
// var name = event.target.... | 16,640 |
https://github.com/ArvydasSlekaitis/priimksprendima/blob/master/scripts/node_modules/ix/add/asynciterable-operators/scan.mjs | Github Open Source | Open Source | CC0-1.0, MIT | 2,020 | priimksprendima | ArvydasSlekaitis | JavaScript | Code | 31 | 97 | import { AsyncIterableX } from '../../asynciterable/asynciterablex';
import { scan } from '../../asynciterable/scan';
/**
* @ignore
*/
export function scanProto(accumulator, ...seed) {
return scan(this, accumulator, ...seed);
}
AsyncIterableX.prototype.scan = scanProto;
//# sourceMappingURL=scan.mjs.map
| 13,378 |
https://github.com/Amplicode/amplicode-frontend/blob/master/packages/codegen/src/generators/react-typescript/entity-details/write.ts | Github Open Source | Open Source | Apache-2.0 | 2,021 | amplicode-frontend | Amplicode | TypeScript | Code | 66 | 314 | import {YeomanGenerator} from "../../../building-blocks/YeomanGenerator";
import {writeAmplicodeComponent} from "../../../building-blocks/stages/writing/pieces/mvp/mvp";
import {MvpEntityEditorTemplateModel} from "./template-model";
import path from "path";
import {writeDisplayNameFunctionsForRelations} from "../../../... | 29,744 |
https://github.com/elmer-garduno/utils-java/blob/master/src/main/java/com/google/cloud/genomics/utils/Paginator.java | Github Open Source | Open Source | Apache-2.0 | null | utils-java | elmer-garduno | Java | Code | 2,742 | 8,377 | /*
* Copyright (C) 2014 Google 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 ... | 40,551 |
https://github.com/thebeansgroup/ems/blob/master/test/dummy/config/initializers/ems.rb | Github Open Source | Open Source | MIT | 2,012 | ems | thebeansgroup | Ruby | Code | 3 | 11 | Ems.user_class = "Users" | 1,944 |
https://github.com/Nielghson/EDDI/blob/master/Tests/BgsDataTests.cs | Github Open Source | Open Source | Apache-2.0 | 2,019 | EDDI | Nielghson | C# | Code | 152 | 832 | using EddiBgsService;
using EddiDataDefinitions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Newtonsoft.Json.Linq;
using System.Linq;
using Tests.Properties;
namespace UnitTests
{
// Tests for the EliteBGS Service
[TestClass]
public class BgsDataTests : TestBase
{
[TestInitializ... | 1,684 |
https://github.com/Manshi-M/HackerRank/blob/master/Sql/Basic Join/Challenges/solution.frm | Github Open Source | Open Source | MIT | 2,019 | HackerRank | Manshi-M | Visual Basic | Code | 80 | 255 | SELECT h.hacker_id,
h.name,
COUNT(c.challenge_id) AS c_count
FROM Hackers h
JOIN Challenges c ON c.hacker_id = h.hacker_id
GROUP BY h.hacker_id, h.name
HAVING c_count =
(SELECT COUNT(challenge_id) AS c_max
FROM Challenges
GROUP BY hacker_id
ORDER BY c_max DESC limit 1)
OR c_count IN... | 34,003 |
https://github.com/distrakt/OmEspHelpers/blob/master/docs/search/functions_3.js | Github Open Source | Open Source | MIT | 2,021 | OmEspHelpers | distrakt | JavaScript | Code | 5 | 60 | var searchData=
[
['dumpstate_189',['dumpState',['../class_om_eeprom.html#adfd3304271e08bfe79109120ab4944f7',1,'OmEeprom']]]
];
| 40,871 |
https://github.com/AbugaAroni/DjangoWeek1/blob/master/.env | Github Open Source | Open Source | MIT | 2,020 | DjangoWeek1 | AbugaAroni | Shell | Code | 21 | 144 | SECRET_KEY='8js2z2zy7_6k*(2b9f$bjibt0f-#y_shyqt2!q*i2bd2%673ej'
DEBUG=True
#set to false in production
DB_NAME='images'
DB_USER='abuga'
DB_PASSWORD='password'
DB_HOST='127.0.0.1'
MODE='dev'
#set to 'prod' in production
ALLOWED_HOSTS='.localhost', '.herokuapp.com', '.127.0.0.1'
DISABLE_COLLECTSTATIC=1
| 9,729 |
https://github.com/gabrielelanaro/ctparse/blob/master/tests/test_ctparse.py | Github Open Source | Open Source | MIT | null | ctparse | gabrielelanaro | Python | Code | 409 | 1,505 | from unittest import TestCase
from time import sleep
from datetime import datetime
from ctparse.ctparse import _timeout, ctparse, _seq_match, _match_rule
from ctparse.types import Time
class TestCTParse(TestCase):
def test_timeout(self):
t_fun = _timeout(0.5)
with self.assertRaises(Exception):
... | 37,959 |
https://github.com/vitessio/vitess/blob/master/go/maps2/maps.go | Github Open Source | Open Source | Apache-2.0 | 2,023 | vitess | vitessio | Go | Code | 182 | 325 | /*
Copyright 2023 The Vitess Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, soft... | 31,987 |
https://github.com/aliyun/alibabacloud-python-sdk-v2/blob/master/alibabacloud/clients/emr_20160408.py | Github Open Source | Open Source | Apache-2.0 | 2,022 | alibabacloud-python-sdk-v2 | aliyun | Python | Code | 15,475 | 81,752 | # Copyright 2019 Alibaba Cloud Inc. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable la... | 12,059 |
https://github.com/timigen2010/crm/blob/master/app/Service/File/Upload/UploadFileInterface.php | Github Open Source | Open Source | MIT | null | crm | timigen2010 | PHP | Code | 42 | 106 | <?php
namespace App\Service\File\Upload;
use Illuminate\Http\Request;
interface UploadFileInterface
{
/**
* @param Request $request
* @param string $filename
* @param string $dirSave
* @param string $disk
* @return mixed
*/
public function upload(Request $request, string $filena... | 33,331 |
https://github.com/intellegens-hr/commons/blob/master/dotnetcore/Intellegens.Commons.Search.Tests/FullTextTests/ExtensionsTest.cs | Github Open Source | Open Source | MIT | null | commons | intellegens-hr | C# | Code | 281 | 1,016 | using Intellegens.Commons.Search.FullTextSearch;
using System.Collections.Generic;
using Xunit;
namespace Intellegens.Commons.Search.Tests.FullTextTests
{
public class ExtensionsTest
{
public class DemoClass001
{
public int Id { get; set; }
public string Name { get; set... | 23,820 |
https://github.com/LeoChensj/LeoNet/blob/master/LeoNetDemo/SearchModel/SearchRequest.m | Github Open Source | Open Source | MIT | 2,017 | LeoNet | LeoChensj | Objective-C | Code | 86 | 295 | //
// SearchRequest.m
// LeoNetDemo
//
// Created by MAC on 2017/9/19.
// Copyright © 2017年 MAC. All rights reserved.
//
#import "SearchRequest.h"
@implementation SearchRequest
- (instancetype)initWithRequestModel:(SearchRequestModel *)model
{
if(self = [super init])
{
_requestModel = model;
... | 18,420 |
https://github.com/5ace/PTS_Server/blob/master/cdvs/CDVS_evaluation_framework/cssc_train/Makefile.am | Github Open Source | Open Source | BSD-3-Clause, Unlicense | 2,019 | PTS_Server | 5ace | Makefile | Code | 21 | 165 | bin_PROGRAMS = cssc_train
cssc_train_SOURCES = cssc_train.cpp
cssc_train_CPPFLAGS = -I$(srcdir)/../lib -I$(srcdir)/../shared -I$(srcdir)/../libraries -I$(srcdir)/../libraries/timer -I$(srcdir)/../libraries/map -I$(srcdir)/../libraries/bitstream/src -I$(srcdir)/../shared -I$(srcdir)/../libraries/vlfeat -I$(srcdir)/../li... | 32,384 |
https://github.com/jpbetz/test-infra/blob/master/maintenance/migratestatus/migrator/migrator_test.go | Github Open Source | Open Source | Apache-2.0 | 2,021 | test-infra | jpbetz | Go | Code | 1,341 | 4,168 | /*
Copyright 2017 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, ... | 13,107 |
https://github.com/tantei3/LinRegOutliers/blob/master/src/.dev/outlier.jl | Github Open Source | Open Source | MIT | 2,020 | LinRegOutliers | tantei3 | Julia | Code | 140 | 545 | @info "Loading StatsModels"
# using StatsModels
import StatsModels: @formula, FormulaTerm, ModelFrame, ModelMatrix
@info "Loading DataFrames"
# using DataFrames
import DataFrames: DataFrame
@info "Loading Distributions"
# using Distributions
import Distributions: TDist, Chisq, std, cov, median
@info "Loading Cluster... | 30,643 |
https://github.com/FortWorthGameDev/MayByMoonlight/blob/master/Assets/Scripts/_Gameplay/BarktenderMovement.cs | Github Open Source | Open Source | Unlicense | 2,018 | MayByMoonlight | FortWorthGameDev | C# | Code | 45 | 141 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BarktenderMovement : MonoBehaviour {
public Transform[] playerLocations;
KeyboardInputController inputController;
void Start()
{
inputController = FindObjectOfType<KeyboardInputController>();
}
... | 28,785 |
https://github.com/janepanye/LoveMovie/blob/master/LoveMovie/LoveMovie/Classes/Find/View/DYVideoView.m | Github Open Source | Open Source | MIT | 2,016 | LoveMovie | janepanye | Objective-C | Code | 100 | 400 | //
// DYVideoView.m
// LoveMovie
//
// Created by xudingyang on 16/5/20.
// Copyright © 2016年 许定阳. All rights reserved.
//
#import "DYVideoView.h"
#import "DYNews.h"
#import <UIImageView+WebCache.h>
@interface DYVideoView ()
@property (weak, nonatomic) IBOutlet UIImageView *iconView;
@property (weak, nonatomic) ... | 16,727 |
https://github.com/swen-ttc/monasca_api/blob/master/java/src/test/java/monasca/api/infrastructure/persistence/mysql/AlarmDefinitionMySqlRepositoryImplTest.java | Github Open Source | Open Source | Apache-2.0 | null | monasca_api | swen-ttc | Java | Code | 1,046 | 4,131 | /*
* Copyright (c) 2014 Hewlett-Packard Development Company, L.P.
*
* 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 b... | 30,875 |
https://github.com/uezo/ChatdollK/blob/master/Extension/Google/GoogleApplicationConfig.cs | Github Open Source | Open Source | Apache-2.0 | 2,022 | ChatdollK | uezo | C# | Code | 28 | 74 | using UnityEngine;
namespace ChatdollKit.Extension.Google
{
public class GoogleApplicationConfig : ScriptableObject
{
[Header("Google Speech API")]
public string SpeechApiKey;
public string Language;
public string Gender;
public string SpeakerName;
}
}
| 11,173 |
https://github.com/jojomanoke/opdrachten/blob/master/app/Http/Controllers/CalendarController.php | Github Open Source | Open Source | MIT | null | opdrachten | jojomanoke | PHP | Code | 74 | 333 | <?php
namespace App\Http\Controllers;
use App\Event;
use Illuminate\Http\Request;
use MaddHatter\LaravelFullcalendar\Calendar;
class CalendarController extends Controller
{
/**
* Returns the view clientside/calendar/calendar.blade.php
* @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View
... | 29,966 |
https://github.com/JPAT-ROSEMARY/SCUBA/blob/master/org.jpat.scuba.external.slf4j/logback-1.2.3/logback-classic/src/main/java/ch/qos/logback/classic/filter/LevelFilter.java | Github Open Source | Open Source | EPL-1.0, LGPL-2.1-only, MIT | 2,021 | SCUBA | JPAT-ROSEMARY | Java | Code | 180 | 463 | /**
* Logback: the reliable, generic, fast and flexible logging framework.
* Copyright (C) 1999-2015, QOS.ch. All rights reserved.
*
* This program and the accompanying materials are dual-licensed under
* either the terms of the Eclipse Public License v1.0 as published by
* the Eclipse Foundation
*
* or (per ... | 17,500 |
https://github.com/coolguy284/coolguy284/blob/master/oldk/javascript/texteditor2.js | Github Open Source | Open Source | MIT | 2,019 | coolguy284 | coolguy284 | JavaScript | Code | 142 | 335 | /*
BACK 8
TAB 9
ENTER 10
DEL 127
INS 155
*/
var textdat = [[]];
var textlin = 0;
var totstr = "";
keyPressed = function() {
fill(0);
background(255);
println(keyCode + " " + key);
if (keyCode !== 8 && keyCode !== 9 && keyCode !== 10 && keyCode !== 127 && keyCode !== 155 && keyCode !== 16 && keyCode !== ... | 49,562 |
https://github.com/mateusz-kifner/Quiz_app_old/blob/master/Quiz/Warning.gd | Github Open Source | Open Source | MIT | 2,019 | Quiz_app_old | mateusz-kifner | GDScript | Code | 17 | 99 | extends Control
func _ready():
pass
func _on_Back_pressed():
visible = false
get_parent().get_parent().get_node("Menu").visible = true
func _on_Quit_pressed():
get_tree().get_root().get_node("Main/MainMenu").animate_in()
get_parent().get_parent().queue_free()
| 50,123 |
https://github.com/belbio/bel_api/blob/master/app/common/jwt.py | Github Open Source | Open Source | Apache-2.0 | 2,020 | bel_api | belbio | Python | Code | 151 | 480 | import jwt
from datetime import datetime, timedelta
from bel.Config import config
import logging
log = logging.getLogger(__name__)
jwt_algorithm = 'HS256'
def jwt_create(userid, payload, expiration=None):
"""Create a JSON Web Token
payload: dictionary to be added to JWT
expiration: number of s... | 35,513 |
https://github.com/andykrier/guide-to-allyship/blob/master/.gitignore | Github Open Source | Open Source | MIT | 2,020 | guide-to-allyship | andykrier | Ignore List | Code | 6 | 15 | # Ignore Eleventy output folder
_site/
| 18,769 |
https://github.com/jkloth/pyxml/blob/master/test/dom/html/test_iframe.py | Github Open Source | Open Source | MIT | 2,018 | pyxml | jkloth | Python | Code | 83 | 292 | from util import testAttribute, error
from util import testIntAttribute
def test():
print 'testing source code syntax'
from xml.dom.html import HTMLIFrameElement
from xml.dom import implementation
doc = implementation.createHTMLDocument('Title')
f = doc.createElement('IFrame')
print 'testing g... | 882 |
https://github.com/Tsvetelin98/Solar/blob/master/net.solarnetwork.node.upload.bulkjsonwebpost.test/src/net/solarnetwork/node/upload/bulkjsonwebpost/test/AbstractHttpTests.java | Github Open Source | Open Source | Apache-2.0 | null | Solar | Tsvetelin98 | Java | Code | 315 | 681 | /* ==================================================================
* AbstractHttpTests.java - 8/08/2017 9:10:16 AM
*
* Copyright 2017 SolarNetwork.net Dev Team
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by ... | 39,176 |
https://github.com/netsparker/Titanium-Web-Proxy/blob/master/Titanium.Web.Proxy/Decompression/DecompressionFactory.cs | Github Open Source | Open Source | MIT | 2,017 | Titanium-Web-Proxy | netsparker | C# | Code | 55 | 158 | namespace Titanium.Web.Proxy.Decompression
{
/// <summary>
/// A factory to generate the de-compression methods based on the type of compression
/// </summary>
internal class DecompressionFactory
{
internal IDecompression Create(string type)
{
switch(type)
{
... | 8,103 |
https://github.com/sstadick/ripline/blob/master/examples/from_file.rs | Github Open Source | Open Source | MIT, Unlicense | 2,022 | ripline | sstadick | Rust | Code | 76 | 286 | use grep_cli::stdout;
use ripline::{
line_buffer::{LineBufferBuilder, LineBufferReader},
lines::LineIter,
LineTerminator,
};
use std::{env, error::Error, fs::File, io::Write, path::PathBuf};
use termcolor::ColorChoice;
fn main() -> Result<(), Box<dyn Error>> {
let path = PathBuf::from(env::args().nth(1... | 2,230 |
https://github.com/tranlehaiquan/CatWiki/blob/master/src/components/Link/index.tsx | Github Open Source | Open Source | RSA-MD | null | CatWiki | tranlehaiquan | TypeScript | Code | 38 | 123 | import React from 'react';
import { GatsbyLinkProps, Link } from 'gatsby';
import classes from './index.module.scss';
interface CustomGatsbyLink extends Omit<GatsbyLinkProps<Record<string, unknown>>, 'ref'> {}
const CustomLink: React.FC<CustomGatsbyLink> = (props) => (
<Link className={classes.link} {...props}>
... | 288 |
https://github.com/jimbok8/nesa/blob/master/London-North-Eastern/LN920/LN920.tsv | Github Open Source | Open Source | BSD-2-Clause-Views, CC0-1.0 | 2,017 | nesa | jimbok8 | TSV | Code | 52 | 107 | page route sequence name date location miles chains restriction
0457 LN920 001 Anlaby Road Jn to West Parade North Jn AWP London North Eastern 02/12/06 Anlaby Road Jn 0 00
0457 LN920 001 Anlaby Road Jn to West Parade North Jn AWP London North Eastern 02/12/06 West Parade North Jn 0 24
| 23,603 |
https://github.com/corbolais/bash-git-prompt/blob/master/.gitignore | Github Open Source | Open Source | BSD-2-Clause | 2,018 | bash-git-prompt | corbolais | Ignore List | Code | 6 | 20 | *~
*.bak
.idea/
tags
*.sw?
*diff
| 33,939 |
https://github.com/jeffwerle/TribeToolSite/blob/master/sites/tribetool/build/directives/teach/teachDirectives.js | Github Open Source | Open Source | MIT | 2,015 | TribeToolSite | jeffwerle | JavaScript | Code | 527 | 1,938 | angular.module('app.Directives')
.directive('teacherLesson', [function () {
return {
replace: true,
restrict: 'E',
template:
'<div>' +
'<label>Date: </label>' +
'<div>{{lesson.Date | dateRobust: \'medium\'}}</div>' +... | 13,988 |
https://github.com/Ideolys/lunaris/blob/master/lib/_builder/store/compilation.js | Github Open Source | Open Source | Apache-2.0 | null | lunaris | Ideolys | JavaScript | Code | 1,788 | 5,108 | const OPERATORS = require('../../../src/utils').OPERATORS;
const OPERATORS_KEYS = Object.keys(OPERATORS);
/**
* Generate function to get primaryKey
* @param {Array} primaryKey
* @return {Function}
*/
function getPrimaryKeyFn (primaryKey) {
var _fn = 'var _pk = [];';
if (!primaryKey.length) {
_fn += '... | 25,143 |
https://github.com/um3k/gbvm/blob/master/examples/gbs_sample_color/project/build/src/include/data/tileset_11.h | Github Open Source | Open Source | MIT | 2,022 | gbvm | um3k | C | Code | 19 | 71 | #ifndef TILESET_11_H
#define TILESET_11_H
// Tileset: 11
#include "gbs_types.h"
extern const void __bank_tileset_11;
extern const struct tileset_t tileset_11;
#endif
| 41,026 |
https://github.com/chechecarer/wishtree_web/blob/master/src/styles/usershow/Userdetail.sass | Github Open Source | Open Source | MIT | null | wishtree_web | chechecarer | Sass | Code | 17 | 59 | .userdetail
//border: 1px dashed #f00
margin-top: 10em
.thumbnail
width: 60%
margin: 10px auto
img
width: 100%
.useritems
| 5,820 |
https://github.com/hsdt/shorturl/blob/master/env.default.sh | Github Open Source | Open Source | MIT | null | shorturl | hsdt | Shell | Code | 18 | 59 | # config firebase functions
firebase functions:config:set config.api_key=
firebase functions:config:set config.domain_uri_prefix=
# cd functions
# firebase functions:config:get > .runtimeconfig.json
| 10,600 |
https://github.com/lckamal/daybook/blob/master/app/database/seeds/AddPermissionsTableSeeder.php | Github Open Source | Open Source | MIT | 2,013 | daybook | lckamal | PHP | Code | 47 | 171 | <?php
class AddPermissionsTableSeeder extends Seeder {
public function run()
{
$permissions = array(
array(
'name' => 'manage_pages',
'display_name' => 'manage pages'
),
array(
'name' => 'ma... | 1,656 |
https://github.com/gabrielseco/ggseco-gatsby-v3/blob/master/src/components/Cover/index.ts | Github Open Source | Open Source | MIT | null | ggseco-gatsby-v3 | gabrielseco | TypeScript | Code | 8 | 12 | export { default as Cover } from './Cover';
| 15,784 |
https://github.com/achavan51/googleads-java-lib-master/blob/master/modules/dfp_appengine/src/main/java/com/google/api/ads/dfp/jaxws/v201702/DeliveryRateType.java | Github Open Source | Open Source | Apache-2.0 | null | googleads-java-lib-master | achavan51 | Java | Code | 276 | 636 | // Copyright 2017 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law... | 12,867 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.