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/plandrover/property_marketplace/blob/master/app/PostProperty.php
Github Open Source
Open Source
MIT
2,018
property_marketplace
plandrover
PHP
Code
46
135
<?php namespace App; use Illuminate\Database\Eloquent\Model; class PostProperty extends Model { // protected $fillable = [ 'house_number', 'post_code', 'property_type','beds_no','bathrooms_no', 'price', 'commission', 'description', 'image' ]; /** * The attributes that should be hidden fo...
24,347
https://github.com/asdad-emizzy/pinpoint/blob/master/commons-server/src/test/java/com/navercorp/pinpoint/common/server/bo/codec/stat/header/Jdk7BitCountingHeaderEncoder.java
Github Open Source
Open Source
DOC, LicenseRef-scancode-free-unknown, CC0-1.0, OFL-1.1, GPL-1.0-or-later, CC-PDDC, GPL-2.0-only, Apache-2.0, LicenseRef-scancode-public-domain, CC-BY-3.0, LicenseRef-scancode-unknown-license-reference, MITNFA, MIT, CC-BY-4.0, OFL-1.0
2,020
pinpoint
asdad-emizzy
Java
Code
178
374
/* * Copyright 2017 NAVER Corp. * * 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 ...
15,189
https://github.com/eram/neta/blob/master/tags/NetaScutter/v0/src/main/java/com/netalign/netascutter/utils/ModelUtils.java
Github Open Source
Open Source
Unlicense
null
neta
eram
Java
Code
380
1,243
package com.netalign.netascutter.utils; import com.hp.hpl.jena.rdf.model.*; import com.hp.hpl.jena.vocabulary.*; import com.netalign.rdf.vocabulary.FOAF; import com.netalign.rdf.vocabulary.SIOC; /** * Utility class for working with <code>foaf:Person</code> resources within a * Jena model. * * @author ldodds (per...
19,368
https://github.com/pedrohd21/Cursos-Feitos/blob/master/Curso_Python/Secao3-Python-Intermediario-Programacao-Procedural/88-89-90_desafio_valide_um_cnpj/88_validando_cnpj.py
Github Open Source
Open Source
MIT
null
Cursos-Feitos
pedrohd21
Python
Code
36
159
from validando_cnpj import remover_caracteres, formula, validando, total, gera cnpj = '04.252.011/0001-10' numero_liso = remover_caracteres(cnpj) lista_nova = numero_liso[0:12] numeros_novos = (total(numero_liso)) lista_nova += numeros_novos resultado_final = validando(numero_liso, lista_nova) print(resultado_fina...
27,906
https://github.com/najamelan/byte_stream/blob/master/src/ring_buffer.rs
Github Open Source
Open Source
Unlicense
2,021
byte_stream
najamelan
Rust
Code
465
1,078
use crate::import::*; /// A RingBuffer that implements `AsyncRead` and `AsyncWrite` from the futures library. /// /// This object is rather special in that it's read and writes are connected to a single /// ringbuffer. It's good for low level unit tests for (eg. framing a connection with a /// codec) and verifying th...
32,771
https://github.com/isramv/opengist/blob/master/src/AppBundle/UserBundle/Resources/views/layout-auth.html.twig
Github Open Source
Open Source
MIT
null
opengist
isramv
Twig
Code
65
261
{% extends '@BetterGists/base-uikit-no-sidebar.html.twig' %} {% block navigation %} <ul class="uk-tab"> <li class="{{ (app.request.requestUri == path('fos_user_profile_show')) ? 'uk-active' }}"><a href="{{ path('fos_user_profile_show') }}">Profile</a></li> <li class="{{ (app.request.requestUri == path('fos_u...
4,541
https://github.com/swagkarna/arissploit/blob/master/modules/port_scanner.py
Github Open Source
Open Source
MIT
2,021
arissploit
swagkarna
Python
Code
223
737
from core.arissploit import * from core import colors import socket import subprocess from datetime import datetime conf = { "name": "port_scanner", "version": "1.0", "shortdesc": "Scan open ports.", "author": "Entynetproject", "initdate": "4.3.2016", "lastmod": "3.1.2017", "apisupport": True } # List of the v...
19,544
https://github.com/FrancisVarga/reborn/blob/master/vendor/processus-framework/src/Processus/Contrib/Zend/Code/Exception/InvalidArgumentException.php
Github Open Source
Open Source
MIT
2,012
reborn
FrancisVarga
PHP
Code
13
41
<?php namespace Zend\Code\Exception; use Zend\Code\Exception; class InvalidArgumentException extends \InvalidArgumentException implements Exception { }
1,216
https://github.com/benthomasson/ansible-automata/blob/master/tests/test_ast.py
Github Open Source
Open Source
Apache-2.0
null
ansible-automata
benthomasson
Python
Code
206
1,026
from ansible_automata import ast from ansible_automata import parser import yaml import os HERE = os.path.abspath(os.path.dirname(__file__)) def load_test_fsm(name): with open(os.path.join(HERE, 'inputs', name)) as f: return yaml.safe_load(f.read()) def test_null(): null_ast = parser.parse_to_ast(...
47,754
https://github.com/NoNews/NHL/blob/master/app/src/main/java/com/example/nhlstats/features/standings/StandingsFlowFragment.kt
Github Open Source
Open Source
Apache-2.0
null
NHL
NoNews
Kotlin
Code
36
169
package com.example.nhlstats.features.standings import android.os.Bundle import com.example.nhlstats.FlowKey import com.example.nhlstats.common.presentation.FlowFragment import com.example.nhlstats.features.standings.currentseasontable.CurrentSeasonContract class StandingsFlowFragment : FlowFragment() { override ...
25,103
https://github.com/980792492/YIFUReactWX/blob/master/app/js/components/index.js
Github Open Source
Open Source
MIT
null
YIFUReactWX
980792492
JavaScript
Code
46
114
//Mixin export AuthMixin from './AuthMixin'; export BgColorMixin from './BgColorMixin'; //UI export Top from './Top'; export BottomBar from './BottomBar'; export SendSmsButton from './SendSmsButton'; export Dialog from './Dialog'; export Icon from './Icon'; export Pagination from './Pagination'; export MyScroll from '...
46,504
https://github.com/Tauron1990/ImageOrgenizer/blob/master/Tauron.Application.ImageOrganizer.BL/Operations/ScheduleDownloadRule.cs
Github Open Source
Open Source
MIT
null
ImageOrgenizer
Tauron1990
C#
Code
148
602
using System; using System.Collections.Generic; using System.Linq; using Tauron.Application.Common.BaseLayer; using Tauron.Application.Common.BaseLayer.Core; using Tauron.Application.ImageOrganizer.BL.Provider; using Tauron.Application.ImageOrganizer.Data.Entities; using Tauron.Application.ImageOrganizer.Data.Reposito...
28,681
https://github.com/otto-de/rx-composer/blob/master/composer-core/src/main/java/de/otto/rx/composer/page/CompositeFragment.java
Github Open Source
Open Source
Apache-2.0
2,017
rx-composer
otto-de
Java
Code
313
891
package de.otto.rx.composer.page; import com.google.common.collect.ImmutableList; import de.otto.rx.composer.content.Content; import de.otto.rx.composer.content.Parameters; import de.otto.rx.composer.content.Position; import de.otto.rx.composer.tracer.Tracer; import org.slf4j.Logger; import rx.Observable; import java...
39,403
https://github.com/DovetailSoftware/dovetail-bootstrap/blob/master/source/Dovetail.SDK.ModelMap/Serialization/ObjectBuilderError.cs
Github Open Source
Open Source
Apache-2.0
2,023
dovetail-bootstrap
DovetailSoftware
C#
Code
23
54
namespace Dovetail.SDK.ModelMap.Serialization { public class ObjectBuilderError { public string Key { get; set; } public string Message { get; set; } } }
20,427
https://github.com/Rithlock/VichUploaderSerializationBundle/blob/master/Tests/Fixtures/UserB.php
Github Open Source
Open Source
MIT
2,021
VichUploaderSerializationBundle
Rithlock
PHP
Code
273
889
<?php /* * This file is part of the FreshVichUploaderSerializationBundle * * (c) Artem Henvald <genvaldartem@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare(strict_types=1); namespace Fresh\VichUploaderSerializ...
20,592
https://github.com/googleads/googleads-perl-lib/blob/master/t/util/TestAPIUtils.pm
Github Open Source
Open Source
Apache-2.0
2,021
googleads-perl-lib
googleads
Perl
Code
1,164
4,160
# Copyright 2011, Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
12,748
https://github.com/briancatraguna/SixPackTeamApp/blob/master/.gitignore
Github Open Source
Open Source
MIT
2,021
SixPackTeamApp
briancatraguna
Ignore List
Code
1
16
"scraping/lapor_scraping.py"
16,705
https://github.com/ncsoft/Unreal.js/blob/master/Examples/Content/Scripts/demos/demo-rest.js
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, BSD-3-Clause
2,023
Unreal.js
ncsoft
JavaScript
Code
132
509
/// <reference path="../typings/ue.d.ts">/> let UMG = require('UMG') let viewport_widget = require('./lib/viewport-widget') let rest_texture = require('./lib/remote-texture') async function demo(defer) { let elem = viewport_widget() defer(_ => elem.destroy()) const url = 'https://github.com/ncsoft/Un...
4,969
https://github.com/cooperative-tech-club/club-website/blob/master/app/Policies/TeamPolicy.php
Github Open Source
Open Source
Apache-2.0
2,021
club-website
cooperative-tech-club
PHP
Code
134
373
<?php namespace App\Policies; use App\Model\User; use App\Model\Team; use Illuminate\Auth\Access\HandlesAuthorization; class TeamPolicy { use HandlesAuthorization; /** * Determine whether the user can see the teams. * * @param \App\Model\User $user * @return boolean */ public function viewAny...
19,541
https://github.com/dfki-ric-underactuated-lab/torque_limited_simple_pendulum/blob/master/software/python/simple_pendulum/simulation/simulation.py
Github Open Source
Open Source
MIT, Apache-2.0, LicenseRef-scancode-unknown-license-reference, BSD-3-Clause
2,023
torque_limited_simple_pendulum
dfki-ric-underactuated-lab
Python
Code
1,226
4,433
""" Simulator ========= """ import time import numpy as np import matplotlib.pyplot as plt from matplotlib.animation import FuncAnimation import matplotlib.animation as mplanimation from matplotlib.patches import Arc, RegularPolygon from numpy import radians as rad class Simulator: def __init__(self, plant): ...
25,304
https://github.com/hieund97/MyCMS/blob/master/app/Models/User.php
Github Open Source
Open Source
MIT
2,022
MyCMS
hieund97
PHP
Code
135
401
<?php namespace App\Models; use Illuminate\Notifications\Notifiable; use Illuminate\Contracts\Auth\MustVerifyEmail; use Illuminate\Foundation\Auth\User as Authenticatable; class User extends Authenticatable { use Notifiable; /** * The attributes that are mass assignable. * * @var array *...
45,985
https://github.com/sapcc/python-designateclient/blob/master/designateclient/v2/cli/tsigkeys.py
Github Open Source
Open Source
Apache-2.0
2,022
python-designateclient
sapcc
Python
Code
402
1,647
# Copyright 2017 SAP SE # # Author: Rudolf Vriend <rudolf.vriend@sap.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 requir...
19,881
https://github.com/shalles/shalles-kit/blob/master/SPBA/Demo/sync.sh
Github Open Source
Open Source
ISC
2,015
shalles-kit
shalles
Shell
Code
5
32
rsync -rzcv --rsh=ssh src/export /Users/shalles/Workspace/Demo/Map/src/remote
1,186
https://github.com/Alexander-Serov/Placenta-Morphometry/blob/master/core/data/utility/Exception.cpp
Github Open Source
Open Source
MIT
null
Placenta-Morphometry
Alexander-Serov
C++
Code
49
189
#include"core/data/utility/Exception.h" #ifndef NOCIMG #include"cImg/CImg.h" #endif namespace pop { pexception::pexception(){_message = "ERROR";} pexception::pexception(const char * message) {_message = message;} pexception::pexception(std::string message) {_message = message;} const char * pexception::what() const thr...
14,696
https://github.com/hypefide/ether/blob/master/src/utilities/vendors.sass
Github Open Source
Open Source
MIT
null
ether
hypefide
Sass
Code
6
58
@import url('https://fonts.googleapis.com/css?family=Work+Sans:400,700,900&display=swap') // sass-lint:disable-line no-url-domains, no-url-protocols
49,602
https://github.com/hcmarchezi/manipulator-robot-api/blob/master/application/appmain.cpp
Github Open Source
Open Source
MIT
null
manipulator-robot-api
hcmarchezi
C++
Code
127
512
#include "appmain.h" #include "robotpersistence.h" #include "geometryreader.h" #include "linktyperepository.h" #include "linktypepersistence.h" namespace TMC { AppMain::AppMain():_robot(new PDC::Robot()) { } AppMain::~AppMain() { deleteRobot(); } void AppMain::loadLinkTypeList(const std::vector<std::string>& ...
50,180
https://github.com/JetBrains/YouTrackSharp/blob/master/src/YouTrackSharp/ColorIndices.cs
Github Open Source
Open Source
Apache-2.0
2,023
YouTrackSharp
JetBrains
C#
Code
418
989
using JetBrains.Annotations; namespace YouTrackSharp { /// <summary> /// Represents the color indices used by YouTrack, as explained on <a href="https://www.jetbrains.com/help/youtrack/devportal/Color-Indices.html">Color Indices List</a>. /// </summary> [PublicAPI] public static class ColorIndices...
15,858
https://github.com/rajethanm4/Programmers-Community/blob/master/Basic/Reverse A String/solutionByAshutosh.py
Github Open Source
Open Source
MIT
2,022
Programmers-Community
rajethanm4
Python
Code
8
35
def reverse(a): return a[::-1] a=input("enter your string:") print(reverse(a))
18,886
https://github.com/demon-xxi/r8/blob/master/src/test/java/com/android/tools/r8/utils/codeinspector/FoundAnnotationSubject.java
Github Open Source
Open Source
Apache-2.0, BSD-3-Clause
2,021
r8
demon-xxi
Java
Code
105
279
// Copyright (c) 2018, the R8 project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. package com.android.tools.r8.utils.codeinspector; import com.android.tools.r8.errors.Unreachable; import ...
41,812
https://github.com/rtsonneveld/Ray1Map/blob/master/Assets/Scripts/DataTypes/GBAIsometric/Common/Object/GBAIsometric_ObjectType.cs
Github Open Source
Open Source
MIT
null
Ray1Map
rtsonneveld
C#
Code
57
180
namespace R1Engine { public class GBAIsometric_ObjectType : R1Serializable { public uint ObjFlags { get; set; } public Pointer DataPointer { get; set; } public GBAIsometric_ObjectTypeData Data { get; set; } public override void SerializeImpl(SerializerObject s) { ...
34,914
https://github.com/Altinn/altinn-studio/blob/master/frontend/packages/ux-editor/src/components/config/componentSpecificContent/Button/ButtonComponent.tsx
Github Open Source
Open Source
BSD-3-Clause
2,023
altinn-studio
Altinn
TSX
Code
170
658
import React from 'react'; import { FieldSet, Select } from '@digdir/design-system-react'; import classes from './ButtonComponent.module.css'; import { useText } from '../../../../hooks'; import { EditSettings, IGenericEditComponent } from '../../componentConfig'; import { ComponentType } from 'app-shared/types/Compone...
9,182
https://github.com/eugenebokhan/metal-compute-tools/blob/master/Sources/MetalComputeTools/Kernels/TextureResize/TextureResize.metal
Github Open Source
Open Source
MIT
2,021
metal-compute-tools
eugenebokhan
Metal
Code
64
218
#include "../../../MetalComputeToolsSharedTypes/Definitions.h" kernel void textureResize(texture2d<float, access::sample> source [[ texture(0) ]], texture2d<float, access::write> destination [[ texture(1) ]], sampler s [[ sampler(0) ]], cons...
10,240
https://github.com/QuarkNet-HEP/e-Labs/blob/master/cosmic/src/sql/patch_states.sql
Github Open Source
Open Source
BSD-3-Clause
null
e-Labs
QuarkNet-HEP
SQL
Code
17
30
alter Table state alter abbreviation TYPE varchar(3); Alter table state Add type int; update state SET type=1;
14,981
https://github.com/andyli/pyextern/blob/master/out/science/tensorflow/python/training/py_checkpoint_reader/Py_checkpoint_reader.hx
Github Open Source
Open Source
BSD-3-Clause
2,022
pyextern
andyli
Haxe
Code
15
60
/* This file is generated, do not edit! */ package tensorflow.python.training.py_checkpoint_reader; typedef Py_checkpoint_reader = tensorflow.python.training.py_checkpoint_reader.Py_checkpoint_reader_Module;
2,599
https://github.com/RT-EGG/CsLibraries/blob/master/GLTestVisualizer/TestView/TransformMatrixDexomposition/Ctrl_TransformMatrixDecompositionTestView.cs
Github Open Source
Open Source
MIT
null
CsLibraries
RT-EGG
C#
Code
446
1,931
using OpenTK.Graphics.OpenGL4; using RtCs.MathUtils; using RtCs.OpenGL; using System; namespace GLTestVisualizer.TestView.TransformMatrixDexomposition { public partial class Ctrl_TransformMatrixDecompositionTestView : GLTestVisualizer.TestView.Ctrl_TestView { public Ctrl_TransformMatrixDecompositionTe...
8,700
https://github.com/alexjpwalker/typedb-client-java/blob/master/test/behaviour/connection/session/SessionSteps.java
Github Open Source
Open Source
Apache-2.0
null
typedb-client-java
alexjpwalker
Java
Code
397
1,337
/* * 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 ...
39,259
https://github.com/andersonhdb/kdm-companion/blob/master/screens/ExpansionsScreen.js
Github Open Source
Open Source
MIT
2,019
kdm-companion
andersonhdb
JavaScript
Code
46
119
import React from 'react' import { ScrollView } from 'react-native' import { Screen } from '@shoutem/ui' import Expansions from '../components/Expansions' export default class ExpansionsScreen extends React.Component { render() { return ( <Screen style={{ paddingTop: 5, paddingLeft: 5 }}> <ScrollVi...
35,931
https://github.com/enfoTek/tomato.linksys.e2000.nvram-mod/blob/master/release/src/linux/linux/drivers/media/radio/radio-maxiradio.c
Github Open Source
Open Source
FSFAP
2,021
tomato.linksys.e2000.nvram-mod
enfoTek
C
Code
949
3,712
/* * Guillemot Maxi Radio FM 2000 PCI radio card driver for Linux * (C) 2001 Dimitromanolakis Apostolos <apdim@grecian.net> * * Based in the radio Maestro PCI driver. Actually it uses the same chip * for radio but different pci controller. * * I didn't have any specs I reversed engineered the protocol from * ...
41,988
https://github.com/ankushgoel27/api/blob/master/packages/api/test/index.test.ts
Github Open Source
Open Source
MIT
null
api
ankushgoel27
TypeScript
Code
1,047
3,594
import { assert, expect } from 'chai'; import uniqueTempDir from 'unique-temp-dir'; import nock from 'nock'; import api from '../src'; import Cache from '../src/cache'; import pkg from '../package.json'; let petstoreSdk; let readmeSdk; const petstoreServerUrl = 'http://petstore.swagger.io/api'; describe('api', funct...
16,957
https://github.com/shekharAggarwal/URDriver/blob/master/app/src/main/java/com/urdriver/urdriver/Adapter/UserRequestAdminAdapter.java
Github Open Source
Open Source
Apache-2.0
2,020
URDriver
shekharAggarwal
Java
Code
894
4,270
package com.urdriver.urdriver.Adapter; import android.app.Activity; import android.content.Intent; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.Button; import android.widget.TextView; import android.widget.Toast; import and...
25,949
https://github.com/fatash89/babel/blob/master/packages/babel-parser/test/fixtures/flow/interfaces-as-identifier/new-expression/input.js
Github Open Source
Open Source
MIT
2,022
babel
fatash89
JavaScript
Code
2
5
new interface();
11,866
https://github.com/Diegoalesco95/challenge-prework-frontend/blob/master/src/components/Card/styles.js
Github Open Source
Open Source
MIT
2,020
challenge-prework-frontend
Diegoalesco95
JavaScript
Code
250
885
import styled from 'styled-components'; import { colors, size } from 'styles/variables'; export const Container = styled.div` width: 46.7rem; height: 58.2rem; padding: 3.9rem 4.8rem 4.8rem; border: 0.3rem solid ${colors.black}; margin: 1rem 7.1rem; box-sizing: border-box; border-radius: 2rem; display: ...
24,529
https://github.com/cpietsch/BrainEdit/blob/master/deploy.sh
Github Open Source
Open Source
MIT
null
BrainEdit
cpietsch
Shell
Code
13
52
#!/bin/bash cp -fr app/* deploy/BrainEdit.app/Contents/Resources/app.nw/ cd deploy/ rm BrainEdit.zip zip -r BrainEdit.zip BrainEdit.app
7,912
https://github.com/wmjtxt/c-exercise/blob/master/c2017/wd/wd108/main.cpp
Github Open Source
Open Source
MIT
null
c-exercise
wmjtxt
C++
Code
47
98
#include <iostream> using namespace std; int main() { int i, j; for(i = 1; i <= 9; i++){ for(j = 1; j <= i; j++){ cout << j << "*" << i << "=" << i*j << " "; } cout << endl; } return 0; }
28,165
https://github.com/tomanomeike/wordpress-bandymas/blob/master/wordpress/wp-config.php
Github Open Source
Open Source
MIT
null
wordpress-bandymas
tomanomeike
PHP
Code
362
1,187
<?php /** * The base configuration for WordPress * * The wp-config.php creation script uses this file during the * installation. You don't have to use the web site, you can * copy this file to "wp-config.php" and fill in the values. * * This file contains the following configurations: * * * MySQL settings * *...
21,827
https://github.com/jfmc/FPSSample/blob/master/Assets/Unity Technologies/Recorder/Extensions/UTJ/FrameCapturer/Editor/AudioRecorderEditor.cs
Github Open Source
Open Source
RSA-MD
2,021
FPSSample
jfmc
C#
Code
34
133
using System; using UnityEditor; using UnityEngine; namespace UTJ.FrameCapturer { [CustomEditor(typeof(AudioRecorder))] public class AudioRecorderEditor : RecorderBaseEditor { public override void OnInspectorGUI() { var so = serializedObject; CommonConfig(); ...
39,587
https://github.com/wallace5303/dapps/blob/master/app/extend/context.js
Github Open Source
Open Source
Apache-2.0
2,022
dapps
wallace5303
JavaScript
Code
72
227
/** * * @type {{foo(*)}} */ 'use strict'; module.exports = { isMobile() { const deviceAgent = this.get('user-agent').toLowerCase(); const agentID = deviceAgent.match(/(iphone|ipod|ipad|android)/); if (agentID) { // 手机访问 return true; } // 电脑访问 return false; }, success(msg, da...
13,884
https://github.com/ahmadmilzam/autosuggest/blob/master/src/scss/5-components/_my-components.icons.scss
Github Open Source
Open Source
MIT
null
autosuggest
ahmadmilzam
SCSS
Code
28
128
.icon{ display: inline-block; } .icon--larger{ font-size: rem-calc($base-spacing-unit * 1.25); } .icon--double{ font-size: rem-calc($base-spacing-unit * 2); } .icon--triple{ font-size: rem-calc($base-spacing-unit * 3); } .icon--quadruple{ font-size: rem-calc($base-spacing-unit * 4); }
11,339
https://github.com/ScalablyTyped/Distribution/blob/master/g/googleapis/src/main/scala/typings/googleapis/trafficdirectorV2Mod/trafficdirectorV2/SchemaClientStatusResponse.scala
Github Open Source
Open Source
MIT
2,023
Distribution
ScalablyTyped
Scala
Code
84
302
package typings.googleapis.trafficdirectorV2Mod.trafficdirectorV2 import org.scalablytyped.runtime.StObject import scala.scalajs.js import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess} trait SchemaClientStatusResponse extends StObject { /** * Client configs for the ...
5,456
https://github.com/sadreactonly/flutter_opencv/blob/master/example/android/app/src/main/java/com/mulgundkar/opencv4_example/MainActivity.java
Github Open Source
Open Source
BSD-3-Clause
2,022
flutter_opencv
sadreactonly
Java
Code
26
130
package com.mulgundkar.opencv4_example; import androidx.annotation.NonNull; import io.flutter.embedding.android.FlutterActivity; import io.flutter.embedding.engine.FlutterEngine; import io.flutter.plugins.GeneratedPluginRegistrant; public class MainActivity extends FlutterActivity { ...
298
https://github.com/bflaven/BlogArticlesExamples/blob/master/extending_streamlit_usage/001_nlp_spacy_python_realp/019_nlp_spacy_python.py
Github Open Source
Open Source
MIT
2,021
BlogArticlesExamples
bflaven
Python
Code
86
359
#!/usr/bin/python # -*- coding: utf-8 -*- """ [path] cd /Users/brunoflaven/Documents/01_work/blog_articles/extending_streamlit_usage/001_nlp_spacy_python_realp/ [file] python 019_nlp_spacy_python.py # source Source: https://realpython.com/natural-language-processing-spacy-python/ """ import spacy from spacy im...
22,613
https://github.com/masahase0117/delegate/blob/master/resolvy/resconf.c
Github Open Source
Open Source
BSD-3-Clause
2,021
delegate
masahase0117
C
Code
3,230
13,945
/*//////////////////////////////////////////////////////////////////////// Copyright (c) 1995-2000 Yutaka Sato and ETL,AIST,MITI Copyright (c) 2001-2006 National Institute of Advanced Industrial Science and Technology (AIST) AIST-Product-ID: 2000-ETL-198715-01, H14PRO-049, H15PRO-165, H18PRO-443 Permission to use this...
8,956
https://github.com/warrenzhu25/SparkInsight/blob/master/src/main/scala/com/microsoft/spark/insight/cli/GridBenchCliMain.scala
Github Open Source
Open Source
Apache-2.0
2,020
SparkInsight
warrenzhu25
Scala
Code
248
852
package com.microsoft.spark.insight.cli import java.net.URI import java.util.concurrent.TimeUnit import com.microsoft.spark.insight.cli.argument.{ArgumentConf, ReportGeneration} import com.microsoft.spark.insight.cli.frontend._ import com.microsoft.spark.insight.utils.spark.CommonStringUtils.{FEEDBACK_LINK, FEEDBACK_...
3,243
https://github.com/light0x00/mybatis-ext/blob/master/mybatis-ext-core/src/test/java/io/github/light0x00/mybatisext/User.java
Github Open Source
Open Source
MIT
null
mybatis-ext
light0x00
Java
Code
65
191
package io.github.light0x00.mybatisext; import io.github.light0x00.mybatisext.annotations.Column; import io.github.light0x00.mybatisext.annotations.TableName; import lombok.Data; @Data @TableName(schema = "test") public class User { @Column(primary = true) private Long pkId; private String name; priv...
18,816
https://github.com/takaakit/design-pattern-examples-in-scala/blob/master/src/main/scala/creationalPatterns/prototype/framework/Manager.scala
Github Open Source
Open Source
CC0-1.0
2,021
design-pattern-examples-in-scala
takaakit
Scala
Code
64
188
// ˅ package creationalPatterns.prototype.framework import scala.collection.mutable.Map // ˄ class Manager { // ˅ // ˄ private val display: Map[String, Display] = Map[String, Display]() def registerDisplay(displayName: String, display: Display): Unit = { // ˅ this.display.put(displayName, displa...
35,045
https://github.com/almhirte/terralimb/blob/master/Data/Buff.cs
Github Open Source
Open Source
MIT
2,017
terralimb
almhirte
C#
Code
85
264
using System.ComponentModel; namespace TerraLimb { public class Buff { [DefaultValue("")] public string BuffDescription; [DefaultValue(-1)] public int BuffID; [DefaultValue("")] public string BuffName; [DefaultValue(0)] public int BuffTime; [DefaultValue(0)] public ...
12,454
https://github.com/jakehyvonen/DeviceBatchGenerics/blob/master/DeviceBatchGenerics/Instruments/PRCameraController.cs
Github Open Source
Open Source
MIT
null
DeviceBatchGenerics
jakehyvonen
C#
Code
615
2,058
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO.Ports; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; using DeviceBatchGenerics.Support.DataMapping; namespace DeviceBatchGenerics.Instruments { public class PRCameraController ...
34,510
https://github.com/thefringeninja/EventStore.Plugins/blob/master/src/EventStore.Plugins/ConfigParser.cs
Github Open Source
Open Source
Apache-2.0
null
EventStore.Plugins
thefringeninja
C#
Code
198
605
using System; using System.Collections.Generic; using System.IO; using System.Linq; using Serilog; using YamlDotNet.RepresentationModel; using YamlDotNet.Serialization; namespace EventStore.Plugins { public static class ConfigParser { /// <summary> /// Deserializes a section of configuration from a given conf...
30,643
https://github.com/openworm/org.geppetto.recording/blob/master/org/geppetto/recording/creators/tests/wormsim_recordings/transformations/matrix_anchored_31S_00727.mat
Github Open Source
Open Source
MIT
2,015
org.geppetto.recording
openworm
Unity3D Asset
Code
496
2,117
1 0 0 0 0 1 0 0 0 0 1 0 -13.7162 50.1071 7.04618 1 0.347377 -0.946018 0.0811866 0 0.700756 0.249962 -0.0857068 0 0.0793921 0.113191 0.979243 0 -112.474 243.557 18.835 1 0.686492 -0.739339 0.0657125 0 0.549631 0.504615 -0.0644584 0 0.0189344 0.104967 0.983187 0 -99.3089 182.47 15.2996 1 0.922592 -0.52859 ...
35,033
https://github.com/ethz-asl/maplab_summer/blob/master/applications/maplab-console/src/maplab-console.cc
Github Open Source
Open Source
Apache-2.0
2,020
maplab_summer
ethz-asl
C++
Code
393
1,293
#include "maplab-console/maplab-console.h" #include <dlfcn.h> #include <cstdlib> #include <fstream> // NOLINT #include <string> #include <unordered_set> #include <gflags/gflags.h> #include <maplab-common/file-system-tools.h> #include <maplab-common/string-tools.h> #include <visualization/rviz-visualization-sink.h> ...
1,943
https://github.com/lpdw/projet0_mmiworkshop/blob/master/spec/factories/admin.rb
Github Open Source
Open Source
MIT
2,022
projet0_mmiworkshop
lpdw
Ruby
Code
19
62
FactoryGirl.define do factory :admin, class: User do first_name "Admin" last_name "User" email "test@testmail.com" password "adminadmin" admin true end end
9,453
https://github.com/jam1garner/mexTool/blob/master/mexTool/GUI/ThemeColors.cs
Github Open Source
Open Source
MIT
2,021
mexTool
jam1garner
C#
Code
189
532
using System.Collections.Generic; using System.Drawing; namespace HSDRawViewer.GUI { public static class ThemeColors { public static Color TabColor = Color.FromArgb(80, 80, 100); public static Color TabColorSelected = Color.FromArgb(40, 40, 60); public static List<Color> MainColorList...
44,769
https://github.com/MondoAurora/ARK/blob/master/platforms/cpp/modules/dust/Text/TextAgentsCore.h
Github Open Source
Open Source
Apache-2.0
2,020
ARK
MondoAurora
C++
Code
57
208
#ifndef TEXTAGENTSCORE_H #define TEXTAGENTSCORE_H #include <DustApi.h> using namespace std; class TextDictionary : public DustTextDictionary { map<string, DustEntity> words; public: virtual ~TextDictionary(); virtual DustEntity getTextToken(const char* name, DustEntity txtParent = DUST_ENTITY_INVALID); vir...
12,666
https://github.com/ruygonzalez/Parstagram/blob/master/app/src/main/java/me/ruygonzalez/parstagram/ProfileFragment.java
Github Open Source
Open Source
Apache-2.0
null
Parstagram
ruygonzalez
Java
Code
451
1,547
package me.ruygonzalez.parstagram; import android.content.Intent; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v7.widget.GridLayoutManager; import android.support.v7.widget.RecyclerView; import android.util.Log; import android.view.LayoutInflater; import android.view.View; i...
26,143
https://github.com/Laurelinex/flatland-model-diagram-editor/blob/master/flatland/input/model_visitor.py
Github Open Source
Open Source
MIT
2,021
flatland-model-diagram-editor
Laurelinex
Python
Code
513
1,394
""" model_visitor.py """ from arpeggio import PTNodeVisitor class SubsystemVisitor(PTNodeVisitor): # Elements def visit_nl(self, node, children): return None def visit_sp(self, node, children): return None def visit_mult(self, node, children): """Binary association (not asso...
34,977
https://github.com/jj6990/ciclo/blob/master/node_modules/st/test/gzip-after-no-gzip.js
Github Open Source
Open Source
MIT
2,022
ciclo
jj6990
JavaScript
Code
110
376
global.options = { cachedHeader: true // inspect to see if something is served from cache } const zlib = require('zlib') const { req, stExpect } = require('./common.js') const { test } = require('tap') test('does not gzip first response', (t) => { req('/test/st.js', { 'accept-encoding': 'none' }, (er, res, body) ...
9,026
https://github.com/kirichoi/tellurium/blob/master/examples/tellurium-files/omex/CombineArchiveShowCase.py
Github Open Source
Open Source
Apache-2.0
2,021
tellurium
kirichoi
Python
Code
76
237
""" Example Running the Combine Showcase Archive. https://github.com/SemsProject/CombineArchiveShowCase """ # TODO: FIXME: import omex from test data # TODO: create results dir # redirect backend, so plots only in files and not shown import matplotlib.pyplot matplotlib.pyplot.switch_backend("Agg") # running all SE...
20,517
https://github.com/kappapidelta/Apress-AI/blob/master/sports_timetabling.py
Github Open Source
Open Source
MIT
2,022
Apress-AI
kappapidelta
Python
Code
562
2,285
from random import randint, choice def compute_weeks(T,P): from math import ceil nbTeams = sum([1 for sub in T for e in sub]) nbIntra = P[0] nbInter = P[1] nbPerWeek = P[2] nbGames = 0 nbWeeks = 0 d = 1000 for i in range(len(T)): nb = len(T[i]) d = min(d,nb) nbGames += nb*(nb-1)/2 * nbInt...
37,439
https://github.com/thombergs/ids4slf4j/blob/master/src/test/java/io/reflectoring/descriptivelogger/LoggerFactoryTests.java
Github Open Source
Open Source
MIT
2,020
ids4slf4j
thombergs
Java
Code
47
229
package io.reflectoring.descriptivelogger; import org.junit.jupiter.api.Test; /** @author Tom Hombergs */ class LoggerFactoryTests { @Test void constructorWithStringParamWorks() { BasicDescriptiveLogger log = LoggerFactory.getLogger(BasicDescriptiveLogger.class, "mylogger"); log.simpleLogMessage(); } ...
46,834
https://github.com/usc-isi-i2/kgtk/blob/master/wikidata/patterns/date-property-20101201-or-later-pattern.tsv
Github Open Source
Open Source
MIT
2,023
kgtk
usc-isi-i2
TSV
Code
9
38
node1 label node2 date_property unknown True date_property mindate ^2010-12-01T00:00:00Z
34,690
https://github.com/sarangnx/peedia2.0-dashboard/blob/master/src/views/Users/Users.vue
Github Open Source
Open Source
MIT
null
peedia2.0-dashboard
sarangnx
Vue
Code
676
2,574
<template> <div> <base-header type="gradient-success" class="pb-6 pb-8 pt-5 pt-md-8"> </base-header> <div class="container-fluid mt--7"> <div class="row"> <div class="col-12"> <div class="card shadow"> <div class="card-...
44,964
https://github.com/eait-itig/rdp_proto/blob/master/c_src/bitmap.h
Github Open Source
Open Source
BSD-2-Clause
2,020
rdp_proto
eait-itig
C
Code
468
1,063
/* %% %% rdpproxy %% remote desktop proxy %% %% Copyright 2012-2015 Alex Wilson <alex@uq.edu.au> %% The University of Queensland %% All rights reserved. %% %% Redistribution and use in source and binary forms, with or without %% modification, are permitted provided that the following conditions %% are met: %% 1. Redist...
12,511
https://github.com/AspirinCode/md-cookbook/blob/master/scripts/seed_from_pdb
Github Open Source
Open Source
MIT
2,016
md-cookbook
AspirinCode
Python
Code
240
941
#! /usr/bin/env python """ Use a PDB file to solvate, minimize, and equilibrate a simulation. """ import os from os.path import basename from glob import iglob from mdcookbook.core import solvate, get_sim, get_ff, get_state from mdcookbook.utils import Timing, serialize, get_args from simtk.openmm import Platform, V...
42,130
https://github.com/mackdoyle/osx-auto-config/blob/master/dotfiles/.config/Text Wrangler/Packages/git.bbpackage/Contents/Scripts/git/Github/github_show_sha1_on_clipboard.sh
Github Open Source
Open Source
LicenseRef-scancode-warranty-disclaimer, LicenseRef-scancode-public-domain
2,015
osx-auto-config
mackdoyle
Shell
Code
9
46
#!/usr/bin/env sh cd "$(dirname "$BB_DOC_PATH")" open "`git config bbedit.githuburl`/commit/`pbpaste`"
23,550
https://github.com/GuilhermeSenna/NodeJS-Websocket-Practice/blob/master/app/app.js
Github Open Source
Open Source
MIT
null
NodeJS-Websocket-Practice
GuilhermeSenna
JavaScript
Code
66
187
const socket = io('ws://localhost:8080'); socket.on('message', text => { const el = document.createElement('li'); el.innerHTML = text; document.querySelector('ul').appendChild(el) }); document.querySelector('button').onclick = () => { const text = document.querySelector('input').value; socket....
27,954
https://github.com/gregbenner/-vanillajs-react-mobx-nodegui-starter-/blob/master/webpack.config.js
Github Open Source
Open Source
MIT
null
-vanillajs-react-mobx-nodegui-starter-
gregbenner
JavaScript
Code
134
503
const path = require("path"); const webpack = require("webpack"); const ForkTsCheckerWebpackPlugin = require("fork-ts-checker-webpack-plugin"); const { CleanWebpackPlugin } = require("clean-webpack-plugin"); module.exports = (env, argv) => { const config = { mode: "production", entry: ["./src/index.js"], ...
22,490
https://github.com/omar-droubi/RAHE/blob/master/RectangleBinPack/CMakeLists.txt
Github Open Source
Open Source
LicenseRef-scancode-public-domain
2,016
RAHE
omar-droubi
CMake
Code
8
41
project (RBP) cmake_minimum_required (VERSION 2.6) add_library(RBP MaxRectsBinPack.cpp Rect.cpp)
11,281
https://github.com/alldatacenter/alldata/blob/master/olap/doris/regression-test/suites/query_p1/return_binaray/test_return_binary_bitmap.groovy
Github Open Source
Open Source
OpenSSL, Apache-2.0, BSD-3-Clause, LicenseRef-scancode-facebook-patent-rights-2, PSF-2.0, dtoa, MIT, GPL-2.0-only, LicenseRef-scancode-public-domain
2,023
alldata
alldatacenter
Groovy
Code
215
548
// 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...
46,721
https://github.com/alphagov/maslow/blob/master/test/integration/update_a_need_test.rb
Github Open Source
Open Source
MIT, LicenseRef-scancode-proprietary-license
2,023
maslow
alphagov
Ruby
Code
590
2,770
require_relative "../integration_test_helper" class UpdateANeedTest < ActionDispatch::IntegrationTest include NeedHelper setup do login_as_stub_editor stub_publishing_api_has_linkables([], document_type: "organisation") end context "updating a need" do setup do @content_item = create(:need_...
40,502
https://github.com/gamemake/Brainiac/blob/master/Assets/Brainiac/Source/Runtime/Serialization/BTPropertyAttribute.cs
Github Open Source
Open Source
MIT
null
Brainiac
gamemake
C#
Code
150
466
using System; using System.Reflection; #if WINDOWS_STORE using TP = System.Reflection.TypeInfo; #else #endif using TCU = Brainiac.Serialization.TypeCoercionUtility; namespace Brainiac.Serialization { [AttributeUsage(AttributeTargets.Field | AttributeTargets.Property, AllowMultiple = false)] public class BTP...
18,897
https://github.com/porcelluscavia/vectors-webtool/blob/master/snaut-english/snaut.py
Github Open Source
Open Source
Apache-2.0
null
vectors-webtool
porcelluscavia
Python
Code
2,076
6,578
# -*- coding: utf-8 -*- """ This is the flask server that provides a web interface to the semspaces module. """ import os import sys from functools import wraps from configparser import ConfigParser import markdown import json import unicodecsv as csv import io from flask import Flask, jsonify, request, make_resp...
10,502
https://github.com/kdeng00/Icarus/blob/master/Models/Genre.cs
Github Open Source
Open Source
MIT
2,021
Icarus
kdeng00
C#
Code
50
155
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations.Schema; using Newtonsoft.Json; namespace Icarus.Models { public class Genre { [JsonProperty("id")] public int GenreId { get; set; } [JsonProperty("genre")] public string GenreName { get; set; } [JsonPropert...
2,552
https://github.com/FRC6854/2021InfiniteRechargeOfficial/blob/master/src/main/java/frc/robot/commands/climber/DriveClimber.java
Github Open Source
Open Source
BSD-3-Clause, MIT
2,021
2021InfiniteRechargeOfficial
FRC6854
Java
Code
129
574
package frc.robot.commands.climber; import edu.wpi.first.wpilibj2.command.CommandBase; import frc.robot.subsystems.Climber; import frc.robot.Robot; import frc.robot.subsystems.LEDController; import frc.robot.subsystems.LEDController.LEDMode; /** * Climber command for endgame */ public class DriveClimber extends Com...
15,342
https://github.com/vivlai/qanta/blob/master/security_groups.py
Github Open Source
Open Source
MIT
null
qanta
vivlai
Python
Code
117
534
#!/usr/bin/env python3 import subprocess import json import os import hcl def api(command, parse=True): response = subprocess.run(command, check=True, stdout=subprocess.PIPE) if parse: return json.loads(response.stdout.decode('utf8')) def get_spot_id(): with open('terraform.tfstate') as f: ...
37,830
https://github.com/collectivesense/logback-logsense/blob/master/src/main/java/com/logsense/opentracing/ITraceExtractor.java
Github Open Source
Open Source
Apache-2.0
null
logback-logsense
collectivesense
Java
Code
33
80
package com.logsense.opentracing; public interface ITraceExtractor { /** * @return current trace-id (if present), null - otherwise */ String extractTraceId(); /** * @return current span-id (if present), null - otherwise */ String extractSpanId(); }
31,813
https://github.com/Mirantis/contrail-web-controller/blob/master/webroot/config/networking/routeaggregate/test/ui/views/routeAggregateGridView.mock.data.js
Github Open Source
Open Source
Apache-2.0
2,018
contrail-web-controller
Mirantis
JavaScript
Code
158
944
/* * Copyright (c) 2016 Juniper Networks, Inc. All rights reserved. */ define(['underscore'], function(_){ this.routeAggregateDomainsData = { "domains": [ { "href": "http://10.204.216.12:9100/domain/efa3feca-769d-4583-b38f-86614cde1810", "fq_name": [ ...
29,355
https://github.com/smallbomb/CheckIO_js/blob/master/Ice Base/house-password.js
Github Open Source
Open Source
MIT
2,020
CheckIO_js
smallbomb
JavaScript
Code
80
375
// https://js.checkio.org/mission/verify-anagrams/ function housePassword(data) { if (data.length >= 10 && data.match(/[a-z]/g) && data.match(/[A-Z]/g) && data.match(/[0-9]/g)) return true; return false; } console.log(housePassword("A1213pokl")); console.log(housePassword("bAse730onE4")); console.log(housePas...
23,012
https://github.com/yiisoft-contrib/yiiframework.com/blob/master/views/user/badge_user.php
Github Open Source
Open Source
BSD-3-Clause
2,023
yiiframework.com
yiisoft-contrib
PHP
Code
13
61
<div class="user"> <span class="date grid_2 alpha"><?= Yii::$app->formatter->asRelativeTime($model->complete_time) ?></span> to <?= $model->user->rankLink ?> </div>
25,324
https://github.com/giladbarnea/autocompletion/blob/master/test.py
Github Open Source
Open Source
MIT
2,020
autocompletion
giladbarnea
Python
Code
5
19
import autocompletion def test_autocompletion(): pass
455
https://github.com/choineete/ZhuJiExamSystem/blob/master/src/main/java/com/tencent/wxcloudrun/service/impl/RecordAndResultImpl.java
Github Open Source
Open Source
MIT
null
ZhuJiExamSystem
choineete
Java
Code
129
820
package com.tencent.wxcloudrun.service.impl; import com.tencent.wxcloudrun.dao.ExamRecordMapper; import com.tencent.wxcloudrun.dao.ExamResultMapper; import com.tencent.wxcloudrun.model.Question; import com.tencent.wxcloudrun.service.QuestionService; import com.tencent.wxcloudrun.service.RecordAndResultService; import ...
48,618
https://github.com/cmihail/WebServer/blob/master/src/server/request/helper/InvalidRequestException.java
Github Open Source
Open Source
MIT, BSD-2-Clause
2,014
WebServer
cmihail
Java
Code
53
123
package server.request.helper; import server.request.InvalidRequest; /** * An exception used for signaling an {@link InvalidRequest}. * * @author cmihail */ public class InvalidRequestException extends Exception { private static final long serialVersionUID = 1L; private final String message; public InvalidRe...
21,026
https://github.com/embl-communications/science-in-school/blob/master/dist/wp-content/plugins/types-access/vendor/toolset/toolset-common/inc/autoloaded/field/renderer/Rest/Date.php
Github Open Source
Open Source
Apache-2.0
null
science-in-school
embl-communications
PHP
Code
148
386
<?php namespace OTGS\Toolset\Common\Field\Renderer\Rest; /** * Renderer for the date field in REST API. * * Besides the timestamp in the raw format, provide also a 'formatted' key, where the date * is formatted according to the site date and time format. * * @since Types 3.3 */ class Date extends Raw { /** ...
1,242
https://github.com/feathericon/feathericon-react/blob/master/src/icons/Camera.js
Github Open Source
Open Source
MIT
null
feathericon-react
feathericon
JavaScript
Code
70
166
import React from 'react'; const Camera = props => ( <svg width={24} height={24} {...props}> <path fillRule="evenodd" d="M5 21a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5zM17 5v2h2V5h-2zm-5 12a5 5 0 1 0 0-10 5 5 0 0 0 0 10zm0-2a3 3 0 1 0 0-6 3 3 0 0 0 0 6z" /> </svg> ); e...
4,235
https://github.com/BackEndTea/yay/blob/master/tests/phpt/macro/macro_deep_ast_access_error.phpt
Github Open Source
Open Source
MIT
2,022
yay
BackEndTea
PHP
Code
68
255
--TEST-- Test macro $(deep[ast][access]) syntax --pretty-print --FILE-- <?php $(macro) { match { $( chain ( token(T_STRING) as leaf_level_a , chain ( token(T_STRING) as leaf_level_b ...
36,197
https://github.com/davidjpowell80/xrm-datamigration/blob/master/tests/Capgemini.DataMigration.Core.Tests.Unit/Exceptions/ConfigurationExceptionTests.cs
Github Open Source
Open Source
MIT
2,021
xrm-datamigration
davidjpowell80
C#
Code
81
318
using System; using System.Diagnostics.CodeAnalysis; using FluentAssertions; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Capgemini.DataMigration.Exceptions.Tests { [ExcludeFromCodeCoverage] [TestClass] public class ConfigurationExceptionTests { private ConfigurationException ...
47,427
https://github.com/JWGmeligMeyling/Java-Gitolite-Manager/blob/master/src/main/java/nl/minicom/gitolite/manager/models/User.java
Github Open Source
Open Source
Apache-2.0
null
Java-Gitolite-Manager
JWGmeligMeyling
Java
Code
455
1,322
package nl.minicom.gitolite.manager.models; import java.util.Comparator; import java.util.Map; import nl.minicom.gitolite.manager.exceptions.ModificationException; import nl.minicom.gitolite.manager.models.Recorder.Modification; import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.b...
40,902
https://github.com/dsp-uga/Sushanth-Kathirvelu-p0/blob/master/p0_sp_c.py
Github Open Source
Open Source
MIT
null
Sushanth-Kathirvelu-p0
dsp-uga
Python
Code
248
961
#!/usr/bin/python from operator import * from pyspark import * from string import punctuation import json import sys conf = (SparkConf().setMaster("local").setAppName("SubProjectB")) sc = SparkContext(conf = conf) def remove_blank(x): """creating a function to remove the empty words""" if(x != ""): return(x) ...
33,864
https://github.com/autoai-org/AIFlow/blob/master/components/library/src/components/Common/Alert.tsx
Github Open Source
Open Source
Apache-2.0
2,021
AIFlow
autoai-org
TypeScript
Code
55
224
import { XCircleIcon } from '@heroicons/react/solid' export default function Alert(props: any) { return ( <div className="rounded-md bg-red-50 p-4" style={{ maxWidth: '80vh', marginLeft: 'auto', marginRight: 'auto', marginBottom:'60px' }}> <div className="flex"> <div className="...
40,739
https://github.com/usccolumbia/deeperGATGNN/blob/master/NewMatPropPred/matdeeplearn/__init__.py
Github Open Source
Open Source
MIT
2,022
deeperGATGNN
usccolumbia
Python
Code
12
19
from .models import * from .training import * from .process import *
28,757
https://github.com/madhurimamandal/codeql/blob/master/java/ql/test/stubs/apache-commons-collections4-4.4/org/apache/commons/collections4/queue/PredicatedQueue.java
Github Open Source
Open Source
MIT
2,022
codeql
madhurimamandal
Java
Code
85
247
// Generated automatically from org.apache.commons.collections4.queue.PredicatedQueue for testing purposes package org.apache.commons.collections4.queue; import java.util.Queue; import org.apache.commons.collections4.Predicate; import org.apache.commons.collections4.collection.PredicatedCollection; public class Pred...
3,181