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/brisvag/pygfx/blob/master/pygfx/geometries/_plane.py
Github Open Source
Open Source
BSD-2-Clause
null
pygfx
brisvag
Python
Code
258
712
import numpy as np from ..resources import Buffer from ._base import Geometry def generate_plane(width, height, width_segments, height_segments): nx, ny = width_segments + 1, height_segments + 1 x = np.linspace(-width / 2, width / 2, nx, dtype=np.float32) y = np.linspace(-height / 2, height / 2, ny, dty...
4,400
https://github.com/IsaacLai1/Cleaning_Worker_Application/blob/master/lib/ui/home/timer_ui.dart
Github Open Source
Open Source
MIT
null
Cleaning_Worker_Application
IsaacLai1
Dart
Code
318
1,192
import 'dart:async'; import 'package:flutter/material.dart'; class TimerService extends ChangeNotifier { Stopwatch _watch; Timer _timer; Duration get currentDuration => _currentDuration; Duration _currentDuration = Duration.zero; bool get isRunning => _timer != null; TimerService() { _watch = Stopwatc...
406
https://github.com/CloudSurgeon/titan-server/blob/master/server/src/test/kotlin/io/titandata/sync/RsyncExecutorTest.kt
Github Open Source
Open Source
Apache-2.0
2,019
titan-server
CloudSurgeon
Kotlin
Code
433
1,449
/* * Copyright The Titan Project Contributors. */ package io.titandata.sync import io.kotlintest.TestCase import io.kotlintest.TestCaseOrder import io.kotlintest.TestResult import io.kotlintest.shouldBe import io.kotlintest.shouldThrow import io.kotlintest.specs.StringSpec import io.mockk.MockKAnnotations import io...
24,886
https://github.com/AsharKhan124/MyApplication/blob/master/android-firebase-mlkit-master/app/src/main/java/com/google/firebase/samples/apps/mlkit/BottomNavigationViewHelper.java
Github Open Source
Open Source
Apache-2.0
2,019
MyApplication
AsharKhan124
Java
Code
132
697
package com.google.firebase.samples.apps.mlkit; import android.content.Context; import android.content.Intent; import android.graphics.Color; import android.support.annotation.NonNull; import android.support.design.widget.BottomNavigationView; import android.util.Log; import android.view.MenuItem; import com.ittiany...
35,615
https://github.com/Digital-Methods-Sydney/ws-201812/blob/master/.gitignore
Github Open Source
Open Source
MIT
2,018
ws-201812
Digital-Methods-Sydney
Ignore List
Code
10
58
.Rproj.user .Rhistory .RData .Ruserdata slides_original.Rmd libs/ slides_original.html slides_original_files/ slides_cache/ ex2.R
56,529
https://github.com/adobe/alloy/blob/master/src/components/Personalization/dom-actions/dom/index.js
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, Apache-2.0
2,023
alloy
adobe
JavaScript
Code
201
336
/* Copyright 2019 Adobe. All rights reserved. This file is licensed to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
36,568
https://github.com/mdietrichstein/bug_repro_kotlinx.serialization_gradle_multiproject_ext_serializer/blob/master/domain/src/main/kotlin/Data.kt
Github Open Source
Open Source
Apache-2.0
null
bug_repro_kotlinx.serialization_gradle_multiproject_ext_serializer
mdietrichstein
Kotlin
Code
8
15
data class Data(val a: Int, val b: Int)
28,683
https://github.com/Hardik-2019/angular-tui/blob/master/projects/tui-image-editor-angular/src/lib/submenus/filter/filter.component.ts
Github Open Source
Open Source
MIT
2,021
angular-tui
Hardik-2019
TypeScript
Code
1,081
4,352
import { Component, Input, OnDestroy, OnInit } from '@angular/core'; import { BehaviorSubject, Subscription } from 'rxjs'; import { defaultColors, filterType, historyNames } from '../../consts'; import { HistoryItem, HistoryItemType } from '../../interfaces/history-item'; import { HistoryService } from '../../services/...
53,090
https://github.com/janhaveen/st1/blob/master/Stylrite/src/main/webapp/resources/js/productgrn/productgrnForm.js
Github Open Source
Open Source
MIT
2,019
st1
janhaveen
JavaScript
Code
79
569
$(document).ready(function() { $("#SubmitButtonProductGrn").click(function() { saveProductGrn(); }); /* $("#UpdateButtonBrand").click(function() { updateBrandData(); }); */ $("#closeBtn").click(function() { document.getElementById('insertBrandData').reset(); ...
31,073
https://github.com/matyioe92/SlinkyTyped/blob/master/i/ionic/src/main/scala/typingsSlinky/ionic/anon/PartialPaginateArgsResponMax.scala
Github Open Source
Open Source
MIT
2,021
SlinkyTyped
matyioe92
Scala
Code
163
722
package typingsSlinky.ionic.anon import typingsSlinky.ionic.definitionsMod.APIResponseSuccess import typingsSlinky.ionic.definitionsMod.PaginatorGuard import typingsSlinky.ionic.definitionsMod.PaginatorRequestGenerator import typingsSlinky.ionic.definitionsMod.Response import typingsSlinky.ionic.definitionsMod.SSHKey ...
38,027
https://github.com/shiraji/emoji/blob/master/src/main/kotlin/com/github/shiraji/emoji/data/pattern/PsiPlainTextPattern.kt
Github Open Source
Open Source
Apache-2.0
2,021
emoji
shiraji
Kotlin
Code
16
106
package com.github.shiraji.emoji.data.pattern import com.intellij.patterns.ElementPattern import com.intellij.patterns.PlatformPatterns import com.intellij.psi.PsiElement import com.intellij.psi.PsiPlainText val psiPlainTextPattern: ElementPattern<out PsiElement> = PlatformPatterns.psiElement(PsiPlainText::class.java...
23,911
https://github.com/asasdll/leaveth02/blob/master/resources/views/personnel/newcode_herd.blade.php
Github Open Source
Open Source
MIT
null
leaveth02
asasdll
PHP
Code
119
671
@extends('layouts.app') @section('content') @include('layouts.manu.personnel.manu_leave2') <div class="main-panel"> <!-- Navbar --> <nav class="navbar navbar-expand-lg " color-on-scroll="500"> <div class="container-fluid"> <a class="navbar-brand" href="#pablo">การขออนุมัติลา</a> ...
1,628
https://github.com/julienje/sbb-angular/blob/master/src/components-examples/angular/notification/jumpmark-notification/jumpmark-notification-example.ts
Github Open Source
Open Source
Apache-2.0
2,019
sbb-angular
julienje
TypeScript
Code
51
145
import { Component } from '@angular/core'; import { SbbJumpMark } from '@sbb-esta/angular/notification'; /** * @title Jumpmark Notification * @order 30 */ @Component({ selector: 'sbb-jumpmark-notification-example', templateUrl: 'jumpmark-notification-example.html', }) export class JumpmarkNotificationExample { ...
56,281
https://github.com/mdhasanali3/teachable-ml/blob/master/src/logic/import/yolo/YOLOErrors.ts
Github Open Source
Open Source
MIT
null
teachable-ml
mdhasanali3
TypeScript
Code
106
290
export class YOLOAnnotationsLoadingError extends Error { constructor(message) { super(message); this.name = "YOLOAnnotationsLoadingError"; } } export class YOLOLabelsReadingError extends YOLOAnnotationsLoadingError { constructor() { super("Unexpected error occurred during reading la...
49,819
https://github.com/ggabriel96/cvsi/blob/master/app/src/main/java/io/github/ggabriel96/cvsi/android/camera/CameraStateCallback.java
Github Open Source
Open Source
Unlicense
2,017
cvsi
ggabriel96
Java
Code
102
519
package io.github.ggabriel96.cvsi.android.camera; import android.hardware.camera2.CameraAccessException; import android.hardware.camera2.CameraDevice; import android.support.annotation.NonNull; import android.view.Surface; import java.util.ArrayList; import java.util.List; public class CameraStateCallback extends Ca...
36,217
https://github.com/mikermcneil/lesshint/blob/master/test/specs/linters/string_quotes.js
Github Open Source
Open Source
MIT
null
lesshint
mikermcneil
JavaScript
Code
1,263
3,481
'use strict'; const expect = require('chai').expect; const spec = require('../util.js').setup(); describe('lesshint', function () { describe('#stringQuotes()', function () { it('should have the proper node types', function () { const source = '.foo { color: #fff; }'; return spec.p...
47,433
https://github.com/orazionelson/cocktail/blob/master/application/views/pages/opendataclient.php
Github Open Source
Open Source
MIT
null
cocktail
orazionelson
PHP
Code
383
1,177
<div class="clearfix"></div> <div class="container"> <div id="bparticle" class="tocfy" data-toc-side="right" data-toc-position="fixed"> <h2>Open Data Client</h2> <p>The Open Data Client is a module that helps you to show and provide Open Data.</p> <p>You can share google spreadsheets or local csv files.</p> <...
22,867
https://github.com/hexresearch/ghc/blob/master/compiler/GHC/Data/EnumSet.hs
Github Open Source
Open Source
BSD-3-Clause
2,021
ghc
hexresearch
Haskell
Code
331
671
{-# LANGUAGE BangPatterns #-} {-# LANGUAGE GeneralizedNewtypeDeriving #-} -- | A tiny wrapper around 'IntSet.IntSet' for representing sets of 'Enum' -- things. module GHC.Data.EnumSet ( EnumSet , member , insert , delete , toList , fromList , empty , difference ) where import GHC.Pr...
222
https://github.com/osenft/libtock-rs/blob/master/tools/print_sizes/src/main.rs
Github Open Source
Open Source
Apache-2.0, MIT
2,022
libtock-rs
osenft
Rust
Code
418
1,306
// Architectures that we expect the examples to be built for. const ARCHITECTURES: [&str; 2] = ["riscv32imc-unknown-none-elf", "thumbv7em-none-eabi"]; // The order of these fields actually matters, because it affects the derived // Ord impl. I have a suspicion that when I introduce size diffs into the CI, // this orde...
22,686
https://github.com/bgoonz/UsefulResourceRepo2.0/blob/master/MY_REPOS/learning-nextjs/next.js-master/examples/progressive-render/components/Loading.js
Github Open Source
Open Source
MIT
2,022
UsefulResourceRepo2.0
bgoonz
JavaScript
Code
30
99
import React from 'react' export default function Loading() { return ( <div> <h3>Loading...</h3> <style jsx>{` div { align-items: center; display: flex; height: 50vh; justify-content: center; } `}</style> </div> ) }
46,539
https://github.com/tmanev/quis-listing/blob/master/src/main/java/com/manev/quislisting/service/DlContentFieldItemGroupService.java
Github Open Source
Open Source
Apache-2.0
2,018
quis-listing
tmanev
Java
Code
216
1,176
package com.manev.quislisting.service; import com.manev.quislisting.domain.DlContentField; import com.manev.quislisting.domain.DlContentFieldItemGroup; import com.manev.quislisting.domain.qlml.QlString; import com.manev.quislisting.repository.DlContentFieldItemGroupRepository; import com.manev.quislisting.repository.D...
55,705
https://github.com/fossabot/bunqDesktop/blob/master/src/react/Components/AccountList/AddAccount.jsx
Github Open Source
Open Source
MIT
null
bunqDesktop
fossabot
null
Spoken
89
297
import React from "react"; import { connect } from "react-redux"; import ListItem from "@material-ui/core/ListItem"; import ListItemText from "@material-ui/core/ListItemText"; import Avatar from "@material-ui/core/Avatar"; import AddBoxIcon from "@material-ui/icons/AddBox"; import NavLink from "../../Components/Routin...
42,861
https://github.com/ppwwyyxx/OpenPano/blob/master/src/main.cc
Github Open Source
Open Source
MIT
2,022
OpenPano
ppwwyyxx
C++
Code
1,059
4,200
// File: main.cc // Date: Wed Jun 17 20:29:58 2015 +0800 // Author: Yuxin Wu #define _USE_MATH_DEFINES #include <cmath> #include "feature/extrema.hh" #include "feature/matcher.hh" #include "feature/orientation.hh" #include "lib/mat.h" #include "lib/config.hh" #include "lib/geometry.hh" #include "lib/imgproc.hh" #incl...
20,953
https://github.com/guizmaii/simplesagas/blob/master/simplesaga-saga/src/main/java/io/simplesource/saga/saga/internal/SetupStream.java
Github Open Source
Open Source
Apache-2.0
2,019
simplesagas
guizmaii
Java
Code
183
996
package io.simplesource.saga.saga.internal; import io.simplesource.data.NonEmptyList; import io.simplesource.data.Result; import io.simplesource.kafka.internal.util.Tuple2; import io.simplesource.saga.model.messages.SagaRequest; import io.simplesource.saga.model.messages.SagaResponse; import io.simplesource.saga.model...
5,228
https://github.com/Darshana936/Demo-Project/blob/master/routes/web.php
Github Open Source
Open Source
MIT
null
Demo-Project
Darshana936
PHP
Code
113
1,023
<?php use App\Http\Controllers\BannerController; use App\Http\Controllers\CategoryController; use App\Http\Controllers\ProductController; use App\Http\Controllers\ProductImageController; use App\Http\Controllers\RoleViewController; use App\Http\Controllers\usercontroller; use GuzzleHttp\Promise\Create; use Illuminate\...
48,278
https://github.com/xuxiaowei007/nectar3d/blob/master/framework/src/main/java/com/neocoders/nectar3d/scene/util/builder/GeometryBuilder.java
Github Open Source
Open Source
Zlib, LicenseRef-scancode-unknown-license-reference
2,008
nectar3d
xuxiaowei007
Java
Code
432
1,106
/* * Copyright (c) 2007 Lindsay S. Kay, All Rights Reserved * * This software is provided 'as-is', without any express or implied * warranty. In no event will the authors be held liable for any damages * arising from the use of this software. * * Permission is granted to anyone to use this software for any purpo...
22,200
https://github.com/bit-whacker/website/blob/master/apps/dynamic/assets/css/fonts.less
Github Open Source
Open Source
MIT
2,015
website
bit-whacker
Less
Code
35
272
@import url(https://fonts.googleapis.com/css?family=Roboto:500,400italic,300,500italic,300italic,400&subset=latin,latin-ext,cyrillic-ext,greek-ext,greek,cyrillic,vietnamese); @font-family-sans-serif: Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif; @font-size-base: 17px; @line-height-base: 22 / 14; @blockquote-...
52,579
https://github.com/nbatada/tojup/blob/master/tojup.py
Github Open Source
Open Source
MIT
2,020
tojup
nbatada
Python
Code
539
1,886
#!/usr/bin/env python3 # coding: utf-8 # # Please get in touch to report bugs or have a feature request # Nizar Batada (firstname dot lastname @ gmail ) # ##%% ''' This program will convert a script file into a jupyter notebook. Usage: ./convert_script_to_jupyter.py -f myprog.sh -l bash > myprog.ipynb https://ipyt...
20,578
https://github.com/mongocn/jcommerce/blob/master/sandbox/core/src/main/java/com/jcommerce/core/dao/AuctionLogDAO.java
Github Open Source
Open Source
Apache-2.0
2,021
jcommerce
mongocn
Java
Code
34
120
/** * Author: Bob Chen */ package com.jcommerce.core.dao; import java.util.List; import com.jcommerce.core.model.AuctionLog; public interface AuctionLogDAO extends DAO { public List<AuctionLog> getAuctionLogList(); public AuctionLog getAuctionLog(Long id); public void saveAuctionLog(AuctionLog obj); ...
53,340
https://github.com/XinYang-YXY/heDeno/blob/master/heDeno/AppointmentSuccess.aspx.cs
Github Open Source
Open Source
MIT
null
heDeno
XinYang-YXY
C#
Code
66
233
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace heDeno { public partial class AppointmentSuccess : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { if (Se...
36,954
https://github.com/Aliandrana/untech-editor/blob/master/src/gui/widgets/metasprite/framegraphicaleditor.h
Github Open Source
Open Source
MIT
2,016
untech-editor
Aliandrana
C++
Code
217
760
#ifndef _UNTECH_GUI_WIDGETS_METASPRITE_FRAMEGRAPHICALEDITOR_H_ #define _UNTECH_GUI_WIDGETS_METASPRITE_FRAMEGRAPHICALEDITOR_H_ #include "selection.h" #include "gui/widgets/defaults.h" #include <gtkmm.h> namespace UnTech { namespace Widgets { namespace MetaSprite { namespace MS = UnTech::MetaSprite; class FrameGraph...
35,619
https://github.com/wordset/wordset-legacy/blob/master/app/api/wordsets/v1/posts.rb
Github Open Source
Open Source
MIT
2,015
wordset-legacy
wordset
Ruby
Code
54
158
module Wordsets module V1 class Posts < Grape::API include Wordsets::V1::Defaults resource :posts do get "/", :each_serializer => PostSerializer do Post.where(state: 'published').sort({published_at: -1}).to_a end get ':slug' do post = Post.where(slug: par...
35,171
https://github.com/ketsonroberto/stackrl/blob/master/stackrl/envs/data/generated/50_097.obj
Github Open Source
Open Source
MIT
2,020
stackrl
ketsonroberto
Wavefront Object
Code
562
1,416
# https://github.com/mikedh/trimesh v 0.00671765 0.02837911 -0.01263082 v 0.02376215 0.02376733 -0.00785475 v 0.00327447 0.01953736 0.01214898 v 0.01665561 0.01978222 0.00524239 v -0.05787365 0.01685148 -0.00042745 v -0.03353056 0.02744882 0.00152067 v -0.04322521 0.00837755 -0.01479836 v -0.05032915 0.02837911 -0.0069...
33,928
https://github.com/Haehnchen/crypto-trading-bot/blob/master/web/static/js/backtest.js
Github Open Source
Open Source
MIT
2,023
crypto-trading-bot
Haehnchen
JavaScript
Code
625
3,015
$(function() { $('table.backtest-table').on('click', 'a.button-debug-toggle', function(e) { e.preventDefault(); $(this) .closest('.debug-toggle') .toggleClass('hide'); }); $('table.backtest-table').on('click', 'a.button-debug-toggle-all', function(e) { e.preventDefault(); $(this) ...
10,143
https://github.com/nikolausmayer/Advent-of-Code-2017/blob/master/day-11/golang/part-1.go
Github Open Source
Open Source
MIT
null
Advent-of-Code-2017
nikolausmayer
Go
Code
154
403
package main import ( "fmt" "io/ioutil" "os" ) func main() { if len(os.Args) < 2 { return } infile, err := os.Open(os.Args[1]) if err != nil { return } line, err := ioutil.ReadAll(infile) if err != nil { return } // Y Z // |/ // o // \ // X x, y, z := 0, 0, 0 var pp, p byte = ',...
50,019
https://github.com/whitmo/jujuresources/blob/master/setup.py
Github Open Source
Open Source
MIT
2,015
jujuresources
whitmo
Python
Code
91
394
from setuptools import setup import os version_file = os.path.abspath(os.path.join(os.path.dirname(__file__), 'VERSION')) with open(version_file) as v: VERSION = v.read().strip() SETUP = { 'name': "jujuresources", 'version': VERSION, 'author': "Cory Johns"...
16,842
https://github.com/MTES-MCT/sparte/blob/master/public_data/migrations/0027_alter_couvertureusagematrix_label.py
Github Open Source
Open Source
MIT
null
sparte
MTES-MCT
Python
Code
49
219
# Generated by Django 3.2.5 on 2021-11-02 11:03 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ("public_data", "0026_auto_20211029_0913"), ] operations = [ migrations.AlterField( model_name="couvertureusagematrix", ...
24,125
https://github.com/nf-core/viralintegration/blob/master/bin/extract_prelim_chimeric_genome_read_alignments.py
Github Open Source
Open Source
MIT
2,023
viralintegration
nf-core
Python
Code
232
982
#!/usr/bin/env python ######################################### # Author: [brianjohnhaas](https://github.com/brianjohnhaas) # File: extract_prelim_chimeric_genome_read_alignments.py # Source: https://github.com/broadinstitute/CTAT-VirusIntegrationFinder/blob/master/util/extract_prelim_chimeric_genome_read_alignments.p...
55,555
https://github.com/ajk1889/HTTP-Downloader2/blob/master/app/src/main/java/resonance/http/httpdownloader/implementations/DocIO.kt
Github Open Source
Open Source
MIT
null
HTTP-Downloader2
ajk1889
Kotlin
Code
168
571
package resonance.http.httpdownloader.implementations import android.content.Context import android.net.Uri import androidx.documentfile.provider.DocumentFile import resonance.http.httpdownloader.core.OutputObj import resonance.http.httpdownloader.core.otherwise import resonance.http.httpdownloader.core.silently impor...
18,891
https://github.com/Dragon-Dane/project-azua/blob/master/azua/utils/configs.py
Github Open Source
Open Source
MIT, LicenseRef-scancode-generic-cla
2,021
project-azua
Dragon-Dane
Python
Code
802
2,383
import itertools import os from ..utils.io_utils import read_json, recursive_update from ..utils.exceptions import ModelConfigNotFound from typing import Any, Dict, Optional, Tuple def get_configs( model_type: str = "pvae", dataset_name: Optional[str] = None, override_model_path: Optional[str] = None, ...
33,110
https://github.com/omurilo/medusa/blob/master/www/reference/src/components/CopyToClipboard/index.js
Github Open Source
Open Source
MIT
2,022
medusa
omurilo
JavaScript
Code
213
720
import React, { useState } from "react" import { Flex, Box, Text } from "theme-ui" import Clipboard from '../icons/clipboard' import ReactTooltip from "react-tooltip" import styled from "@emotion/styled" import copy from 'copy-to-clipboard' const StyledTooltip = ({id, text}) => { const StyledTooltip = styled(ReactTo...
43,763
https://github.com/magnolo/23/blob/master/angular/app/map/map.less
Github Open Source
Open Source
MIT
2,016
23
magnolo
Less
Code
481
1,745
@import (less) '../../material/colors.less'; div[ui-view='map'] { position: absolute; width: 100%; top: 0; height: 100%; #map-attribution{ background: rgba(255,255,255, 0.9); box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.2), 0 1px 1px 0 rgba(0, 0, 0, 0.14), 0 2px 1px -1px rgba(0, 0, 0, 0.12); ...
56,353
https://github.com/10088/spring-data-mongodb/blob/master/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/ReactiveMongoClientFactoryBean.java
Github Open Source
Open Source
Apache-2.0
null
spring-data-mongodb
10088
Java
Code
380
1,080
/* * Copyright 2016-2022 the original author or authors. * * 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
23,780
https://github.com/10x10sw/chordpro/blob/master/t/50_encodings.t
Github Open Source
Open Source
Artistic-2.0
2,018
chordpro
10x10sw
Perl
Code
298
947
#!/usr/bin/perl use strict; use warnings; use utf8; use Test::More; use Encode qw(encode from_to); use App::Music::ChordPro::Config; use App::Music::ChordPro::Songbook; our $config = App::Music::ChordPro::Config::configurator; # Prevent a dummy {body} for chord grids. $config->{diagrams}->{show} = 0; my $s = App::Mu...
26,728
https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby/src/schema/__tests__/fixtures/queries.js
Github Open Source
Open Source
MIT
2,023
gatsby
gatsbyjs
JavaScript
Code
318
1,157
const os = require(`os`) const path = require(`path`) const dir = os.platform() === "win32" ? "C:/Users/test/site" : "/home/test/site" const getTestNodes = () => [ { id: `file1`, parent: null, children: [`md1`], internal: { type: `File`, contentDigest: `file1`, }, name: `1.md`, ...
4,014
https://github.com/obsius/typed-binary-json/blob/master/test/plain.js
Github Open Source
Open Source
MIT
2,023
typed-binary-json
obsius
JavaScript
Code
41
142
export default function(Tbjson, stringify) { let tbjson = new Tbjson(); let x = { int: 999, string: 'string', array: [10, 10.0001, true, 'apple'], object: { float: 10.994, bool: false }, null: null, undefined: undefined }; return [ stringify(x), stringify(tbjson.parseBuffer(tbjson.seriali...
15,899
https://github.com/Ritesh2105/Grocery-Item-App/blob/master/public/grocery.js
Github Open Source
Open Source
MIT
null
Grocery-Item-App
Ritesh2105
JavaScript
Code
230
1,121
import 'https://cdnjs.cloudflare.com/ajax/libs/framework7/5.7.10/js/framework7.bundle.js'; import "https://cdnjs.cloudflare.com/ajax/libs/firebase/7.16.0/firebase-app.min.js"; import "https://cdnjs.cloudflare.com/ajax/libs/firebase/7.16.0/firebase-database.min.js"; import "https://cdnjs.cloudflare.com/ajax/libs/firebas...
30,980
https://github.com/richardvenneman/talk/blob/master/plugins/talk-plugin-auth/client/login/components/ForgotPassword.js
Github Open Source
Open Source
Apache-2.0
2,021
talk
richardvenneman
JavaScript
Code
162
747
import React from 'react'; import PropTypes from 'prop-types'; import styles from './ForgotPassword.css'; import { Button, TextField } from 'plugin-api/beta/client/components/ui'; import { t } from 'plugin-api/beta/client/services'; class ForgotPassword extends React.Component { handleSignUpLink = e => { e.preve...
40,383
https://github.com/Shyamjitiwari/new/blob/master/app/Http/Controllers/BuilderController.php
Github Open Source
Open Source
MIT
null
new
Shyamjitiwari
PHP
Code
293
981
<?php namespace App\Http\Controllers; use App\Builder; use Illuminate\Http\Request; use Illuminate\Support\Facades\Auth; use Illuminate\Support\Facades\Config; class BuilderController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ pu...
47,611
https://github.com/pickjob/java-starter/blob/master/base/src/main/java/app/utils/ByteUtils.java
Github Open Source
Open Source
MIT
null
java-starter
pickjob
Java
Code
42
129
package app.utils; public class ByteUtils { public static String byteToHexString(byte[] bytes) { StringBuilder stringBuilder = new StringBuilder("["); for (byte b : bytes) { stringBuilder.append(Integer.toHexString(b)).append(", "); } if (stringBuilder.length() > 1 ) { ...
48,397
https://github.com/JDzhambazov/HouseManager/blob/master/.editorconfig
Github Open Source
Open Source
MIT
2,021
HouseManager
JDzhambazov
null
Spoken
23
59
[*.cs] # SA1649: File name should match first type name dotnet_diagnostic.SA1649.severity = none # Default severity for all analyzer diagnostics dotnet_analyzer_diagnostic.severity = none
51,909
https://github.com/Yangjxxxxx/ZNBase/blob/master/vendor/github.com/knz/go-libedit/unix/wrap-eln.c
Github Open Source
Open Source
MIT, BSD-3-Clause
2,021
ZNBase
Yangjxxxxx
C
Code
2
12
#include "libedit-eln.c"
1,932
https://github.com/ptrfrncsmrph/tak-beginners/blob/master/test/Spec/Homework/W05.hs
Github Open Source
Open Source
BSD-3-Clause
null
tak-beginners
ptrfrncsmrph
Haskell
Code
831
1,966
{-# LANGUAGE BlockArguments #-} {-# LANGUAGE TemplateHaskell #-} module Spec.Homework.W05 where import Control.Monad (void) import Data.List (sort) import Hedgehog ( (===), Property, checkParallel, diff, discover, forAll, property, ) import qualified Hedgehog.Gen as Gen import Hedgehog.Mai...
29,545
https://github.com/SINTEF/simapy/blob/master/src/sima/riflex/rayleighdamping.py
Github Open Source
Open Source
MIT
null
simapy
SINTEF
Python
Code
40
106
# Generated with RayleighDamping # from enum import Enum from enum import auto class RayleighDamping(Enum): """""" TOTAL = auto() MATERIAL = auto() def label(self): if self == RayleighDamping.TOTAL: return "Total stiffness damping" if self == RayleighDamping.MATERIAL: ...
16,480
https://github.com/liushouhuo/windows/blob/master/developer/VSSDK/VisualStudioIntegration/Common/Source/CPP/VSL/MockInterfaces/VSLMockIVsGlobalsCallback2.h
Github Open Source
Open Source
MIT
2,018
windows
liushouhuo
C++
Code
281
1,391
/*************************************************************************** Copyright (c) Microsoft Corporation. All rights reserved. This code is licensed under the Visual Studio SDK license terms. THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES...
39,099
https://github.com/SkelletonX/DDTank4.1/blob/master/Source Flash/scripts/game/objects/GamePet.as
Github Open Source
Open Source
MIT
2,022
DDTank4.1
SkelletonX
null
Spoken
317
1,311
package game.objects { import com.pickgliss.loader.ModuleLoader; import ddt.data.FightBuffInfo; import ddt.display.BitmapLoaderProxy; import ddt.events.LivingEvent; import ddt.manager.PathManager; import ddt.manager.PetSkillManager; import flash.geom.Rectangle; import game.model.Living; impor...
13,168
https://github.com/gentuxx/projet_dcll/blob/master/MJX/src/main/java/xml2json/Xml2Json.java
Github Open Source
Open Source
Apache-2.0
2,013
projet_dcll
gentuxx
Java
Code
198
397
/*Copyright [2013] [MJX developers] * * 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 agree...
3,039
https://github.com/mhatvan/flow-runtime/blob/master/packages/flow-runtime/src/__tests__/__fixtures__/ThisType/thisTypeInClassMethodRecorded.js
Github Open Source
Open Source
MIT
2,019
flow-runtime
mhatvan
JavaScript
Code
73
191
/* @flow */ import type TypeContext from '../../../TypeContext'; export function pass (t: TypeContext) { class A { x (): this { const _returnType = t.return(t.this(this)); return _returnType.assert(this); } } const a = new A(); a.x(); return a; } export function fail (t: TypeContext...
714
https://github.com/DanielZim/PyOpteryx/blob/master/pyopteryx/factories/usage_action_factories/abstract_usage_action_factory.py
Github Open Source
Open Source
MIT
null
PyOpteryx
DanielZim
Python
Code
173
808
from pyopteryx.utils.builder_utils import add_predecessor_precedence, add_successor_precedence from pyopteryx.utils.xml_utils import get_by_id, get_action_type, create_activity_name_from_action class AbstractUsageActionFactory: def __init__(self, action, xml_cache, input_data, processor, mapping_cache=None): ...
28,100
https://github.com/khanhmuy/windows10-post-install/blob/master/post_inst.ps1
Github Open Source
Open Source
Beerware
2,021
windows10-post-install
khanhmuy
PowerShell
Code
412
1,399
if (-Not ([Security.Principal.WindowsPrincipal] [Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole] 'Administrator')) { if ([int](Get-CimInstance -Class Win32_OperatingSystem | Select-Object -ExpandProperty BuildNumber) -ge 6000) { $CommandLine = "-File `"" +...
20,742
https://github.com/thebridge0491/intro_scala/blob/master/api/src/main/java/org/sandbox/intro_scala/practice/Classic_java.java
Github Open Source
Open Source
CECILL-B
null
intro_scala
thebridge0491
Java
Code
167
432
package org.sandbox.intro_scala.practice; import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** DocComment: * <p>Brief description.</p> */ public class Classic_java { private static final Logger pracLogger = LoggerFactory.getLogger("prac"); public static long fact_lp(final long n) { long acc = ...
14,132
https://github.com/DCubix/Nokia-Like-Snake-2D/blob/master/main.lua
Github Open Source
Open Source
MIT
null
Nokia-Like-Snake-2D
DCubix
Lua
Code
630
2,046
require "keycodes" screen ( 512, 412, 32, "Snake" ) setframetimer(30) --backcolor(185, 220, 200) backcolor(175, 190, 155) scene = createimage(128, 103) colorkey(255, 0, 255) bg = loadimage("data/bg.bmp") numf = loadbmpfont("data/num.bmp", 1, 38, "0123456789:ABCDEFGHIJKLMNOPQRSTUVWXYZ+") nocolorkey() fruit = { X = 0,...
55,833
https://github.com/Astatium5/hackathon-project/blob/master/server/src/routes/patient.js
Github Open Source
Open Source
MIT
null
hackathon-project
Astatium5
JavaScript
Code
167
424
/** * @swagger * tags: * name: Patient * description: API to manage patients. */ import express from 'express'; import controller from '../controllers/patient'; const patient = express.Router(); /** * @swagger * path: * /patient/: * post: * description: Creates a new patient * summary: C...
52,769
https://github.com/oliverhu/submarine/blob/master/submarine-cloud/Makefile
Github Open Source
Open Source
Apache-2.0
2,019
submarine
oliverhu
Makefile
Code
213
583
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
1,665
https://github.com/yuyang520/Hotel/blob/master/src/main/java/com/javaee/hotel/alipay/trade/page/refund.java
Github Open Source
Open Source
Apache-2.0
null
Hotel
yuyang520
Java
Code
175
966
package com.javaee.hotel.alipay.trade.page; import com.alipay.api.AlipayApiException; import com.alipay.api.AlipayClient; import com.alipay.api.DefaultAlipayClient; import com.alipay.api.request.AlipayTradeRefundRequest; import com.alipay.api.response.AlipayTradeRefundResponse; import com.javaee.hotel.domain.OrderList...
26,752
https://github.com/SkillsFundingAgency/das-public-sector-reporting/blob/master/src/SFA.DAS.PSRService.Web.Specflow.Tests/consts/PageUrls.cs
Github Open Source
Open Source
MIT
2,018
das-public-sector-reporting
SkillsFundingAgency
C#
Code
150
370
namespace SFA.DAS.PSRService.Web.Specflow.Tests.consts { public static class PageUrls { public const string Home = "/Home"; public const string ReportCreate = "/Report/Create"; public const string ReportEdit = "/Report"; public const string ReportSummary = "/Report/Summary"; ...
12,019
https://github.com/agc93/ClickTwice/blob/master/src/ClickTwice.Publisher.MSBuild/ArgBuilder.cs
Github Open Source
Open Source
MIT
2,017
ClickTwice
agc93
C#
Code
60
194
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ClickTwice.Publisher.MSBuild { class ArgBuilder { private StringBuilder _sb; public ArgBuilder(string argBase = "") { _sb = new StringBuilder(argBa...
48,498
https://github.com/wangaoming/awesome-spring-boot/blob/master/chapter-3/spring-ioc-annotation/src/main/java/soft/spring/bean/ioc/annotation/auto/annotation/HelloWorldImportSelector.java
Github Open Source
Open Source
MIT
2,020
awesome-spring-boot
wangaoming
Java
Code
42
159
package soft.spring.bean.ioc.annotation.auto.annotation; import org.springframework.context.annotation.ImportSelector; import org.springframework.core.type.AnnotationMetadata; import soft.spring.bean.ioc.annotation.auto.configuration.HelloWorldConfiguration; /** * @author : zhayh * @date : 2020-3-13 10:06 * @descr...
26,441
https://github.com/waringer/Alexa-Wetterochs/blob/master/build-linux.sh
Github Open Source
Open Source
BSD-3-Clause
null
Alexa-Wetterochs
waringer
Shell
Code
16
75
#!/bin/sh echo "build wetterochs" go build -ldflags "-X main.buildstamp=`date -u '+%Y-%m-%d_%I:%M:%S%p'` -X main.githash=`git rev-parse HEAD`" wetterochs.go
43,495
https://github.com/henesy/plan9-1e/blob/master/sys/src/cmd/samterm/flayer.c
Github Open Source
Open Source
MIT
2,021
plan9-1e
henesy
C
Code
959
4,219
#include <u.h> #include <libc.h> #include <libg.h> #include <frame.h> #include "flayer.h" #include "samterm.h" #define DELTA 10 static Flayer **llist; /* front to back */ static int nllist; static int nlalloc; static Rectangle lDrect; extern Bitmap screen; extern Mouse mouse; Vis visibility(Flayer *); void newvis...
22,224
https://github.com/ryanolsonx/aocelm2021/blob/master/tests/ExampleTests.elm
Github Open Source
Open Source
MIT
null
aocelm2021
ryanolsonx
null
Spoken
1,180
3,189
module ExampleTests exposing (..) import Day1 exposing (..) import Debug exposing (..) import Expect exposing (Expectation) import Fuzz exposing (Fuzzer, int, intRange, list, string) import Helpers exposing (..) import Parser exposing (DeadEnd, Problem(..), run) import Test exposing (..) suite = [ isFieldValidTe...
44,636
https://github.com/devweb18/sim-hotel/blob/master/application/views/cetak/bill_xls.php
Github Open Source
Open Source
MIT, LicenseRef-scancode-unknown-license-reference
2,019
sim-hotel
devweb18
PHP
Code
364
2,515
<?php header("Content-type: application/octet-stream"); header("Content-Disposition: attachment; filename=download.xls"); header("Pragma: no-cache"); header("Expires: 0"); ?> <h2>GUEST BILL</h2> <table border="1" width="100%" > <tr> <th colspan="9" align="left"><img align="left" src="<?php echo base_url();?...
14,006
https://github.com/number0/Cachet/blob/master/resources/lang/nl-NL/setup.php
Github Open Source
Open Source
BSD-3-Clause
null
Cachet
number0
PHP
Code
85
221
<?php /* * This file is part of Cachet. * * (c) Alt Three Services Limited * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ return [ 'setup' => 'Installatie', 'title' => 'Setup Cachet', 'service...
35,834
https://github.com/nikola-171/PHP-MVC-application-/blob/master/src/Models/AbstractModel.php
Github Open Source
Open Source
MIT
null
PHP-MVC-application-
nikola-171
PHP
Code
21
58
<?php namespace app\Models; use PDO; abstract class AbstractModel { protected $db; public function __construct(PDO $db) { $this->db = $db; } }
38,392
https://github.com/regehr/calc-compiler/blob/master/output-tuowen/power-overflow.ll
Github Open Source
Open Source
Apache-2.0
2,020
calc-compiler
regehr
LLVM
Code
252
654
; ModuleID = 'calc' source_filename = "calc" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: nounwind readnone declare { i64, i1 } @llvm.sadd.with.overflow.i64(i64, i64) #0 ; Function Attrs: nounwind readnone declare { i64, i1 } @llvm.ssub.with.overflow.i64(i64, i64) #0 ; Function Attrs: nounwind readno...
10,260
https://github.com/cesarmo759/android_kernel_samsung_msm8916/blob/master/external/libnl/Android.mk
Github Open Source
Open Source
Apache-2.0
2,020
android_kernel_samsung_msm8916
cesarmo759
Makefile
Code
76
390
LOCAL_PATH:= $(call my-dir) include $(CLEAR_VARS) LOCAL_SRC_FILES := lib/cache.c \ lib/data.c \ lib/nl.c \ lib/doc.c \ lib/cache_mngr.c \ lib/addr.c \ lib/socket.c \ lib/fib_lookup/lookup.c \ lib/fib_lookup/request.c \ lib/msg.c \ lib/object.c \ lib/attr.c \ lib/utils.c \ lib/cache_mngt.c \ lib/handler...
38,675
https://github.com/jsdelivrbot/dockerfiles-1/blob/master/data/o/omniscient/nodejs-builder/Dockerfile
Github Open Source
Open Source
MIT
2,018
dockerfiles-1
jsdelivrbot
Dockerfile
Code
120
330
# Dockerfile # The FROM directive sets the Base Image for subsequent instructions FROM omniscient/nodejs RUN apt-get update && apt-get install -y wget locales && \ wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add \- && \ echo "deb http://dl.google.com/linux/chrome/deb/ stabl...
3,133
https://github.com/carolahp/pharo/blob/master/bootstrap/src/Pharo30Bootstrap.package/PBVersionInfo.class/instance/commitHash.st
Github Open Source
Open Source
MIT
2,018
pharo
carolahp
null
Spoken
8
23
accessing commitHash ^ commitHash ifNil: [ 'UNKNOWN_COMMIT' ]
38,877
https://github.com/intuit/auto/blob/master/plugins/omit-release-notes/src/index.ts
Github Open Source
Open Source
MIT
2,023
auto
intuit
TypeScript
Code
267
725
import { Auto, IPlugin, validatePluginConfiguration } from "@auto-it/core"; import * as t from "io-ts"; const pattern = t.union([t.string, t.array(t.string)]); const pluginOptions = t.partial({ /** Usernames to omit */ username: pattern, /** Emails to omit */ email: pattern, /** Names to omit */ name: patt...
45,840
https://github.com/olonsoft-com/oCommerze/blob/master/app/Helper/Helpers.php
Github Open Source
Open Source
MIT
null
oCommerze
olonsoft-com
PHP
Code
2,221
7,834
<?php use App\Models\Associate; use App\Models\Department; use App\Models\Issue; use App\Models\IssueStateTracking; use App\Models\Notification; use App\Models\TeamMember; use App\Models\Unit; use App\Models\User; use Illuminate\Support\Facades\Auth; use Illuminate\Support\Facades\Cache; use Illuminate\Support\Facades...
37,739
https://github.com/seppo0010/notion/blob/master/images/eps/60604.eps
Github Open Source
Open Source
BSD-2-Clause
2,022
notion
seppo0010
PostScript
Code
549
1,244
%!PS-Adobe-3.0 EPSF-3.0 %%Creator: cairo 1.10.2 (http://cairographics.org) %%CreationDate: Mon Sep 29 08:40:58 2014 %%Pages: 1 %%BoundingBox: 0 -1 295 749 %%DocumentData: Clean7Bit %%LanguageLevel: 2 %%EndComments %%BeginProlog /cairo_eps_state save def /dict_count countdictstack def /op_count count 1 sub def userdict ...
40,905
https://github.com/tonisidneimc/CHIP-8-emu/blob/master/Makefile
Github Open Source
Open Source
MIT
null
CHIP-8-emu
tonisidneimc
Makefile
Code
51
162
EXEC = CHIP8-emu .PHONY: clean # If the first argument is "run"... ifeq (run,$(firstword $(MAKECMDGOALS))) # use the rest as arguments for "run" RUN_ARGS := $(wordlist 2,$(words $(MAKECMDGOALS)),$(MAKECMDGOALS)) # ...and turn them into do-nothing targets $(eval $(RUN_ARGS):;@:) endif all: $(MAKE) -C src all...
56,408
https://github.com/GrizzlyMcBear/teaching/blob/master/android/0_existing/13_VectorAsset_changing_ImageView/app/src/main/java/com/example/swappingwithvectors/MainActivity.java
Github Open Source
Open Source
MIT
null
teaching
GrizzlyMcBear
Java
Code
131
501
package com.example.swappingwithvectors; import androidx.appcompat.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.ImageButton; import android.widget.ImageView; public class MainActivity extends AppCompatActivity { ImageButton back, forward; ImageView img; ...
24,735
https://github.com/dorinah23/murexa/blob/master/.gitignore
Github Open Source
Open Source
Apache-2.0
2,021
murexa
dorinah23
Ignore List
Code
7
28
bin .idea/ *.iml *.swp *.log .DS_Store .vscode
43,834
https://github.com/lonnell/owl/blob/master/lib/owl_algodiff_generic.mli
Github Open Source
Open Source
MIT
2,017
owl
lonnell
OCaml
Code
3,145
5,300
(* * OWL - an OCaml numerical library for scientific computing * Copyright (c) 2016-2017 Liang Wang <liang.wang@cl.cam.ac.uk> *) (** Algodiff: algorithmic differentiation module *) (** To use Make functor in Algodiff, the passed in module needs to implement the following functions to support necessary mathematic...
32,569
https://github.com/Daniel0420/bs-react-navigation/blob/master/re/navigationRe.re
Github Open Source
Open Source
MIT
2,017
bs-react-navigation
Daniel0420
null
Spoken
296
781
type t 'params; type state 'params = { routeName: string, key: string, params: Js.t 'params, path: option string, index: option int /*routes: option (array (state {.}))*/ }; type stateJs 'params = Js.t { . key : string, routeName : string, path : Js.Undefined.t string, params : Js.Un...
35,833
https://github.com/showermat/zsr-utils/blob/master/accessories/mediawiki.py
Github Open Source
Open Source
Apache-2.0
null
zsr-utils
showermat
Python
Code
1,629
5,531
#! /usr/bin/python import sys import bs4 import re import os.path import shutil import requests import urllib.parse import json import time import signal import datetime import subprocess import threading import concurrent.futures import queue import traceback import hashlib import tracing # TODO # It would be nice ...
27,458
https://github.com/couchbase/couchbase-jvm-clients/blob/master/scala-client/src/main/scala/com/couchbase/client/scala/kv/MutationResult.scala
Github Open Source
Open Source
Apache-2.0
2,023
couchbase-jvm-clients
couchbase
Scala
Code
282
587
/* * Copyright (c) 2019 Couchbase, Inc. * * 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 agr...
32,624
https://github.com/jiumx60rus/grishyGhost/blob/master/node_modules/nodegit/include/odb_object.h
Github Open Source
Open Source
MIT
null
grishyGhost
jiumx60rus
C
Code
135
513
#ifndef GITODBOBJECT_H #define GITODBOBJECT_H // generated from class_header.h #include <nan.h> #include <string> extern "C" { #include <git2.h> } #include "../include/wrapper.h" #include "node_buffer.h" #include "../include/odb_object.h" #include "../include/oid.h" // Forward declaration. struct git_odb_object { }; ...
48,284
https://github.com/StatCan/aaw-kubeflow-controller/blob/master/vault.go
Github Open Source
Open Source
MIT
2,020
aaw-kubeflow-controller
StatCan
Go
Code
1,603
4,632
package main import ( "bytes" "fmt" "html/template" "path" "strings" vault "github.com/hashicorp/vault/api" "k8s.io/klog" ) // Create a VaultConfigurerStruct that implements the VaultConfigurer func NewVaultConfigurer(vc *vault.Client, kubePath, oidcAccessor string, minioInstances []string) *VaultConfigurerSt...
8,787
https://github.com/proscholy/proscholy-mobile/blob/master/lib/models/songbook.dart
Github Open Source
Open Source
MIT
2,021
proscholy-mobile
proscholy
Dart
Code
163
479
import 'package:zpevnik/models/model.dart' as model; import 'package:zpevnik/models/songbook_record.dart'; // prioritized songbook shortcuts in sorting const prioritized = {'K': 0, 'Kan': 1, 'H1': 2, 'H2': 3}; // wrapper around Songbook db model for easier field access class Songbook extends Comparable { final mode...
28,478
https://github.com/Ultra-Commerce-Staging/uc-sample-payment-gateway/blob/master/src/main/java/com/ultracommerce/payment/service/gateway/SamplePaymentGatewayTransactionConfirmationServiceImpl.java
Github Open Source
Open Source
Apache-2.0
null
uc-sample-payment-gateway
Ultra-Commerce-Staging
Java
Code
320
1,096
/* * #%L * UltraCommerce Framework Web * %% * Copyright (C) 2009 - 2013 Ultra Commerce * %% * Licensed under the Ultra End User License Agreement (EULA), Version 1.1 * (the "Commercial License" located at http://license.ultracommerce.org/commercial_license-1.1.txt). * * Alternatively, the Commercial License m...
7,952
https://github.com/MarginC/kame/blob/master/netbsd/sys/arch/vax/Makefile
Github Open Source
Open Source
BSD-3-Clause
2,022
kame
MarginC
Makefile
Code
15
53
# $NetBSD: Makefile,v 1.2 1998/06/12 23:22:46 cgd Exp $ # SUBDIR= include boot .include <bsd.subdir.mk>
34,642
https://github.com/bcbro/12628-RelicRecovery_2018/blob/master/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/processors/GlyphMovementAutoProcessor.java
Github Open Source
Open Source
MIT
null
12628-RelicRecovery_2018
bcbro
Java
Code
567
2,860
package org.firstinspires.ftc.teamcode.processors; import com.qualcomm.robotcore.eventloop.opmode.Autonomous; import com.qualcomm.robotcore.eventloop.opmode.LinearOpMode; import com.qualcomm.robotcore.hardware.DcMotor; import com.qualcomm.robotcore.hardware.DcMotorSimple; import com.qualcomm.robotcore.util.ElapsedTim...
23,159
https://github.com/anole1982/chatbot/blob/master/components/Demo/Git/GitContext.php
Github Open Source
Open Source
MIT
2,020
chatbot
anole1982
PHP
Code
220
1,017
<?php /** * This file is part of CommuneChatbot. * * @link https://github.com/thirdgerb/chatbot * @document https://github.com/thirdgerb/chatbot/blob/master/README.md * @contact <thirdgerb@gmail.com> * @license https://github.com/thirdgerb/chatbot/blob/master/LICENSE */ namespace Commune\Components\Demo\...
16,015
https://github.com/deim0707/nest-rest-api-minin/blob/master/src/toys/dto/update-toys.dto.ts
Github Open Source
Open Source
MIT
2,021
nest-rest-api-minin
deim0707
TypeScript
Code
24
58
/** * описываем, какие поля будем ожидать в объекте из метода UPDATE */ export class UpdateToysDto { readonly title: string; readonly price: number; }
39,526
https://github.com/PavelKovalchuk/prorm/blob/master/js/create_sm_img.js
Github Open Source
Open Source
MIT
2,017
prorm
PavelKovalchuk
JavaScript
Code
66
259
function genSmoothImage(){ var srcUrl = jQuery('.acf-button-generate').attr('data-imgenerate'); var boxMessage = jQuery('.acf-image-uploader .tmp-message'); if(srcUrl){ boxMessage.html("Wait, image is transforming"); boxMessage.show(); jQuery.ajax({ type : "post", ...
34,893
https://github.com/luowenda/python_tutorial/blob/master/chapter2/homework/localization/4-12/201611680169 4.12(第一部分).ipynb
Github Open Source
Open Source
MIT
2,019
python_tutorial
luowenda
Jupyter Notebook
Code
245
1,208
{ "cells": [ { "cell_type": "code", "execution_count": null, "metadata": { "collapsed": true, "deletable": true, "editable": true }, "outputs": [], "source": [ "练习1" ] }, { "cell_type": "code", "execution_count": 3, "metadata": { "collapsed": false, "deletabl...
31,254
https://github.com/bladecoder/bladecoder-adventure-engine/blob/master/blade-engine/src/com/bladecoder/engine/ui/PieMenu.java
Github Open Source
Open Source
Apache-2.0, LicenseRef-scancode-proprietary-license
2,023
bladecoder-adventure-engine
bladecoder
Java
Code
614
2,131
/******************************************************************************* * Copyright 2014 Rafael Garcia Moreno. * * 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://w...
42,593
https://github.com/Coffeekraken/coffeekraken/blob/master/packages/tools/sugar/.docmap/2.0.0/src/js/dom/scroll/scrollToLocationHash.ts
Github Open Source
Open Source
MIT
null
coffeekraken
Coffeekraken
TypeScript
Code
122
300
/** * * @name scrollToLocationHash * @namespace js.dom.scroll * @type Function * @platform js * @platform ts * @status beta * * Scroll to the location hash if an hash is present. * This function will try to get the target element from the hash and scroll to it * * @setting ...
16,879