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/kawsarmobin/student-information/blob/master/app/Http/Controllers/Admin/Student/StudentsController.php
Github Open Source
Open Source
MIT
null
student-information
kawsarmobin
PHP
Code
399
1,511
<?php namespace App\Http\Controllers\Admin\Student; use PDF; use Session; use Illuminate\Http\Request; use App\Models\Admin\Student; use App\Models\Admin\Address; use App\Models\Admin\Guardian; use App\Http\Controllers\Controller; use App\Http\Requests\StudentCreateRequest; use App\Http\Requests\StudentUpdateRequest;...
48,407
https://github.com/exactpro/sailfish-core/blob/master/FrontEnd/SailfishFrontEnd/WebContent/resources/sf/js/query-builder.js
Github Open Source
Open Source
Apache-2.0, LicenseRef-scancode-unknown-license-reference
2,023
sailfish-core
exactpro
JavaScript
Code
7,093
23,352
/*! * jQuery QueryBuilder 1.4.2 * Copyright 2014-2015 Damien "Mistic" Sorel (http://www.strangeplanet.fr) * Licensed under MIT (http://opensource.org/licenses/MIT) */ /** updated by exactpro: **/ /****************************************************************************** * Copyright 2009-2018 Exactpro (Exactp...
37,020
https://github.com/7VILLAIN/OOPS-Lab-RTU-Kota-Anand-ICE-Batch-2019-23/blob/master/PrivateInheritance.cpp
Github Open Source
Open Source
Apache-2.0
2,021
OOPS-Lab-RTU-Kota-Anand-ICE-Batch-2019-23
7VILLAIN
C++
Code
42
126
// Private Inheritance #include<iostream> using namespace std; class Parent { public: void display() { cout<<"Mai Parent Hoon"<<endl; } }; class child:private Parent { public: void show() { display(); cout<<"Mai Bacha Hoon"<<endl...
12,473
https://github.com/dominieq/lego-sets-organizer/blob/master/app/src/main/java/com/example/legoorganizer/options/Options.kt
Github Open Source
Open Source
Apache-2.0
null
lego-sets-organizer
dominieq
Kotlin
Code
27
84
package com.example.legoorganizer.options import java.io.Serializable class Options: Serializable { var urlPrefix : String = "http://fcds.cs.put.poznan.pl/MyWeb/BL/" var urlSuffix : String = ".xml" var showArchived : Boolean = false }
19,376
https://github.com/vinogradsoft/simple-files/blob/master/src/GetExtensionTrait.php
Github Open Source
Open Source
BSD-3-Clause
null
simple-files
vinogradsoft
PHP
Code
36
96
<?php namespace Vinograd\SimpleFiles; trait GetExtensionTrait { /** * @return string */ public function getExtension(): string { $name = $this->pathObject->getName(); $n = strrpos($name, "."); return ($n === false) ? "" : substr($name, $n + 1); } }
3,767
https://github.com/seanpm2001/Asakhnov_Salt-Formula-Monasca/blob/master/monasca/agent.sls
Github Open Source
Open Source
Apache-2.0
2,017
Asakhnov_Salt-Formula-Monasca
seanpm2001
null
Spoken
108
377
{%- from "monasca/map.jinja" import monasca with context %} monasca_agent_package: pkg.installed: - name: {{ monasca.agent.pkg_name }} - refresh: True monasca_agent_config: file.managed: - name: {{ monasca.agent.conf }} - source: salt://monasca/files/{{ monasca.version }}/agent.yaml - user: mon-agen...
43,080
https://github.com/papan01/react-redux-sample/blob/master/src/features/filter/filter.jsx
Github Open Source
Open Source
MIT
null
react-redux-sample
papan01
null
Spoken
107
429
import React from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import doSetFilter from './actionCreators'; const FILTERS_TYPES = { SHOW_ALL: 'SHOW_ALL', SHOW_COMPLETED: 'SHOW_COMPLETED', SHOW_INCOMPLETED: 'SHOW_INCOMPLETED', }; export const VISIBILITY_FILTERS = { [FILTER...
9,529
https://github.com/AmpScm/SharpSvn/blob/master/src/SharpSvn/SvnRepositoryClient.h
Github Open Source
Open Source
Apache-2.0
2,023
SharpSvn
AmpScm
C++
Code
878
2,260
// Copyright 2007-2008 The SharpSvn Project // // 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...
51,562
https://github.com/D0tNet4Fun/NngSharp/blob/master/NngSharp/Native/NativeMethods.Connection.cs
Github Open Source
Open Source
MIT
2,020
NngSharp
D0tNet4Fun
C#
Code
68
237
using System.Runtime.InteropServices; namespace NngSharp.Native { using static Constants; internal static partial class NativeMethods { [DllImport(NngDll, CallingConvention = NngCallingConvention)] public static extern NngErrorCode nng_dial(NngSocket nngSocket, string url, out NngDialer n...
10,089
https://github.com/EasyWelfare/onebip-array/blob/master/spec/Onebip/ArraySomeTest.php
Github Open Source
Open Source
MIT
null
onebip-array
EasyWelfare
PHP
Code
53
150
<?php namespace Onebip; use PHPUnit\Framework\TestCase; class ArraySomeTest extends TestCase { public function testArraySome() { $this->assertTrue( array_some([1, 2, 3], function ($value) { return 0 === $value % 2; }) ); } public function testI...
12,752
https://github.com/RLDbrs/blog/blob/master/database/seeds/CategorySeeder.php
Github Open Source
Open Source
MIT
2,020
blog
RLDbrs
PHP
Code
41
179
<?php use Illuminate\Database\Seeder; use Illuminate\Support\Facades\DB; use Illuminate\Support\Str; class CategorySeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { $categories=['RLD GENEL','Eğlence','bilişim','teknoloji','film','3d'...
16,077
https://github.com/ssjssh/todolist/blob/master/TodoList/AddItemViewController.m
Github Open Source
Open Source
MIT
2,015
todolist
ssjssh
Objective-C
Code
130
455
// // AddItemViewController.m // TodoList // // Created by 沈世军 on 15/3/18. // Copyright (c) 2015 沈世军. All rights reserved. // #import "AddItemViewController.h" #import "ToDoItem.h" @interface AddItemViewController () @property(weak, nonatomic) IBOutlet UITextField *addItemField; @property(weak, nonatomic) IBOutle...
52,305
https://github.com/hossamadelupwork/task-manager-backend/blob/master/src/workflow/workflow.service.ts
Github Open Source
Open Source
MIT
2,020
task-manager-backend
hossamadelupwork
TypeScript
Code
125
421
import { Injectable } from "@nestjs/common"; import { InjectRepository } from "@nestjs/typeorm"; import { WorkflowEntity } from "src/entities/workflow.entity"; import { Repository } from "typeorm"; import { WorkflowData } from "./workflow.interface"; import { StageEntity } from "src/entities/stage.entity"; @Injectab...
9,670
https://github.com/Smiley32/windows-file-clipboard/blob/master/src/clipboard.cc
Github Open Source
Open Source
WTFPL
2,020
windows-file-clipboard
Smiley32
C++
Code
473
1,581
#include <iostream> #include <cstdlib> #include <nan.h> #include <windows.h> #include <shlobj.h> #include <locale> #include <codecvt> #include <string> using namespace v8; /** * Write the given paths in the clipboard (Windows) * * @param sFiles - Array of char containing every paths, separated by '\0' * @param...
41,169
https://github.com/datahop/datahop-d2d-android/blob/master/localfirst/src/main/java/network/datahop/localfirst/data/SaveFile.java
Github Open Source
Open Source
Apache-2.0
2,021
datahop-d2d-android
datahop
Java
Code
230
871
/******************************************************* * Copyright (C) 2020 DataHop Labs Ltd <sergi@datahop.network> * * This file is part of DataHop Network project. * * All rights reserved *******************************************************/ package network.datahop.localfirst.data; import android.conten...
22,074
https://github.com/partysu/musicBox/blob/master/pages/playRecord/playRecord.js
Github Open Source
Open Source
MIT
2,019
musicBox
partysu
JavaScript
Code
157
667
// pages/playRecord/playRecord.js Page({ /** * 页面的初始数据 */ data: { songList:'', }, /** * 生命周期函数--监听页面加载 */ onLoad: function (options) { wx.request({ url: 'http://localhost:3000/user/record/?uid='+ wx.getStorageSync('uid') + '&type=0', success:(res)=>{ res.data.allData....
36,576
https://github.com/tduyduc/atb-strategy-project/blob/master/atbstrategyproject.au3
Github Open Source
Open Source
MIT
2,020
atb-strategy-project
tduyduc
null
Spoken
8,070
30,794
; ATB Strategy Game Project by Tran Duy Duc (チャン・ズイ・ダ) #include <ButtonConstants.au3> #include <EditConstants.au3> #include <GUIConstantsEx.au3> #include <MsgBoxConstants.au3> #include <ProgressConstants.au3> #include <StaticConstants.au3> #include <WindowsConstants.au3> #include <Array.au3> #include <GDIPlus.au3> #in...
12,928
https://github.com/IEvangelist/learning-blazor/blob/master/src/Web.Client/Serialization/BreachHeadersJsonSerializerContext.cs
Github Open Source
Open Source
MIT
2,022
learning-blazor
IEvangelist
C#
Code
38
132
// Copyright (c) 2021 David Pine. All rights reserved. // Licensed under the MIT License. using System.Text.Json.Serialization.Metadata; namespace Learning.Blazor.Serialization { [JsonSerializable(typeof(BreachHeader[]))] internal partial class BreachHeadersJsonSerializerContext : JsonSerializerConte...
35,258
https://github.com/geophile/sql-layer/blob/master/fdb-sql-layer-core/src/main/java/com/foundationdb/server/service/externaldata/JsonRowWriter.java
Github Open Source
Open Source
MIT
null
sql-layer
geophile
Java
Code
614
1,596
/** * The MIT License (MIT) * * Copyright (c) 2009-2015 FoundationDB, LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights...
5,375
https://github.com/oeoes/test-report-online-pertamina/blob/master/app/ReleaseReport.php
Github Open Source
Open Source
MIT
null
test-report-online-pertamina
oeoes
PHP
Code
24
99
<?php namespace App; use Illuminate\Database\Eloquent\Model; class ReleaseReport extends Model { protected $fillable = ['flag', 'jenis', 'type', 'asal', 'no_test', 'tgl_ambil', 'tgl_terima', 'tgl_test', 'tgl_pemeriksaan', 'jenis_pemeriksaan']; }
16,976
https://github.com/angelastephens/Sundae-Best-FrontEnd/blob/master/src/components/SundaeListItem.js
Github Open Source
Open Source
MIT
null
Sundae-Best-FrontEnd
angelastephens
JavaScript
Code
160
647
import React from 'react' import { Link } from 'react-router-dom' import { connect } from "react-redux"; import { addVote, booVote }from "../actions/sundaes"; class SundaeListItem extends React.Component { increment = () => { this.props.dispatchAddVote(this.props.sundae.id); } booCounter = () => { thi...
3,348
https://github.com/Opportunity-Hack-2016-SJC-SVCC/SFDLP_WC-DCrackers/blob/master/hireworkersBackend/mobileapi.php
Github Open Source
Open Source
MIT
null
SFDLP_WC-DCrackers
Opportunity-Hack-2016-SJC-SVCC
PHP
Code
577
2,344
<?php include("db.php"); if(isset($_GET['action']) && $_GET['action'] == "newRequest") { //echo $_FILES["fileUpload"]["tmp_name"]; //print_r($_FILES); //print_r($_POST); $userid = $_POST['userid']; $target_dir = "uploads/"; $target_file = $target_dir . time(). basename($_FILES["fileUpload"]["name"]); ...
9,130
https://github.com/Cangol/Cangol-appUIframe/blob/master/uiframe/src/main/java/mobi/cangol/mobile/base/BaseFragment.java
Github Open Source
Open Source
Apache-2.0
2,021
Cangol-appUIframe
Cangol
Java
Code
2,107
7,100
/* * Copyright (c) 2013 Cangol * <p> * 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 * <p> * http://www.apache.org/licenses/LICENSE-2.0 * <p> * Unless required by applicable law or agre...
30,738
https://github.com/1iyiwei/noise/blob/master/DiffSamp/src/code/Library/ApertureDomain.hpp
Github Open Source
Open Source
MIT
2,022
noise
1iyiwei
C++
Code
87
274
/* ApertureDomain.hpp the base class for apertures Chia-Kai Liang 09/04/2013 */ #ifndef _APERTURE_DOMAIN_HPP #define _APERTURE_DOMAIN_HPP #include "Domain.hpp" // CKL XXX: To match the class Domain, we shift the origin of the aperture from // [0, 0] to [radius, radius] enum ApertureType { Rec...
22,857
https://github.com/pythosoft/sgltk/blob/master/src/texture_2d.cpp
Github Open Source
Open Source
Zlib
2,020
sgltk
pythosoft
C++
Code
194
965
#include "texture.h" using namespace sgltk; Texture_2d::Texture_2d() : Texture() { target = GL_TEXTURE_2D; } Texture_2d::Texture_2d(unsigned int res_x, unsigned int res_y, GLenum internal_format, GLenum type, GLenum format) : Texture() { target = GL_TEXTURE_2D; create_empty(res_x, res_y, internal_format, type, fo...
7,618
https://github.com/LaravelFreelancerNL/laravel-arangodb/blob/master/tests/Setup/Database/Migrations/2021_11_22_145621_create_house_view.php
Github Open Source
Open Source
MIT
2,023
laravel-arangodb
LaravelFreelancerNL
PHP
Code
81
262
<?php use Illuminate\Database\Migrations\Migration; use LaravelFreelancerNL\Aranguent\Facades\Schema; class CreateHouseView extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::dropViewIfExists('house_view'); Schema::createVi...
32,895
https://github.com/Seegnify/Seegnify/blob/master/examples/mnist.cc
Github Open Source
Open Source
Apache-2.0
null
Seegnify
Seegnify
C++
Code
534
1,553
/* * Copyright 2020-2021 Greg Padiasek and Seegnify <http://www.seegnify.org> * * 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 * * Un...
1,831
https://github.com/tech-is/attend_system/blob/master/src/assets/js/attend/accepting.js
Github Open Source
Open Source
MIT
null
attend_system
tech-is
JavaScript
Code
43
123
$(function () { $('#form').on('submit', function (e) { e.preventDefault(); let form = $('#form').serializeArray(); let param = {}; for (let i = 0; i < form.length; i++) { param[form[i]['name']] = form[i]['value']; } let type = 'POST'; let url = 'at...
51,650
https://github.com/tilmans/slippery-slope/blob/master/src/SlippyMap/Geometry/Transformation.elm
Github Open Source
Open Source
BSD-3-Clause
2,021
slippery-slope
tilmans
null
Spoken
117
214
module SlippyMap.Geometry.Transformation exposing (Transformation, transform, untransform) {-| Affine transformations. @docs Transformation, transform, untransform -} import SlippyMap.Geo.Point exposing (Point) {-| -} type alias Transformation = { a : Float , b : Float , c : Float , d : Float ...
30,423
https://github.com/withfig/config/blob/master/tools/cli/team-upload.sh
Github Open Source
Open Source
MIT
2,022
config
withfig
Shell
Code
411
1,198
#!/usr/bin/env bash # This script lets users upload a specific cli spec to fig's cloud MAGENTA=$(tput setaf 5) RED=$(tput setaf 1) BOLD=$(tput bold) NORMAL=$(tput sgr0) HIGHLIGHT=$(tput smso) HIGHLIGHT_END=$(tput rmso) TAB=' ' print_special() { echo "${TAB}$@${NORMAL}"$'\n' } ################################...
54,474
https://github.com/ujwal-kumar/YouthInc/blob/master/common/models/GridAnswerQuery.php
Github Open Source
Open Source
BSD-3-Clause
null
YouthInc
ujwal-kumar
PHP
Code
62
182
<?php namespace common\models; /** * This is the ActiveQuery class for [[GridAnswer]]. * * @see GridAnswer */ class GridAnswerQuery extends \yii\db\ActiveQuery { /*public function active() { return $this->andWhere('[[status]]=1'); }*/ /** * @inheritdoc * @return GridAnswer[]|arr...
23,938
https://github.com/zepheira/amara/blob/master/lib/src/domlette/attr.h
Github Open Source
Open Source
Apache-2.0
2,022
amara
zepheira
C
Code
118
541
#ifndef DOMLETTE_ATTR_H #define DOMLETTE_ATTR_H #ifdef __cplusplus extern "C" { #endif #include "Python.h" #include "node.h" #include "../expat/validation.h" typedef struct { Node_HEAD Py_ssize_t hash; PyObject *namespaceURI; PyObject *localName; PyObject *qname; PyObject *value; Attrib...
2,738
https://github.com/fleskesvor/melosys-kodeverk/blob/master/src/lovvalgsbestemmelser/index.js
Github Open Source
Open Source
MIT
2,020
melosys-kodeverk
fleskesvor
JavaScript
Code
36
193
const { lovvalgbestemmelser_883_2004 } = require('./lovvalgbestemmelser_883_2004'); const { lovvalgbestemmelser_987_2009 } = require('./lovvalgbestemmelser_987_2009'); const { tilleggsbestemmelser_883_2004 } = require('./tilleggsbestemmelser_883_2004'); const { overgangsregelbestemmelser } = require('./overgangsregelbe...
5,164
https://github.com/siemprecollective/siempre-video-streamlib-public-release/blob/master/StreamManager.js
Github Open Source
Open Source
Unlicense
null
siempre-video-streamlib-public-release
siemprecollective
JavaScript
Code
1,008
3,710
import {SignallingServerConnection} from './Signalling.js'; import EventProvider from './EventProvider.js'; import Peer from 'simple-peer'; const StreamState = { kNotTracking: 'not tracking', kResetting: 'resetting', kInitializing: 'initializing', kStreaming: 'streaming', kBroken: 'broken', }; // emits a ...
32,505
https://github.com/triedapps/note-web-app/blob/master/note/static/note/scripts/noteutils.js
Github Open Source
Open Source
MIT
2,022
note-web-app
triedapps
JavaScript
Code
131
285
export const colors = { white: "#ffffff", red: "#f28b82", green: "#ccff90", blue: "#aecbfa", purple: "#d7aefb", }; export function changeNoteColor(event, id) { const note = document.querySelector(id); note.style.backgroundColor = colors[event.target.value.toLowerCase()]; } export function ...
42,682
https://github.com/sonam-packt/Tkinter-GUI-Application-Development-Blueprints-Second-Edition/blob/master/Chapter 01/1.10.py
Github Open Source
Open Source
MIT
2,021
Tkinter-GUI-Application-Development-Blueprints-Second-Edition
sonam-packt
Python
Code
216
805
""" Code illustration: 1.10 A demonstration of events and the information available in it. @Tkinter GUI Application Development Blueprints """ import tkinter as tk def show_event_details(event): print('='*50) print("EventKeySymbol=" + str(event.keysym)) print("EventType=" + str(event.type)) print("EventWidget...
45,955
https://github.com/raphw/skatteprosessen-structural-type/blob/master/structural-type-generator/src/test/java/no/skatteetaten/fastsetting/formueinntekt/felles/structuraltype/generator/sample/SampleBranchFoo.java
Github Open Source
Open Source
Apache-2.0
2,022
skatteprosessen-structural-type
raphw
Java
Code
26
105
package no.skatteetaten.fastsetting.formueinntekt.felles.structuraltype.generator.sample; public class SampleBranchFoo { private SampleTypedLeafFoo foo; public SampleTypedLeafFoo getFoo() { return foo; } public void setFoo(SampleTypedLeafFoo foo) { this.foo = foo; } }
21,032
https://github.com/xMontag/fe-advance-hw/blob/master/module-12/src/js/task.js
Github Open Source
Open Source
MIT
null
fe-advance-hw
xMontag
JavaScript
Code
537
1,783
'use strict' const apiURL = "https://test-users-api.herokuapp.com/users/"; const result = document.querySelector(".result"); const btnShowAll = document.querySelector(".form__btn_show-all"); const btnGetUser = document.querySelector(".form__btn_get-user"); const btnAddUser = document.querySelector(".form__btn_add-user"...
6,308
https://github.com/ts-igor/donut-shop/blob/master/move-styles.sh
Github Open Source
Open Source
MIT
null
donut-shop
ts-igor
Shell
Code
8
80
#!/bin/bash fileName='style.css' cssDir="`pwd`/src/main/webapp/static/css" layoutProjectDir="/home/igor/Desktop/donut-shop-layout/dist/css" cp -f "$layoutProjectDir/$fileName" "$cssDir/$fileName"
16,690
https://github.com/Orasund/elm-generative-art/blob/master/src/Internal/Shape.elm
Github Open Source
Open Source
BSD-3-Clause
2,022
elm-generative-art
Orasund
null
Spoken
774
1,696
module Internal.Shape exposing (Form(..), Shape, lineRec, new, withColor) import Color exposing (Color) import Data.Point as Point import Data.Vector as Vector import Math.Vector2 exposing (Vec2) import Math.Vector4 as Vec4 exposing (Vec4) import WebGL exposing (Shader) type alias Vertex = { position : Vec2 ...
52,415
https://github.com/vipzim12/Angular/blob/master/src/app/pages/service/order/order.service.ts
Github Open Source
Open Source
MIT
null
Angular
vipzim12
TypeScript
Code
102
336
import { Injectable } from '@angular/core'; import { HttpClient } from '@angular/common/http'; import { Order } from '../../admin/orders/Order'; import { map } from 'rxjs/internal/operators/map'; @Injectable({ providedIn: 'root' }) export class OrderService { private baseUrl: string = 'http://localhost:8080/...
52,015
https://github.com/rhayes777/PyAutoConf/blob/master/test_autoconf/json_prior/source_code/module.py
Github Open Source
Open Source
MIT
2,023
PyAutoConf
rhayes777
Python
Code
14
45
class MyClass: def __init__(self, simple: float, tup=(1.0, 1.0)): self.simple = simple self.tup = tup
14,302
https://github.com/tomkyle/middlewares-cache/blob/master/tests/CacheTest.php
Github Open Source
Open Source
MIT, LicenseRef-scancode-unknown-license-reference
2,021
middlewares-cache
tomkyle
PHP
Code
170
656
<?php declare(strict_types = 1); namespace Middlewares\Tests; use MatthiasMullie\Scrapbook\Adapters\MemoryStore; use MatthiasMullie\Scrapbook\Psr6\Pool; use Middlewares\Cache; use Middlewares\Utils\Dispatcher; use Middlewares\Utils\Factory; use PHPUnit\Framework\TestCase; class CacheTest extends TestCase { publi...
15,857
https://github.com/rmp/libbio-das-lite-perl/blob/master/t/50-entry_points.t
Github Open Source
Open Source
Artistic-1.0-Perl
2,011
libbio-das-lite-perl
rmp
Perl
Code
79
266
######### # Author: rmp # Last Modified: $Date$ $Author$ # Id: $Id$ # Source: $Source: /var/lib/cvsd/cvsroot/Bio-DasLite/Bio-DasLite/t/50-entry_points.t,v $ # $HeadURL$ # package entry_points; use strict; use warnings; use Test::More tests => 1; use t::FileStub; our $VERSION = do { my @r = (q$...
38,785
https://github.com/cdli-gh/mtaac_cdli_ur3_corpus/blob/master/ur3_corpus_data/annotated/morph/P138/P138221.conll
Github Open Source
Open Source
CC0-1.0, LicenseRef-scancode-public-domain
2,022
mtaac_cdli_ur3_corpus
cdli-gh
null
Spoken
364
1,073
#new_text=P138221 FORM SEGM XPOSTAG XPOSTAG POS ... _[_] PN N D ... _[_] PN N D ra _ V V POS ... _[_] PN N D ... _[_] PN N D AN _[_] PN PN.DAT-H Iabcdefgh x _[_] N N D x _[_] N N D ... _[_] PN N D ... _[_] PN N D u4 ud[day] N N D x _[_] N N D ... _[_] PN N D ... _[_] PN N D u4 ud[day] N N D 1(gesz2) 1(gesz)[sixty] NU N...
30,046
https://github.com/stbrody/mongo/blob/master/src/mongo/db/exec/geo_near.cpp
Github Open Source
Open Source
Apache-2.0
null
mongo
stbrody
C++
Code
3,985
11,120
/** * Copyright (C) 2014 10gen Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License, version 3, * as published by the Free Software Foundation. * * This program is distributed in the hope that it will be usefu...
28,912
https://github.com/exlame/viser/blob/master/packages/viser/src/utils/CustomizeUtils.ts
Github Open Source
Open Source
MIT
2,022
viser
exlame
TypeScript
Code
42
133
declare const require: any; // tslint:disable-next-line:no-var-requires const G2 = require('@antv/g2'); export const registerShape = (geoName: string, shapeName: string, shapeFun: any) => { G2.Shape.registerShape(geoName, shapeName, shapeFun); }; export const registerAnimation = (animationType: string, animationNam...
10,992
https://github.com/JoshuaTrujillo15/Handler-Exchange/blob/master/client/contracts/HandlerExchange.sol
Github Open Source
Open Source
MIT
null
Handler-Exchange
JoshuaTrujillo15
Solidity
Code
801
2,945
//SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import "./interfaces/IHandlerExchange.sol"; import "./HandlerXToken.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; contract HandlerExchange is IHandlerExchange { IERC20 private _token; GigStruct[] gigDatabase; OfferStruct[] offerData...
41,021
https://github.com/mrayva/Bigdatalog/blob/master/datalog/src/test/scala/edu/ucla/cs/wis/bigdatalog/spark/QuerySuite.scala
Github Open Source
Open Source
BSD-3-Clause-Open-MPI, PSF-2.0, Apache-2.0, BSD-2-Clause, MIT, MIT-0, BSD-3-Clause-No-Nuclear-License-2014, BSD-3-Clause-Clear, BSD-3-Clause
null
Bigdatalog
mrayva
Scala
Code
439
1,189
/* * 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 ...
15,002
https://github.com/AnkitApurv/BCA/blob/master/SEM-II-CPP/Sem II CPP.sln
Github Open Source
Open Source
MIT
2,020
BCA
AnkitApurv
null
Spoken
183
1,813
 Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio 14 VisualStudioVersion = 14.0.23107.0 MinimumVisualStudioVersion = 10.0.40219.1 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Circle Area Circum", "Circle Area Circum\Circle Area Circum.vcxproj", "{406734A2-4A38-4473-A26F-20DE6385210F}...
46,450
https://github.com/leoleelwl/Dice/blob/master/dice-server/framework/src/main/java/com/bihell/dice/framework/shiro/vo/JwtTokenRedisVo.java
Github Open Source
Open Source
MIT
2,021
Dice
leoleelwl
Java
Code
82
278
package com.bihell.dice.framework.shiro.vo; import lombok.Data; import lombok.experimental.Accessors; import java.io.Serializable; import java.util.Date; /** * JwtToken Redis缓存对象 **/ @Data @Accessors(chain = true) public class JwtTokenRedisVo implements Serializable { private static final long serialVersionUID...
11,585
https://github.com/kalpeshsatasiya/CoreCRM/blob/master/CoreCRM/IHelpers.cs
Github Open Source
Open Source
Apache-2.0
2,017
CoreCRM
kalpeshsatasiya
C#
Code
16
49
using Microsoft.AspNetCore.Http; namespace CoreCRM { public interface IHelpers { string GetReferer(HttpContext httpContext, string defaultValue); } }
49,147
https://github.com/abhishekkhetani/TrainingWork/blob/master/DemoProject/obj/CodeGen/MVC/Views/Categories/Default.cshtml.cs
Github Open Source
Open Source
MIT
2,017
TrainingWork
abhishekkhetani
C#
Code
368
1,783
#pragma warning disable 1591 //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.36366 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerate...
34,067
https://github.com/gaojunhello/report-designer/blob/master/desktop/src/renderer/components/relationship/TableNode.vue
Github Open Source
Open Source
Apache-2.0
2,021
report-designer
gaojunhello
Vue
Code
651
2,597
<template> <DragResize class="c-table-node" unit="px" :w="node.table.position.width" :h="node.table.position.height" :x="node.table.position.left" :y="node.table.position.top" :z="100" :enable-native-drag="true" :parent="true" :isConflictCheck="false" :drag-cancel="'.drag-c...
8,290
https://github.com/Nurzamal/rest_api_docker/blob/master/vbox/src/VBox/Runtime/include/internal/dvm.h
Github Open Source
Open Source
MIT
null
rest_api_docker
Nurzamal
C
Code
1,456
3,618
/* $Id: dvm.h 69616 2017-11-08 13:58:58Z vboxsync $ */ /** @file * IPRT - Disk Volume Management Internals. */ /* * Copyright (C) 2006-2017 Oracle Corporation * * This file is part of VirtualBox Open Source Edition (OSE), as * available from http://www.virtualbox.org. This file is free software; * you can redis...
52,792
https://github.com/tonsky/membrane/blob/master/csource/text.cpp
Github Open Source
Open Source
Apache-2.0
null
membrane
tonsky
C++
Code
1,501
4,891
#include "text.h" struct point { GLfloat x; GLfloat y; GLfloat s; GLfloat t; }; typedef struct { float x, y, z; // position float s, t; // texture float r, g, b, a; // color } vertex_t; FT_Library ft; ftgl::vertex_buffer_t * buffer; GLuint shader; GLuint selection_shader; ftgl::mat4 mode...
21,113
https://github.com/schassande/chassetresor/blob/master/mobile/src/app/service/UserService.ts
Github Open Source
Open Source
Apache-2.0
2,019
chassetresor
schassande
TypeScript
Code
1,300
3,965
import { AngularFireFunctions } from '@angular/fire/functions'; import { LocalAppSettings } from './../model/settings'; import { AppSettingsService } from './AppSettingsService'; import { AlertController, ToastController, LoadingController } from '@ionic/angular'; import { AngularFirestore } from 'angularfire2/firestor...
4,275
https://github.com/LoesterFranco/scala-x86-inst/blob/master/src/main/scala/com/scalaAsm/x86/Instructions/General/BSR.scala
Github Open Source
Open Source
Apache-2.0
2,015
scala-x86-inst
LoesterFranco
Scala
Code
98
256
package com.scalaAsm.x86 package Instructions package General // Description: Bit Scan Reverse // Category: general/bit trait BSR extends InstructionDefinition { val mnemonic = "BSR" } object BSR extends TwoOperands[BSR] with BSRImpl trait BSRImpl extends BSR { implicit object _0 extends TwoOp[r16, rm16] { ...
20,146
https://github.com/lgarrison/kvsstcp/blob/master/hs/Network/KVS/Server.hs
Github Open Source
Open Source
Apache-2.0
2,021
kvsstcp
lgarrison
Haskell
Code
1,096
2,476
{-# LANGUAGE CPP #-} {-# LANGUAGE ConstraintKinds #-} {-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE TupleSections #-} {-# LANGUAGE ViewPatterns #-} module Network.KVS.Server ( serve ) where import Control.Arrow (first) import Control.Concurrent (ThreadId, myThreadId, forkIOWithUnmask, throwT...
2,991
https://github.com/moyu567/django-guacamole/blob/master/guacamole-bak/websocket/GuacamoleWebsocketRelay.py
Github Open Source
Open Source
Apache-2.0
2,018
django-guacamole
moyu567
Python
Code
240
1,116
from gevent import monkey monkey.patch_all() import threading from geventwebsocket import WebSocketApplication from geventwebsocket.protocols.base import BaseProtocol import logging from guacamole.net.SimpleGuacamoleTunnel import SimpleGuacamoleTunnel from guacamole.net.InetGuacamoleSocket import InetGuacamoleSocket f...
16,958
https://github.com/pear/pearweb/blob/master/public_html/account-info.php
Github Open Source
Open Source
LicenseRef-scancode-php-2.0.2, PHP-3.0
2,022
pearweb
pear
PHP
Code
1,073
3,531
<?php /* +----------------------------------------------------------------------+ | PEAR Web site version 1.0 | +----------------------------------------------------------------------+ | Copyright (c) 2001-2005 The PHP Group | +---...
7,609
https://github.com/gcorreageek/dhl/blob/master/backend/ProyService1/src/main/webapp/bower_components/angular-i18n/az-cyrl.js
Github Open Source
Open Source
Apache-2.0
2,017
dhl
gcorreageek
JavaScript
Code
4
23
require('./angular-locale_az-cyrl'); module.exports = 'ngLocale';
31,261
https://github.com/zCubed3/Aurora/blob/master/projects/engine/src/actors/engine/skybox.hpp
Github Open Source
Open Source
MIT
null
Aurora
zCubed3
C++
Code
46
152
#ifndef MANTA_SKYBOX_HPP #define MANTA_SKYBOX_HPP #include <actors/actor.hpp> class ACamera; // Skyboxes need a camera to work class Cubemap; class ASkybox : public AActor { public: ACamera *pCamera = nullptr; Cubemap *pCubemap = nullptr; void Start(MEngine *engine) override; void Update(MEngine ...
30,539
https://github.com/backpaper0/nablarch-fw-scoped-dicontainer/blob/master/src/main/java/nablarch/fw/dicontainer/component/impl/DefaultInitMethod.java
Github Open Source
Open Source
Apache-2.0
null
nablarch-fw-scoped-dicontainer
backpaper0
Java
Code
110
406
package nablarch.fw.dicontainer.component.impl; import java.lang.reflect.Method; import nablarch.fw.dicontainer.component.ComponentDefinition; import nablarch.fw.dicontainer.component.InitMethod; import nablarch.fw.dicontainer.component.impl.reflect.MethodWrapper; import nablarch.fw.dicontainer.container.ContainerBui...
6,092
https://github.com/NathanFreeman/php-src/blob/master/ext/posix/tests/posix_ttyname_variation5.phpt
Github Open Source
Open Source
PHP-3.01
2,022
php-src
NathanFreeman
PHP
Code
75
208
--TEST-- Test function posix_ttyname() by substituting argument 1 with int values. --CREDITS-- Marco Fabbri mrfabbri@gmail.com Francesco Fullone ff@ideato.it #PHPTestFest Cesena Italia on 2009-06-20 --EXTENSIONS-- posix --FILE-- <?php echo "*** Test substituting argument 1 with int values ***\n"; $variation_array ...
332
https://github.com/Likenttt/alipay-sdk-java-all/blob/master/src/main/java/com/alipay/api/response/AlipayOpenSearchServiceinbrandBatchqueryResponse.java
Github Open Source
Open Source
Apache-2.0
null
alipay-sdk-java-all
Likenttt
Java
Code
69
327
package com.alipay.api.response; import java.util.List; import com.alipay.api.internal.mapping.ApiField; import com.alipay.api.internal.mapping.ApiListField; import com.alipay.api.domain.BoxExclusiveServiceOpenApiInfos; import com.alipay.api.AlipayResponse; /** * ALIPAY API: alipay.open.search.serviceinbrand.batchq...
38,134
https://github.com/Vivekx7/Codetantra-Programming-In-Java-Solution/blob/master/Lecture 55/Question3.java
Github Open Source
Open Source
MIT
2,022
Codetantra-Programming-In-Java-Solution
Vivekx7
Java
Code
239
308
After java SE 8 release, annotations can also be applied to any type use. This means that annotations can be used anywhere you use a type. A few examples of where types are used are class instance creation expressions (new), casts, implements clauses, and throws clauses. This form of annotation is called a type annotat...
18,691
https://github.com/MagicalWater/MGUtilsKt/blob/master/MGUtilsKtDemo/app/src/main/java/org/magicalwater/mgkotlin/mgutilsktdemo/MainActivity.kt
Github Open Source
Open Source
MIT
2,018
MGUtilsKt
MagicalWater
Kotlin
Code
51
428
package org.magicalwater.mgkotlin.mgutilsktdemo import android.support.v7.app.AppCompatActivity import android.os.Bundle import kotlinx.android.synthetic.main.activity_main.* import org.magicalwater.mgkotlin.mgutilskt.util.MGImgLoadUtils import org.magicalwater.mgkotlin.mgutilskt.util.MGRichTextUtils import org.magica...
26,810
https://github.com/TheDemonCat/Oget/blob/master/cmd/commands.go
Github Open Source
Open Source
RSA-MD
2,022
Oget
TheDemonCat
Go
Code
20
67
package cmd import ( "github.com/urfave/cli/v2" ) var Commands = []Command{ &getCmd{}, //&listCmd{}, } type Command interface { Cmd() *cli.Command }
13,216
https://github.com/ptracton/scikit-learn-tutorial/blob/master/Makefile
Github Open Source
Open Source
CC0-1.0
2,020
scikit-learn-tutorial
ptracton
Makefile
Code
97
753
PYTHON_SCRIPTS_DIR = python_scripts NOTEBOOKS_DIR = notebooks RENDERED_NOTEBOOKS_DIR = rendered_notebooks JUPYTER_KERNEL := python3 MINIMAL_NOTEBOOK_FILES = $(shell ls $(PYTHON_SCRIPTS_DIR)/*.py | perl -pe "s@$(PYTHON_SCRIPTS_DIR)@$(NOTEBOOKS_DIR)@" | perl -pe "s@\.py@.ipynb@") MINIMAL_RENDERED_NOTEBOOK_FILES = $(shell...
16,697
https://github.com/hanhyu/wlsh-framework/blob/master/vendor/chdemko/sorted-collections/src/SortedCollection/Iterator.php
Github Open Source
Open Source
BSD-3-Clause
2,023
wlsh-framework
hanhyu
PHP
Code
488
1,357
<?php /** * chdemko\SortedCollection\Iterator class * * @author Christophe Demko <chdemko@gmail.com> * @copyright Copyright (C) 2012-2018 Christophe Demko. All rights reserved. * * @license BSD 3-Clause License * * This file is part of the php-sorted-collections package https://github.com/chdemko/php-s...
56,688
https://github.com/snozhati/opensha-dev/blob/master/src/scratch/aftershockStatistics/HardCodedExample.java
Github Open Source
Open Source
Apache-2.0
2,018
opensha-dev
snozhati
Java
Code
400
1,407
package scratch.aftershockStatistics; import org.opensha.commons.calc.magScalingRelations.magScalingRelImpl.WC1994_MagLengthRelationship; import org.opensha.commons.data.function.EvenlyDiscretizedFunc; import scratch.aftershockStatistics.OAFTectonicRegime; import org.opensha.commons.geo.Location; import org.opensha.co...
29,339
https://github.com/GromNaN/pagekit/blob/master/extensions/system/assets/js/settings/marketplace.js
Github Open Source
Open Source
MIT
2,017
pagekit
GromNaN
JavaScript
Code
246
937
define('marketplace', ['jquery', 'system', 'tmpl!marketplace.table,marketplace.details', 'uikit'], function($, system, tmpl, uikit) { var updates = {}, packages = {}, element, form, details, modal, params; // details modal function detailsModal(e) { e.preventDefault(); var name = $(this)....
22,064
https://github.com/geomstats/challenge-iclr-2022/blob/master/xiongjeffrey__Neural-Embedding-in-Hyperbolic-Space/neuroSEED.py
Github Open Source
Open Source
MIT
2,022
challenge-iclr-2022
geomstats
Python
Code
1,602
5,963
import torch import os import torch.nn as nn import torch.nn.functional as F import torch.optim as optim import time import sys import pandas as pd import numpy as np import keras from sklearn.preprocessing import LabelEncoder from sklearn.preprocessing import OneHotEncoder from Levenshtein import distance as levensh...
37,021
https://github.com/ajaswal/poly-geohash/blob/master/node_modules/geohash-poly/node_modules/turf/lib/buffer.js
Github Open Source
Open Source
MIT
2,015
poly-geohash
ajaswal
JavaScript
Code
129
480
//http://stackoverflow.com/questions/839899/how-do-i-calculate-a-point-on-a-circles-circumference //radians = degrees * (pi/180) // https://github.com/bjornharrtell/jsts/blob/master/examples/buffer.html var _ = require('lodash'), jsts = require('jsts') var t = {} t.featurecollection = require('./featurecollection...
45,411
https://github.com/bishoyromany/laravel_with_users_dashboard/blob/master/app/Http/Controllers/PreviewsController.php
Github Open Source
Open Source
MIT
2,020
laravel_with_users_dashboard
bishoyromany
PHP
Code
650
2,554
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use GuzzleHttp\Client; use App\Previews; // subscribes controller use App\Http\Controllers\SubscribersController; use Illuminate\Support\Facades\Validator; use Illuminate\Support\Facades\Mail; use App\Mail\GiftEmail; use App\Trees; class PreviewsCont...
31,950
https://github.com/mimocha/mimocha.github.io/blob/master/src/components/layout.js
Github Open Source
Open Source
MIT
null
mimocha.github.io
mimocha
JavaScript
Code
41
111
// React import React from "react" // HTML / CSS import Header from "../components/header" import Footer from "../components/footer" import "../styles/layout.scss" const Layout = (props) => ( <main> <Header brand={props.brand} /> <div className="content"> {props.children} </div> <Footer /> </main> ) export def...
37,232
https://github.com/MelnykTaras/drift-sdk-ios/blob/master/Drift/Helpers/TextHelper.swift
Github Open Source
Open Source
MIT
2,019
drift-sdk-ios
MelnykTaras
Swift
Code
410
1,221
// // TextHelper.swift // Drift-SDK // // Created by Eoin O'Connell on 01/02/2018. // Copyright © 2018 Drift. All rights reserved. // import UIKit open class TextHelper { open class func cleanString(body: String) -> String { var output = body output = output.trimmingChar...
30,977
https://github.com/francisivan1/AllOfModern/blob/master/home/evaluador-jefe/inscripcion/evaluador-jefe/administrador/menu.php
Github Open Source
Open Source
MIT
2,018
AllOfModern
francisivan1
PHP
Code
86
458
<?php error_reporting(0); $inden=$_GET['iden']; if($inden==""){ header("Location: index.php"); } ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="tex...
40,825
https://github.com/dotnet/performance/blob/master/src/scenarios/weblarge3.0/src/ClassLib075/Class080.cs
Github Open Source
Open Source
MIT
2,023
performance
dotnet
C#
Code
15
34
namespace ClassLib075 { public class Class080 { public static string Property => "ClassLib075"; } }
12,829
https://github.com/springrain/readygo/blob/master/api/system.go
Github Open Source
Open Source
Apache-2.0
2,023
readygo
springrain
Go
Code
114
403
/* * @Author: your name * @Date: 2021-03-10 17:02:24 * @LastEditTime: 2021-03-10 17:45:17 * @LastEditors: Please set LastEditors * @Description: 系统接口 * @FilePath: \readygo\api\system.go */ package api import ( "context" "readygo/apistruct" "readygo/permission/permutil" _ "readygo/docs" // swagger使用 "gi...
2,414
https://github.com/PrincessMadMath/plant-in-a-box/blob/master/backend/PIB.Infrastructure/Mongo/MongoUtils.cs
Github Open Source
Open Source
MIT
2,023
plant-in-a-box
PrincessMadMath
C#
Code
45
142
using Microsoft.VisualBasic; namespace PIB.Infrastructure.Mongo; public static class MongoUtils { public static string GetCollectionName<T>() where T : MongoDocument { System.Attribute[] attrs = System.Attribute.GetCustomAttributes(typeof(T)); foreach (System.Attribute attr in attrs) ...
55,422
https://github.com/neevaco/FasterTransformer/blob/master/src/fastertransformer/tensorrt_plugin/swin/swinTransformerPlugin.cpp
Github Open Source
Open Source
Apache-2.0
2,023
FasterTransformer
neevaco
C++
Code
2,498
11,662
/* * Copyright (c) 2021-2023, NVIDIA CORPORATION. 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 r...
6,553
https://github.com/charles-oder/Project-Euler-Java/blob/master/src/test/java/us/oder/euler/PalindromeTest.java
Github Open Source
Open Source
Apache-2.0
null
Project-Euler-Java
charles-oder
Java
Code
116
405
package us.oder.euler; import org.junit.Test; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import static org.junit.Assert.*; public class PalindromeTest { @Test public void getDigitList(){ int testValue = 123456789; List<Integer> expectedList = new ArrayList<...
10,681
https://github.com/hal/console/blob/master/ballroom/src/main/java/org/jboss/hal/ballroom/dialog/DialogFactory.java
Github Open Source
Open Source
Apache-2.0
2,023
console
hal
Java
Code
460
1,140
/* * Copyright 2022 Red Hat * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
36,850
https://github.com/collinprice/CPHelper/blob/master/CPHelper/NSDictionary+Helper.h
Github Open Source
Open Source
MIT
2,013
CPHelper
collinprice
Objective-C
Code
32
125
// // NSDictionary+Helper.h // CPHelper // // Created by Collin Price on 9/15/2013. // Copyright (c) 2013 Collin Price. All rights reserved. // #import <Foundation/Foundation.h> @interface NSDictionary (Helper) -(NSString*)stringFromKey:(NSString*)key; -(NSNumber*)intFromKey:(NSString*)key; -(NSNumber*)doubleFro...
25,530
https://github.com/dww-circle/sw-d8/blob/master/web/2001/375/375_04_OtherLetters.php
Github Open Source
Open Source
MIT
null
sw-d8
dww-circle
PHP
Code
1,012
2,258
<html> <head> <title> Letters to the editor </title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <?php include "../../legacy-includes/Script.htmlf" ?> </head> <body bgcolor="#FFFFCC" text="000000" link="990000" vlink="660000" alink="003366" leftmargin="0" topmargin="0"> <table width="744...
23,251
https://github.com/IbHansen/modelflow2/blob/master/modelflow/test1.py
Github Open Source
Open Source
X11
2,020
modelflow2
IbHansen
Python
Code
26
102
from slos import los import pandas as pd #df = pd.DataFrame([[0.0,0.0,0.0,0.0,0.0,0.0,0.0] for i in range(12)]).T assert 1==1 #aa = los(df.values,1) xx = df.values.flatten() bb = los(xx)
48,203
https://github.com/cwilkc/q3serverquery/blob/master/samples/poll_master_server.py
Github Open Source
Open Source
MIT
null
q3serverquery
cwilkc
Python
Code
40
166
from q3serverquery.masterserver import Quake3MasterServer from pprint import pprint import re import time start = time.perf_counter() master = Quake3MasterServer('master.ioquake3.org', 27950, 68) master.get_servers() master.poll_now() servers = master.search_servers('q3dm17') for server in servers: pprint(serv...
28,467
https://github.com/leon-andria/fuse-box-typechecker-1/blob/master/src/index.ts
Github Open Source
Open Source
MIT
2,017
fuse-box-typechecker-1
leon-andria
TypeScript
Code
553
1,803
// mostly a little from compiler API, gulp-typescript, tslint and a lot of failing :-) import * as child from 'child_process'; import * as path from 'path'; import { LintOptions, TypeCheckerOptions } from './interfaces'; import { Checker } from './checker'; import * as watch from 'watch'; import * as ts from 'typescri...
3,232
https://github.com/zmactep/auth/blob/master/src/Data/Bson/Serialization.hs
Github Open Source
Open Source
BSD-3-Clause
null
auth
zmactep
Haskell
Code
303
641
{-# LANGUAGE TemplateHaskell #-} module Data.Bson.Serialization ( Bsonable (..) , mkBsonable, mkBsonables ) where import Data.Bson (Document, Field, Label, Val, Value, at, look, lookup, (=:), label) import Data.Maybe (isJust) imp...
41,276
https://github.com/TobiasFox/SpriteSwappingTool/blob/master/SpriteSwappingPlugin/Assets/SpriteSwappingPlugin/Editor/UI/AutoSortingHowToDescription.cs
Github Open Source
Open Source
Apache-2.0
null
SpriteSwappingTool
TobiasFox
C#
Code
447
1,377
using SpriteSwappingPlugin.UI; using UnityEditor; using UnityEngine; namespace SpriteSwappingPlugin.UI { public class AutoSortingHowToDescription { private bool isFoldable; private bool isExpanded; private bool isCameraInformationExpanded; private bool isOutlinePrecisionInforma...
36,201
https://github.com/DJA89/Target/blob/master/src/app/hello.js
Github Open Source
Open Source
LicenseRef-scancode-public-domain
2,016
Target
DJA89
JavaScript
Code
21
64
class HelloController { constructor(Example) { this.message = 'hello world'; this.Example = Example; } clickme(){ alert(this.Example.all()); } } export { HelloController }
22,834
https://github.com/tomryus/music_player/blob/master/resources/views/components/upload-song-modal.blade.php
Github Open Source
Open Source
MIT
null
music_player
tomryus
PHP
Code
60
273
<div class="modal fade upload-song-modal" id="upload-song-modal" tabindex="-1" role="dialog"> <div class="modal-dialog" role="document"> <div class="modal-content"> <div class="modal-body"> <p class="modal-title">Upload Music</p> <form action="{{ route('upload')...
11,119
https://github.com/welshie1/pyfair/blob/master/pyfair/report/violin.py
Github Open Source
Open Source
MIT
2,019
pyfair
welshie1
Python
Code
100
393
import matplotlib import matplotlib.pyplot as plt from matplotlib.ticker import StrMethodFormatter from ..utility.fair_exception import FairException from .base_curve import FairBaseCurve class FairViolinPlot(FairBaseCurve): '''Area plot of metamodels''' def __init__(self, metamodel): # If it's...
50,913
https://github.com/kimozex/Cocona/blob/master/src/Cocona.Core/Command/CommandDescriptor.cs
Github Open Source
Open Source
MIT
2,022
Cocona
kimozex
C#
Code
226
670
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Reflection; using System.Text; namespace Cocona.Command { [DebuggerDisplay("Command: {Name,nq}; CommandType={CommandType.FullName,nq}; Options={Options.Count,nq}; Arguments={Arguments.Count,nq}; Flags={Flags,n...
30,310
https://github.com/containers/buildah/blob/master/tests/bud/env/Dockerfile.special-chars
Github Open Source
Open Source
Apache-2.0
2,023
buildah
containers
Dockerfile
Code
4
20
FROM docker.io/ubuntu ENV LIB="$(PREFIX)/lib"
12,707
https://github.com/wmoss/garmin-surf-tracker/blob/master/source/GPSPointArray.mc
Github Open Source
Open Source
MIT
2,021
garmin-surf-tracker
wmoss
null
Spoken
201
468
class GPSPointArray { hidden var SIZE = 400; hidden var points = new [SIZE]; hidden var count = 0; var lat_max = -90; var lat_min = 90; var lng_max = -190; var lng_min = 180; /* Better algorithm, * 1. Merge from last merge end to the current end using the sample rate * 2. I...
40,221
https://github.com/VisitingLandmarks/visitingLandmarks/blob/master/importData/hamburg/harvester.js
Github Open Source
Open Source
MIT
2,017
visitingLandmarks
VisitingLandmarks
JavaScript
Code
253
953
require('babel-register'); //projection transformation const proj4 = require('proj4'); proj4.defs('EPSG:25832', "+proj=utm +zone=32 +ellps=GRS80 +units=m +no_defs"); const targetProjection = 'EPSG:4326'; const fs = require('fs'); const deepmerge = require('deepmerge'); const promisify = require('es6-promisify'); cons...
47,327
https://github.com/ProjetMind/midosphere/blob/master/src/Mind/MpBundle/Entity/LuRepository.php
Github Open Source
Open Source
MIT
2,014
midosphere
ProjetMind
PHP
Code
60
192
<?php namespace Mind\MpBundle\Entity; use Doctrine\ORM\EntityRepository; /** * LuRepository * * This class was generated by the Doctrine ORM. Add your own custom * repository methods below. */ class LuRepository extends EntityRepository { public function findNbConversationNonLu(array $optionsSearch){ ...
41,061