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/chjm1503/homework/blob/master/week4/hw/_self_thinking/app/parse/service/cmd/server/wire.go
Github Open Source
Open Source
MIT
2,021
homework
chjm1503
Go
Code
15
68
// +build wireinject package main import ( "github.com/chxhjm/app/parse/service/internal/biz" "github.com/google/wire" ) func initApp() { panic(wire.Build()) }
20,377
https://github.com/mekanism/Mekanism/blob/master/src/main/java/mekanism/common/integration/crafttweaker/bracket/CrTBracketHandlers.java
Github Open Source
Open Source
MIT
2,023
Mekanism
mekanism
Java
Code
566
2,067
package mekanism.common.integration.crafttweaker.bracket; import com.blamejared.crafttweaker.api.CraftTweakerAPI; import com.blamejared.crafttweaker.api.annotation.BracketResolver; import com.blamejared.crafttweaker.api.annotation.ZenRegister; import java.util.function.Function; import java.util.function.Predicate; im...
33,628
https://github.com/Dviros/ledger-live-desktop/blob/master/src/actions/portfolio.js
Github Open Source
Open Source
MIT
2,019
ledger-live-desktop
Dviros
JavaScript
Code
173
568
// @flow import { getBalanceHistory, getBalanceHistoryWithCountervalue, getPortfolio, } from '@ledgerhq/live-common/lib/portfolio' import type { Account, PortfolioRange } from '@ledgerhq/live-common/lib/types' import { exchangeSettingsForAccountSelector, counterValueCurrencySelector, counterValueExchangeSel...
49,450
https://github.com/T-General-inc/expofirebasestarter/blob/master/app/navigation/MainStack.web.tsx
Github Open Source
Open Source
MIT
null
expofirebasestarter
T-General-inc
TypeScript
Code
74
242
import React from "react"; import { createStackNavigator } from "@react-navigation/stack"; import { MainRoutes } from "./Routes"; import { AppContext } from "../context"; import AuthStack from "./AuthStack"; import { useTheme } from "react-native-paper"; const Stack = createStackNavigator(); export default function ...
35,211
https://github.com/biitheck/tweets-real-time/blob/master/frontend/.sample-environment.ts
Github Open Source
Open Source
MIT
null
tweets-real-time
biitheck
TypeScript
Code
44
122
export const environment = { production: true, apiServer: { url: '', prefix: 'api/v1', }, google: { clientId: '{{GOOGLE_CLIENT_ID}}', }, userKey: 'user_data', messages: { success: { title: 'Success', message: 'Action was completed successfully' }, ...
8,984
https://github.com/troy909/Eshva.Poezd/blob/master/tests/Eshva.Poezd.Core.UnitTests/ConfigurationTests.cs
Github Open Source
Open Source
MIT
null
Eshva.Poezd
troy909
C#
Code
534
2,290
#region Usings using System; using System.Collections.Generic; using Eshva.Poezd.Core.Common; using Eshva.Poezd.Core.Configuration; using Eshva.Poezd.Core.Pipeline; using Eshva.Poezd.Core.Routing; using Eshva.Poezd.Core.UnitTests.TestSubjects; using Moq; #endregion namespace Eshva.Poezd.Core.UnitTests { public sta...
39,268
https://github.com/onselaydin/pytry/blob/master/modul/modul1.py
Github Open Source
Open Source
Apache-2.0
null
pytry
onselaydin
Python
Code
28
113
programlama_dilleri = ["c#","java","javascript","python"] def toplama(a,b,c): """ Bu fonksiyon girilen 3 rakamın toplamını döndürür. """ return a+b+c def selamla(isim): """ Bu fonksiyon isminizi girince sizi selamlar """ print("selam ",isim)
9,854
https://github.com/SimonFloryNHS/electronic-prescription-service-api/blob/master/scripts/update_coordinator_tests.py
Github Open Source
Open Source
MIT
null
electronic-prescription-service-api
SimonFloryNHS
Python
Code
313
1,650
#!/usr/bin/env python3 """ update_coordinator_tests.py Updates expected e2e integration test json responses and their corresponding requests for the coordinator, converting dates correctly. Usage: update_coordinator_tests.py """ import json import datetime def date_converter(obj): """Date and datetime conver...
23,517
https://github.com/alvin883/babel-plugin-i18next-extract/blob/master/src/exporters/php.ts
Github Open Source
Open Source
MIT
null
babel-plugin-i18next-extract
alvin883
TypeScript
Code
72
207
import { Config } from "../config"; type TPHPExporterParams = { config: Config; file: { content: { [k: string]: string; }; }; }; type TPHPExporter = { stringify: (params: TPHPExporterParams) => string; }; const phpExporter: TPHPExporter = { stringify: ({ config, file }) => { let fileConte...
29,716
https://github.com/tada5hi/pht-central-ui/blob/master/packages/frontend/pages/settings/index/security.vue
Github Open Source
Open Source
MIT
2,021
pht-central-ui
tada5hi
Vue
Code
71
230
<!-- Copyright (c) 2021-2021. Author Peter Placzek (tada5hi) For the full copyright and license information, view the LICENSE file that was distributed with this source code. --> <script> import UserPublicKeyForm from "../../../components/user/UserPublicKeyForm"; import UserPasswordForm from "../../../compone...
36,662
https://github.com/thefringeninja/Cedar.EventStore/blob/master/src/Cedar.EventStore/GetUtcNow.cs
Github Open Source
Open Source
MIT
null
Cedar.EventStore
thefringeninja
C#
Code
10
29
namespace Cedar.EventStore { using System; public delegate DateTimeOffset GetUtcNow(); }
41,695
https://github.com/invictuszone/prescribe/blob/master/public/app/controllers/UserCategoriesController.js
Github Open Source
Open Source
MIT
null
prescribe
invictuszone
JavaScript
Code
1,968
8,014
app.controller('categoriesController', function($scope, $timeout, $compile, $http, API_URL) { //retrieve fooditems listing from API. $http.get(API_URL + "fooditems/") .success(function(response) { $scope.fooditems = response; console.log("$scope.fooditems: ",$scope.fooditems); //retrieve categories l...
1,207
https://github.com/code-generators/laravel-resource-generator/blob/master/test.sh
Github Open Source
Open Source
MIT
2,018
laravel-resource-generator
code-generators
Shell
Code
47
207
#!/bin/bash cd /tmp git clone git@github.com:tdebatty/laravel-resource-generator-test.git cd laravel-resource-generator-test/laravel-5.6 composer install cp .env.example .env touch storage/app/db.sqlite php artisan migrate php artisan resource-generator:generate Product php artisan migrate ./vendor/bin/phpunit RESULT...
18,979
https://github.com/jansgreen/django-locallibrary-tutorial/blob/master/checkout/migrations/0008_auto_20200925_2000.py
Github Open Source
Open Source
CC0-1.0
null
django-locallibrary-tutorial
jansgreen
Python
Code
36
177
# Generated by Django 3.0.7 on 2020-09-26 00:00 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('catalog', '0026_auto_20200810_0956'), ('checkout', '0007_auto_20200925_1127'), ] operations = [ mig...
14,734
https://github.com/Secret-Recipes-Build-Week/backend/blob/master/misc.js
Github Open Source
Open Source
MIT
2,021
backend
Secret-Recipes-Build-Week
JavaScript
Code
110
245
// check ingredients associated to recipe. // If existing ingredient name does not exist in incoming ingredients, // delete existing ingredient // check if incoming ingredient matches an existing recipe ingredients // if so, add it to array, // if not, insert ingredient // const ingredientNamesToAdd = []; // let chec...
45,502
https://github.com/glygener/glygen-backend-datasetviewer/blob/master/app/node_modules/@mui/x-data-grid/legacy/utils/EventManager.js
Github Open Source
Open Source
MIT
2,023
glygen-backend-datasetviewer
glygener
JavaScript
Code
328
1,032
import _classCallCheck from "@babel/runtime/helpers/esm/classCallCheck"; import _createClass from "@babel/runtime/helpers/esm/createClass"; // Used https://gist.github.com/mudge/5830382 as a starting point. // See https://github.com/browserify/events/blob/master/events.js for // the Node.js (https://nodejs.org/api/even...
49,123
https://github.com/fretelweb/SharpDevelop5/blob/master/samples/ComponentInspector/ComponentInspector.Core/Src/ObjectBrowser/TreeNodes/ComProgIdRootTreeNode.cs
Github Open Source
Open Source
BSD-3-Clause, MIT
2,015
SharpDevelop5
fretelweb
C#
Code
286
908
// <file> // <copyright see="prj:///doc/copyright.txt"/> // <license see="prj:///doc/license.txt"/> // <owner name="Oakland Software Incorporated" email="general@oaklandsoftware.com"/> // <version>$Revision$</version> // </file> using System; using Microsoft.Win32; using NoGoop.Obj; using NoGoop.Win32;...
50,036
https://github.com/NicolasPR-BR/edutechmobile/blob/master/Non-Canon/CodeCampReact/my-app/src/index.js
Github Open Source
Open Source
MIT
2,021
edutechmobile
NicolasPR-BR
JavaScript
Code
117
245
import React from 'react'; //To create a component, react from react needs to be imported import ReactDom from 'react-dom'; //react down owns Render(), to render we need it, duh, Only needed once, normally //books import {books} from './books'; import Book from './Book'; //css import './index.css'; //Function needs ...
19,924
https://github.com/likuisuper/Java-Notes/blob/master/JavaSourceLearn/javafx-src/com/sun/javafx/scene/control/skin/LabeledImpl.java
Github Open Source
Open Source
Apache-2.0
2,021
Java-Notes
likuisuper
Java
Code
530
1,525
/* * Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ /* * To change this template, choose Tools | Templates * and open the template in the editor. */ pa...
3,004
https://github.com/lucasgodoy/external-dns/blob/master/source/gateway_test.go
Github Open Source
Open Source
Apache-2.0
2,020
external-dns
lucasgodoy
Go
Code
2,635
12,154
/* Copyright 2017 The Kubernetes 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 applicable law or agreed to in writing, ...
18,630
https://github.com/moofik/laravel-filters/blob/master/src/Query/QueryCollection.php
Github Open Source
Open Source
MIT
null
laravel-filters
moofik
PHP
Code
143
435
<?php namespace Moofik\LaravelFilters\Query; class QueryCollection implements \Countable, \Iterator { /** * @var array */ private $queryMap; /** * @var int */ private $position; public function __construct() { $this->queryMap = []; $this->position = 0; ...
38,315
https://github.com/aSosunoff/ProSport/blob/master/common/models/engine/MenuModel.php
Github Open Source
Open Source
BSD-3-Clause
null
ProSport
aSosunoff
PHP
Code
152
509
<?php namespace common\models\engine; use Yii; use yii\db\ActiveRecord; use yii\db\ActiveQuery; use yii\behaviors\TimestampBehavior; use common\infrastructure\DateClass; /** * Menu model * * @property integer $ID * @property string $TITLE * @property string $TITLE_DESCRIPTION * @property string $ANCHOR * @prop...
27,691
https://github.com/returnturn/200OK/blob/master/sitePjt/accounts/admin.py
Github Open Source
Open Source
Apache-2.0
null
200OK
returnturn
Python
Code
139
361
from django.contrib import admin from .models import Author,ServerNode from django.contrib.auth.admin import UserAdmin as BaseUserAdmin from .forms import UserChangeForm, UserCreationForm class AuthorAdmin(BaseUserAdmin): # The forms to add and change user instances form = UserChangeForm add_form = UserCr...
47,254
https://github.com/krasiymihajlov/Soft-Uni-practices/blob/master/C# Advanced/05.Strings/String - Exercise/00.Test/Test.cs
Github Open Source
Open Source
MIT
null
Soft-Uni-practices
krasiymihajlov
C#
Code
113
350
namespace _15.MelrahShake { using System; using System.IO; public class MelrahShake { public static void Main() { string input = Console.ReadLine(); string pattern = Console.ReadLine(); string path = @"C:\Users\BauMc\Desktop\result.txt"; ...
41,923
https://github.com/ricardoMonteiroTavares/saudeMentalSusDatabase/blob/master/lib/components/buttons/buttons.dart
Github Open Source
Open Source
MIT
2,021
saudeMentalSusDatabase
ricardoMonteiroTavares
Dart
Code
4
37
export 'add_item_button/add_item_button.dart'; export 'edit_delete_buttons/edit_delete_buttons.dart';
19,095
https://github.com/reliefs/brominer/blob/master/modules/cmake/Tests/Complex/Executable/complex.cxx
Github Open Source
Open Source
MIT
2,018
brominer
reliefs
C++
Code
3,134
11,319
#include "Aout.h" #include "ExtraSources/file1.h" #include "cmTestConfigure.h" #include "cmTestConfigureEscape.h" #include "cmTestGeneratedHeader.h" #include "cmVersion.h" #include "file2.h" #include "sharedFile.h" extern "C" { #include "testConly.h" } #include <iostream> #include <string.h> #include <string> #include ...
23,026
https://github.com/Norbyte/lslib/blob/master/LSLib/LS/Story/Compiler/Preprocessor.cs
Github Open Source
Open Source
MIT
2,023
lslib
Norbyte
C#
Code
167
578
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace LSLib.LS.Story.Compiler { public class Preprocessor { public bool Preprocess(String script, ref String preprocessed) { if (script.IndexOf("/* [OSITOOLS_ONLY...
21,138
https://github.com/yogeshacharya/laravel_custom_authentication/blob/master/database/seeders/SuperAdminSeeder.php
Github Open Source
Open Source
MIT
null
laravel_custom_authentication
yogeshacharya
PHP
Code
49
189
<?php namespace Database\Seeders; use Carbon\Carbon; use Illuminate\Database\Seeder; use Illuminate\Support\Facades\DB; use Illuminate\Support\Facades\Hash; class SuperAdminSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { $today...
21,517
https://github.com/xpressive-websolutions/Xpressive.Home/blob/master/Xpressive.Home.Plugins.Sonos.Tests/Given_a_sonos_device_discoverer.cs
Github Open Source
Open Source
MIT
2,022
Xpressive.Home
xpressive-websolutions
C#
Code
72
288
using System; using System.Threading.Tasks; using Xpressive.Home.Services; using Xunit; using Xunit.Abstractions; namespace Xpressive.Home.Plugins.Sonos.Tests { public class Given_a_sonos_device_discoverer { private readonly ITestOutputHelper _output; public Given_a_sonos_device_discoverer(IT...
36,185
https://github.com/apache/systemds/blob/master/src/main/java/org/apache/sysds/runtime/data/TensorIndexes.java
Github Open Source
Open Source
Apache-2.0
2,023
systemds
apache
Java
Code
507
1,271
/* * 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 ...
9,039
https://github.com/tamerescrl/libusb-pharo/blob/master/repository/LibUsb.package/LUDeviceDescriptor.class/instance/bcdUSB..st
Github Open Source
Open Source
MIT
2,019
libusb-pharo
tamerescrl
null
Spoken
15
33
accessing structure variables bcdUSB: anObject "This method was automatically generated" handle unsignedShortAt: 3 put: anObject
39,032
https://github.com/malayhm/zeppelin-web-vue/blob/master/src/components/Layout/Header.vue
Github Open Source
Open Source
Apache-2.0
2,022
zeppelin-web-vue
malayhm
Vue
Code
79
280
<template> <div id="header"> <div style="display: flex"> <router-link to="/" class="logo pt-3 pl-2" > <img alt="Zeppelin logo" src="@/assets/zepLogo.png"> </router-link> <div> <h5 class="pt-2 mb-1"> Zeppelin Studio </h5> <TopMenu /...
43,765
https://github.com/twsouthwick/Open-XML-SDK/blob/master/src/common/System/Xml/Linq/XDocumentExtensions.cs
Github Open Source
Open Source
MIT
2,023
Open-XML-SDK
twsouthwick
C#
Code
53
109
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.IO; namespace System.Xml.Linq { internal static class XDocumentExtensions { public static void Save(this XDocument doc, Stream stream) ...
51,942
https://github.com/duynhanf/japanesebook/blob/master/JapaneseBook.Model/Entities/VisitorStatistic.cs
Github Open Source
Open Source
MIT
null
japanesebook
duynhanf
C#
Code
40
121
using System; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace JapaneseBook.Model.Entities { [Table("VisitorStatistics")] public class VisitorStatistic { [Key] public Guid ID { set; get; } [Required] public DateTime...
22,517
https://github.com/Wizcorp/cordova-plugin-gamecenter/blob/master/.gitignore
Github Open Source
Open Source
MIT
2,015
cordova-plugin-gamecenter
Wizcorp
Ignore List
Code
15
44
# OSX hidden files .DS_Store # Xcode files build/ bin / *.pbxuser *.perspective *.perspectivev3 xcuserdata
28,935
https://github.com/reo7sp/cocos-starter-kit/blob/master/templates/model.coffee.ejs
Github Open Source
Open Source
MIT
2,017
cocos-starter-kit
reo7sp
EJS
Code
16
49
module.exports = class extends kaniku.Model @defaults x: 0 y: 0 @useUpdates() update: (dt) -> # TODO
16,166
https://github.com/omahlama/Limake/blob/master/LimakeSilverLightUI/Root.xaml.cs
Github Open Source
Open Source
MIT
2,012
Limake
omahlama
C#
Code
84
260
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Windows; using System.Windows.Controls; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Animation; using System.Windows.Shapes; namespace LimakeSilverLig...
21,543
https://github.com/felix781/market-access-public-frontend/blob/master/apps/core/middleware.py
Github Open Source
Open Source
MIT
null
market-access-public-frontend
felix781
Python
Code
375
1,292
import json from django.conf import settings from django.core.exceptions import ImproperlyConfigured from django.utils.deprecation import MiddlewareMixin from apps.core.utils import get_future_date from apps.core.views import CookieToggle class CookiesMiddleware(MiddlewareMixin): def get_cookie_settings(self, r...
10,185
https://github.com/gitter-badger/fsharp-support/blob/master/ReSharper.FSharp/src/FSharp.Psi/src/Tree/IUnionCaseDeclaration.cs
Github Open Source
Open Source
Apache-2.0
null
fsharp-support
gitter-badger
C#
Code
12
47
namespace JetBrains.ReSharper.Plugins.FSharp.Psi.Tree { public partial interface IUnionCaseDeclaration : IFSharpTypeDeclaration { } }
29,205
https://github.com/kenz68/itok/blob/master/itok/Controller/Conversation/MyConversationVC.swift
Github Open Source
Open Source
Apache-2.0, MIT
2,020
itok
kenz68
Swift
Code
294
951
// // MyConversationVC.swift // itok // // Created by Nha T.Tran on 5/21/17. // Copyright © 2017 IceTeaViet. All rights reserved. // import UIKit import Cosmos class MyConversationVC: UIViewController { @IBOutlet weak var table: UITableView! @IBOutlet var btnMenu: UIBarButtonItem! overri...
34,408
https://github.com/flydever/main-backend/blob/master/migrations/Migration20211125102205.ts
Github Open Source
Open Source
MIT
2,022
main-backend
flydever
TypeScript
Code
95
309
import { Migration } from '@mikro-orm/migrations'; export class Migration20211125102205 extends Migration { async up(): Promise<void> { const knex = this.getKnex(); await this.execute( 'alter table "management_workflow" drop constraint if exists "management_workflow_key_check";' ); await this.e...
48,473
https://github.com/Idolobi-com/iOS-AutoCommons/blob/master/Source/UI/ACStackView.swift
Github Open Source
Open Source
MIT
2,021
iOS-AutoCommons
Idolobi-com
Swift
Code
32
83
// // ACStackView.swift // AutoCommons // // Created by Dhiya Ulhaq Zulha Alamsyah on 06/08/20. // Copyright © 2020 Idolobi. All rights reserved. // import UIKit public class ACStackView: UIStackView { }
24,342
https://github.com/zxc171841180/SpringBootServer/blob/master/work/vueBoot/src/main/java/com/initspringboot/vueboot/config/WebSecurityConfig.java
Github Open Source
Open Source
Apache-2.0
2,019
SpringBootServer
zxc171841180
Java
Code
234
1,857
package com.initspringboot.vueboot.config; import com.initspringboot.vueboot.service.IUserService; import org.apache.logging.log4j.core.config.Order; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.autoconfigure.security.SecurityProperties; import org.springframework.con...
28,802
https://github.com/kevinflaherty1/crnk-framework/blob/master/crnk-test/src/main/java/io/crnk/test/mock/models/ResourceIdentifierBasedRelationshipResource.java
Github Open Source
Open Source
Apache-2.0
2,022
crnk-framework
kevinflaherty1
Java
Code
126
472
package io.crnk.test.mock.models; import java.util.Collection; import java.util.List; import io.crnk.core.engine.document.ResourceIdentifier; import io.crnk.core.resource.annotations.JsonApiId; import io.crnk.core.resource.annotations.JsonApiRelation; import io.crnk.core.resource.annotations.JsonApiRelationId; import...
7,114
https://github.com/dozenow/shortcut/blob/master/linux-lts-quantal-3.5.0/net/wanrouter/Makefile
Github Open Source
Open Source
GPL-1.0-or-later, Linux-syscall-note, GPL-2.0-only, BSD-2-Clause
2,019
shortcut
dozenow
Makefile
Code
17
53
# # Makefile for the Linux WAN router layer. # obj-$(CONFIG_WAN_ROUTER) += wanrouter.o wanrouter-y := wanproc.o wanmain.o
34,433
https://github.com/ikuchko/PM-AM/blob/master/src/test/java/StatusTest.java
Github Open Source
Open Source
MIT
2,016
PM-AM
ikuchko
Java
Code
32
107
import org.junit.*; import static org.junit.Assert.*; import org.junit.Rule; import java.util.List; public class StatusTest { @Rule public DatabaseRule database = new DatabaseRule(); @Test public void status_returnAllstatuses() { assertEquals(4, Status.all().size()); assertEquals("To Do", Status.all(...
34,357
https://github.com/wincent/masochist/blob/master/src/server/schema/fields/tagsField.js
Github Open Source
Open Source
MIT
2,022
masochist
wincent
JavaScript
Code
30
90
import {GraphQLList, GraphQLNonNull} from 'graphql'; import TagNameType from '../types/TagNameType'; const tagsField = { tags: { // TODO: make this tags{name}? type: new GraphQLNonNull(new GraphQLList(new GraphQLNonNull(TagNameType))), }, }; export default tagsField;
34,569
https://github.com/kelvich/postgres_pre95/blob/master/src/backend/storage/taslock.h
Github Open Source
Open Source
LicenseRef-scancode-other-permissive
1,994
postgres_pre95
kelvich
C
Code
128
335
/* * taslock.h -- * * Note: * Included by pladt.h. */ #ifndef TasLockIncluded /* Include this file only once */ #define TasLockIncluded 1 /* * Identification: */ #define TASLOCK_H "$Header$" #include "port_taslock.h" /* from port* directory */ #define NUMPROCS 64 typedef unsigned char ubyte; typedef struc...
32,354
https://github.com/steeve/brisk/blob/master/src/java/src/com/hadoop/compression/snappy/SnappyDecompressor.java
Github Open Source
Open Source
Apache-2.0, LicenseRef-scancode-public-domain
2,011
brisk
steeve
Java
Code
360
1,138
package com.hadoop.compression.snappy; import java.io.IOException; import java.nio.ByteBuffer; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.apache.hadoop.io.compress.Decompressor; import org.xerial.snappy.Snappy; import org.xerial.snappy.SnappyException; public cla...
19,598
https://github.com/karunmatharu/Android-4.4-Pay-by-Data/blob/master/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/src_rss/org/eclipse/releng/generators/rss/RSSFeedCreateFeedTask.java
Github Open Source
Open Source
MIT, IJG, LGPL-2.0-or-later, EPL-1.0, MPL-1.1, LGPL-2.1-only, LicenseRef-scancode-proprietary-license, LicenseRef-scancode-warranty-disclaimer, LicenseRef-scancode-unknown-license-reference, Apache-2.0, LicenseRef-scancode-generic-export-compliance, Apache-1.1, CPL-1.0
2,017
Android-4.4-Pay-by-Data
karunmatharu
Java
Code
490
1,754
/******************************************************************************* * Copyright (c) 2005, 2006 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, an...
37,417
https://github.com/aloqui/foxedprod/blob/master/frontend/src/components/class-section/SubmittedActivities.vue
Github Open Source
Open Source
MIT
2,018
foxedprod
aloqui
Vue
Code
758
3,564
<template> <div class="modal--wrap"> <div class="container"> <div class="row pt-5 mb-2"> <div class="col-7 img__act"> <span v-if="submitted.class.image != 'none'"> <img :src="imagePath + submitted.class.image"> </span> <span v-else> ...
27,795
https://github.com/bgornicki/app-hive/blob/master/src/constants.h
Github Open Source
Open Source
Apache-2.0
2,021
app-hive
bgornicki
C
Code
135
304
#pragma once #include "common/macros.h" /** * Instruction class of the Hive application. */ #define CLA 0xD4 /** * Length of APPNAME variable in the Makefile. */ #define APPNAME_LEN (sizeof(APPNAME) - 1) /** * Maximum length of MAJOR_VERSION || MINOR_VERSION || PATCH_VERSION. */ #define APPVERSION_LEN 3 /** ...
39,765
https://github.com/efedo/Utilogeny/blob/master/lib/boost/math/tools/traits.hpp
Github Open Source
Open Source
MIT
null
Utilogeny
efedo
C++
Code
301
1,074
// Copyright John Maddock 2007. // Use, modification and distribution are subject to the // Boost Software License, Version 1.0. (See accompanying file // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) /* This header defines two traits classes, both in namespace boost::math::tools. is_distribut...
36,976
https://github.com/uemoto1/SALMON/blob/master/tools/get_mpi_configuration
Github Open Source
Open Source
Apache-2.0, LicenseRef-scancode-proprietary-license
2,019
SALMON
uemoto1
Shell
Code
270
885
#! /bin/bash # # Copyright 2017-2019 SALMON 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 ap...
18,022
https://github.com/prepare/Graphics2DVariants/blob/master/AggOO-0.1.7/AggOO/tests/win32/AggOOTests.sln
Github Open Source
Open Source
BSD-3-Clause
2,014
Graphics2DVariants
prepare
null
Spoken
72
633
Microsoft Visual Studio Solution File, Format Version 7.00 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "AggOODemo", "AggOODemo\AggOODemo.vcproj", "{F1B8C810-FC3B-4CB1-B4CD-A0C9DC31216C}" EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "GdiplusDemo", "GdiplusDemo\GdiplusDemo.vcproj", "{AFAAB06C-81...
17,531
https://github.com/fynnen/LinkIt/blob/master/src/LinkIt/PublicApi/LoadLinkProtocolStatistics.cs
Github Open Source
Open Source
MIT
null
LinkIt
fynnen
C#
Code
153
465
// Copyright (c) CBC/Radio-Canada. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for more information. using System; using System.Collections.Generic; using System.Linq; namespace LinkIt.PublicApi { /// <summary> /// Represents stats for a <see cref="ILoadLinkPro...
43,425
https://github.com/emembrives/dispotrains/blob/master/dispotrains.webapp/src/web/src/app/app-routing.module.ts
Github Open Source
Open Source
Apache-2.0
2,016
dispotrains
emembrives
TypeScript
Code
100
276
import { NgModule } from '@angular/core'; import { Routes, RouterModule } from '@angular/router'; import { AboutComponent } from './about/about.component'; import { LineListComponent } from './line-list/line-list.component'; import { LineComponent } from './line/line.component'; import { StationComponent } from './sta...
45,707
https://github.com/NENightElves/cnccompiler/blob/master/cnccompiler/src/main/java/com/example/cnccompiler/tools/DecimaFormatHundredth.java
Github Open Source
Open Source
MIT
null
cnccompiler
NENightElves
Java
Code
27
96
package com.example.cnccompiler.tools; import java.text.DecimalFormat; /** * 单例,格式化小数 */ public class DecimaFormatHundredth { private static DecimalFormat df=new DecimalFormat("#.##"); public static String format(double n) { return df.format(n); } }
14,152
https://github.com/mikelRM/currpy/blob/master/.gitignore
Github Open Source
Open Source
MIT
2,018
currpy
mikelRM
Ignore List
Code
9
26
#Ignore all hidden files .* build/* dist/* theory/* currpy.egg-info/*
12,014
https://github.com/striker8118/xmas-club/blob/master/src/providers/scores-provider.ts
Github Open Source
Open Source
Apache-2.0
null
xmas-club
striker8118
TypeScript
Code
113
334
import { Subscription } from 'rxjs/Rx'; import { Injectable } from '@angular/core'; import { Http, Response } from '@angular/http'; import { Observable } from 'rxjs/Observable'; import { BehaviorSubject } from 'rxjs/BehaviorSubject'; import 'rxjs/add/operator/map'; import 'rxjs/add/observable/of'; import { Score } from...
42,536
https://github.com/Kitware/vtk-examples/blob/master/src/Cxx/VisualizationAlgorithms/ImageGradient.cxx
Github Open Source
Open Source
Apache-2.0
2,023
vtk-examples
Kitware
C++
Code
320
1,255
/* * Visualization of gradient information. * */ #include <vtkImageCast.h> #include <vtkImageConstantPad.h> #include <vtkImageEuclideanToPolar.h> #include <vtkImageExtractComponents.h> #include <vtkImageGaussianSmooth.h> #include <vtkImageGradient.h> #include <vtkImageHSVToRGB.h> #include <vtkImageMagnify.h> #inclu...
26,959
https://github.com/vaticdart/FloundsDatePicker/blob/master/FloundsDatePickerView.h
Github Open Source
Open Source
MIT
null
FloundsDatePicker
vaticdart
C
Code
69
290
// // FloundsDatePickerView.h // Flounds // // Created by Paul M Rest on 10/17/15. // Copyright © 2015 Paul Rest. All rights reserved. // #import <UIKit/UIKit.h> #import "FloundsViewConstants.h" #import "AlarmClockModel.h" extern NSString *FLOUNDS_DATE_PICKER_VALUE_CHANGED_NOTIFICATION; @interface FloundsDat...
41,637
https://github.com/chase-ramsey/angular-routing/blob/master/public/app/main.js
Github Open Source
Open Source
MIT
2,016
angular-routing
chase-ramsey
JavaScript
Code
76
323
angular.module('app', ['ngRoute', 'angular.filter']) .config(($routeProvider) => { $routeProvider .when('/', { templateUrl: "app/partials/home.html" }) .when('/hello', { templateUrl: "app/partials/hello.html", controller: 'HelloCtrl' }) .when('/hello/:name', {...
9,601
https://github.com/Sterver47/exercism-solutions/blob/master/python/bob/bob.py
Github Open Source
Open Source
MIT
2,022
exercism-solutions
Sterver47
Python
Code
71
183
"""Bob will talk with you, but do you really want to talk with Bob?""" def response(hey_bob: str) -> str: """Return Bob response. :param hey_bob: str - sentence said to Bob. :return: str - sentence said by Bob. """ hey_bob = hey_bob.strip() if not hey_bob: return "Fine. Be that way!...
1,561
https://github.com/Yutasq/Pytorch-based-Implementation-for-Label-aware-Graph-Convolution-Networks/blob/master/src/utils.py
Github Open Source
Open Source
MIT
2,021
Pytorch-based-Implementation-for-Label-aware-Graph-Convolution-Networks
Yutasq
Python
Code
1,134
4,276
import math import os import networkx as nx import numpy as np import torch from torch.utils.data import Dataset from tqdm import tqdm def one_hot_encoding(labels): one_hot_encoding = {} for i in range(len(labels)): encoding = [0.] * len(labels) encoding[len(labels) - 1 - i] = 1. one...
49,308
https://github.com/Core-Team-META/Spellshock-2/blob/master/SS2-BrawlArena/Data/Scripts/RoundEndPostProcess.lua
Github Open Source
Open Source
Apache-2.0
2,022
Spellshock-2
Core-Team-META
Lua
Code
69
304
local ABGS = require(script:GetCustomProperty("ABGS")) local DepthOfFieldPostProcess = script:GetCustomProperty("DepthOfFieldPostProcess"):WaitForObject() function OnGameStateChanged(oldState, newState) if newState == ABGS.GAME_STATE_ROUND_END and oldState ~= ABGS.GAME_STATE_ROUND_END then local blend = Depth...
10,024
https://github.com/moparisthebest/beehive/blob/master/beehive-netui-tags/src/main/java/org/apache/beehive/netui/tags/rendering/AbstractAttributeState.java
Github Open Source
Open Source
Apache-2.0
2,020
beehive
moparisthebest
Java
Code
606
1,277
/* * 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 ...
14,502
https://github.com/GioAc96/veronica/blob/master/src/main/java/rocks/gioac96/veronica/validation/rules/EmailRule.java
Github Open Source
Open Source
MIT
2,021
veronica
GioAc96
Java
Code
61
251
package rocks.gioac96.veronica.validation.rules; import rocks.gioac96.veronica.validation.CommonValidationFailureReason; import rocks.gioac96.veronica.validation.ValidationException; /** * Validation rule that checks that a value represents a value email address. */ @SuppressWarnings("unused") public final class Em...
33,953
https://github.com/theonly112/autoplaysharp/blob/master/Core/Game/Tasks/Inventory/CombineIso8.cs
Github Open Source
Open Source
MIT
2,022
autoplaysharp
theonly112
C#
Code
57
192
using autoplaysharp.Contracts; using autoplaysharp.Contracts.Configuration; using Microsoft.Extensions.Logging; using System.Threading; using System.Threading.Tasks; namespace autoplaysharp.Core.Game.Tasks.Inventory { internal class CombineIso8 : GameTask { public CombineIso8(IGame game, IUiRepository...
47,233
https://github.com/haymac/developer-portal/blob/master/server/cron/voting.js
Github Open Source
Open Source
MIT
2,018
developer-portal
haymac
JavaScript
Code
28
112
import { Jobs } from 'meteor/msavin:sjobs'; Jobs.register({ "closeVoting": function(summaryId) { console.log('closeVoting', summaryId); const result = ReportSummaries.update({_id: summaryId}, {$set: {votingOpen: false, votingCompleted: true}}); if(result) this.success(result); else this.failure(resul...
1,916
https://github.com/rossconf2018-exercism-track-id/csharp/blob/master/generators/Input/ConfigFile.cs
Github Open Source
Open Source
MIT
null
csharp
rossconf2018-exercism-track-id
C#
Code
115
285
using System.Collections.Generic; using System.IO; using System.Linq; using Newtonsoft.Json; using Generators.Output; namespace Generators.Input { public static class ConfigFile { private const string ConfigFilePath = "../config.json"; public static IEnumerable<ConfigExercise> GetExercises() ...
3,799
https://github.com/adamant/adamant.tools.compiler.bootstrap/blob/master/IntermediateLanguage/CFG/Instructions/CompareInstruction.cs
Github Open Source
Open Source
MIT
2,020
adamant.tools.compiler.bootstrap
adamant
C#
Code
88
326
using Adamant.Tools.Compiler.Bootstrap.Core; using Adamant.Tools.Compiler.Bootstrap.IntermediateLanguage.CFG.Operands; using Adamant.Tools.Compiler.Bootstrap.IntermediateLanguage.CFG.Places; using Adamant.Tools.Compiler.Bootstrap.Types; namespace Adamant.Tools.Compiler.Bootstrap.IntermediateLanguage.CFG.Instructions {...
43,646
https://github.com/chenfei66/jigsaw/blob/master/src/app/demo/upload/basic/demo.module.ts
Github Open Source
Open Source
MIT
2,021
jigsaw
chenfei66
TypeScript
Code
56
265
import {NgModule} from "@angular/core"; import {JigsawDemoDescriptionModule} from "app/demo-description/demo-description"; import {uploadDemoComponent} from "./demo.component"; import {JigsawUploadModule} from "jigsaw/component/upload/index"; import {JigsawSwitchModule} from "jigsaw/component/switch/index"; import {Jig...
33,850
https://github.com/lbotinelly/tos-laimas-compass/blob/master/.gitignore
Github Open Source
Open Source
MIT
2,016
tos-laimas-compass
lbotinelly
Ignore List
Code
5
28
/node_modules /dist /etc assets/data/tracker.json /assets/data/killLog
12,166
https://github.com/Suacrbah/ecommerce_web/blob/master/demo/src/main/java/com/example/demo/mapper/QuestionMapper.java
Github Open Source
Open Source
MIT
2,020
ecommerce_web
Suacrbah
Java
Code
29
102
package com.example.demo.mapper; import com.example.demo.entity.Question; import com.baomidou.mybatisplus.core.mapper.BaseMapper; /** * <p> * Mapper 接口 * </p> * * @author lucas * @since 2020-06-18 */ public interface QuestionMapper extends BaseMapper<Question> { }
1,486
https://github.com/Htsubasa/voice_service/blob/master/scss/front-page.scss
Github Open Source
Open Source
MIT
2,020
voice_service
Htsubasa
SCSS
Code
3,092
12,983
@charset "utf-8"; @import "reset"; $pc: 1024px; // PC $tab: 768px; // タブレット $sp: 560px; // スマホ $sp-second: 375px; // スマホ $sp-sub:425px; @mixin pc { @media (max-width: ($pc)) { @content; } } @mixin tab { @media (max-width: ($tab)) { @content; } } @mixin sp { @media (max-width: ($sp)) { @con...
45,453
https://github.com/ubi-iot/blockchain/blob/master/core/chaincode/platforms/java/testdata/gradle/target/example/ExampleCC.java
Github Open Source
Open Source
MIT, Apache-2.0
2,019
blockchain
ubi-iot
Java
Code
6
8
test java file in target folder
35,073
https://github.com/shautzin/xia/blob/master/src/main/java/com/github/loutai/xia/controller/ConfigController.java
Github Open Source
Open Source
BSD-3-Clause
2,018
xia
shautzin
Java
Code
117
457
package com.github.loutai.xia.controller; import com.github.loutai.xia.common.ServiceResult; import com.github.loutai.xia.entity.XiaConfig; import com.github.loutai.xia.service.ConfigService; import org.springframework.data.domain.Page; import org.springframework.web.bind.annotation.RequestMapping; import org.springfr...
52,941
https://github.com/hbsishenriquekang/GitC/blob/master/05-08-19_09-08-19/WindowsFormsApp1/Adicionar/addMarca.cs
Github Open Source
Open Source
MIT
2,020
GitC
hbsishenriquekang
C#
Code
57
174
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using WindowsFormsApp1.Classes; namespace WindowsFormsApp1.Adicionar { public partial class addMarca...
4,266
https://github.com/hellodao/assets/blob/master/cw20/pairs.dex.js
Github Open Source
Open Source
MIT
null
assets
hellodao
JavaScript
Code
1,260
11,120
module.exports = { mainnet: { terra18dq84qfpz267xuu0k47066svuaez9hr4xvwlex: { dex: "astroport", type: "xyk", assets: ["uusd", "terra1t9ul45l7m6jw6sxgvnp8e5hj8xzkjsg82g84ap"], }, terra19wauh79y42u5vt62c5adt2g5h4exgh26t3rpds: { dex: "astroport", type: "xyk", assets: ["uus...
23,475
https://github.com/jpchagas/hfa3/blob/master/hellfireos-master/arch/riscv/hf-riscv/hf-riscv.ld
Github Open Source
Open Source
Apache-2.0
null
hfa3
jpchagas
null
Spoken
157
466
ENTRY(_entry) /* specify HF-RISC memory areas */ MEMORY { rom : ORIGIN = 0x00000000, LENGTH = 256M /* ROM area*/ ram : ORIGIN = 0x40000000, LENGTH = 256M /* RAM area. */ ram_top : ORIGIN = 0x4ffffc00, LENGTH = 0x400 /* RAM area. 1KB reserved for the bootloader .bss + stack */ } /* define a global symbol _stack ...
37,749
https://github.com/mdogan/hazelcast/blob/master/hazelcast/src/test/java/com/hazelcast/client/map/impl/querycache/ClientQueryCacheListenerTest.java
Github Open Source
Open Source
Apache-2.0, LicenseRef-scancode-unknown-license-reference
2,020
hazelcast
mdogan
Java
Code
815
2,704
/* * Copyright (c) 2008-2020, Hazelcast, Inc. 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 * * Unless required ...
32,342
https://github.com/iantal/AndroidPermissions/blob/master/apks/playstore_apps/de_number26_android/app/smali_classes3/org/bouncycastle/math/ec/ECCurve$Fp.smali
Github Open Source
Open Source
Apache-2.0
2,019
AndroidPermissions
iantal
Smali
Code
687
5,127
.class public Lorg/bouncycastle/math/ec/ECCurve$Fp; .super Lorg/bouncycastle/math/ec/ECCurve$AbstractFp; .source "ECCurve.java" # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = Lorg/bouncycastle/math/ec/ECCurve; .end annotation .annotation system Ldalvik/annotation/InnerClass; acce...
43,604
https://github.com/tobiasschulz/MonoGame-SDL2/blob/master/MonoGame.Framework/Audio/Cue.cs
Github Open Source
Open Source
MS-PL, MIT
2,020
MonoGame-SDL2
tobiasschulz
C#
Code
1,246
4,837
#region License /* FNA - XNA4 Reimplementation for Desktop Platforms * Copyright 2009-2014 Ethan Lee and the MonoGame Team * * Released under the Microsoft Public License. * See LICENSE for details. */ #endregion #region Using Statements using System; using System.Collections.Generic; #endregion namespace Micros...
24,233
https://github.com/Dabsunter/oregen-simulator/blob/master/.gitignore
Github Open Source
Open Source
MIT
2,017
oregen-simulator
Dabsunter
Ignore List
Code
20
70
# gradle /build/ /.gradle/ # idea /.idea/ /*.iml /*.ipr /*.iws # eclipse /bin/ /.settings/ /.classpath /.project # custom /testserver/ /final/
5,990
https://github.com/antfu/vue-codemod/blob/master/src/stringify-sfc-descriptor.ts
Github Open Source
Open Source
MIT
2,020
vue-codemod
antfu
TypeScript
Code
402
907
/** * Adapted from https://github.com/psalaets/vue-sfc-descriptor-to-string/blob/master/index.js */ /** * The MIT License (MIT) * Copyright (c) 2018 Paul Salaets * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), ...
45,422
https://github.com/popovanton0/gia-answers/blob/master/app/src/main/java/com/popov/egeanswers/MyApp.kt
Github Open Source
Open Source
MIT
2,022
gia-answers
popovanton0
Kotlin
Code
127
507
package com.popov.egeanswers import android.app.Application import android.content.Context import android.graphics.ColorMatrix import android.graphics.ColorMatrixColorFilter import android.graphics.Paint import androidx.appcompat.app.AppCompatDelegate import androidx.multidex.MultiDexApplication import com.github.bart...
9,241
https://github.com/jshoyos/soen390-team01/blob/master/soen390-team01/soen390-team01/Data/Exceptions/InvalidValueException.cs
Github Open Source
Open Source
MIT
null
soen390-team01
jshoyos
C#
Code
41
100
namespace soen390_team01.Data.Exceptions { public class InvalidValueException : DataAccessException { public InvalidValueException(string field, string value) : base("Invalid value", BuildMessage(field, value)) {} private static string BuildMessage(string field, string valu...
18,179
https://github.com/Brain-Vision/Unreal-SharedSpaces/blob/master/Plugins/OVRPlatformBP/Source/OVRPlatformBP/Private/OBPLeaderboardEntry.cpp
Github Open Source
Open Source
MIT
null
Unreal-SharedSpaces
Brain-Vision
C++
Code
110
605
// OVRPlatformBP plugin by InnerLoop LLC 2021 #include "OBPLeaderboardEntry.h" // -------------------- // Initializers // -------------------- UOBPLeaderboardEntry::UOBPLeaderboardEntry(const FObjectInitializer& ObjectInitializer) : Super(ObjectInitializer) { } // -------------------- // OVR_LeaderboardEntry.h // ...
21,265
https://github.com/bg1bgst333/Sample/blob/master/java/Iterable/Iterable/src/Iterable/Iterable/src/MainClass.java
Github Open Source
Open Source
MIT
2,023
Sample
bg1bgst333
Java
Code
58
279
import java.util.ArrayList; // メインクラス public class MainClass{ // MainClassの定義 // Javaのエントリポイント public static void main(String[] args){ // mainメソッドの定義 // ArrayList<String>に要素を追加.. ArrayList<String> strArrayList = new ArrayList<String>(); // ArrayList<String>のstrArrayList. strArrayList.add("ABC"); // "ABC"を追加....
44,989
https://github.com/Sdcrouse/fewpjs-iterators-reduce-lab-v-000/blob/master/index.js
Github Open Source
Open Source
LicenseRef-scancode-public-domain, LicenseRef-scancode-unknown-license-reference
2,020
fewpjs-iterators-reduce-lab-v-000
Sdcrouse
JavaScript
Code
35
80
const batteryBatches = [4, 5, 3, 4, 4, 6, 5]; // Code your solution here const totalBatteries = batteryBatches.reduce( // (batteryTotal, batch) => batteryTotal + batch, // 0 (batteryTotal, batch) => batteryTotal + batch );
7,334
https://github.com/Dunkhan/jitsi/blob/master/src/net/java/sip/communicator/impl/hid/HIDServiceImpl.java
Github Open Source
Open Source
Apache-2.0
null
jitsi
Dunkhan
Java
Code
671
1,644
/* * Jitsi, the OpenSource Java VoIP and Instant Messaging client. * * Copyright @ 2015 Atlassian Pty Ltd * * 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.or...
1,074
https://github.com/jpillora/pnode/blob/master/out/context.js
Github Open Source
Open Source
Unlicense
2,019
pnode
jpillora
JavaScript
Code
176
526
// Generated by CoffeeScript 1.6.3 var RemoteContext, Socket, _; _ = require('../vendor/lodash'); Socket = require("net").Socket; module.exports = RemoteContext = (function() { function RemoteContext() { this.id = '...'; this.guid = '...'; this.data = {}; this.events = {}; } RemoteContext.prot...
24,102
https://github.com/mgalloy/comp-pipeline/blob/master/ssw/get_stereo_roll.pro
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, LicenseRef-scancode-public-domain
2,019
comp-pipeline
mgalloy
null
Spoken
1,174
2,648
;+ ; Project : STEREO - SSC ; ; Name : GET_STEREO_ROLL ; ; Purpose : Returns the roll angle of STEREO A or B ; ; Category : STEREO, Orbit ; ; Explanation : This routine returns the roll angle of one of the two STEREO ; spacecraft, in a variety of coordinate systems. ; ; A p...
34,893
https://github.com/howezhong/antdv-admin/blob/master/src/views/exception/Content.vue
Github Open Source
Open Source
MIT
null
antdv-admin
howezhong
Vue
Code
145
511
<template> <div class="exception-content"> <div class="inner"> <img :src="src"> <p class="tips">{{ tips }}</p> <div class="back-btn-group"> <a-button class="mr10" type="primary" @click="backHome">返回首页</a-button> <a-button type="primary" @click="backPrev">返回上一页({{ second }}s)</a-b...
51,437
https://github.com/gnoliyil/fuchsia/blob/master/src/developer/debug/zxdb/expr/expr.cc
Github Open Source
Open Source
BSD-2-Clause
2,022
fuchsia
gnoliyil
C++
Code
413
1,413
// Copyright 2018 The Fuchsia Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "src/developer/debug/zxdb/expr/expr.h" #include <lib/syslog/cpp/macros.h> #include "src/developer/debug/zxdb/expr/eval_context.h" #include "src/...
931
https://github.com/antonmedv/year/blob/master/packages/2037/06/15/index.js
Github Open Source
Open Source
MIT
2,021
year
antonmedv
JavaScript
Code
6
16
module.exports = new Date(2037, 5, 15)
49,908
https://github.com/pornin/BAT/blob/master/src/kem257.c
Github Open Source
Open Source
MIT
2,022
BAT
pornin
C
Code
10,162
28,118
#include "inner.h" /* * We use the mod 257 code here. */ #define Q 257 #include "modgen.c" /* see inner.h */ int bat_make_public_257(uint16_t *h, const int8_t *f, const int8_t *g, unsigned logn, uint32_t *tmp) { size_t u, n; uint16_t *ft, *gt; n = (size_t)1 << logn; ft = (uint16_t *)tmp; gt = ft + n; for ...
42,485
https://github.com/ematt/Aurora/blob/master/Project-Aurora/Project-Aurora/Settings/Overrides/Logic/Boolean/Control_BooleanGSIEnum.xaml.cs
Github Open Source
Open Source
MIT
2,022
Aurora
ematt
C#
Code
210
490
 using System; using System.Linq; using System.Windows; using System.Windows.Controls; namespace Aurora.Settings.Overrides.Logic { public partial class Control_BooleanGSIEnum : UserControl { public Control_BooleanGSIEnum(BooleanGSIEnum context) { InitializeComponent(); ((Framewor...
27,937
https://github.com/bertomoore/dev/blob/master/src/components/ui.css.ts
Github Open Source
Open Source
0BSD
2,022
dev
bertomoore
TypeScript
Code
1,244
4,428
import { style, styleVariants } from "@vanilla-extract/css" import { calc } from "@vanilla-extract/css-utils" import { theme } from "../theme.css" const breakpoints = ["40em", "52em", "64em"] export const media = { small: `screen and (min-width: ${breakpoints[0]})`, medium: `screen and (min-width: ${breakpoints[1...
38,454