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/LuccaSA/lucca-front/blob/master/packages/ng/department/src/lib/index.ts
Github Open Source
Open Source
MIT
2,022
lucca-front
LuccaSA
TypeScript
Code
16
40
export * from './department.model'; export * from './department.module'; export * from './select/index'; export * from './service/index';
19,460
https://github.com/getcandy/candy-api/blob/master/src/Core/Payments/Exceptions/InvalidPaymentTokenException.php
Github Open Source
Open Source
Apache-2.0
2,022
candy-api
getcandy
PHP
Code
19
72
<?php namespace GetCandy\Api\Core\Payments\Exceptions; use Exception; class InvalidPaymentTokenException extends Exception { public function __construct() { $this->message = trans('getcandy::exceptions.payment_token'); } }
17,619
https://github.com/gynorbi/home/blob/master/WindowsFormsShell/WindowsFormsShell.sln
Github Open Source
Open Source
MIT
2,018
home
gynorbi
null
Spoken
150
1,137
 Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio 14 VisualStudioVersion = 14.0.25420.1 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WindowsFormsShell", "WindowsFormsShell\WindowsFormsShell.csproj", "{7E87FF61-BAF3-42E7-9C13-245B1E18F18E}" En...
14,982
https://github.com/baiyujie/ts-koumei/blob/master/components/ms-layout/index.ts
Github Open Source
Open Source
MIT
null
ts-koumei
baiyujie
TypeScript
Code
4
17
import './ms-layout.scss'; import './ms-layout';
20,183
https://github.com/maxassis/spotenu/blob/master/src/components/footer/index.js
Github Open Source
Open Source
LicenseRef-scancode-public-domain
2,021
spotenu
maxassis
JavaScript
Code
72
466
import React from 'react' import * as S from './styled' import Logo from '../imagens/logo.png' function Footer() { return( <S.Container> <S.Sociais> <S.Titulo><S.Spotenu src={Logo}/></S.Titulo> <S.Insta/> <S.Face/> <S.twit/> <S.You/> </S.Sociai...
4,955
https://github.com/RogerParkinson/schema-builder/blob/master/src/main/java/nz/co/senanque/schemabuilder/ColumnDescriptor.java
Github Open Source
Open Source
Apache-2.0
2,021
schema-builder
RogerParkinson
Java
Code
575
2,305
/* * Created on 13/04/2011 * * Copyright 2011 Prometheus Consulting. * * 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 ...
11,241
https://github.com/jhemesonmotta/unb-prod-user-interface/blob/master/src/app/model/config.ts
Github Open Source
Open Source
MIT
null
unb-prod-user-interface
jhemesonmotta
TypeScript
Code
14
33
export class Config { public id: number; public empresaId: number; public dataCriacao: string; }
43,529
https://github.com/zserg84/orange/blob/master/backend/models/search/SpaceSearch.php
Github Open Source
Open Source
BSD-3-Clause
null
orange
zserg84
PHP
Code
207
773
<?php /** * Created by PhpStorm. * User: sz * Date: 29.09.15 * Time: 12:55 */ namespace backend\models\search; use backend\models\Space; use yii\base\Exception; use yii\data\ActiveDataProvider; use yii\db\Expression; use yii\helpers\VarDumper; class SpaceSearch extends Space { private $_levelName; pu...
44,018
https://github.com/GOLsam/seata/blob/master/tcc/src/main/java/io/seata/rm/tcc/store/TCCFenceStore.java
Github Open Source
Open Source
Apache-2.0
2,022
seata
GOLsam
Java
Code
289
601
/* * Copyright 1999-2019 Seata.io Group. * * 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 l...
45,953
https://github.com/ushiboy/markdown-watch-cat/blob/master/src/server.js
Github Open Source
Open Source
MIT
2,017
markdown-watch-cat
ushiboy
JavaScript
Code
234
653
/* @flow */ import http from 'http'; import url from 'url'; import serveIndex from 'serve-index'; import serveStatic from 'serve-static'; import chokidar from 'chokidar'; import util from 'util'; import { server as WebSocketServer } from 'websocket'; import { routes } from './route'; import { respond404 } from './resp...
35,353
https://github.com/CiscoDevNet/connect-sdk-java/blob/master/src/main/java/com/imiconnect/connect/sms/type/SmsContentType.java
Github Open Source
Open Source
MIT, LicenseRef-scancode-unknown-license-reference
2,021
connect-sdk-java
CiscoDevNet
Java
Code
94
167
package com.imiconnect.connect.sms.type; /** Represents the different type of content that can be sent as a text message. */ public enum SmsContentType { /** Normal text content without unicode. */ TEXT, /** A text message with unicode chars that are outside the ASCII charset. */ UNICODE, /** The content i...
50,421
https://github.com/CJ42/ERC725/blob/master/implementations/contracts/helpers/UniversalReceiverDelegate2.sol
Github Open Source
Open Source
Apache-2.0
null
ERC725
CJ42
Solidity
Code
61
214
// SPDX-License-Identifier: CC0-1.0 pragma solidity ^0.8.0; // constants import "../constants.sol"; // interfaces import "../interfaces/ILSP1UniversalReceiverDelegate.sol"; // modules import "@openzeppelin/contracts/utils/introspection/ERC165Storage.sol"; /** * @dev Contract used for testing */ contract Universal...
10,680
https://github.com/julius-packs/arsus/blob/master/functions/src/apps/backend/controllers/OffersGetController.ts
Github Open Source
Open Source
Apache-2.0
2,021
arsus
julius-packs
TypeScript
Code
24
80
import * as functions from 'firebase-functions'; import { getOffersHandler } from '../../../handlers/get-offers.handler'; export const getOffers = functions .runWith({ timeoutSeconds: 30, memory: '2GB', }) .https.onCall(getOffersHandler);
13,770
https://github.com/trucnguyenlam/mucke/blob/master/contrib/bddlib.D.E.Long/bddlib/bddlib/bddqnt.c
Github Open Source
Open Source
BSD-4-Clause-UC
null
mucke
trucnguyenlam
C
Code
268
1,117
/* BDD quantification routines */ #include "bddint.h" static bdd #if defined(__STDC__) bdd_exists_step(bdd_manager bddm, bdd f, long op, var_assoc vars) #else bdd_exists_step(bddm, f, op, vars) bdd_manager bddm; bdd f; long op; var_assoc vars; #endif { bdd temp1, temp2; bdd result; int qua...
6,858
https://github.com/mepsoid/vscode-s-quirrel/blob/master/src/SubstituteValueByKey.ts
Github Open Source
Open Source
MIT
2,021
vscode-s-quirrel
mepsoid
TypeScript
Code
132
360
import * as vs from 'vscode'; import { promises as fs } from 'fs'; import { extractKeyBefore } from './utils'; import { mapKeyValue, KeyDescriptor } from './mapKeyValue'; export class SubstituteValueByKey implements vs.CompletionItemProvider { provideCompletionItems( document: vs.TextDocument, position: vs.Posi...
32,388
https://github.com/Unity-Technologies/roslyn/blob/master/src/EditorFeatures/CSharpTest/Diagnostics/Async/ChangeToAsyncTests.cs
Github Open Source
Open Source
MIT
2,020
roslyn
Unity-Technologies
C#
Code
113
363
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. #nullable disable using System.Threading.Tasks; using Microsoft.CodeAnalysis.Test.Utilities; using Xunit; using Ve...
24,856
https://github.com/RazortoothRTC/ikimono-proto-min3d/blob/master/setenv.sh
Github Open Source
Open Source
BSD-3-Clause, MIT
2,020
ikimono-proto-min3d
RazortoothRTC
Shell
Code
3
40
#!/bin/sh export PATH=$PATH:/Users/dkords/Library/Android/sdk/tools:/Users/dkords/Library/Android/sdk/platform-tools
42,699
https://github.com/TheAwesomeProgrammer/ThroughtDeadlySpaces2/blob/master/Assets/UnityConsole/Console/Scripts/Commands.meta
Github Open Source
Open Source
MIT
2,016
ThroughtDeadlySpaces2
TheAwesomeProgrammer
Unity3D Asset
Code
14
70
fileFormatVersion: 2 guid: fc25b3d6271e47a4ba82063b85c3ba67 folderAsset: yes timeCreated: 1470416720 licenseType: Free DefaultImporter: userData: assetBundleName: assetBundleVariant:
25,481
https://github.com/sho25/cxf/blob/master/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/grants/code/AuthorizationCodeDataProvider.java
Github Open Source
Open Source
Apache-2.0
null
cxf
sho25
Java
Code
424
1,106
begin_unit|revision:0.9.5;language:Java;cregit-version:0.0.1 begin_comment comment|/** * 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 ...
20,701
https://github.com/crhodes2/FieldScribeDesktopApp/blob/master/Fieldscribe Windows App/Controllers/MarksController.cs
Github Open Source
Open Source
MIT
2,018
FieldScribeDesktopApp
crhodes2
C#
Code
41
180
using Fieldscribe_Windows_App.Models; using Newtonsoft.Json.Linq; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Fieldscribe_Windows_App.Controllers { public class MarksController { public Mark RetrieveMarksByEntryId(int en...
38,033
https://github.com/DuoSoftware/DVP-ViberBot/blob/master/config/default.js
Github Open Source
Open Source
Apache-2.0
null
DVP-ViberBot
DuoSoftware
JavaScript
Code
35
240
module.exports = { "Host": { "iss": "singer", "secret": "abcdefgh", "company": 103, "tenant": 1, "port":"8080" }, "Services": { "messengerhost": "externalipmessagingservice.app.veery.cloud", "messengerport": "3334", "messengerversion":...
15,402
https://github.com/n-770/artifact-driven-data-generation/blob/master/java-test/de/uni/bamberg/wiai/minf/forflow/datagenerator/view/DataGeneratorActionsTest.java
Github Open Source
Open Source
MIT
2,018
artifact-driven-data-generation
n-770
Java
Code
1,188
3,133
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package de.uni.bamberg.wiai.minf.forflow.datagenerator.view; import de.uni.bamberg.wiai.minf.forflow.datagenerator.controller.datageneration.unit.Custom; import de.uni.bamberg.wiai.minf.forflow.datagenerator.model.data...
29,278
https://github.com/chenzhili/myselfStudyWeb/blob/master/dafa/js/ajax.js
Github Open Source
Open Source
MIT
2,018
myselfStudyWeb
chenzhili
JavaScript
Code
65
235
/** * Created by YK on 2017/12/7. */ var ajax = (function($){ return function(urlType,data,type){ //规定 data 为对象; var tempA = data?"?":""; var url = "http://www.0234abc.com/index.php/yike_dashuju/"+urlType+""+tempA; if(data){ for(var key in data){ url += ...
1,761
https://github.com/quartzmo/google-cloud-ruby/blob/master/google-cloud-talent/lib/google/cloud/talent/v4beta1/company_service_client.rb
Github Open Source
Open Source
Apache-2.0
2,019
google-cloud-ruby
quartzmo
Ruby
Code
2,013
6,147
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
621
https://github.com/Pugabyte/BNCore/blob/master/src/main/java/gg/projecteden/nexus/features/minigames/menus/teams/loadout/LoadoutMenu.java
Github Open Source
Open Source
MIT
2,020
BNCore
Pugabyte
Java
Code
294
1,366
package gg.projecteden.nexus.features.minigames.menus.teams.loadout; import gg.projecteden.nexus.features.menus.MenuUtils.ConfirmationMenu; import gg.projecteden.nexus.features.menus.api.ClickableItem; import gg.projecteden.nexus.features.menus.api.annotations.Title; import gg.projecteden.nexus.features.menus.api.cont...
7,970
https://github.com/ReFil/panda/blob/master/board/ibst/Makefile
Github Open Source
Open Source
MIT
2,021
panda
ReFil
Makefile
Code
280
1,283
PROJ_NAME = panda CFLAGS = -g -Wall -Wextra -Wstrict-prototypes -Werror CFLAGS += -mlittle-endian -mthumb -mcpu=cortex-m4 CFLAGS += -mhard-float -DSTM32F4 -DSTM32F413xx -mfpu=fpv4-sp-d16 -fsingle-precision-constant -DIBST STARTUP_FILE = startup_stm32f413xx CFLAGS += -I ../inc -I ../ -I ../../ -nostdlib -fno-builtin -...
2,094
https://github.com/mohamed-abdul-fattah/pova/blob/master/resources/views/layouts/flatlab/login.blade.php
Github Open Source
Open Source
MIT
null
pova
mohamed-abdul-fattah
PHP
Code
137
629
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="description" content=""> <meta name="author" content="Bakly Systems"> <meta name="keyword" content=" Dashboard, Bootstrap, Admin, Template, Theme, Respons...
44,888
https://github.com/mateot1/detekt/blob/master/detekt-test-utils/src/main/kotlin/io/gitlab/arturbosch/detekt/rules/KotlinEnvironmentTestSetup.kt
Github Open Source
Open Source
Apache-2.0
null
detekt
mateot1
Kotlin
Code
48
232
package io.gitlab.arturbosch.detekt.rules import io.github.detekt.test.utils.createEnvironment import org.jetbrains.kotlin.cli.jvm.compiler.KotlinCoreEnvironment import org.spekframework.spek2.dsl.Root import org.spekframework.spek2.lifecycle.CachingMode import java.nio.file.Path fun Root.setupKotlinEnvironment(addit...
5,488
https://github.com/Gjacquenot/training-material/blob/master/Python/Cython/Exceptions/Makefile
Github Open Source
Open Source
CC-BY-4.0
2,022
training-material
Gjacquenot
Makefile
Code
22
83
VERSION = cpython-34m AVERAGE_LIB = average.$(VERSION).so all: $(AVERAGE_LIB) $(AVERAGE_LIB): average.pyx python setup.py build_ext --inplace clean: python setup.py clean rm -f average.c $(AVERAGE_LIB)
24,275
https://github.com/apple-oss-distributions/apache_mod_perl1/blob/master/mod_perl/t/internal/redirect.t
Github Open Source
Open Source
Apache-1.1
2,007
apache_mod_perl1
apple-oss-distributions
Perl
Code
230
797
use Apache::testold; use Config; { package NoRedirect::UA; @ISA = qw(LWP::UserAgent); sub redirect_ok {0} } if(not $net::Is_Win32 and $Config{usesfio} eq "true") { print "1..1\n"; print "ok 1\n"; exit; } my $ua = NoRedirect::UA->new; my $url = "http://$net::httpserver$net::perldir/io/r...
13,768
https://github.com/ircnelson/enjoy-cqrs/blob/master/test/EnjoyCQRS.UnitTests.Shared/StubApplication/Commands/FooAggregate/CreateFooCommand.cs
Github Open Source
Open Source
MIT
2,021
enjoy-cqrs
ircnelson
C#
Code
22
85
using System; using EnjoyCQRS.Commands; namespace EnjoyCQRS.UnitTests.Shared.StubApplication.Commands.FooAggregate { public class CreateFooCommand : Command { public CreateFooCommand(Guid aggregateId) : base(aggregateId) { } } }
54,504
https://github.com/pulumi/pulumi-cloudflare/blob/master/sdk/go/cloudflare/init.go
Github Open Source
Open Source
ECL-2.0, Apache-2.0
2,022
pulumi-cloudflare
pulumi
Go
Code
774
4,404
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** package cloudflare import ( "fmt" "github.com/blang/semver" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) type module struct { version semver...
18,545
https://github.com/Partytray/caffeinate/blob/master/spec/caffeinate/drip_collection_spec.rb
Github Open Source
Open Source
MIT
2,022
caffeinate
Partytray
Ruby
Code
89
347
# frozen_string_literal: true require 'rails_helper' describe Caffeinate::Dripper::DripCollection do let(:dripper) { create(:caffeinate_campaign, :with_dripper).to_dripper } let(:collection) { described_class.new(dripper) } describe '#each' do it 'yields' do expect(collection.each).to be_a(Enumerable...
21,368
https://github.com/fintopo/bulbware/blob/master/js/standard/lib.js
Github Open Source
Open Source
MIT
null
bulbware
fintopo
JavaScript
Code
341
1,454
// common内で使用し、アプリケーションで拡張が必要なもの define([ 'text!standard/lib.html' ,'//cdnjs.cloudflare.com/ajax/libs/autosize.js/3.0.8/autosize.min.js' ], function(templates, autosize){ templates = SNBinder.get_named_sections_text(templates); // var confirm = function(message, callback_ok, callback_cancel){ // window.conf...
6,763
https://github.com/li0t/users/blob/master/node_modules/express/lib/response.js
Github Open Source
Open Source
MIT
2,015
users
li0t
JavaScript
Code
187
490
/*! * express * Copyright(c) 2009-2013 TJ Holowaychuk * Copyright(c) 2014-2015 Douglas Christopher Wilson * MIT Licensed */ 'use strict'; /** * Module dependencies. * @private */ var contentDisposition = require('content-disposition'); var deprecate = require('depd')('express'); var escapeHtml = require('esc...
50,946
https://github.com/sho25/cxf/blob/master/systests/uncategorized/src/test/java/org/apache/cxf/systest/type_substitution/TypeSubClientServerTest.java
Github Open Source
Open Source
Apache-2.0
null
cxf
sho25
Java
Code
741
2,737
begin_unit|revision:0.9.5;language:Java;cregit-version:0.0.1 begin_comment comment|/** * 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 ...
34,797
https://github.com/danielwertheim/Ensure.That/blob/master/src/projects/EnsureThat/EnsureArg.Strings.cs
Github Open Source
Open Source
MIT
2,022
Ensure.That
danielwertheim
C#
Code
462
1,427
using System; using System.Text.RegularExpressions; using EnsureThat.Annotations; using JetBrains.Annotations; using NotNullAttribute = System.Diagnostics.CodeAnalysis.NotNullAttribute; namespace EnsureThat { public static partial class EnsureArg { [return: NotNull] [ContractAnnotation("value...
18,406
https://github.com/MustangJones/OsmAnd-ios/blob/master/Sources/Controllers/Panels/OAActionsPanelViewController.h
Github Open Source
Open Source
MIT
2,015
OsmAnd-ios
MustangJones
Objective-C
Code
33
112
// // OAActionsPanelViewController.h // OsmAnd // // Created by Alexey Pelykh on 8/20/13. // Copyright (c) 2013 OsmAnd. All rights reserved. // #import <UIKit/UIKit.h> #import <QuickDialogController.h> @interface OAActionsPanelViewController : QuickDialogController - (instancetype)init; @end
10,503
https://github.com/jssandh2/dotfiles/blob/master/bash_mac/.bash_profile
Github Open Source
Open Source
Apache-2.0
2,018
dotfiles
jssandh2
Shell
Code
549
1,446
# Setting for the NJ/ML compiler for ML --> Programming Languages export PATH="$PATH:/usr/local/smlnj/bin" # Setting for the HASKELL symlink export PATH="$HOME/Library/Haskell/bin:$PATH" # Setting for the Haskell executables built by the stack tool export PATH="$HOME/.local/bin:$PATH" # Add GHC 7.10.3 to the PATH, v...
12,278
https://github.com/SuryenduB/Mastering-Identity-and-Access-Management-with-Microsoft-Azure-Second-Edition/blob/master/Chapter13/GDPR Demo Assets/GDPRBreachInvestigation/Discover/Export/Export/Session1/Input_or_native_files/EE/1E/7918.eml
Github Open Source
Open Source
MIT
2,020
Mastering-Identity-and-Access-Management-with-Microsoft-Azure-Second-Edition
SuryenduB
null
Spoken
130
406
From: Geaccone To: Hayslett Subject: Thread-Index: AQHSSsOZvzOa50MuH0O40F/y32msyg== Date: Wed, 11 Jan 2017 04:38:30 +0000 Message-ID: <BY1PR17MB0069741E32B06E7C23524D9D978C0@BY1PR17MB0069.namprd17.prod.outlook.com> Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: Content-Type: text/plain; charset="us-asc...
52,676
https://github.com/xudonglei94/MyPhoneAssistant/blob/master/app/src/main/java/org/crazyit/myphoneassistant/bean/SubjectDetail.java
Github Open Source
Open Source
Apache-2.0
2,021
MyPhoneAssistant
xudonglei94
Java
Code
55
157
package org.crazyit.myphoneassistant.bean; /** * Created by Administrator on 2018/6/28. */ public class SubjectDetail extends AppInfoPager { private String description; private String phoneBigIcon; public String getDescription() { return description; } public void setDescription(St...
22,113
https://github.com/phonowell/v-toolkit/blob/master/dist/check/await_.js
Github Open Source
Open Source
MIT
2,020
v-toolkit
phonowell
JavaScript
Code
234
663
(function() { var $, _, check; _ = require('lodash'); $ = require('fire-keeper'); // function check = function(line) { var ref; if (!~line.search(/\w+\_/)) { return true; } // # fn_ // .fn_ if ((ref = (_.trim(line))[0]) === '#' || ref === '.') { return true; } if...
53,875
https://github.com/mcanthony/racer/blob/master/lib/Model/unbundle.js
Github Open Source
Open Source
MIT
2,015
racer
mcanthony
JavaScript
Code
254
757
var Model = require('./Model'); Model.prototype.unbundle = function(data) { if (this.shareConnection) this.shareConnection.bsStart(); // Re-create and subscribe queries; re-create documents associated with queries this._initQueries(data.queries); // Re-create other documents for (var collectionName in data...
25,609
https://github.com/AlexRogalskiy/DevArtifacts/blob/master/spinner-master/spinner58/js/script.js
Github Open Source
Open Source
MIT
2,019
DevArtifacts
AlexRogalskiy
JavaScript
Code
297
950
var w = 500, h = 500; var renderer = new THREE.WebGLRenderer(); renderer.setSize( w, h ); document.body.appendChild( renderer.domElement ); var scene = new THREE.Scene(); var camera = new THREE.PerspectiveCamera(75,(w/h),0.1, 1000); camera.position.set(40, 40, 40); camera.lookAt(scene.position); var tiles = []; func...
46,618
https://github.com/huangyuanlove/all_flutter_widget/blob/master/lib/all_widget/grid/sliver_grid_widget.dart
Github Open Source
Open Source
Apache-2.0
2,023
all_flutter_widget
huangyuanlove
Dart
Code
116
460
import 'package:flutter/material.dart'; class SliverGridWidget extends StatefulWidget { @override _SliverGridWidgetState createState() => _SliverGridWidgetState(); } class _SliverGridWidgetState extends State<SliverGridWidget> { @override Widget build(BuildContext context) { return Scaffold( appBar:...
11,845
https://github.com/dataronio/ivy/blob/master/examples/single-threaded/grobner/NewUtil.c
Github Open Source
Open Source
BSD-3-Clause
2,016
ivy
dataronio
C
Code
128
425
/*#include <malloc.h>*/ #include <stdio.h> #include "cmump.h" #include "multpol.h" #include "gbas.h" /* ------------- malloc statistics ----------------- */ #define BINS 12 double freq[BINS]; int whichbin (int bytes) { register int shift=bytes, answer=-1; while ( shift ) { shift = shift >> 1; answer++; } retur...
2,924
https://github.com/rsad99/kursusaja.id/blob/master/app/Views/user/materi_kursus.php
Github Open Source
Open Source
MIT
null
kursusaja.id
rsad99
PHP
Code
639
2,950
<head> <meta charset="utf-8" /> <link rel="apple-touch-icon" sizes="76x76" href="../assets/img/apple-icon.png"> <link rel="icon" type="image/png" href="../assets/img/favicon.png"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> <title><?= $title; ?></title> <meta content='width=...
29,555
https://github.com/iurybakov/camunda-bpm-platform/blob/master/webapps/camunda-commons-ui/resources/less/sites/_mixins.less
Github Open Source
Open Source
Apache-2.0
2,022
camunda-bpm-platform
iurybakov
Less
Code
77
256
@import "./../shared/_mixins.less"; .link(@color, @hover-color) { a { color: @color; &:hover, &:focus { text-decoration: @link-hover-decoration; outline: none; color: @hover-color; } } } .content-link(@bg: @body-bg) { text-decoration: none; box-shadow: 0 -2px 0 0 @bg ins...
52,262
https://github.com/josefaidt/cheat-sheets/blob/master/gatsby-config.js
Github Open Source
Open Source
MIT
2,020
cheat-sheets
josefaidt
JavaScript
Code
148
708
require('dotenv').config({ path: `.env.${process.env.NODE_ENV}`, }); const siteMetadata = { title: `Cheat Sheets`, siteUrl: `https://cheatsheets.xyz`, gitHubUrl: `https://github.com/spences10/cheat-sheets`, siteTitle: `Cheat Sheets`, titleTemplate: `%s · Modern web development hints and tips.`, descripti...
3,804
https://github.com/dotnet/extensions/blob/master/src/Libraries/Microsoft.Extensions.Http.Resilience/Routing/EndpointGroup.cs
Github Open Source
Open Source
MIT
2,023
extensions
dotnet
C#
Code
178
330
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using Microsoft.Extensions.Options; namespace Microsoft.Extensions.Http.Resilience; /// <summary> /// Represents a collection of <see cref="Weigh...
49,295
https://github.com/JuanjoSalvador/PantsuPy/blob/master/setup.py
Github Open Source
Open Source
MIT
2,017
PantsuPy
JuanjoSalvador
Python
Code
62
202
from setuptools import setup, find_packages setup( name = 'pantsu', packages = find_packages(exclude=['tests']), version = '0.3', description = 'Pythons NyaaPantsu API wrapper', author = 'Juanjo Salvador', author_email = 'juanjosalvador@netc.eu', url = 'https://github.com/juanjosalvador/pan...
13,784
https://github.com/Alkaid-Benetnash/hardcloud/blob/master/ase/ase_sources.mk
Github Open Source
Open Source
Apache-2.0
2,021
hardcloud
Alkaid-Benetnash
Makefile
Code
80
497
#################################################################### # # # Xeon(R) + FPGA AFU Simulation Environment # # File generated by AALSDK/ase/scripts/generate_ase_environment.py # # ...
34,035
https://github.com/mmienko/aws-cdk-scala/blob/master/modules/apigateway/src/main/scala/io/burkard/cdk/services/apigateway/MethodOptions.scala
Github Open Source
Open Source
Apache-2.0
null
aws-cdk-scala
mmienko
Scala
Code
78
576
package io.burkard.cdk.services.apigateway import scala.collection.JavaConverters._ @scala.annotation.nowarn("cat=deprecation") @SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null")) object MethodOptions { def apply( requestParameters: Option[Map[...
6,597
https://github.com/Pandinosaurus/gpu.js/blob/master/test/issues/473-4-pixels.js
Github Open Source
Open Source
MIT
null
gpu.js
Pandinosaurus
JavaScript
Code
560
1,867
const { assert, skip, test, module: describe } = require('qunit'); const { GPU } = require('../../dist/gpu.js'); describe('issue #473 - only 4 pixels are shown'); function testOnly4PixelsAreShownRGBStaticOutput(mode) { const gpu = new GPU({ mode }); const render = gpu.createKernel( function() { this.col...
42,054
https://github.com/racc-costa/banking-spring-boot-app/blob/master/client-service/src/main/java/br/com/racc/banking/client/exception/ClientAlreadyExistException.java
Github Open Source
Open Source
Apache-2.0
2,018
banking-spring-boot-app
racc-costa
Java
Code
38
124
package br.com.racc.banking.client.exception; import org.springframework.http.HttpStatus; import org.springframework.web.bind.annotation.ResponseStatus; @ResponseStatus(HttpStatus.BAD_REQUEST) public class ClientAlreadyExistException extends RuntimeException { private static final long serialVersionUID = 1L; publ...
16,492
https://github.com/devonfw-forge/mrchecker-source/blob/master/mrchecker-framework-modules/mrchecker-selenium-module/src/main/java/com/capgemini/mrchecker/selenium/core/enums/ResolutionEnum.java
Github Open Source
Open Source
Apache-2.0
2,023
mrchecker-source
devonfw-forge
Java
Code
91
316
package com.capgemini.mrchecker.selenium.core.enums; public enum ResolutionEnum implements IResolutionList { w320(320, 240), w480(480, 320), w568(568, 320), w768(768, 576), w960(960, 720), w1024(1024, 768), w1140(1140, 760), w1200(1200, 600), w1280(1280, 1024), w1366(1366, 768),...
16,398
https://github.com/lolgab/boopickle/blob/master/boopickle/jvm/src/test/scala/boopickle/BufferPoolTestsJVM.scala
Github Open Source
Open Source
Apache-2.0
2,017
boopickle
lolgab
Scala
Code
162
584
package boopickle import java.nio.{ByteBuffer, ByteOrder} import utest._ object BufferPoolTestsJVM extends TestSuite { override def tests = Tests { "MultiThread" - { val pool = BufferPool val count = 100000 def runner = new Runnable { override def run(): Unit = { var i = 0...
49,854
https://github.com/dongkc/chicago/blob/master/lib/src/focus_indicator.dart
Github Open Source
Open Source
Apache-2.0
null
chicago
dongkc
Dart
Code
404
889
// Licensed to the Apache Software Foundation (ASF) under one or more // contributor license agreements. See the NOTICE file distributed with // this work for additional information regarding copyright ownership. // The ASF licenses this file to you under the Apache License, // Version 2.0 (the "License"); you may not...
29,296
https://github.com/tesarglynnis91/radiant-comments-extension/blob/master/app/controllers/comments_controller.rb
Github Open Source
Open Source
MIT
2,007
radiant-comments-extension
tesarglynnis91
Ruby
Code
72
275
class CommentsController < ApplicationController no_login_required def create page = Page.find(params[:page_id]) comment = Comment.new do |c| c.author = params[:comment][:author] c.author_email = params[:comment][:author_email] c.author_url = params[:comment][:author_ur...
32,417
https://github.com/ckfinder/ckfinder-laravel-package/blob/master/views/browser.blade.php
Github Open Source
Open Source
MIT
2,023
ckfinder-laravel-package
ckfinder
Blade
Code
40
170
<!DOCTYPE html> <!-- Copyright (c) 2007-2018, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or https://ckeditor.com/sales/license/ckfinder --> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no"> <title...
49,964
https://github.com/vaginessa/SCAnDroid/blob/master/code/Android/SCAnDroid/app/src/main/java/at/tugraz/iaik/scandroid/parsedTypes/APIMethodInfo.java
Github Open Source
Open Source
Zlib
2,021
SCAnDroid
vaginessa
Java
Code
93
274
package at.tugraz.iaik.scandroid.parsedTypes; import java.util.ArrayList; /** * Created by Gerald Palfinger on 27.10.17. */ public class APIMethodInfo { private final String name; private final ArrayList<String[]> parameterNames = new ArrayList<>(); // method with same name and different params can exist ...
44,940
https://github.com/orestis/pyobjc/blob/master/pyobjc/pyobjc-framework-Quartz/setup.py
Github Open Source
Open Source
MIT
2,009
pyobjc
orestis
Python
Code
328
1,060
''' Wrappers for the "Quartz" related frameworks on MacOSX. These frameworks provide a number of graphics related API's. The frameworks wrapped by this package are: * CoreGraphics - 2D Graphics, based on the PDF model * ImageIO - Reading and writing images * QuartzComposer - Working with "Quartz Composer"...
43,834
https://github.com/ngx-tc/card/blob/master/src/public-api.ts
Github Open Source
Open Source
MIT
null
card
ngx-tc
TypeScript
Code
16
35
/* * Public API Surface of card */ export * from './lib/card.component'; export * from './lib/card.module';
4,721
https://github.com/Quantum-One-DLT/bcc-explorer-app/blob/master/stories/blocks.stories.tsx
Github Open Source
Open Source
Apache-2.0
null
bcc-explorer-app
Quantum-One-DLT
TypeScript
Code
302
1,303
import { action } from '@storybook/addon-actions'; import { storiesOf } from '@storybook/react'; import React from 'react'; import BlockCreation from '../source/features/blocks/ui/BlockCreation'; import BlockList from '../source/features/blocks/ui/BlockList'; import BlockSummary from '../source/features/blocks/ui/Block...
42,561
https://github.com/kenrube/GithubSearcher/blob/master/app/src/main/java/org/odddev/githubsearcher/core/rx/ISchedulersResolver.java
Github Open Source
Open Source
MIT
null
GithubSearcher
kenrube
Java
Code
27
104
package org.odddev.githubsearcher.core.rx; import rx.Scheduler; import rx.Single; /** * @author kenrube * @since 02.12.16 */ public interface ISchedulersResolver { Scheduler ioScheduler(); Scheduler mainThreadScheduler(); <T> Single.Transformer<T, T> applyDefaultSchedulers(); }
14,350
https://github.com/MichaelGooden/Formidable/blob/master/src/Mapping/MappingInterface.php
Github Open Source
Open Source
BSD-2-Clause
2,019
Formidable
MichaelGooden
PHP
Code
39
138
<?php declare(strict_types = 1); namespace DASPRiD\Formidable\Mapping; use DASPRiD\Formidable\Data; use DASPRiD\Formidable\Mapping\Constraint\ConstraintInterface; interface MappingInterface { public function bind(Data $data) : BindResult; public function unbind($value) : Data; public function withPrefi...
6,601
https://github.com/RaasAhsan/monix/blob/master/monix-tail/shared/src/test/scala/monix/tail/IterantRepeatSuite.scala
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, Apache-2.0
2,018
monix
RaasAhsan
Scala
Code
962
2,997
/* * Copyright (c) 2014-2018 by The Monix Project Developers. * See the project homepage at: https://monix.io * * 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...
28,641
https://github.com/alexjv89/mindless/blob/master/javascripts/collections/ThreadList.js
Github Open Source
Open Source
Apache-2.0
2,016
mindless
alexjv89
JavaScript
Code
29
88
app.ThreadList = Backbone.Collection.extend({ model: app.Thread, comparator: function( collection ){ return( collection.get( 'pos' ) ); }, localStorage: new Backbone.LocalStorage("backbone-thread") }); //initializing an instance of the collection app.threadList = new app.ThreadList();
27,983
https://github.com/JesSilva/StartSales/blob/master/e-commerce/js/controller/pedido.js
Github Open Source
Open Source
MIT
2,020
StartSales
JesSilva
JavaScript
Code
661
2,156
//Assim que a página é carregada. $(document).ready(function(){ //Envia uma requisição para o Controller para obter os enderecos do Cliente. $.ajax({ url: "control/endereco.php", type: "post", data: "acao=buscarenderecos", dataType: "json", success: function(resultado){ //Verifica se a bu...
27,715
https://github.com/peipeihh/sample-orms/blob/master/demo-spring-boot-jdbc/src/main/resources/application.properties
Github Open Source
Open Source
Apache-2.0
2,018
sample-orms
peipeihh
null
Spoken
24
120
server.port = 8000 # jpa configuration #spring.datasource.driver-class-name = com.mysql.jdbc.Driver spring.datasource.url = jdbc:mysql://localhost:3306/simple_orm?useUnicode=true&characterEncoding=utf-8&useSSL=false spring.datasource.username = root spring.datasource.password = root spring.datasource.initialize = true...
16,171
https://github.com/Hat1ko/microservice-chaos/blob/master/apps/telegram/src/modules/bot/service/transaction/index.ts
Github Open Source
Open Source
MIT
null
microservice-chaos
Hat1ko
TypeScript
Code
4
11
export * from './messaging.service'
6,174
https://github.com/CondensationDB/Condensation-java/blob/master/condensation/serialization/immutableRecord/RecordWriter.java
Github Open Source
Open Source
Apache-2.0
2,021
Condensation-java
CondensationDB
Java
Code
309
954
package condensation.serialization.immutableRecord; import condensation.serialization.Bytes; import condensation.serialization.CondensationObject; import condensation.serialization.Hash; public class RecordWriter { int hashesCount = 0; int dataLength = 0; final int headerLength; final Bytes bytes; int nextHashIn...
39,114
https://github.com/yarons/readthedocs.org/blob/master/readthedocs/worker.py
Github Open Source
Open Source
MIT
2,019
readthedocs.org
yarons
Python
Code
282
668
"""Celery worker application instantiation.""" import os from celery import Celery from django.conf import settings from django_structlog.celery.steps import DjangoStructLogInitStep def create_application(): """Create a Celery application using Django settings.""" os.environ.setdefault( 'DJANGO_SET...
55,224
https://github.com/isabella232/playhvz/blob/master/Android/ghvzApp/app/src/main/java/com/app/playhvz/firebase/viewmodels/ChatRoomViewModel.kt
Github Open Source
Open Source
Apache-2.0
2,022
playhvz
isabella232
Kotlin
Code
410
1,307
/* * Copyright 2020 Google 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 agreed to in w...
35,471
https://github.com/AgentSlang/AgentSlangSrc/blob/master/Source/AgentSlang/src/org/agent/slang/dm/narrative/data/story/StoryStates.java
Github Open Source
Open Source
CECILL-B, Unlicense
null
AgentSlangSrc
AgentSlang
Java
Code
345
737
/* * Copyright (c) Ovidiu Serban, ovidiu@roboslang.org * web:http://ovidiu.roboslang.org/ * All Rights Reserved. Use is subject to license terms. * * This file is part of AgentSlang Project (http://agent.roboslang.org/). * * AgentSlang is free software: you can redistribute it and/or modify * it u...
3,107
https://github.com/diegopacheco/java-pocs/blob/master/pocs/buck-monorepo-java/BUCK
Github Open Source
Open Source
Unlicense
2,023
java-pocs
diegopacheco
Starlark
Code
91
417
java_library( name = 'projecta-java-maven-lib', srcs = glob(['project-a/**/*.java']), source = '8', target = '8', deps = ['//lib:guava'], ) java_library( name = 'projectb-java-maven-lib', srcs = glob(['project-b/**/*.java']), source = '8', target = '8', ) java_library( name = ...
29,574
https://github.com/jourmore/PixelDB/blob/master/clusters/132/132_1.pml
Github Open Source
Open Source
MIT
2,017
PixelDB
jourmore
null
Spoken
169
917
load 2DYM_G_H_132_1.pdb,2DYM_G_H_132_1 load 2DYO_A_B_132_1.pdb,2DYO_A_B_132_1 load 4NAW_B_C_132_1.pdb,4NAW_B_C_132_1 color gray70 hide everything set sphere_scale,0.2 show cartoon, chain G & 2DYM_G_H_132_1 show ribbon, chain H & 2DYM_G_H_132_1 show sphere, chain H & 2DYM_G_H_132_1 & name CA show cartoon, chain A & 2DYO...
41,027
https://github.com/HY-ZhengWei/hy.common.license/blob/master/src/main/java/org/hy/common/license/Signaturer.java
Github Open Source
Open Source
Apache-2.0
2,023
hy.common.license
HY-ZhengWei
Java
Code
117
630
package org.hy.common.license; import java.nio.charset.StandardCharsets; import org.hy.common.license.sign.ISignaturer; import org.hy.common.license.sign.Signaturer_V1; /** * 用私钥进行签名 * * 既然是加密,那肯定是不希望别人知道我的消息,所以只有我才能解密,所以可得出: * 公钥负责加密,私钥负责解密; * * 同理,既然是签名,那肯定是不希望有人冒充我发消息,只有我才能发布这个签名,所以可得出: * 私钥...
13,275
https://github.com/QUDUSKUNLE/Booking-App/blob/master/client/src/app/index.jsx
Github Open Source
Open Source
MIT
2,018
Booking-App
QUDUSKUNLE
JavaScript
Code
88
227
import React from 'react'; import { render } from 'react-dom'; import { Provider } from 'react-redux'; import thunk from 'redux-thunk'; import { createLogger } from 'redux-logger'; import { applyMiddleware, createStore, compose } from 'redux'; import rootReducer from '../reducers/index'; import initialState from './ini...
41,387
https://github.com/fehnomenal/elvish/blob/master/newedit/listing/testutil.go
Github Open Source
Open Source
BSD-2-Clause
2,021
elvish
fehnomenal
Go
Code
80
232
package listing import ( "reflect" "github.com/elves/elvish/styled" "github.com/elves/elvish/tt" ) type itemsMatcher struct{ wantShown []styled.Text } func (m itemsMatcher) Match(v tt.RetValue) bool { items := v.(Items) if items.Len() != len(m.wantShown) { return false } for i, wantShown := range m.wantSho...
13,742
https://github.com/FlandreCirno/AzurLaneWikiUtilitiesManual/blob/master/AzurLaneData/zh-CN/model/const/teamtype.lua
Github Open Source
Open Source
MIT
null
AzurLaneWikiUtilitiesManual
FlandreCirno
Lua
Code
164
679
slot0 = class("TeamType") slot0.Vanguard = "vanguard" slot0.Main = "main" slot0.Submarine = "submarine" slot0.TeamTypeIndex = { [slot0.Vanguard] = 1, [slot0.Main] = 2, [slot0.Submarine] = 3 } slot0.VanguardShipType = { ShipType.QuZhu, ShipType.QingXun, ShipType.ZhongXun, ShipType.HangXun, ShipType.LeiXun, Ship...
21,826
https://github.com/Bhaskers-Blu-Org2/coyote/blob/master/Source/Core/SystematicTesting/Strategies/Liveness/LivenessCheckingStrategy.cs
Github Open Source
Open Source
MIT, LicenseRef-scancode-generic-cla
2,020
coyote
Bhaskers-Blu-Org2
C#
Code
211
602
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System.Collections.Generic; using Monitor = Microsoft.Coyote.Specifications.Monitor; namespace Microsoft.Coyote.SystematicTesting.Strategies { /// <summary> /// Abstract strategy for detecting liveness property violations. It ...
25,230
https://github.com/mdb/terrajux/blob/master/Makefile
Github Open Source
Open Source
Apache-2.0
null
terrajux
mdb
Makefile
Code
117
432
MAKEFLAGS += --warn-undefined-variables VERBOSE = -v GOCMD = go GOMOD = $(GOCMD) mod GOBUILD = $(GOCMD) build GOCLEAN = $(GOCMD) clean GOTEST = $(GOCMD) test GOINSTALL = $(GOCMD) install CMDDIR = cmd DISTDIR = dist TARGET = terrajux MAIN = $(CMDDIR)/$(TARGET)/main.go SOURCES = $(wildcard **/*.go) .PHONY: tools clean ...
36,933
https://github.com/julioizquierdomejia/telsen/blob/master/app/Http/Controllers/DashboardClientController.php
Github Open Source
Open Source
MIT
null
telsen
julioizquierdomejia
PHP
Code
600
2,317
<?php namespace App\Http\Controllers; use App\Models\Ot; use App\Models\Client; use Illuminate\Http\Request; class DashboardClientController extends Controller { /** * Create a new controller instance. * * @return void */ public function __construct() { $this->middlewa...
17,859
https://github.com/RocketFlash/MATLAB_code_archive/blob/master/Manipulators/HW1/JACOBIAN.m
Github Open Source
Open Source
MIT
2,019
MATLAB_code_archive
RocketFlash
MATLAB
Code
151
1,072
function J = JACOBIAN(teta1,teta2) coef = pi/180; teta1 = coef*teta1; teta2 = coef*teta2; L0=300; L1=300; L2=100; A1x = 0; A1y = 0; A2x = L0; A2y = 0; B1x = A1x + L1*cos(teta1); B1y = A1y + L1*sin(teta1); B2x = A2x + L1*cos(teta2); B2y = A2y + L1*sin(teta2); d = sqrt((B2x-B1x)^2 + (B2y-B1y)^2); phi = atan2(sqrt(L2^2...
17,439
https://github.com/a1235678/tuya-lighting-ios-sdk/blob/master/TuyaSmartDemo.podspec
Github Open Source
Open Source
MIT
2,021
tuya-lighting-ios-sdk
a1235678
Ruby
Code
202
1,089
Pod::Spec.new do |s| s.name = 'TuyaSmartDemo' s.version = '0.8.3' s.summary = 'Tuya common base demo.' s.description = 'Tuya common base demo support quick to test some feature.' s.homepage = 'https://github.com/TuyaInc/tuyasmart_home_ios_sdk.git' s.license ...
23,566
https://github.com/himkt/syllabus/blob/master/app/apis/api/ver1/root.rb
Github Open Source
Open Source
MIT
2,016
syllabus
himkt
Ruby
Code
22
68
# -*- coding: utf-8 -*- module API module Ver1 class Root < Grape::API # http://localhost:3000/api/v1/ version 'v1' mount API::Ver1::Searches end end end
29,788
https://github.com/congvu24/E-voucher-server/blob/master/src/modules/auth/dto/LoginPayloadDto.ts
Github Open Source
Open Source
MIT
null
E-voucher-server
congvu24
TypeScript
Code
55
157
import { ApiProperty } from '@nestjs/swagger'; import type { CitizenDto } from 'modules/citizen/dto/citizen-dto'; import type { UserDto } from '../../user/dto/user-dto'; import { TokenPayloadDto } from './TokenPayloadDto'; export class LoginPayloadDto { user: UserDto | CitizenDto; @ApiProperty({ type: TokenPaylo...
39,315
https://github.com/ZHTushar23/breaching/blob/master/breaching/cases/data/lmdb_datasets.py
Github Open Source
Open Source
MIT
2,022
breaching
ZHTushar23
Python
Code
593
2,328
"""LMDB dataset to wrap an existing dataset and create a database if necessary.""" import os import io import pickle import copy import platform import lmdb import torch import torchvision import numpy as np from PIL import Image from .data_preparation import _parse_data_augmentations import logging log = logging....
9,953
https://github.com/jebcat1982/xposed-keyboard-tweaks/blob/master/src/main/java/ca/spacek/gkdd/CachedBlackListDictionaryWordContentObserver.java
Github Open Source
Open Source
Apache-2.0
2,014
xposed-keyboard-tweaks
jebcat1982
Java
Code
40
167
package ca.spacek.gkdd; import android.database.ContentObserver; import android.net.Uri; import android.os.Handler; import ca.spacek.gkdd.contentprovider.DictionaryWordContentProvider; public class CachedBlackListDictionaryWordContentObserver extends ContentObserver { private final CachedBlackList cached...
1,306
https://github.com/monirahmedtanveen/My-Tweet/blob/master/application/views/pages/friend_list.php
Github Open Source
Open Source
MIT, LicenseRef-scancode-unknown-license-reference
2,018
My-Tweet
monirahmedtanveen
PHP
Code
252
1,035
<div class="mainbar"> <div class="article"> <h3 class="star"><span>&nbsp;All Friend List</span></h3> <div class="clr"></div> <div class="col c1"> <div class="row"> <?php if (!$all_friend) { ?> <h3 class="text-capitalize" style="font-weight: b...
44,701
https://github.com/yangrq1018/gobacktest/blob/master/algo/comparison.go
Github Open Source
Open Source
MIT
2,021
gobacktest
yangrq1018
Go
Code
300
779
package algo import ( gbt "github.com/dirkolbrich/gobacktest" ) type biggerThanAlgo struct { gbt.Algo first, second gbt.AlgoHandler } // BiggerThan compares the value of the two containing algos. func BiggerThan(first, second gbt.AlgoHandler) gbt.AlgoHandler { return &biggerThanAlgo{ first: first, second: s...
49,428
https://github.com/albertshx/inventor-disambiguation/blob/master/src/main/scala/edu/umass/cs/iesl/inventor_disambiguation/process/GenerateCorefTaskFile.scala
Github Open Source
Open Source
Apache-2.0
null
inventor-disambiguation
albertshx
Scala
Code
631
2,236
/* Copyright (C) 2016 University of Massachusetts Amherst. This file is part of “inventor_disambiguation” This work was done for the USPTO inventor disambiguation workshop organized under the PatentsView initiative (www.patentsview.org). The algorithm was the best performing at the workshop according to...
32,695
https://github.com/achimismaili/featureadmin/blob/master/src/FeatureAdmin.Test/UserInterface/LocationFormTest.cs
Github Open Source
Open Source
MS-PL
2,022
featureadmin
achimismaili
C#
Code
31
81
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace FeatureAdmin.Test.UserInterface { public static class LocationFormTests { // The following buttons should be tested: // Deactivate Selected Activations } }
2,869
https://github.com/d0scoo1/naga_contracts/blob/master/mainnet/contracts/0x9041c034f7d6f17ff74b8b288dd069497da630d5_PoolWithControlledSingleRecipientBuilder/contracts/test/SablierManagerHarness.sol
Github Open Source
Open Source
MIT
2,023
naga_contracts
d0scoo1
Gerber Image
Code
58
200
pragma solidity >=0.6.0 <0.7.0; pragma experimental ABIEncoderV2; import "../prize-strategy/SablierManager.sol"; /* solium-disable security/no-block-members */ contract SablierManagerHarness is SablierManager { uint256 currentTime; constructor(ISablier _sablier) public SablierManager(_sablier) { } function...
13,365
https://github.com/unidal/cat/blob/master/report-matrix/src/main/java/com/dianping/cat/matrix/service/HistoricalMatrixService.java
Github Open Source
Open Source
Apache-2.0
2,020
cat
unidal
Java
Code
74
315
package com.dianping.cat.matrix.service; import java.util.Date; import org.unidal.lookup.annotation.Inject; import com.dianping.cat.helper.TimeHelper; import com.dianping.cat.matrix.analyzer.MatrixAnalyzer; import com.dianping.cat.matrix.model.entity.MatrixReport; import com.dianping.cat.report.service.BaseHistorica...
31,990
https://github.com/AT1012/DistributedCache/blob/master/distributed_cache/distributed_cache.go
Github Open Source
Open Source
MIT
null
DistributedCache
AT1012
Go
Code
996
2,655
package distributed_cache import ( "encoding/json" "net/http" "strconv" "strings" "sync" "time" "os" "os/exec" "fmt" "bytes" "github.com/at1012/DistributedCache/serialize_data" "github.com/at1012/DistributedCache/cache" "github.com/hashicorp/serf/client" "github.com/at1012/DistributedCache/consisten...
38,216
https://github.com/adrianvuong/386a4/blob/master/Makefile
Github Open Source
Open Source
MIT
null
386a4
adrianvuong
Makefile
Code
49
148
#Do not edit the contents of this file. CC = gcc CFLAGS = -Wall -g -std=gnu99 LDFLAGS = -lrt -lpthread TARGET = Question1 OBJFILES = Question1.o all: $(TARGET) Question1: bankersAlgo.c $(CC) $(CFLAGS) -o bankersAlgo bankersAlgo.c $(LDFLAGS) runq1: bankersAlgo ./bankersAlgo 10 5 7 8 clean: rm -f $(OBJFILES) $(...
27,790
https://github.com/mattbenton/acute.js/blob/master/src/pipes/date.js
Github Open Source
Open Source
MIT
null
acute.js
mattbenton
JavaScript
Code
506
1,015
var acute = require("../acute"); var transforms = { // Abbreviated day name. Sun through Mon. a: function ( date, options ) { return options.daysShort[date.getDay()]; }, // Full day name. Sunday through Monday. A: function ( date, options ) { return options.daysLong[date.getDay()]; }, // Two-digi...
8,004
https://github.com/jzxyouok/SmartClass/blob/master/SmartClass/SmartClass/Paper/ViewModel/QuestionListViewModel.swift
Github Open Source
Open Source
MIT
2,016
SmartClass
jzxyouok
Swift
Code
201
641
// // QuestionListViewModel.swift // SmartClass // // Created by Vernon on 16/4/15. // Copyright © 2016年 Vernon. All rights reserved. // import UIKit class QuestionListViewModel: NSObject { // MARK: - variable var paper: Paper? // MARK: - initialize init(paper: Paper) { super.init...
21,160