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/bitclave/base-client-js/blob/master/src/utils/types/validators/annotations/IsBasePublicKey.ts
Github Open Source
Open Source
MIT
2,019
base-client-js
bitclave
TypeScript
Code
84
265
import { registerDecorator, ValidationArguments, ValidationOptions } from 'class-validator'; // tslint:disable-next-line:no-var-requires const Bitcore = require('bitcore-lib'); export function IsBasePublicKey(validationOptions?: ValidationOptions) { return (object: object, propertyName: string) => { cons...
11,239
https://github.com/elm/elm-lang.org/blob/master/editor/code-editor.js
Github Open Source
Open Source
2,023
elm-lang.org
elm
JavaScript
Code
960
2,815
(function() { // POLYFILL window.requestIdleCallback = window.requestIdleCallback || function (cb) { var start = Date.now(); return setTimeout(function () { cb({ didTimeout: false, timeRemaining: function () { return Math.max(0, 50 - (Date.now() - start)...
11,530
https://github.com/hgayan7/EthIndia-Codebase/blob/master/Contract/contractnew.sol
Github Open Source
Open Source
MIT, LicenseRef-scancode-free-unknown
2,019
EthIndia-Codebase
hgayan7
Gerber Image
Code
685
2,820
pragma solidity ^0.4.23; contract LandToken{ string public name = "Land Token"; string public symbol = "LAND"; uint256 public totalSupply = 1000; event Transfer( address indexed _from, address indexed _to, uint256 value ); mapping(address=>uint256) public balanceOf; ...
12,173
https://github.com/lechium/PUBC/blob/master/pubg/PrivateHeaders/AWSS3InventoryDestination.h
Github Open Source
Open Source
MIT
2,022
PUBC
lechium
Objective-C
Code
57
241
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. // #import "AWSModel.h" @class AWSS3InventoryS3BucketDestination; @interface AWSS3InventoryDestination : AWSModel { AWSS3InventoryS3BucketDestination *_s3BucketDestination; // 8 ...
47,382
https://github.com/tranquang229/utility-app/blob/master/src/app/views/learns/youtube/material-ui/MaterialUIYoutubeOutside.jsx
Github Open Source
Open Source
MIT
null
utility-app
tranquang229
null
Spoken
20
58
import React from 'react' const MaterialUIYoutubeOutside = () => { return ( <div> MaterialUIYoutubeOutside </div> ) } export default MaterialUIYoutubeOutside
44,901
https://github.com/rike422/kirinuki-core/blob/master/src/scraper/util.ts
Github Open Source
Open Source
MIT
2,023
kirinuki-core
rike422
TypeScript
Code
44
106
import { TransformContext } from '../types'; import { resolve as urlResolve } from 'url'; import { isAbsoluteUrl, isString } from '../util'; export function resolveURL(path: string, context: TransformContext): string { if (isString(context.origin) && !isAbsoluteUrl(path)) { return urlResolve(context.origin, path...
46,707
https://github.com/samuelLimaSantos/igarassu-parafusos-ferragens-ferramentas/blob/master/src/modules/users/repositories/interfaces/IUserRepository.ts
Github Open Source
Open Source
MIT
2,021
igarassu-parafusos-ferragens-ferramentas
samuelLimaSantos
TypeScript
Code
39
117
import { User } from '../../infra/typeorm/entities/User'; interface ICreateUserDTO { login: string; password: string; } interface IUserRepository { getLoginByLoginName(login: string): Promise<User | undefined>; createUser({ login, password }: ICreateUserDTO): Promise<void>; getIdAndPasswordByLogin(login: st...
40,157
https://github.com/sabrinaslattery/NonProfitCommunityVolunteering/blob/master/Volunteer/SignUpLogin/SelectSkillsViewController.swift
Github Open Source
Open Source
MIT
2,021
NonProfitCommunityVolunteering
sabrinaslattery
Swift
Code
53
179
// // SelectSkillsViewController.swift // Volunteer // // Created by William Ordaz on 2/22/21. // import Foundation import UIKit class SelectSkillsViewController:UIViewController, UITextFieldDelegate { @IBOutlet weak var saveButton: UIButton! @IBOutlet weak var dismissButton: UIButton! o...
24,998
https://github.com/tulabcode/G4-miner/blob/master/Scripts/3.reverse/Positive_region_median.pl
Github Open Source
Open Source
MIT
2,023
G4-miner
tulabcode
Perl
Code
328
1,035
#!usr/bin/perl -w use strict; use Getopt::Long; my $red = "\033[0;31m"; my $end = "\033[0m"; my ($in, $in_median, $out, $region_length, $help); GetOptions( "i=s"=>\$in, "m=s"=>\$in_median, "o=s"=>\$out, "l=i"=>\$region_length, "help|?"=>\$help, ); my $usage=<<INFO; Usage: perl $0 [options] Options: -i <...
16,776
https://github.com/jainsahab/AndroidSnooper/blob/master/Snooper/src/androidTest/java/com/prateekj/snooper/AndroidSnooperTest.kt
Github Open Source
Open Source
Apache-2.0, CC-BY-3.0
2,021
AndroidSnooper
jainsahab
Kotlin
Code
128
734
package com.prateekj.snooper import androidx.test.platform.app.InstrumentationRegistry.getInstrumentation import com.prateekj.snooper.networksnooper.database.SnooperRepo import com.prateekj.snooper.networksnooper.model.HttpCall.Builder import com.prateekj.snooper.rules.DataResetRule import com.prateekj.snooper.utils.E...
50,002
https://github.com/geffzhang/Wirehome.Core/blob/master/Wirehome.Core/Components/ComponentRegistryMessageBusWrapper.cs
Github Open Source
Open Source
Apache-2.0
2,018
Wirehome.Core
geffzhang
C#
Code
196
725
using System; using Wirehome.Core.MessageBus; using Wirehome.Core.Model; namespace Wirehome.Core.Components { public class ComponentRegistryMessageBusWrapper { private readonly MessageBusService _messageBusService; public ComponentRegistryMessageBusWrapper(MessageBusService messageBusService)...
50,842
https://github.com/dtodo1paco/js-basics/blob/master/fetchData/basic/node.js
Github Open Source
Open Source
MIT
2,021
js-basics
dtodo1paco
JavaScript
Code
35
100
const fetch = require('node-fetch'); const url = 'https://api.github.com/repos/dtodo1paco/js-basics/commits'; async function fetchData() { let response = await fetch(url); let commits = await response.json(); // read response body and parse as JSON console.log(`last commit`, commits[0]); } fetchData();
32,183
https://github.com/liangmingjie/ServiceTest/blob/master/ServiceTestDemo_Messenger/src/com/seven/messengerservicedemo/MessengerService.java
Github Open Source
Open Source
Apache-2.0
2,016
ServiceTest
liangmingjie
Java
Code
204
660
package com.seven.messengerservicedemo; import java.util.Timer; import java.util.TimerTask; import android.app.Service; import android.content.Intent; import android.os.Handler; import android.os.IBinder; import android.os.Message; import android.os.Messenger; import android.os.Process; import android.os.RemoteExcept...
55,223
https://github.com/NathanHawks/SR1eGameBot/blob/master/node_modules/@discordjs/rest/dist/index.cjs
Github Open Source
Open Source
Apache-2.0, Unlicense, LicenseRef-scancode-public-domain
2,022
SR1eGameBot
NathanHawks
JavaScript
Code
87
403
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); const CDN = require('./lib/CDN.cjs'); const DiscordAPIError = require('./lib/errors/DiscordAPIError.cjs'); const HTTPError = require('./lib/errors/HTTPError.cjs'); const RateLimitError = require('./lib/errors/RateLimitError.cjs'); const Requ...
7,482
https://github.com/Neusoft-Technology-Solutions/aws-sdk-cpp/blob/master/aws-cpp-sdk-mturk-requester/include/aws/mturk-requester/model/ServiceFault.h
Github Open Source
Open Source
Apache-2.0
2,022
aws-sdk-cpp
Neusoft-Technology-Solutions
C
Code
267
950
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include <aws/mturk-requester/MTurk_EXPORTS.h> #include <aws/core/utils/memory/stl/AWSString.h> #include <utility> namespace Aws { namespace Utils { namespace Json { class JsonValue; ...
26,594
https://github.com/janjakubnanista/poeditor-client/blob/master/test/terms_test.js
Github Open Source
Open Source
MIT
2,015
poeditor-client
janjakubnanista
JavaScript
Code
455
1,952
'use strict'; require('mocha'); var expect = require('expect.js'); var sinon = require('sinon'); var utils = require('../src/utils'); var q = require('q'); var Term = require('../src/Term'); var Terms = require('../src/Terms'); describe('Terms', function() { beforeEach(function() { this.deferred = q.defe...
55,189
https://github.com/JotaHerz/Sensor/blob/master/app/Models/Sense.php
Github Open Source
Open Source
MIT
null
Sensor
JotaHerz
PHP
Code
41
151
<?php namespace App\Models; use App\Events\SenseCreated; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Notifications\Notifiable; class Sense extends Model { protected $table = 'senses'; use HasFactory, Notifiable; protected $fillable =...
18,852
https://github.com/particle-iot/spark-sdk-android/blob/master/cloudsdk/src/main/java/org/kaazing/gateway/client/impl/http/HttpRequestListener.java
Github Open Source
Open Source
Apache-2.0
2,019
spark-sdk-android
particle-iot
Java
Code
259
459
/** * Copyright (c) 2007-2014 Kaazing Corporation. All rights reserved. * * 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 fil...
51,800
https://github.com/canonical-robots/DomainModelsRepositories/blob/master/CommRobotinoObjects/smartsoft/src-gen/CommRobotinoObjects/CommPlannerGoalListData.hh
Github Open Source
Open Source
BSD-3-Clause
2,020
DomainModelsRepositories
canonical-robots
C++
Code
108
406
//-------------------------------------------------------------------------- // Code generated by the SmartSoft MDSD Toolchain // The SmartSoft Toolchain has been developed by: // // Service Robotics Research Center // University of Applied Sciences Ulm // Prittwitzstr. 10 // 89075 Ulm (Germany) // // Information abo...
19,397
https://github.com/MatthewZito/lib.envoy/blob/master/t/envoy_test.c
Github Open Source
Open Source
MIT
null
lib.envoy
MatthewZito
C
Code
62
284
#include "libenvoy.h" #include <stdlib.h> /** * Lifecycle */ int run_test(envoy_t* (*setup)(void), void (*teardown)(envoy_t*), envoy_t* (*test)(envoy_t*)) { teardown(test(setup())); } envoy_t* setup(void) { return envoy_init("test_envoy"); } void teardown(envoy_t* envoy) { // csll_iterate(ll, free); // free(...
33,146
https://github.com/khaiwenng/vaapi-bypass/blob/master/src/common/unite/unite.h
Github Open Source
Open Source
MIT
2,020
vaapi-bypass
khaiwenng
C
Code
467
1,045
/* * Copyright (c) 2019 Intel Corporation. All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the * "Software"), to deal in the Software without restriction, including * without limitation the rights to use, ...
25,977
https://github.com/winasismahendra/ppp/blob/master/resources/views/master/tkj.blade.php
Github Open Source
Open Source
MIT
null
ppp
winasismahendra
PHP
Code
785
3,420
@extends('layout.master') @section('isi') <section class="home-section home-parallax home-fade home-full-height bg-dark-60 agency-page-header" id="home" data-background="{{asset('master/assets/images/3.jpg')}}"> <div class="titan-caption"> <div class="caption-content"> <div class="fo...
41,017
https://github.com/google/orbit/blob/master/third_party/liblog/logger.h
Github Open Source
Open Source
Apache-2.0, BSD-2-Clause, LicenseRef-scancode-free-unknown
2,023
orbit
google
C++
Code
216
462
/* * Copyright (C) 2016 The Android Open Source Project * * 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 app...
47,699
https://github.com/readr-media/news-projects/blob/master/src/components/ForeignLabourIII/ForeignLabourIII.vue
Github Open Source
Open Source
MIT
2,021
news-projects
readr-media
Vue
Code
1,203
5,272
<template> <main class="foreign-labour"> <app-logo class="no-sprite" href="https://www.readr.tw/" top="10px" left="10px" bgImage="/proj-assets/logo_readr.png"></app-logo> <app-share :shareUrl="commentsUrl" top="10px" right="10px" bgColor="#000" direction="down"></app-share> <section class="scene scene--fu...
1,803
https://github.com/jenry23/gad_calamba/blob/master/app/Http/Controllers/Api/V1/Admin/MonthlyIncomeApiController.php
Github Open Source
Open Source
MIT
null
gad_calamba
jenry23
PHP
Code
128
652
<?php namespace App\Http\Controllers\Api\V1\Admin; use App\Http\Controllers\Controller; use App\Http\Requests\StoreMonthlyIncomeRequest; use App\Http\Requests\UpdateMonthlyIncomeRequest; use App\Http\Resources\Admin\MonthlyIncomeResource; use App\Models\MonthlyIncome; use Illuminate\Support\Facades\Gate; use Illumina...
12,665
https://github.com/beichendexiatian/InstanceFusion/blob/master/src/Core/InstanceFusionCuda.h
Github Open Source
Open Source
Apache-2.0
null
InstanceFusion
beichendexiatian
C
Code
540
1,833
/* * This file is part of InstanceFusion. * */ #include <cuda_runtime.h> #include <cuda.h> //============ Mask Post processing =============================================== //CudaTask 0 void maskCleanOverlap(unsigned char* masks, const int masksNum,const int width, const int height); void depthMapGaussianfilt...
44,335
https://github.com/joyfulStalker/helper/blob/master/helper-java/helper-biz/src/main/java/helper/service/ITtUserDeviceService.java
Github Open Source
Open Source
Apache-2.0
null
helper
joyfulStalker
Java
Code
41
148
package helper.service; import com.baomidou.mybatisplus.extension.service.IService; import helper.entity.TtUserDevice; /** * <p> * 服务类 * </p> * * @author liuSongLin * @since 2021-02-17 */ public interface ITtUserDeviceService extends IService<TtUserDevice> { /** * 根据用户查询 * * @param userId ...
701
https://github.com/dp9u0/Notebook-CPP/blob/master/src/ch01/1.24.cpp
Github Open Source
Open Source
MIT
null
Notebook-CPP
dp9u0
C++
Code
53
139
#include <iostream> #include "Sales_item.h" using namespace std; int main() { Sales_item total; cin >> total; // 预先读取一笔 Sales_item item; while (cin >> item) { if (item.isbn() == total.isbn()) { total += item; } else { cout << total << endl; total = item; } } cout...
46,094
https://github.com/wbear2/ambari/blob/master/ambari-server/src/test/python/stacks/utils/RMFTestCase.py
Github Open Source
Open Source
Apache-2.0
2,021
ambari
wbear2
Python
Code
656
2,291
#!/usr/bin/env python ''' 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")...
15,023
https://github.com/GraphicalModelLab/GML_SaaS/blob/master/ui/v0.1/src/component/chatBox/chatElement.jsx
Github Open Source
Open Source
Apache-2.0
2,022
GML_SaaS
GraphicalModelLab
null
Spoken
164
332
/** * Copyright (C) 2018 Mao Ito * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
20,801
https://github.com/shisheng-1/epoxy/blob/master/epoxy-viewbinder/src/main/java/com/airbnb/epoxy/EpoxyViewBinderVisibilityTracker.kt
Github Open Source
Open Source
Apache-2.0
2,022
epoxy
shisheng-1
Kotlin
Code
971
2,501
package com.airbnb.epoxy import android.util.Log import android.util.SparseArray import android.view.View import android.view.ViewGroup import android.view.ViewTreeObserver import androidx.annotation.IdRes import androidx.annotation.IntRange import androidx.core.view.isVisible import androidx.recyclerview.widget.Recyc...
54,049
https://github.com/jellyfishsolutions/lynx-chat/blob/master/src/app/build.sh
Github Open Source
Open Source
Apache-2.0
null
lynx-chat
jellyfishsolutions
Shell
Code
10
29
yarn build --release rm -rf ../public/chat/app cp -r build ../public/chat/app
18,302
https://github.com/heikkimu/freeboard-sk/blob/master/src/app/modules/map/map.module.ts
Github Open Source
Open Source
Apache-2.0
null
freeboard-sk
heikkimu
TypeScript
Code
285
1,003
/***************************** * Freeboard Map components *****************************/ import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { MatButtonModule } from '@angular/material/button'; import { MatCardModule } from '@angular/material/card'; import { MatListModule...
36,474
https://github.com/scribenet/number_to/blob/master/test/test_fixnum_ext.rb
Github Open Source
Open Source
MIT
null
number_to
scribenet
Ruby
Code
292
922
# encoding: UTF-8 require_relative 'test_helper' require 'number_to/fixnum' class NumberToTests < Minitest::Test def test_fixnum_upper_roman assert 1.to_upper_roman == 'I' assert 12.to_upper_roman == 'XII' assert 594.to_upper_roman == 'DXCIV' end def test_fixnum_lower_roman assert 1.to_lower_rom...
55,729
https://github.com/CMLL/python-language-server/blob/master/src/LanguageServer/Impl/Telemetry/RequestTimer.cs
Github Open Source
Open Source
Apache-2.0
2,020
python-language-server
CMLL
C#
Code
356
921
// Copyright(c) Microsoft Corporation // All rights reserved. // // 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 // // THIS CODE IS PROVIDED ON AN ...
52,759
https://github.com/shayu78/ajs-diploma/blob/master/src/js/GameStateService.js
Github Open Source
Open Source
CC0-1.0
2,020
ajs-diploma
shayu78
JavaScript
Code
43
162
export default class GameStateService { constructor(storage) { this.storage = storage; } save(state, isUserSave) { if (isUserSave) this.storage.setItem('userState', JSON.stringify(state)); else this.storage.setItem('state', JSON.stringify(state)); } load(isUserLoad) { try { if (isUserL...
48,022
https://github.com/alanwangmodify/python-learn/blob/master/PythonDemo/scrapy_demo/scrapy_58/scrapy_58/spiders/spider_58.py
Github Open Source
Open Source
MIT
null
python-learn
alanwangmodify
Python
Code
85
301
# -*- coding: utf-8 -*- import scrapy from ..items import Scrapy58Item from pyquery import PyQuery class Spider58Spider(scrapy.Spider): name = 'spider_58' allowed_domains = ['58.com'] start_urls = ['http://bj.58.com/chuzu/'] #开始爬取的链接 def parse(self, response): jpy = PyQuery(response.text) ...
47,477
https://github.com/youyiio/java-echarts/blob/master/src/main/java/com/beyongx/echarts/ECharts.java
Github Open Source
Open Source
Apache-2.0
2,022
java-echarts
youyiio
Java
Code
435
1,733
package com.beyongx.echarts; import java.util.Map; import java.util.HashMap; import java.util.UUID; import com.beyongx.echarts.render.Engine; import com.beyongx.echarts.render.HtmlEngine; import com.beyongx.echarts.options.*; public class ECharts { private String id; //echarts dom id private Engine engine; ...
4,332
https://github.com/composewell/streamly-examples/blob/master/examples/AcidRain.hs
Github Open Source
Open Source
BSD-4-Clause-UC, Apache-2.0, BSD-3-Clause
2,023
streamly-examples
composewell
Haskell
Code
338
752
{-# LANGUAGE CPP #-} {-# LANGUAGE FlexibleContexts #-} -- Copyright : (c) 2017 Harendra Kumar -- (c) 2013, 2014 Gabriel Gonzalez -- -- This example is adapted from Gabriel Gonzalez's pipes-concurrency package. -- https://hackage.haskell.org/package/pipes-concurrency-2.0.8/docs/Pipes-Concur...
2,494
https://github.com/CalypsoCubesat/osal/blob/master/src/unit-test-coverage/vxworks/adaptors/inc/ut-adaptor-common.h
Github Open Source
Open Source
NASA-1.3, LicenseRef-scancode-unknown-license-reference, LicenseRef-scancode-warranty-disclaimer
2,020
osal
CalypsoCubesat
C
Code
187
458
/* * * Copyright (c) 2020, United States government as represented by the * administrator of the National Aeronautics Space Administration. * All rights reserved. This software was created at NASA Goddard * Space Flight Center pursuant to government contracts. * * This is governed by the NASA Op...
22,227
https://github.com/oguzbilgener/hnreader/blob/master/HNReader_n/src/main/java/com/oguzdev/hnclient/CommentItem.java
Github Open Source
Open Source
MIT
2,015
hnreader
oguzbilgener
Java
Code
223
709
package com.oguzdev.hnclient; public class CommentItem { private int depth; private String username; private String commentText; private String commentTime; private String commentLink; private String replyLink; private boolean op; private NewsItem opObject; public CommentItem() { depth = 0; username...
6,600
https://github.com/kubicek/docrails/blob/master/actionpack/lib/action_controller/rewindable_input.rb
Github Open Source
Open Source
MIT
2,009
docrails
kubicek
Ruby
Code
65
248
module ActionController class RewindableInput class RewindableIO < ActiveSupport::BasicObject def initialize(io) @io = io end def read(*args) read_original_io @io.read(*args) end def rewind read_original_io @io.rewind end def str...
39,284
https://github.com/Anirudradabas/dojo-website/blob/master/src/documentation/reference-guide/1.10/_static/js/dojox/mobile/TabBarButton.js.uncompressed.js
Github Open Source
Open Source
CC0-1.0
2,017
dojo-website
Anirudradabas
JavaScript
Code
759
2,719
//>>built define("dojox/mobile/TabBarButton", [ "dojo/_base/declare", "dojo/_base/lang", "dojo/_base/window", "dojo/dom-class", "dojo/dom-construct", "dijit/registry", // registry.byNode "./common", "./_ItemBase" ], function(declare, lang, win, domClass, domConstruct, registry, common, ItemBase){ /*===== var ...
17,542
https://github.com/HananMohammed/moltaqa/blob/master/app/Http/Controllers/Admin/ScreenController.php
Github Open Source
Open Source
MIT
null
moltaqa
HananMohammed
PHP
Code
217
678
<?php namespace App\Http\Controllers\Admin; use App\Http\Controllers\Controller; use App\Http\Requests\Admin\ScreenRequest; use App\Models\Admin\Screen; use App\Traits\ImageProcess; use Illuminate\Http\Request; class ScreenController extends Controller { use ImageProcess; /** * Display a listing of the ...
39,794
https://github.com/DonLuc/Atajo-TD/blob/master/packages/1.0/js/fineView.js
Github Open Source
Open Source
Apache-2.0
null
Atajo-TD
DonLuc
JavaScript
Code
432
1,475
_fineView = { model: [], onExit: function() { var _ = this; }, onLoaded: function() { var _ = this; }, onMessage: function() { }, testId: function() { alert('Test 2'); var msg; msg = "ID Number: " + $('#txtID').val(); alert(msg); }, fineCtrl: function($scope) { }, getTickets: func...
53,722
https://github.com/sarang2dan/git-coan2/blob/master/perl/realpath.pl
Github Open Source
Open Source
BSD-3-Clause
2,020
git-coan2
sarang2dan
Perl
Code
21
72
#!/usr/bin/perl #print the absolute path for an input pathname use strict; use Cwd 'abs_path'; my $abspath = abs_path($ARGV[0]); print "$abspath\n"; exit(0);
49,811
https://github.com/idelac3/tutorials/blob/master/hexagonal-arch-example/src/main/java/com/baeldung/tutorials/hexagonal/arch/example/OrderService.java
Github Open Source
Open Source
MIT
null
tutorials
idelac3
Java
Code
51
196
package com.baeldung.tutorials.hexagonal.arch.example; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; @Service public class OrderService { private static int MAJOR_UNIT_CUTOFF = 1000; @Autowired private OrderDao dao; public void crea...
18,960
https://github.com/lodyb/picha/blob/master/setup.sql
Github Open Source
Open Source
BSD-3-Clause
2,014
picha
lodyb
SQL
Code
100
286
CREATE SCHEMA IF NOT EXISTS `picha` DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci; CREATE TABLE IF NOT EXISTS `picha`.`comments` ( `image_id` VARCHAR(32) NOT NULL, `box_x` INT NULL, `box_y` INT NULL, `box_w` INT NULL, `box_h` INT NULL, `comment` VARCHAR(255) NOT NULL, `date` DATETIME NOT NULL) ENGI...
3,744
https://github.com/coreswitch/coreswitch/blob/master/pkg/s1ap/asn1/ResetAcknowledge.c
Github Open Source
Open Source
Apache-2.0
2,021
coreswitch
coreswitch
C
Code
173
732
/* * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) * From ASN.1 module "S1AP-PDU-Contents" * found in "r14.4.0/36413-e40.asn" * `asn1c -pdu=all -fcompound-names -findirect-choice -fno-include-deps -no-gen-example` */ #include "ResetAcknowledge.h" asn_TYPE_member_t asn_MBR_ResetAcknowledge_1[] = { { ATF...
47,290
https://github.com/rezalastana/Berlatih-Laravel-MVC/blob/master/app/Http/Controllers/RegisterController.php
Github Open Source
Open Source
MIT
null
Berlatih-Laravel-MVC
rezalastana
PHP
Code
31
119
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; class RegisterController extends Controller { public function form(){ return view('form'); } public function welcome(Request $request){ $nama_awal = $request['awal']; $nama_akhir = $request['akhir']; ret...
36,450
https://github.com/Naturhistoriska/dnakey/blob/master/dina-dnakey-logic/src/main/java/se/nrm/dina/dnakey/logic/BlastDbInfo.java
Github Open Source
Open Source
MIT
null
dnakey
Naturhistoriska
Java
Code
303
926
package se.nrm.dina.dnakey.logic; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.Serializable; import javax.annotation.PostConstruct; import javax.ejb.Startup; import javax.enterprise.context.ApplicationScoped; import javax.inject...
5,382
https://github.com/lastweek/source-freebsd/blob/master/src/sys/modules/cc/cc_chd/Makefile
Github Open Source
Open Source
Naumen, Condor-1.1, MS-PL
null
source-freebsd
lastweek
Makefile
Code
10
57
# $FreeBSD$ .PATH: ${SRCTOP}/sys/netinet/cc KMOD= cc_chd SRCS= cc_chd.c .include <bsd.kmod.mk>
50,490
https://github.com/jonathanstowe/XML-XSLT/blob/master/t/test_data/testsuite/TESTS/MSFT_Conformance_Tests/BVTs/out-default.xsl
Github Open Source
Open Source
FSFAP
null
XML-XSLT
jonathanstowe
null
Spoken
43
163
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <!-- xsl:output does not contain a method, default to HTML --> <xsl:output doctype-system="system"/> <xsl:template match="/"> <!-- Whitespace nodes should not keep HTML from being the default output method --> ...
28,730
https://github.com/rexwong/deeplearning4j/blob/master/libnd4j/include/ops/declarable/generic/boolean/is_strictly_increasing.cpp
Github Open Source
Open Source
Apache-2.0
2,021
deeplearning4j
rexwong
C++
Code
45
220
// // @author @cpuheater // #include <op_boilerplate.h> #if NOT_EXCLUDED(OP_is_strictly_increasing) #include <ops/declarable/CustomOperations.h> #include <ops/declarable/helpers/compare_elem.h> namespace nd4j { namespace ops { BOOLEAN_OP_IMPL(is_strictly_increasing, 1, true) { auto input = ...
11,358
https://github.com/sbprojects/sbasm3/blob/master/headers/atmel/m64hve2def.asm
Github Open Source
Open Source
CC0-1.0
2,023
sbasm3
sbprojects
Assembly
Code
7,151
13,677
;************************************************************************* ;* A P P L I C A T I O N N O T E F O R T H E A V R F A M I L Y ;* ;* Number : AVR000 ;* File Name : m64HVE2def.inc ;* Title : Register/Bit Definitions for the ATmega64HVE2 ;* Created : 2016-09-1...
46,448
https://github.com/Txiz/Code/blob/master/src/leetcode/offer/Problem64.java
Github Open Source
Open Source
MIT
2,021
Code
Txiz
Java
Code
135
925
package leetcode.offer; import java.util.Deque; import java.util.LinkedList; /** * 剑指Offer,59Ⅰ 滑动窗口的最大值 * * @author Txiz * @date 2021-07-04 **/ public class Problem64 { public int[] maxSlidingWindow(int[] nums, int k) { //单调队列 //下面是要注意的点: //队列按从大到小放入 //如果首位值(即最大值)不在窗口区间,删除首位 ...
15
https://github.com/mcenv/mce/blob/master/environment/src/serverTest/kotlin/mce/pass/Benchmarks.kt
Github Open Source
Open Source
MIT
2,022
mce
mcenv
Kotlin
Code
77
355
package mce.pass import kotlinx.benchmark.Benchmark import kotlinx.benchmark.Scope import kotlinx.benchmark.State import mce.ast.surface.Item import mce.fetch import mce.pass.backend.Defun import mce.pass.backend.Pack import mce.pass.backend.Stage import mce.pass.frontend.Elab import mce.pass.frontend.Zonk import mce....
10,927
https://github.com/dbaker731/BSBrackets.old/blob/master/BSBracketsApp/BSLogic/BSLogic.cs
Github Open Source
Open Source
MIT
2,021
BSBrackets.old
dbaker731
C#
Code
19
54
using System; using System.Collections.Generic; using System.Text; namespace BSLogic { public class BSLogicClass { public BSLogicClass() { } } }
48,593
https://github.com/Marenthyu/KINECTmania/blob/master/GameLogic/GameStateManager.cs
Github Open Source
Open Source
BSD-3-Clause
2,017
KINECTmania
Marenthyu
C#
Code
970
2,942
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.Serialization; using System.Text; using System.Threading; using System.Threading.Tasks; using KINECTmania.kinectProcessing; using NAudio.Utils; using NAudio.Wave; namespace KINECTmania.GameLogic { /// <summary>...
39,136
https://github.com/matyioe92/SlinkyTyped/blob/master/r/react-adaptive-hooks/src/main/scala/typingsSlinky/reactAdaptiveHooks/anon.scala
Github Open Source
Open Source
MIT
2,021
SlinkyTyped
matyioe92
Scala
Code
1,152
4,348
package typingsSlinky.reactAdaptiveHooks import typingsSlinky.reactAdaptiveHooks.mediaCapabilitiesMod.AudioMediaConfiguration import typingsSlinky.reactAdaptiveHooks.mediaCapabilitiesMod.VideoMediaConfiguration import typingsSlinky.reactAdaptiveHooks.reactAdaptiveHooksBooleans.`false` import typingsSlinky.reactAdaptiv...
50,457
https://github.com/Shapkofil/prometheus/blob/master/Prometheus/TileMap.gd
Github Open Source
Open Source
MIT
2,021
prometheus
Shapkofil
GAP
Code
577
2,040
extends TileMap export var _seed = -1 export var CHUNK_SIZE = 64 export var GEN_RADIUS = 1 export var FLOOR_SCALE = 2.0 export var FLOOR_TO_AIR_RATIO = .1 export var VARIATION = 10.0 export var VARIATION_SCALE = 20.0 export var SPAWN_TIME = 2.0 export var SPAWN_INFLUENCE = .01 export var RANDOM_TICK = 2.0 const pi =...
25,792
https://github.com/wdomitrz/hpc/blob/master/mpi-lab-04/floyd-warshall/Makefile
Github Open Source
Open Source
MIT
null
hpc
wdomitrz
Makefile
Code
93
270
# # A template for the 2016 MPI lab at the University of Warsaw. # Copyright (C) 2016, Konrad Iwanicki. # Modified: 2018, Krzysztof Rzadca # CC := CC # Available flags: # -DUSE_RANDOM_GRAPH=1 --- generates a random graph # -DUSE_RANDOM_SEED=123 --- uses a given seed to generate a random graph CFLAGS :=...
10,654
https://github.com/rku4er/nielsendesign-wp/blob/master/assets/less/components/_carousel.less
Github Open Source
Open Source
MIT
2,014
nielsendesign-wp
rku4er
Less
Code
143
587
body.single-product{ .carousel{ @media (min-width: @screen-md-min) { padding: 0 15%; } .carousel-inner{ > .item > img, > .item > a > img{ margin: 0 auto; } } .carousel-control{ background: none; ...
50,407
https://github.com/CoryBorek/EventCore/blob/master/src/main/java/dev/imabad/mceventsuite/core/util/PropertyMap.java
Github Open Source
Open Source
Unlicense, MIT
null
EventCore
CoryBorek
Java
Code
66
232
package dev.imabad.mceventsuite.core.util; import java.util.HashMap; public class PropertyMap extends HashMap<String, Object> { public int getIntProperty(String name){ if(this.get(name) instanceof Double){ return ((Double) this.get(name)).intValue(); } return (int) this.get(na...
41,848
https://github.com/eFaps/eFapsApp-Products/blob/master/src/main/efaps/ESJP/org/efaps/esjp/products/Inventory_Base.java
Github Open Source
Open Source
Apache-2.0
null
eFapsApp-Products
eFaps
Java
Code
3,691
10,836
/* * Copyright 2003 - 2016 The eFaps Team * * 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 ...
40,546
https://github.com/juanfelipe82193/opensap/blob/master/sapui5-sdk-1.74.0/test-resources/sap/ushell/demoapps/AppScflTest/view/App.controller.js
Github Open Source
Open Source
Apache-2.0
null
opensap
juanfelipe82193
JavaScript
Code
13
45
sap.ui.controller("AppScflTest.view.App", { onInit : function() { }, onExit : function() { } });
15,157
https://github.com/CycleCorporation/cycle-mobile/blob/master/src/screens/Login/styles.ts
Github Open Source
Open Source
MIT
null
cycle-mobile
CycleCorporation
TypeScript
Code
104
395
import styled from 'styled-components/native'; import { fontPixel, heightPixel, widthPixel } from '../../utils/pixelSize'; export const Container = styled.SafeAreaView` flex: 1; justify-content: center; background: #fff; `; export const Title = styled.Text` font-size: ${fontPixel(38)}px; color: #4a4b4d; font-fa...
46,324
https://github.com/rohan-varma/drlm_pt_ddp/blob/master/benchmark/single_machine_launch.py
Github Open Source
Open Source
MIT
2,021
drlm_pt_ddp
rohan-varma
Python
Code
43
170
import torch.multiprocessing as mp import pt_rpc_client import pt_rpc_server import grpc_client import grpc_server def main(): ctx = mp.get_context('spawn') print("#######==== gRPC ===#######") server_proc = ctx.Process(target=grpc_server.run) server_proc.start() import time ; time.sleep(2) c...
47,804
https://github.com/C-Rio/SpinEat_mobile_app/blob/master/components/backup.js
Github Open Source
Open Source
MIT
2,020
SpinEat_mobile_app
C-Rio
JavaScript
Code
563
1,920
import React from 'react'; import { StyleSheet, Text, View, Dimensions, Animated, PanResponder } from 'react-native'; import { Svg, LinearGradient } from 'expo'; const WIDTH = Dimensions.get('window').width; const COEF = 0.35; const COEF_SPACE = 0.5; const SCALING = 1.5; export default class Distance extends React.Co...
47,034
https://github.com/III-three/Wonder.js/blob/master/test/integration/worker/job/render_worker/front_render_light/frontRenderLightHardwareInstanceRenderWorker_test.re
Github Open Source
Open Source
MIT
2,020
Wonder.js
III-three
null
Spoken
255
1,025
open Wonder_jest; open Js.Promise; let _ = describe( "test front render light hardware instance in render worker", () => { open Expect; open Expect.Operators; open Sinon; let sandbox = getSandboxDefaultVal(); let state = ref(MainStateTool.createState()); beforeEach( ...
33,465
https://github.com/MOBX/hbase-tools/blob/master/src/test/java/com/mob/hbase/Test.java
Github Open Source
Open Source
Apache-2.0
null
hbase-tools
MOBX
Java
Code
26
59
/* * Copyright 2015-2020 uuzu.com All right reserved. */ package com.mob.hbase; /** * @author zxc Sep 29, 2016 4:56:13 PM */ public class Test { }
44,487
https://github.com/funlake/etcdcc/blob/master/server.sh
Github Open Source
Open Source
Apache-2.0
2,019
etcdcc
funlake
Shell
Code
15
140
#!/bin/bash go build . && ./etcdcc server.start \ --c=/mnt/d/develop/etcd-operator/example/tls/certs/etcd-client.crt \ --k=/mnt/d/develop/etcd-operator/example/tls/certs/etcd-client.key \ --ca=/mnt/d/develop/etcd-operator/example/tls/certs/etcd-client-ca.crt \ --hosts=https://example-client.default.svc:2379
14,118
https://github.com/awfskoo/react-tournament-bracket/blob/master/src/components/Bracket.jsx
Github Open Source
Open Source
MIT
2,017
react-tournament-bracket
awfskoo
JavaScript
Code
403
1,205
import React, { Component, PropTypes, PureComponent } from "react"; import _ from "underscore"; import GameShape from "./GameShape"; import winningPathLength from "../util/winningPathLength"; import BracketGame from "./BracketGame"; const toBracketGames = ({ GameComponent, game, x, y, gameDimensions, roundSeparatorWid...
37,609
https://github.com/mishaschwartz/Markus/blob/master/app/helpers/tags_helper.rb
Github Open Source
Open Source
MIT
2,018
Markus
mishaschwartz
Ruby
Code
199
776
module TagsHelper def get_tags_table_info tags = Tag.order(:name) tags.map do |tag| t = tag.attributes t[:user_name] = tag.user.first_name + ' ' + tag.user.last_name t[:use] = get_num_groupings_for_tag(tag.id) t[:edit_link] = view_context.link_to( 'Edit', edit_tag_...
21,011
https://github.com/ScalablyTyped/ScalajsReactTyped/blob/master/e/elastic__elasticsearch/src/main/scala/typingsJapgolly/elasticElasticsearch/anon/Fn3.scala
Github Open Source
Open Source
MIT
2,022
ScalajsReactTyped
ScalablyTyped
Scala
Code
55
319
package typingsJapgolly.elasticElasticsearch.anon import typingsJapgolly.elasticElasticsearch.libApiTypesMod.IndexRequest import typingsJapgolly.elasticElasticsearch.libApiTypesMod.IndexResponse import typingsJapgolly.elasticTransport.libTransportMod.TransportRequestOptions import org.scalablytyped.runtime.StObject im...
22,030
https://github.com/reusee/matrixcube/blob/master/components/prophet/prophet_job.go
Github Open Source
Open Source
Apache-2.0
null
matrixcube
reusee
Go
Code
502
1,861
// Copyright 2020 MatrixOrigin. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to i...
52,088
https://github.com/276726581/Tconf/blob/master/Tconf/src/main/java/com/timogroup/tconf/dao/mapper/UserMapper.java
Github Open Source
Open Source
Apache-2.0
null
Tconf
276726581
Java
Code
48
189
package com.timogroup.tconf.dao.mapper; import com.timogroup.tconf.entity.User; import org.apache.ibatis.annotations.Param; import java.util.List; /** * Created by TimoRD on 2016/10/31. */ public interface UserMapper { void save(User user); void update(User user); void deleteById(@Param("id") Intege...
24,865
https://github.com/VWWL/my-algorithm-class/blob/master/05-Queue/src/test/java/com/wwl/LoopQueueTest.java
Github Open Source
Open Source
Apache-2.0
2,021
my-algorithm-class
VWWL
Java
Code
148
298
/* * Copyright 2020-2030 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...
15,995
https://github.com/MrDecipher/mailgun-js/blob/master/lib/ips.ts
Github Open Source
Open Source
Apache-2.0
2,021
mailgun-js
MrDecipher
TypeScript
Code
67
216
const MgRequest = require('./request'); import { IpData, IpsListResponseBody } from './interfaces/Ips'; export default class IpsClient { request: typeof MgRequest; constructor(request: typeof MgRequest) { this.request = request; } list(query: any) { return this.request.get('/v3/ips', query) .th...
27,661
https://github.com/bashir2017/ruby-oo-practice-relationships-silicon-valley-exercise-nyc04-seng-ft-041920/blob/master/app/models/startup.rb
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, LicenseRef-scancode-public-domain
2,020
ruby-oo-practice-relationships-silicon-valley-exercise-nyc04-seng-ft-041920
bashir2017
Ruby
Code
111
438
class Startup @@all = [] attr_reader :name, :founder, :domain def initialize(name, founder, domain) @name = name @founder = founder @domain = domain save end def save @@all << self end def pivot(domain, name) @domain = domain ...
16,491
https://github.com/sinsii-lab/azure-quickstart-templates/blob/master/sas-viya/content/RiskModeling_v12_2020/source/BankingContent/ddl/country_snapshot_base.sas
Github Open Source
Open Source
MIT
null
azure-quickstart-templates
sinsii-lab
null
Spoken
80
664
CREATE TABLE &LIBREF..COUNTRY_SNAPSHOT_BASE ( /* I18NOK:BEGIN */ COUNTRY_CD VARCHAR(3) label='_CD', PERIOD_LAST_DTTM DATE FORMAT=&DTTMFMT INFORMAT=&DTTMFMT label='_DTTM', INFLATION_RT NUMERIC(9,4) FORMAT=NLNUM9.4 INFORMAT=NLNUM9.4 label='INFLATION_RT', EMPLOYMENT_GROWTH_RT NUME...
51,924
https://github.com/antuan159/goit-fe-course/blob/master/module-11/src/sass/styles.scss
Github Open Source
Open Source
MIT
2,019
goit-fe-course
antuan159
SCSS
Code
113
983
/* Import partials below */ @import './normalize'; @import './variables/variables.scss'; @import './plaseholder/plaseholder.scss'; @import "./mixin/mixin.scss"; @import "../sass/common/common.scss"; @import "../sass/container/container.scss"; /* sectiona*/ @import "../sass/section/section.scss"; @import "../sass/s...
45,204
https://github.com/thejoshwolfe/prismoid/blob/master/src/physics.hpp
Github Open Source
Open Source
MIT
2,020
prismoid
thejoshwolfe
C++
Code
66
209
#ifndef PHYSICS_HPP #define PHYSICS_HPP #include "list.hpp" #include "entity.hpp" #include "rat64.hpp" struct Collision { enum Orientation { UP = 1, LEFT = 2, DOWN = 4, RIGHT = 8, UP_LEFT = UP | LEFT, LEFT_DOWN = LEFT | DOWN, DOWN_RIGHT = DOWN ...
21,097
https://github.com/NReilingh/unsafe-hash-words/blob/master/unsafeHashHost.test.ts
Github Open Source
Open Source
MIT
null
unsafe-hash-words
NReilingh
TypeScript
Code
42
129
import { unsafeHashHost } from './unsafeHashHost'; test.each([ ['G97VVY1', 'gamerash'], ['VMware-56 4d 18 de 52 41 ac 4b-01 85 94 e1 0e 71 83 48', 'plusmost'], ['C07YG0X0JYW0', 'neonecho'] ])('test %s and 8-char limit results in %s', (input, expected) => { expect(unsafeHashHost(input, 8)).toBe(expected) });
21,109
https://github.com/lcsandlhq/tp/blob/master/ed_app/index/model/Informationregister.php
Github Open Source
Open Source
ECL-2.0, Apache-2.0
null
tp
lcsandlhq
PHP
Code
72
348
<?php namespace app\index\model; use think\Paginator; use think\Model; /** * */ class Informationregister extends Model { protected static $informationregister_db; protected static function init(){ self::$informationregister_db = model('informationregister'); } public function informationregisterselect($value)...
40,702
https://github.com/MinePlay96/visomaTicketsApi/blob/master/src/classes/Project.ts
Github Open Source
Open Source
Unlicense
null
visomaTicketsApi
MinePlay96
TypeScript
Code
148
630
export interface IProjectResponse { // eslint-disable-next-line @typescript-eslint/naming-convention Id: string; // eslint-disable-next-line @typescript-eslint/naming-convention Title: string; // eslint-disable-next-line @typescript-eslint/naming-convention Description: string; // eslint-disable-next-line...
35,045
https://github.com/Andreas237/AndroidPolicyAutomation/blob/master/ExtractedJars/Ibotta_com.ibotta.android/smali_classes2/com/ibotta/android/mvp/ui/activity/engagement/EngagementModule.smali
Github Open Source
Open Source
MIT
2,019
AndroidPolicyAutomation
Andreas237
Smali
Code
127
1,252
.class public Lcom/ibotta/android/mvp/ui/activity/engagement/EngagementModule; .super Lcom/ibotta/android/mvp/base/AbstractMvpModule; .source "EngagementModule.java" # annotations .annotation runtime Ldagger/Module; .end annotation .annotation system Ldalvik/annotation/Signature; value = { "Lcom/ibotta/a...
36,917
https://github.com/JeremyKuhne/terrafx.interop.windows/blob/master/generation/Windows/um/Psapi/um-Psapi.h
Github Open Source
Open Source
MIT
null
terrafx.interop.windows
JeremyKuhne
C
Code
4
27
#include "..\..\..\TerraFX.h" #include <Psapi.h>
53,479
https://github.com/danilvr/npm-dependencies-graphviz/blob/master/main.py
Github Open Source
Open Source
MIT
2,020
npm-dependencies-graphviz
danilvr
Python
Code
24
73
import sys from parser import NpmParser from graphviz import Graphviz args = sys.argv if len(args) != 2: print('Error! Wrong number of arguments') exit() print(Graphviz.generateText(NpmParser.getPackage(args[1])))
35,469
https://github.com/vieiraeduardos/sofia/blob/master/src/Styles/Styles.js
Github Open Source
Open Source
MIT
2,019
sofia
vieiraeduardos
JavaScript
Code
146
500
import { Dimensions, StyleSheet } from "react-native"; const height = Dimensions.get("window").height; const width = Dimensions.get("window").width; const styles = StyleSheet.create({ Container: { flex: 1, marginLeft: 37, marginRight: 37, justifyContent: "center", alignItems: "center" }, Bu...
556
https://github.com/petronny/aur3-mirror/blob/master/cloudprint-server/cloudprint-server.service
Github Open Source
Open Source
MIT
2,019
aur3-mirror
petronny
null
Spoken
18
99
[Unit] Description=Google Cloud Print Printer Server After=network.target [Service] User=root ExecStart=/usr/bin/chromium --type=service --enable-cloud-print-proxy --no-service-autorun --noerrdialogs --user-data-dir=/etc/cloudprint-server/ Restart=always [Install] WantedBy=multi-user.target
17,602
https://github.com/xMISSJ/GGJ2019-Snail_Trail/blob/master/src/sprites/ui/LeaderboardCard.js
Github Open Source
Open Source
MIT
2,019
GGJ2019-Snail_Trail
xMISSJ
JavaScript
Code
96
355
import Phaser from 'phaser'; import Sprite from '../../services/sprite'; import Text from '../../services/text'; export default class LeaderboardCard extends Phaser.Group { constructor(playerID, asset, x, y) { super(game); this.playerID = playerID; this.x = x; this.y = y; this.createCard(asset); ...
14,658
https://github.com/brharrington/spectator-js-nodejsmetrics/blob/master/.gitignore
Github Open Source
Open Source
Apache-2.0
2,019
spectator-js-nodejsmetrics
brharrington
Ignore List
Code
6
25
.idea coverage/ node_modules/ jsconfig.json *.tgz build/
38,220
https://github.com/stopnoanime/subleq-spinalhdl/blob/master/td_project/.gitignore
Github Open Source
Open Source
MIT
2,021
subleq-spinalhdl
stopnoanime
Ignore List
Code
5
25
/* !.gitignore !adc.adc !sdc.sdc !project.al
44,325
https://github.com/jaaayq/CRM/blob/master/app/Models/feedback2.php
Github Open Source
Open Source
MIT
null
CRM
jaaayq
PHP
Code
34
163
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Laravel\Sanctum\HasApiTokens; class feedback2 extends Model { use HasFactory, HasApiTokens; protected $fillable = [ 't1', 't2', 'AOS1', 'AOS2', ...
51,304
https://github.com/eccstartup/summer-2015-haskell-class/blob/master/Lisp/Reader.hs
Github Open Source
Open Source
MIT
2,015
summer-2015-haskell-class
eccstartup
Haskell
Code
157
319
module Lisp.Reader where import Data.Char (isDigit) import Text.Parsec import Lisp.Parser import Lisp.Types dequoteStringLiteral :: String -> String dequoteStringLiteral s = if length s >= 2 && (head s) == '"' && (last s) == '"' then tail . init $ s else error "dequoteStringLiteral : requires a string literal"...
34,794
https://github.com/pldmgg/misc-powershell/blob/master/ThirdPartyRefactors/Modules/Await/Await.psd1
Github Open Source
Open Source
Apache-2.0
2,023
misc-powershell
pldmgg
PowerShell
Code
66
237
# # Module manifest for module 'Await' # # Generated by: Lee Holmes # @{ ModuleToProcess = 'Await.psm1' FunctionsToExport = 'Start-AwaitSession', 'Stop-AwaitSession', 'Send-AwaitCommand', 'Receive-AwaitResponse', 'Wait-AwaitResponse' AliasesToExport = 'spawn', 'saas', 'spas', 'sendac', 'sdac', 'expect', 'war', '...
8,052
https://github.com/sorajate/objenesis/blob/master/tck/src/org/objenesis/tck/Main.java
Github Open Source
Open Source
Apache-2.0
null
objenesis
sorajate
Java
Code
581
1,337
/** * Copyright 2006-2014 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
50,973
https://github.com/kisvegabor/misc/blob/master/fs/linuxfs/linuxfs.c
Github Open Source
Open Source
MIT
2,021
misc
kisvegabor
C
Code
1,084
2,973
/** * @file linuxfs.c * Functions to give an API to the standard * file operation functions to be compatible */ /********************* * INCLUDES *********************/ #include "../../../misc_conf.h" #if USE_LINUXFS != 0 #include <string.h> #include <stdio.h> #include <errno.h> #include <dirent.h> #includ...
24,171
https://github.com/frankeph/C-Code/blob/master/Library/PriorityQueueMM/PriorityQueueMMTest/main.c
Github Open Source
Open Source
MIT
null
C-Code
frankeph
C
Code
227
953
#include <stdio.h> #include <stdlib.h> #include <stdint.h> #include <time.h> #define WINVER 0x0A00 #define _WIN32_WINNT 0x0A00 //#define _WIN32_WINNT 0x0500 #include <windows.h> char* Prog_Name = NULL; char* GetProgName(void){ return Prog_Name; } #define PROG_NAME (GetProgName()) //#define WINVER 0x0A00 //#def...
51,908