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/ZUCCzwp/chucai/blob/master/wechat/modules/wechat/views/wechat-send/_form.php
Github Open Source
Open Source
BSD-3-Clause
null
chucai
ZUCCzwp
PHP
Code
169
758
<?php use yii\helpers\Html; use yii\widgets\ActiveForm; use wechat\modules\base\models\Lookup; /* @var $this yii\web\View */ /* @var $model wechat\modules\wechat\models\WechatSend */ /* @var $form yii\widgets\ActiveForm */ ?> <div class="wechat-send-form"> <?php $form = ActiveForm::begin(); ?> <?= $for...
28,461
https://github.com/kfrancis/dnsimple-dotnet/blob/master/src/dnsimple-dotnet/Data/Push.cs
Github Open Source
Open Source
MIT
2,020
dnsimple-dotnet
kfrancis
C#
Code
73
215
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Text; namespace dnsimple_dotnet.Data { public class Push { [JsonProperty("created_at")] public string CreatedAt { get; set; } [JsonProperty("account_id")] public long AccountId { get; set; } ...
23,188
https://github.com/Arean82/Redmine-Time-Log/blob/master/Redmine/frmSettings.vb
Github Open Source
Open Source
MIT
2,017
Redmine-Time-Log
Arean82
Visual Basic
Code
111
314
Public Class frmSettings Private _close As Boolean = False Sub New() ' This call is required by the Windows Form Designer. InitializeComponent() ' Add any initialization after the InitializeComponent() call. txtRedmineURL.Text = My.Settings.RedmineURL txtApiKey.Text ...
8,745
https://github.com/fakeboboliu/goImgClip/blob/master/main.go
Github Open Source
Open Source
MIT
2,020
goImgClip
fakeboboliu
Go
Code
94
475
package main import ( "fmt" "github.com/popu125/goImgClip/log" "github.com/popu125/goImgClip/manager" "github.com/popu125/goImgClip/notify" T "github.com/popu125/goImgClip/targets" "github.com/popu125/goImgClip/tray" "os" "github.com/getlantern/systray" "github.com/rs/zerolog" ) func main() { // Set a func...
26,134
https://github.com/rhobooru/rhobboru-vue/blob/master/components/SubNavLinks.vue
Github Open Source
Open Source
MIT
null
rhobboru-vue
rhobooru
Vue
Code
96
407
<template> <v-toolbar-items v-show="childNavItems" > <template v-for="item in childNavItems" > <transition :key="item.title" name="slide-y-transition" mode="out-in" > <template> <v-btn v-if="item.title !== '__divider__'" ...
6,151
https://github.com/dbescond/iloData/blob/master/inst/doc/do/REP_ILO.MICRO_get_variable.r
Github Open Source
Open Source
MIT
null
iloData
dbescond
R
Code
185
926
init_time <- Sys.time() Sys.time() # require(plyr) require(stringr) require(tidyverse) require(iloMicro) # Micro_file_ready() setwd('J:/COMMON/STATISTICS/DPAU/DATA/REP_ILO/MICRO/input/TEST_DTA') ref <- list.files() %>% as_data_frame %>% filter(stringr:::str_detect(value, 'EULFS') )%>% t %>% as.character # test...
10,927
https://github.com/47lining/image-pipeline-demo/blob/master/sqs_worker/test/test_imageProc.js
Github Open Source
Open Source
Apache-2.0
null
image-pipeline-demo
47lining
JavaScript
Code
41
142
var AWS = require('aws-sdk'), util = require('util'), imageProc = require("../imageProc"); var printResults = function (err, resp) { console.log('----------------------------------------------------------------------'); if(err) { console.log('Error running scan', err); } console.log('----------------...
14,968
https://github.com/peter-mount/opendata-common/blob/master/core/src/main/java/uk/trainwatch/util/TriConsumer.java
Github Open Source
Open Source
Apache-2.0
2,017
opendata-common
peter-mount
Java
Code
80
141
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package uk.trainwatch.util; /** * A consumer that accepts three parameters * <p> * @author peter * @param <A> First parameter * @...
24,859
https://github.com/IMRZ/tw-db/blob/master/dist/generated/threekingdoms/collections/StartPosDiplomacyComplexDealParticipants.d.ts
Github Open Source
Open Source
MIT
2,021
tw-db
IMRZ
TypeScript
Code
75
247
import { CollectionCache, CollectionKey } from "../../../common"; import { StartPosDiplomacyComplexDealParticipantSets } from "./StartPosDiplomacyComplexDealParticipantSets"; import { CampaignDiplomacyNegotiationRoles } from "./CampaignDiplomacyNegotiationRoles"; import { StartPosFactions } from "./StartPosFactions"; e...
7,209
https://github.com/peopleware/node-ppwcode-gitInfo/blob/master/bin/gitinfo.js
Github Open Source
Open Source
Apache-2.0
null
node-ppwcode-gitInfo
peopleware
JavaScript
Code
428
1,063
#!/usr/bin/env node /** * Copyright 2017 PeopleWare n.v. * * 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...
13,525
https://github.com/PatrickRWright/ATC_translation/blob/master/R/translate_ATC_codes.R
Github Open Source
Open Source
MIT
2,020
ATC_translation
PatrickRWright
R
Code
525
1,626
### dependencies library(stringr) library(jsonlite) ## A function to return text translations of a given vector of ATC codes ## based on the NCBO BioPortal ### Output: ## # Returns a data.frame with the valid input ATC codes in the first column (code) # and the textual names in the second column (name) ### Note: ## ...
49,497
https://github.com/hrnasif/rvb/blob/master/experiments/data analysis/epilepsy.R
Github Open Source
Open Source
MIT
2,021
rvb
hrnasif
R
Code
735
2,037
library(rvb) library(INLA) library(rstan) library(tidyverse) ################################################################################ ### Data preparation model <- "poisson" epil <- MASS::epil # See Section 8.2 of Tan (2021) for descriptions sz <- epil$y trt <- as.numeric(epil$trt) - 1 lb4 <- log(epil$base/...
5,024
https://github.com/tom-hanks/vue-/blob/master/src/components/y4.vue
Github Open Source
Open Source
MIT
null
vue-
tom-hanks
Vue
Code
225
1,110
<template> <div id="yemian2"> 页面2 <div class="container"> <h1></h1> <input type="text" v-model="newItem" v-on:keyup.enter="addNew"/> <button v-on:click="addNew">Add</button> <ul> <li v-for="(item, index) in arr2"> <span>{{index+"、"}}</span> <sp...
29,903
https://github.com/suwenhao/ttaway/blob/master/admin-client/src/pages/demo/Redux.tsx
Github Open Source
Open Source
MIT
2,022
ttaway
suwenhao
TypeScript
Code
213
630
import React, { Component } from 'react'; import { connect } from 'react-redux' import { bindActionCreators } from 'redux' import * as types from '../../reduxs/actions/demoAction' import { Button, Table, Divider } from 'antd' import { ActionModel } from '../../types'; interface IADD{ num: number; } export interface ...
18,865
https://github.com/cetusopensource/Cetus/blob/master/src/ompd/analysis/BarrierGraph.java
Github Open Source
Open Source
Artistic-1.0, ANTLR-PD
null
Cetus
cetusopensource
Java
Code
2,882
8,571
package ompd.analysis; import cetus.analysis.DFAGraph; import cetus.analysis.DFANode; import cetus.analysis.Section; import cetus.exec.Driver; import cetus.hir.*; import ompd.hir.OMPDTools; import ompd.hir.OmpdAnnotation; import ompd.transforms.BoundRecord; import javax.tools.Tool; import java.util.*; import static ...
7,853
https://github.com/WirelessIoTSolutions/NB-IoT-Demo-Kit/blob/master/tuino96git/tuino96clientNBIoT/TuinoBG96ClientWithSensors/Ultrasonic.cpp
Github Open Source
Open Source
MIT
2,020
NB-IoT-Demo-Kit
WirelessIoTSolutions
C++
Code
209
673
/** * @file Ultrasonic.cpp * @description Functions to drive the Seed Ultrasonic Ranger * @author FrankieChu * @reworker htemizel * Find out more about WIOTS: * Company: https://wireless-iot-solutions.com/wp/ */ #include <stdio.h> #include <string.h> #include <inttypes.h> #include "Arduino.h" #include "Ultrasoni...
11,811
https://github.com/vered1986/lexcomp/blob/master/preprocessing/annotation/an_classification/qualification/create_qualification_test.py
Github Open Source
Open Source
Apache-2.0
2,019
lexcomp
vered1986
Python
Code
52
282
import boto3 def main(): questions = open('questions.xml').read() answers = open('answer_key.xml').read() mturk = boto3.client('mturk', endpoint_url='https://mturk-requester.us-east-1.amazonaws.com/', # endpoint_url='https://mturk-requester-sandbox.us-eas...
16,599
https://github.com/knick-knack/knick-knack/blob/master/test/lib/templatesTest.js
Github Open Source
Open Source
MIT
null
knick-knack
knick-knack
JavaScript
Code
382
1,209
'use strict'; var codebase = '../../lib/', testbase = __dirname + '/../testdata/template/', expect = require('chai').expect, fs = require('fs'), sut = require(codebase + 'template'), sinon = require('sinon'); describe('template', function() { describ...
13,554
https://github.com/jeffkirker/CalgaryHacks2020-Project/blob/master/django_backend/EventManager/urls.py
Github Open Source
Open Source
MIT
2,020
CalgaryHacks2020-Project
jeffkirker
Python
Code
19
64
from django.urls import path from . import views, api urlpatterns = [ path("getEvents", views.getEvents), path("addEvent", views.addEvent), path("getEventbrite", api.getEventbrite) ]
2,678
https://github.com/ScalablyTyped/ScalajsReactTyped/blob/master/i/instagram-private-api/src/main/scala/typingsJapgolly/instagramPrivateApi/mediaUpdatedMediaResponseMod/MediaUpdatedMediaResponseImageVersions2.scala
Github Open Source
Open Source
MIT
2,022
ScalajsReactTyped
ScalablyTyped
Scala
Code
36
188
package typingsJapgolly.instagramPrivateApi.mediaUpdatedMediaResponseMod import scala.scalajs.js import scala.scalajs.js.`|` import scala.scalajs.js.annotation._ trait MediaUpdatedMediaResponseImageVersions2 extends js.Object { var candidates: js.Array[MediaUpdatedMediaResponseCandidatesItem] } object MediaUpdated...
9,519
https://github.com/cahamilton/music-mashup/blob/master/assets/scripts/actions/videos/__tests__/videos.actions.test.ts
Github Open Source
Open Source
MIT
2,016
music-mashup
cahamilton
TypeScript
Code
419
1,428
/** @format */ import axios from 'axios'; import { VIDEOS_PENDING, VIDEOS_UPDATE, videosPending, videosSearch, videosUpdate, } from '../videos.actions'; import type { StateInfo } from '../../../reducers/info/info.reducers'; import type { StateVideosResults } from '../../../reducers/videos/videos.results.redu...
46,305
https://github.com/aslaNhuanG/wux-weapp/blob/master/src/multi-picker-view/index.js
Github Open Source
Open Source
MIT
2,022
wux-weapp
aslaNhuanG
JavaScript
Code
265
881
import baseComponent from '../helpers/baseComponent' import classNames from '../helpers/classNames' import shallowEqual from '../helpers/shallowEqual' import { defaultFieldNames, props } from './props' import { getRealCols, getRealValues, getIndexesFromValues, getLabelsFromIndexes, } from './utils' bas...
23,238
https://github.com/zSaaiq/FTumblrAds/blob/master/Headers/YVideoPlaylistMetadata.h
Github Open Source
Open Source
MIT
2,020
FTumblrAds
zSaaiq
Objective-C
Code
158
776
// // Generated by class-dump 3.5 (64 bit) (Debug version compiled Aug 29 2020 16:17:50). // // Copyright (C) 1997-2019 Steve Nygard. // #import <objc/NSObject.h> @class NSString, VDMSUrlRequest, YVAnalytics, YVideoMetadata, YVideoMetadataRequest; @interface YVideoPlaylistMetadata : NSObject { _Bool _cancel...
5,283
https://github.com/aamduka/ozone/blob/master/docs/src/release_notes/content/index.asciidoc
Github Open Source
Open Source
Apache-2.0
2,020
ozone
aamduka
AsciiDoc
Code
49
241
= Ozone Release Notes // Metadata: :doctype: book :author: DOD GOSS :revnumber: 8.0.0.1-RC1 :revdate: 2020-3-29 // Settings: :reproducible: :experimental: :toc: left :toclevels: 1 :chapter-label: :xrefstyle: full :icons: font :icon-set: fas :imagesdir: images/ == Publication & Revision History include::revision_hist...
23,737
https://github.com/ShellAlbert/3-axies-robot-arm/blob/master/Etherlab_EtherCAT_Master/tool/CommandRegWrite.cpp
Github Open Source
Open Source
Apache-2.0
2,021
3-axies-robot-arm
ShellAlbert
C++
Code
781
1,849
/***************************************************************************** * * $Id$ * * Copyright (C) 2006-2012 Florian Pose, Ingenieurgemeinschaft IgH * * This file is part of the IgH EtherCAT Master. * * The IgH EtherCAT Master is free software; you can redistribute it and/or * modify it under the ...
1,402
https://github.com/toolisticon/SPI-Annotation-Processor/blob/master/example/service/src/main/java/io/toolisticon/example/spiapexample/service/ModuloDecimalOperationImpl.java
Github Open Source
Open Source
MIT
2,022
SPI-Annotation-Processor
toolisticon
Java
Code
42
168
package io.toolisticon.example.spiapexample.service; import io.toolisticon.example.spiapexample.api.DecimalCalculationOperation; import io.toolisticon.spiap.api.OutOfService; import io.toolisticon.spiap.api.SpiService; /** * Example for deactivating a service implementation via {@link OutOfService}. */ @SpiService(...
47,566
https://github.com/RADAR-base/RADAR-Appserver/blob/master/src/main/java/org/radarbase/appserver/service/DataMessageStateEventService.java
Github Open Source
Open Source
Apache-2.0
2,022
RADAR-Appserver
RADAR-base
Java
Code
452
1,653
/* * * * * * * Copyright 2018 King's College London * * * * * * 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/LICENS...
14,622
https://github.com/melquelima/WEB/blob/master/C_SHARP_PROJECTS/padrao/padrao/Controllers/ArtistaController.cs
Github Open Source
Open Source
MIT
null
WEB
melquelima
C#
Code
334
1,106
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Web.Http; using System.Web.Http.Cors; using Entidade; using padrao.Interface; using padrao.Models; using padrao.Negocio; namespace padrao.Controllers { [EnableCors(origins: "*", headers: "*", m...
25,025
https://github.com/Zofware/UI-For-UWP/blob/master/Controls/Chart/Chart.UWP/Engine/Series/OhlcSeriesRoundLayoutContext.cs
Github Open Source
Open Source
Apache-2.0
2,022
UI-For-UWP
Zofware
C#
Code
239
1,069
using Telerik.Core; namespace Telerik.Charting { internal static class OhlcSeriesRoundLayoutContext { public static void SnapPointToGrid(OhlcDataPoint point) { if (point.numericalPlot == null) { return; } SnapToHighGridLine(point)...
40,402
https://github.com/bobrovova/backend/blob/master/src/routines/updateProducersFast/index.js
Github Open Source
Open Source
MIT
2,021
backend
bobrovova
JavaScript
Code
184
541
/* eslint-disable camelcase,no-plusplus,max-len */ const differenceBy = require('lodash/differenceBy'); const { eosApi, createLogger } = require('../../helpers'); const { ProducerModelV2, UnregisteredModel } = require('../../db'); const SETTLED_PRODUCERS_COUNT = 200; const { info: logInfo, error: logError } = createL...
26,929
https://github.com/FineUploader/modern-uploader/blob/master/.gitignore
Github Open Source
Open Source
LicenseRef-scancode-free-unknown, MIT
2,016
modern-uploader
FineUploader
Ignore List
Code
6
21
.eslintcache .idea _docs dist lib node_modules
25,273
https://github.com/moises-dias/hunter-adventures/blob/master/arquivos .h e .cpp/Golem.cpp
Github Open Source
Open Source
MIT
2,022
hunter-adventures
moises-dias
C++
Code
613
4,433
#include "Golem.h" #include "Ataque_Generico.h" #include "Lista_Entidades.h" Golem::Golem() { } Golem::Golem(int ix,int iy) { /**PARAMETROS DO INIMMIGO**/ vidaBase = 9800; vidaRand = 980; danoBase = 1000; danoRand = 100; danoGolpe = 2000; danoGolpeRand = 200; score = 400; /**PARAME...
2,857
https://github.com/wewlr17/Csc-infra/blob/master/csc/resources/views/dashboard/client.blade.php
Github Open Source
Open Source
MIT
null
Csc-infra
wewlr17
PHP
Code
109
413
@extends('layouts.dashboard') @section('content') <div style="margin-top: 100px" class="container"> <div class="row justify-content-center"> <div class="col-md-8"> <div class="card"> <div class="card-header" style="text-transform : uppercase; text-align:center">Profil de {{ $us...
7,752
https://github.com/stratumn/groundcontrol/blob/master/model/system.go
Github Open Source
Open Source
ECL-2.0, Apache-2.0
2,020
groundcontrol
stratumn
Go
Code
247
501
// Copyright 2019 Stratumn // // 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 wri...
45,703
https://github.com/arturspon/zombie-killer/blob/master/export/windows/obj/src/flixel/system/FlxBGSprite.cpp
Github Open Source
Open Source
MIT
null
zombie-killer
arturspon
C++
Code
414
2,583
// Generated by Haxe 4.0.0-rc.2+77068e10c #include <hxcpp.h> #ifndef INCLUDED_flixel_FlxBasic #include <flixel/FlxBasic.h> #endif #ifndef INCLUDED_flixel_FlxCamera #include <flixel/FlxCamera.h> #endif #ifndef INCLUDED_flixel_FlxG #include <flixel/FlxG.h> #endif #ifndef INCLUDED_flixel_FlxObject #include <flixel/FlxObj...
42,282
https://github.com/dotse/p5-Crypt-PKCS11/blob/master/pkcs11_struct_ecdh1.xs
Github Open Source
Open Source
BSD-2-Clause
2,015
p5-Crypt-PKCS11
dotse
XS
Code
408
1,638
/* * Copyright (c) 2015-2016 Jerry Lundström <lundstrom.jerry@gmail.com> * Copyright (c) 2016 make install AB * Copyright (c) 2015 .SE (The Internet Infrastructure Foundation) * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that...
8,097
https://github.com/Victorov-I-A/bbfgradle/blob/master/src/main/kotlin/com/stepanov/bbf/bugfinder/mutator/transformations/tce/UsagesSamplesGenerator.kt
Github Open Source
Open Source
Apache-2.0
null
bbfgradle
Victorov-I-A
Kotlin
Code
671
2,727
package com.stepanov.bbf.bugfinder.mutator.transformations.tce import com.intellij.psi.PsiElement import com.intellij.psi.PsiFile import com.stepanov.bbf.bugfinder.executor.project.Project import com.stepanov.bbf.bugfinder.generator.targetsgenerators.RandomInstancesGenerator import com.stepanov.bbf.bugfinder.mutator.t...
25,245
https://github.com/Azure/azure-sdk-for-java/blob/master/sdk/textanalytics/azure-ai-textanalytics/src/samples/java/com/azure/ai/textanalytics/RotateAzureKeyCredential.java
Github Open Source
Open Source
LicenseRef-scancode-generic-cla, MIT, LicenseRef-scancode-warranty-disclaimer, LicenseRef-scancode-unknown-license-reference, LGPL-2.1-or-later, CC0-1.0, BSD-3-Clause, UPL-1.0, Apache-2.0, LicenseRef-scancode-public-domain, BSD-2-Clause
2,023
azure-sdk-for-java
Azure
Java
Code
136
369
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. package com.azure.ai.textanalytics; import com.azure.core.credential.AzureKeyCredential; import com.azure.core.exception.HttpResponseException; /** * Sample demonstrates how to rotate the existing API key of text analyti...
31,720
https://github.com/wangabeng/project-runjie/blob/master/src/api/getservice.js
Github Open Source
Open Source
MIT
null
project-runjie
wangabeng
JavaScript
Code
32
101
import {getData, getCount} from 'common/js/getdata.js'; import {URLSEARCH, URLCOUNT, SERVICE} from 'src/api/config.js'; export function getService (curPage, pageCapacity) { return getData(URLSEARCH, SERVICE, curPage, pageCapacity); } export function getServiceCount () { return getCount(URLCOUNT, SERVICE); }
3,832
https://github.com/joachifm/cl-webkit/blob/master/webkit2/jscore.jsc-class.lisp
Github Open Source
Open Source
MIT
2,023
cl-webkit
joachifm
Common Lisp
Code
226
859
;;; jscore.jsc-class.lisp --- bindings for JSCClass ;; This file is part of cl-webkit. ;; ;; cl-webkit is free software; you can redistribute it and/or modify ;; it under the terms of the MIT license. ;; See `COPYING' in the source distribution for details. ;;; Code: (in-package #:webkit2) (define-webkit-class "JSC...
46,791
https://github.com/fossabot/k8s-3tier-webapp/blob/master/application/web-java-openliberty/src/main/java/webapp/tier/resource/RedisResource.java
Github Open Source
Open Source
MIT
2,021
k8s-3tier-webapp
fossabot
Java
Code
105
455
package webapp.tier.resource; import javax.ws.rs.Consumes; import javax.ws.rs.GET; import javax.ws.rs.POST; import javax.ws.rs.Path; import javax.ws.rs.Produces; import javax.ws.rs.core.MediaType; import javax.ws.rs.core.Response; import webapp.tier.cache.RedisService; @Path("/redis") @Produces(MediaType.APPLICATION...
16,449
https://github.com/TheSledgeHammer/2.11BSD/blob/master/contrib/gnu/gdb/dist/gas/testsuite/gas/arm/mve-vstld.s
Github Open Source
Open Source
BSD-3-Clause
2,021
2.11BSD
TheSledgeHammer
GAS
Code
209
925
.syntax unified .thumb .macro all_vstld2 op .irp part, 0, 1 .irp size, .8, .16, .32 .irp op2, r0, r1, r2, r4, r7, r8, r10, r12, r13, r14 \op\()\part\()\size {q0, q1}, [\op2] \op\()\part\()\size {q1, q2}, [\op2] \op\()\part\()\size {q2, q3}, [\op2] \op\()\part\()\size {q3, q4}, [\op2] \op\()\part\()\size {q4, q5}, [\op...
30,241
https://github.com/feesmrt/cpp-template-project/blob/master/cmake/version.cmake
Github Open Source
Open Source
BSD-3-Clause
2,020
cpp-template-project
feesmrt
CMake
Code
517
1,409
# # CMake Versioning with GIT # # Author: Martin Bauernschmitt # This file checks if a release or a developmen version # is build and automatically extracts the version number # If no version number is set 0.0.0 is set as project version # and it is tagged as a development build # # If a version number (tag) is avail...
36,494
https://github.com/chulatelo/Ryujinx/blob/master/ARMeilleure/Decoders/OpCode32SimdSel.cs
Github Open Source
Open Source
MIT
2,022
Ryujinx
chulatelo
C#
Code
50
157
namespace ARMeilleure.Decoders { class OpCode32SimdSel : OpCode32SimdRegS { public OpCode32SimdSelMode Cc { get; private set; } public OpCode32SimdSel(InstDescriptor inst, ulong address, int opCode) : base(inst, address, opCode) { Cc = (OpCode32SimdSelMode)((opCode >> 20) &...
36,481
https://github.com/ossamaazzaz/bilucci_bot/blob/master/bilucci_bot.py
Github Open Source
Open Source
MIT
2,019
bilucci_bot
ossamaazzaz
Python
Code
399
1,623
import os import logging from random import choice from telegram.ext import ( Updater, CommandHandler, ) import datamuse # BOT_API_TOKEN BOT_API_TOKEN = os.environ.get("BOT_API_TOKEN", None) datamuse_api = datamuse.Datamuse() logging.basicConfig( format='[+] [%(asctime)s] %(message)s', level=loggi...
15,246
https://github.com/HudsonHuang/vae-npvc/blob/master/.gitignore
Github Open Source
Open Source
BSD-3-Clause
2,017
vae-npvc
HudsonHuang
Ignore List
Code
5
25
logdir test*.* __init__.py __pycache__ .vscode
15,980
https://github.com/gnormal/gnorm/blob/master/run/data/data_test.go
Github Open Source
Open Source
Apache-2.0
2,022
gnorm
gnormal
Go
Code
154
491
package data import ( "reflect" "testing" ) func TestStringsSprintf(t *testing.T) { s := Strings{"one", "two", "three"} s = s.Sprintf("%s 1") expected := Strings{"one 1", "two 1", "three 1"} for x := range expected { if s[x] != expected[x] { t.Fatalf("index %v of returned strings expected %q but got %q",...
9,892
https://github.com/SebastianG77/find-duplicated-property-keys/blob/master/src/propertykey.js
Github Open Source
Open Source
MIT
2,022
find-duplicated-property-keys
SebastianG77
JavaScript
Code
105
321
export const PropertyKey = (key, parent, isArray) => { const PropertyKey = { key: key, parent: parent, occurrence: 1, isArray: isArray, propertyPath: () => PropertyKey.parent == null ? [PropertyKey.key] : parent.propertyPath().concat([PropertyKey.key]), toString: () => PropertyKey.parent == nu...
22,835
https://github.com/mateanticevic/ProjectIvy.Web/blob/master/src/types/incomes.ts
Github Open Source
Open Source
MIT
null
ProjectIvy.Web
mateanticevic
TypeScript
Code
71
174
import { Currency } from './expenses'; import { PagingFilters } from './paging'; export interface Income { amount: number; currency: Currency; description: string; timestamp: string; type: IncomeType; } export interface IncomeBinding { amount: number; currencyId: string; date: string; ...
23,687
https://github.com/mohitsuman/keycloak-demo-angular/blob/master/src/main/webapp/js/directives/header.js
Github Open Source
Open Source
Apache-2.0
2,020
keycloak-demo-angular
mohitsuman
JavaScript
Code
17
73
'use strict'; angular.module('keycloak-angular').directive('header', function() { return { restrict: 'A', replace: true, templateUrl: 'views/header.html', controller: 'MainController' } });
50,941
https://github.com/andreidore/smartbill-java-client/blob/master/src/main/java/com/github/smartbillclient4j/SmartBillException.java
Github Open Source
Open Source
MIT
2,020
smartbill-java-client
andreidore
Java
Code
418
1,092
package com.github.smartbillclient4j; import java.util.Map; import net.dongliu.requests.RawResponse; /** * * Thrown when status code is not 2xx * * @author Andrei Dore * */ public class SmartBillException extends RuntimeException { /** * operation code. Sometimes SmartBill return an error code. */ priv...
7,365
https://github.com/ixrjog/opscloud4/blob/master/opscloud-leo/src/main/java/com/baiyi/opscloud/leo/domain/model/LeoBaseModel.java
Github Open Source
Open Source
Apache-2.0
2,023
opscloud4
ixrjog
Java
Code
332
1,024
package com.baiyi.opscloud.leo.domain.model; import com.baiyi.opscloud.domain.constants.DeployTypeConstants; import io.swagger.v3.oas.annotations.media.Schema; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; import lombok.NoArgsConstructor; /** * @Author baiyi * @Date 2022/11/4 16:48 *...
42,247
https://github.com/linkorb/loader/blob/master/src/Interpolator.php
Github Open Source
Open Source
MIT
null
loader
linkorb
PHP
Code
242
762
<?php namespace Loader; use Symfony\Component\ExpressionLanguage\ExpressionLanguage; class Interpolator { protected $expressionLanguage; protected $flags; public function __construct(int $flags, $expressionLanguage) { $this->flags = $flags; $this->expressionLanguage = $expressionLang...
45,190
https://github.com/qussarah/declare/blob/master/idea/testData/copyPaste/imports/DependencyOnJava.expected.kt
Github Open Source
Open Source
Apache-2.0
2,022
declare
qussarah
Kotlin
Code
13
53
package to import java.JavaClass fun f(c: JavaClass) { JavaClass.staticMethod() c.method() c.InnerClass() JavaClass.NestedClass() }
40,112
https://github.com/HomeBusProjects/homebus-camera-esp32cam/blob/master/homebus-camera-esp32cam.rb
Github Open Source
Open Source
MIT
2,020
homebus-camera-esp32cam
HomeBusProjects
Ruby
Code
14
62
#!/usr/bin/env ruby require './options' require './app' camera_app_options = ESP32CamHomeBusAppOptions.new camera = ESP32CamHomeBusApp.new camera_app_options.options camera.run!
20,856
https://github.com/DenislavVelichkov/JS-Core-January-2020/blob/master/JS-Advanced/9-Advanced-Functions/Lab/02-Currency-Format.js
Github Open Source
Open Source
MIT
null
JS-Core-January-2020
DenislavVelichkov
JavaScript
Code
74
208
function reduceFuncParams(currencyFormatter) { let separator = ","; let symbol = "$"; let firstSymbol = true; let formatter = value => currencyFormatter(separator, symbol, firstSymbol, value); return formatter; } function currencyFormatter(separator, symbol, firstSymbol, value) { let resu...
22,814
https://github.com/MayAbdeldayem/LIWI/blob/master/crossvalidation/t.py
Github Open Source
Open Source
MIT
2,019
LIWI
MayAbdeldayem
Python
Code
299
1,020
#cross validatopn to find the best t value that is used in SDS import cv2 import pickle import glob import matplotlib.pyplot as plt from siftmodel.features import * from siftmodel.word_segmentation import * from siftmodel.feature_matching import * code_book = pickle.load( open( "C:/Users/omars/Documents/Github/LIWI/c...
10,229
https://github.com/realuptime/PolyDetector/blob/master/main.cpp
Github Open Source
Open Source
MIT
2,022
PolyDetector
realuptime
C++
Code
407
1,350
#include <stdio.h> #include "PolyDetector.h" int main(int argc, char **argv) { std::vector<PolyLine> lines = { { { 0.481273, 19.263916, 0.000000 }, { 2.672669, -20.676010, 0.000000 } }, { { -2.632347, 18.215017, 0.000000 }, { 5.508471, -21.049944, 0.000000 } }, { { -17.857944, 5.812509, 0.0...
31,404
https://github.com/osteele/liquid/blob/master/expressions/filters.go
Github Open Source
Open Source
Apache-2.0, MIT
2,023
liquid
osteele
Go
Code
337
883
package expressions import ( "fmt" "reflect" "github.com/osteele/liquid/values" ) // An InterpreterError is an error during expression interpretation. // It is used for errors in the input expression, to distinguish them // from implementation errors in the interpreter. type InterpreterError string func (e Inter...
20,626
https://github.com/JoanesMiranda/FiltrosDeImagens/blob/master/ProcessamentoImg/Control/GerenciamentoOperacoes.cs
Github Open Source
Open Source
MIT
null
FiltrosDeImagens
JoanesMiranda
C#
Code
198
656
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using ProcessamentoImg.Model; using System.Drawing; using ProcessamentoImg.Utils; namespace ProcessamentoImg.Control { class GerenciamentoOperacoes { /// <summary> /// Método ut...
2,197
https://github.com/kumarasathisha/TODO/blob/master/src/environments/firebase.ts
Github Open Source
Open Source
MIT
2,017
TODO
kumarasathisha
TypeScript
Code
14
112
export const firebaseConfig = { apiKey: 'AIzaSyCipC1uJ9zY3pOF8fQ3woluk3qtmLBc-vU', authDomain: 'angular-poc-bb48f.firebaseapp.com', databaseURL: 'https://angular-poc-bb48f.firebaseio.com', storageBucket: 'angular-poc-bb48f.appspot.com' };
27,559
https://github.com/aabs7/inventory_app/blob/master/src/store/actions/cart.js
Github Open Source
Open Source
MIT
null
inventory_app
aabs7
JavaScript
Code
43
113
export const ADD_TO_CART = 'ADD_TO_CART'; export const REMOVE_FROM_CART = 'REMOVE_FROM_CART'; export const addToCart = (item, quantity) => { return { type: ADD_TO_CART, item: item, quantity: quantity }; }; export const removeFromCart = itemId => { return { type: REMOVE_FROM_CART, item_id: itemId }; };
10,899
https://github.com/kingcos/Swift-X-Algorithms/blob/master/LeetCode/083-Remove-Duplicates-from-Sorted-List/083-Remove-Duplicates-from-Sorted-List.playground/Contents.swift
Github Open Source
Open Source
MIT
2,021
Swift-X-Algorithms
kingcos
Swift
Code
135
278
import UIKit /** * Definition for singly-linked list. * public class ListNode { * public var val: Int * public var next: ListNode? * public init(_ val: Int) { * self.val = val * self.next = nil * } * } */ public class ListNode { public var val: Int public var next: Lis...
37,813
https://github.com/radiodraws/paper_wordpress_theme/blob/master/page.php
Github Open Source
Open Source
MIT
null
paper_wordpress_theme
radiodraws
PHP
Code
123
398
<?php /** * The template for displaying all pages. * * This is the template that displays all pages by default. * Please note that this is the WordPress construct of pages * and that other 'pages' on your WordPress site may use a * different template. * * @link https://codex.wordpress.org/Template_Hierarchy * ...
17,134
https://github.com/alexgorji/musicscore/blob/master/tests/musictree/test_treetime.py
Github Open Source
Open Source
MIT
2,023
musicscore
alexgorji
Python
Code
66
326
from unittest import TestCase from musicscore.musictree.exceptions import MusicTreeError from musicscore.musictree.treescoretimewise import TreeScoreTimewise from musicscore.musictree.treetime import TreeTime class TestTreeTime(TestCase): def test_tree_time(self): time = TreeTime(3, 4, 1, 8) res...
43,791
https://github.com/JStumpp/jooby/blob/master/jooby-ebean/src/main/java/org/jooby/ebean/Ebeanby.java
Github Open Source
Open Source
Apache-2.0
2,016
jooby
JStumpp
Java
Code
793
2,231
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
5,277
https://github.com/jia57196/code41/blob/master/project/c++/mri/src/decode/test/pcap_replay/capfile.hpp
Github Open Source
Open Source
Apache-2.0
null
code41
jia57196
C++
Code
708
2,215
#ifndef CAPFILE_HPP #define CAPFILE_HPP #include <string.h> #include <sys/types.h> #include <sys/stat.h> #include <unistd.h> #include <string> // #include <pcap.h> #ifdef __FreeBSD__ #include <sys/endian.h> #define bswap_32(x) bswap32(x) #else #include <byteswap.h> #endif /* set endian-ness - you may need to explici...
18,200
https://github.com/glauber000/apiBooks/blob/master/src/providers/auth.guard.ts
Github Open Source
Open Source
MIT
null
apiBooks
glauber000
TypeScript
Code
96
319
import { Injectable, CanActivate, ExecutionContext } from '@nestjs/common'; import * as jwt from 'jsonwebtoken'; import { UsersService } from '../users/users.service'; import { EnumRole } from '../users/enums/user.enum'; @Injectable() export class AuthGuard implements CanActivate { constructor(private readonly usersS...
40,899
https://github.com/PacoVu/ringcentral-csharp-client/blob/master/RingCentral/Definitions/ServicePlan.cs
Github Open Source
Open Source
MIT
2,018
ringcentral-csharp-client
PacoVu
C#
Code
34
68
namespace RingCentral { public partial class ServicePlan { // public string @id { get; set; } // public string @name { get; set; } // public string @edition { get; set; } } }
5,156
https://github.com/alscoundrel/eShopOnWeb/blob/master/src/Web/Views/Shared/Components/WishList/Default.cshtml
Github Open Source
Open Source
MIT
2,020
eShopOnWeb
alscoundrel
HTML+Razor
Code
27
127
@model WishListComponentViewModel @{ ViewData["Title"] = "My Wish List"; } @if(0 < Model.ItemsCount){ <a class="esh-election" asp-page="/WishList/Index"> <div class="esh-election-image"> <img src="~/images/wish_64.png" /> </div> <div class="esh-election-badge"> ...
11,442
https://github.com/dan-kwiat/material-components-web-react/blob/master/test/screenshot/chips/index.js
Github Open Source
Open Source
MIT
2,019
material-components-web-react
dan-kwiat
JavaScript
Code
328
1,256
import React from 'react'; import './index.scss'; import '../../../packages/chips/index.scss'; import MaterialIcon from '../../../packages/material-icon'; import {Chip, ChipSet} from '../../../packages/chips/index'; import uuidv1 from 'uuid/v1'; class ChoiceChipsTest extends React.Component { state = { selected...
4,587
https://github.com/ypyf/fscm/blob/master/test/list.scm
Github Open Source
Open Source
MIT
2,019
fscm
ypyf
Scheme
Code
162
360
(length '(a b c)) ; => 3 (length '((x) ())) ; => 2 ; => 3 (car (cdr (car (cdr '(1 (2 3 4) 5 6 7))))) ; 在某些错误的实现中(比如tinyscheme 1.41),等价于(quote if) ; 应该等价于(list 1) ; => (1) ok ; => if error ((lambda (quote if) (quote if)) list 1) (define (foo func) (lambda (a b) (set! a 100) (func a b))) ((foo *) 1 2) ; => 200 ; => ...
9,288
https://github.com/dmalikov/Anna/blob/master/Anna/Observers/UnhandledRouteObserver.cs
Github Open Source
Open Source
MIT
2,019
Anna
dmalikov
C#
Code
87
316
using System; using System.Collections.Generic; using System.Linq; using Anna.Request; using Anna.Util; namespace Anna.Observers { public class UnhandledRouteObserver : IObserver<RequestContext> { private readonly IList<Tuple<string, string>> handledRoutes; public UnhandledRouteObserver(IList...
27,661
https://github.com/google/perfetto/blob/master/ui/src/frontend/slice_panel.ts
Github Open Source
Open Source
Apache-2.0, LicenseRef-scancode-unknown-license-reference
2,023
perfetto
google
TypeScript
Code
304
613
// Copyright (C) 2021 The Android Open Source Project // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use size 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 applic...
45,783
https://github.com/glennkentwell/code/blob/master/python/sensors.py
Github Open Source
Open Source
Unlicense
null
code
glennkentwell
Python
Code
255
655
#!/usr/bin/python import pyttsx # text to speech import re # regex import subprocess # create sub-processes & shell cmds class talker: @staticmethod def say(txt): engine = pyttsx.init() if type(txt) is str: print(x[0:79]) engine.say(txt) else: ...
10,358
https://github.com/devinburnette/chuck-norris-cli-gem/blob/master/lib/norris.rb
Github Open Source
Open Source
MIT
null
chuck-norris-cli-gem
devinburnette
Ruby
Code
12
51
require 'open-uri' require 'json' require 'htmlentities' require_relative "./norris/version" require_relative "./norris/cli" require_relative "./norris/joke"
11,634
https://github.com/DjangoLover/gitality/blob/master/gitality/core/mixins.py
Github Open Source
Open Source
MIT
2,013
gitality
DjangoLover
Python
Code
132
511
from django.contrib.auth.decorators import login_required from django.utils.decorators import method_decorator from django.views.generic.edit import ModelFormMixin class LoginRequiredMixin(object): @method_decorator(login_required) def dispatch(self, *args, **kwargs): return super(LoginRequiredMixin,...
43,661
https://github.com/SilverStripers/silverstripe-cin7/blob/master/src/Model/AttributeType.php
Github Open Source
Open Source
BSD-2-Clause
null
silverstripe-cin7
SilverStripers
PHP
Code
58
239
<?php namespace SilverStripers\Cin7\Model; use SilverShop\Model\Variation\AttributeType as SS_AttributeType; use SilverStripe\TagField\TagField; use TractorCow\AutoComplete\AutoCompleteField; class AttributeType extends SS_AttributeType { public function getDropDownField($emptystring = null, $values = null) ...
23,737
https://github.com/giuliannosbrugnera/7DaysOfJavaScript/blob/master/Day 02/day02-switch_statements.js
Github Open Source
Open Source
MIT
null
7DaysOfJavaScript
giuliannosbrugnera
JavaScript
Code
76
209
switch ( num ) { case 1 : console.log( "ONE" ); break; case 2 : console.log( "TWO" ); break; case 3 : console.log( "THREE" ); break; case 4 : console.log( "FOUR" ); break; case 5 : console.log( "FIVE" ); break; case ...
19,354
https://github.com/rafalp/misago-admin/blob/master/src/components/ClientError/ClientError.stories.tsx
Github Open Source
Open Source
BSD-2-Clause
2,022
misago-admin
rafalp
TypeScript
Code
50
142
import { ApolloError } from "@apollo/client" import ClientError from "." export default { title: "Components/ClientError", } export const ApplicationError = () => ( <ClientError error={new ApolloError({})}> {(error) => <>{JSON.stringify(error)}</>} </ClientError> ) export const NetworkError = () => ( <Cl...
29,970
https://github.com/HogoDorn/cwa-app-android/blob/master/Corona-Warn-App/src/test/java/de/rki/coronawarnapp/nearby/windows/entities/configuration/DefaultRiskCalculationConfiguration.kt
Github Open Source
Open Source
Apache-2.0, LicenseRef-scancode-unknown, LicenseRef-scancode-unknown-license-reference
2,020
cwa-app-android
HogoDorn
Kotlin
Code
36
279
package de.rki.coronawarnapp.nearby.windows.entities.configuration import com.google.gson.annotations.SerializedName data class DefaultRiskCalculationConfiguration( @SerializedName("minutesAtAttenuationFilters") val minutesAtAttenuationFilters: List<JsonMinutesAtAttenuationFilter>, @SerializedName("minute...
490
https://github.com/Nearata/Napule/blob/master/src/main/java/com/github/nearata/napule/util/PlayerUtil.java
Github Open Source
Open Source
0BSD
null
Napule
Nearata
Java
Code
121
414
package com.github.nearata.napule.util; import org.bukkit.Sound; import org.bukkit.entity.Entity; import org.bukkit.entity.Player; import org.bukkit.entity.Projectile; import org.bukkit.inventory.Inventory; import org.bukkit.projectiles.ProjectileSource; public final class PlayerUtil { private static final float ...
48,832
https://github.com/entrotech/deployapp/blob/master/Sabio.Web/Scripts/sabio.services.exception.js
Github Open Source
Open Source
MIT
null
deployapp
entrotech
JavaScript
Code
70
260
sabio.services.exception = sabio.services.exception || {}; sabio.services.exception.getAll = function (onSuccess, onError) { var url = "/api/exceptions"; var settings = { cache: false, contentType: "application/x-www-form-urlencoded; charset=UTF-8", dataType: "json", type: "GE...
11,240
https://github.com/sapcc/iris/blob/master/server/routes/system.js
Github Open Source
Open Source
MIT
2,020
iris
sapcc
JavaScript
Code
19
65
var router = require('express').Router(); router.get("/liveliness", (req, res) => res.sendStatus(200) ); router.get("/readiness", (req, res) => res.sendStatus(200) ); module.exports = router;
25,681
https://github.com/oscarsalu/sounds/blob/master/assets/js/createjs/js/aloha/plugins/extra/wai-lang/nls/pt-br/i18n.js
Github Open Source
Open Source
MIT
2,022
sounds
oscarsalu
JavaScript
Code
16
81
define({ "floatingmenu.tab.wai-lang": "Anotação de linguagem", "button.add-wai-lang-remove.tooltip": "Remover anotação de linguagem", "button.add-wai-lang.tooltip": "Adicionar anotação de linguagem" });
19,273
https://github.com/sarkarchandan/PopularMovies-1/blob/master/app/src/main/java/com/raul/rsd/android/popularmovies/Domain/Movie.java
Github Open Source
Open Source
Apache-2.0
2,017
PopularMovies-1
sarkarchandan
Java
Code
403
1,255
package com.raul.rsd.android.popularmovies.Domain; import android.os.Parcel; import android.os.Parcelable; import java.util.Arrays; import java.util.Date; public class Movie implements Parcelable{ // ------------------------- ATTRIBUTES -------------------------- private long id; private String title; ...
34,668
https://github.com/godotengine/godot/blob/master/drivers/png/SCsub
Github Open Source
Open Source
LicenseRef-scancode-free-unknown, MIT, CC-BY-4.0, OFL-1.1, Bison-exception-2.2, CC0-1.0, LicenseRef-scancode-nvidia-2002, LicenseRef-scancode-other-permissive, GPL-3.0-only, LicenseRef-scancode-unknown-license-reference, Unlicense, BSL-1.0, Apache-2.0, BSD-3-Clause, LicenseRef-scancode-public-domain, LicenseRef-scancod...
2,023
godot
godotengine
Python
Code
158
870
#!/usr/bin/env python Import("env") env_png = env.Clone() # Thirdparty source files thirdparty_obj = [] if env["builtin_libpng"]: thirdparty_dir = "#thirdparty/libpng/" thirdparty_sources = [ "png.c", "pngerror.c", "pngget.c", "pngmem.c", "pngpread.c", "pngre...
35,608
https://github.com/llchan/mypy-protobuf/blob/master/setup.py
Github Open Source
Open Source
Apache-2.0, LicenseRef-scancode-generic-cla
2,021
mypy-protobuf
llchan
Python
Code
97
455
import os from setuptools import setup # type: ignore[import] def get_version() -> str: """Gets the version from mypy_protobuf/main.py Do not import mypy_protobuf.main directly, because an installed protobuf library may be loaded instead.""" with open(os.path.join('mypy_protobuf', 'main.py')) as vers...
45,173
https://github.com/heerzhang/sancho/blob/master/src/stories/Positions.stories.tsx
Github Open Source
Open Source
MIT
2,020
sancho
heerzhang
TSX
Code
91
264
/** @jsx jsx */ import { jsx, css } from "@emotion/react"; import { storiesOf } from "@storybook/react"; import { Text } from "../Text"; import { Link } from "../Link"; import { usePositioner } from "../Hooks/use-positioner"; function Example() { const { target, popover, arrow } = usePositioner(); return ( <d...
26,694
https://github.com/bonn2/ArmoredElytra/blob/master/src/main/java/nl/pim16aap2/armoredElytra/handlers/FlyDurabilityHandler.java
Github Open Source
Open Source
MIT
null
ArmoredElytra
bonn2
Java
Code
136
573
package nl.pim16aap2.armoredElytra.handlers; import nl.pim16aap2.armoredElytra.nbtEditor.DurabilityManager; import nl.pim16aap2.armoredElytra.nbtEditor.NBTEditor; import nl.pim16aap2.armoredElytra.util.ArmorTier; import nl.pim16aap2.armoredElytra.util.Util; import org.bukkit.Material; import org.bukkit.event.EventHand...
43,359
https://github.com/SimonNitzsche/UniverseLauncher/blob/master/libraries/pages.php
Github Open Source
Open Source
MIT
2,021
UniverseLauncher
SimonNitzsche
PHP
Code
16
45
<?php function isPage($page, $p){ if ($page == $p){ return " selected"; } return ""; } ?>
48,084
https://github.com/Gorofad/splitpot/blob/master/controller/User.py
Github Open Source
Open Source
Apache-2.0
2,014
splitpot
Gorofad
Python
Code
1,434
4,330
#!/usr/bin/python # -*- coding: utf-8 -*- import cherrypy from mako.template import Template from mako.lookup import TemplateLookup lookup = TemplateLookup(directories=['template/user', 'template']) import string import sys import Email sys.path.append('utils/') import Encryption from Auth import * from DatabasePar...
49,948
https://github.com/piotrkreft/config/blob/master/src/StorageAdapterInterface.php
Github Open Source
Open Source
MIT
null
config
piotrkreft
PHP
Code
24
78
<?php declare(strict_types=1); namespace PK\Config; use PK\Config\Exception\RuntimeException; interface StorageAdapterInterface { /** * @throws RuntimeException * * @return Entry[] */ public function fetch(string $environment): array; }
17,115
https://github.com/AzrielFatur/Fix-Onitsuka/blob/master/resources/views/thank-you.blade.php
Github Open Source
Open Source
MIT
null
Fix-Onitsuka
AzrielFatur
PHP
Code
125
944
<!doctype html> <html lang="en"> <head> <!-- Required meta tags --> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <!-- Bootstrap CSS --> <link href="https://fonts.googleapis.com/css?family=Poppins:200,300,400,600,700,800&display=swap...
45,342
https://github.com/asachanxxx/AngularPro/blob/master/TestingApp/src/app/formdriven/formdriven.component.ts
Github Open Source
Open Source
MIT
null
AngularPro
asachanxxx
TypeScript
Code
64
196
import { Component, OnInit } from '@angular/core'; import { FormGroup, FormControl } from '@angular/forms'; @Component({ selector: 'app-formdriven', templateUrl: './formdriven.component.html', styleUrls: ['./formdriven.component.css'] }) export class FormdrivenComponent implements OnInit { langs:string[] = [...
16,446
https://github.com/yeleywale/fury/blob/master/src/ogdl-test/testogdlparser.scala
Github Open Source
Open Source
Apache-2.0
null
fury
yeleywale
Scala
Code
372
957
/* Fury, version 0.15.1. Copyright 2018-20 Jon Pretty, Propensive OÜ. The primary distribution site is: https://propensive.com/ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at ...
30,910
https://github.com/QingChuanWS/tencentos-tiny-with-tflitemicro-and-iot/blob/master/platform/vendor_bsp/hdsc/HC32L136_DDL_Rev1.0.0/driver/inc/lcd.h
Github Open Source
Open Source
Apache-2.0
2,021
tencentos-tiny-with-tflitemicro-and-iot
QingChuanWS
C
Code
828
3,164
/****************************************************************************** * Copyright (C) 2018, Huada Semiconductor Co.,Ltd All rights reserved. * * This software is owned and published by: * Huada Semiconductor Co.,Ltd ("HDSC"). * * BY DOWNLOADING, INSTALLING OR USING THIS SOFTWARE, YOU AGREE TO BE BOUND * BY AL...
10,542
https://github.com/JLabsAU/Elastos.App.Wallet.Elephant.Android/blob/master/app/src/main/java/com/breadwallet/tools/adapter/SignHistoryAdapter.java
Github Open Source
Open Source
MIT
2,019
Elastos.App.Wallet.Elephant.Android
JLabsAU
Java
Code
143
533
package com.breadwallet.tools.adapter; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdapter; import com.breadwallet.R; import com.breadwallet.presenter.customviews.BaseTextView; import com.breadwallet.presenter.e...
51,248
https://github.com/ScalablyTyped/Distribution/blob/master/a/aws-sdk/src/main/scala/typings/awsSdk/clientsGrafanaMod/TagResourceRequest.scala
Github Open Source
Open Source
MIT
2,023
Distribution
ScalablyTyped
Scala
Code
127
348
package typings.awsSdk.clientsGrafanaMod import org.scalablytyped.runtime.StObject import scala.scalajs.js import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess} trait TagResourceRequest extends StObject { /** * The ARN of the resource the tag is associated with. ...
21,347
https://github.com/tetsuyainfra/playground-rust/blob/master/rust-by-example/11-crates/compile.sh
Github Open Source
Open Source
MIT
null
playground-rust
tetsuyainfra
Shell
Code
20
79
#!/bin/bash set -ex rustc --crate-type=lib rary.rs ls lib* echo --- # 外部クレートが参照できなくてErrorになる # rustc executable.rs rustc executable.rs --extern rary=library.rlib ./executable
979