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/finallion/Artificial_Foliage-FABRIC-/blob/master/src/main/java/com/finallion/artificialfoliage/registry/ARFOItemTags.java
Github Open Source
Open Source
CC0-1.0
2,021
Artificial_Foliage-FABRIC-
finallion
Java
Code
174
623
package com.finallion.artificialfoliage.registry; import com.finallion.artificialfoliage.ArtificialFoliage; import net.fabricmc.fabric.api.tag.TagRegistry; import net.minecraft.item.Item; import net.minecraft.tag.Tag; import net.minecraft.util.Identifier; public class ARFOItemTags { public static final Tag<Item>...
48,353
https://github.com/radumg/cytoscape.js/blob/master/src/extensions/renderer/canvas/drawing-shapes.js
Github Open Source
Open Source
MIT
2,022
cytoscape.js
radumg
JavaScript
Code
767
1,742
import * as math from '../../../math'; var CRp = {}; // @O Polygon drawing CRp.drawPolygonPath = function( context, x, y, width, height, points ){ var halfW = width / 2; var halfH = height / 2; if( context.beginPath ){ context.beginPath(); } context.moveTo( x + halfW * points[0], y + halfH * points[1] );...
42,005
https://github.com/ScalablyTyped/SlinkyTyped/blob/master/o/obelisk_dot_js/src/main/scala/typingsSlinky/obeliskJs/mod/Brick.scala
Github Open Source
Open Source
MIT
2,021
SlinkyTyped
ScalablyTyped
Scala
Code
179
690
package typingsSlinky.obeliskJs.mod import org.scalablytyped.runtime.StObject import scala.scalajs.js import scala.scalajs.js.`|` import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess} @JSImport("obelisk.js", "Brick") @js.native class Brick () extends AbstractPrimitive { def...
25,449
https://github.com/sys-bs/Powershell/blob/master/Invoke-DellDriverUpdate.ps1
Github Open Source
Open Source
Apache-2.0
2,022
Powershell
sys-bs
PowerShell
Code
409
1,379
function Invoke-DCU { [CmdletBinding()] param ( [Parameter(Mandatory = $true)] [string[]]$ComputerName ) begin { $InstallDCU = { #install DCU set-location "C:\SCRIPTS\DCU\" Start-Process "C:\SCRIPTS\DCU\\Dell-Command-Update-App...
23,240
https://github.com/XinV/blipboard-server/blob/master/test/unit/lib/facebook.test.js
Github Open Source
Open Source
BSD-2-Clause
2,013
blipboard-server
XinV
JavaScript
Code
659
2,388
var should = require('should'); var sinon = require('sinon'); var restler = require('restler'); var fs = require('fs'); var EventEmitter = require('events').EventEmitter; var facebook = require('../../../lib/facebook'); var graphite = require('../../../lib/graphite'); var config = require('../../../config'); var BBErr...
7,953
https://github.com/vadimpronin/mikrotik-hosts-parser/blob/master/pkg/mikrotik/dns_static_entry.go
Github Open Source
Open Source
MIT
2,022
mikrotik-hosts-parser
vadimpronin
Go
Code
307
792
package mikrotik // DNSStaticEntry is static DNS entry for RouterOS usage. type DNSStaticEntry struct { Address string // IP address (net.IP is not used for allocation avoiding reasons (to string), eg.: 0.0.0.0) Comment string // Short description of the item (eg.: Any text) Disabled bool // Defines whether ite...
1,717
https://github.com/djmolny/iaccdb/blob/master/app/views/members/_member.json.jbuilder
Github Open Source
Open Source
LicenseRef-scancode-warranty-disclaimer, Apache-2.0
2,016
iaccdb
djmolny
Ruby
Code
4
21
json.(member, :iac_id, :given_name, :family_name)
36,013
https://github.com/ddexterpark/dashboard-api-golang/blob/master/api/products/cellulargateway/configure/portforwarding.go
Github Open Source
Open Source
MIT
2,021
dashboard-api-golang
ddexterpark
Go
Code
111
437
package configure import ( "fmt" "github.com/ddexterpark/dashboard-api-golang/api" user_agent "github.com/ddexterpark/dashboard-api-golang/user-agent" "log" ) type PortForwardingRules struct { Rules []struct { LanIP string `json:"lanIp"` Name string `json:"name"` Access string `json:"a...
39,866
https://github.com/Hollieatron/grace-shopper/blob/master/client/components/products/product-grid.js
Github Open Source
Open Source
MIT
2,018
grace-shopper
Hollieatron
JavaScript
Code
54
147
import React from 'react' import {Card} from 'semantic-ui-react' import ProductCard from './product-card' import EmptyProduct from './empty-product' const ProductGrid = ({products}) => { if (products && products.length < 1) { return <EmptyProduct /> } else { return ( <Card.Group itemsPerRow={6}> ...
5,608
https://github.com/opencor/llvm-clang/blob/master/test/Transforms/ThinLTOBitcodeWriter/cfi-icall-static-inline-asm.ll
Github Open Source
Open Source
Apache-2.0
2,022
llvm-clang
opencor
LLVM
Code
103
307
; REQUIRES: x86-registered-target ; RUN: opt -thinlto-bc -thinlto-split-lto-unit -o - %s | llvm-modextract -b -n 0 -o - | llvm-dis | FileCheck %s target triple = "x86_64-unknown-linux-gnu" ; CHECK: module asm ".lto_set_conditional a,a.[[HASH:[0-9a-f]+]]" define void @b() { %f = alloca void ()*, align 8 ; CHECK: ...
20,067
https://github.com/tomooda/RMapViewer/blob/master/repository/ReactionMapViewer/RMapVertexEnergyLayouter.class.st
Github Open Source
Open Source
MIT
2,019
RMapViewer
tomooda
null
Spoken
347
869
Class { #name : #RMapVertexEnergyLayouter, #superclass : #RMapVertexLayouter, #instVars : [ 'min', 'max', 'denominator' ], #category : #'ReactionMapViewer-Layouters' } { #category : #accessing } RMapVertexEnergyLayouter >> dcX [ ^ 0.2 ] { #category : #accessing } RMapVertexEnergyLayouter >> denominator [ ...
21,613
https://github.com/mountstudio/docplus/blob/master/resources/views/_partials/alerts/new_answer.blade.php
Github Open Source
Open Source
MIT
null
docplus
mountstudio
PHP
Code
29
124
<div class="alert alert-info alert-dismissible fade show position-fixed shadow-lg" style="max-width: 300px; top: 10px; right: 10px; z-index: 9999;" role="alert"> {{ \Illuminate\Support\Facades\Session::get('new_answer') }} <button type="button" class="close" data-dismiss="alert" aria-label="Close"> <spa...
676
https://github.com/larrycameron80/Posh-SYSLOG/blob/master/private/Get-SyslogHostname.ps1
Github Open Source
Open Source
MIT
null
Posh-SYSLOG
larrycameron80
PowerShell
Code
381
857
Function Get-SyslogHostname { <# .SYNOPSIS Returns the valid hostname to send to the SYSLOG server according to RFC 5424. The CMDLet will take a socket (either connected to a TCP or UDP client) and return the appropriate response. .DESCRIPTION Internal Function. The purpos...
6,373
https://github.com/jesusfcr/vulcan-charts/blob/master/stable/metrics/templates/_services.tpl
Github Open Source
Open Source
Apache-2.0
null
vulcan-charts
jesusfcr
null
Spoken
40
124
{{/* Override names */}} {{- define "resultsHost" -}} {{- printf "%s-results" .Release.Name -}} {{- end -}} {{- define "metricsRedisAddr" -}} {{- printf "%s-metrics-redis:6379" .Release.Name -}} {{- end -}} {{- define "metricsDogstatsdAddr" -}} {{- printf "%s-metrics-dogstatsd:8125" .Release.Name -}} {{- end -}}
27,222
https://github.com/alexwdd/ags/blob/master/app/www/view/common/js/iframe.js
Github Open Source
Open Source
MIT
2,020
ags
alexwdd
JavaScript
Code
36
119
$(function() { initWindow(); $(window).resize(function() { initWindow(); }) function initWindow() { wh = $(window).height(); //窗口高度 ww = $(window).width(); //窗口宽度 bh = $("#brand").height(); $(".rightBox").height(wh - bh - 141).css({ top: bh + 121 }); $("...
655
https://github.com/MyRobotLab/InMoov2/blob/master/gestures/more.py
Github Open Source
Open Source
Apache-2.0
2,023
InMoov2
MyRobotLab
Python
Code
29
226
def more(): #i01.startedGesture() i01.setHandSpeed("right", 31.0, 31.0, 31.0, 31.0, 31.0, 22.0) i01.setArmSpeed("left", 43.0, 36, 43.0, 59) i01.setArmSpeed("right", 31.0, 22.0, 22.0, 22.0) i01.setHeadSpeed(22.0, 22.0) i01.moveHead(13,80) i01.moveArm("left",64,52,59,23) i01.moveArm("right",75,60,50,16) ...
32,803
https://github.com/PANKAJGUSAIN/CODEIAL/blob/master/mailers/comments_mailer.js
Github Open Source
Open Source
MIT
2,020
CODEIAL
PANKAJGUSAIN
JavaScript
Code
64
239
const nodeMailer =require('../config/nodemailer'); //creating a function which will send mails //normal way of exporting function //newComment = function{ //content //} // module.exports =newComment //new way exports.newComment =(comment)=>{ //adding template let htmlStri...
37,907
https://github.com/jeroen-mostert/CodeContracts/blob/master/Microsoft.Research/Contracts/System.Data/System.Data.DataRow.cs
Github Open Source
Open Source
MIT
2,019
CodeContracts
jeroen-mostert
C#
Code
3,473
8,213
// CodeContracts // // Copyright (c) Microsoft Corporation // // All rights reserved. // // MIT License // // Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including wit...
40,869
https://github.com/dengbp/im-app_server/blob/master/src/main/java/com/yr/net/app/moments/entity/UserMomentsSub.java
Github Open Source
Open Source
Apache-2.0
2,022
im-app_server
dengbp
Java
Code
65
335
package com.yr.net.app.moments.entity; import com.yr.net.app.customer.entity.UserMultimedia; import com.yr.net.app.tools.AppUtil; import org.apache.commons.lang3.StringUtils; import java.math.BigDecimal; import java.time.LocalDateTime; /** * @author dengbp * @ClassName UserMomentsSub * @Description 重新构建表与实体生成的时候不...
35,231
https://github.com/thekant/myCodeRepo/blob/master/src/com/kant/algorithms/dynamicprogramming/CalculatingLCS.java
Github Open Source
Open Source
MIT
2,017
myCodeRepo
thekant
Java
Code
309
821
/** * */ package com.kant.algorithms.dynamicprogramming; import java.util.Arrays; /** * * This problem is Longest Common Subsequence [i.e we can leave a character in * between]<br/> * LCS for input Sequences “ABCDGH” and “AEDFHR” is “ADH” of length 3.<br/> * LCS for input Sequences “AGGTAB” and “GXTXAYB” is ...
22,074
https://github.com/painfulangel/partmarket/blob/master/public_html/protected/extensions/lily/migrations/m130111_104225_user_table_alter.php
Github Open Source
Open Source
MIT
null
partmarket
painfulangel
PHP
Code
28
130
<?php class m130111_104225_user_table_alter extends CDbMigration { public function safeUp() { $this->dropColumn('lily_user', 'active'); $this->renameColumn('lily_user', 'deleted', 'state'); } public function safeDown() { $this->addColumn('lily_user', 'active', 'boolean'); ...
28,412
https://github.com/CQCL/tket/blob/master/libs/tkwsm/include/tkwsm/Common/TemporaryRefactorCode.hpp
Github Open Source
Open Source
Apache-2.0
2,023
tket
CQCL
C++
Code
200
468
// Copyright 2019-2023 Cambridge Quantum Computing // // 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...
16,608
https://github.com/HadoopVietnam/joss/blob/master/src/main/java/org/javaswift/joss/model/ObjectStoreEntity.java
Github Open Source
Open Source
Apache-2.0
2,013
joss
HadoopVietnam
Java
Code
96
184
package org.javaswift.joss.model; import java.util.Map; /** * Top-level entity for all entities in the ObjectStore. The sharing characteristic of the entities * is custom metadata. */ public interface ObjectStoreEntity { /** * Sets the metadata headers * @param metadata contains all metadata name/value p...
25,209
https://github.com/fernando-romulo-silva/myStudies/blob/master/java/core/Java8InAction/src/main/java/br/com/fernando/ch13_thinking_functionally/part04_Summary/Test.java
Github Open Source
Open Source
Apache-2.0
2,020
myStudies
fernando-romulo-silva
Java
Code
115
186
package br.com.fernando.ch13_thinking_functionally.part04_Summary; // Summary public class Test { //  Reducing shared mutable data structures can help you maintain and debug your programs in the long term. // //  Functional-style programming promotes side-effect-free methods and declarative programming....
13,387
https://github.com/alison82/MedicalHistory-BlockChainProject/blob/master/frontend/src/app/authentication/signin/dialogs/select-dialog/select-dialog.component.ts
Github Open Source
Open Source
MIT
2,020
MedicalHistory-BlockChainProject
alison82
TypeScript
Code
114
395
import { Component, OnInit } from '@angular/core'; import { MatDialogRef } from '@angular/material/dialog'; import { FormDialogComponent } from 'src/app/appointment/viewappointment/dialogs/form-dialog/form-dialog.component'; import { FormBuilder, FormGroup, Validators } from '@angular/forms'; import { SigninService } f...
21,951
https://github.com/amazeBird/typescript-eslint-demo/blob/master/src/components/SplitPanel/SplitPanel.tsx
Github Open Source
Open Source
MIT
2,021
typescript-eslint-demo
amazeBird
TSX
Code
228
739
import React, { FC, useCallback, useRef, useState } from "react"; import "./SplitPanel.css"; const BASE_STYLE: React.CSSProperties = { flex: "1", display: "flex", }; interface Props { vertical?: boolean; onResize?: () => void; } export const SplitPanel: FC<Props> = (props) => { const childrenComponents = R...
17,791
https://github.com/yciabaud/REST/blob/master/src/test/java/org/rest/sec/test/SecMimeRESTIntegrationTest.java
Github Open Source
Open Source
MIT
2,018
REST
yciabaud
Java
Code
48
266
package org.rest.sec.test; import org.junit.runner.RunWith; import org.rest.common.IEntity; import org.rest.spring.client.ClientTestConfig; import org.rest.spring.context.ContextTestConfig; import org.rest.spring.testing.TestingConfig; import org.rest.web.common.AbstractMimeRESTIntegrationTest; import org.springframew...
23,626
https://github.com/mattStorer/cqf-ruler/blob/master/core/src/test/java/org/opencds/cqf/ruler/utility/LibrariesTest.java
Github Open Source
Open Source
Apache-2.0, LicenseRef-scancode-warranty-disclaimer
2,022
cqf-ruler
mattStorer
Java
Code
148
678
package org.opencds.cqf.ruler.utility; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertThrows; import org.hl7.fhir.r4.model.Library; import org.hl7.fhir.r4.model.Measure; import org.junit.jupit...
6,987
https://github.com/shnellpavel/ngGallery/blob/master/.gitignore
Github Open Source
Open Source
MIT
2,016
ngGallery
shnellpavel
Ignore List
Code
3
15
/bower_components/ index.html app.js
27,599
https://github.com/nd-team/issp-root-page/blob/master/show-node(version 1.1.1)/static/pages/js/common.js
Github Open Source
Open Source
MIT
2,017
issp-root-page
nd-team
JavaScript
Code
843
3,907
window.onload = function () { var ajax = new XMLHttpRequest(); ajax.open("GET", "../font/icons/svg-symbols.svg", true); ajax.onload = function (e) { document.body.insertAdjacentHTML("afterBegin", '<div style="display:none;">' + ajax.responseText + '</div>'); } ajax.send(); //cookie里面没有...
44,888
https://github.com/JrCs/opendreambox/blob/master/recipes/xfce-base/xfce4-settings-4.6.1/xfce4-settings-4.6.1-libxklavier.patch
Github Open Source
Open Source
MIT
2,022
opendreambox
JrCs
null
Spoken
40
337
diff -ur xfce4-settings-4.6.1.orig/dialogs/keyboard-settings/xfce-keyboard-settings.c xfce4-settings-4.6.1/dialogs/keyboard-settings/xfce-keyboard-settings.c --- xfce4-settings-4.6.1.orig/dialogs/keyboard-settings/xfce-keyboard-settings.c 2009-03-02 19:48:00.000000000 +0200 +++ xfce4-settings-4.6.1/dialogs/keyboard-set...
9,062
https://github.com/andrecampll/wongames/blob/master/src/__tests__/components/Checkbox/index.spec.tsx
Github Open Source
Open Source
MIT
2,021
wongames
andrecampll
TSX
Code
181
694
import { screen, waitFor } from '@testing-library/dom'; import userEvent from '@testing-library/user-event'; import { render } from '../../../utils/test-utils'; import Checkbox from '../../../components/Checkbox'; describe('Checkbox', () => { it('should be able to render with a label', () => { render(<Checkbox l...
13,515
https://github.com/mizchi-sandbox/ws-netgame/blob/master/src/core.coffee
Github Open Source
Open Source
BSD-2-Clause-FreeBSD
2,015
ws-netgame
mizchi-sandbox
CoffeeScript
Code
87
269
{RandomStage} = require('./stages/sample') class Game constructor: (conf,max_depth,io,db) -> console.log("GameEngine created...") @stages = [] @stages[i] = new RandomStage(@,i,io.of('/f'+i),db) for i in [0...max_depth] @cnt = 0 @active = true @fps = 15 login : (name,to)-> enter: -> ...
38,399
https://github.com/studiobee/JUCE6-Svalbard-Fork/blob/master/modules/juce_gui_basics/layout/juce_StretchableLayoutResizerBar.cpp
Github Open Source
Open Source
ISC
2,022
JUCE6-Svalbard-Fork
studiobee
C++
Code
206
641
/* ============================================================================== This file is part of the JUCE library. Copyright (c) 2020 - Raw Material Software Limited JUCE is an open source library subject to commercial or open-source licensing. By using JUCE, you agree to the terms of both the...
51,276
https://github.com/embeddery/stackrox/blob/master/ui/apps/platform/cypress/integration/vulnmanagement/componentsListPages.test.js
Github Open Source
Open Source
Apache-2.0
null
stackrox
embeddery
JavaScript
Code
143
435
import withAuth from '../../helpers/basicAuth'; import { url, selectors } from '../../constants/VulnManagementPage'; import { hasExpectedHeaderColumns, allChecksForEntities, allCVECheck, // TBD - will be uncommented after issue is fixed - allFixableCheck } from '../../helpers/vmWorkflowUtils'; describe...
23,897
https://github.com/jnhkaratedo/JNHKaratedo/blob/master/manager.php
Github Open Source
Open Source
MIT
2,020
JNHKaratedo
jnhkaratedo
PHP
Code
75
489
<?php session_start(); require_once('connection.php'); if (isset($_POST['btnupdate'])) { $id = $_SESSION['id']; $query= "UPDATE tblmanager SET Name='".$_POST['name']."',Address='".$_POST['Address']."',Birthday='".$_POST['Birthday']."', Age='".$_POST['Age']."', Gender='".$_POST['Gender']."', Contact_No='".$_POST['cont...
25,782
https://github.com/xmidt-org/xmidt-issuer/blob/master/xhttp/xhttpserver/server.go
Github Open Source
Open Source
Apache-2.0
2,019
xmidt-issuer
xmidt-org
Go
Code
265
849
package xhttpserver import ( "context" "net" "net/http" "time" "github.com/xmidt-org/themis/xlog/xloghttp" "github.com/go-kit/kit/log" "github.com/go-kit/kit/log/level" "github.com/justinas/alice" ) // Interface is the expected behavior of a server type Interface interface { // Serve handles both TLS and n...
33,574
https://github.com/Planeswalker23/pandora/blob/master/spring/src/main/java/io/walkers/planes/pandora/spring/ioc/lifecycle/UserLifeCycle.java
Github Open Source
Open Source
Apache-2.0
null
pandora
Planeswalker23
Java
Code
52
213
package io.walkers.planes.pandora.spring.ioc.lifecycle; /** * 用户类 演示生命周期 * * @author planeswalker23 */ public class UserLifeCycle { private String name; public UserLifeCycle() { System.out.println("1. 执行构造方法创建实例"); } public void setName(String name) { this.name = name; Sys...
41,048
https://github.com/likr/trgib/blob/master/nested_squarify.py
Github Open Source
Open Source
MIT
2,018
trgib
likr
Python
Code
268
761
from squarify import squarify, normalize_sizes, tree_structure def nest(parents): children = [[] for _ in parents] for i, parent in enumerate(parents): if parent is not None: children[parent].append(i) return children def aggregate_sizes(groups, sizes, children, visited): def rec...
51,455
https://github.com/arpitjainds/Fragments/blob/master/Assets/Asset/Scripts/tile.cs
Github Open Source
Open Source
Apache-2.0
null
Fragments
arpitjainds
C#
Code
73
207
using System.Collections; using System.Collections.Generic; using UnityEngine; public class tile : MonoBehaviour { public float x=0f; public float y=0f; public float z=0f; public float cx=0f; public float cy=0f; public float cz=0f; public float t=1f; // speed public float l= 10f; // length from 0 to endpoint....
46,828
https://github.com/nancoding/Contact-List-MVVM/blob/master/app/src/main/java/com/contactdata/data/local/db/AppDatabase.java
Github Open Source
Open Source
MIT
2,021
Contact-List-MVVM
nancoding
Java
Code
28
111
package com.contactdata.data.local.db; import androidx.room.Database; import androidx.room.RoomDatabase; import com.contactdata.data.local.db.dao.ContactDao; import com.contactdata.data.local.model.db.Contact; @Database(entities = {Contact.class,}, version = 1) public abstract class AppDatabase extends RoomDatabase {...
47,846
https://github.com/FJuette/tusk-ms/blob/master/src/Tusk.Application/IDateTime.cs
Github Open Source
Open Source
Apache-2.0
2,023
tusk-ms
FJuette
C#
Code
24
53
namespace Tusk.Application; public interface IDateTime { DateTime Now { get; } } public class MachineDateTime : IDateTime { public DateTime Now => DateTime.Now; }
39,482
https://github.com/bpolaszek/psr7-request-matcher/blob/master/tests/DummyTransferMatcher.php
Github Open Source
Open Source
MIT
2,018
psr7-request-matcher
bpolaszek
PHP
Code
44
160
<?php namespace BenTools\Psr7\RequestMatcher\Tests; use BenTools\Psr7\TransferMatcherInterface; use Psr\Http\Message\RequestInterface; use Psr\Http\Message\ResponseInterface; class DummyTransferMatcher implements TransferMatcherInterface { /** * @param RequestInterface $request * @param ResponseInter...
45,125
https://github.com/flagbit/category-bundle/blob/master/spec/Flagbit/Bundle/CategoryBundle/Schema/SchemaValidatorSpec.php
Github Open Source
Open Source
MIT
null
category-bundle
flagbit
PHP
Code
486
1,543
<?php declare(strict_types=1); namespace spec\Flagbit\Bundle\CategoryBundle\Schema; use Flagbit\Bundle\CategoryBundle\Exception\InvalidFile; use PhpSpec\ObjectBehavior; class SchemaValidatorSpec extends ObjectBehavior { public function it_throws_exception_on_invalid_file_path(): void { $this->should...
10,294
https://github.com/jsj2008/QQMusicLRCExporter/blob/master/Headers/CollectorProtocol.h
Github Open Source
Open Source
WTFPL
2,017
QQMusicLRCExporter
jsj2008
Objective-C
Code
116
401
// // Generated by class-dump 3.5 (64 bit) (Debug version compiled Jan 4 2017 14:06:37). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard. // #import "ProtocolBaseJason.h" @class CollectorRecvData, NSMutableDictionary; @interface CollectorProtocol : ProtocolBaseJason { i...
2,057
https://github.com/RustFisher/aboutView/blob/master/app/src/main/java/com/rust/aboutview/widget/vkeyboard/VKeyboard.java
Github Open Source
Open Source
MIT
2,021
aboutView
RustFisher
Java
Code
506
1,929
package com.rust.aboutview.widget.vkeyboard; import android.content.Context; import android.content.res.Resources; import android.content.res.TypedArray; import android.graphics.Canvas; import android.graphics.Typeface; import android.util.AttributeSet; import android.util.Log; import android.view.Gravity; import andr...
48,307
https://github.com/orangenpresse/Zeiterfassung/blob/master/KatVerwaltung.Designer.cs
Github Open Source
Open Source
MIT
2,012
Zeiterfassung
orangenpresse
C#
Code
731
3,660
namespace Zeiterfassung { partial class KatVerwaltung { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /...
41,013
https://github.com/OneIdentity/IdentityManager.LogInsights/blob/master/LogInsights/Detectors/TimeRangeDetector.cs
Github Open Source
Open Source
Unlicense
null
IdentityManager.LogInsights
OneIdentity
C#
Code
493
1,885
using System; using System.Collections.Generic; using System.Linq; using System.Text; using LogInsights.Datastore; using LogInsights.Helpers; using LogInsights.LogReader; namespace LogInsights.Detectors { /// <summary> /// this detector /// a) checks each passed logfile for the provided min and ...
3,895
https://github.com/Site-Command/accelerated-text/blob/master/core/resources/rgl/grammar/Sub10.edn
Github Open Source
Open Source
Apache-2.0
2,021
accelerated-text
Site-Command
Edoid
Code
26
87
{:type "Sub10", :module "Grammar", :description "", :functions [{:function "pot0", :type ["Digit" "Sub10"], :example "d * 1", :label "mkSub10"} {:function "pot01", :type ["Sub10"], :example "1", :label "mkSub10"}]}
48,024
https://github.com/robotalks/analytics/blob/master/common/cpp/inc/cmn/pubsub.h
Github Open Source
Open Source
MIT
null
analytics
robotalks
C
Code
305
1,045
#pragma once #include <string> #include <list> #include <future> #include <functional> #include <boost/asio/buffer.hpp> #include <boost/network/uri.hpp> #include "cmn/common.h" #include "cmn/app.h" namespace cmn { struct PubOptions { bool retain; PubOptions() : retain(false) {} PubOption...
25,551
https://github.com/starshiptoken/crypto-monitoring-services/blob/master/src/services/price.change.analysis.service.js
Github Open Source
Open Source
MIT
2,021
crypto-monitoring-services
starshiptoken
JavaScript
Code
416
1,627
/* eslint-disable max-len */ import cron from 'node-cron'; import XRate from '../models/xrate.model'; const CRON_DAILY_12AM = '0 5 0 * * *' // every day at 12:05 AM const CRON_EVERY_20M = '0 */20 * * * *' // every 20 minutes const XRATES_CHANGE_PERCENTAGES = [2, 5, 10] const CHANGE_24H = 'change_24hour' const EMOJI_A...
40,433
https://github.com/wanghuipeng/yux-storage/blob/master/yux-storage.js
Github Open Source
Open Source
MIT
2,020
yux-storage
wanghuipeng
JavaScript
Code
376
1,186
/** * @yux-storage.js * @author xboxyan * Created: 20-11-10 */ class yuxDB { constructor(successCallback) { return new Promise((resolve, reject) => { this.objectStoreName = 'yux-store'; const request = window.indexedDB.open('yux-project', 1); request.onsuccess = (e...
6,184
https://github.com/Pillowdrift/StellarSwing/blob/master/Assets/Materials/Orange 1.mat.meta
Github Open Source
Open Source
BSD-2-Clause
2,021
StellarSwing
Pillowdrift
Unity3D Asset
Code
4
28
fileFormatVersion: 2 guid: 9ceabd32419c72549923fdbe446d2b7a
33,472
https://github.com/RyanHolstien/datahub/blob/master/metadata-ingestion/src/datahub/lite/lite_util.py
Github Open Source
Open Source
Apache-2.0, LicenseRef-scancode-unknown-license-reference, BSD-2-Clause, MIT
2,023
datahub
RyanHolstien
Python
Code
370
1,326
import logging import time from typing import Dict, Iterable, List, Optional, Union from datahub.configuration.common import ConfigModel, DynamicTypedConfig from datahub.emitter.mcp import MetadataChangeProposalWrapper from datahub.ingestion.api.common import PipelineContext, RecordEnvelope from datahub.ingestion.api....
35,725
https://github.com/evanodell/xstatic/blob/master/R/xstatic-package.R
Github Open Source
Open Source
OGL-UK-3.0, MIT
2,020
xstatic
evanodell
R
Code
99
259
#' xstatic: Builds Queries And Retrieves Data From DWP Stat-Xplore #' #' @import httr #' @importFrom assertthat assert_that #' @importFrom dplyr bind_cols bind_rows ensym filter mutate mutate_at pull select slice tibble #' @importFrom dwpstat dwp_schema #' @importFrom here here #' @importFrom janitor clean_names #' @im...
5,055
https://github.com/gkossakowski/dotty/blob/master/tests/untried/neg/literate_existentials.scala
Github Open Source
Open Source
BSD-3-Clause
null
dotty
gkossakowski
Scala
Code
1,118
2,013
object LiterateExistentials { // Let's play with Scala's type system a bit. // // From adriaanm, we have the following substitution rule, which allows us to // determine whether a type is a subtype of an existential in Scala: // // // T <: subst(U) for all i: subst(Li) <: Vi /\ Vi <: subst(Hi) // ------------...
732
https://github.com/yohanfride/tesis-ui/blob/master/application/views/device_edit_v.php
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, MIT
2,020
tesis-ui
yohanfride
PHP
Code
1,335
5,627
<?php include("header.php") ?> <div class="page-header"> <h1 class="page-title">Update Device</h1> <ol class="breadcrumb"> <li class="breadcrumb-item"><a href="<?= base_url();?>">Home</a></li> <li class="breadcrumb-item"><a href="<?= base_url();?>device">Devices</a></li> <li class="breadcrumb-item activ...
318
https://github.com/goldtime0820/oxwallproject/blob/master/ow_plugins/newsfeed/bol/like_dao.php
Github Open Source
Open Source
Apache-2.0
null
oxwallproject
goldtime0820
PHP
Code
600
1,602
<?php /** * This software is intended for use with Oxwall Free Community Software http://www.oxwall.org/ and is * licensed under The BSD license. * --- * Copyright (c) 2011, Oxwall Foundation * All rights reserved. * Redistribution and use in source and binary forms, with or without modification, are permitted...
52,095
https://github.com/pulumi/pulumi-aws/blob/master/sdk/java/src/main/java/com/pulumi/aws/qldb/outputs/StreamKinesisConfiguration.java
Github Open Source
Open Source
BSD-3-Clause, Apache-2.0, MPL-2.0
2,023
pulumi-aws
pulumi
Java
Code
257
654
// *** WARNING: this file was generated by pulumi-java-gen. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** package com.pulumi.aws.qldb.outputs; import com.pulumi.core.annotations.CustomType; import java.lang.Boolean; import java.lang.String; import java.util.Objects; import java...
33,828
https://github.com/Mattykins/phaser-1/blob/master/src/utils/base64/index.ts
Github Open Source
Open Source
MIT
2,022
phaser-1
Mattykins
TypeScript
Code
17
56
import { ArrayBufferToBase64 } from './ArrayBufferToBase64'; import { Base64ToArrayBuffer } from './Base64ToArrayBuffer'; export { ArrayBufferToBase64, Base64ToArrayBuffer };
2,273
https://github.com/waddlesplash/WonderBrush-v2/blob/master/common/src/gui/columntreeview/ColumnTreeModelListener.h
Github Open Source
Open Source
MIT
2,021
WonderBrush-v2
waddlesplash
C
Code
79
335
// ColumnTreeModelListener.h #ifndef COLUMN_TREE_MODEL_LISTENER_H #define COLUMN_TREE_MODEL_LISTENER_H #include <SupportDefs.h> class ColumnTreeItem; class ColumnTreeModel; class ColumnTreeModelListener { public: ColumnTreeModelListener(); virtual ~ColumnTreeModelListener(); virtual void ItemsAdd...
51,097
https://github.com/mapmint/mapmint/blob/master/mapmint-ui/js/DistillerOld1.js
Github Open Source
Open Source
MIT
2,023
mapmint
mapmint
JavaScript
Code
1,044
8,226
function loadFormWithObject(form,fields,object){ var dbParams=fields; if(!object){ for(var t=0;t<dbParams[t];t++){ if($mj(form+"."+dbParams[t])){ if(t!="stype") $mj(form+"."+dbParams[t]).value=""; else try{$mj(form+"."+dbParams[t]).selectedIndex=-1;}catch(e){} } } }else{ var tmp=ob...
47,921
https://github.com/Olivki/minecraft-clients/blob/master/Rori [mc-1.10.0]/se/proxus/rori/frames/components/Toggle.java
Github Open Source
Open Source
LicenseRef-scancode-public-domain, Unlicense
2,019
minecraft-clients
Olivki
Java
Code
938
2,970
package se.proxus.rori.frames.components; import org.lwjgl.opengl.GL11; import net.minecraft.client.Minecraft; import net.minecraft.client.gui.FontRenderer; import net.minecraft.client.gui.Gui; import se.proxus.rori.config.Value; import se.proxus.rori.frames.Component; import se.proxus.rori.frames.FrameManager; impor...
23,508
https://github.com/Apraso/iSulad_test/blob/master/src/cmd/isula/images/logout.h
Github Open Source
Open Source
MulanPSL-1.0
2,022
iSulad_test
Apraso
C
Code
139
341
/****************************************************************************** * Copyright (c) Huawei Technologies Co., Ltd. 2017-2019. All rights reserved. * iSulad licensed under the Mulan PSL v2. * You can use this software according to the terms and conditions of the Mulan PSL v2. * You may obtain a copy of Mu...
2,216
https://github.com/HHogg/iosCCC/blob/master/CurrencyConverterCalculator/Repository/Model/Currency.swift
Github Open Source
Open Source
Apache-2.0
null
iosCCC
HHogg
Swift
Code
199
593
// // CurrencyItem.swift // CurrencyConverterCalculator // // Created by Mustafa Ozhan on 08/08/2019. // Copyright © 2019 Mustafa Ozhan. All rights reserved. // import Foundation import CoreData public class Currency: NSManagedObject, Identifiable, Codable { private enum CodingKeys: String, CodingKey { ...
36,468
https://github.com/Meyzan16/beasiswareguler.e/blob/master/app/Controllers/Daftar_beasiswa.php
Github Open Source
Open Source
MIT
null
beasiswareguler.e
Meyzan16
PHP
Code
55
254
<?php namespace App\Controllers; use App\Models\M_daftar_mhs; use App\Models\M_jejak_pembukaan; class Daftar_beasiswa extends BaseController { function __construct() { $this->pembukaan = new M_jejak_pembukaan(); $this->daftar = new M_daftar_mhs(); } public function index(){ ...
8,740
https://github.com/yibogele/spring.activemq/blob/master/src/main/java/com/willfan/spring/activemq/configuration/ConsumerApplication.java
Github Open Source
Open Source
Apache-2.0
2,018
spring.activemq
yibogele
Java
Code
55
200
package com.willfan.spring.activemq.configuration; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.context.annotation.AnnotationConfigApplicationContext; import org.springframework.context.support.AbstractApplicationContext; /** * @author Will Fan * @version 0.1 2018/4/16 */ pub...
13,807
https://github.com/Shirk/Satori/blob/master/satori/config.py
Github Open Source
Open Source
BSD-2-Clause
2,017
Satori
Shirk
Python
Code
700
2,104
# encoding: utf-8 # # config.py # # Copyright (c) 2010 René Köcher <shirk@bitspin.org> # All rights reserved. # # Redistribution and use in source and binary forms, with or without modifica- # tion, are permitted provided that the following conditions are met: # # 1. Redistributions of source code must retain th...
36,826
https://github.com/kovaz01/nxplorerjs-microservice-starter/blob/master/server/api/interfaces/istarwars.ts
Github Open Source
Open Source
MIT
2,022
nxplorerjs-microservice-starter
kovaz01
TypeScript
Code
28
66
import { Observable } from 'rxjs'; import { People } from '../models'; /** * StarWars Service Interface */ interface IStarWars { getPeopleById(id: number): Observable<People>; } export default IStarWars;
29,116
https://github.com/koosyong/camcalib/blob/master/src/dialogcalibration.cpp
Github Open Source
Open Source
BSD-2-Clause
2,015
camcalib
koosyong
C++
Code
588
2,688
#include "mainwindow.h" #include "dialogcalibration.h" #include "ui_dialogcalibration.h" #define pi 3.141592 DialogCalibration::DialogCalibration(QWidget *parent, QString image) : QDialog(parent), ui(new Ui::DialogCalibration) { ui->setupUi(this); readParams(); calibration = new CKinectCalibration...
4,264
https://github.com/ChaoMa0459/EC601Project_Somatic-Parkour-Game-based-on-OpenCV/blob/master/Game code/Assets/animation.meta
Github Open Source
Open Source
MIT
2,017
EC601Project_Somatic-Parkour-Game-based-on-OpenCV
ChaoMa0459
Unity3D Asset
Code
14
70
fileFormatVersion: 2 guid: 7d53609c20fdd004e871e2e4e167364b folderAsset: yes timeCreated: 1506830430 licenseType: Pro DefaultImporter: userData: assetBundleName: assetBundleVariant:
7,498
https://github.com/SophiaLVP/playground/blob/master/javascript/features/limits/limits_decider.js
Github Open Source
Open Source
MIT
2,020
playground
SophiaLVP
JavaScript
Code
928
2,773
// Copyright 2020 Las Venturas Playground. All rights reserved. // Use of this source code is governed by the MIT license, a copy of which can // be found in the LICENSE file. import { LimitsDecision } from 'features/limits/limits_decision.js'; import { PlayerEventObserver } from 'components/events/player_event_observ...
51,006
https://github.com/CredentialEngine/CredentialFinderEditor/blob/master/Models/ProfileModels/OrganizationRoleProfile.cs
Github Open Source
Open Source
Apache-2.0
2,018
CredentialFinderEditor
CredentialEngine
C#
Code
498
1,103
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Models.Common; namespace Models.ProfileModels { //Note - referred to as AgentRoleProfile in the spreadsheet public class OrganizationRoleProfile : BaseProfile { public OrganizationRoleProfi...
23,581
https://github.com/homectl/lambdacnc-lc3d/blob/master/tools/lc.hs
Github Open Source
Open Source
BSD-3-Clause
2,021
lambdacnc-lc3d
homectl
Haskell
Code
495
1,077
import Control.Monad import Data.Aeson import qualified Data.ByteString.Lazy as B import Data.Either import Data.Monoid import Data.Version import Options.Applicative import Paths_lambdacnc (version) import System.FilePath import ...
34,648
https://github.com/mikemajara/fastboard.io.front/blob/master/src/services/drawings/tools/image/onImageAdded.js
Github Open Source
Open Source
MIT
2,021
fastboard.io.front
mikemajara
JavaScript
Code
248
666
import { Raster } from 'paper'; import { Log, getScaleFactor, point2net } from '#utils'; import { canvasIds, drawingsLayers, mapLayers, viewPortItemName, } from '#constants'; const maxRatio = 0.8; // Max ratio for created raster compared to current viewport const crossOrigin = 'anonymous'; // @see https://developer...
1,558
https://github.com/pruthvihebbani/S1APTester/blob/master/TestCntlrApp/src/egtpu/eg_socklayer.x
Github Open Source
Open Source
BSD-3-Clause
2,022
S1APTester
pruthvihebbani
null
Spoken
1,015
2,206
/** * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ /********************************************************************20** Name: EGTP layer ...
9,037
https://github.com/vasildakov/LendInvest/blob/master/src/Domain/Entity/InvestmentInterface.php
Github Open Source
Open Source
MIT
2,016
LendInvest
vasildakov
PHP
Code
124
329
<?php /** * This file is part of the vasildakov/lendinvest project. * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. * * @copyright Copyright (c) Vasil Dakov <vasildakov@gmail.com> * @license http://opensource.org/licenses/MIT MIT * @...
1,936
https://github.com/zhangbo1997/Graph-Based-Malware-Prediction/blob/master/Data/benign/b1/smali/org/appcelerator/titanium/TiBaseActivity$ConfigurationChangedListener.smali
Github Open Source
Open Source
MIT
null
Graph-Based-Malware-Prediction
zhangbo1997
Smali
Code
39
166
.class public interface abstract Lorg/appcelerator/titanium/TiBaseActivity$ConfigurationChangedListener; .super Ljava/lang/Object; .source "TiBaseActivity.java" # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = Lorg/appcelerator/titanium/TiBaseActivity; .end annotation .annotation syste...
15,620
https://github.com/ppartarr/azure-sdk-for-java/blob/master/sdk/servicebus/microsoft-azure-servicebus/src/main/java/com/microsoft/azure/servicebus/IMessageEntityClient.java
Github Open Source
Open Source
MIT
2,022
azure-sdk-for-java
ppartarr
Java
Code
73
129
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. package com.microsoft.azure.servicebus; /** * Represents a messaging client to an Azure Service Bus entity. * * @since 1.0 */ public interface IMessageEntityClient extends ICloseable { /** * Gets the path of t...
450
https://github.com/networkfusion/Device.Net/blob/master/src/Usb.Net.UWP/UWPUsbInterfaceManager.cs
Github Open Source
Open Source
MIT
2,020
Device.Net
networkfusion
C#
Code
277
1,024
using Device.Net; using Device.Net.Exceptions; using Device.Net.UWP; using System; using System.Collections.Generic; using System.Threading.Tasks; using Windows.Foundation; using windowsUsbDevice = Windows.Devices.Usb.UsbDevice; namespace Usb.Net.UWP { public class UWPUsbInterfaceManager : UWPDeviceBase<windowsUs...
41,979
https://github.com/robstradling/certbot/blob/master/certbot-postfix/certbot_postfix/postconf.py
Github Open Source
Open Source
MIT, Apache-2.0
2,019
certbot
robstradling
Python
Code
655
1,649
"""Classes that wrap the postconf command line utility. """ import six from certbot import errors from certbot_postfix import util # pylint: disable=unused-import, no-name-in-module from acme.magic_typing import Dict, List, Tuple # pylint: enable=unused-import, no-name-in-module class ConfigMain(util.PostfixUtilBase...
13,746
https://github.com/SBoudrias/swag/blob/master/src/swag.miscellaneous.coffee
Github Open Source
Open Source
MIT
null
swag
SBoudrias
CoffeeScript
Code
33
115
Handlebars.registerHelper 'default', (value, defaultValue) -> value ? defaultValue Handlebars.registerHelper 'partial', (name, data) -> partial = Swag.Config.partialsPath + name data = if Utils.isUndefined(data) then {} else data Handlebars.registerPartial(name, require partial) unless Handlebars.parti...
43,572
https://github.com/ScalablyTyped/SlinkyTyped/blob/master/v/vue__compiler-core/src/main/scala/typingsSlinky/vueCompilerCore/mod/SlotFunctionExpression.scala
Github Open Source
Open Source
MIT
2,021
SlinkyTyped
ScalablyTyped
Scala
Code
100
432
package typingsSlinky.vueCompilerCore.mod import typingsSlinky.vueCompilerCore.vueCompilerCoreNumbers.`18` import org.scalablytyped.runtime.StObject import scala.scalajs.js import scala.scalajs.js.`|` import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess} @js.native trait Slot...
4,570
https://github.com/LinqLover/widgets/blob/master/repository/WidgetTools.package/UiUnanticipatedProgressService.class/instance/taskFor..st
Github Open Source
Open Source
MIT
2,021
widgets
LinqLover
null
Spoken
16
37
as yet unclassified taskFor: identifier ^ entries detect: [:e | e context == identifier] ifNone: []
25,788
https://github.com/proceau/MountWizzard4/blob/master/tests/unit_tests/base/test_ascomClass.py
Github Open Source
Open Source
Apache-2.0
2,021
MountWizzard4
proceau
Python
Code
674
2,218
############################################################ # -*- coding: utf-8 -*- # # # # # # # # # ## ## # ## # # # # # # # # # # # # # # # ## # ## ## ###### # # # # # # # # # Python-based Tool for interaction with the 10micron mounts # GUI with PyQT5 fo...
15,033
https://github.com/Mimi-Mahamah/SMA-Team-3/blob/master/posts/urls.py
Github Open Source
Open Source
MIT
2,021
SMA-Team-3
Mimi-Mahamah
Python
Code
50
243
from django.conf.urls import url from django.urls import path from . import views from .views import PostListView app_name = 'posts' urlpatterns = [ path('', PostListView.as_view(), name='home'), path('user/', views.users_profile, name='my-profile'), path('update-profile/', views.update_profile, name='upd...
49,564
https://github.com/poiyzy/antd-gr/blob/master/lib/input-number/index.js
Github Open Source
Open Source
MIT
2,016
antd-gr
poiyzy
JavaScript
Code
217
598
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } }...
3,265
https://github.com/scottstamp/FurniExtractor/blob/master/Flazzy/ABC/AVM2/Instructions/Stack Management/PushIntIns.cs
Github Open Source
Open Source
MIT
2,019
FurniExtractor
scottstamp
C#
Code
100
321
using Flazzy.IO; namespace Flazzy.ABC.AVM2.Instructions { public class PushIntIns : Primitive { private int _value; new public int Value { get => _value; set { _value = value; _valueIndex = ABC.Pool.AddConstant(value);...
12,650
https://github.com/kalaiarasan33/aws-sdk-go-v2/blob/master/service/amplify/api_op_CreateApp.go
Github Open Source
Open Source
Apache-2.0
2,020
aws-sdk-go-v2
kalaiarasan33
Go
Code
1,204
3,729
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. package amplify import ( "context" "fmt" "github.com/aws/aws-sdk-go-v2/aws" "github.com/aws/aws-sdk-go-v2/internal/awsutil" "github.com/aws/aws-sdk-go-v2/private/protocol" ) // The request structure used to create apps in Amplify. type Create...
50,718
https://github.com/patrickwyler/rdf4j/blob/master/tools/server-spring/src/test/java/org/eclipse/rdf4j/http/server/repository/statements/TestExportStatementsView.java
Github Open Source
Open Source
BSD-3-Clause
null
rdf4j
patrickwyler
Java
Code
170
710
/******************************************************************************* * Copyright (c) 2022 Eclipse RDF4J contributors. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Distribution License v1.0 * which accompanies this distribution, an...
43,153
https://github.com/anand-singh/handlebars.java/blob/master/handlebars/src/test/java/com/github/jknack/handlebars/issues/Issue527.java
Github Open Source
Open Source
Apache-2.0
2,022
handlebars.java
anand-singh
Java
Code
139
618
package com.github.jknack.handlebars.issues; import com.github.jknack.handlebars.v4Test; import org.junit.Test; public class Issue527 extends v4Test { @Test public void precompileShouldNotCompileTemplate() throws Exception { shouldCompileTo("{{precompile \"client_side\"}}", $("partials", $("client_si...
25,183
https://github.com/jockbert/gears-parameter-engine/blob/master/src/main/scala/se/mjukomp/gears/examples/Example.scala
Github Open Source
Open Source
Unlicense
null
gears-parameter-engine
jockbert
Scala
Code
9
29
package se.mjukomp.gears.examples case class Example(name: String, parts: ExamplePart*) {}
46,869
https://github.com/TrendingTechnology/swiftfiddle-formatter/blob/master/Public/js/logger.js
Github Open Source
Open Source
MIT
2,021
swiftfiddle-formatter
TrendingTechnology
JavaScript
Code
20
106
"use strict"; import { datadogLogs } from "@datadog/browser-logs"; datadogLogs.init({ clientToken: "pub43c12e5c173400e3670335f5dd0497ca", site: "datadoghq.com", service: "swift-format-browser", forwardErrorsToLogs: true, sampleRate: 100, });
14,848
https://github.com/necula01/bond/blob/master/rbond/spec/spec_helper.rb
Github Open Source
Open Source
BSD-2-Clause-FreeBSD
2,017
bond
necula01
Ruby
Code
5
30
$LOAD_PATH.unshift File.expand_path('../../lib', __FILE__) require 'bond/spec_helper'
49,659
https://github.com/pebsconsulting/couchbase-lite-core/blob/master/C/include/c4Document+Fleece.h
Github Open Source
Open Source
Apache-2.0
2,017
couchbase-lite-core
pebsconsulting
C
Code
119
357
// // c4Document+Fleece.h // LiteCore // // Created by Jens Alfke on 10/25/16. // Copyright © 2016 Couchbase. All rights reserved. // #pragma once #include "c4Document.h" #include "Fleece.h" #ifdef __cplusplus extern "C" { #endif /** \defgroup Documents Documents @{ */ /** \name Fleece-relat...
11,352
https://github.com/hemmerling/java-114014/blob/master/src/pruefungsvorbereitung/VCE2014ExamCQuestion027.java
Github Open Source
Open Source
Apache-2.0
2,017
java-114014
hemmerling
Java
Code
64
192
package pruefungsvorbereitung; import java.io.*; class DOS { public void renameDirectory() { File dir = new File("dir"); dir.mkdir(); File f1 = new File(dir, "f1.txt"); try { f1.createNewFile(); } catch (IOException e) { ; } File newDir = new File("newDir"); dir.renameTo(newDir); } } public c...
45,479
https://github.com/shuvo247/simple-commerce/blob/master/app/Http/Controllers/Backend/ProductController.php
Github Open Source
Open Source
MIT
2,021
simple-commerce
shuvo247
PHP
Code
360
1,328
<?php namespace App\Http\Controllers\Backend; use App\Http\Controllers\Controller; use App\Models\Category; use App\Models\Product; use Illuminate\Http\Request; use Illuminate\Support\Facades\DB; class ProductController extends Controller { /** * Display a listing of the resource. * * @return \Illu...
28,113
https://github.com/Tzbob/scalatags-hokko/blob/master/modules/core/src/main/scala/scalatags/hokko/Builder.scala
Github Open Source
Open Source
MIT
2,019
scalatags-hokko
Tzbob
Scala
Code
322
1,089
package scalatags.hokko import _root_.hokko.core.Engine import org.scalajs.dom import org.scalajs.dom.Event import snabbdom.VNode import scala.scalajs.js import scala.scalajs.js.{Array, |} import scalatags.generic class Builder { private[this] val handlers = js.Dictionary.empty[Engine => js.Function1[dom.Even...
7,258
https://github.com/arslannawaz/writermap/blob/master/public/0.js
Github Open Source
Open Source
MIT
null
writermap
arslannawaz
JavaScript
Code
173
509
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[0],{ /***/ "./resources/js/rwdImageMaps.min.js": /*!******************************************!*\ !*** ./resources/js/rwdImageMaps.min.js ***! \******************************************/ /*! no static exports found */ /***/ (function(module, exports) ...
41,683
https://github.com/kevinharvey/lookdatit-api-final/blob/master/redthat/submissions/views.py
Github Open Source
Open Source
Apache-2.0
null
lookdatit-api-final
kevinharvey
Python
Code
72
269
from rest_framework import serializers, viewsets, mixins import requests from bs4 import BeautifulSoup from .models import Submission class SubmissionSerializer(serializers.HyperlinkedModelSerializer): class Meta: model = Submission fields = ( 'url', 'title', 'external_link', 'upvot...
43,062