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/kazupon/vue-i18n-extract-locale-message/blob/master/test/fixtures/meta/json5.ts
Github Open Source
Open Source
MIT
2,020
vue-i18n-extract-locale-message
kazupon
TypeScript
Code
108
385
export default [{ raw: ` <template> <p>template</p> </template> <script> export default {} </script> <i18n lang="json5" locale="en"> { // modal contents "ok": "OK", cancel: "Cancel" } </i18n> <i18n locale="ja"> { "ok": "OK", "cancel": "キャンセル" } </i18n> `, tem...
7,510
https://github.com/Fimbure/icebox-1/blob/master/third_party/virtualbox/src/VBox/Devices/PC/ipxe/src/drivers/net/jme.c
Github Open Source
Open Source
MIT
2,022
icebox-1
Fimbure
C
Code
3,308
13,057
/* * JMicron JMC2x0 series PCIe Ethernet gPXE Device Driver * * Copyright 2010 Guo-Fu Tseng <cooldavid@cooldavid.org> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of...
19,177
https://github.com/uzzal71/python-fundamentals/blob/master/HelloWorld3.py
Github Open Source
Open Source
MIT
null
python-fundamentals
uzzal71
Python
Code
11
26
print('Hello World!') print('Hello Human, What is your name?') name = input()
31,272
https://github.com/sensu/sensu-go/blob/master/token/token.go
Github Open Source
Open Source
MIT
2,023
sensu-go
sensu
Go
Code
835
1,855
package token import ( "bytes" "encoding/json" "fmt" "strings" "text/template" corev2 "github.com/sensu/core/v2" "github.com/sensu/sensu-go/dynamic" ) // Substitution evaluates the input template, that possibly contains // tokens, with the provided data object and returns a slice of bytes // representing the ...
47,300
https://github.com/salincandela/MadStore/blob/master/madstore-server/src/main/java/it/pronetics/madstore/server/jaxrs/atom/ResourceHandler.java
Github Open Source
Open Source
Apache-2.0
2,009
MadStore
salincandela
Java
Code
265
669
/** * Copyright 2008 - 2009 Pro-Netics S.P.A. * * 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...
20,493
https://github.com/dotienduc/ShareRoom/blob/master/app/Http/Controllers/ImageController.php
Github Open Source
Open Source
MIT
null
ShareRoom
dotienduc
PHP
Code
18
60
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; class ImageController extends Controller { public function custom(Request $request) { dd($request->file('images')); } }
22,099
https://github.com/simpeg-research/iris-mt-scratch/blob/master/iris_mt_scratch/sandbox/poles_and_zeros/tf_helpers.py
Github Open Source
Open Source
MIT
null
iris-mt-scratch
simpeg-research
Python
Code
891
2,329
import numpy as np from scipy import signal def evaluate_transfer_function_response(num, den, w): """ num, array-like : numerator coefficients, in decreasing order den, array-like : denomenator coefficients, in decreasing order w, array-like : angular frequencies at which to evalute ...
39,403
https://github.com/Cezerin3/Admin-NX/blob/master/libs/client/src/lib/webstore/serviceLogs.ts
Github Open Source
Open Source
Unlicense
2,020
Admin-NX
Cezerin3
TypeScript
Code
21
70
class WebStoreServices { client: any constructor(client) { this.client = client } list(serviceID: string) { return this.client.get(`/services/${serviceID}/logs`) } } export default WebStoreServices
51,467
https://github.com/em2046/crm-front/blob/master/src/app/login/background/background.component.less
Github Open Source
Open Source
MIT
2,021
crm-front
em2046
Less
Code
40
157
.background { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; z-index: -1; pointer-events: none; background-color: #f5f5f5; user-select: none; } .background-icon { border-radius: 50%; display: flex; justify-content: center; align-items: center; background-color: #e9edf7; po...
53,313
https://github.com/securesystemslab/zippy/blob/master/zippy/benchmarks/src/micro/special-len.py
Github Open Source
Open Source
BSD-3-Clause
2,018
zippy
securesystemslab
Python
Code
96
280
# zwei 04/05/14 # special method __len__ dispatch import time class Num: def __init__(self, n): self.n = n def __len__(self): return self.n def __repr__(self): return repr(self.n) def docompute(num): for i in range(num): sum = 0 one = Num(42) j = 0 while j < num: sum = sum + len(one) j += 1 ...
9,412
https://github.com/JustUtahCoders/comunidades-unidas-internal/blob/master/frontend/view-edit-client/integrations/integrations.component.tsx
Github Open Source
Open Source
MIT
2,023
comunidades-unidas-internal
JustUtahCoders
TSX
Code
465
1,658
import React from "react"; import { SingleClient, AuditSummary } from "../view-client.component"; import { useCss } from "kremling"; import enabledImgUrl from "../../../icons/148705-essential-collection/svg/success.svg"; import disabledImgUrl from "../../../icons/148705-essential-collection/svg/minus.svg"; import broke...
14,498
https://github.com/stkevintan/framework/blob/master/.gitignore
Github Open Source
Open Source
MIT
2,016
framework
stkevintan
Ignore List
Code
4
16
.idea/ dist/ release/ node_modules/
24,330
https://github.com/itJieShao/front_admin/blob/master/src/views/store/staff/list/edit.vue
Github Open Source
Open Source
MIT
null
front_admin
itJieShao
Vue
Code
469
2,222
<template> <div class="app-container"> <h2>{{ $route.query.employee_id ? "编辑员工" : "新增员工" }}</h2> <el-card shadow="always"> <el-form label-width="130px"> <el-form-item label="头像"> <el-upload :file-list="detailMainImgFile" :class="{ main_img_hide: formData.head_im...
11,342
https://github.com/amikey/HtmlViewer/blob/master/source/StyleUn.pas
Github Open Source
Open Source
MIT
null
HtmlViewer
amikey
Pascal
Code
12,997
42,490
{ Version 11.7 Copyright (c) 1995-2008 by L. David Baldwin, Copyright (c) 2008-2016 by HtmlViewer Team 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 limi...
31,832
https://github.com/vanvalenlab/kiosk-training/blob/master/training/settings.py
Github Open Source
Open Source
Apache-2.0
null
kiosk-training
vanvalenlab
Python
Code
405
1,067
# Copyright 2016-2018 The Van Valen Lab at the California Institute of # Technology (Caltech), with support from the Paul Allen Family Foundation, # Google, & National Institutes of Health (NIH) under Grant U24CA224309-01. # All rights reserved. # # Licensed under a modified Apache License, Version 2.0 (the "License");...
52,290
https://github.com/Joesudoedapizza/survivalgames/blob/master/src/main/java/com/github/pocketkid2/survivalgames/Messages.java
Github Open Source
Open Source
MIT
null
survivalgames
Joesudoedapizza
Java
Code
1,073
2,675
package com.github.pocketkid2.survivalgames; import java.util.List; import java.util.Set; import java.util.stream.Collectors; import org.bukkit.ChatColor; import org.bukkit.OfflinePlayer; import org.bukkit.entity.Player; import org.bukkit.plugin.PluginDescriptionFile; import com.github.pocketkid2.survivalgames.Game....
4,060
https://github.com/keesey/phylopic/blob/master/apps/api/src/validation/convertValidationFaultsToErrors.ts
Github Open Source
Open Source
MIT
null
phylopic
keesey
TypeScript
Code
41
124
import type { Error } from "@phylopic/api-models" import type { ValidationFault } from "@phylopic/utils" const convertValidationFaultsToErrors = (faults: readonly ValidationFault[], userMessage: string) => faults.map( fault => ({ developerMessage: fault.message, f...
53,299
https://github.com/xcube16/RLTweaker/blob/master/src/main/java/com/charles445/rltweaker/network/TaskScheduler.java
Github Open Source
Open Source
MIT
2,020
RLTweaker
xcube16
Java
Code
115
522
package com.charles445.rltweaker.network; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import net.minecraftforge.fml.common.gameevent.TickEvent; import net.minecraftforge.fml.common.network.simpleimpl.IMessage; import net.minecraftforge.fml.relauncher.Side; import net.minecraftforge.f...
28,352
https://github.com/maskott-inc/xAPI.NET/blob/master/src/xAPI.Client/Exceptions/ValidationException.cs
Github Open Source
Open Source
MIT
2,020
xAPI.NET
maskott-inc
C#
Code
319
740
using Newtonsoft.Json; using System.Collections.Generic; using System.Linq; namespace xAPI.Client.Exceptions { /// <summary> /// This exception is thrown when an invalid request is performed by the application. /// Details are included in the exception's members. /// </summary> public class Valida...
24,906
https://github.com/aungzawpyaemm/bio/blob/master/resources/views/layouts/fontend.blade.php
Github Open Source
Open Source
MIT
null
bio
aungzawpyaemm
PHP
Code
986
4,570
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="description" content=""> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <!-- The above 4 meta tags *must* come first in the head; ...
31,285
https://github.com/axp-dev/transperm-api/blob/master/examples/stoppoint-time-table.php
Github Open Source
Open Source
MIT
2,017
transperm-api
axp-dev
PHP
Code
9
67
<?php include_once '../vendor/autoload.php'; $StoppointTimeTable = AXP\TransPerm\TransPerm::getStoppointTimeTable( date('d.m.Y'), '18000'); print_r($StoppointTimeTable);
39,124
https://github.com/KennyWZhang/pro-components/blob/master/packages/table/src/demos/ListToolBar/no-title.tsx
Github Open Source
Open Source
MIT
2,020
pro-components
KennyWZhang
TSX
Code
70
217
import React from 'react'; import { ListToolBar } from '@ant-design/pro-table'; import { LightFilter, ProFormDatePicker } from '@ant-design/pro-form'; import { Button } from 'antd'; export default () => ( <ListToolBar style={{ boxShadow: '0 0 3px #ccc', }} search={{ onSearch: (value) => { ...
24,941
https://github.com/elsayed85/towipi_2/blob/master/vendor/spatie/laravel-settings/src/Support/Composer.php
Github Open Source
Open Source
MIT
2,022
towipi_2
elsayed85
PHP
Code
48
196
<?php namespace Spatie\LaravelSettings\Support; use Illuminate\Support\Str; class Composer { public static function getAutoloadedFiles($composerJsonPath): array { if (! file_exists($composerJsonPath)) { return []; } $basePath = Str::before($composerJsonPath, 'composer.jso...
15,412
https://github.com/stevenannunziato/final-project/blob/master/final-project/include/final-project/console input.h
Github Open Source
Open Source
MIT
null
final-project
stevenannunziato
C
Code
300
491
/* MIT License Copyright(c) 2020 stevenannunziato Permission is hereby granted, free of charge, to any person obtaining a copy of this softwareand associated documentation files(the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, ...
12,677
https://github.com/Kemok-Repos/kemokrw/blob/master/src/kemokrw/client_zoho.py
Github Open Source
Open Source
MIT
null
kemokrw
Kemok-Repos
Python
Code
551
1,591
from kemokrw.client import ApiClient from datetime import datetime, timedelta import requests import time import json class ZohoClient(ApiClient): """Clase ZohoClient implementacion de la clase ApiClient. Cumple la función de encapsular el manejador la API de Zoho CRM. Atributos --------- code ...
39,813
https://github.com/npocmaka/Windows-Server-2003/blob/master/windows/advcore/ctf/msctfime/misc.cpp
Github Open Source
Open Source
Unlicense
2,021
Windows-Server-2003
npocmaka
C++
Code
41
165
/*++ Copyright (c) 2001, Microsoft Corporation Module Name: misc.cpp Abstract: Author: Revision History: Notes: --*/ #include "private.h" #pragma warning(disable: 4005) #include <wingdip.h> extern "C" BYTE GetCharsetFromLangId(LCID lcid) { CHARSETINFO csInfo; if (!TranslateCharsetInfo((DWORD *)(U...
31,370
https://github.com/zekroTJA/no-google-challenge/blob/master/ToDoList/Models/User.cs
Github Open Source
Open Source
MIT
2,021
no-google-challenge
zekroTJA
C#
Code
38
92
using System.Text.Json.Serialization; namespace ToDoList.Models { /// <summary> /// Database model of a user. /// </summary> public class User : Entity { public string LoginName { get; set; } [JsonIgnore] public string PasswordHash { get; set; } } }
24,666
https://github.com/rome/tools/blob/master/crates/rome_js_analyze/tests/specs/correctness/noUnreachable/JsForInStatement.js.snap
Github Open Source
Open Source
MIT
2,023
tools
rome
null
Spoken
183
641
--- source: crates/rome_js_analyze/tests/spec_tests.rs expression: JsForInStatement.js --- # Input ```js function JsForInStatement1() { for (const key in value) { break; afterBreak(); } } function JsForInStatement2() { for (const key in value) { continue; afterContinue(); ...
5,312
https://github.com/yvesjores/AndroidSensorsProgramming/blob/master/jjil/src/jjil/algorithm/Gray8HistMatch.java
Github Open Source
Open Source
Apache-2.0
2,022
AndroidSensorsProgramming
yvesjores
Java
Code
677
1,492
/* * Gray8HistMatch.java * * Created on September 9, 2006, 4:07 PM * * To change this template, choose Tools | Template Manager * and open the template in the editor. * * Copyright 2007 by Jon A. Webb * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU...
2,090
https://github.com/yanchaoGan/PopOverlay/blob/master/LoginPopDemo/PopManager/UIUtil/BFSimpleAlertView.h
Github Open Source
Open Source
MIT
2,018
PopOverlay
yanchaoGan
C
Code
63
250
// // BFSimpleAlertView.h // SuperFans // // Created by ganyanchao on 2018/6/23. // Copyright © 2018 com.afander.finance. All rights reserved. // #import <UIKit/UIKit.h> #import "RIButtonItem.h" /** 系统alert 替代 */ @interface BFSimpleAlertView : UIView + (instancetype)alertWithTitle:(NSString *)title message:(N...
11,043
https://github.com/abhishekd1996/booksnew/blob/master/src/test/java/com/abhishek/bookstore/services/InventoryServiceImplTest.java
Github Open Source
Open Source
Apache-2.0
null
booksnew
abhishekd1996
Java
Code
165
894
package com.abhishek.bookstore.services; import java.util.List; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.springframework.data.domain.Pageable; import com.abhishek.bookstore.data.entities.BookStock; import com.abhishek.bookstore.data.models.StockEntryRequest; import com.a...
23,679
https://github.com/Nkyoku/phoenix-firmware/blob/master/FPGA/App/software/controller_bsp/system.h
Github Open Source
Open Source
MIT
null
phoenix-firmware
Nkyoku
C
Code
2,122
12,633
/* * system.h - SOPC Builder system and BSP software package information * * Machine generated for CPU 'nios_0' in SOPC Builder design 'controller' * SOPC Builder design path: ../../controller.sopcinfo * * Generated: Sat Oct 09 00:08:28 JST 2021 */ /* * DO NOT MODIFY THIS FILE * * Changing this file will hav...
5,084
https://github.com/ggagnaux/Sage300-SDK/blob/master/src/wizards/UpgradeWizardTemplates/Items/Views/_ViewStart.cshtml
Github Open Source
Open Source
MIT
2,022
Sage300-SDK
ggagnaux
C#
Code
21
170
@using System.Net.Mime @using Microsoft.Ajax.Utilities @using Sage.CA.SBS.ERP.Sage300.Common.Models @using Sage.CA.SBS.ERP.Sage300.Common.Models.Enums @using Sage.CA.SBS.ERP.Sage300.Common.Resources @using Sage.CA.SBS.ERP.Sage300.Common.Web @using Sage.CA.SBS.ERP.Sage300.Common.Web.AreaConstants @using Sage.CA.SBS.ERP...
522
https://github.com/wuxiaofang/XBClient/blob/master/XBClient/Classes/Category/Category.h
Github Open Source
Open Source
MIT
null
XBClient
wuxiaofang
C
Code
49
215
// // Category.h // XBClient // // Created by yongche_w on 2017/9/18. // Copyright © 2017年 Map. All rights reserved. // #ifndef Category_h #define Category_h #import "UIButton+Extent.h" #import "NSString+Hash.h" #import "NSString+Urlcode.h" #import "NSArray+SafeData.h" #import "NSMutableArray+SafeData.h" #impo...
21,276
https://github.com/paulguy/pcspkrplay/blob/master/util.c
Github Open Source
Open Source
0BSD
2,021
pcspkrplay
paulguy
C
Code
268
567
/* * Copyright (c) 2011 Paul LaMendola * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAI...
18,040
https://github.com/piplcom/magda/blob/master/magda-web-client/src/Components/Dataset/View/DistributionDetails.tsx
Github Open Source
Open Source
Apache-2.0
null
magda
piplcom
TypeScript
Code
333
1,201
import React, { Component } from "react"; import DataPreviewVis from "Components/Common/DataPreviewVis"; import MagdaNamespacesConsumer from "Components/i18n/MagdaNamespacesConsumer"; import ContactPoint from "Components/Common/ContactPoint"; import CommonLink from "Components/Common/CommonLink"; import { gapi } from "...
29,322
https://github.com/Civil-Service-Human-Resources/lpg-management/blob/master/test/unit/learning-catalogue/model/factory/eventFactoryTest.ts
Github Open Source
Open Source
LicenseRef-scancode-proprietary-license, MIT, LicenseRef-scancode-unknown-license-reference
2,023
lpg-management
Civil-Service-Human-Resources
TypeScript
Code
330
1,333
import {describe, it} from 'mocha' import {expect} from 'chai' import {EventFactory} from '../../../../../src/learning-catalogue/model/factory/eventFactory' import {Event} from '../../../../../src/learning-catalogue/model/event' import {VenueFactory} from '../../../../../src/learning-catalogue/model/factory/venueFactor...
52,554
https://github.com/AndreasMair/ABAP/blob/master/ABAPDesignPatterns/zdp_decorator.abap
Github Open Source
Open Source
MIT
null
ABAP
AndreasMair
null
Spoken
318
1,150
*&---------------------------------------------------------------------* *& Report ZDP_DECORATOR *& *&---------------------------------------------------------------------* *& *& *&---------------------------------------------------------------------* REPORT zdp_decorator. CLASS output DEFINITION ABSTRACT. PUBLIC ...
40,264
https://github.com/Vishalan/SmartGrid/blob/master/facebook/src/com/facebook/SessionState.java
Github Open Source
Open Source
Apache-2.0
2,018
SmartGrid
Vishalan
Java
Code
536
1,050
/** * Copyright 2010-present Facebook. * * 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 agre...
8,488
https://github.com/QualiaSystemes/QSColor/blob/master/QSColor/Classes/QSGradientView.swift
Github Open Source
Open Source
MIT
null
QSColor
QualiaSystemes
Swift
Code
139
476
// // QSGradientView.swift // Pods // // Created by Benjamin on 07/12/2016. // // import UIKit public class QSGradientView: UIView { @IBInspectable public var startColorId: String? { didSet{ setupView() } } @IBInspectable public var endColorId: String? { di...
8,847
https://github.com/tdrwenski/netcdf-java/blob/master/cdm-test/src/test/java/ucar/nc2/iosp/hdf5/TestH5.java
Github Open Source
Open Source
BSD-3-Clause
null
netcdf-java
tdrwenski
Java
Code
482
1,538
/* * Copyright (c) 1998-2018 University Corporation for Atmospheric Research/Unidata * See LICENSE for license information. */ package ucar.nc2.iosp.hdf5; import org.junit.experimental.categories.Category; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import ucar.ma2.Array; import ucar.ma2.Index; import ...
13,851
https://github.com/launchql/utils/blob/master/packages/achievements/test/triggers.test.js
Github Open Source
Open Source
MIT
null
utils
launchql
JavaScript
Code
490
1,803
import { getConnections } from './utils'; import { snap } from './utils/snaps'; let db, teardown; const objs = { tables: {} }; const user_id = 'b9d22af1-62c7-43a5-b8c4-50630bbd4962'; const status = {}; const repeat = (str, n) => Array.from({ length: n }).fill([str]).flat(); beforeAll(async () => { ({ db, teardown...
1,151
https://github.com/maciejg-git/vue-bootstrap-icons/blob/master/dist-mdi/mdi/gas-station.js
Github Open Source
Open Source
MIT, CC-BY-4.0, MIT-0
null
vue-bootstrap-icons
maciejg-git
JavaScript
Code
70
439
import { h } from 'vue' export default { name: "GasStation", vendor: "Mdi", type: "", tags: ["gas","station"], render() { return h( "svg", {"xmlns":"http://www.w3.org/2000/svg","width":"24","height":"24","viewBox":"0 0 24 24","class":"v-icon","fill":"currentColor","data-name":"mdi-gas-station"...
27,687
https://github.com/kevpl/beaker/blob/master/acceptance/tests/base/dsl/helpers/host_helpers/rsync_to_test.rb
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, Apache-2.0
2,018
beaker
kevpl
Ruby
Code
407
1,327
require "helpers/test_helper" test_name "dsl::helpers::host_helpers #rsync_to" do confine_block :to, :platform => /^centos|el-\d|fedora/ do step "installing `rsync` on #{default['platform']} for all later test steps" do hosts.each do |host| install_package host, "rsync" end end end ...
5,190
https://github.com/demchyna/horondi_client_be/blob/master/models/Size.js
Github Open Source
Open Source
MIT
2,020
horondi_client_be
demchyna
JavaScript
Code
34
124
const mongoose = require('mongoose'); const CurrencySet = require('./CurrencySet').schema; const SizeSchema = new mongoose.Schema({ name: String, heightInCm: Number, widthInCm: Number, depthInCm: Number, volumeInLiters: Number, weightInKg: Number, available: Boolean, additionalPrice: [CurrencySet], });...
39,327
https://github.com/anu-007/open-event-frontend/blob/master/app/templates/events/view/tickets/access.hbs
Github Open Source
Open Source
Apache-2.0
2,017
open-event-frontend
anu-007
null
Spoken
193
729
{{#if device.isMobile }} <br><br> {{/if}} <div class="ui stackable grid"> <div class="row"> <h2 class="ui header eight wide column left floated {{if device.isMobile 'center' 'left'}} aligned">{{t 'Access Codes'}}</h2> <div class="eight wide column {{if device.isMobile 'center' 'right'}} aligned"><button cla...
30,235
https://github.com/mhs1314/allPay/blob/master/qht-modules/qht-api/src/main/java/com/qht/model/TatModel.java
Github Open Source
Open Source
Apache-2.0
null
allPay
mhs1314
Java
Code
69
196
package com.qht.model; import java.io.Serializable; public class TatModel implements Serializable { //兴趣id private String tid; //兴趣姓名 private String tname; public String getTid() { return tid; } public void setTid(String tid) { this.tid = tid; } public String ge...
38,220
https://github.com/risfat/elancebd/blob/master/vendor/bartlett/umlwriter/docs/getting-started.asciidoc
Github Open Source
Open Source
Apache-2.0
2,021
elancebd
risfat
AsciiDoc
Code
476
1,383
= Getting Started :description: Startup in 5 minutes include::revision.asciidoc[] include::attributes.asciidoc[] :pharstable: http://bartlett.laurent-laville.org/get/umlwriter-1.2.0.phar == Download We distribute a http://www.php.net/phar[PHP Archive] (PHAR) that contains all required dependencies of [label label-p...
16,298
https://github.com/colinw7/CImportModel/blob/master/include/CImportASC.h
Github Open Source
Open Source
MIT
2,021
CImportModel
colinw7
C
Code
108
384
#ifndef CIMPORT_ASC_H #define CIMPORT_ASC_H #include <CFile.h> #include <CRGBA.h> class CImportASC { enum { INVERT_X = (1<<0), INVERT_Y = (1<<1), INVERT_Z = (1<<2), SWAP_XY = (1<<3), SWAP_XZ = (1<<4), SWAP_YZ = (1<<5)...
20,024
https://github.com/jsdelivrbot/dockerfiles-1/blob/master/data/k/khaio/kerl/Dockerfile
Github Open Source
Open Source
MIT
2,018
dockerfiles-1
jsdelivrbot
Dockerfile
Code
50
156
FROM khaio/ubuntu RUN apt-get update # Erlang HiPE build requires M4 RUN apt-get install -y git build-essential libncurses5-dev openssl libssl-dev curl m4 RUN mkdir -p /opt/erlang/ && \ curl -O https://raw.github.com/spawngrid/kerl/master/kerl && chmod a+x kerl && \ mv kerl /opt/erlang/ && \ ln -s /...
18,244
https://github.com/quchie/pos-ads/blob/master/server/fakeClientsDB.js
Github Open Source
Open Source
MIT
2,016
pos-ads
quchie
JavaScript
Code
90
349
const fakeClientsDB = [ { name:'default', pricingRules: [ ] }, { name:'Unilever', pricingRules: [ { type: 'Reduction_Deal', buyingBase: 3, reductionBase: 2, plan:'classic' } ] }, { name:'Apple', pricingRules: [ { type: 'Standard_Reduced...
31,820
https://github.com/ppanero/invenio-rdm-records/blob/master/tests/fixtures/test_fixtures.py
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, MIT
2,022
invenio-rdm-records
ppanero
Python
Code
497
2,069
# -*- coding: utf-8 -*- # # Copyright (C) 2021 CERN. # Copyright (C) 2021 Northwestern University. # # Invenio-RDM-Records is free software; you can redistribute it and/or modify # it under the terms of the MIT License; see LICENSE file for more details. from contextlib import contextmanager from pathlib import Path i...
39,335
https://github.com/danielpop/hmi/blob/master/labs/data.gov.ro/script.js
Github Open Source
Open Source
Apache-2.0
null
hmi
danielpop
JavaScript
Code
21
108
angular.module('data_gov_test', []); function DataCtrl($scope, $http) { $http.jsonp("http://data.gov.ro/api/3/action/package_list?callback=JSON_CALLBACK"). success(function(data) { $scope.result = data.result; }). error(function(data) { $scope.data = "Request failed"; }); }
48,340
https://github.com/vileopratama/portal-toyotadjakarta/blob/master/addons/toyotadjakarta/toyotadjakarta/slideshows-module/src/Banner/BannerCriteria.php
Github Open Source
Open Source
MIT
null
portal-toyotadjakarta
vileopratama
PHP
Code
11
54
<?php namespace Toyotadjakarta\SlideshowsModule\Banner; use Anomaly\Streams\Platform\Entry\EntryCriteria; class BannerCriteria extends EntryCriteria { }
41,180
https://github.com/kratosvn/headfirst-oop/blob/master/app/Http/Controllers/CloneController.php
Github Open Source
Open Source
MIT
2,018
headfirst-oop
kratosvn
PHP
Code
101
331
<?php /** * Created by PhpStorm. * User: Kratos * Date: 1/24/2018 * Time: 11:33 PM */ namespace App\Http\Controllers; require_once '../app/Service/SimpleHtmlDom.php'; use App\Model\ViecBonusUser; class CloneController { public function index() { for ($i = 1; $i < 1928; $i++) { $html ...
19,175
https://github.com/Inno-web/inno-website/blob/master/gatsby-node.js
Github Open Source
Open Source
MIT
null
inno-website
Inno-web
JavaScript
Code
143
451
/** * Implement Gatsby's Node APIs in this file. * * See: https://www.gatsbyjs.org/docs/node-apis/ */ // You can delete this file if you're not using it exports.createPages = async function({ actions, graphql }) { const { data } = await graphql(` query MyQuery { allContentfulCase { edges { ...
15,510
https://github.com/legendaryteamdev/Let-Travel-Web/blob/master/website/routes/Api/V1/Client/report.php
Github Open Source
Open Source
MIT
2,019
Let-Travel-Web
legendaryteamdev
PHP
Code
58
327
<?php $controller = 'Report\Controller@'; $api->get('/draft', ['uses' => $controller.'draft']); $api->get('/', ['uses' => $controller.'list']); $api->get('/{id}', ['uses' => $controller.'view']); $api->post('/', ['uses' => $controller.'create']); $api->put('/{id}', ['...
4,477
https://github.com/jasonscomely/wheatbin/blob/master/tests/units/Model/ActionTest.php
Github Open Source
Open Source
MIT
2,017
wheatbin
jasonscomely
PHP
Code
953
4,446
<?php require_once __DIR__.'/../Base.php'; use Kanboard\Model\Action; use Kanboard\Model\Project; use Kanboard\Model\Board; use Kanboard\Model\Task; use Kanboard\Model\TaskPosition; use Kanboard\Model\TaskCreation; use Kanboard\Model\TaskFinder; use Kanboard\Model\Category; use Kanboard\Model\User; use Kanboard\Model...
38,760
https://github.com/digiapulssi/zabbix-iib-monitoring/blob/master/etc/zabbix/scripts/iib.node.status.sh
Github Open Source
Open Source
MIT
2,018
zabbix-iib-monitoring
digiapulssi
Shell
Code
11
56
#!/bin/bash # cat /tmp/zabbix-iib-monitor.json | jq -S --arg TOPIC "$1" '.[$TOPIC].Broker.children[].StatusChange.attributes.new'
27,969
https://github.com/overpartylab/cocktails-guide/blob/master/app/src/config/common.js
Github Open Source
Open Source
MIT
2,020
cocktails-guide
overpartylab
JavaScript
Code
100
456
import React from 'react'; import SearchTwoToneIcon from '@material-ui/icons/SearchTwoTone'; import LocalBarTwoToneIcon from '@material-ui/icons/LocalBarTwoTone'; import ContactMailTwoToneIcon from '@material-ui/icons/ContactMailTwoTone'; export const COMMON = { API_PREFIX: 'https://', API_SERVICE_HOST: 'raw.g...
2,787
https://github.com/samiranrahaman/PNL/blob/master/PNLLATEST/application/views/strip_directepayment_view.php
Github Open Source
Open Source
MIT, LicenseRef-scancode-unknown-license-reference
2,017
PNL
samiranrahaman
PHP
Code
1,921
9,063
<?php $conn = mysqli_connect("localhost","root","Jafar786#","revenue"); // Check connection if (mysqli_connect_errno()) { echo "Failed to connect to MySQL: " . mysqli_connect_error(); } ?> <?php /** * Stripe - Payment Gateway integration example * ==========================================================...
3,827
https://github.com/DyvakYA/Patterns/blob/master/src/gang_of_four/_1_creational/_2_abstract_factory/sample2/Mouse.java
Github Open Source
Open Source
MIT
null
Patterns
DyvakYA
Java
Code
13
40
package creational.abstractFactory.sample2; interface Mouse { void click(); void dbclick(); void scroll(int direction); }
36,730
https://github.com/poppetdev/MyCards/blob/master/app/src/main/java/com/group13/androidsdk/mycards/NotificationRule.java
Github Open Source
Open Source
Apache-2.0
2,017
MyCards
poppetdev
Java
Code
364
753
/* * Copyright (c) 2017 Michael D'Arcy and Brianne O'Niel. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
51,254
https://github.com/lufenghuan/YCSB/blob/master/RiakClient-old.java
Github Open Source
Open Source
Apache-2.0
2,014
YCSB
lufenghuan
Java
Code
453
1,460
package com.yahoo.ycsb.db; import java.util.HashMap; import java.util.Map; import java.util.Map.Entry; import java.util.Properties; import java.util.Set; import java.util.Vector; import java.lang.StringBuffer; import org.apache.log4j.Level; import org.apache.log4j.Logger; import org.apache.log4j.BasicConfigurator; i...
35,671
https://github.com/RobotLocomotion/drake/blob/master/solvers/scs_solver_common.cc
Github Open Source
Open Source
BSD-3-Clause
2,023
drake
RobotLocomotion
C++
Code
152
573
/* clang-format off to disable clang-format-includes */ #include "drake/solvers/scs_solver.h" /* clang-format on */ #include "drake/common/never_destroyed.h" #include "drake/solvers/aggregate_costs_constraints.h" #include "drake/solvers/mathematical_program.h" namespace drake { namespace solvers { ScsSolver::ScsSolv...
49,235
https://github.com/sinbadflyce/riot-android/blob/master/vector/src/main/java/vmodev/clearkeep/viewmodelobjects/MessageSearchText.kt
Github Open Source
Open Source
Apache-2.0
2,021
riot-android
sinbadflyce
Kotlin
Code
20
49
package vmodev.clearkeep.viewmodelobjects data class MessageSearchText(val roomId: String, val name: String?, val avatarUrl: String?, val content: String, val updatedDate : Long)
15,638
https://github.com/lakshmansha/Lazh-Libs/blob/master/projects/lazh-validator/src/public-api.ts
Github Open Source
Open Source
MIT
2,021
Lazh-Libs
lakshmansha
TypeScript
Code
36
116
/** * @module * @description * Entry point for all public APIs of this package. */ export * from './lib/lazh-validator.module'; export * from './lib/services/lazh-validator.service'; export * from './lib/pipe/lazh-valid.pipe'; export * from './lib/pipe/lazh-invalid.pipe'; export * from './lib/pipe/lazh-isarray.p...
35,892
https://github.com/RingZEROtlf/Cpp-Primer/blob/master/Part-III/Ch13/13.3/13.30.cc
Github Open Source
Open Source
MIT
2,021
Cpp-Primer
RingZEROtlf
C++
Code
62
232
#include <string> class HasPtr { friend void swap(HasPtr&, HasPtr&); public: HasPtr(const std::string &s = std::string()) : ps(new std::string(s)), i(0) {} HasPtr(const HasPtr &has_ptr) : ps(new std::string(*has_ptr.ps)), i(has_ptr.i) {} HasPtr& operator=(HasPtr rhs) { ...
23,861
https://github.com/gravitee-io/gravitee-repository/blob/master/src/main/java/io/gravitee/repository/analytics/query/BetweenDateRange.java
Github Open Source
Open Source
Apache-2.0
2,021
gravitee-repository
gravitee-io
Java
Code
162
318
/** * Copyright (C) 2015 The Gravitee team (http://gravitee.io) * * 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 requ...
20,325
https://github.com/GarnerCorp/akka/blob/master/akka-stream/src/main/scala/akka/stream/impl/LazySource.scala
Github Open Source
Open Source
Apache-2.0, LicenseRef-scancode-protobuf
2,022
akka
GarnerCorp
Scala
Code
223
762
/* * Copyright (C) 2015-2020 Lightbend Inc. <https://www.lightbend.com> */ package akka.stream.impl import akka.annotation.InternalApi import akka.stream._ import akka.stream.impl.Stages.DefaultAttributes import akka.stream.scaladsl.{ Keep, Source } import akka.stream.stage._ import scala.concurrent.{ Future, Prom...
3,851
https://github.com/tom-2273/Tronxy_SKR_mini_E3_V20/blob/master/Marlin/src/feature/bltouch.cpp
Github Open Source
Open Source
CC0-1.0
null
Tronxy_SKR_mini_E3_V20
tom-2273
C++
Code
1,069
2,513
/** * Marlin 3D Printer Firmware * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] * * Based on Sprinter and grbl. * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General...
27,209
https://github.com/isabella232/cloud-sdk-ios-fiori-ar/blob/master/Sources/FioriAR/ARCards/Views/Authoring/SceneAuthoringView.swift
Github Open Source
Open Source
Apache-2.0
2,021
cloud-sdk-ios-fiori-ar
isabella232
Swift
Code
852
2,904
// // SceneAuthoringView.swift // // // Created by O'Brien, Patrick on 9/13/21. // import Combine import SAPFoundation import SwiftUI /** Provides the flow for authoring an AR Annotation Scene. Used to create the content for the cards, select an anchor Image, and position the entities in their real world locations...
43,432
https://github.com/Kecon/JSocksProxy/blob/master/src/test/java/nu/najt/kecon/jsocksproxy/socks5/StatusTest.java
Github Open Source
Open Source
Apache-2.0
2,021
JSocksProxy
Kecon
Java
Code
133
426
/** * JSocksProxy Copyright (c) 2006-2017 Kenny Colliander Nordin * * 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 re...
36,941
https://github.com/jasin/mcMMO/blob/master/src/main/java/jasin/mcmmo/datatypes/interactions/NotificationType.java
Github Open Source
Open Source
Apache-2.0
2,019
mcMMO
jasin
Java
Code
26
95
package jasin.mcmmo.datatypes.interactions; public enum NotificationType { ABILITY_COOLDOWN("AbilityCooldown"); final String niceName; NotificationType(String niceName) { this.niceName = niceName; } @Override public String toString() { return niceName; } }
52,120
https://github.com/Arieumarella/omah-lalawuh-ci3/blob/master/application/controllers/Pegination.php
Github Open Source
Open Source
MIT, LicenseRef-scancode-unknown-license-reference
2,020
omah-lalawuh-ci3
Arieumarella
PHP
Code
622
3,315
<?php class Pegination extends CI_Controller{ function __construct(){ parent::__construct(); //load libary pagination $this->load->library('pagination'); $this->load->model("back-end/M_admin"); $this->load->model("back-end/M_barang"); if($this->session->userdata('status...
43,714
https://github.com/suqingxiao/OpenSimLive/blob/master/Utilities/offline_IK_tool.cxx
Github Open Source
Open Source
Apache-2.0, Zlib, BSD-2-Clause
2,021
OpenSimLive
suqingxiao
C++
Code
1,513
4,405
#include <OpenSimLiveConfig.h> #include <OpenSim.h> #include <IMUPlacerLive.h> #include <IMUInverseKinematicsToolLive.h> #include <ThreadPoolContainer.h> #include <XMLFunctions.h> #include <future> #include <functional> #include <fstream> const std::string OPENSIMLIVE_ROOT = OPENSIMLIVE_ROOT_PATH; // Function that pa...
4,260
https://github.com/alloy/macvim/blob/master/src/MacVim/MMFileBrowser/MMFileBrowserFSItem.m
Github Open Source
Open Source
Vim
2,017
macvim
alloy
Objective-C
Code
1,463
4,250
#import "MMFileBrowserFSItem.h" #import "MMVimController.h" #include <fts.h> @class MMFileBrowserFSItemIconCache; @interface MMFileBrowserFSItem () { @public char *cpath; MMFileBrowserFSItem *parent; MMVimController *vim; BOOL includesHiddenFiles; BOOL ignoreNextReload; NSImage *icon; MMF...
39,572
https://github.com/cevio/es7-shim/blob/master/Array.prototype.includes.js
Github Open Source
Open Source
MIT
2,015
es7-shim
cevio
JavaScript
Code
3
12
module.exports = require('array-includes');
24,653
https://github.com/raypatterson/bic-gulp/blob/master/src/builder/tasks/_services/aws/s3/sync/config.js
Github Open Source
Open Source
MIT
2,015
bic-gulp
raypatterson
JavaScript
Code
24
79
'use strict'; var cfg = require('nconf').get(); module.exports = { cwd: cfg.dir.dest, src: [ cfg.patterns.all ], options: cfg.plugins.s3.options, force: cfg.forceDeploy === true || false };
36,705
https://github.com/minnend/dmswr/blob/master/src/org/minnen/dmswr/viz/ChartConfig.java
Github Open Source
Open Source
Apache-2.0
null
dmswr
minnend
Java
Code
1,327
3,984
package org.minnen.dmswr.viz; import java.io.File; import java.io.IOException; import java.util.ArrayList; import java.util.Collection; import java.util.List; import org.minnen.dmswr.utils.Sequence; public class ChartConfig { public static enum Type { Unknown, Line, Bar, Area, PosNegArea, Scatter, Bubble, Hori...
11,616
https://github.com/benforcapita/GreenInvoiceProject/blob/master/lib/dev/serve.vue
Github Open Source
Open Source
MIT
null
GreenInvoiceProject
benforcapita
Vue
Code
93
283
<script> import { defineComponent } from 'vue'; import Field from "../src/lib-components/Field.vue"; import Button from "../src/lib-components/Button.vue"; import Form from "../src/lib-components/Form.vue"; import Spinner from "../src/lib-components/Spinner.vue"; // Uncomment import and local "components" registrat...
14,433
https://github.com/qiuchili/ggnn_graph_classification/blob/master/program_data/JavaProgramData/56/1135.java
Github Open Source
Open Source
MIT
2,018
ggnn_graph_classification
qiuchili
Java
Code
70
214
package <missing>; public class GlobalMembers { public static void Main(String[] args) { String a = new String(new char[5]); String t = new String(new char[5]); int n; int i; String tempVar = ConsoleInput.scanfRead(); if (tempVar != null) { a = tempVar.charAt(0); } n = a.length(); for (i = 0;i...
922
https://github.com/JacobOre/WhoWas/blob/master/src/test/java/org/aaron1011/whowas/core/PlayerNameHistoryFetcherTest.java
Github Open Source
Open Source
MIT
2,016
WhoWas
JacobOre
Java
Code
103
612
package org.aaron1011.whowas.core; import com.google.common.base.Optional; import org.aaron1011.whowas.core.namehistory.PlayerNameHistory; import org.aaron1011.whowas.core.namehistory.PlayerNameHistoryFetcher; import org.aaron1011.whowas.core.namehistory.TimestampedName; import org.junit.Test; import org.junit.runner....
45,211
https://github.com/moooofly/hunter-agent/blob/master/daemon/reload.go
Github Open Source
Open Source
MIT
2,018
hunter-agent
moooofly
Go
Code
162
554
package daemon // import "github.com/moooofly/hunter-agent/daemon" import ( "encoding/json" "github.com/moooofly/hunter-agent/daemon/config" "github.com/sirupsen/logrus" ) // Reload reads configuration changes and modifies the // daemon according to those changes. // These are the settings that Reload changes: //...
47,503
https://github.com/someshwar-badade/profile-management/blob/master/app/Models/UserRoleModel.php
Github Open Source
Open Source
MIT
null
profile-management
someshwar-badade
PHP
Code
110
438
<?php namespace App\Models; use CodeIgniter\Model; use App\Models\RoleCapabilityModel; class UserRoleModel extends Model { protected $table = 'user_role'; protected $primaryKey = 'id'; protected $allowedFields = ['id', 'user_id', 'role_id']; protected $useTimestamps = true; protected $crea...
11,736
https://github.com/josephluck/urban-jungle/blob/master/app/components/todo-overview.tsx
Github Open Source
Open Source
BSD-3-Clause
2,021
urban-jungle
josephluck
TypeScript
Code
134
452
import { PlantModel } from "@urban-jungle/shared/models/plant"; import { TodoModel } from "@urban-jungle/shared/models/todo"; import * as O from "fp-ts/lib/Option"; import { pipe } from "fp-ts/lib/pipeable"; import React from "react"; import styled from "styled-components/native"; import { getPlantName } from "../featu...
15,212
https://github.com/PitPietro/c-project/blob/master/expressions/overflow/main.c
Github Open Source
Open Source
MIT
null
c-project
PitPietro
C
Code
26
80
#include <stdio.h> #include "unsigned.h" #include "signed.h" int main() { unsignedCharOverflow(); signedCharOverflow(); return 0; } // cd expressions/overflow // gcc -o main main.c unsigned.c signed.c && ./main
46,069
https://github.com/domn1995/Onos.Net/blob/master/Utils/Misc/Src/Main/Onos.Net.Utils.Misc.OnLab/Graph/DefaultEdgeWeigher.cs
Github Open Source
Open Source
Apache-2.0
null
Onos.Net
domn1995
C#
Code
122
304
namespace Onos.Net.Utils.Misc.OnLab.Graph { public class DefaultEdgeWeigher<V, E> : IEdgeWeigher<V, E> where V : IVertex where E : IEdge<V> { /// <summary> /// Common weight value for any link. /// </summary> protected const double HopWeightValue = 1; /// <summary> ...
31,807
https://github.com/david8203/git-search/blob/master/src/app/github/github.component.ts
Github Open Source
Open Source
MIT, Unlicense
null
git-search
david8203
TypeScript
Code
55
225
import { Component, OnInit } from '@angular/core'; import { HttpServiceService } from '../service/http-service.service'; import {Users} from '../users' @Component({ selector: 'app-github', templateUrl: './github.component.html', styleUrls: ['./github.component.css'] }) export class GithubComponent implements OnI...
24,431
https://github.com/parsotamo/ember-bootstrap-modals-manager/blob/master/tests/dummy/app/components/modal-with-form.js
Github Open Source
Open Source
MIT
2,020
ember-bootstrap-modals-manager
parsotamo
JavaScript
Code
69
225
// BEGIN-SNIPPET components-modal-with-form.js import BaseModal from './ebmm-modals-container/base'; import { validator, buildValidations } from 'ember-cp-validations'; import EmberObject, { computed } from '@ember/object'; import { getOwner } from '@ember/application'; export default class ModalWithForm extends BaseM...
1,798
https://github.com/jllopis92/agrosuper-desktop/blob/master/tasks/build/build.js
Github Open Source
Open Source
MIT
null
agrosuper-desktop
jllopis92
JavaScript
Code
653
2,229
'use strict' const Q = require('q'); const gulp = require('gulp'); const watch = require('gulp-watch'); const batch = require('gulp-batch'); const jetpack = require('fs-jetpack'); const runSequence = require('run-sequence'); const package...
12,611
https://github.com/bryant1410/SoBitmap/blob/master/sobitmap/src/main/java/com/github/airk/tool/sobitmap/Util.java
Github Open Source
Open Source
Apache-2.0
2,017
SoBitmap
bryant1410
Java
Code
367
898
/* * Copyright 2015 Kevin Liu * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in ...
5,071
https://github.com/cubistcastle/infl-form/blob/master/sass/_ccc-basics.scss
Github Open Source
Open Source
MIT
2,013
infl-form
cubistcastle
SCSS
Code
424
1,848
// \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ // ## Reuseable Columbia Styles // * Can be imported to any project for access to standard Columbia styles (e.g. Fonts, Colors) // * Using "CCC-" for namespace on colors to avoid conlicts wth project specific variables....
17,926
https://github.com/FrancoisvanRensburg/ui-framework/blob/master/src/PageHeading.tsx
Github Open Source
Open Source
BSD-3-Clause
2,022
ui-framework
FrancoisvanRensburg
TypeScript
Code
71
216
import { IconProp } from "@fortawesome/fontawesome-svg-core"; import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; interface IPageHeading { children: any; id?: string; icon?: IconProp; center?: boolean; } function PageHeading(props: IPageHeading) { let { id, children, center, icon } = props; ...
42,058
https://github.com/l4503071/qiankun-test/blob/master/child/react17/src/index.js
Github Open Source
Open Source
MIT
null
qiankun-test
l4503071
JavaScript
Code
43
118
import { Menu } from "antd"; import { useState } from "react"; import "./index.css"; export default function App() { const [count, setCount] = useState(0); return ( <div className="container"> <h1>{count}</h1> <button onClick={() => { setCount(count + 1); }} > ...
33,856
https://github.com/optmega/Balapoint-Swift/blob/master/Jundera/Controller/Search/SearchViewController.swift
Github Open Source
Open Source
MIT
null
Balapoint-Swift
optmega
Swift
Code
289
978
// // SearchViewController.swift // Balapoint // // Created by Josh Naylor on 10/15/18. // Copyright © 2017 Josh Naylor. All rights reserved. // Search Bar - Will put this on the HomeViewController import UIKit class SearchViewController: UIViewController { var searchBar = UISearchBar() var users: [User...
22,882
https://github.com/nitishdola/gmch_pmjay/blob/master/resources/views/reports/pmjay/beneficiary_discharge_report.blade.php
Github Open Source
Open Source
MIT
2,019
gmch_pmjay
nitishdola
Blade
Code
116
527
@extends('layouts.default') @section('content') <div class="row"> <div class="col-lg-12"> <div class="col-lg-12"> <div class="widget-container fluid-height clearfix"> <div class="heading"> <i class="fa fa-table"></i>PMJAY Beneficiaries not discharge for more than 45 Days ...
16,387
https://github.com/fost14oct/tomee/blob/master/examples/alternate-descriptors/README_es.adoc
Github Open Source
Open Source
Apache-2.0
null
tomee
fost14oct
AsciiDoc
Code
610
2,284
index-group=Testing Techniques type=page status=published title=Descriptores alternos ~~~~~~ Véase [Descriptores alternos](../../../alternate-descriptors.html) la página para todos los detalles de como funciona esta característica. Para nuestro ejemplo usaremos el código estándar "moviefun" que tiene una entidad `Mo...
24,665
https://github.com/Karnalow/SoftUni/blob/master/Programming Fundamentals with C#/05. Lists/CarRace/Program.cs
Github Open Source
Open Source
MIT
null
SoftUni
Karnalow
C#
Code
120
358
using System; using System.Collections.Generic; using System.Linq; namespace CarRace { class Program { static void Main(string[] args) { List<int> timesToPass = Console.ReadLine() .Split() .Select...
311
https://github.com/NCAS-CMS/cfdm/blob/master/cfdm/coordinateconversion.py
Github Open Source
Open Source
MIT
2,022
cfdm
NCAS-CMS
Python
Code
128
216
from . import core, mixin class CoordinateConversion( mixin.ParametersDomainAncillaries, core.CoordinateConversion ): """A coordinate conversion component. Specifically, a coordinate conversion component of a coordinate reference construct of the CF data model. A coordinate conversion formula co...
38,997