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/krattai/AEBL/blob/master/blades/xbmc/tools/depends/target/gnutls/Makefile
Github Open Source
Open Source
BSD-2-Clause
2,016
AEBL
krattai
Makefile
Code
112
532
include ../../Makefile.include DEPS= ../../Makefile.include Makefile # lib name, version LIBNAME=gnutls VERSION=3.3.10 SOURCE=$(LIBNAME)-$(VERSION) ARCHIVE=$(SOURCE).tar.xz ifeq (darwin, $(findstring darwin, $(HOST))) # darwins tar doesn't know about xz - so we need our native version of tar here ARCHIVE_TOOL=$(ARCHI...
21,121
https://github.com/detectivelu09/jadeite/blob/master/dataset/proccessed/generated-dots/benign/928cfb68a42fc1c6cbc32b2d9e440c5a.jar.dot
Github Open Source
Open Source
MIT
2,021
jadeite
detectivelu09
Graphviz (DOT)
Code
2,615
14,856
digraph "" { "r0 := @this: reader" "load.r r0" "r0 := @this: reader"->"load.r r0"; "new java.awt.MediaTracker" "load.r r0"->"new java.awt.MediaTracker"; "dup1.r" "new java.awt.MediaTracker"->"dup1.r"; "dup1.r"->"load.r r0"; "specialinvoke <java.awt.MediaTracker: void <init>(java.awt....
22,082
https://github.com/Gums12345/HRIS-SUNSON/blob/master/admin/application/views/admin/gambar/edit_gambar.php
Github Open Source
Open Source
Apache-2.0
2,020
HRIS-SUNSON
Gums12345
PHP
Code
336
1,455
<!-- Content Wrapper. Contains page content --> <script type="text/javascript"> $(document).ready(function() { var hgt; var frm; var taskb = document.documentElement.clientHeight; var idbencana = <?php echo json_encode($this->session->userdata('idbencana')); ?>; hgt = taskb -1...
48,256
https://github.com/dpjanes/iotdb-awslib/blob/master/comprehend/sentiment.js
Github Open Source
Open Source
Apache-2.0
2,019
iotdb-awslib
dpjanes
JavaScript
Code
244
884
/** * comprehend/sentiment.js * * David Janes * IOTDB * 2018-04-18 * * Copyright (2013-2021) David Janes */ "use strict" const _ = require("iotdb-helpers") const _token = (ss, document) => { const token = { document: document, token: "sentiment", start: 0, end: docume...
35,373
https://github.com/CMPUT301F17T18/WSFMN/blob/master/app/src/androidTest/java/com/wsfmn/view/controller/OfflineControllerTest.java
Github Open Source
Open Source
MIT
2,017
WSFMN
CMPUT301F17T18
Java
Code
316
1,333
package com.wsfmn.view.controller; import android.test.ActivityInstrumentationTestCase2; import android.util.Log; import com.wsfmn.model.Date; import com.wsfmn.exceptions.DateNotValidException; import com.wsfmn.model.Habit; import com.wsfmn.exceptions.HabitCommentTooLongException; import com.wsfmn.model.HabitEvent; ...
34,765
https://github.com/grommet/grommet/blob/master/src/js/components/Layer/LayerContainer.js
Github Open Source
Open Source
Apache-2.0
2,023
grommet
grommet
JavaScript
Code
993
2,683
import React, { forwardRef, useContext, useEffect, useMemo, useRef, } from 'react'; import styled, { ThemeContext } from 'styled-components'; import { defaultProps } from '../../default-props'; import { FocusedContainer } from '../FocusedContainer'; import { Keyboard } from '../Keyboard'; import { Responsive...
48,261
https://github.com/andreasebbehoj/2020-PET-predict-EF-after-Revasc_TVL/blob/master/3_TabPatCharExcl.do
Github Open Source
Open Source
MIT
null
2020-PET-predict-EF-after-Revasc_TVL
andreasebbehoj
null
Spoken
408
1,506
***** 3_TabPatCharExcl.do ***** frame reset use Data/cohort_wexcl.dta, clear *** Generate table addtab_setup, frame(table) columnvar(itv) * N patients addtab_no, var(id) rowname("Patients, N") ** Patient characteristics addtab_header, varname(BOLD) rowname("Patient characteristics") addtab_estimate, est(mean) par(...
4,261
https://github.com/uzair789/Homography/blob/master/homography/warp2PNCpark.m
Github Open Source
Open Source
BSD-2-Clause
2,016
Homography
uzair789
MATLAB
Code
45
290
% Uzair Ahmed % Q 4.2 % 2015 function [img_yourname_warped, img_PNCpark_yourname] = warp2PNCpark(img_PNCpark, img_yourname, p1, p2) disp('In warp2PNC'); p1=[p1';ones(1,size(p1',2))]%homogenizing p2=[p2';ones(1,size(p2',2))]%homogenizing H2to1 =computeH(p1, p2) img_yourname_warped = warpH(img_yourname,H2to1,[size(im...
44,483
https://github.com/amirulqayyum/SuperMan-ModdedFiles/blob/master/SystemUI/smali/com/android/systemui/ChargingView.smali
Github Open Source
Open Source
Apache-2.0
2,021
SuperMan-ModdedFiles
amirulqayyum
Smali
Code
258
1,618
.class public Lcom/android/systemui/ChargingView; .super Landroid/widget/ImageView; .source "ChargingView.java" # interfaces .implements Lcom/android/systemui/statusbar/policy/BatteryController$BatteryStateChangeCallback; .implements Lcom/android/systemui/statusbar/policy/ConfigurationController$ConfigurationListener;...
29,180
https://github.com/adityatandon007/dcos-ui/blob/master/plugins/services/src/js/service-configuration/PodNetworkConfigSection.js
Github Open Source
Open Source
Apache-2.0
null
dcos-ui
adityatandon007
JavaScript
Code
302
1,125
import PropTypes from "prop-types"; import React from "react"; import { MountService } from "foundation-ui"; import ConfigurationMapHeading from "#SRC/js/components/ConfigurationMapHeading"; import ConfigurationMapLabel from "#SRC/js/components/ConfigurationMapLabel"; import ConfigurationMapRow from "#SRC/js/component...
51,242
https://github.com/HotIce0/webqq-client-sdk/blob/master/webqq_client_sdk/webqq_protocol_gen.py
Github Open Source
Open Source
MIT
2,021
webqq-client-sdk
HotIce0
Python
Code
565
2,892
# -*- coding: UTF-8 -*- import json import webqq_utils # 登录状态 class LOGIN_STATUS: ONLINE = "online" OFFLINE = "offline" AWAY = "away" HIDDEN = "hidden" BUSY = "busy" CALLME = "callme" SILENT = "silent" num_to_string_dict = { 10: "online", 20: "offline", 30: "awa...
16,397
https://github.com/exoego/aws-sdk-scalajs-facade/blob/master/services/applicationinsights/src/main/scala-2/facade/amazonaws/services/ApplicationInsights/enums.scala
Github Open Source
Open Source
Apache-2.0
2,021
aws-sdk-scalajs-facade
exoego
Scala
Code
346
1,433
package facade.amazonaws.services.applicationinsights import scalajs.js @js.native sealed trait CloudWatchEventSource extends js.Any object CloudWatchEventSource { val EC2 = "EC2".asInstanceOf[CloudWatchEventSource] val CODE_DEPLOY = "CODE_DEPLOY".asInstanceOf[CloudWatchEventSource] val HEALTH = "HEALTH".asInst...
51,128
https://github.com/yeukfei02/lunchPicker/blob/master/modules.d.ts
Github Open Source
Open Source
MIT
2,021
lunchPicker
yeukfei02
TypeScript
Code
12
44
declare module 'react-normalize'; declare module 'is_js'; declare module 'react-reveal/Fade'; declare module 'react-reveal/Bounce';
23,186
https://github.com/vnmakarov/mir/blob/master/c-tests/lacc/return-struct-integers.c
Github Open Source
Open Source
MIT, MPL-1.0, LicenseRef-scancode-warranty-disclaimer, Apache-2.0, LGPL-2.0-only
2,023
mir
vnmakarov
C
Code
45
97
struct point { int x, y; /* %rax */ long l; /* %rdx */ }; struct point func(void) { struct point p = {1, 2, 3}; return p; } int main() { struct point p; p = func(); return p.x + p.y + p.l; }
21,359
https://github.com/Huxinator/core/blob/master/src/Module/Ship/Action/AttackShip/AttackShip.php
Github Open Source
Open Source
MIT
2,023
core
Huxinator
PHP
Code
595
2,690
<?php declare(strict_types=1); namespace Stu\Module\Ship\Action\AttackShip; use request; use Stu\Component\Ship\Nbs\NbsUtilityInterface; use Stu\Exception\SanityCheckException; use Stu\Module\Ship\Lib\InteractionCheckerInterface; use Stu\Module\Message\Lib\PrivateMessageFolderSpecialEnum; use Stu\Module\Message\Lib\...
14,224
https://github.com/AzureMentor/gardener/blob/master/test/integration/framework/networkpolicies/agnostic.go
Github Open Source
Open Source
MPL-2.0, MIT, Apache-2.0, MPL-1.1, BSD-3-Clause, BSD-2-Clause
2,019
gardener
AzureMentor
Go
Code
790
3,922
// Copyright (c) 2019 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed under the Apache Software License, v. 2 except as noted otherwise in the LICENSE file // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the Lice...
23,320
https://github.com/icsharpcode/CodeConverter/blob/master/Update-NpmPackages.ps1
Github Open Source
Open Source
MIT
2,023
CodeConverter
icsharpcode
PowerShell
Code
28
68
$null = & npm install -g npm-check-updates@latest Push-Location './Web/ClientApp' try { & ncu -u & npm install --audit false & npm audit --production } finally { Pop-Location }
25,113
https://github.com/rohith612/my-laravel8-master/blob/master/app/View/Components/Alert.php
Github Open Source
Open Source
MIT
null
my-laravel8-master
rohith612
PHP
Code
109
271
<?php namespace App\View\Components; use Illuminate\View\Component; use Illuminate\Contracts\View\View; class Alert extends Component { /** * The priority of the alert, i.e., "info", or "warning" * * @var string */ public $level; /** * The message or an array of messages to present t...
33,765
https://github.com/zhaozzq/ZQShapedButton/blob/master/ZQShapedButton/Sources/PixelColor.swift
Github Open Source
Open Source
MIT
2,017
ZQShapedButton
zhaozzq
Swift
Code
376
1,006
// // PixelColor.swift // ZQShapedButtonDemo // // Created by zhaozq on 2017/10/19. // Copyright © 2017年 zhao. All rights reserved. // import UIKit import Foundation import CoreImage import CoreGraphics extension UIImage { func getPixelColor(at point: CGPoint) -> UIColor? { guard let componen...
27,023
https://github.com/avukonke/python-mxit/blob/master/mxit/base.py
Github Open Source
Open Source
BSD-3-Clause
2,013
python-mxit
avukonke
Python
Code
179
531
from exceptions import MxitAPIException, MxitAPIAuthException from requests import post from requests.auth import HTTPBasicAuth import json class MxitAPIBase(): def __init__(self, consumerKey, secretKey, cache=None): self.__consumerKey = consumerKey self.__secretKey = secretKey self.__cach...
1,737
https://github.com/anmolnar/cloudbreak/blob/master/datalake/src/main/java/com/sequenceiq/datalake/flow/upgrade/SdxUpgradeFlowConfig.java
Github Open Source
Open Source
Apache-2.0
null
cloudbreak
anmolnar
Java
Code
168
1,361
package com.sequenceiq.datalake.flow.upgrade; import static com.sequenceiq.datalake.flow.upgrade.SdxUpgradeEvent.SDX_IMAGE_CHANGED_EVENT; import static com.sequenceiq.datalake.flow.upgrade.SdxUpgradeEvent.SDX_UPGRADE_EVENT; import static com.sequenceiq.datalake.flow.upgrade.SdxUpgradeEvent.SDX_UPGRADE_FAILED_EVENT; im...
14,510
https://github.com/HunterGhost27/UI-Components-Library/blob/master/UI-Components/GMJournal/src/addParagraphButton.as
Github Open Source
Open Source
MIT
2,021
UI-Components-Library
HunterGhost27
null
Spoken
19
58
package { import LS_Classes.LSButton; public dynamic class addParagraphButton extends LSButton { public function addParagraphButton() { super(); } } }
28,043
https://github.com/chunghsien/pinpin-react/blob/master/modules/App/scripts/db/admin/language.php
Github Open Source
Open Source
MIT
2,020
pinpin-react
chunghsien
PHP
Code
100
389
<?php use Chopin\LaminasDb\TableGateway\AbstractTableGateway; use Laminas\Db\Sql\Expression; $PT = AbstractTableGateway::$prefixTable; return [ 'pagiantor' => [ 'from' => $PT . 'language', 'columns' => [ [ 'id' => new Expression('CONCAT(`'.$PT.'language`.`id`, "-", `'.$...
33,336
https://github.com/vnoitkumar/twitter-clone/blob/master/src/components/icons/MoreIcon.jsx
Github Open Source
Open Source
Apache-2.0
null
twitter-clone
vnoitkumar
null
Spoken
91
549
import React from 'react'; export default function MoreIcon(props) { return ( <svg viewBox='0 0 24 24' {...props}> <g> <path d='M16.5 10.25c-.965 0-1.75.787-1.75 1.75s.784 1.75 1.75 1.75c.964 0 1.75-.786 1.75-1.75s-.786-1.75-1.75-1.75zm0 2.5c-.414 0-.75-.336-.75-.75 0-.413.337-.75.75-.75s.75.336.75...
28,991
https://github.com/ekmixon/godcr/blob/master/ui/page/wallets/privacy_page.go
Github Open Source
Open Source
ISC
2,021
godcr
ekmixon
Go
Code
1,209
5,457
package wallets import ( "fmt" "gioui.org/layout" "gioui.org/text" "gioui.org/widget" "github.com/decred/dcrd/dcrutil/v3" "github.com/planetdecred/dcrlibwallet" "github.com/planetdecred/godcr/ui/decredmaterial" "github.com/planetdecred/godcr/ui/load" "github.com/planetdecred/godcr/ui/modal" "github.com/pla...
1,365
https://github.com/Edinburgh-Genome-Foundry/CUBA/blob/master/backend/app/views/design_sites_arrays/DesignSitesArrays.py
Github Open Source
Open Source
MIT
2,021
CUBA
Edinburgh-Genome-Foundry
Python
Code
167
794
"""Bla.""" from rest_framework import serializers import flametree from zymp import (stacked_sites_array, plot_sequence_sites, annotate_enzymes_sites, write_record) from ..base import AsyncWorker, StartJobView from ..tools import data_to_html_data, file_to_filelike_object, csv_to_list from ..serializ...
51,457
https://github.com/purbon/logstash-integration-testing/blob/master/web/ui/javascripts/matrix_chart.js
Github Open Source
Open Source
Apache-2.0
2,021
logstash-integration-testing
purbon
JavaScript
Code
597
2,189
var App = App || {} App.matrixChart = function(json, options) { if ( typeof json === 'undefined' ) { throw( new Error('The `json` argument is required')) }; if ( typeof options === 'undefined' ) { var options = {} }; var selection = options.selection || d3.select("#matrix-chart"); var parameterize = funct...
39,627
https://github.com/jnzs1836/library_backend/blob/master/app/Book.php
Github Open Source
Open Source
MIT
null
library_backend
jnzs1836
PHP
Code
62
241
<?php namespace App; use Illuminate\Support\Facades\Validator; use http\Env\Request; use Illuminate\Database\Eloquent\Model; class Book extends Model{ protected $fillable = ["id","category","name","author","year","price","stock","keep"]; public function findByChar($keywords){ return ; } publ...
23,677
https://github.com/osingla/RouteView/blob/master/dojo-release-1.16.3/dojox/editor/plugins/nls/el/ShowBlockNodes.js.uncompressed.js
Github Open Source
Open Source
BSD-3-Clause, AFL-2.1
2,023
RouteView
osingla
JavaScript
Code
10
46
define( "dojox/editor/plugins/nls/el/ShowBlockNodes", ({ "showBlockNodes": "Εμφάνιση στοιχείων ενότητας HTML" }) );
26,114
https://github.com/molovo/boldr/blob/master/project/src/scenes/Admin/Articles/NewArticle/components/RenderTags/RenderTags.js
Github Open Source
Open Source
MIT
2,017
boldr
molovo
JavaScript
Code
72
189
/* eslint-disable react/prop-types */ import React from 'react'; import TagsInput from 'react-tagsinput'; import { FormGroup } from '@boldr/ui/Form'; const RenderTags = ({ input, label, meta: { touched, error, warning } }) => ( <FormGroup color={`${touched && error ? 'danger' : ''}`}> <TagsInput value={inp...
29,216
https://github.com/fossabot/proji/blob/master/cmd/proji/main.go
Github Open Source
Open Source
MIT, LicenseRef-scancode-unknown-license-reference
2,020
proji
fossabot
Go
Code
9
40
package main import "github.com/nikoksr/proji/cmd/proji/cmd" func main() { cmd.Execute() }
12,123
https://github.com/galeb/galeb2-router/blob/master/src/test/java/com/globo/galeb/test/unit/BackendMapTest.java
Github Open Source
Open Source
Apache-2.0
2,015
galeb2-router
galeb
Java
Code
395
2,089
/* * Copyright (c) 2014 Globo.com - ATeam * All rights reserved. * * This source is subject to the Apache License, Version 2.0. * Please see the LICENSE file for more information. * * Authors: See AUTHORS file * * THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY * KIND, EITHER EXPRESSED ...
31,617
https://github.com/jseely/meta-azure-service-broker/blob/master/test/unit/services/azuresqldbfailovergroup/poll-spec.js
Github Open Source
Open Source
Apache-2.0
2,021
meta-azure-service-broker
jseely
JavaScript
Code
329
1,661
/* good instanceId : e2778b98-0b6b-11e6-9db3-000d3a002ed5 test: */ /* jshint camelcase: false */ /* jshint newcap: false */ /* global describe, before, it */ var should = require('should'); var sinon = require('sinon'); var cmdPoll = require('../../../../lib/services/azuresqldbfailovergroup/cmd-poll'); var sqldbfgOpe...
2,004
https://github.com/Beatzevo/dshop-master/blob/master/shop/src/components/PaymentStatusText.js
Github Open Source
Open Source
MIT
null
dshop-master
Beatzevo
JavaScript
Code
89
332
import React from 'react' import fbt from 'fbt' import PaymentStates from 'data/PaymentStates' const PaymentStatusText = ({ status }) => { const classList = ['order-payment-status'] let labelText switch (status) { case PaymentStates.Paid: classList.push('paid') labelText = fbt('Paid', 'Paid') ...
54,834
https://github.com/microsoft/pybryt/blob/master/Makefile
Github Open Source
Open Source
LicenseRef-scancode-generic-cla, LicenseRef-scancode-free-unknown, MIT
2,022
pybryt
microsoft
Makefile
Code
174
504
# Makefile for PyBryt # ------------------- # To generate a release, use `make release` with the `VERSION` argument: # $ make release VERSION=0.0.1 # # To run tests, use `make test` with the `TESTPATH` and/or `PYTESTOPTS` arguments: # $ make test # # The `testcov` target can be used to build a local copy of the cod...
51,679
https://github.com/virtuallysmart/jmp/blob/master/source/Jmp.Console/Program.cs
Github Open Source
Open Source
MIT
null
jmp
virtuallysmart
C#
Code
153
433
using Jmp.Jira; using Jmp.Reports; using Newtonsoft.Json; using RestSharp; using RestSharp.Authenticators; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Jmp.Console { class Program { static void Main(string[] args) ...
32,159
https://github.com/warlock135/grpc/blob/master/src/core/lib/security/authorization/mock_cel/evaluator_core.h
Github Open Source
Open Source
Apache-2.0
2,022
grpc
warlock135
C
Code
259
702
// Copyright 2020 gRPC authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to i...
52,615
https://github.com/aljazmedic/inspect-png/blob/master/inspect_png/chunk_types.py
Github Open Source
Open Source
MIT
2,021
inspect-png
aljazmedic
Python
Code
118
448
#!/usr/bin/env python3 #https://github.com/Hedroed/png-parser/blob/master/pngparser/chunktypes.py TYPE_IHDR = b'IHDR' TYPE_PLTE = b'PLTE' TYPE_IDAT = b'IDAT' TYPE_IEND = b'IEND' TYPE_bKGD = b'bKGD' TYPE_cHRM = b'cHRM' TYPE_dSIG = b'dSIG' TYPE_eXIf = b'eXIf' TYPE_gAMA = b'gAMA' TYPE_hIST = b'hIST' TYPE_iCCP = b'iCCP' ...
45,572
https://github.com/MuhammadFariMadyan/laravel-rekam-medis-puske/blob/master/database/seeds/DatabaseSeeder.php
Github Open Source
Open Source
MIT
null
laravel-rekam-medis-puske
MuhammadFariMadyan
PHP
Code
31
160
<?php use Illuminate\Database\Seeder; class DatabaseSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { $this->call(UsersTableSeeder::class); $this->call(PasienTableSeeder::class); $this->call(RekamMedisTableSee...
50,218
https://github.com/bharatpe/validator/blob/master/src/index.js
Github Open Source
Open Source
MIT
2,020
validator
bharatpe
JavaScript
Code
13
33
import Validator from './validator'; import Regex from './regex'; export { Validator, Regex };
11,512
https://github.com/j5int/j5basic/blob/master/j5basic/Units.py
Github Open Source
Open Source
Apache-2.0
2,020
j5basic
j5int
Python
Code
1,754
5,054
# -*- coding: utf-8 -*- from __future__ import division from __future__ import absolute_import from __future__ import print_function from __future__ import unicode_literals from past.builtins import cmp from future import standard_library standard_library.install_aliases() from builtins import zip from builtins import...
37,066
https://github.com/Pankrat/pika/blob/master/pika/callback.py
Github Open Source
Open Source
BSD-3-Clause
2,021
pika
Pankrat
Python
Code
1,510
3,872
"""Callback management class, common area for keeping track of all callbacks in the Pika stack. """ import functools import logging from pika import frame from pika import amqp_object from pika.compat import xrange, canonical_str LOGGER = logging.getLogger(__name__) def name_or_value(value): """Will take Frame...
49,621
https://github.com/Krato/Axon/blob/master/tests/Axon/Tests/SearchTest.php
Github Open Source
Open Source
BSD-2-Clause-Views
2,016
Axon
Krato
PHP
Code
93
475
<?php namespace Axon\Tests; use Axon\Search; use Axon\Search\Model\Torrent; class SearchTest extends \PHPUnit_Framework_TestCase { /** * @test */ public function shouldSearchUsingRegisteredProviders() { $torrents = array( new Torrent() ); $provider = $this->g...
37,151
https://github.com/tianshengsui/virtool/blob/master/client/src/js/updates/components/Release.js
Github Open Source
Open Source
MIT
2,021
virtool
tianshengsui
JavaScript
Code
135
440
import PropTypes from "prop-types"; import React from "react"; import styled from "styled-components"; import { BoxGroupSection, ExternalLink, Icon } from "../../base"; import { ReleaseMarkdown } from "./Markdown"; const ReleaseName = styled.span` cursor: pointer; flex: 2 0 auto; `; const ReleaseHeader = styl...
34,849
https://github.com/consulo/consulo-java/blob/master/java-debugger-impl/src/main/java/com/intellij/java/debugger/impl/engine/evaluation/expression/TryEvaluator.java
Github Open Source
Open Source
Apache-2.0
2,023
consulo-java
consulo
Java
Code
235
747
/* * Copyright 2000-2016 JetBrains s.r.o. * * 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 agre...
7,738
https://github.com/fancylou/o2oa/blob/master/x_organization_assemble_express/src/main/java/com/x/organization/assemble/express/jaxrs/person/ActionListLoginRecent.java
Github Open Source
Open Source
BSD-3-Clause
2,019
o2oa
fancylou
Java
Code
95
505
package com.x.organization.assemble.express.jaxrs.person; import java.util.ArrayList; import java.util.List; import javax.persistence.EntityManager; import javax.persistence.criteria.CriteriaBuilder; import javax.persistence.criteria.CriteriaQuery; import javax.persistence.criteria.Predicate; import javax.persistence...
30,693
https://github.com/jkdubr/Proj4/blob/master/Pod/Classes/MOBProjection.m
Github Open Source
Open Source
MIT
2,016
Proj4
jkdubr
Objective-C
Code
48
145
// // MOBProjection.m // Proj // // Created by Jakub Dubrovsky on 12/08/14. // Copyright (c) 2014 Mobera. All rights reserved. // #import "MOBProjection.h" @implementation MOBProjection - (instancetype)initWithEPSG:(NSUInteger)epsg withDefinition:(NSString *)def { if (self = [super init]) { _epsg = e...
48,025
https://github.com/sunalong/ScalaDemo/blob/master/src/com/itcode/first/MutableCollectTest.scala
Github Open Source
Open Source
MIT
null
ScalaDemo
sunalong
Scala
Code
133
579
package com.itcode.first import scala.collection.mutable import scala.collection.mutable.ListBuffer /** * Created by along on 17/8/7 10:48. * Email:466210864@qq.com */ object MutableCollectTest { def main(args: Array[String]): Unit = { // listBufferTest setTest mapTest } private def mapTest = ...
47,327
https://github.com/Thirrash/FlavoEngine/blob/master/FlavoEngine/include/BoxCollider.h
Github Open Source
Open Source
MIT
null
FlavoEngine
Thirrash
C
Code
63
195
#pragma once #include "Collider.h" namespace Engine { class Transform; class BoxCollider : public Collider { friend class CollisionSystem; /*** Constants ***/ /*** Ctors ***/ public: BoxCollider(); virtual ~BoxCollider(); /*** Fields ***/ /*** Methods ***/ public: void SetBox(float xMin, float...
26,827
https://github.com/autooz/MySqlResult2VarVal/blob/master/LIB/mysql_select_multy.h
Github Open Source
Open Source
MIT
2,022
MySqlResult2VarVal
autooz
C
Code
69
268
#ifndef MYSQL_SELECT_MULTY_H #define MYSQL_SELECT_MULTY_H #ifdef __cplusplus extern "C" { #endif #include "mysql_select.h" typedef void *ROWSOFSELECT; extern ROWSOFSELECT selectedRows; /****** * Function prototypes. ******/ ROWSOFSELECT SelectedRowsCreate(void); void SelectedRowsInsert(ROWSOFSELECT pli...
1,858
https://github.com/guillep/pharo/blob/master/src/SmartSuggestions.package/SugsMorphicTextAdapterContext.class/instance/sourceTextArea.st
Github Open Source
Open Source
MIT
2,017
pharo
guillep
null
Spoken
4
14
refactoring sourceTextArea ^model widget
4,601
https://github.com/DamienCvl/NEWSVR/blob/master/Assets/Resources/Prefabs/Town/Walls.prefab
Github Open Source
Open Source
MIT
2,019
NEWSVR
DamienCvl
Unity3D Asset
Code
1,077
4,898
%YAML 1.1 %TAG !u! tag:unity3d.com,2011: --- !u!1001 &100100000 Prefab: m_ObjectHideFlags: 1 serializedVersion: 2 m_Modification: m_TransformParent: {fileID: 0} m_Modifications: [] m_RemovedComponents: [] m_ParentPrefab: {fileID: 0} m_RootGameObject: {fileID: 1104274711911110} m_IsPrefabParent: ...
15,760
https://github.com/DK22Pac/plugin-sdk/blob/master/plugin_III/game_III/CPool.h
Github Open Source
Open Source
Zlib
2,023
plugin-sdk
DK22Pac
C++
Code
650
2,024
/* Plugin-SDK (Grand Theft Auto 3) header file Authors: GTA Community. See more here https://github.com/DK22Pac/plugin-sdk Do not delete this comment block. Respect others' work! */ #pragma once #include "PluginBase.h" #include <cstring> /* R* terminology Our terminology JustIndex ...
291
https://github.com/ekirving/rabbits/blob/master/pipeline_gatk.py
Github Open Source
Open Source
MIT
2,020
rabbits
ekirving
Python
Code
2,782
9,826
#!/usr/bin/env python # -*- coding: utf-8 -*- import luigi, os, os.path, glob, random, re, shutil # import my custom modules from pipeline_dadi import * from pipeline_utils import * class SraToolsFastqDump(luigi.Task): """ Fetches the paired-end and single end FASTQ files for a given sample ID, using SRA To...
11,538
https://github.com/bigdavedev/units/blob/master/docs/search/all_3.js
Github Open Source
Open Source
MIT
2,017
units
bigdavedev
JavaScript
Code
5
46
var searchData= [ ['mass',['mass',['../structunits_1_1unit__type_1_1mass.html',1,'units::unit_type']]] ];
25,587
https://github.com/embeddedgo/nrf5/blob/master/devboard/pca10059/examples/load-nrfutil-s140-7.sh
Github Open Source
Open Source
BSD-3-Clause
2,021
nrf5
embeddedgo
Shell
Code
10
107
#!/bin/sh dfu=usb-serial port=/dev/ttyACM0 hw=52 sdreq=0xCA,0x0100 s140_nrf52_7_0_1_softdevice_hex=0xCA s140_nrf52_7_2_0_softdevice_hex=0x0100 . ../../../../../scripts/load-nrfutil.sh $@
11,796
https://github.com/bendewey/angular2-migrations-demo/blob/master/ngBanking-angular1-step5/app/aboutCmp.js
Github Open Source
Open Source
MIT
2,016
angular2-migrations-demo
bendewey
JavaScript
Code
13
59
(function () { 'use strict'; angular.module('ngBanking').component('aboutView', { templateUrl: '/app/about.html' }); })(); //# sourceMappingURL=aboutCmp.js.map
52,290
https://github.com/luci/luci-go/blob/master/led/ledcli/edit_isolated.go
Github Open Source
Open Source
Apache-2.0
2,023
luci-go
luci
Go
Code
350
819
// Copyright 2020 The LUCI Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed...
3,251
https://github.com/BarryZM/les-military-mrc-rank7/blob/master/les_mrc/span_mrc/les_modeling.py
Github Open Source
Open Source
MIT
2,019
les-military-mrc-rank7
BarryZM
Python
Code
648
2,777
import torch import torch.nn as nn import torch.nn.functional as F from torch.nn import CrossEntropyLoss from pytorch_transformers import BertPreTrainedModel, BertModel from nn.layers import Highway from nn.recurrent import BiGRU from utils_les import POS_DIM, NER_DIM VERY_NEGATIVE_NUMBER = -1e29 class BertForLes(B...
56,552
https://github.com/yaron-idan/admiral/blob/master/tests/test3.sh
Github Open Source
Open Source
Apache-2.0
2,021
admiral
yaron-idan
Shell
Code
125
356
#!/bin/bash [ $# -lt 3 ] && { echo "Usage: $0 <source_app> <source_ns> <destination_app>" ; exit 1; } source=$1 source_ns=$2 dest=$3 install_dir=$4 sleep 20 #Deploy the grpc client pod to run requests against the grpc endpoint kubectl apply -f $install_dir/yaml/grpc-client.yaml -n $source_ns kubectl rollout status...
31,268
https://github.com/flapjs/webapp/blob/master/src/services/machine/MachineHooks.jsx
Github Open Source
Open Source
MIT
2,021
webapp
flapjs
null
Spoken
637
1,253
import { useState, useContext, useEffect, useCallback } from 'react'; import { MachineContext } from './MachineContext.jsx'; import { useUpdateCycle } from '@flapjs/hooks/UpdateCycleHook.jsx'; import * as MachineBuilderAPI from './MachineBuilderAPI.js'; /** * Gets a machine builder for the given type and name. * ...
5,899
https://github.com/stackify/stackify-metrics/blob/master/src/test/java/com/stackify/metric/TimerTest.java
Github Open Source
Open Source
Apache-2.0
2,017
stackify-metrics
stackify
Java
Code
356
1,526
/* * Copyright 2014 Stackify * * 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 writ...
48,882
https://github.com/georules/yaplib/blob/master/src/router/YapRouter.php
Github Open Source
Open Source
BSD-3-Clause
2,013
yaplib
georules
PHP
Code
332
1,000
<?php class YapRouter implements RouterInterface { const httpGet = 'GET'; const httpPost = 'POST'; const httpPut = 'PUT'; const httpDelete = 'DELETE'; private $routeKey = '__route__'; private $routes = array(); private $regexes = array(); public function __construct() { if (func_num_args() === 1)...
9,457
https://github.com/ajdinstel/sphere-sunrise-zr/blob/master/product-catalog/app/productcatalog/models/ProductData.java
Github Open Source
Open Source
Apache-2.0
null
sphere-sunrise-zr
ajdinstel
Java
Code
153
500
package productcatalog.models; import common.contexts.UserContext; import common.controllers.ReverseRouter; import common.models.ProductDataConfig; import common.models.ProductVariantBean; import io.sphere.sdk.models.Base; import io.sphere.sdk.products.ProductProjection; import io.sphere.sdk.products.ProductVariant; ...
55,759
https://github.com/GTBitsOfGood/dms/blob/master/components/core/colors/secondary/green.ts
Github Open Source
Open Source
MIT
2,020
dms
GTBitsOfGood
TypeScript
Code
21
66
import { ReadonlyPrimarySecondaryColor } from "@core/colors"; const green: ReadonlyPrimarySecondaryColor = { 300: "#7AEE44", 500: "#5CE816", 700: "#56D814" }; export default green;
26,045
https://github.com/JeffHoogland/MokshaKL4K/blob/master/MokshaKL4K/angelic_menu.edc
Github Open Source
Open Source
BSD-2-Clause
2,020
MokshaKL4K
JeffHoogland
null
Spoken
1,908
6,399
images { image: "e17_menu_arrow.png" COMP; image: "e17_menu_bg.png" COMP; image: "e17_menu_bg_border.png" COMP; image: "e17_menu_check1.png" COMP; image: "e17_menu_check2.png" COMP; image: "e17_menu_radio1.png" COMP; image: "e17_menu_radio2.png" COMP; imag...
43,226
https://github.com/rubentea16/SMART/blob/master/frontend/src/containers/history_container.jsx
Github Open Source
Open Source
MIT
2,022
SMART
rubentea16
null
Spoken
88
276
import React from 'react'; import { connect } from 'react-redux'; import { getHistory, changeLabel, changeToSkip } from '../actions/history'; import History from '../components/History'; const PROJECT_ID = window.PROJECT_ID; const HistoryContainer = (props) => <History {...props} />; const mapStateToProps = (state)...
27,974
https://github.com/c18s/Dockerfiles/blob/master/openresty/Makefile
Github Open Source
Open Source
MIT
2,022
Dockerfiles
c18s
Makefile
Code
29
90
NS = c18s REPO = openresty build: docker build -t $(NS)/$(REPO) . docker images --filter 'reference=$(NS)/$(REPO)' shell: docker run --rm --name $(REPO) -it -p 80:80 -p 443:443 $(NS)/$(REPO) /bin/sh
9,529
https://github.com/VinayaSathyanarayana/formik/blob/master/examples/SyncValidation.js
Github Open Source
Open Source
MIT
2,022
formik
VinayaSathyanarayana
JavaScript
Code
117
376
import React from 'react'; import { Formik, Field, Form, ErrorMessage } from 'formik'; import { Debug } from './Debug'; const validate = values => { let errors = {}; if (!values.email) { errors.email = 'Required'; } else if (!/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}$/i.test(values.email)) { errors.email ...
45,608
https://github.com/orsjb/HappyBrackets/blob/master/HappyBrackets/src/main/java/net/happybrackets/core/control/BooleanControl.java
Github Open Source
Open Source
Apache-2.0
2,022
HappyBrackets
orsjb
Java
Code
848
1,857
package net.happybrackets.core.control; /** * This class encapsulates the functionality of {@link DynamicControl} classes of type {@link ControlType#BOOLEAN} in a simple API. * <br> * <br> All {@link BooleanControl} objects with the same name and {@link ControlScope} will respond to a {@link BooleanControl#setValue...
9,358
https://github.com/lmk-code/lmk-core/blob/master/core-web/src/main/java/com/lmk/core/web/support/bean/http/ClientInfo.java
Github Open Source
Open Source
Apache-2.0
2,021
lmk-core
lmk-code
Java
Code
135
391
package com.lmk.core.web.support.bean.http; import com.lmk.core.web.support.utils.HttpUtils; import javax.servlet.http.HttpServletRequest; /** * 客户端信息 * @author LaoMake * @email laomake@hotmail.com */ public class ClientInfo { /** 请求地址 */ private String url; /** 请求方式 */ private String method; ...
31,070
https://github.com/CoderLeonidas/iLike/blob/master/code/Product/Service/UpdateService.cpp
Github Open Source
Open Source
BSD-2-Clause
2,019
iLike
CoderLeonidas
C++
Code
101
509
#include "..\\..\\stdafx.h" #include "UpdateService.h" #include "DataCenter.h" #include <shellapi.h> UpdateService::UpdateService() { wstring appPath = L"", userPath = L""; Str::stringTowstring(appPath, DataCenter::GetAppPath()); Str::stringTowstring(userPath, DataCenter::GetUserPath()); SetDecompressDir(userPath ...
9,636
https://github.com/pelitweets/pelitweets-backend/blob/master/util/normalize-tweet.js
Github Open Source
Open Source
MIT
2,015
pelitweets-backend
pelitweets
JavaScript
Code
170
919
var normalizeTweet = function(tweetText) { tweetText = tweetText || ''; // remove \n tweetText = tweetText.replace(/\n/,""); // remove urls tweetText = tweetText.replace(/[A-Za-z]+:\/\/[A-Za-z0-9-_]+\.[A-Za-z0-9-_:%&~\?\/.=]+/g, ""); // remove usernames tweetText = tweetText.replace(/[@]...
30,806
https://github.com/Scottx86-64/dotfiles-1/blob/master/source/pkgsrc/mk/checksum/bsd.checksum.mk
Github Open Source
Open Source
Unlicense
2,021
dotfiles-1
Scottx86-64
Makefile
Code
230
482
# $NetBSD: bsd.checksum.mk,v 1.11 2018/01/07 11:23:37 rillig Exp $ # # This Makefile fragment is included by bsd.pkg.mk and defines the # relevant variables and targets for the "checksum" phase. # # Public targets for pkgsrc users: # # checksum: # Check that the distfiles have the correct checksums. If they # aren't ye...
41,835
https://github.com/chenxiangang/stm32f4_modules/blob/master/示范例程/jy91/HARDWARE/Freecars/FreeCars_isr.h
Github Open Source
Open Source
MIT
2,019
stm32f4_modules
chenxiangang
C
Code
13
71
#ifndef __FREECARS_ISR_H_ #define __FREECARS_ISR_H_ #include "stm32f4xx.h" #define UInt32 uint32_t #define Int16 int16_t #endif
21,200
https://github.com/Stitch7/mclient/blob/master/mclient/Views/MessageList/Toolbar/MCLMessageToolbar.h
Github Open Source
Open Source
MIT
2,020
mclient
Stitch7
C
Code
130
486
// // MCLMessageToolbar.h // mclient // // Copyright © 2014 - 2019 Christopher Reitz. Licensed under the MIT license. // See LICENSE file in the project root for full license information. // @protocol MCLMessageToolbarDelegate; @class MCLMessage; @class MCLLoginManager; @class MCLMessageListWidmannStyleTableViewC...
53,725
https://github.com/simonzhao88/practice/blob/master/ajzf/static/js/ihome/lorders.js
Github Open Source
Open Source
MIT
2,018
practice
simonzhao88
JavaScript
Code
242
1,021
//模态框居中的控制 function centerModals() { $('.modal').each(function (i) { //遍历每一个模态框 var $clone = $(this).clone().css('display', 'block').appendTo('body'); var top = Math.round(($clone.height() - $clone.find('.modal-content').height()) / 2); top = top > 0 ? top : 0; $clone.remove(); ...
29,672
https://github.com/alaa283/EasyMetro/blob/master/app/Http/Controllers/SubscrptionsController.php
Github Open Source
Open Source
MIT
2,021
EasyMetro
alaa283
PHP
Code
128
607
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\types_sub; class SubscrptionsController extends Controller { // public function types_subscription(Request $req) { if ($req->isMethod('post')) { $data = $req->all(); //echo "<pre>"; print_r($da...
6,105
https://github.com/chaovite/crack_pipe/blob/master/source/transFunUtils/transfer_function_energy_test.m
Github Open Source
Open Source
MIT
2,020
crack_pipe
chaovite
MATLAB
Code
57
145
function is_valid = transfer_function_energy_test(F) % This is to test that for wide range of a, the magnitude of reflection coefficient and % transmission coefficient are both less than 1. is_valid = false; for a=[0.25,0.5,1,logspace(-4,4,1000)] R = abs(-a*F./(1 + a*F)); T = abs(1./(1 + a*F)); if(max(T) ...
6,065
https://github.com/huayra/whisperplot/blob/master/src/phase3.cpp
Github Open Source
Open Source
Apache-2.0
2,021
whisperplot
huayra
C++
Code
711
3,069
#include <atomic> #include <string> #include <thread> #include <vector> #include "thread_mgr.hpp" #include "entry_sizes.hpp" #include "buffer.hpp" #include "encoding.hpp" #include "plotter.hpp" #include "chiapos_util.hpp" using namespace std; template <uint8_t K, uint32_t num_rows> template <int8_t table_index> void...
48,409
https://github.com/victorocna/express-postres-api-starter/blob/master/db/resources/index.js
Github Open Source
Open Source
MIT
2,022
express-postres-api-starter
victorocna
JavaScript
Code
14
36
const identities = require('./identities'); const todos = require('./todos'); module.exports = { identities, todos, };
33,510
https://github.com/Jeswang/Distribution/blob/master/v/vso-node-api/src/main/scala/typings/vsoNodeApi/AnonIgnoreConstraints.scala
Github Open Source
Open Source
MIT
2,020
Distribution
Jeswang
Scala
Code
78
273
package typings.vsoNodeApi import scala.scalajs.js import scala.scalajs.js.`|` import scala.scalajs.js.annotation._ trait AnonIgnoreConstraints extends js.Object { var ignoreConstraints: Double var includeAll: Double var includeChildren: Double var includeSelf: Double var includeSubTree: Double var none: ...
25,955
https://github.com/thundermiracle/mern/blob/master/frontend/src/store/order/types.ts
Github Open Source
Open Source
MIT
null
mern
thundermiracle
TypeScript
Code
114
310
import { CartItem } from "../cart/types"; import { ShippingAddress } from "../shipping/types"; /***************** State part *****************/ export interface Order { _id?: string; orderItems: CartItem[]; shippingAddress: ShippingAddress; taxPrice: number; shippingPrice: number; totalPrice: number; pay...
8,481
https://github.com/google-code/canvashop/blob/master/src/Controls/PropertyBar.js
Github Open Source
Open Source
Apache-2.0
2,015
canvashop
google-code
JavaScript
Code
152
402
/* * Copyright 2009 Jiwei Xu (http://www.xujiwei.com) * * 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...
41,415
https://github.com/emc-mongoose/mongoose-base/blob/master/src/main/java/com/emc/mongoose/base/control/logs/LogServlet.java
Github Open Source
Open Source
MIT
2,023
mongoose-base
emc-mongoose
Java
Code
667
2,590
package com.emc.mongoose.base.control.logs; import static com.emc.mongoose.base.Constants.MIB; import static com.github.akurilov.commons.lang.Exceptions.throwUnchecked; import static org.eclipse.jetty.server.InclusiveByteRange.satisfiableRanges; import com.emc.mongoose.base.Constants; import com.emc.mongoose.base.log...
28,768
https://github.com/EslamHussein/koin/blob/master/koin-projects/koin-core/src/main/kotlin/org/koin/dsl/definition/BeanDefinition.kt
Github Open Source
Open Source
Apache-2.0
2,019
koin
EslamHussein
Kotlin
Code
488
1,023
/* * Copyright 2017-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
32,093
https://github.com/rayxuln/melongarden-front-end/blob/master/src/views/Images.vue
Github Open Source
Open Source
MIT
2,022
melongarden-front-end
rayxuln
Vue
Code
231
895
<template> <div v-loading="isPageLoading" class="images"> <el-empty v-if="isEmpty" description="There is no image, yet."></el-empty> <el-card v-else shadow="never"> <div class="image-post-card-container"> <div v-for="(i, index) in imagePostCardList" :key="index"> <image-post-card ...
8,221
https://github.com/zfxu/color/blob/master/src/color/xyz/convert/rgb.hpp
Github Open Source
Open Source
Apache-2.0
2,016
color
zfxu
C++
Code
226
876
#ifndef color_xyz_convert_rgb #define color_xyz_convert_rgb #include "../../_internal/convert.hpp" #include "../../rgb/rgb.hpp" #include "../../_internal/normalize.hpp" #include "../../_internal/diverse.hpp" namespace color { namespace _internal { template< typename xyz_tag_name, typename rgb_tag_name > ...
29,521
https://github.com/Binary-bug/Python/blob/master/language/Basics/binary_challenge.py
Github Open Source
Open Source
MIT
null
Python
Binary-bug
Python
Code
71
157
decimal = int(input("Please enter an non-negative integer less than 65535")) binary=0 while decimal//2: if decimal % 2: binary += (decimal % 2) * 10 decimal = decimal // 2 print(binary) #Tim's answer # powers =[] # # for power in range(15,-1,-1): # powers.append(2 ** power) # # print(powers) # x = in...
39,518
https://github.com/BugsUK/FindApprenticeship/blob/master/src/SFA.Apprenticeships.Web.Recruit.UnitTests/Views/VacancyPosting/VacancySubmittedTests.cs
Github Open Source
Open Source
MIT
2,021
FindApprenticeship
BugsUK
C#
Code
47
204
namespace SFA.Apprenticeships.Web.Recruit.UnitTests.Views.VacancyPosting { using FluentAssertions; using NUnit.Framework; using Ploeh.AutoFixture; using RazorGenerator.Testing; using Raa.Common.ViewModels.Vacancy; using Recruit.Views.VacancyPosting; [TestFixture] public class VacancySu...
27,727
https://github.com/mesosphere/mesosaurus/blob/master/src/main/scala/io/mesosphere/mesosaurus/Logging.scala
Github Open Source
Open Source
Apache-2.0
2,020
mesosaurus
mesosphere
Scala
Code
17
53
package io.mesosphere.mesosaurus import org.slf4j.{ Logger, LoggerFactory } trait Logging { protected lazy val log = LoggerFactory.getLogger(getClass.getName) }
39,093
https://github.com/tomaszt762/MyProvisions/blob/master/Wordpress/.wordpress/plugins/wp-all-export/helpers/wp_all_export_get_cpt_name.php
Github Open Source
Open Source
MIT
2,021
MyProvisions
tomaszt762
PHP
Code
167
639
<?php function wp_all_export_get_cpt_name($cpt = array(), $count = 2, $post = array()) { $cptName = ''; if ( ! empty($cpt)) { if (in_array('users', $cpt)) { $cptName = ($count > 1) ? __('Users', 'wp_all_export_plugin') : __('User', 'wp_all_export_plugin'); } elseif (in_array('shop_customer', $cpt)) { ...
48,059
https://github.com/runarmyklebust/app-surveynator/blob/master/src/main/resources/site/filters/surveyInjector.js
Github Open Source
Open Source
Apache-2.0
null
app-surveynator
runarmyklebust
JavaScript
Code
105
358
var util = require('/lib/util'); var surveyLib = require('/lib/survey'); var portalLib = require('/lib/xp/portal'); exports.responseFilter = function (req, res) { //log.info("####### In survey response-filter: %s", JSON.stringify(req, null, 4)); var result = portalLib.getContent(); if (!result) { ...
45,025
https://github.com/optsoldev/sdk-backend/blob/master/test/Optsol.Components.Test.Unit/Service/ApiControllerBaseSpec.cs
Github Open Source
Open Source
MIT
2,022
sdk-backend
optsoldev
C#
Code
311
1,459
using AutoMapper; using FluentAssertions; using Microsoft.Extensions.Logging; using Moq; using Optsol.Components.Infra.Data; using Optsol.Components.Infra.Data.Pagination; using Optsol.Components.Service.Controllers; using Optsol.Components.Service.Responses; using Optsol.Components.Test.Shared.Logger; using Optsol.Com...
12,641
https://github.com/SeanTong11/hexo-matery-modified/blob/master/source/_posts/test.py
Github Open Source
Open Source
Apache-2.0
null
hexo-matery-modified
SeanTong11
Python
Code
5
18
''' @Author: TongYuxuan @Date: '''
45,991
https://github.com/lechium/tvOS135Headers/blob/master/System/Library/PrivateFrameworks/UIKitCore.framework/_UIVibrancyEffectVibrantColorMatrixImpl.h
Github Open Source
Open Source
MIT
2,020
tvOS135Headers
lechium
C
Code
102
448
/* * This header is generated by classdump-dyld 1.0 * on Sunday, June 7, 2020 at 11:45:01 AM Mountain Standard Time * Operating System: Version 13.4.5 (Build 17L562) * Image Source: /System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias L...
44,155
https://github.com/nhpatt/examples-in-burgos/blob/master/ExampleOfUsingCards/MaterialList/materialList/src/main/java/com/dexafree/materialList/controller/RecyclerItemClickListener.java
Github Open Source
Open Source
Apache-2.0
null
examples-in-burgos
nhpatt
Java
Code
135
568
package com.dexafree.materialList.controller; import android.content.Context; import android.support.v7.widget.RecyclerView; import android.view.GestureDetector; import android.view.MotionEvent; import com.dexafree.materialList.model.CardItemView; // From http://stackoverflow.com/a/26196831/1610001 public class Rec...
45,421
https://github.com/AravinthPanch/araBot/blob/master/firmware/mpcnc-marlin/RC7_MPCNC_LCD_9916/stopwatch.h
Github Open Source
Open Source
Apache-2.0
2,019
araBot
AravinthPanch
C++
Code
460
883
/* * Marlin 3D Printer Firmware * Copyright (C) 2016 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] * * Based on Sprinter and grbl. * Copyright (C) 2011 Camiel Gubbels / Erik van der Zalm * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General ...
14,435
https://github.com/sherlkk/NetLogo-GIS/blob/master/src/org/myworldgis/io/geojson/GeoJsonConstants.java
Github Open Source
Open Source
Apache-2.0
2,022
NetLogo-GIS
sherlkk
Java
Code
21
59
package org.myworldgis.io.geojson; public interface GeoJsonConstants { public final static String GEOJSON_EXTENSION = "geojson"; public final static String JSON_EXTENSION = "json"; }
50,098
https://github.com/swang8/Perl_scripts_misc/blob/master/unifiedgenotyper.pl
Github Open Source
Open Source
MIT
2,020
Perl_scripts_misc
swang8
Perl
Code
1,294
4,457
#!/usr/bin/perl -w use strict; #use lib '/homes/wangsc/perl_lib'; # for beocat; use lib '/home/wangsc/perl5/lib/perl5'; use Parallel::ForkManager; use File::Basename; use Getopt::Long; my $sUsage = qq( #####################################################################################################################...
7,575