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/AAI-USZ/FixJS/blob/master/input/50/before/be5bdb78191d79a2666d4f426083b6814cc2472a_0_1.js | Github Open Source | Open Source | MIT | 2,022 | FixJS | AAI-USZ | JavaScript | Code | 11 | 35 | function(recv_buf) {
this.send_buf = '';
this.recv_buf = recv_buf || '';
} | 51,158 |
https://github.com/ma1oy/trueFrontend/blob/master/src/css/default/configs/_bootstrap.scss | Github Open Source | Open Source | MIT | 2,016 | trueFrontend | ma1oy | SCSS | Code | 58 | 192 | $grid-columns: 12;
$grid-columns-margin: 15px;
$grid-column-name: 'col';
$grid-row-name: 'row';
$grid-offset-name: 'offset';
/////////////////////////// tiny screen small screen medium screen large screen huge screen
/////////////////////////// vertical phone horizontal phone ... | 21,608 |
https://github.com/lucapalano/travis-test/blob/master/src/main/java/com/keybox/manage/db/UserProfileDB.java | Github Open Source | Open Source | Apache-2.0 | null | travis-test | lucapalano | Java | Code | 622 | 1,864 | /**
* Copyright 2013 Sean Kavanagh - sean.p.kavanagh6@gmail.com
* <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
* <p/>
* http://www.apache.org/licenses/LICENSE-2.0
* <p/>
* Unle... | 35,941 |
https://github.com/Rag-neo/UI-Demo/blob/master/charts-demo/node_modules/igniteui-angular-core/esm5/lib/InputGroupItemDescriptionMetadata.js | Github Open Source | Open Source | MS-PL, MIT | 2,020 | UI-Demo | Rag-neo | JavaScript | Code | 159 | 508 | /*
THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE:
https://www.infragistics.com/legal/license/igultimate-la
https://www.infragistics.com/legal/license/igultimate-eula
GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOADING AND/OR INSTALLING AND USING INFRA... | 13,753 |
https://github.com/Funwayguy/StandardQuestingPack/blob/master/src/main/java/bq_standard/tasks/TaskLocation.java | Github Open Source | Open Source | MIT | 2,020 | StandardQuestingPack | Funwayguy | Java | Code | 532 | 2,169 | package bq_standard.tasks;
import betterquesting.api.questing.IQuest;
import betterquesting.api2.client.gui.misc.IGuiRect;
import betterquesting.api2.client.gui.panels.IGuiPanel;
import betterquesting.api2.storage.DBEntry;
import betterquesting.api2.utils.ParticipantInfo;
import bq_standard.client.gui.tasks.PanelTaskL... | 6,641 |
https://github.com/victorsalesx/saa_web/blob/master/saa-core/src/main/java/br/unifor/saa/entity/Aula.java | Github Open Source | Open Source | CC0-1.0 | 2,019 | saa_web | victorsalesx | Java | Code | 226 | 752 | package br.unifor.saa.entity;
import java.io.Serializable;
import java.util.Date;
import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persist... | 38,702 |
https://github.com/gvvynplaine/bottom/blob/master/src/canvas/canvas_colours/colour_utils.rs | Github Open Source | Open Source | MIT | 2,020 | bottom | gvvynplaine | Rust | Code | 785 | 2,793 | use lazy_static::lazy_static;
use std::collections::HashMap;
use tui::style::{Color, Style};
use crate::utils::{error, gen_util::*};
const GOLDEN_RATIO: f32 = 0.618_034;
// Approx, good enough for use (also Clippy gets mad if it's too long)
pub const STANDARD_FIRST_COLOUR: Color = Color::LightMagenta;
pub const STAN... | 2,412 |
https://github.com/edilsonmatola/food_delivery_ui_flutter/blob/master/lib/models/user.dart | Github Open Source | Open Source | MIT | 2,022 | food_delivery_ui_flutter | edilsonmatola | Dart | Code | 20 | 68 | import 'order.dart';
class User {
User({
this.name,
this.orders,
this.cart,
});
final String? name;
final List<Order>? orders;
final List<Order>? cart;
}
| 5,810 |
https://github.com/gilyclem/larVolumeToObj/blob/master/larVolumeToObjG/computation/lar.py | Github Open Source | Open Source | MIT | 2,018 | larVolumeToObj | gilyclem | Python | Code | 1,878 | 5,830 | # -*- coding: utf-8 -*-
"""
The MIT License
===============
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... | 27,282 |
https://github.com/insad/Fast-Portrait-Segmentation/blob/master/FaceSegLib/include/model.h | Github Open Source | Open Source | MIT | 2,022 | Fast-Portrait-Segmentation | insad | C | Code | 357 | 2,048 | #pragma once
#include <MNN/Tensor.hpp>
#include <MNN/Interpreter.hpp>
#include <opencv2/opencv.hpp>
using namespace MNN;
using namespace std;
#if defined (_WIN32)
#if defined(MyLibrary_EXPORTS)
#define MYLIB_EXPORT __declspec(dllexport)
#else
#define MYLIB_EXPORT __declspec(dllimport)
#endif /* MyLi... | 1,466 |
https://github.com/sdfsun/shell_api/blob/master/shell_api/app/utils/array-to-tree.js | Github Open Source | Open Source | MIT | 2,021 | shell_api | sdfsun | JavaScript | Code | 109 | 369 | 'use strict';
/**
* 将数组转换为树结构
*/
let arrayToTree = (array, option) => {
let config = Object.assign({
rootParentId: null,
ParentId: 'ParentId',
Id: 'Id',
children: "children"
}, option)
// 获得父节点
let parentRoot = [];
for(var i =0; i< array.length; i++ ){
let ... | 38,750 |
https://github.com/agrigomi/vx-1/blob/master/host/test/repo/mp_scan.h | Github Open Source | Open Source | BSD-3-Clause | 2,018 | vx-1 | agrigomi | C | Code | 1 | 17 | ../../../kernel/arch/x86/cpu/mp_scan.h | 44,036 |
https://github.com/FlowX77/arango-dart/blob/master/lib/src/collection/arango_document_collection.dart | Github Open Source | Open Source | MIT | 2,021 | arango-dart | FlowX77 | Dart | Code | 104 | 348 | import 'package:arango/src/arango_connection.dart';
import 'package:arango/src/collection/arango_collection.dart';
class ArangoDocumentCollection extends ArangoCollection {
@override
final type = CollectionType.documentCollection;
final ArangoConnection _connection;
ArangoDocumentCollection(String name, this... | 24,510 |
https://github.com/windystrife/UnrealEngine_NVIDIAGameWork/blob/master/Engine/Source/Runtime/Core/Public/Templates/HasGetTypeHash.h | Github Open Source | Open Source | MIT | 2,022 | UnrealEngine_NVIDIAGameWork | windystrife | C | Code | 130 | 421 | // Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreTypes.h"
#include "Templates/AndOrNot.h"
#include "Templates/IsArithmetic.h"
#include "Templates/IsPointer.h"
#include "Templates/IsEnum.h"
namespace UE4GetTypeHashExists_Private
{
struct FNotSpecified {};
template <typename T... | 25,124 |
https://github.com/JaxTheWolf/rolestat-bot/blob/master/src/commands/headpat.js | Github Open Source | Open Source | MIT | 2,020 | rolestat-bot | JaxTheWolf | JavaScript | Code | 59 | 169 | const { sendAction } = require(`../libs/common`)
const headpatCommand = {
invoke: `headpat`,
aliases: [`head_pat`, `hpat`],
desc: `Headpat someone!`,
help: `<user>/<users>`,
type: `action`,
cmdFunc: (msg, args, client) => {
const responses = [`**%author** just pat %other's head(s) very gently!`, `**%au... | 9,846 |
https://github.com/takaaptech/warfest-voxel-unity/blob/master/Assets/Core/Scripts/Voxel/Editor/VoxelModelEditor.cs | Github Open Source | Open Source | MIT | 2,018 | warfest-voxel-unity | takaaptech | C# | Code | 95 | 323 | using UnityEditor;
using UnityEngine;
namespace Warfest {
[CustomEditor(typeof(VoxelModel))]
public class VoxelModelEditor : Editor {
int choiceIndex = -1;
public override void OnInspectorGUI() {
var voxelModel = target as VoxelModel;
// Draw the default inspector
DrawDefaultInspector();
if (!vox... | 11,133 |
https://github.com/malovannaya-lab/gpgrouper/blob/master/gpgrouper/auto_grouper.py | Github Open Source | Open Source | BSD-3-Clause | 2,018 | gpgrouper | malovannaya-lab | Python | Code | 1,057 | 3,905 |
import os
import sys
import time
import threading
import argparse
#from collections import defaultdict
from configparser import ConfigParser
from warnings import warn
#from datetime import datetime
import pandas as pd
#import database_config as db
from . import pygrouper
from .containers import UserData
import json
tr... | 1,718 |
https://github.com/foal/gwtMdIcon/blob/master/processor/src/main/java/org/jresearch/commons/gwt/mdIcon/MdIconProcessor.java | Github Open Source | Open Source | Apache-2.0 | 2,019 | gwtMdIcon | foal | Java | Code | 505 | 2,168 | package org.jresearch.commons.gwt.mdIcon;
import java.io.IOException;
import java.io.InputStream;
import java.io.Writer;
import java.util.List;
import java.util.Optional;
import java.util.Set;
import java.util.function.Function;
import javax.annotation.processing.AbstractProcessor;
import javax.annotation.processing.... | 23,271 |
https://github.com/AlexeyBuryanov/SmartHotel220Java/blob/master/app/src/main/java/com/alexeyburyanov/smarthotel/ui/login/LoginNavigator.java | Github Open Source | Open Source | MIT | 2,019 | SmartHotel220Java | AlexeyBuryanov | Java | Code | 22 | 77 | package com.alexeyburyanov.smarthotel.ui.login;
/**
* Created by Alexey Buryanov 19.02.2018.
*/
public interface LoginNavigator {
void openMainActivity();
void handleError(Throwable throwable);
void login();
} | 41,152 |
https://github.com/aspnet/dnx/blob/master/test/Microsoft.Dnx.Testing.Framework/TestLogger.cs | Github Open Source | Open Source | Apache-2.0 | 2,017 | dnx | aspnet | C# | Code | 110 | 271 | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
namespace Microsoft.Dnx.Testing.Framework
{
internal static class TestLogger
{
public static void TraceError(string mess... | 32,528 |
https://github.com/edumsg/webfrontend/blob/master/tests/tests.rb | Github Open Source | Open Source | MIT | 2,019 | webfrontend | edumsg | Ruby | Code | 1,476 | 5,395 | require 'net/http'
require 'json'
require 'uri'
@uri = URI("http://localhost:8080")
=begin
The following are tests that send demo JSON requests to the server to check that there is no
issue in the front end. The tests need to be edited for each method as they are generated using perl 6.
=end
def confirm_follow
re... | 53,659 |
https://github.com/AnomalousMedical/Engine/blob/master/GuiFramework/Controller/TaskController/CallbackTask.cs | Github Open Source | Open Source | MIT | null | Engine | AnomalousMedical | C# | Code | 310 | 837 | using Engine;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Anomalous.GuiFramework
{
/// <summary>
/// A TaskMenuItem that will fire a delegate.
/// </summary>
public class CallbackTask : Task
{
public delegate void ClickedCallback(Callback... | 52,593 |
https://github.com/sonianand11/rgsoc-teams/blob/master/app/views/layouts/help.html.slim | Github Open Source | Open Source | MIT | 2,016 | rgsoc-teams | sonianand11 | null | Spoken | 20 | 81 | = with_layout :application do
aside
h3 Contact us:
ul
li
a href="http://twitter.com/raislgirlssoc" Twitter
li
a href="mailto:summer-of-code@railsgirls.com" E-Mail
= yield
end
| 40,252 |
https://github.com/awacarrer/sistemku/blob/master/app/PengirimanBarang.php | Github Open Source | Open Source | MIT | null | sistemku | awacarrer | PHP | Code | 64 | 306 | <?php
namespace App;
use Illuminate\Database\Eloquent\Model;
//use Illuminate\Database\Eloquent\SoftDeletes;
class PengirimanBarang extends Model
{
// use softDeletes;
protected $table = "pengiriman_barang";
protected $fillable = [
'pelanggan_id','tanggal_pengiriman', 'nama_penerima', 'organisa... | 27,754 |
https://github.com/wolverton-research-group/qmpy/blob/master/qmpy/web/static/js/jsmol/j2s/J/renderbio/NucleicRenderer.js | Github Open Source | Open Source | MIT | 2,022 | qmpy | wolverton-research-group | JavaScript | Code | 1,260 | 4,369 | Clazz.declarePackage ("J.renderbio");
Clazz.load (null, "J.renderbio.NucleicRenderer", ["JU.P3", "JU.C"], function () {
c$ = Clazz.decorateAsClass (function () {
this.cartoonBaseEdges = false;
this.cartoonBlocks = false;
this.blockHeight = 0;
this.cartoonLadders = false;
this.cartoonRibose = false;
this.rPt = null;
thi... | 10,614 |
https://github.com/tvd12/ezydata/blob/master/ezydata-database/src/main/java/com/tvd12/ezydata/database/query/EzyQueryData.java | Github Open Source | Open Source | Apache-2.0 | 2,023 | ezydata | tvd12 | Java | Code | 327 | 913 | package com.tvd12.ezydata.database.query;
import lombok.Getter;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.function.Function;
public class EzyQueryData extends EzyQLQuery {
@Getter
private final Map<String, Object> parameterMap;
... | 43,215 |
https://github.com/progrium/notary/blob/master/Godeps/_workspace/src/google.golang.org/grpc/interop/client/client.go | Github Open Source | Open Source | Apache-2.0, BSD-3-Clause | 2,015 | notary | progrium | Go | Code | 1,587 | 4,988 | /*
*
* Copyright 2014, Google Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of condi... | 7,063 |
https://github.com/Dhanunjaya-rama/zilker-sdk/blob/master/source/services/device/core/deviceDrivers/zigbeeClusters/helpers/iasZoneHelper.c | Github Open Source | Open Source | BSD-3-Clause, Apache-2.0 | 2,021 | zilker-sdk | Dhanunjaya-rama | C | Code | 1,534 | 5,842 | /*
* Copyright 2021 Comcast Cable Communications Management, 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... | 24,545 |
https://github.com/uttori/uttori-plugin-renderer-markdown-it/blob/master/src/index.js | Github Open Source | Open Source | MIT | 2,023 | uttori-plugin-renderer-markdown-it | uttori | JavaScript | Code | 1,668 | 4,464 | /** @type {Function} */
let debug = () => {}; /* c8 ignore next */ try { debug = require('debug')('Uttori.Plugin.Render.MarkdownIt'); } catch {}
const MarkdownIt = require('markdown-it');
const Token = require('markdown-it/lib/token');
const slugify = require('slugify').default;
const markdownItPlugin = require('./mark... | 51,225 |
https://github.com/doomium-chloride/moo-n-shot/blob/master/.import/narration-2.ogg-0b1f2006bde7b94f37e5fbdb04ce58f0.md5 | Github Open Source | Open Source | MIT | 2,020 | moo-n-shot | doomium-chloride | null | Spoken | 2 | 56 | source_md5="8e865270365cabc8be5c1eb96602017c"
dest_md5="b5dafcdde2d54f5274b8d52667b170c1"
| 20,776 |
https://github.com/ScalablyTyped/SlinkyTyped/blob/master/d/d3-dsv/src/main/scala/typingsSlinky/d3Dsv/d3DsvStrings.scala | Github Open Source | Open Source | MIT | 2,021 | SlinkyTyped | ScalablyTyped | Scala | Code | 42 | 182 | package typingsSlinky.d3Dsv
import org.scalablytyped.runtime.StObject
import scala.scalajs.js
import scala.scalajs.js.`|`
import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess}
object d3DsvStrings {
@js.native
sealed trait DSVRaw extends StObject
@scala.inline
def D... | 11,672 |
https://github.com/alu609/project1/blob/master/querybody/urls.py | Github Open Source | Open Source | MIT | null | project1 | alu609 | Python | Code | 14 | 42 | from django.conf.urls import url
from querybody import views
urlpatterns = [
url(r'^qubody/$', views.qubody)
] | 4,798 |
https://github.com/kamilk08/BookLoversClient/blob/master/src/app/modules/api/tickets/models/ticket-content.model.ts | Github Open Source | Open Source | MIT | null | BookLoversClient | kamilk08 | TypeScript | Code | 75 | 257 | import { UUID } from 'angular2-uuid';
import { TicketConcern, TICKET_CONCERNS } from './ticket-concern.model';
export class TicketContent {
public readonly ticketObjectGuid: UUID;
public readonly content: string;
public readonly ticketConcern: TicketConcern;
constructor(ticketObjectGuid: UUID, content: string... | 2,435 |
https://github.com/farioas/flyway/blob/master/flyway-core/src/main/java/org/flywaydb/core/internal/database/sybasease/SybaseASESqlStatementBuilder.java | Github Open Source | Open Source | Apache-2.0 | 2,019 | flyway | farioas | Java | Code | 196 | 504 | /*
* Copyright 2010-2018 Boxfuse GmbH
*
* 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 ... | 5,695 |
https://github.com/WindLeeWT/typhoon-blade/blob/master/src/test/lex_yacc_test.py | Github Open Source | Open Source | BSD-3-Clause | 2,021 | typhoon-blade | WindLeeWT | Python | Code | 164 | 755 | # Copyright (c) 2011 Tencent Inc.
# All rights reserved.
#
# Author: Michaelpeng <michaelpeng@tencent.com>
# Date: October 20, 2011
"""
This is the test module for lex_yacc_library target.
"""
import blade_test
class TestLexYacc(blade_test.TargetTest):
"""Test lex_yacc """
def setUp(self):
"""... | 41,013 |
https://github.com/cofoundry-cms/cofoundry/blob/master/src/Cofoundry.Domain/Domain/PageDirectories/Queries/GetPageDirectoryEntityMicroSummariesByIdRangeQuery.cs | Github Open Source | Open Source | MIT | 2,023 | cofoundry | cofoundry-cms | C# | Code | 38 | 177 | namespace Cofoundry.Domain;
public class GetPageDirectoryEntityMicroSummariesByIdRangeQuery : IQuery<IDictionary<int, RootEntityMicroSummary>>
{
public GetPageDirectoryEntityMicroSummariesByIdRangeQuery() { }
public GetPageDirectoryEntityMicroSummariesByIdRangeQuery(IEnumerable<int> ids)
: this(ids.T... | 7,095 |
https://github.com/frankhoff/xictools/blob/master/wrspice/src/analysis/statsetp.cc | Github Open Source | Open Source | LicenseRef-scancode-unknown-license-reference, Apache-2.0 | 2,022 | xictools | frankhoff | C++ | Code | 777 | 2,675 |
/*========================================================================*
* *
* Distributed by Whiteley Research Inc., Sunnyvale, California, USA *
* http://wrcad.com *
* Copyright (... | 42,698 |
https://github.com/vaahtokarkki/outdoors-sports-map/blob/master/config/webpack/common.js | Github Open Source | Open Source | MIT | null | outdoors-sports-map | vaahtokarkki | JavaScript | Code | 146 | 592 | const webpack = require('webpack');
const CopyPlugin = require('copy-webpack-plugin');
const path = require('path');
const HtmlWebpackPlugin = require('html-webpack-plugin');
const context = path.resolve(__dirname, '../../');
module.exports = {
entry: {
fetch: 'whatwg-fetch', // window.fetch
app: './src/in... | 9,068 |
https://github.com/samir-aitabbou/Gestion-de-paies-stage-de-fin-annee-/blob/master/payroll/resources/views/primes/Primes_Par_Salarie.blade.php | Github Open Source | Open Source | MIT | 2,021 | Gestion-de-paies-stage-de-fin-annee- | samir-aitabbou | Blade | Code | 147 | 712 | @extends('MasterPage')
@section('content')
<a class="btn btn-primary mb-3" href="/primes"><i class="fas fa-reply"></i>retour</a>
<div class="row">
<div class="col-12">
<form action="" method="GET">
<div class="input-group mb-3">
<h4>Période: </h4>
<input type="date... | 19,198 |
https://github.com/Giuseppe0197/laravel-auth/blob/master/resources/views/components/header.blade.php | Github Open Source | Open Source | MIT | null | laravel-auth | Giuseppe0197 | PHP | Code | 3 | 21 | <header>
<h1>Benvenuto</h1>
</header> | 5,970 |
https://github.com/miccl/VisualiseR/blob/master/Assets/VisualiseR/Content/Scenes.meta | Github Open Source | Open Source | Apache-2.0 | 2,018 | VisualiseR | miccl | Unity3D Asset | Code | 14 | 68 | fileFormatVersion: 2
guid: a2a85631db31674418915e17a403b30c
folderAsset: yes
timeCreated: 1491301108
licenseType: Free
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:
| 48,939 |
https://github.com/yxyyyt/openmall/blob/master/openmall-service/src/main/java/com/sciatta/openmall/service/converter/UserAddressConverter.java | Github Open Source | Open Source | Apache-2.0 | 2,021 | openmall | yxyyyt | Java | Code | 138 | 727 | package com.sciatta.openmall.service.converter;
import com.sciatta.openmall.common.enums.YesOrNo;
import com.sciatta.openmall.dao.pojo.po.mbg.UserAddress;
import com.sciatta.openmall.service.pojo.dto.UserAddressDTO;
import com.sciatta.openmall.service.pojo.query.UserAddressQuery;
import org.mapstruct.Mapper;
import or... | 51,652 |
https://github.com/thelia-modules/ChoiceFilter/blob/master/I18n/backOffice/default/fr_FR.php | Github Open Source | Open Source | MIT | 2,019 | ChoiceFilter | thelia-modules | PHP | Code | 111 | 211 | <?php
return array(
'Customize filter configuration for this category' => 'Personnaliser la configuration des filtres pour cette catégorie',
'ID' => 'ID',
'No' => 'Non',
'Position' => 'Position',
'Position of the filters in front for this category' => 'Position des filtres en front pour cette categ... | 18,509 |
https://github.com/junctionaof/thanagornfarm/blob/master/common/libs/app/ThaiText.php | Github Open Source | Open Source | BSD-3-Clause | null | thanagornfarm | junctionaof | PHP | Code | 704 | 2,826 | <?php
namespace app;
/**
* Library ข้อความภาษาไทย
* @author JJoi
*
*/
class ThaiText {
/**
*
* รายการคำศัพท์ภาษาไทย
* @var array รายการ string ของศัพท์ภาษาไทย
*/
private static $_dictionary = array();
/**
*
* @var array นิยามตัวอักษรภาษาไทย
* แต่ละ element bitfield นิยามคุณสมบัติพิเศษของแต่... | 8,437 |
https://github.com/dmarciano/TelephoneValidation/blob/master/src/TelephoneValidationLib/Telephone.cs | Github Open Source | Open Source | Apache-2.0 | null | TelephoneValidation | dmarciano | C# | Code | 673 | 1,703 | using System;
using System.Text.RegularExpressions;
namespace SMC.Validation.NANP
{
/// <summary>
/// Provides telephone number validation against the North American Number Plan (NANP) requirements.
/// </summary>
public static class Telephone
{
/// <summary>
/// Validates a teleph... | 31,576 |
https://github.com/liftchampion/nativejson-benchmark/blob/master/thirdparty/ULib/tests/ulib/test_ldap.cpp | Github Open Source | Open Source | MIT | null | nativejson-benchmark | liftchampion | C++ | Code | 90 | 324 | // test_ldap.cpp
#include <ulib/ldap/ldap.h>
static const char* attr_name[] = { "cn", "mail", 0 };
#define NUM_ATTR 2
int
U_EXPORT main (int argc, char* argv[])
{
U_ULIB_INIT(argv);
U_TRACE(5,"main(%d)",argc)
ULDAP ldap;
if (ldap.init(argv[1]) &&
ldap.set_protocol() &&
ldap.bind(argv[2]... | 29,917 |
https://github.com/GTBitsOfGood/dms/blob/master/components/auth/form/AuthPageFormContainer.tsx | Github Open Source | Open Source | MIT | 2,020 | dms | GTBitsOfGood | TypeScript | Code | 118 | 397 | import React from "react";
import { Button } from "@material-ui/core";
import makeStyles from "@material-ui/core/styles/makeStyles";
import { ChevronLeftIcon } from "@core/icons";
import ContainerWithShadow from "components/ContainerWithShadow";
const useStyles = makeStyles({
container: {
width: "34vw",
he... | 36,731 |
https://github.com/stackbit-projects/royal-ant-e44b7/blob/master/assets/bower_components/icono/sass/icons/icono.scss | Github Open Source | Open Source | MIT | 2,022 | royal-ant-e44b7 | stackbit-projects | SCSS | Code | 72 | 277 | .icono-icono{
width: $U13;
height: $U4;
box-shadow: inset 0 0 0 $U32, 0 $U16, $U17 -1*$U18;
transform: skew(0, 30deg);
margin: $U11 $U19 $U19 $U2;
&:before{
position: absolute;
width: $U13;
height: $U4;
box-shadow: inset 0 0 0 $U32, 0 $U16, -1*$U17 -1*$U17;
right: -1*$U17;
top: -1*$U... | 46,758 |
https://github.com/macharmi/react-simple-datatable/blob/master/stories/index.js | Github Open Source | Open Source | MIT | null | react-simple-datatable | macharmi | JavaScript | Code | 163 | 653 | import React from 'react';
import { storiesOf } from '@storybook/react';
import DataTable from '../src/dataTable'
import data from './data.json';
import Axios from 'axios'
const columns = [
{
name: "Id",
key:"id",
format: (value) => {return((<b>{"#" + value.id}</b>))},
sortable: true
},... | 4,801 |
https://github.com/u0078867/mern-app/blob/master/client/components/PellenbergViewers/SubjectViewers/SubjectInlineViewerRelay.js | Github Open Source | Open Source | MIT | null | mern-app | u0078867 | JavaScript | Code | 24 | 83 |
import {graphql, createFragmentContainer} from 'react-relay';
import SubjectInlineViewer from './SubjectInlineViewer';
export default createFragmentContainer(
SubjectInlineViewer,
grapqhl`
fragment SubjectInlineViewer_item on Subject {
cuid
hospital_id
}
`
)
| 50,997 |
https://github.com/AsclepiusInformatica/bioStructureM/blob/master/PCA_Mapping/get_reduced_order_parameters_from_PCA.m | Github Open Source | Open Source | MIT | 2,019 | bioStructureM | AsclepiusInformatica | MATLAB | Code | 116 | 431 | function [reduced_order_parameter_from_PCA] = get_reduced_order_parameters_from_PCA(eigvalues,eigvectors,mean_struct)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% To calculate the reduced NMR NOE order parameters (S^2) by stepwise removing the slowest mode contribu... | 14,286 |
https://github.com/USDA-ARS-WMSRU/upgm-standalone/blob/master/Project Documents/Source Code Original/Julday.f90 | Github Open Source | Open Source | Unlicense | null | upgm-standalone | USDA-ARS-WMSRU | null | Spoken | 366 | 776 | FUNCTION julday(dd,mm,yyyy)
!
IMPLICIT NONE
!
! PARAMETER definitions
!
INTEGER,PARAMETER :: igreg = 15 + 31*(10+12*1582)
!
! Function arguments
!
INTEGER :: dd,mm,yyyy
INTEGER :: julday
!
! Local variables
!
REAL*8 :: dble
INTEGER :: int
INTEGER :: ja,jm,jy,y_nw
!
! + + + purpose + + +
! in this routine julday... | 7,581 |
https://github.com/xiongmaotv/open-mccree/blob/master/packages/mccree-demuxer-flv/src/amf-parser.js | Github Open Source | Open Source | Apache-2.0 | 2,021 | open-mccree | xiongmaotv | JavaScript | Code | 307 | 904 | 'use strict';
class AmfParser {
constructor(data) {
this.offset = 0;
this.data = data;
}
parseMetadata() {
let metadata = {};
try {
let scriptData = this.parseAMF();
for(let i = 0; i < scriptData.length - 1; i++) {
if(typeof scriptData[i] === 'string' && scriptData[i] === 'onM... | 39,970 |
https://github.com/JasmineZhen218/P-WL/blob/master/data/NCI1/0277.gml | Github Open Source | Open Source | MIT | 2,021 | P-WL | JasmineZhen218 | null | Spoken | 368 | 894 | graph [
directed 0
node [
id 7227
label "14"
]
node [
id 7228
label "14"
]
node [
id 7229
label "1"
]
node [
id 7230
label "2"
]
node [
id 7231
label "2"
]
node [
id 7235
label "3"
]
node [
id 7240
label "3"
]
node [
id 7241
... | 13,966 |
https://github.com/orangemug/sql-stamp/blob/master/test/functional/example.sql | Github Open Source | Open Source | MIT | 2,016 | sql-stamp | orangemug | SQL | Code | 27 | 78 | WITH friend AS (
{> ./friends.sql}
)
select
*
from
account
where
account.id = friend.toId
AND account.status = "active"
AND (
{?filterDisabled} OR {!filterKey} = {=filterVal}
)
| 28,019 |
https://github.com/marious/crm/blob/master/app/Models/Core/Auth/Type.php | Github Open Source | Open Source | MIT | null | crm | marious | PHP | Code | 39 | 135 | <?php
namespace App\Models\Core\Auth;
use App\Models\Core\BaseModel;
use Spatie\Activitylog\Traits\LogsActivity;
class Type extends BaseModel
{
use LogsActivity;
protected $fillable = [
'name', 'alias'
];
protected static $logAttributes = [
'name', 'alias'
];
public static ... | 20,898 |
https://github.com/rajsite/webvi-experiments/blob/master/ImmersiveWeb/AR.gcomp/Support/node_modules/ar_js/aframe/build/aframe-ar-location-only.js | Github Open Source | Open Source | LicenseRef-scancode-unknown-license-reference, MIT | 2,023 | webvi-experiments | rajsite | JavaScript | Code | 5,951 | 18,013 |
/**
* @author richt / http://richt.me
* @author WestLangley / http://github.com/WestLangley
*
* W3C Device Orientation control (http://w3c.github.io/deviceorientation/spec-source-orientation.html)
*/
/* NOTE that this is a modified version of THREE.DeviceOrientationControls to
* allow exponential smoothing, fo... | 12,227 |
https://github.com/davidhaw/Arduino-Piano-Gen-3/blob/master/arduino_Piano_Gen_3.ino | Github Open Source | Open Source | MIT | null | Arduino-Piano-Gen-3 | davidhaw | null | Spoken | 262 | 735 |
// Create a very simple "breadboard" piano using a jumper wire to simulate pressing each "piano" key.
// This one has 5 notes, but you can expand it using more digital IO pins.
//
// author:
// Rolf Widenfelt - Feb 2014 - Workshop Weekend
//
//Additional Edits done by David Hawiger for arduinofuin.t... | 19,929 |
https://github.com/PariseC/osm2rail/blob/master/osm2rail/reader.py | Github Open Source | Open Source | Apache-2.0 | 2,022 | osm2rail | PariseC | Python | Code | 351 | 1,636 | import osmium
from .classes import *
from .settings import *
def _getBounds(filename, bbox):
try:
f = osmium.io.Reader(filename)
except:
sys.exit(f'Error: filepath {filename} contains invalid characters. Please use english characters only')
if bbox is None:
header = f.header()
... | 14,772 |
https://github.com/adambirse/innovation-funding-service/blob/master/robot-tests/IFS_acceptance_tests/tests/05__Competition_is_closed/04__Interview_Panel.robot | Github Open Source | Open Source | MIT | null | innovation-funding-service | adambirse | null | Spoken | 3,594 | 8,163 | *** Settings ***
Documentation IFS-2637 Manage interview panel link on competition dashboard - Internal
...
... IFS-2633 Manage interview panel dashboard - Internal
...
... IFS-2727 Interview Panels - Assign applications 'Find' tab
...
... IFS-2778 Invite Assessor to Interv... | 23,517 |
https://github.com/NateVanArendonk/Matlab_ThesisWork/blob/master/MatlabFunctions/findnear.m | Github Open Source | Open Source | BSD-2-Clause | 2,019 | Matlab_ThesisWork | NateVanArendonk | MATLAB | Code | 145 | 339 | function [y,pos] = findnear(x,b,ud)
% FINDNEAR [y,pos] = findnear(x,b,ud)
%
% FINDNEAR(x,b) finds the element 'y' and it's location
% 'pos' in array 'x' closest to the value 'b'. If the
% element is equidistant from the two surrounding
% elements in array 'x', the user can choose the element
% before or the element ... | 52,999 |
https://github.com/live17909/DYTT/blob/master/app/src/main/java/com/bzh/dytt/ui/AllMoviePageFragment.java | Github Open Source | Open Source | MIT | 2,018 | DYTT | live17909 | Java | Code | 164 | 806 | package com.bzh.dytt.ui;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.annotation.VisibleForTesting;
import android.support.design.widget.TabLayout;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.Fragme... | 38,969 |
https://github.com/YannMjl/aws-doc-sdk-examples/blob/master/javascriptv3/example_code/dynamodb/src/movies/queryTable.js | Github Open Source | Open Source | Apache-2.0, MIT | 2,023 | aws-doc-sdk-examples | YannMjl | JavaScript | Code | 190 | 536 | /* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0
ABOUT THIS NODE.JS EXAMPLE: This example works with the AWS SDK for JavaScript (v3),
which is available at https://github.com/aws/aws-sdk-js-v3.
Purpose:
queryTable.js demonstrates how to use the Amazon DynamoDB ... | 35,644 |
https://github.com/monkeyKinn/KH75/blob/master/src/kh75/day190727/class_test/entity/StudentBiz.java | Github Open Source | Open Source | Apache-2.0 | 2,019 | KH75 | monkeyKinn | Java | Code | 151 | 566 | /**
* Copyright © 2019 金聖聰. All rights reserved.
*
* 功能描述:
* @Package: kh75.day190727.class_test.entity
* @author: 金聖聰
* @date: 2019年7月27日 下午5:02:47
*/
package kh75.day190727.class_test.entity;
import java.util.Scanner;
import java.util.Arrays;
import com.sun.swing.internal.plaf.basic.resources.basic;... | 7,757 |
https://github.com/PT-Build-Week-Guidr/Front-end/blob/master/guidr/src/API/deleteTrips.js | Github Open Source | Open Source | MIT | null | Front-end | PT-Build-Week-Guidr | JavaScript | Code | 105 | 414 | import React from "react";
import { connect } from "react-redux";
import DeleteTrips from "../API/actions/delete";
import {Container, Row, Col, Card, Button, CardHeader, CardFooter, CardBody,
CardTitle, CardText} from 'reactstrap';
import UpdateTrips from "./updateTrips";
import {Link} from "react-router-dom";
fun... | 32,833 |
https://github.com/SylvainHocq/mapbox-gl-native/blob/master/platform/darwin/test/MGLRuntimeStylingHelper.h | Github Open Source | Open Source | BSL-1.0, Apache-2.0 | null | mapbox-gl-native | SylvainHocq | C | Code | 39 | 147 | #import <Foundation/Foundation.h>
#import "MGLTypes.h"
@interface MGLRuntimeStylingHelper : NSObject
+ (NSArray *)testPadding;
+ (NSArray *)testOffset;
+ (NSArray *)testFont;
+ (NSArray *)testDashArray;
+ (NSNumber *)testNumber;
+ (NSNumber *)testBool;
+ (NSString *)testString;
+ (MGLColor *)testColor;
+ (NS... | 6,282 |
https://github.com/lucmichalski/kube-vproxy/blob/master/svc_kube_vision_opencvplus/extras/ImageRegionGraph/matching/acransac_correspondences.cpp | Github Open Source | Open Source | Apache-2.0 | 2,021 | kube-vproxy | lucmichalski | C++ | Code | 885 | 3,260 | #include "iw/matching/acransac_correspondences.h"
#include "iw/matching/feature_matcher.h"
#include "snap/google/glog/logging.h"
#include "snap/boost/foreach.hpp"
#include <map>
namespace iw {
struct KeypointNeighborCellComparator {
KeypointNeighborCellComparator(float neighbor_threshold) : neighbor_threshold_(neig... | 22,650 |
https://github.com/ianrholmes123/phantom-lambda-template/blob/master/index.js | Github Open Source | Open Source | MIT | 2,019 | phantom-lambda-template | ianrholmes123 | JavaScript | Code | 55 | 218 |
var AWS = require('aws-sdk');
var phantomjs = require('phantomjs-prebuilt');
exports.handler = function(event, context, callback) {
console.log('I am on master');
var phantom = phantomjs.exec('phantomjs-script.js', 'arg1', 'arg2');
phantom.stdout.on('data', function(buf) {
console.log('[STR] stdo... | 32,086 |
https://github.com/openwide-java/artifact-listener/blob/master/maven-artifact-notifier-webapp/src/main/java/fr/openwide/maven/artifact/notifier/web/application/common/component/DateLabelWithPlaceholder.java | Github Open Source | Open Source | Apache-2.0 | 2,022 | artifact-listener | openwide-java | Java | Code | 106 | 464 | package fr.openwide.maven.artifact.notifier.web.application.common.component;
import java.util.Date;
import org.apache.wicket.model.IModel;
import org.apache.wicket.model.ResourceModel;
import org.springframework.util.StringUtils;
import fr.openwide.core.wicket.more.markup.html.basic.DateLabel;
import fr.openwide.co... | 18,491 |
https://github.com/soloxiao/aspectd/blob/master/test/test_util.dart | Github Open Source | Open Source | MIT | 2,021 | aspectd | soloxiao | Dart | Code | 42 | 157 | import 'dart:io';
import 'package:path/path.dart' as p;
void copyDirectory(Directory source, Directory destination) =>
source.listSync(recursive: false).forEach((FileSystemEntity entity) {
if (entity is Directory) {
final Directory newDirectory = Directory(
p.join(destination.absolute.pat... | 3,888 |
https://github.com/Hereward/phonehome/blob/master/app/views/site/header.blade.php | Github Open Source | Open Source | MIT | null | phonehome | Hereward | PHP | Code | 26 | 82 |
<div class=col-lg-12>
<h1>PhoneHome.Asia</h1>
<p>A convenient, cheap and flexible way to keep in touch with your contacts while overseas.</p>
<p><a class="btn btn-primary btn-lg">Take the Tour Now</a></p>
</div>
| 48,740 |
https://github.com/junglegodlion/myshop/blob/master/hello-spring-trancaction/src/main/java/com/funtl/hello/spring/transaction/service/impl/TbContentServiceImpl.java | Github Open Source | Open Source | MIT | 2,019 | myshop | junglegodlion | Java | Code | 32 | 178 | package com.funtl.hello.spring.transaction.service.impl;
import com.funtl.hello.spring.transaction.dao.TbContentDao;
import com.funtl.hello.spring.transaction.domain.TbContent;
import com.funtl.hello.spring.transaction.service.TbContentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.... | 36,701 |
https://github.com/rpeszek/notes-milewski-ctfp-hs/blob/master/src/CTNotes/P2Ch03_FreeMonoidFoldMap.lhs | Github Open Source | Open Source | BSD-3-Clause | 2,022 | notes-milewski-ctfp-hs | rpeszek | null | Spoken | 940 | 1,858 | |Markdown version of this file: https://github.com/rpeszek/notes-milewski-ctfp-hs/wiki/N_P2Ch03_FreeMonoidFoldMap
This note explains factorization in the free construction of monoid using Haskell. It is the `foldMap`!
This note explores
[CTFP](https://bartoszmilewski.com/2014/10/28/category-theory-for-programmers-t... | 42,360 |
https://github.com/abdullahessamm/Eagle-Sales/blob/master/app/Http/Controllers/Location/UserLocationController.php | Github Open Source | Open Source | MIT | null | Eagle-Sales | abdullahessamm | PHP | Code | 62 | 199 | <?php
namespace App\Http\Controllers\Location;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
class UserLocationController extends Controller
{
/**
* get user location by ip address
*
* @param Request $request
* @return void
*/
public function getIpLocation(Re... | 28,108 |
https://github.com/zrxbeijing/NewsTrader/blob/master/NewsTrader/tickerfinder/isin_to_ticker.py | Github Open Source | Open Source | MIT | null | NewsTrader | zrxbeijing | Python | Code | 108 | 361 | import requests
from bs4 import BeautifulSoup
def isin_to_ticker(isin):
if not isinstance(isin, str):
return None
if len(isin) < 12:
ticker_result = [(None, isin)]
return ticker_result
if "US" in isin:
prefix = "https://www.morningstar.com/search/us-securities?query="
... | 22,141 |
https://github.com/bmj-school/udacity_blockchain/blob/master/PROJECT8_real_estate_capstone/eth-contracts/contracts/SolnSquareVerifier.sol | Github Open Source | Open Source | Apache-2.0 | 2,020 | udacity_blockchain | bmj-school | Gerber Image | Code | 257 | 609 | pragma solidity >=0.4.21 <0.6.0;
import './ERC721Mintable.sol';
import './SquareVerifier.sol';
// TODO define another contract named SolnSquareVerifier that inherits from your ERC721Mintable class
contract SolnSquareVerifier is ERC721MintableRealEstate {
// TODO define a contract call to the zokrates generated ... | 45,545 |
https://github.com/nurulimamnotes/alchemy_cms/blob/master/app/assets/stylesheets/alchemy/search.scss | Github Open Source | Open Source | BSD-3-Clause | 2,013 | alchemy_cms | nurulimamnotes | SCSS | Code | 97 | 377 | #toolbar div.search_field {
position: relative;
float: left;
margin-bottom: $default-margin;
}
div#image_assign_filter_and_image_sizing form div.search_field {
margin-right: 4px;
float: left;
position: relative;
}
#alchemy a.search_field_clear {
width: 16px;
height: 16px;
background: url('ui-icons_6... | 4,434 |
https://github.com/Frozire/netscape-bookmark-parser/blob/master/tests/LoggerTestsUtils.php | Github Open Source | Open Source | MIT | 2,020 | netscape-bookmark-parser | Frozire | PHP | Code | 55 | 131 | <?php
namespace Shaarli\NetscapeBookmarkParser;
/**
* Class LoggerTestsUtils
*
* Utility class for tests regarding the logger.
*/
class LoggerTestsUtils
{
/**
* Retrieve the
*
* @param string $directory
* @return bool
*/
public static function getLogFile($directory = 'logs')
{... | 21,251 |
https://github.com/ASlugin/Homework-2sem/blob/master/SCP-087/Library/PackageCache/com.unity.services.core@1.3.1/Runtime/Telemetry/Models/Interfaces/ITelemetryPayload.cs | Github Open Source | Open Source | Apache-2.0 | 2,022 | Homework-2sem | ASlugin | C# | Code | 24 | 78 | using System.Collections.Generic;
namespace Unity.Services.Core.Telemetry.Internal
{
interface ITelemetryPayload
{
Dictionary<string, string> CommonTags { get; }
int Count { get; }
void Add(ITelemetryEvent telemetryEvent);
}
}
| 27,542 |
https://github.com/SugarSpinda/MyLib/blob/master/file/Jpg.cpp | Github Open Source | Open Source | MIT | 2,017 | MyLib | SugarSpinda | C++ | Code | 432 | 1,818 | #include <cstdio>
#include <cstdbool>
#include "Jpg.hpp"
#include "common/Exception.hpp"
void Jpg::DecompressInfo::open(const char *fileName)
{
if (isCreated == false)
{
info.err = jpeg_std_error(&jerr.mgr);
jerr.mgr.error_exit = Jpg::errorExit;
if (setjmp(jerr.buffer) != 0)
{
release();
return;
}... | 39,159 |
https://github.com/nerajok/Blockchain-Development/blob/master/Advanced Smart Contracts/Labs/lab3/contracts/Storage.sol | Github Open Source | Open Source | MIT | 2,020 | Blockchain-Development | nerajok | Gerber Image | Code | 73 | 247 | pragma solidity >0.5.0;
contract Storage {
bytes4 bytes4data = 0xaabbccdd;
uint72 uintdata = 0x123456;
bool booldata = true;
address addrdata = 0xdC962cEAb6C926E3a9B133c46c7258c0E371b82b;
function getData() public view returns (bytes4 output1,uint64 output2, bool output3,address output4) {
... | 47,456 |
https://github.com/fatihavci06/laravel-api/blob/master/database/seeders/product_categoriesSeed.php | Github Open Source | Open Source | MIT | null | laravel-api | fatihavci06 | PHP | Code | 34 | 197 | <?php
namespace Database\Seeders;
use Illuminate\Database\Seeder;
use DB;
class product_categoriesSeed extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
DB::table('product_categories')->insert(['product_id'=>1,'category_id'=>1]);
... | 47,905 |
https://github.com/dariuslancranjan/mobile-programming/blob/master/EventsProject/app/screens/EventsListing.js | Github Open Source | Open Source | MIT | 2,020 | mobile-programming | dariuslancranjan | JavaScript | Code | 245 | 878 | /**
* @author Malai Mihai
* @email trmmsob@gmail.com
* @licence MIT
*/
import React, {Component} from 'react';
import {Text, View, ScrollView, StyleSheet, TouchableOpacity, Dimensions} from 'react-native';
import {StatusBar} from 'react-native';
import EventItem from '../compoents/EventItem';
import Icon from 'reac... | 33,258 |
https://github.com/vinczedani/yardic/blob/master/example/example.js | Github Open Source | Open Source | MIT | 2,020 | yardic | vinczedani | JavaScript | Code | 57 | 161 | const { container } = require('..');
const Foo = require('./services/fooService');
const Fizz = require('./services/fizzService');
container.setValue('config', 'configuration value');
function demo() {
const fooInstance = container.get(Foo);
const fooInstance2 = container.get(Foo);
fooInstance.fooFunction();
... | 3,919 |
https://github.com/reoring/cdesk/blob/master/app/views/agents/index.json.jbuilder | Github Open Source | Open Source | Apache-2.0 | 2,016 | cdesk | reoring | Ruby | Code | 13 | 47 | json.array!(@agents) do |agent|
json.extract! agent, :id, :name, :email
json.url agent_url(agent, format: :json)
end
| 35,374 |
https://github.com/Maelstromeous/nanite-systems-comics/blob/master/app/views/admin/comic/deletecomic.blade.php | Github Open Source | Open Source | MIT | null | nanite-systems-comics | Maelstromeous | PHP | Code | 10 | 52 | @extends('layouts.admin')
@section('title', 'NSC Admin')
@section('content')
<h1 style="text-align: center">Delete Comic</h1>
@stop | 24,611 |
https://github.com/laredoza/SingleSignOnUI/blob/master/src/app/client-management/models/option.ts | Github Open Source | Open Source | MIT | 2,021 | SingleSignOnUI | laredoza | TypeScript | Code | 27 | 71 | export class Option {
value: string;
text: string;
selected: boolean;
constructor(value:string, text: string, selected: boolean) {
this.value = value;
this.text = text;
this.selected = selected;
}
}
| 23,164 |
https://github.com/learningequality/design2align-backend/blob/master/alignmentpro/frontend/App.vue | Github Open Source | Open Source | MIT | 2,020 | design2align-backend | learningequality | Vue | Code | 134 | 626 | <template>
<v-app id="app">
<v-toolbar app clipped-left absolute>
<v-btn flat icon to="/">
<v-icon>home</v-icon>
</v-btn>
<v-spacer />
<v-toolbar-items v-if="username">
<div style="padding-top: 20px; font-size: 12pt;">
Hello, {{ username }}
</div>
... | 13,624 |
https://github.com/ninjadotorg/constant-websites/blob/master/user.depricated/src/constants.js | Github Open Source | Open Source | MIT | null | constant-websites | ninjadotorg | JavaScript | Code | 91 | 469 | const isProduction =
process.env.MODE !== "dev" && process.env.NODE_ENV === "production";
const BASE = process.env.serviceAPI;
if (isProduction) {
console.log("production");
}
// NOTE: BELOW IS UNNECESSARY
const API = {
STATS: "portal/borrows_stats",
STATS_ALL: "portal/borrows_all_stats",
LOAN_PARAMS: "com... | 50,049 |
https://github.com/yershalom/people_in_space/blob/master/lib/main.dart | Github Open Source | Open Source | MIT | null | people_in_space | yershalom | Dart | Code | 84 | 346 | import 'package:flutter/material.dart';
import 'package:people_in_space/screens/AstronautScreen.dart';
import 'package:people_in_space/screens/SplashScreen.dart';
import 'package:transparent_image/transparent_image.dart';
void main() {
runApp(new MaterialApp(
home: new MyApp(),
));
}
class MyApp extends State... | 46,221 |
https://github.com/microsoft/MixedRealityToolkit/blob/master/Sharing/Src/Source/Profiler/ProfilerStreamImpl.h | Github Open Source | Open Source | MIT | 2,023 | MixedRealityToolkit | microsoft | C++ | Code | 107 | 424 | //////////////////////////////////////////////////////////////////////////
// ProfilerStreamImpl.h
//
// Copyright (C) 2015 Microsoft Corp. All Rights Reserved
//////////////////////////////////////////////////////////////////////////
#pragma once
XTOOLS_NAMESPACE_BEGIN
class ProfilerStreamImpl : public ProfilerStr... | 50,627 |
https://github.com/lcarnevale/twitter_ngrams_classifier/blob/master/Dockerfile | Github Open Source | Open Source | MIT | 2,019 | twitter_ngrams_classifier | lcarnevale | Dockerfile | Code | 51 | 139 | From ubuntu:latest
LABEL maintainer="Lorenzo Carnevale"
LABEL email="lorenzocarnevale@gmail.com"
COPY requirements.txt /opt/app/requirements.txt
# application folder
WORKDIR /opt/app
# update source
RUN apt update && \
apt upgrade -y && \
apt install -y python3 python3-pip && \
pip3 install -r requirements... | 36,427 |
https://github.com/anglixue/singlecell-modes/blob/master/org/lra.org | Github Open Source | Open Source | MIT | 2,021 | singlecell-modes | anglixue | null | Spoken | 1,185 | 6,378 | #+TITLE: Low rank approximation
#+SETUPFILE: setup.org
* Introduction
The key idea of our approach to modeling scRNA-seq is to separate sampling
variation and expression variation. This approach leads to the following
multi-gene model for scRNA-seq data: \(
\newcommand\ml{\mathbf{L}}
\newcommand\mf{\mathbf{... | 181 |
https://github.com/tsuru/tsuru/blob/master/api/server.go | Github Open Source | Open Source | BSD-3-Clause | 2,023 | tsuru | tsuru | Go | Code | 3,446 | 16,031 | // Copyright 2013 tsuru authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package api
import (
"context"
"crypto/tls"
"crypto/x509"
"fmt"
stdLog "log"
"net/http"
"net/http/pprof"
"net/url"
"os"
"os/signal"
"sync"
"syscall"... | 13,083 |
https://github.com/lsst-sqre/documenteer/blob/master/src/documenteer/sphinxrunner.py | Github Open Source | Open Source | MIT | 2,023 | documenteer | lsst-sqre | Python | Code | 203 | 578 | """Run Sphinx directly through its Python API."""
from __future__ import annotations
import os
from pathlib import Path
from typing import Union
from sphinx.cmd.build import build_main
__all__ = ["run_sphinx"]
def run_sphinx(
root_dir: Union[str, Path],
job_count: int = 1,
warnings_as_errors: bool = F... | 52,961 |
https://github.com/javairiaJ/git-test/blob/master/laravel/resources/views/front/users/change_password.blade.php | Github Open Source | Open Source | MIT | 2,020 | git-test | javairiaJ | Blade | Code | 106 | 517 | @extends('front.layouts.app')
@section('content')
<?php
$required = 'required';
?>
<section class="dashboard-area">
<div class="container">
@include('front/commons/errors')
<div class="dash__rgt col-sm-9">
<div class="tab-content">
<div class="hed"><h2 style="margin-le... | 21,182 |
https://github.com/MunifTanjim/node-bitbucket/blob/master/src/plugins/validate-request/index.ts | Github Open Source | Open Source | MIT | 2,023 | node-bitbucket | MunifTanjim | TypeScript | Code | 21 | 65 | import { validate } from './validate'
type APIClient = import('./types').APIClient
function validateRequestPlugin(client: APIClient): void {
client.requestHook.before(validate.bind(null, client))
}
export default validateRequestPlugin
| 31,196 |
https://github.com/1690296356/jdk/blob/master/test/hotspot/jtreg/vmTestbase/nsk/jvmti/scenarios/events/EM07/em07t002/em07t002.cpp | Github Open Source | Open Source | Apache-2.0 | null | jdk | 1690296356 | C++ | Code | 764 | 2,909 | /*
* Copyright (c) 2004, 2019, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... | 14,120 |
https://github.com/kaitezhan/valid/blob/master/valid-core/src/main/java/com/github/houbb/valid/core/api/constraint/Constraints.java | Github Open Source | Open Source | Apache-2.0 | 2,021 | valid | kaitezhan | Java | Code | 162 | 770 | package com.github.houbb.valid.core.api.constraint;
import com.github.houbb.heaven.util.common.ArgUtil;
import com.github.houbb.valid.api.api.constraint.IConstraint;
/**
* 默认约束实现类
* @author binbin.hou
* @since 0.1.1
*/
public final class Constraints {
private Constraints(){}
/**
* 全部相等约束
* (1)... | 23,702 |
https://github.com/vishalpanchalsstech/sstech-driver/blob/master/application/views/companydriver_view.php | Github Open Source | Open Source | MIT | null | sstech-driver | vishalpanchalsstech | PHP | Code | 432 | 1,903 | <?php if(isset($msg)){ echo $msg; } ?>
<div class="page-inner">
<div class="page-title">
<h3 class="breadcrumb-header">Company <?php if($roleid != '3' ){ ?>Driver <?php } ?> List</h3>
</div>
<div class="panel panel-default">
<h3 class="panel-title">
<?php if($roleid != '3' ){ ?><button type="bu... | 37,090 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.