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/Heafy/PokemonGo-Sockets/blob/master/PokemonGo-Sockets.1
Github Open Source
Open Source
MIT
null
PokemonGo-Sockets
Heafy
null
Spoken
117
389
.\"******************************************************************* .\" Manual para PokemonGo-Sockets. .\"******************************************************************* .\" Comprimir este archivo con gzip: .\" gzip PokemonGo-Sockets.1 .\" Como superusuario mover el comprimido en su ubicación adecuada. .\" mv ./...
21,304
https://github.com/mizanur75/doctor-please/blob/master/alien/resources/views/frontend/doctor-profile.blade.php
Github Open Source
Open Source
MIT
2,019
doctor-please
mizanur75
Blade
Code
186
1,051
@extends('layouts.front.app') @section('title', $qItems->name) @section('front') <!--Page Title--> <section class="page-title" style="background-image:url({{url('images/background/page-title-bg.jpg')}});"> <div class="auto-container"> <div class="sec-title"> <h1>Doctor <span cl...
41,125
https://github.com/goodswifter/iOS_base_principle/blob/master/09-runtime/14-Runtime应用03-方法交换/NSMutableArray+Swizzing.h
Github Open Source
Open Source
MIT
null
iOS_base_principle
goodswifter
C
Code
29
120
// // NSMutableArray+Swizzing.h // 14-Runtime应用03-方法交换 // // Created by zhongaidong on 2020/10/21. // Copyright © 2020 jingshonline. All rights reserved. // #import <Foundation/Foundation.h> NS_ASSUME_NONNULL_BEGIN @interface NSMutableArray (Swizzing) @end NS_ASSUME_NONNULL_END
10,995
https://github.com/psu-libraries/myaccount/blob/master/spec/components/place_loan_success_component_spec.rb
Github Open Source
Open Source
Apache-2.0
2,023
myaccount
psu-libraries
Ruby
Code
86
296
# frozen_string_literal: true require 'rails_helper' RSpec.describe PlaceLoanSuccessComponent, type: :component do let(:bib) do { title: 'Some Title', author: 'Somebody', catkey: 'a_catkey', shadowed?: false } end let(:result) do { bib:, catkey: 'a_catkey', ...
21,448
https://github.com/nishp1/narative.co/blob/master/src/components/Button/index.ts
Github Open Source
Open Source
BSD-3-Clause
2,021
narative.co
nishp1
TypeScript
Code
6
14
export { default } from '@components/Button/Button'
5,733
https://github.com/AlessandroFonseca/util.asm/blob/master/examples/exercicio_4.asm
Github Open Source
Open Source
MIT
2,020
util.asm
AlessandroFonseca
Assembly
Code
165
409
%include '../util.asm' default rel section .text global _main ; ;rótulo no código é como se fosse funçao ;rótulo na área de dados é nome de variável ; _main: ;rotulo inicio do programa ;lea rdi, [fibonacci] mov qword [fibonacci], 0 mov qword [fibonacci+1*8],1 mov r10, 2 laco: lea r15, [fibonacci] mov r9, [r15+(...
2,789
https://github.com/01d55/ocl/blob/master/examples/basics.rs
Github Open Source
Open Source
MIT
2,016
ocl
01d55
Rust
Code
241
741
extern crate ocl; use ocl::{util, core, ProQue, Buffer}; // Number of results to print out: const RESULTS_TO_PRINT: usize = 20; // Our arbitrary data set size and coefficent: const DATA_SET_SIZE: usize = 2 << 20; const COEFF: f32 = 5432.1; // Our kernel source code: static KERNEL_SRC: &'static str = r#" __kerne...
51,760
https://github.com/JamesKim2998/unity-text-typer/blob/master/Assets/RedBlueGames/TextTyper/Tests/Editor/TypedTextGeneratorTests.cs
Github Open Source
Open Source
MIT
2,019
unity-text-typer
JamesKim2998
C#
Code
689
3,096
namespace RedBlueGames.Tools.TextTyper.Tests { using UnityEditor; using UnityEngine; using NUnit.Framework; public class TypedTextGeneratorTests { [Test] public void GetText_EmptyString_ReturnsEmptyAndCompleted() { var textToType = string.Empty; var ...
6,461
https://github.com/dldhk97/KumohCafeteriaViewer/blob/master/app/src/main/java/com/dldhk97/kumohcafeteriaviewer/SettingsActivity.java
Github Open Source
Open Source
MIT
null
KumohCafeteriaViewer
dldhk97
Java
Code
269
1,328
package com.dldhk97.kumohcafeteriaviewer; import android.content.Context; import android.content.DialogInterface; import android.content.SharedPreferences; import android.os.Bundle; import android.util.Log; import android.view.MenuItem; import androidx.appcompat.app.ActionBar; import androidx.appcompat.app.AlertDialo...
3,294
https://github.com/graycarl/tge/blob/master/src/graphics/renderer.rs
Github Open Source
Open Source
Apache-2.0, MIT
2,020
tge
graycarl
Rust
Code
496
2,292
use super::{vertex, Vertex}; use super::opengl::{VertexArray, BufferUsage, Buffer, VertexBuffer, ElementBuffer, PrimitiveType}; use crate::error::{GameError, GameResult}; use glow::Context; use std::rc::Rc; pub struct Renderer { vertex_array: VertexArray, vertex_buffer: VertexBuffer, vertex_size: usize, ...
14,223
https://github.com/JetBrains/intellij-community/blob/master/java/debugger/impl/src/com/intellij/debugger/memory/ui/StackFramePopup.java
Github Open Source
Open Source
Apache-2.0
2,023
intellij-community
JetBrains
Java
Code
84
386
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.debugger.memory.ui; import com.intellij.debugger.JavaDebuggerBundle; import com.intellij.debugger.engine.DebugProcessImpl; import com.intellij.debugger.memor...
16,937
https://github.com/Resousse/django-report-builder/blob/master/js/src/app/main/right-sidebar/right-sidebar.component.ts
Github Open Source
Open Source
BSD-3-Clause
2,020
django-report-builder
Resousse
TypeScript
Code
209
744
import { Component, Input, Output, OnChanges, EventEmitter, ViewChild, } from '@angular/core'; import { IField, IRelatedField } from '../../models/api'; import { MatTableDataSource } from '@angular/material/table'; import { TreeNode } from '@circlon/angular-tree-component'; import { ITreeNode } from '@circl...
15,567
https://github.com/sutd-statnlp/service-negationscope/blob/master/src/main/java/org/statnlp/services/negationscope/service/DetectionService.java
Github Open Source
Open Source
MIT
2,018
service-negationscope
sutd-statnlp
Java
Code
14
79
package org.statnlp.services.negationscope.service; import org.statnlp.services.negationscope.rest.DetectionRequest; import java.util.concurrent.CompletableFuture; public interface DetectionService { CompletableFuture<boolean[]> detect(DetectionRequest detectionRequest); }
32,906
https://github.com/mujoko/koperasi/blob/master/gaji/par_atas01.php
Github Open Source
Open Source
Apache-2.0
2,018
koperasi
mujoko
PHP
Code
8
37
<?php include "../auth.php"; require "../class/MySQL.php"; include "../gaji/tabel_gaji.php"; ?>
17,011
https://github.com/ekvanox/adfree-viafree/blob/master/no.viafree.android/4.5.2/patched_source/smali/com/google/android/gms/internal/firebase_messaging/zzt.smali
Github Open Source
Open Source
MIT
2,021
adfree-viafree
ekvanox
Smali
Code
6
35
.class final synthetic Lcom/google/android/gms/internal/firebase_messaging/zzt; .super Ljava/lang/Object;
27,679
https://github.com/yosualb/gocourse/blob/master/faninfanout/main.go
Github Open Source
Open Source
MIT
null
gocourse
yosualb
Go
Code
161
437
package main import ( "fmt" "strconv" "time" ) func FanIn(input1, input2 <-chan int) <-chan string { c := make(chan string) go func() { for { select { case i := <-input1: c <- fmt.Sprintf("Input1: %v", strconv.Itoa(i)) case i := <-input2: c <- fmt.Sprintf("Input2: %v", strconv.Itoa(i)) } ...
33,004
https://github.com/AdamBurstynski/codice-test/blob/master/pax-exam-extensions/src/main/java/org/codice/pax/exam/config/ConfigStabilizer.java
Github Open Source
Open Source
Apache-2.0
2,021
codice-test
AdamBurstynski
Java
Code
216
354
/** * Copyright (c) Codice Foundation * * <p>This is free software: you can redistribute it and/or modify it under the terms of the GNU * Lesser General Public License as published by the Free Software Foundation, either version 3 of * the License, or any later version. * * <p>This program is distributed in the ...
8,831
https://github.com/jesusorejarena/nodejs-practices/blob/master/node-postgresql-api/src/app.js
Github Open Source
Open Source
MIT
null
nodejs-practices
jesusorejarena
JavaScript
Code
57
144
import express, { json } from 'express'; import morgan from 'morgan'; // Importing routes import projectsRoutes from './routes/projects'; import taskRoutes from './routes/tasks'; // Inicialization const app = express(); // Middlewars app.use(morgan('dev')); app.use(json()); // Para que el servidor entienda lo que va...
50,973
https://github.com/elegantmedia/php-toolkit/blob/master/tests/Unit/DirTest.php
Github Open Source
Open Source
MIT
null
php-toolkit
elegantmedia
PHP
Code
150
815
<?php namespace ElegantMedia\PHPToolkit\Tests\Unit; use ElegantMedia\PHPToolkit\Dir; use ElegantMedia\PHPToolkit\Exceptions\FileSystem\DirectoryMissingException; use PHPUnit\Framework\TestCase; class DirTest extends TestCase { private static $testDirName = "_test_dir"; protected function tearDown(): void { if (...
37,147
https://github.com/eismeraldo/edu/blob/master/kata-java8-news/src/main/java/org/anderes/edu/dojo/java8/news/time/OfferOldStyle.java
Github Open Source
Open Source
Apache-2.0
2,016
edu
eismeraldo
Java
Code
119
338
package org.anderes.edu.dojo.java8.news.time; import java.text.DateFormat; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Date; public class OfferOldStyle { private final Date validFrom; private final Date validTo; private final String description; private final...
15,720
https://github.com/Shuttl-Tech/antlr_psql/blob/master/src/test/resources/sql/insert/17c88d43.sql
Github Open Source
Open Source
MIT
2,022
antlr_psql
Shuttl-Tech
SQL
Code
9
26
-- file:truncate.sql ln:64 expect:true INSERT INTO trunc_b VALUES (1)
23,418
https://github.com/sukovec/cestopis-private/blob/master/backend/app/services/serviceWriters.ts
Github Open Source
Open Source
MIT
null
cestopis-private
sukovec
TypeScript
Code
232
653
import { inject } from "inversify"; import { fluentProvide } from "inversify-binding-decorators"; import TYPES from "../const/types"; import db from "./db"; import * as API from "../api/main"; let provideSingleton = function(identifier: any) { return fluentProvide(identifier).inSingletonScope().done(); }; @provideSi...
41,849
https://github.com/brunocarvalhs/friends_secrets/blob/master/lib/app/modules/groups/presenter/pages/create/categories/groups_register_type_controller.dart
Github Open Source
Open Source
BSD-3-Clause
2,022
friends_secrets
brunocarvalhs
Dart
Code
181
801
import 'package:firebase_analytics/firebase_analytics.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter_modular/flutter_modular.dart'; import 'package:friends_secrets/app/modules/groups/domain/usecases/list_types.dart'; import 'package:friends_secrets/app/modules/groups/infra/models/type_model.dar...
3,861
https://github.com/allisonrandal/pcc_testing/blob/master/docs/dev/debugging_with_msvc.pod
Github Open Source
Open Source
Artistic-2.0
2,016
pcc_testing
allisonrandal
null
Spoken
430
1,140
# Copyright (C) 2007, Parrot Foundation. # $Id$ =head1 NAME docs/dev/debugging_with_msvc.pod - Debugging Parrot with Microsoft Visual C++ =head1 ABSTRACT This document describes how to get started with debugging on Microsoft Windows using Visual C++ 7 and later. =head1 DESCRIPTION =head2 Compiler Options Probabl...
12,523
https://github.com/krogank9/cryptodash-server/blob/master/migrations/002.undo.create_wallets.sql
Github Open Source
Open Source
CC0-1.0
2,021
cryptodash-server
krogank9
SQL
Code
5
10
DROP TABLE IF EXISTS wallets;
46,665
https://github.com/himanoa/php-java/blob/master/src/Kernel/Maps/OpCode.php
Github Open Source
Open Source
MIT
2,019
php-java
himanoa
PHP
Code
829
2,744
<?php namespace PHPJava\Kernel\Maps; class OpCode extends Map { const _nop = 0x00; const _aconst_null = 0x01; const _iconst_m1 = 0x02; const _iconst_0 = 0x03; const _iconst_1 = 0x04; const _iconst_2 = 0x05; const _iconst_3 = 0x...
35,494
https://github.com/wlfsihua/webrtc_for_client/blob/master/webRTCAPP/Classes/third_party/boringssl/src/crypto/bytestring/CMakeFiles/bytestring_test.dir/build.make
Github Open Source
Open Source
BSD-3-Clause, OpenSSL, ISC, LicenseRef-scancode-openssl, LicenseRef-scancode-ssleay-windows
2,018
webrtc_for_client
wlfsihua
Makefile
Code
376
2,986
# CMAKE generated file: DO NOT EDIT! # Generated by "Unix Makefiles" Generator, CMake Version 3.8 # Delete rule output on recipe failure. .DELETE_ON_ERROR: #============================================================================= # Special targets provided by cmake. # Disable implicit rules so canonical target...
5,454
https://github.com/quattromani/centennial-corp-display/blob/master/css/vars/_width-vars.scss
Github Open Source
Open Source
MIT
null
centennial-corp-display
quattromani
SCSS
Code
54
258
// Neat Pad $pad: $base-spacing; // Grid settings $grid-columns: 16; $max-width: 1240px; $extra-wide-width: 1680px; // Setup Breakpoints $desktop-px: 1200px; $desktop-columns: 16; $tablet-px: 1199px; $tablet-columns: 8; $mobile-px: 480px; $mobile-columns: 4; $iphone5-px: 375px; // Breakpoints $desktop: new-breakp...
769
https://github.com/kkroesch/shooters/blob/master/ranking/urls.py
Github Open Source
Open Source
Unlicense, MIT
null
shooters
kkroesch
Python
Code
44
267
from django.urls import include, path from django.contrib.auth.decorators import login_required from .views import * urlpatterns = [ path('', EventsView.as_view(), name='events_list'), path('all', AllEventsView.as_view(), name='events_list'), path('feed.ics', EventFeed(), name='events_ical'), path('match/<int:...
22,487
https://github.com/doctyper/Modernizr/blob/master/src/prefixed.js
Github Open Source
Open Source
MIT
2,022
Modernizr
doctyper
JavaScript
Code
155
428
define(['ModernizrProto', 'testPropsAll'], function( ModernizrProto, testPropsAll ) { // Modernizr.prefixed() returns the prefixed or nonprefixed property name variant of your input // Modernizr.prefixed('boxSizing') // 'MozBoxSizing' // Properties must be passed as dom-style camelcase, rather than `box-sizing` ...
7,207
https://github.com/corbella83/PopKorn/blob/master/popkorn/src/commonMain/kotlin/core/config/Parameters.kt
Github Open Source
Open Source
Apache-2.0
2,023
PopKorn
corbella83
Kotlin
Code
173
432
package cc.popkorn.core.config import cc.popkorn.core.exceptions.AssistedNotFoundException import cc.popkorn.core.model.Instance import kotlin.reflect.KClass /** * Class to define a list of parameters. This class is not meant to be created by users. * * @author Pau Corbella * @since 2.1.0 */ class Parameters pri...
28,847
https://github.com/ChairInkitchenAmer/hifi-content/blob/master/events/bingo/entityScripts/bingoWheel/bingoWheel.js
Github Open Source
Open Source
Apache-2.0
2,019
hifi-content
ChairInkitchenAmer
JavaScript
Code
1,080
2,809
/* eslint-disable no-magic-numbers */ // // bingoWheel.js // // Created by Rebecca Stankus on 10/16/2018 // Copyright High Fidelity 2018 // // Licensed under the Apache 2.0 License // See accompanying license file or http://apache.org/ // /* global AccountServices, Audio, Entities, Math, MyAvatar, Script, String */ ...
11,327
https://github.com/zjjzjw/crm/blob/master/core/app/Providers/EventServiceProvider.php
Github Open Source
Open Source
MIT
2,017
crm
zjjzjw
PHP
Code
79
322
<?php namespace Huifang\Providers; use Xinfang\Listeners\Business\CustomerChangeListener; use Xinfang\Listeners\Business\PrivateBuyerCallListener; use Xinfang\Listeners\Business\CallNumListener; use Xinfang\Listeners\Business\CallTimeListener; use Xinfang\Listeners\Business\ManagerLookListener; use Xinfang\Listeners\...
31,547
https://github.com/data-integrations/wrangler/blob/master/wrangler-service/src/main/java/io/cdap/wrangler/SamplingMethod.java
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, Apache-2.0
2,023
wrangler
data-integrations
Java
Code
228
481
/* * Copyright © 2017-2019 Cask Data, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
3,285
https://github.com/pombredanne/bao/blob/master/src/decode.rs
Github Open Source
Open Source
MIT
2,019
bao
pombredanne
Rust
Code
6,089
17,126
//! Decode the Bao format, or decode a slice. //! //! Decoding verifies that all the bytes of the encoding match the root hash given from the caller. //! If there's a mismatch, decoding will return an error. It's possible for incremental decoding to //! return some valid bytes before encountering a error, but it will n...
51,027
https://github.com/mpapp/google-api-objectivec-client/blob/master/Source/Services/YouTube/Generated/GTLYouTubeLiveBroadcast.h
Github Open Source
Open Source
Apache-2.0
null
google-api-objectivec-client
mpapp
C
Code
549
1,260
<<<<<<< HEAD /* Copyright (c) 2013 Google Inc. ======= /* Copyright (c) 2016 Google Inc. >>>>>>> 0a3d6d635b9db2198f03ed062a7b85824d2930bd * * 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 ...
39,058
https://github.com/isak-glans/sagohamnen/blob/master/resources/assets/js/scripts/dbFactories/chronicleFactory.js
Github Open Source
Open Source
MIT
null
sagohamnen
isak-glans
JavaScript
Code
24
109
angular.module('ShApp') .factory('ChronicleFactory', ['$resource', function($resource) { //return $resource('/api/campagin/:campaign_id'); return $resource('/api/chronicle/:id', {}, { /*save: { method: 'POST' , isArray: false},*/ }); } //, params:{id:'@id', status:'@status...
36,654
https://github.com/nithincvpoyyil/kollavarsham-js/blob/master/test/lib/dates/kollavarshamDate.spec.js
Github Open Source
Open Source
MIT
2,017
kollavarsham-js
nithincvpoyyil
JavaScript
Code
124
450
import {expect} from 'chai'; import KollavarshamDate from '../../../lib/dates/kollavarshamDate.js'; describe('KollavarshamDate', function () { let date; beforeEach(function () { date = new KollavarshamDate(); }); describe('empty constructor', function () { it('should set up the date correctly', fun...
42,591
https://github.com/MDRafiqul-Islam/RimFC/blob/master/app/Http/Controllers/admin/ManageController.php
Github Open Source
Open Source
MIT
null
RimFC
MDRafiqul-Islam
PHP
Code
160
687
<?php namespace App\Http\Controllers\admin; use App\Models\User; use Illuminate\Http\Request; use App\Http\Controllers\Controller; use App\Http\Controllers\manager\playercontroller; use App\Models\Fixture; use App\Models\Formation; use App\Models\Player; use App\Models\Purchased; use App\Models\Sponsor; use App\Model...
22,286
https://github.com/kpmrozowski/basic-neural-network/blob/master/utils.py
Github Open Source
Open Source
MIT
null
basic-neural-network
kpmrozowski
Python
Code
147
411
# import pandas as pd import numpy as np def read_csv_file(method, file, type, count): # AttributeError: 'str' object has no attribute 'astype' # method = method.astype(str) # file = file.astype(str) # type = type.astype(str) # count = count.astype(str) # csv_file = pd.read_csv...
52,239
https://github.com/golden-mountain/react-style-editor/blob/master/lib/utils/prettify.js
Github Open Source
Open Source
MIT
2,019
react-style-editor
golden-mountain
JavaScript
Code
275
819
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _COMMON = require("./COMMON"); var _clean = _interopRequireDefault(require("./clean")); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } /* */ /** * */ var...
48,102
https://github.com/haozhangphd/QuantLib-noBoost/blob/master/test-suite/circularbuffer.cpp
Github Open Source
Open Source
BSD-3-Clause
2,021
QuantLib-noBoost
haozhangphd
C++
Code
105
463
/* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ #include "utilities.hpp" #include "circular_buffer.hpp" #include <vector> #include <iostream> using QuantLib::Real; TEST_CASE("CircularBuffer_Construction", "[.]") { INFO("Testing circular buffer constructors..."); std::vector...
41,114
https://github.com/WarlockRichard/backend/blob/master/app/services/CompetenceService.scala
Github Open Source
Open Source
Apache-2.0
2,021
backend
WarlockRichard
Scala
Code
237
638
/* * 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, software * distribut...
40,111
https://github.com/quangbestdev/react-job-onboarding/blob/master/src/routes/CandidateSignup/SignupPage.js
Github Open Source
Open Source
MIT
2,020
react-job-onboarding
quangbestdev
JavaScript
Code
11
38
import SignupPage from 'components/CredentialsPage'; import enhancer from './SignupPage.enhancer'; export default enhancer(SignupPage);
40,431
https://github.com/kba/anno-common/blob/master/anno-server/middleware/cors.js
Github Open Source
Open Source
MIT
2,020
anno-common
kba
JavaScript
Code
42
191
module.exports = (cb) => { return cb(null, (req, resp, next) => { resp.header('Access-Control-Allow-Origin', req.get('Origin')) resp.header('Access-Control-Allow-Headers', 'Content-Type, Prefer, Authorization, X-Anno-Context, X-Anno-Collection, X-Anno-Metadata') resp.header('Access-Control-A...
22,867
https://github.com/cameronneylon/orcid-python/blob/master/orcid/constants.py
Github Open Source
Open Source
MIT
2,019
orcid-python
cameronneylon
Python
Code
6
49
ORCID_PUBLIC_BASE_URL = 'http://pub.orcid.org/v1.2/' ORCID_SANDBOX_BASE_URL = 'http://pub.orcid.org/'
44,534
https://github.com/dalalsunil1986/xv7/blob/master/xv7-kernel/src/arch/x86_64/interrupt/timer.rs
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, Apache-2.0, MIT
2,021
xv7
dalalsunil1986
Rust
Code
36
156
use crate::cpu::my_cpu; use super::controller::LOCAL_APIC; use x86_64::structures::idt::InterruptStackFrame; pub extern "x86-interrupt" fn handler(_stack_frame: InterruptStackFrame) { unsafe { asm!("cli") }; LOCAL_APIC.lock().end_of_interrupt(); let cpu = my_cpu(); if cpu.current_process.is_some() { ...
41,807
https://github.com/xf97/HuangGai/blob/master/injectedContractDataSet/nonStandarNaming/0xc40D7b9ca90EAca4A6e067b6ec689fD29f4a8b3C_nonStandardNaming.sol
Github Open Source
Open Source
MIT
2,022
HuangGai
xf97
Solidity
Code
3,727
11,239
pragma solidity 0.6.0; contract Nest_NToken_OfferMain { using SafeMath for uint256; using address_make_payable for address; using SafeERC20 for ERC20; ...
47,274
https://github.com/CE-KMITL-OOAD-2014/KMITL-simple-event-bulletins-board/blob/master/mvc/controllers/register.php
Github Open Source
Open Source
Apache-2.0
2,014
KMITL-simple-event-bulletins-board
CE-KMITL-OOAD-2014
PHP
Code
164
648
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); /** * register Class * * class for user to register * */ class register extends CI_Controller { //default page : show register form public function index() { $data['title'] = "KMITL-BBS : สมัครสมาชิก"; // -------------- view : sh...
47,288
https://github.com/bitwig/usb4java-javax/blob/master/src/test/java/org/usb4java/javax/descriptors/SimpleUsbStringDescriptorTest.java
Github Open Source
Open Source
MIT
2,022
usb4java-javax
bitwig
Java
Code
438
1,422
/* * Copyright (C) 2013 Klaus Reimer <k@ailis.de> * See LICENSE.md for licensing information. */ package org.usb4java.javax.descriptors; import static org.junit.Assert.assertArrayEquals; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertNo...
29,194
https://github.com/chaiwatt/npcsolution/blob/master/app/Http/Controllers/SubScriberController.php
Github Open Source
Open Source
MIT
2,021
npcsolution
chaiwatt
PHP
Code
41
161
<?php namespace App\Http\Controllers; use App\Models\SubScriber; use Illuminate\Http\Request; class SubScriberController extends Controller { public function createsave(Request $request){ $this->validate(request(), [ 'email' => 'required|email' ]); $check = SubScriber::where(...
52,580
https://github.com/betotorodev/betotoro.dev/blob/master/src/styles/components/tagsAchives.scss
Github Open Source
Open Source
MIT
2,020
betotoro.dev
betotorodev
SCSS
Code
65
232
/* Tag Archives /* ---------------------------------------------------------- */ .tag-header { max-width: 690px; margin: 0 0 4vw; } .tag-header h1 { margin: 0 0 1rem 0; font-size: 60px; font-weight: var(--font-heavy); color: transparent; -webkit-text-stroke: 1px var(--brand-secondary); }...
46,313
https://github.com/uliSchi/jonix/blob/master/jonix-codegen/src/main/java/com/tectonica/jonix/codegen/generator/OnixDocsParser.java
Github Open Source
Open Source
Apache-2.0
2,022
jonix
uliSchi
Java
Code
253
825
/* * Copyright (C) 2012-2020 Zach Melamed * * Latest version available online at https://github.com/zach-m/jonix * Contact me at zach@tectonica.co.il * * 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 ...
36,690
https://github.com/testpulse/SpecFlow.Assist.Dynamic/blob/master/Specs/Steps/DynamicInstanceCreationSteps.cs
Github Open Source
Open Source
MIT
2,015
SpecFlow.Assist.Dynamic
testpulse
C#
Code
176
769
using System; using System.Collections.Generic; using Should.Fluent; using TechTalk.SpecFlow; using TechTalk.SpecFlow.Assist; namespace Specs.Steps { [Binding] public class DynamicInstanceCreationSteps { [Given(@"I create a dynamic instance from this table")] [When(@"I create a dynamic in...
20,905
https://github.com/eerimoq/monolinux-example-project/blob/master/3pp/linux/include/linux/reset/socfpga.h
Github Open Source
Open Source
GPL-2.0-only, MIT, Linux-syscall-note
2,020
monolinux-example-project
eerimoq
C
Code
15
86
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __LINUX_RESET_SOCFPGA_H__ #define __LINUX_RESET_SOCFPGA_H__ void __init socfpga_reset_init(void); #endif /* __LINUX_RESET_SOCFPGA_H__ */
36,053
https://github.com/navikt/farskapsportal-ui/blob/master/src/pages/skjema/common/SkjemaStep.less
Github Open Source
Open Source
MIT
null
farskapsportal-ui
navikt
Less
Code
41
148
@import 'styles/assets'; .SkjemaStep { display: flex; flex-direction: column; @media (min-width: @mobile-breakpoint) { flex-direction: row; } &__done { display: flex; justify-content: space-between; align-items: flex-start; } .panel { width: 100%; padding: 0 1rem; @media (...
37,426
https://github.com/krrg/bank-of-brigham/blob/master/frontend/components/Login/2fa/U2FVerifyBox.js
Github Open Source
Open Source
MIT
null
bank-of-brigham
krrg
JavaScript
Code
105
377
import React from "react"; import LoadingSpinner from "../../LoadingSpinner"; import LoginActions from "../../../actions/LoginActions"; import LoginStore from "../../../stores/LoginStore"; import { withRouter } from "react-router-dom"; class U2FVerifyBox extends React.Component { constructor() { super()...
42,197
https://github.com/Myasuka/ignite-3/blob/master/modules/client/src/test/java/org/apache/ignite/client/ClientTupleTest.java
Github Open Source
Open Source
Apache-2.0
null
ignite-3
Myasuka
Java
Code
1,109
4,102
/* * 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 ...
47,164
https://github.com/PeterTowers/visuProject/blob/master/view/nordic_countries.py
Github Open Source
Open Source
MIT
null
visuProject
PeterTowers
Python
Code
262
1,195
import dash_core_components as dcc import dash_html_components as html import dash_bootstrap_components as dbc from view import views import src.country_clusters as countries import src.visualizations as visu def nordic_page(): page = html.Div( children=[views.navbar, views.landing_text, ...
20,934
https://github.com/mitenjain/mba/blob/master/.gitmodules
Github Open Source
Open Source
MIT
2,015
mba
mitenjain
Git Config
Code
8
41
[submodule "submodules/PyPore"] path = submodules/PyPore url = https://github.com/jmschrei/PyPore
32,676
https://github.com/ARM-software/armnn/blob/master/src/armnnOnnxParser/test/Unsqueeze.cpp
Github Open Source
Open Source
BSD-3-Clause, CC0-1.0, MIT, LicenseRef-scancode-unknown-license-reference
2,023
armnn
ARM-software
C++
Code
536
2,176
// // Copyright © 2021 Arm Ltd and Contributors. All rights reserved. // SPDX-License-Identifier: MIT // #include "armnnOnnxParser/IOnnxParser.hpp" #include "ParserPrototxtFixture.hpp" #include "OnnxParserTestUtils.hpp" TEST_SUITE("OnnxParser_Unsqueeze") { struct UnsqueezeFixture : public armnnUtils::ParserPrototxtF...
34,317
https://github.com/Tapklik/admin/blob/master/app/Http/Controllers/AccountsController.php
Github Open Source
Open Source
MIT
null
admin
Tapklik
PHP
Code
39
121
<?php namespace App\Http\Controllers; use App\Account; class AccountsController extends Controller { public function index () { $accounts = []; return view('accounts.index', compact('accounts')); } public function show ($id) { return view('accounts.show', compact('id')); } public function noroute()...
32,542
https://github.com/opensafely/FLUCATS/blob/master/analysis/study_definition_end.py
Github Open Source
Open Source
MIT
2,023
FLUCATS
opensafely
Python
Code
118
741
from cohortextractor import ( StudyDefinition, patients, ) from codelists import * from variables.vaccination_variables import vaccination_variables end_date = "2021-06-30" study = StudyDefinition( default_expectations={ "date": {"earliest": "1900-01-01", "latest": "today"}, "rate": "uni...
21,904
https://github.com/topteranaiz/pro_music/blob/master/app/Models/Band.php
Github Open Source
Open Source
MIT
null
pro_music
topteranaiz
PHP
Code
133
515
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; use App\Models\MusicEmbed; use App\Models\PerformancePicture; use App\Models\Performance; use App\Models\TypeMusicJoin; use App\Models\Comment; use App\Models\Job; use Illuminate\Foundation\Auth\User as Authenticatable; use Illuminate\Notifications...
26,078
https://github.com/cdli-gh/mtaac_cdli_ur3_corpus/blob/master/ur3_corpus_data/annotated/morph/P132/P132346.conll
Github Open Source
Open Source
CC0-1.0, LicenseRef-scancode-public-domain
2,022
mtaac_cdli_ur3_corpus
cdli-gh
null
Spoken
181
720
#new_text=P132346 FORM SEGM XPOSTAG XPOSTAG POS 1(asz) 1(asz)[one] NU NU D dabin dabin[semolina] N N D gur gur[unit] N N D sza3 szag[heart] N N D en-nu ennug[guard][-ra] PN PN.DAT-H D e2-da-na-ka _ N N.GEN.GEN Iabcde sa2-du11 sadug[offerings] N N D en-nu ennug[guard][-ra] PN PN.DAT-H D ki ki[place] N N D hu-za-li2-ta _...
20,780
https://github.com/bannetguo/Rocket.Chat.Electron/blob/master/tasks/test.js
Github Open Source
Open Source
MIT
2,019
Rocket.Chat.Electron
bannetguo
JavaScript
Code
89
389
const childProcess = require('child_process'); const gulp = require('gulp'); const bundle = require('./bundle'); const getEnv = require('./env'); gulp.task('test:build', async() => { const env = getEnv(); await bundle.many('src', 'main/*.spec.js', 'app/main.specs.js', { env }); await bundle.many('src', ['*.spec.js...
23,674
https://github.com/zhiiker/p2pspider/blob/master/vendor/github.com/marksamman/bencode/encoder.go
Github Open Source
Open Source
MIT
2,022
p2pspider
zhiiker
Go
Code
363
915
/* * Copyright (c) 2014 Mark Samman <https://github.com/marksamman/bencode> * * 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...
51,136
https://github.com/yoshi-practice/odpt-get-log/blob/master/app.js
Github Open Source
Open Source
MIT
2,019
odpt-get-log
yoshi-practice
JavaScript
Code
34
175
const request = require('request'); let URL = 'https://api-tokyochallenge.odpt.org/api/v4/odpt:Train?acl:consumerKey=e4e94d49da4866b76b2fc33016e7a3f792e459762199754561eb2b788fda68ee'; request.get({ uri: URL, headers: {'Content-type': 'application/json'}, qs: { }, json: true }, function(err, req, d...
24,717
https://github.com/miguelc1221/canvas-kit/blob/master/cypress/integration/Modal.spec.ts
Github Open Source
Open Source
Apache-2.0
null
canvas-kit
miguelc1221
TypeScript
Code
1,313
4,177
import * as h from '../helpers'; function getModalTargetButton() { return cy.contains('Delete Item'); } describe('Modal', () => { before(() => { h.stories.visit(); }); ['Default', 'WithoutHook'].forEach(story => { context(`given the '${story}' story is rendered`, () => { beforeEach(() => { ...
18,510
https://github.com/deluxebrain/flask-restplus-demo/blob/master/flask_restplus_demo/api/v1/api.py
Github Open Source
Open Source
MIT
2,019
flask-restplus-demo
deluxebrain
Python
Code
18
58
import logging from flask_restplus import Api log = logging.getLogger(__name__) api = Api(version="1.0", title="Hello World v1.0", description="Hello World v1.0")
14,777
https://github.com/amadoutidiane/test/blob/master/app/Http/Controllers/ActiviteResourcecontroller.php
Github Open Source
Open Source
MIT
null
test
amadoutidiane
PHP
Code
13
49
<?php namespace App\Http\Controllers; App\ActiviteResource; use Illuminate\Http\Request; class ActiviteResourcecontroller extends Controller { // }
43,177
https://github.com/edycavalcante/estoque/blob/master/application/controllers/Welcome.php
Github Open Source
Open Source
MIT
null
estoque
edycavalcante
PHP
Code
205
541
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Welcome extends CI_Controller { /** * Index Page for this controller. * * Maps to the following URL * http://example.com/index.php/welcome * - or - * http://example.com/index.php/welcome/index * - or - * Since this contro...
16,569
https://github.com/liuitt/framework/blob/master/src/Liuitt/Interfaces/Registry.php
Github Open Source
Open Source
MIT
2,017
framework
liuitt
PHP
Code
20
61
<?php namespace Liuitt\Interfaces; interface Registry { public function set($key, $value); public function get($key); public function remove($key); public function isRegistered($key); }
12,067
https://github.com/armandolazarte/gia/blob/master/app/database/seeds/TestUsersTableSeeder.php
Github Open Source
Open Source
MIT
2,015
gia
armandolazarte
PHP
Code
44
161
<?php class TestUsersTableSeeder extends Seeder { public function run() { $psw = Hash::make('1234'); User::create(array( 'username' => '111', 'email' => 'usuario@prueba.com', 'password' => $psw, 'nombre' => 'Usuario de Prueba', 'cargo' => 'Cargo Prueba', ...
5,670
https://github.com/kjb4494/nlp-study-project/blob/master/inference.py
Github Open Source
Open Source
MIT
null
nlp-study-project
kjb4494
Python
Code
279
1,503
import utils import torch import tqdm from data_api.cvae_corpus import KGCVAECorpus from data_api.data_loader import get_cvae_collate from data_api.dataset import CVAEDataset from torch.utils.data import DataLoader from model.cvae import CVAEModel from model.cvae_feed_info import CVAEFeedInfo from model.index2sent impo...
21,011
https://github.com/eamcauliffe/BciPy/blob/master/scripts/session_tools.py
Github Open Source
Open Source
MIT
2,019
BciPy
eamcauliffe
Python
Code
239
852
"""Tools for viewing and debugging session.json data""" import contextlib # prevents pygame from outputting to the console on import. with contextlib.redirect_stdout(None): import pygame import json import os from collections import Counter from bcipy.helpers.load import load_json_parameters from bcipy.helpers.ta...
8,889
https://github.com/parkr/MacPaper/blob/master/OAuth/OACall.m
Github Open Source
Open Source
MIT
2,013
MacPaper
parkr
Objective-C
Code
375
1,474
// // OACall.m // OAuthConsumer // // Created by Alberto García Hierro on 04/09/08. // Copyright 2008 Alberto García Hierro. All rights reserved. // bynotes.com #import "OAConsumer.h" #import "OAToken.h" #import "OAProblem.h" #import "OADataFetcher.h" #import "OAServiceTicket.h" #import "OAMutableURLRequest.h" #im...
40,338
https://github.com/bio-ontology-research-group/lodvectors/blob/master/sim.groovy
Github Open Source
Open Source
BSD-2-Clause
null
lodvectors
bio-ontology-research-group
Groovy
Code
437
1,528
@Grab(group='com.github.albaker', module='GroovySparql', version='0.9.0') @Grab(group='org.codehaus.groovy.modules.http-builder', module='http-builder', version='0.7.1') import groovyx.net.http.HTTPBuilder import groovy.json.* import java.net.* import static groovyx.net.http.Method.GET import static groovyx.net.http.M...
9,052
https://github.com/applivery/applivery-ios-sdk/blob/master/AppliveryBehaviorTests/Mocks/FeedbackServiceMock.swift
Github Open Source
Open Source
MIT
2,022
applivery-ios-sdk
applivery
Swift
Code
67
206
// // FeedbackServiceMock.swift // AppliverySDK // // Created by Alejandro Jiménez on 16/4/16. // Copyright © 2016 Applivery S.L. All rights reserved. // import Foundation @testable import Applivery class FeedbackServiceMock: PFeedbackService { // Inputs var inResult: Result<Bool, NSError>! // Outputs var ...
44,554
https://github.com/deepakm/deepquor/blob/master/testing/t.cpp
Github Open Source
Open Source
BSD-3-Clause
null
deepquor
deepakm
C++
Code
305
1,075
#include "qtypes.h" #include "qposhash.h" #include "qmovstack.h" #include "qsearcher.h" void dumpPos(const qPosition *pos) { printf(" White pawn: (%d, %d)\n", pos->getWhitePawn().x(), pos->getWhitePawn().y()); printf(" Black pawn: (%d, %d)\n", pos->getBlackPawn().x(), pos->getBlackPawn().y()); printf(" White wa...
6,290
https://github.com/dsbert/window_funcs/blob/master/src/db.rs
Github Open Source
Open Source
Apache-2.0
2,019
window_funcs
dsbert
Rust
Code
158
470
extern crate r2d2; extern crate r2d2_postgres; extern crate rocket_include_tera; extern crate serde_json; extern crate rocket; use std::ops::Deref; use rocket::request::{self, FromRequest, Request, State}; use rocket::outcome::Outcome::*; use rocket::http::Status; use r2d2_postgres::{PostgresConnectionManager, TlsMo...
5,773
https://github.com/EddAmbrosio/course-js/blob/master/class016/function01.js
Github Open Source
Open Source
MIT
null
course-js
EddAmbrosio
JavaScript
Code
22
72
/*function oddeven(n) { if(n%2==0) { return "Even" } else { return "Odd" } } console.log(res = oddeven(8))*/ var vector = [] console.log(vector)
14,853
https://github.com/flyghost/OneOS-V2.1.0/blob/master/drivers/hal/nxp/imxrt10xx/devices/dev_usdhc.c
Github Open Source
Open Source
Apache-2.0
null
OneOS-V2.1.0
flyghost
C
Code
393
2,078
/** *********************************************************************************************************************** * Copyright (c) 2020, China Mobile Communications Group Co.,Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with * the...
37,280
https://github.com/artmeet/tunepik-app/blob/master/resources/js/components/builders/postBuilders/HeaderBodyBuilder.vue
Github Open Source
Open Source
MIT
2,021
tunepik-app
artmeet
Vue
Code
232
905
<template> <div class="media pl-1 pr-1 mt-2 mb-2"> <!-- User Image --> <Picture class="pl-1" :height="pictureSize" :width="pictureSize" :user="post" ></Picture> <div class="media-body ml-3 align-self-center"> <router-link v-bind:to="{ name : 'profile', params :{ username : post.getBasic()....
18,289
https://github.com/ancianoenfermo/MisCaballos/blob/master/resources/views/admin/caballos/Copia2edit.blade.php
Github Open Source
Open Source
MIT
null
MisCaballos
ancianoenfermo
PHP
Code
1,031
4,902
@extends('admin.layout') @section('header') <div class="content-header"> <div class="container-fluid"> <div class="row mb-2"> <div class="col-sm-6"> <h1 class="m-0 text-dark">{{$caballo->name}}<span class="ml-5 badge badge-secondary">{{$caballo->estado == 'PUBLICO' ? 'Público' : 'Privado' ...
37,383
https://github.com/dapv-1808/ketqua/blob/master/resources/views/showketqua.blade.php
Github Open Source
Open Source
MIT
2,020
ketqua
dapv-1808
Blade
Code
80
347
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <title>Document</title> <style> table { font-family: arial, sans-serif; border-...
21,677
https://github.com/rokn/Count_Words_2015/blob/master/testing/droolsjbpm-integration-master/drools-examples-android/roboguice-kiecontainer-test/src/main/java/org/drools/examples/android/DroolsActivityActivityTest.java
Github Open Source
Open Source
MIT
2,016
Count_Words_2015
rokn
Java
Code
370
870
package org.drools.examples.android; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.test.ActivityUnitTestCase; import android.test.suitebuilder.annotation.MediumTest; import android.widget.Button; import android.widget.TextView; import com.cnh.pf.product.tes...
50,777
https://github.com/andig/signalr/blob/master/chatsample/main.go
Github Open Source
Open Source
MIT
null
signalr
andig
Go
Code
413
1,484
package main import ( "context" _ "embed" "fmt" kitlog "github.com/go-kit/kit/log" "github.com/philippseith/signalr" "github.com/philippseith/signalr/chatsample/middleware" "github.com/philippseith/signalr/chatsample/public" "log" "net/http" "os" "strings" "time" ) type chat struct { signalr.Hub } func ...
4,743
https://github.com/Gepetto/robotpkg/blob/master/knowledge/jena/Makefile
Github Open Source
Open Source
BSD-3-Clause, BSD-2-Clause
2,023
robotpkg
Gepetto
Makefile
Code
113
549
# robotpkg Makefile for: knowledge/jena # Created: Anthony Mallet on Fri, 12 Jun 2009 # DISTNAME= jena-${PKGVERSION_NOREV} PKGVERSION= 2.6.4 MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=jena/} EXTRACT_SUFX= .zip CATEGORIES= knowledge LICENSE= modified-bsd MAINTAINER= openrobots@laas.fr HOMEPAGE= http://jena.sourceforge...
11,367
https://github.com/Pandula1234/Machine-Instructions/blob/master/Mips Exersice/mip3.asm
Github Open Source
Open Source
BSL-1.0
null
Machine-Instructions
Pandula1234
Assembly
Code
43
108
.text readValue: la $a0,prompt li,$v0,4 syscall li $v0,5 syscall la $t0, value sw $v0,0($t0) syscall .data prompt: .asciiz "Enter your Integer :" .align 2 #provide a align deractive for give a word boundary value: .space 20 #specify number of bytes to be allocated
26,624
https://github.com/dardie/AppVAutomation/blob/master/Orchestration/BuildPackager.ps1
Github Open Source
Open Source
MIT
2,019
AppVAutomation
dardie
PowerShell
Code
1,065
3,487
[CmdletBinding()] Param($VMHost = 'appdev5', $VMName = 'AutoSequencer', $SoftwareSource = '\\usc.internal\usc\appdev', $WSUSServer = 'http://appdev3:8530', $MDTPackage = "$SoftwareSource\OSBuildUtilities\MDT\2013\Toolkit", $RAM = 2Gb, $DiskSize = 60Gb, $ScriptHost = $env:computername, $PackageName, [...
34,953
https://github.com/Beautifu/forza/blob/master/test/fixtures/listen-80.js
Github Open Source
Open Source
MIT
2,015
forza
Beautifu
JavaScript
Code
8
23
var net = require('net'); var server = net.createServer().listen(80);
5,623
https://github.com/pwlmaciejewski/basset/blob/master/lib/reporter/full.coffee
Github Open Source
Open Source
MIT
2,019
basset
pwlmaciejewski
CoffeeScript
Code
141
406
PlainReporter = require './plain' class FullReporter extends PlainReporter onBegin: -> @done = 0 @results = 0 @failures = 0 @startTimestamp = new Date().getTime() onResult: (result) -> @results += 1 log = "#" + (@done + 1).toString() + " " log += "onLoad...
47,254
https://github.com/mangye16/DDAG/blob/master/attention.py
Github Open Source
Open Source
MIT
2,022
DDAG
mangye16
Python
Code
746
3,023
import numpy as np import torch import torch.nn as nn import torch.nn.functional as F """ PART of the code is from the following link https://github.com/Diego999/pyGAT/blob/master/layers.py """ class Normalize(nn.Module): def __init__(self, power=2): super(Normalize, self).__init__() self....
38,005
https://github.com/QPC-database/jacdac-docs/blob/master/src/components/widgets/useWidgetSize.ts
Github Open Source
Open Source
MIT
2,021
jacdac-docs
QPC-database
TypeScript
Code
71
162
export default function useWidgetSize( variant?: "icon" | "", widgetCount?: number ) { const icon = variant === "icon" const mini = icon let widgetSize: string switch (widgetCount || 1) { case 1: case 2: widgetSize = mini ? "12em" : "16em" break c...
30,953
https://github.com/FaisalAbid/rpc/blob/master/test/src/parser/api_property_double_test.dart
Github Open Source
Open Source
BSD-3-Clause
null
rpc
FaisalAbid
Dart
Code
500
1,858
// Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. library api_property_double_tests; import 'dart:mirrors'; import 'package:rpc/rpc.dart'; import 'pack...
26,755
https://github.com/maladengkeng/Live_Cell_Imaging_Analysis_Summer_2020/blob/master/superSegger/Internal/intGetChannelNum.m
Github Open Source
Open Source
MIT
2,020
Live_Cell_Imaging_Analysis_Summer_2020
maladengkeng
MATLAB
Code
38
110
function nnc = intGetChannelNum( data ) %% comp number of fluor channels nc = numel(find(~cellfun('isempty',strfind(fieldnames(data),'fluor')))); nnc = 0; for jj = 1:nc fluorName = ['fluor',num2str(jj)]; if isfield( data, fluorName ) nnc = nnc + 1; end end end
17,060
https://github.com/Djayl/Spot/blob/master/Spot/Model/FirestoreService.swift
Github Open Source
Open Source
MIT
2,020
Spot
Djayl
Swift
Code
805
2,278
// // FirestoreService.swift // Spot // // Created by MacBook DS on 06/11/2019. // Copyright © 2019 Djilali Sakkar. All rights reserved. // import Foundation import FirebaseFirestore public enum FirestoreError: Error { case offline } public protocol FirestoreRequest { associatedtype FirestoreObject: Doc...
43,814
https://github.com/bitshares-munich/smartcoins-wallet/blob/master/app/src/main/java/de/bitshares_munich/utils/TransactionsHelper.java
Github Open Source
Open Source
MIT
2,017
smartcoins-wallet
bitshares-munich
Java
Code
3,690
14,790
package de.bitshares_munich.utils; import android.content.Context; import android.os.Handler; import android.os.Looper; import android.util.Log; import org.bitcoinj.core.DumpedPrivateKey; import org.bitcoinj.core.ECKey; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import java...
11,499
https://github.com/fullstack-lang/gongmarkdown/blob/master/vendor/github.com/fullstack-lang/gong/ng/projects/gong/src/lib/pointertogongstructfield-db.ts
Github Open Source
Open Source
MIT
2,021
gongmarkdown
fullstack-lang
TypeScript
Code
99
253
// insertion point for imports import { GongStructDB } from './gongstruct-db' // usefull for managing pointer ID values that can be nullable import { NullInt64 } from './null-int64' export class PointerToGongStructFieldDB { CreatedAt?: string DeletedAt?: string ID: number = 0 // insertion point for basic fields ...
52,682