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/Jean-Baptiste-Camps/ALTEI/blob/master/insertLines.xsl | Github Open Source | Open Source | CC-BY-3.0 | 2,021 | ALTEI | Jean-Baptiste-Camps | null | Spoken | 404 | 2,012 | <?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:tei="http://www.tei-c.org/ns/1.0"
xmlns:alto="http://www.loc.gov/standards/alto/ns-v4#"
exclude-result-prefixes="xs tei"
version="2.0">
<... | 36,016 |
https://github.com/1027kg/csv-select/blob/master/src/App.vue | Github Open Source | Open Source | MIT | 2,019 | csv-select | 1027kg | Vue | Code | 41 | 182 | <template>
<div class="container">
<router-view />
</div>
</template>
<script lang="ts">
import Vue from 'vue'
export default Vue.extend({})
</script>
<style lang="scss">
@import '../node_modules/bulma/bulma.sass';
.scroll{
overflow: auto;
white-space: nowrap;
}
.scroll::-webkit-scrollbar{
height: 5px;... | 20,164 |
https://github.com/DnsZhou/pnc-web-ui-react/blob/master/src/utils/entityRecognition.ts | Github Open Source | Open Source | Apache-2.0 | null | pnc-web-ui-react | DnsZhou | TypeScript | Code | 20 | 48 | export const isBuild = (possibleBuild: any) => 'buildConfigRevision' in possibleBuild;
export const isGroupBuild = (possibleGroupBuild: any) => 'groupConfig' in possibleGroupBuild;
| 15,470 |
https://github.com/javiomoreno/Calendario-Virtual-AKC/blob/master/app/js/controllers/FotografiaEditarController.js | Github Open Source | Open Source | MIT | null | Calendario-Virtual-AKC | javiomoreno | JavaScript | Code | 331 | 1,648 | calendModController.controller('FotografiaEditarController', [
'$scope',
'$routeParams',
'$location',
'calImagService',
func... | 21,676 |
https://github.com/codedevmdu/cbcpp/blob/master/Programming Fundamental/typecasting.cpp | Github Open Source | Open Source | MIT | 2,020 | cbcpp | codedevmdu | C++ | Code | 42 | 138 | #include<iostream>
using namespace std;
int main(){
int a=2;
char b='A';
//char + int = int (because integer has higher priority)
cout<<(a+b)<<"\n";
b = b+2;
cout<<b<<endl;
//Explicit Typecast - 1) Upgrade 2)-Degraded
cout<<int(b)<<endl;
cout<<bool(b)<<endl;//Any non-zero value is... | 4,029 |
https://github.com/littleflute/Usher/blob/master/Looking 4 Myself/m.js | Github Open Source | Open Source | MIT | null | Usher | littleflute | JavaScript | Code | 82 | 268 | var f = [];
f[0] = "v0.0.7";
f[1] = "01 Can't Stop Won't Stop.mp3";
f[2] = "02 Scream.mp3";
f[3] = "03 Climax.mp3";
f[4] = "04 I Care for U.mp3";
f[5] = "05 Show Me.mp3";
f[6] = "06 Lemme See.mp3";
f[7] = "07 Twisted.mp3";
f[8] = "08 Dive.mp3";
f[9] = "09 What Happened to U.mp3";
f[10] = "10 Lo... | 3,200 |
https://github.com/ScalablyTyped/SlinkyTyped/blob/master/j/jupyterlab__json-extension/src/main/scala/typingsSlinky/jupyterlabJsonExtension/mod.scala | Github Open Source | Open Source | MIT | 2,021 | SlinkyTyped | ScalablyTyped | Scala | Code | 124 | 550 | package typingsSlinky.jupyterlabJsonExtension
import org.scalablytyped.runtime.Shortcut
import typingsSlinky.jupyterlabApputils.printingMod.Printing.IPrintable
import typingsSlinky.jupyterlabRendermimeInterfaces.mod.IRenderMime.IExtension
import typingsSlinky.jupyterlabRendermimeInterfaces.mod.IRenderMime.IRenderer
im... | 33,890 |
https://github.com/wolframite/fusioninvoice/blob/master/app/Modules/Expenses/Controllers/ExpenseEditController.php | Github Open Source | Open Source | Apache-2.0 | 2,018 | fusioninvoice | wolframite | PHP | Code | 116 | 486 | <?php
/**
* This file is part of FusionInvoice.
*
* (c) FusionInvoice, LLC <jessedterry@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace FI\Modules\Expenses\Controllers;
use FI\Http\Controllers\Controller;
us... | 43,814 |
https://github.com/PWENZWE700/mlreef/blob/master/backend/mlreef-rest/src/main/kotlin/com/mlreef/rest/feature/experiment/ExperimentService.kt | Github Open Source | Open Source | MIT | 2,022 | mlreef | PWENZWE700 | Kotlin | Code | 984 | 3,365 | package com.mlreef.rest.feature.experiment
import com.mlreef.rest.*
import com.mlreef.rest.annotations.SaveRecentProject
import com.mlreef.rest.domain.*
import com.mlreef.rest.exceptions.*
import com.mlreef.rest.external_api.gitlab.GitlabRestClient
import com.mlreef.rest.feature.auth.UserResolverService
import com.mlr... | 11,159 |
https://github.com/joyjain/DataStructures/blob/master/determinant.c | Github Open Source | Open Source | MIT | 2,016 | DataStructures | joyjain | C | Code | 38 | 228 | #include<stdio.h>
#include<math.h>
void main()
{
int i,j,m,n,sum=0,det=0,mat[10][10];
printf("Enter the order of the square matrix\n");
scanf("%d%d",&m,&n);
printf("Enter the elements of the matrix\n");
for(i=0;i<m;++i)
{
for(j=0;j<n;++j)
{
scanf("%d",&mat[i][j]);
}
}
for(j=0;j<n;++j)
{
sum=sum+((mat[1][j])*((mat[2][(j... | 4,991 |
https://github.com/Knappek/mongodbatlas-operator/blob/master/vendor/google.golang.org/grpc/balancer/xds/internal/proto/envoy/api/v2/core/health_check/health_check.pb.go | Github Open Source | Open Source | Apache-2.0 | 2,019 | mongodbatlas-operator | Knappek | Go | Code | 3,922 | 15,995 | // Code generated by protoc-gen-go. DO NOT EDIT.
// source: envoy/api/v2/core/health_check.proto
package envoy_api_v2_core
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
import any "github.com/golang/protobuf/ptypes/any"
import duration "github.com/golang/protobuf/ptypes/duration"... | 12,259 |
https://github.com/oussamahamdaoui/react-toolkit/blob/master/packages/Layout/footer-client/src/_social-network.scss | Github Open Source | Open Source | MIT | 2,019 | react-toolkit | oussamahamdaoui | SCSS | Code | 24 | 91 | .social-network__list {
list-style: none;
display: flex;
padding: 0;
}
.social-network__item {
flex-grow: 1;
}
.social-network__link {
color: $color-white;
}
.social-network__icon {
font-size: 25px;
}
| 11,486 |
https://github.com/dgh1000/cac/blob/master/src/Score/script6.hs | Github Open Source | Open Source | BSD-3-Clause | null | cac | dgh1000 | Haskell | Code | 58 | 141 | {-# LANGUAGE TypeSynonymInstances, FlexibleInstances #-}
import qualified Data.Map as M
import Data.Map(Map)
import Util.Showable
class Stringable s where
showStr :: s -> String
type ShowableTuple a b = (a,[b])
type ShowableLMap a b = Map a [b]
instance (Stringable a, Showable b) => Showable (ShowableTuple ... | 35,644 |
https://github.com/tuple-based-coord/tusow/blob/master/linda-text-client/src/main/kotlin/it/unibo/coordination/linda/text/remote/RemoteTextualSpace.kt | Github Open Source | Open Source | Apache-2.0 | 2,021 | tusow | tuple-based-coord | Kotlin | Code | 170 | 585 | package it.unibo.coordination.linda.text.remote
import it.unibo.coordination.linda.remote.RemoteTupleSpace
import it.unibo.coordination.linda.text.RegexTemplate
import it.unibo.coordination.linda.text.RegularMatch
import it.unibo.coordination.linda.text.StringTuple
import it.unibo.coordination.linda.text.TextualSpace
... | 19,664 |
https://github.com/RPG-7/MaSoCist/blob/master/hdl/neo430/vhdlconfig.mk | Github Open Source | Open Source | Naumen, Condor-1.1, MS-PL | 2,022 | MaSoCist | RPG-7 | Makefile | Code | 51 | 285 |
ifndef CONFIG_NEO430_NATIVE
CONFIGURATION-y += $(call convert_int,CONFIG_NEO430_DMEM_WIDTH)
endif
CONFIGURATION-y += $(call convert_boolean,CONFIG_NEO430_DADD)
CONFIGURATION-y += $(call convert_boolean,CONFIG_NEO430_MULDIV)
CONFIGURATION-y += $(call convert_boolean,CONFIG_NEO430_PWM)
CONFIGURATION-y += $(call convert... | 8,765 |
https://github.com/INOS-soft/pbi/blob/master/modules/games/barrage/pbi.conf | Github Open Source | Open Source | MIT | 2,021 | pbi | INOS-soft | Shell | Code | 18 | 180 | #!/bin/sh
PBI_PROGNAME="barrage"
PBI_PROGWEB="http://lgames.sourceforge.net/index.php?project=Barrage"
PBI_PROGAUTHOR="ports@FreeBSD.org"
PBI_PROGICON="defaulticon.png"
PBI_MAKEPORT="games/barrage"
PBI_MKPORTBEFORE=""
PBI_MKPORTAFTER=""
PBI_MAKEOPTS=""
export PBI_MAKEOPTS PBI_PROGNAME PBI_PROGWEB PBI_PROGAUTHOR PBI_MKP... | 19,043 |
https://github.com/bcetin/Monsplode/blob/master/Assets/CreaturesModule/Materials.meta | Github Open Source | Open Source | LicenseRef-scancode-warranty-disclaimer, MIT | 2,021 | Monsplode | bcetin | Unity3D Asset | Code | 14 | 68 | fileFormatVersion: 2
guid: d2dc871ce3d87e146a80697e7325590a
folderAsset: yes
timeCreated: 1474740407
licenseType: Free
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:
| 45,425 |
https://github.com/MounGit/Le_grand_terrassement/blob/master/app/Models/Welcome.php | Github Open Source | Open Source | MIT | null | Le_grand_terrassement | MounGit | PHP | Code | 26 | 102 | <?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Welcome extends Model
{
use HasFactory;
protected $table = "welcomes";
protected $fillable = ["about_part1", "about_part2", "award_part1", "award_part2"];
}
| 52,800 |
https://github.com/yuzhou42/pyOptimalMotionPlanning/blob/master/pomp/klampt/robotsim.py | Github Open Source | Open Source | Apache-2.0 | 2,022 | pyOptimalMotionPlanning | yuzhou42 | Python | Code | 11,395 | 46,131 | # This file was automatically generated by SWIG (http://www.swig.org).
# Version 2.0.12
#
# Do not make changes to this file unless you know what you are doing--modify
# the SWIG interface file instead.
"""
Klamp't Core Python bindings
"""
from sys import version_info
if version_info >= (2,6,0):
def swig_impo... | 15,701 |
https://github.com/bbruser885/Tillamook-Dashboard/blob/master/dashboard/src/app/test/test.component.ts | Github Open Source | Open Source | MIT | null | Tillamook-Dashboard | bbruser885 | TypeScript | Code | 308 | 1,050 | import { Component, OnInit } from '@angular/core';
import { DashService } from '../dash.service';
import { ArrayResponse, SingleResponse } from '../master-service';
import { Form } from '../form'
@Component({
selector: 'app-test',
templateUrl: './test.component.html',
styleUrls: ['./test.component.css']
})
expor... | 32,152 |
https://github.com/SM-Technologies/Save-Money/blob/master/components/header/HeaderLogo.jsx | Github Open Source | Open Source | MIT | 2,020 | Save-Money | SM-Technologies | null | Spoken | 64 | 214 | import React from 'react';
import Link from 'next/link';
// import Image from '../../../public/samotech-logo.svg';
import Image from '../../public/samotech-logo.svg';
export default function Logo() {
return (
<>
<div className='logo__container'>
<Link href='#jumper'>
<a>
<img... | 50,938 |
https://github.com/ViBiOh/dashboard/blob/master/src/presentationals/Container/Logs/index.test.js | Github Open Source | Open Source | MIT | 2,019 | dashboard | ViBiOh | JavaScript | Code | 68 | 189 | import test from 'ava';
import React from 'react';
import { shallow } from 'enzyme';
import Logs from './index';
function defaultProps() {
return {
toggleFullScreenLogs: () => null,
};
}
test('should always render as a span', t => {
const wrapper = shallow(<Logs {...defaultProps()} />);
t.is(wrapper.type... | 7,492 |
https://github.com/formix/dsx/blob/master/src/main/java/org/formix/dsx/builders/XmlOrder.java | Github Open Source | Open Source | Apache-2.0 | 2,015 | dsx | formix | Java | Code | 174 | 342 | /****************************************************************************
* Copyright 2009-2015 Jean-Philippe Gravel, P. Eng. CSDP
*
* 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
*... | 43,748 |
https://github.com/Edeyson/ingSoftwareII/blob/master/routes/web.php | Github Open Source | Open Source | MIT | null | ingSoftwareII | Edeyson | PHP | Code | 153 | 461 | <?php
use Illuminate\Support\Facades\Route;
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the Route... | 50,216 |
https://github.com/MGS1GreyFox/Cardshifter/blob/master/cardshifter-api/src/main/java/com/cardshifter/api/serial/FieldsCollection.java | Github Open Source | Open Source | LicenseRef-scancode-warranty-disclaimer, Apache-2.0 | 2,015 | Cardshifter | MGS1GreyFox | Java | Code | 998 | 3,024 | package com.cardshifter.api.serial;
import java.io.ByteArrayOutputStream;
import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.IOException;
import java.lang.reflect.*;
import java.util.*;
import org.apache.log4j.LogManager;
import org.apache.log4j.Logger;
public class FieldsCollection<T> {... | 10,219 |
https://github.com/g-aleprojetos/ProjetoProprio-Monitoramento/blob/master/esp8266/esp8266-react/lib/framework/APSettingsService.h | Github Open Source | Open Source | MIT | null | ProjetoProprio-Monitoramento | g-aleprojetos | C | Code | 342 | 1,464 | #ifndef APSettingsConfig_h
#define APSettingsConfig_h
#include <SettingValue.h>
#include <HttpEndpoint.h>
#include <FSPersistence.h>
#include <JsonUtils.h>
#include <DNSServer.h>
#include <IPAddress.h>
#ifndef FACTORY_AP_PROVISION_MODE
#define FACTORY_AP_PROVISION_MODE AP_MODE_DISCONNECTED
#endif
#ifndef FACTORY_AP... | 41,963 |
https://github.com/bilsaboob/nemerle/blob/master/VsIntegration/ComInteropHelper/Properties.cs | Github Open Source | Open Source | BSD-2-Clause | 2,019 | nemerle | bilsaboob | C# | Code | 60 | 283 | using System.Runtime.InteropServices;
namespace ComInteropHelpers
{
[ComVisible(true)]
[Guid("FD22DD9F-592E-41b1-B6D6-135B78E10809")]
[InterfaceType(ComInterfaceType.InterfaceIsIDispatch)]
public interface IProjectConfigProperties
{
[DispId(1)] string OutputPath { get; set; }
}
[ComVisible(true)]
[Guid("7C... | 7,566 |
https://github.com/vpavelRP/sp-sdk-android/blob/master/zenkey-sdk/src/main/kotlin/com/xci/zenkey/sdk/internal/ktx/String.kt | Github Open Source | Open Source | Apache-2.0 | null | sp-sdk-android | vpavelRP | Kotlin | Code | 152 | 360 | /*
* Copyright 2019 ZenKey, LLC.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | 38,562 |
https://github.com/austinb847/pedal-platform-client/blob/master/src/components/Inventory.js | Github Open Source | Open Source | MIT | 2,021 | pedal-platform-client | austinb847 | JavaScript | Code | 159 | 656 | import React from 'react';
import { Layout, Menu, Breadcrumb } from 'antd';
import InventoryTable from './InventoryTable'
const { Header, Content, Footer, Sider } = Layout;
const SubMenu = Menu.SubMenu;
class Inventory extends React.Component {
state = {
collapsed: false,
};
onCollapse = (collapsed) => {
... | 17,883 |
https://github.com/dalehenrich/rb/blob/master/repository/Refactoring-Tests-Critics.package/RBSmalllintTestObject.class/instance/assignmentInIfTrue.st | Github Open Source | Open Source | MIT | 2,020 | rb | dalehenrich | null | Spoken | 17 | 46 | methods
assignmentInIfTrue
| variable |
self isVariable
ifTrue: [variable := self]
ifFalse: [variable := self printString].
^variable | 11,202 |
https://github.com/fchenxi/metrics-agent/blob/master/metrics-agent-core/src/test/java/com/fleury/metrics/agent/transformer/visitors/injectors/TimedExceptionCountedInjectorTest.java | Github Open Source | Open Source | Apache-2.0 | 2,021 | metrics-agent | fchenxi | Java | Code | 185 | 741 | package com.fleury.metrics.agent.transformer.visitors.injectors;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import com.fleury.metrics.agent.annotation.ExceptionCounted;
import com.fleury.metrics.agent.annotation.Timed;
import java.lang.reflect.InvocationTargetException;
im... | 16,537 |
https://github.com/liuxiaofeng-git/gmall-1010/blob/master/gmall-oms/src/main/java/com/atguigu/gmall/oms/service/OrderService.java | Github Open Source | Open Source | Apache-2.0 | 2,020 | gmall-1010 | liuxiaofeng-git | Java | Code | 45 | 231 | package com.atguigu.gmall.oms.service;
import com.atguigu.gmall.oms.vo.OrderSubmitVo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.atguigu.gmall.common.bean.PageResultVo;
import com.atguigu.gmall.common.bean.PageParamVo;
import com.atguigu.gmall.oms.entity.OrderEntity;
import java.util.Map;
... | 38,424 |
https://github.com/dendisuhubdy/grokmachine/blob/master/Encryption/RIPEM3B4/ripem/doc/ripem.man | Github Open Source | Open Source | BSD-3-Clause | 2,018 | grokmachine | dendisuhubdy | null | Spoken | 3,600 | 6,547 |
RIPEM(1) UNIX Programmer's Manual RIPEM(1)
NAME
ripem - RSAREF-based Internet Privacy Enhanced Mail, version
2.1. Enciphers and deciphers messages using a public key
encryption system, and formats them for embedding in elec-
tronic mail messages. Also generates RSA pub... | 35,128 |
https://github.com/yuyang-huang/Appraise/blob/master/scripts/wmt_ranking_task.py | Github Open Source | Open Source | BSD-3-Clause | 2,022 | Appraise | yuyang-huang | Python | Code | 1,002 | 3,116 | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Project: Appraise evaluation system
Author: Matt Post <post@cs.jhu.edu>
This script takes a set of parallel files (source, reference, and system translations) and writes
out the XML file used to setup the corresponding Appraise tasks for WMT reranking. It supports many... | 28,457 |
https://github.com/sina-hide/Wissenstransfer.Tuples/blob/master/Tuple.sln | Github Open Source | Open Source | MIT | 2,019 | Wissenstransfer.Tuples | sina-hide | null | Spoken | 55 | 325 |
Microsoft Visual Studio Solution File, Format Version 12.00
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tuple", "Tuple.csproj", "{B998F5C1-817A-4B7B-8201-9D215582AB44}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|A... | 50,046 |
https://github.com/gldecurtins/freebsd-ports/blob/master/sysutils/libg15/Makefile | Github Open Source | Open Source | BSD-2-Clause | 2,021 | freebsd-ports | gldecurtins | Makefile | Code | 40 | 184 | PORTNAME= libg15
DISTVERSION= 3.0.5
CATEGORIES= sysutils
MASTER_SITES= https://gitlab.com/menelkir/${PORTNAME}/-/archive/${PORTVERSION}/
MAINTAINER= menelkir@itroll.org
COMMENT= API for control of LCD and the extra keys on Logitech keyboards
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
USES= compiler:gcc-c++11-li... | 53,076 |
https://github.com/psi-projekat/psi-projekat/blob/master/src/node/competition/electron.js | Github Open Source | Open Source | Unlicense | 2,019 | psi-projekat | psi-projekat | JavaScript | Code | 76 | 255 | 'use strict';
const fs = require('fs');
const path = require('path');
const O = require('../omikron');
const php = require('../php');
const comp = require('.');
setTimeout(() => main().catch(O.exit));
async function main(){
const compData = await php.exec('processNextCompetition');
const pointsPrev = getPoints(c... | 13,804 |
https://github.com/SqrTT/prophet/blob/master/src/server/langServer/services/htmlHover.ts | Github Open Source | Open Source | MIT | 2,022 | prophet | SqrTT | TypeScript | Code | 758 | 2,335 | /*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... | 12,906 |
https://github.com/MezzoLabs/Mezzo/blob/master/src/Core/Schema/InputTypes/TextInput.php | Github Open Source | Open Source | MIT | 2,016 | Mezzo | MezzoLabs | PHP | Code | 19 | 72 | <?php
namespace MezzoLabs\Mezzo\Core\Schema\InputTypes;
use Doctrine\DBAL\Types\Type;
class TextInput extends SimpleInput
{
protected $doctrineType = Type::STRING;
protected $htmlTag = "input:text";
} | 25,105 |
https://github.com/ssaavedra/conan/blob/master/conans/test/unittests/model/settings_test.py | Github Open Source | Open Source | MIT | 2,021 | conan | ssaavedra | Python | Code | 1,210 | 5,979 | import unittest
import six
from conans.errors import ConanException
from conans.model.settings import Settings, bad_value_msg, undefined_field, undefined_value
class SettingsLoadsTest(unittest.TestCase):
def test_none_value(self):
yml = "os: [None, Windows]"
settings = Settings.loads(yml)
... | 8,169 |
https://github.com/LinuxSuRen/satellity/blob/master/web/src/loading/loading.js | Github Open Source | Open Source | MIT | 2,021 | satellity | LinuxSuRen | JavaScript | Code | 24 | 88 | import './loading.scss';
import React from 'react';
const LoadingView = (props) => (
<div className={`lds-ring ${props.style}`}>
<div></div>
<div></div>
<div></div>
<div></div>
</div>
);
export default LoadingView;
| 12,847 |
https://github.com/marijang/kimanturadev/blob/master/wp-content/plugins/ct-ultimate-gdpr/includes/views/shortcode/shortcode-policy-accept.php | Github Open Source | Open Source | MIT | null | kimanturadev | marijang | PHP | Code | 227 | 833 | <?php
/**
* The template for displaying [ultimate_gdpr_policy_accept] shortcode view in wp-admin
*
* You can overwrite this template by copying it to yourtheme/ct-ultimate-gdpr/shortcode folder
*
* @version 1.0
*
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
/** @var array $options */
$policy_btn_style = '';
$b... | 27,014 |
https://github.com/ewinslow/ng-elgg/blob/master/app/assets/evan/Collection.js | Github Open Source | Open Source | MIT | 2,015 | ng-elgg | ewinslow | JavaScript | Code | 418 | 1,122 | define(function(require) {
var newClass = require('evan/newClass');
return newClass({
/**
* Manages an Activity-Streams style collection.
* @param {Object} data
* @param {angular.$http} $http
*
* @constructor
* @ngInject
*/
constru... | 46,620 |
https://github.com/xvicmanx/express-api-starter-kit/blob/master/src/core/data-access/sql-db-driver/index.js | Github Open Source | Open Source | MIT | null | express-api-starter-kit | xvicmanx | JavaScript | Code | 228 | 684 | /**
* This file contains the local db (disk) driver
*/
const Sequelize = require('sequelize');
const wrapper = require('./wrapper');
const { validateProxy } = require('../../validation');
const { dataTransformProxy } = require('./data-transform');
const mapFields = require('./map-fields');
const relateModels = (def... | 31,318 |
https://github.com/ThomasBullock/Myfootyteam/blob/master/src/containers/Players/Players.js | Github Open Source | Open Source | MIT | null | Myfootyteam | ThomasBullock | JavaScript | Code | 198 | 713 | import React, { Component } from 'react';
import { string, number } from 'prop-types';
import { connect } from 'react-redux';
import { bindActionCreators } from 'redux';
import './Players.scss';
import Panel from '../../components/Panel.js';
import PlayerCard from '../../components/Card';
import PlayerList from '../..... | 29,420 |
https://github.com/livexia/rust-learning/blob/master/leetcode/leetcode_1128/src/main.rs | Github Open Source | Open Source | MIT | 2,021 | rust-learning | livexia | Rust | Code | 126 | 588 | /*
给你一个由一些多米诺骨牌组成的列表 dominoes。
如果其中某一张多米诺骨牌可以通过旋转 0 度或 180 度得到另一张多米诺骨牌,我们就认为这两张牌是等价的。
形式上,dominoes[i] = [a, b] 和 dominoes[j] = [c, d] 等价的前提是 a==c 且 b==d,或是 a==d 且 b==c。
在 0 <= i < j < dominoes.length 的前提下,找出满足 dominoes[i] 和 dominoes[j] 等价的骨牌对 (i, j) 的数量。
示例:
输入:dominoes = [[1,2],[2,1],[3,4],[5,6]]
输出:1
提示:
1 <= domin... | 43,936 |
https://github.com/CryptoSocial/go-indigocore/blob/master/postgresstore/stmts.go | Github Open Source | Open Source | LicenseRef-scancode-unknown-license-reference, Apache-2.0 | 2,018 | go-indigocore | CryptoSocial | Go | Code | 1,285 | 4,026 | // Copyright 2017 Stratumn SAS. 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 applicab... | 11,888 |
https://github.com/LuizZak/jelloas3/blob/master/JelloAS3/World.as | Github Open Source | Open Source | MIT | null | jelloas3 | LuizZak | null | Spoken | 3,175 | 9,596 | /*
Copyright (c) 2007 Walaber
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublic... | 7,315 |
https://github.com/Dastan75/Dawn/blob/master/Frontend/src/CompanySpace/style.scss | Github Open Source | Open Source | Unlicense | 2,020 | Dawn | Dastan75 | SCSS | Code | 315 | 1,149 | @import '../global.scss';
.CompanySpace {
margin-left: $left-menu-size;
padding-left: 4vw;
padding-right: 4vw;
min-height: 100vh;
.tableBlock {
.menuBlock {
display: flex;
margin-top: 5vh;
.topMenu {
font-family: Greycliff CF;
font-style: normal;... | 41,894 |
https://github.com/icepoke/swooleyaf/blob/master/libs_frame/AlibabaCloud/Alidns/DeleteCustomLines.php | Github Open Source | Open Source | BSD-3-Clause | 2,022 | swooleyaf | icepoke | PHP | Code | 35 | 96 | <?php
namespace AlibabaCloud\Alidns;
/**
* @method string getLineIds()
* @method $this withLineIds($value)
* @method string getUserClientIp()
* @method $this withUserClientIp($value)
* @method string getLang()
* @method $this withLang($value)
*/
class DeleteCustomLines extends Rpc
{
}
| 15,835 |
https://github.com/xl07097/cars/blob/master/src/views/file/File.jsx | Github Open Source | Open Source | MIT | 2,020 | cars | xl07097 | null | Spoken | 323 | 1,036 | import React from "react";
import { Table, Pagination, Button, Popconfirm, Image } from "antd";
import { getFileList, deletefile } from "@/api/file";
class File extends React.Component {
columns = [
{
title: "序号",
key: "index",
width: 60,
align: "center",
render: (data, record, ind... | 11,591 |
https://github.com/dymen1/LeagueWrap/blob/master/src/LeagueWrap/Api/Endpoints/ChampionMasteryBySummonerIdForChampionId.php | Github Open Source | Open Source | MIT | null | LeagueWrap | dymen1 | PHP | Code | 29 | 146 | <?php
namespace LeagueWrap\Api\Endpoints;
use LeagueWrap\Api\BaseEndpoint;
use LeagueWrap\Api\Dto;
class ChampionMasteryBySummonerIdForChampionId extends BaseEndpoint {
protected $urlTemplate = '/lol/champion-mastery/v3/champion-masteries/by-summoner/{summonerId}/by-champion/{championId}';
protected $is... | 34,170 |
https://github.com/shmsnkr1/UI-Modules/blob/master/src/form/FormTextTemp.jsx | Github Open Source | Open Source | MIT | null | UI-Modules | shmsnkr1 | null | Spoken | 76 | 234 | import React, { Component } from 'react';
import PropTypes from 'prop-types';
import Text from './FormText';
/* eslint-disable */
const propTypes = {
name: PropTypes.string.isRequired,
type: PropTypes.string,
style: PropTypes.object,
label: PropTypes.string,
labelStyle: PropTypes.object,
tailLabel: PropTyp... | 53,528 |
https://github.com/austin047/loopback4-example-shopping/blob/master/packages/shopping/src/__tests__/unit/helper.ts | Github Open Source | Open Source | MIT | 2,020 | loopback4-example-shopping | austin047 | TypeScript | Code | 56 | 143 | // Copyright IBM Corp. 2019. All Rights Reserved.
// Node module: loopback4-example-shopping
// This file is licensed under the MIT License.
// License text available at https://opensource.org/licenses/MIT
import {ShoppingApplication} from '../../application';
import {givenHttpServerConfig} from '@loopback/testlab';
... | 17,509 |
https://github.com/craigcitro/colaboratory/blob/master/colaboratory/resources/colab/js/welcome.js | Github Open Source | Open Source | BSD-3-Clause | 2,017 | colaboratory | craigcitro | JavaScript | Code | 181 | 750 | goog.provide('colab.welcome');
goog.require('colab.filepicker');
goog.require('colab.install');
goog.require('colab.params');
goog.require('goog.dom');
goog.require('goog.dom.classes');
goog.require('goog.dom.forms');
goog.require('goog.style');
/**
* Displays the initial screen and attaches event handlers
*/
col... | 20,472 |
https://github.com/IohannRabeson/lexy/blob/master/tests/lexy/dsl/encode.cpp | Github Open Source | Open Source | BSL-1.0 | 2,021 | lexy | IohannRabeson | C++ | Code | 514 | 2,038 | // Copyright (C) 2020-2021 Jonathan Müller <jonathanmueller.dev@gmail.com>
// This file is subject to the license terms in the LICENSE file
// found in the top-level directory of this distribution.
#include <lexy/dsl/encode.hpp>
#include "verify.hpp"
namespace
{
struct callback
{
const unsigned char* str;
L... | 35,140 |
https://github.com/nguyentienlinh2611/vnuonline/blob/master/dist/controllers/FileDataController.js | Github Open Source | Open Source | Apache-2.0 | null | vnuonline | nguyentienlinh2611 | JavaScript | Code | 160 | 470 | "use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const multer = require("multer");
const fs = require("fs");
const imageFilter = (req, file, cb) => {
if (file.mimetype === 'image/jpeg' || file.mimetype === 'image/png') {
cb(null, true);
}
else {
cb(null, false);
... | 7,498 |
https://github.com/joacimbondas/SailingBoat/blob/master/doc/html/search/classes_a.js | Github Open Source | Open Source | MIT | 2,020 | SailingBoat | joacimbondas | JavaScript | Code | 9 | 201 | var searchData=
[
['less_3c_3a_3anlohmann_3a_3adetail_3a_3avalue_5ft_20_3e_1749',['less<::nlohmann::detail::value_t >',['../structstd_1_1less_3_1_1nlohmann_1_1detail_1_1value__t_01_4.html',1,'std']]],
['lexer_1750',['lexer',['../classnlohmann_1_1detail_1_1lexer.html',1,'nlohmann::detail']]],
['log_1751',['L... | 49,418 |
https://github.com/deniskin82/x0/blob/master/src/xzero/http/hpack/StaticTable-test.cc | Github Open Source | Open Source | MIT | 2,018 | x0 | deniskin82 | C++ | Code | 169 | 545 | // This file is part of the "x0" project, http://github.com/christianparpart/x0>
// (c) 2009-2018 Christian Parpart <christian@parpart.family>
//
// Licensed under the MIT License (the "License"); you may not use this
// file except in compliance with the License. You may obtain a copy of
// the License at: http://op... | 46,293 |
https://github.com/GowenGit/docnet/blob/master/src/Docnet.Core/Readers/PageReader.cs | Github Open Source | Open Source | MIT | 2,023 | docnet | GowenGit | C# | Code | 692 | 2,170 | using System;
using System.Collections.Generic;
using System.Drawing;
using System.Runtime.InteropServices;
using Docnet.Core.Bindings;
using Docnet.Core.Converters;
using Docnet.Core.Exceptions;
using Docnet.Core.Models;
namespace Docnet.Core.Readers
{
internal sealed class PageReader : IPageReader
{
... | 10,726 |
https://github.com/kppw99/enVAS/blob/master/dataset/source/NVD/CVE_2013_4534_VULN_openpic_load.c | Github Open Source | Open Source | Apache-2.0 | null | enVAS | kppw99 | C | Code | 108 | 635 | static int CVE_2013_4534_VULN_openpic_load(QEMUFile* f, void *opaque, int version_id)
{
OpenPICState *opp = (OpenPICState *)opaque;
unsigned int i;
if (version_id != 1) {
return -EINVAL;
}
qemu_get_be32s(f, &opp->gcr);
qemu_get_be32s(f, &opp->vir);
qemu_get_be32s(f, &opp->pir);
... | 52,611 |
https://github.com/jorsanpe/toolgorithms/blob/master/src/fiber.c | Github Open Source | Open Source | MIT | null | toolgorithms | jorsanpe | C | Code | 127 | 448 | /**
* fiber.c --
*
* Copyright (C) 2016 Jordi Sánchez, jorsanpe@gmail.com
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
*/
#include <stdlib.h>
#include <ucontext.h>
#include <fiber.h>
struct fiber {
void *(*routine)(void *);
... | 6,891 |
https://github.com/sidju/reed/blob/master/src/main.rs | Github Open Source | Open Source | MIT | null | reed | sidju | Rust | Code | 152 | 375 | // Import the highlighting theme
const THEME: &[u8] = include_bytes!("../assets/compressed_theme");
const SYNTAXES: &[u8] = include_bytes!("../assets/compressed_syntaxes");
// All UI abtractions
mod hui;
use argh::FromArgs;
#[derive(FromArgs)]
/// hired, the highlighting EDitor
struct Args {
/// path to the file t... | 51,393 |
https://github.com/tsirkin/Apache-ASP/blob/master/t/stat_inc.t | Github Open Source | Open Source | Artistic-1.0-Perl | 2,016 | Apache-ASP | tsirkin | Perl | Code | 46 | 155 | use Apache::ASP::CGI;
# only run test if Devel::Symdump is installed
eval "use Devel::Symdump;";
my $stat_inc = $@ ? 0 : 1;
&Apache::ASP::CGI::do_self(StatINC => $stat_inc);
__END__
<% use lib '.'; use T; $t =T->new(); %>
<%
return unless $Server->Config('StatINC');
$t->eok($Apache::ASP::StatINCReady, 'Apache:... | 47,736 |
https://github.com/venkatbvc/grafana/blob/master/public/app/plugins/datasource/cloudwatch/__mocks__/cloudwatch-logs-test-data/index.ts | Github Open Source | Open Source | Apache-2.0, AGPL-3.0-only | 2,023 | grafana | venkatbvc | TypeScript | Code | 48 | 104 | export { emptyQuery } from './empty';
export { whitespaceOnlyQuery } from './whitespaceQuery';
export { commentOnlyQuery } from './commentOnlyQuery';
export { singleLineFullQuery } from './singleLineFullQuery';
export { multiLineFullQuery } from './multiLineFullQuery';
export { filterQuery } from './filterQuery';
expor... | 43,617 |
https://github.com/neokske/react-redux-fetch/blob/master/src/reducers/postReducer.js | Github Open Source | Open Source | MIT | 2,021 | react-redux-fetch | neokske | JavaScript | Code | 92 | 299 | import immutable from 'seamless-immutable';
import { FETCH } from '../constants/actionTypes';
import { INIT } from '../constants/request';
import fetchRequest from '../utils/fetchRequest';
import fetchFulfill from '../utils/fetchFulfill';
import fetchReject from '../utils/fetchReject';
import createAddToListAction from... | 27,750 |
https://github.com/mengqiqi884/Htest/blob/master/admin/views/site/error.php | Github Open Source | Open Source | BSD-3-Clause | 2,019 | Htest | mengqiqi884 | PHP | Code | 65 | 307 | <?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $name string */
/* @var $message string */
/* @var $exception Exception */
$this->title = $name;
$newString = strstr($name, '#');
$length = strlen('#');
$arr = explode(')',substr($newString, $length));
?>
<div class="middle-box text-center animated fa... | 11,349 |
https://github.com/widop/twitter-oauth/blob/master/src/Widop/Twitter/OAuth/OAuthConsumer.php | Github Open Source | Open Source | MIT | 2,014 | twitter-oauth | widop | PHP | Code | 185 | 435 | <?php
/*
* This file is part of the Wid'op package.
*
* (c) Wid'op <contact@widop.com>
*
* For the full copyright and license information, please read the LICENSE
* file that was distributed with this source code.
*/
namespace Widop\Twitter\OAuth;
/**
* OAuth consumer.
*
* @author GeLo <geloen.eric@gmail.c... | 13,428 |
https://github.com/alldaysunshine/sling-org-apache-sling-app-cms/blob/master/api/src/main/java/org/apache/sling/cms/i18n/I18NDictionary.java | Github Open Source | Open Source | Apache-2.0 | 2,022 | sling-org-apache-sling-app-cms | alldaysunshine | Java | Code | 252 | 428 | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | 32,318 |
https://github.com/jasu00/resume/blob/master/src/app/components/common/navigation/navigation.component.ts | Github Open Source | Open Source | MIT | null | resume | jasu00 | TypeScript | Code | 78 | 310 | import { stringify } from '@angular/compiler/src/util';
import { Component, OnInit } from '@angular/core';
import { Categories } from 'src/app/model/enum';
import { initialState } from 'src/app/store/session.reducers';
import { SessionDataManager } from "../../../services/session.datamanager.service"
import {Navigation... | 27,414 |
https://github.com/PrawiraGenestonlia/PROJECT-GEEENESIS/blob/master/archives/ntu-eee-geeenesis/screens/AuthLoadingScreen.js | Github Open Source | Open Source | MIT | 2,019 | PROJECT-GEEENESIS | PrawiraGenestonlia | JavaScript | Code | 78 | 223 | import React, { useEffect } from 'react';
import {
ActivityIndicator,
StatusBar,
View,
Dimensions,
Text,
} from 'react-native';
import checkAuth from '../utils/checkAuth';
export default function AuthLoadingScreen(props) {
const { width, height } = Dimensions.get('window');
useEffect(() => {
checkAut... | 6,105 |
https://github.com/manojkumarlinux/ping4sms/blob/master/src/Ping4SMS.php | Github Open Source | Open Source | MIT | null | ping4sms | manojkumarlinux | PHP | Code | 290 | 807 | <?php
namespace Ping4SMS;
use Ping4SMS\Request\Send;
use Ping4SMS\Request\DeliveryReport;
use Ping4SMS\Request\CreditsCheck;
use Ping4SMS\Response\SendResponse;
class Ping4SMS
{
/**
* response
*/
protected $response = NULL;
/**
* @var string
* Your account API key.
*/
prot... | 3,673 |
https://github.com/kerber/gameframe/blob/master/workspace/src/main/java/com/savvasdalkitsis/gameframe/feature/workspace/element/layer/view/LayerSettingsView.kt | Github Open Source | Open Source | Apache-2.0 | 2,019 | gameframe | kerber | Kotlin | Code | 295 | 1,112 | /**
* Copyright 2017 Savvas Dalkitsis
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... | 41,598 |
https://github.com/dhmmasson/rezbuild-emperor-tamarin/blob/master/src/httpUtils/normalizePort.mjs | Github Open Source | Open Source | MIT | 2,023 | rezbuild-emperor-tamarin | dhmmasson | JavaScript | Code | 84 | 178 | /**
* @file normalizePort
* @author dhmmasson
*/
/**
* normalizePort - Normalize a port into a number, string, or false.
* @param {(string|number)} value either pipe name or port number
* @return {(string|number|false)} the name of the pipe or the port number or false
* @memberof! module:HttpUtils
*/
functio... | 7,965 |
https://github.com/byzhenyu/Code_PHP/blob/master/lnBaseFrame_tp3/Application/Admin/Static/js/chat/chat.js | Github Open Source | Open Source | MIT | null | Code_PHP | byzhenyu | JavaScript | Code | 527 | 2,231 | //-- 聊天代码 -- by zhaojiping QQ: 17620286 --//
WebIM.Emoji = {
path: _EMOJI_PATH,
map: {
'[):]': 'ee_1.png',
'[:D]': 'ee_2.png',
'[;)]': 'ee_3.png',
'[:-o]': 'ee_4.png',
'[:p]': 'ee_5.png',
'[(H)]': 'ee_6.png',
'[:@]': 'ee_7.png',
'[:s]': 'ee_8.png... | 47,845 |
https://github.com/binbin0915/AACHulk/blob/master/app/src/main/java/com/madreain/aachulk/module/changeBaseUrl/ChangeBaseUrlActivity.kt | Github Open Source | Open Source | Apache-2.0 | 2,021 | AACHulk | binbin0915 | Kotlin | Code | 105 | 516 | package com.madreain.aachulk.module.changeBaseUrl;
import android.os.Bundle
import android.view.View
import androidx.lifecycle.Observer
import com.alibaba.android.arouter.facade.annotation.Route
import com.madreain.aachulk.R;
import com.madreain.aachulk.consts.ARouterUri
import com.madreain.libhulk.base.BaseActivity;... | 19,073 |
https://github.com/FeigerHuang/MY_STL/blob/master/MY-STL/my_iterator.h | Github Open Source | Open Source | LicenseRef-scancode-mit-old-style | 2,021 | MY_STL | FeigerHuang | C++ | Code | 630 | 2,780 | /*************************************************************************
> File Name: my_iterator.h
> Author: Feiger
> Mail: 1162006607@qq.com
************************************************************************/
#ifndef _MY_ITERATOR_H
#define _MY_ITERATOR_H
//迭代器标签, 方便重载;
struct input_iterator_tag {};
struc... | 33,391 |
https://github.com/MSLNZ/pr-time-controller/blob/master/Vivado/Vivado_Projects/MainProjects/DESERIALIZER/DESERIALIZER.ip_user_files/sim_scripts/DESERIALIZER_B/modelsim/simulate.do | Github Open Source | Open Source | MIT | 2,021 | pr-time-controller | MSLNZ | null | Spoken | 46 | 196 | onbreak {quit -f}
onerror {quit -f}
vsim -voptargs="+acc" -t 1ps -L xil_defaultlib -L util_vector_logic_v2_0_1 -L axi_lite_ipif_v3_0_4 -L lib_cdc_v1_0_2 -L interrupt_control_v3_1_4 -L axi_gpio_v2_0_21 -L unisims_ver -L unimacro_ver -L secureip -lib xil_defaultlib xil_defaultlib.DESERIALIZER_B xil_defaultlib.glbl
do {... | 31,841 |
https://github.com/foone/BRender-v1.3.2/blob/master/drivers/myst_win/sbuffer.h | Github Open Source | Open Source | MIT | 2,022 | BRender-v1.3.2 | foone | C | Code | 280 | 699 | /*
* Copyright (c) 1993-1995 Argonaut Technologies Limited. All rights reserved.
*
* $Id: sbuffer.h 1.1 1997/12/10 16:46:26 jon Exp $
* $Locker: $
*
* Stored buffer structure
*/
#ifndef _SBUFFER_H_
#define _SBUFFER_H_
#ifdef __cplusplus
extern "C" {
#endif
/*
* The minimal description of a pixelmap required f... | 14,312 |
https://github.com/MediaNetwork/media-on-demand-webapp/blob/master/client/src/app/ui/elements/status-indicator.jsx | Github Open Source | Open Source | MIT | null | media-on-demand-webapp | MediaNetwork | null | Spoken | 68 | 186 | import React from 'react'
import styled from 'styled-components'
const Status = styled.div`
width: 40px;
height: 40px;
display: flex;
align-items: center;
justify-content: center;
`
const StatusColor = styled.div`
width: 24px;
height: 24px;
border-radius: 50%;
background: ${
({ isActive }) => is... | 17,337 |
https://github.com/brianjamesbecker/bb4-simulations/blob/master/source/com/barrybecker4/simulation/common/ui/message.properties | Github Open Source | Open Source | MIT | 2,016 | bb4-simulations | brianjamesbecker | null | Spoken | 29 | 69 | #
# Copyright by Barry G. Becker, 2013. Licensed under MIT License: http://www.opensource.org/licenses/MIT
#
APP_TITLE = Simulation
FORWARD = Forward
BACKWARD = Backward
MANDELBROT = Mandelbrot
JULIA = Julia
| 53,948 |
https://github.com/NearlyUnique/cambCarParks/blob/master/main.go | Github Open Source | Open Source | MIT | null | cambCarParks | NearlyUnique | Go | Code | 270 | 842 | package main
import (
"encoding/xml"
"fmt"
"io/ioutil"
"net/http"
"net/url"
"os"
"strconv"
"strings"
"time"
)
type (
// CarPark data
CarPark struct {
Name string
Spaces int
}
// RawHTML .
RawHTML struct {
XMLName xml.Name `xml:"r"`
Name []string `xml:"h2>a"`
Value []string `xml:"p>stron... | 21,344 |
https://github.com/koharudin/grosir-obat/blob/master/resources/lang/id/report.php | Github Open Source | Open Source | MIT | 2,022 | grosir-obat | koharudin | PHP | Code | 88 | 328 | <?php
return [
// Labels
'report' => 'Laporan',
'sales' => 'Laporan Penjualan',
'view_report' => 'Lihat Laporan',
'sales_graph' => 'Grafik Penjualan',
'detail' => 'Detail Laporan',
'omzet' => 'Penjualan',
// Daily
'daily' => 'Laporan Harian: :date',... | 46,737 |
https://github.com/hwbeeson/wepppy/blob/master/wepppy/wepp/soils/soilsdb/data/Database/wy/GUNBARREL(LS)2.sol | Github Open Source | Open Source | BSD-3-Clause | null | wepppy | hwbeeson | Solidity | Code | 65 | 194 | 95.1
# This WEPP soil input file was made using USDA-SCS Soil-5 (1992) data
# base. Assumptions: soil albedo=0.23, initial sat.=0.75. If you have
# any question, please contact Reza Savabi, Ph: (317)-494-5051
# Soil Name: GUNBARREL Rec. ID: CO0022 Tex.:loamy sand
1 1
'GUNBARREL' 'L... | 52,049 |
https://github.com/ncdhz/sentenceLabel/blob/master/Makefile | Github Open Source | Open Source | Apache-2.0 | null | sentenceLabel | ncdhz | Makefile | Code | 22 | 78 | clean:
rm -rf *.pyc dist sentenceLabel.egg-info __pycache__ build ./*/__pycache__
upload:
python setup.py upload
pyrcc:
pyrcc5 -o sentenceLabelLib/resources.py resources.qrc
sdocs:
docsify serve ./docs | 36,523 |
https://github.com/CyberEditz/Log4j2Scan/blob/master/src/main/java/burp/poc/impl/POC15.java | Github Open Source | Open Source | Apache-2.0 | 2,021 | Log4j2Scan | CyberEditz | Java | Code | 38 | 123 | package burp.poc.impl;
import burp.poc.IPOC;
import burp.utils.Utils;
public class POC15 implements IPOC {
@Override
public String generate(String domain) {
return "${" + "${::-".repeat(1200) + "$${::-j}" + "}".repeat(1200) + "}";
}
@Override
public int getType() {
return POC_TYP... | 25,176 |
https://github.com/gegaofeng/laravel_shop/blob/master/resources/views/admin/report/userTop.blade.php | Github Open Source | Open Source | MIT | 2,018 | laravel_shop | gegaofeng | Blade | Code | 452 | 2,453 | @include("admin.public.layout")
<script src="__ROOT__/public/static/js/layer/laydate/laydate.js"></script>
<body style="background-color: rgb(255, 255, 255); overflow: auto; cursor: default; -moz-user-select: inherit;">
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>
<div class="page">
<div class="fixed-bar... | 20,120 |
https://github.com/AzizYavas/mymarket/blob/master/app/Http/Controllers/admin/FarmerController.php | Github Open Source | Open Source | MIT | null | mymarket | AzizYavas | PHP | Code | 122 | 557 | <?php
namespace App\Http\Controllers\admin;
use App\Http\Controllers\Controller;
use App\Models\Category;
use App\Models\Farmer;
use App\Models\Market;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Hash;
class FarmerController extends Controller
{
public fun... | 16,401 |
https://github.com/ECSE437-Fall2019/OpenOffice/blob/master/main/ucb/source/ucp/webdav/SerfPropFindReqProcImpl.cxx | Github Open Source | Open Source | Apache-2.0, LGPL-2.0-or-later, HPND-sell-variant, ICU, LicenseRef-scancode-warranty-disclaimer, PSF-2.0, BSD-3-Clause, LicenseRef-scancode-free-unknown, IJG, Zlib, NTP, W3C, GPL-1.0-or-later, LicenseRef-scancode-python-cwi, Bitstream-Vera, LicenseRef-scancode-openssl, LicenseRef-scancode-ssleay-windows, curl, GPL-2.0-o... | 2,019 | OpenOffice | ECSE437-Fall2019 | C++ | Code | 648 | 2,021 | /**************************************************************
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to y... | 52,204 |
https://github.com/ACGaming/HorsePowerTFC/blob/master/src/main/java/se/gory_moon/horsepower/tweaker/TweakerPluginImpl.java | Github Open Source | Open Source | MIT | 2,020 | HorsePowerTFC | ACGaming | Java | Code | 710 | 2,689 | package se.gory_moon.horsepower.tweaker;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.LinkedList;
import java.util.List;
import com.google.common.collect.Lists;
import net.minecraft.item.ItemStack;
import net.minecraft.item.crafting.IRecipe;
import net.minecraft.util.ResourceLocation;
import ... | 5,422 |
https://github.com/tkstorm/go-crawler/blob/master/Makefile | Github Open Source | Open Source | MIT | null | go-crawler | tkstorm | Makefile | Code | 59 | 201 | default: build
fmt:
go fmt ./...
build: fmt
go build ./cmd/...
run:
./crawler_links -d 5s -url https://tkstorm.com -cpuprofile=cpu.prof -memprofile=mem.prof
lsprof:
ls -al mem.prof cpu.prof
pprofcpu: lsprof
go tool pprof ./crawler_links cpu.prof
pprofmem: lsprof
go tool pprof ./crawler_links mem.prof
pprofhttp-cp... | 531 |
https://github.com/zanji/QMAClone/blob/master/test/tv/dyndns/kishibe/qmaclone/server/BadUserDetectorTest.java | Github Open Source | Open Source | MIT | 2,015 | QMAClone | zanji | Java | Code | 245 | 1,343 | package tv.dyndns.kishibe.qmaclone.server;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.when;
import java.util.List;
import java.util.Map;
import java.util... | 22,972 |
https://github.com/AlabasterAxe/CaTeX/blob/master/lib/src/parsing/functions/color_box.dart | Github Open Source | Open Source | LicenseRef-scancode-unknown-license-reference | 2,021 | CaTeX | AlabasterAxe | Dart | Code | 134 | 443 | import 'package:catex/src/lookup/colors.dart';
import 'package:catex/src/lookup/context.dart';
import 'package:catex/src/lookup/functions.dart';
import 'package:catex/src/parsing/parsing.dart';
import 'package:catex/src/rendering/functions/color_box.dart';
import 'package:catex/src/widgets.dart';
import 'package:flutte... | 34,680 |
https://github.com/robterrell/XUPorter/blob/master/.gitignore | Github Open Source | Open Source | MIT | 2,013 | XUPorter | robterrell | Ignore List | Code | 8 | 72 | .DS_Store
*/bin/*
*.pidb
bin/Default/ICSharpCode.NRefactory.dll
bin/Default/Mono.Cecil.dll
bin/Default/nunit.framework.dll
bin/Default/UnityEditor.dll
bin/Default/UnityEngine.dll
| 5,117 |
https://github.com/HetuLib/vulhetu/blob/master/dedecms/dedecms-rce/app/dede/member_feed_edit.php | Github Open Source | Open Source | MIT | null | vulhetu | HetuLib | PHP | Code | 259 | 944 | <?php
/**
* 用户日志编辑
*
* @version $Id: member_feed_edit.php 1 14:08 2010年7月19日 $
* @package DedeCMS.Administrator
* @founder IT柏拉图, https://weibo.com/itprato
* @author DedeCMS团队
* @copyright Copyright (c) 2007 - 2021, 上海卓卓网络科技有限公司 (DesDev, Inc.)
* @license http://help.dedecms.com/usersguide/license.htm... | 3,339 |
https://github.com/cs2dsb/coffee_assisstant/blob/master/software/esp-now-node-test/watch.sh | Github Open Source | Open Source | Apache-2.0, MIT | 2,022 | coffee_assisstant | cs2dsb | Shell | Code | 36 | 87 | #!/usr/bin/env bash
PROJECT="${PWD##*/}"
cd ..
# SPIFFS_SIZE override is so we don't have to transfer the full partition every
# rebuild loop. If the packer fails, bump this number up a bit
SPIFFS_SIZE=0x40000 \
./watch.sh "$PROJECT"
| 52,099 |
https://github.com/guillep/pharo/blob/master/src/DebuggerModel.package/DebugSession.class/instance/resume.st | Github Open Source | Open Source | MIT | 2,017 | pharo | guillep | null | Spoken | 57 | 119 | debugging actions
resume
"Proceed execution of the receiver's model, starting after the expression at
which an interruption occurred."
"If the user of this session does not plan to reuse it, it should call 'self clean' "
Smalltalk okayToProceedEvenIfSpaceIsLow
ifFalse: [ ^ self ].
(self isContextPostMortem: s... | 15,888 |
https://github.com/rafaelkpedroso/hero99-vem2021/blob/master/vem2021/resources/views/layouts/footer.blade.php | Github Open Source | Open Source | MIT | 2,020 | hero99-vem2021 | rafaelkpedroso | Blade | Code | 261 | 1,039 | <!-- Socials Start -->
<div class="socials socials-absolute" style='z-index: 999'>
<div class='row'>
<div class='col-lg-3'>
<div class='row'>
<div class='col-lg-12'>
<img id='me-avatar' src='{{ $usr->avatar }}' />
</div>
</div>
... | 35,005 |
https://github.com/neferent/beaker/blob/master/src/demos/MediaPickers.vue | Github Open Source | Open Source | MIT | null | beaker | neferent | Vue | Code | 278 | 1,195 | <template>
<div>
<div class="section">
<h1>Media Pickers</h1>
<pre><code>import { MediaPicker } from 'streamlabs-beaker';
components: {
MediaPicker
}</code></pre>
</div>
<div class="section">
<DemoSection title="Default" :code="demoCode">
<template #components>
<Fo... | 53,139 |
https://github.com/Dzale/larakicks-imdb/blob/master/app/Models/Director.php | Github Open Source | Open Source | MIT | null | larakicks-imdb | Dzale | PHP | Code | 146 | 478 | <?php
namespace App\Models;
use App\Models\Traits\SearchTrait;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\BelongsTo;
use Illuminate\Database\Eloquent\Relations\BelongsToMany;
use Illuminate\Database\Eloquent\Relations\HasMany;
use Illuminate\Database\Eloquent\Relations\HasOne;
... | 11,080 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.