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/sbalci/NGS-Tutorial/blob/master/Strand-specific_RNA-seq_Tutorial/split_into_each_gene_type.py | Github Open Source | Open Source | MIT | 2,022 | NGS-Tutorial | sbalci | Python | Code | 223 | 1,030 | #!/usr/bin/env python2
from __future__ import print_function
import sys
import os
input_file = open(sys.argv[1], 'r')
output_filename_core = os.path.splitext(sys.argv[1])[0]
mRNA_output_file = open(output_filename_core + '_mRNA.txt', 'w')
lncRNA_output_file = open(output_filename_core + '_lncRNA.txt', 'w')
pseudogen... | 7,127 |
https://github.com/cindyming/yii-advance/blob/master/backend/views/stack/index.php | Github Open Source | Open Source | BSD-3-Clause | null | yii-advance | cindyming | PHP | Code | 135 | 566 | <?php
use yii\helpers\Html;
use kartik\grid\GridView;;
/* @var $this yii\web\View */
/* @var $searchModel common\models\search\StackSearch */
/* @var $dataProvider yii\data\ActiveDataProvider */
$this->title = Yii::t('app', 'Stacks');
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="stack-index">
<... | 27,199 |
https://github.com/hailongitzero/EPS_Request/blob/master/resources/views/vendor/mail/html/header.blade.php | Github Open Source | Open Source | MIT | null | EPS_Request | hailongitzero | PHP | Code | 17 | 62 | <tr>
<td class="header">
<a href="{{ $url }}">
<img src="{{ url('img/logo1.png') }}" alt="" alt width="10%">
</a>
</td>
</tr>
| 41,094 |
https://github.com/hedleyroos/core-management-portal/blob/master/admin/src/resources/InvitationRedirectUrl.js | Github Open Source | Open Source | BSD-3-Clause | null | core-management-portal | hedleyroos | JavaScript | Code | 250 | 848 | /**
* Generated InvitationRedirectUrl.js code. Edit at own risk.
* When regenerated the changes will be lost.
**/
import React from 'react';
import {
Show,
TextInput,
SimpleForm,
DateField,
Create,
UrlField,
SimpleShowLayout,
List,
TextField,
Edit,
NumberField,
EditBut... | 35,432 |
https://github.com/bcgov/business-filings-ui/blob/master/src/shims-vue.d.ts | Github Open Source | Open Source | Apache-2.0 | 2,023 | business-filings-ui | bcgov | TypeScript | Code | 15 | 52 | // ref: https://github.com/Microsoft/TypeScript-Vue-Starter#single-file-components
declare module '*.vue' {
import Vue from 'vue'
export default Vue
}
| 23,087 |
https://github.com/MisterGC/clayground/blob/master/plugins/clay_text/csvwriter.cpp | Github Open Source | Open Source | MIT | 2,023 | clayground | MisterGC | C++ | Code | 99 | 342 | // (c) Clayground Contributors - MIT License, see "LICENSE" file
#include "csvwriter.h"
#include <QFile>
#include <QTextStream>
const QString &CsvWriter::destination() const
{
return destination_;
}
void CsvWriter::setDestination(const QString &newDestination)
{
if (destination_ == newDestination)
ret... | 28,803 |
https://github.com/opencredo/upcloud-go-api/blob/master/upcloud/zone_test.go | Github Open Source | Open Source | MIT | 2,022 | upcloud-go-api | opencredo | Go | Code | 136 | 488 | package upcloud
import (
"encoding/json"
"testing"
"github.com/stretchr/testify/assert"
)
// TestUnmarshalZones tests that the Zone and Zones structs are correctly marshaled
func TestUnmarshalZones(t *testing.T) {
originalJSON := `
{
"zones": {
"zone": [
{
"description" : "Frankfurt #... | 31,913 |
https://github.com/yuxing666/XUCore.NetCore/blob/master/samples/Sample.Plain/Sample.Plain.DbService/Sys/Admin/AdminMenu/Command/AdminMenuCreateCommand.cs | Github Open Source | Open Source | MIT, Apache-2.0 | 2,021 | XUCore.NetCore | yuxing666 | C# | Code | 206 | 719 | using AutoMapper;
using FluentValidation;
using System;
using System.ComponentModel.DataAnnotations;
using XUCore.Ddd.Domain.Commands;
using XUCore.Extensions;
using Sample.Plain.Persistence.Entities.Enums;
using Sample.Plain.Persistence.Entities.Sys.Admin;
namespace Sample.Plain.DbService.Sys.Admin.AdminMenu
{
... | 6,919 |
https://github.com/irrationalistic/atom-yeoman/blob/master/lib/yeoman.coffee | Github Open Source | Open Source | MIT | null | atom-yeoman | irrationalistic | CoffeeScript | Code | 408 | 1,325 | YeomanView = require './yeoman-view'
{CompositeDisposable} = require 'atom'
childProcess = require 'child_process'
fs = require 'fs'
pty = require 'pty.js'
os = require 'os'
path = require 'path'
# {allowUnsafeEval, allowUnsafeNewFunction} = require 'loophole'
#
# yeoman = require 'yeoman-environment'
# allowUnsafeEva... | 41,750 |
https://github.com/chromium/chromium/blob/master/ui/file_manager/integration_tests/file_manager/holding_space.js | Github Open Source | Open Source | BSD-3-Clause | 2,023 | chromium | chromium | JavaScript | Code | 491 | 1,448 | // Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import {getCaller, pending, repeatUntil, RootPath, sendTestMessage} from '../test_util.js';
import {testcase} from '../testcase.js';
import {navigateWithDirectoryTree, openEnt... | 4,553 |
https://github.com/khng300/get-image-glsl/blob/master/build/build-x86_64-w64-mingw32 | Github Open Source | Open Source | MIT | 2,020 | get-image-glsl | khng300 | Shell | Code | 31 | 162 | #!/bin/bash
set -x
set -e
set -u
GLFW_TC=$(pwd)/x86_64-w64-mingw32.cmake
cd ..
mkdir -p out/x86_64-w64-mingw32/temp
cd out/x86_64-w64-mingw32/temp
cmake -G "Unix Makefiles" ../../.. -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE="${GLFW_TC}"
cmake --build . --config Release
cmake -DCMAKE_INSTALL_PREFIX=../install -P... | 49,041 |
https://github.com/EricChang82/springBootDemo/blob/master/springBootDemo/src/main/java/com/alibaba/excel/annotation/FieldType.java | Github Open Source | Open Source | Apache-2.0 | 2,020 | springBootDemo | EricChang82 | Java | Code | 123 | 449 | package com.alibaba.excel.annotation;
/**
*
* @author jipengfei
* @date 2017/03/15
*/
public enum FieldType {
/** Boolean类型 */
BOOL("b"),
/** 类型错误 */
ERROR("e"),
/** 计算结果类型 */
FORMULA("str"),
/** 富文本类型 */
INLINESTR("inlineStr"),
/** 字符串类型 */
SSTINDEX("s"),
/** 数字类型 */
... | 25,783 |
https://github.com/zyzsdy/feelyblog/blob/master/FeelyBlog/Lib/Widget/sidebarWidget.class.php | Github Open Source | Open Source | Apache-2.0, MIT | 2,014 | feelyblog | zyzsdy | PHP | Code | 19 | 96 | <?php
//SideBar Widget类
class sidebarWidget extends Widget {
public function render($data){
$linkQuery=M('linktable');
$linkData=$linkQuery->order('id')->select();
$insert['link']=$linkData;
$content=$this->renderFile('sidebar',$inser... | 39,612 |
https://github.com/programadmalditos/Angular2-providerApi/blob/master/app/Component/main/app.component.ts | Github Open Source | Open Source | MIT | null | Angular2-providerApi | programadmalditos | TypeScript | Code | 62 | 227 | import { Component, OnInit } from '@angular/core';
import { Producto } from '../../Classes/Producto';
import { ListaCompraApiService } from '../../Services/listaCompraApi-service/listaCompraApi-service';
@Component({
moduleId: module.id,
selector: 'my-app',
templateUrl: 'app.component.html',
})
export class AppC... | 32,045 |
https://github.com/AusDTO/dto-digitalmarketplace-frontend/blob/master/src/bundles/SellerRegistration/components/Review.js | Github Open Source | Open Source | MIT, LicenseRef-scancode-proprietary-license | 2,022 | dto-digitalmarketplace-frontend | AusDTO | JavaScript | Code | 439 | 1,400 | import React, { Component } from 'react';
import PropTypes from 'prop-types'
import { connect } from 'react-redux';
import { Route, Link, Redirect, Switch } from 'react-router-dom';
import isEmpty from 'lodash/isEmpty';
import ApplicationPreview from './ApplicationPreview'
import ConnectedLink from './ConnectedLink';
... | 32,213 |
https://github.com/MissingKings1/CSC-317-practise-project---Forum-project/blob/master/application/config/csc317db.sql | Github Open Source | Open Source | MIT | null | CSC-317-practise-project---Forum-project | MissingKings1 | SQL | Code | 456 | 1,858 | -- MySQL dump 10.13 Distrib 8.0.27, for Win64 (x86_64)
--
-- Host: localhost Database: csc317db
-- ------------------------------------------------------
-- Server version 8.0.27
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*... | 6,829 |
https://github.com/AlpaGit/FortniteReplayDecompressor/blob/master/src/FortniteReplayReader/Models/NetFieldExports/RPC/ClientRemote.cs | Github Open Source | Open Source | MIT | null | FortniteReplayDecompressor | AlpaGit | C# | Code | 294 | 1,160 | using Unreal.Core.Attributes;
using Unreal.Core.Contracts;
using Unreal.Core.Models;
using Unreal.Core.Models.Enums;
namespace FortniteReplayReader.Models.NetFieldExports.RPC
{
[NetFieldExportGroup("/Script/FortniteGame.FortBroadcastRemoteClientInfo:ClientRemotePlayerAddMapMarker", minimalParseMode: ParseMode.Deb... | 34,755 |
https://github.com/Alfredo-Vargas/webshopQS/blob/master/admin.php | Github Open Source | Open Source | MIT | null | webshopQS | Alfredo-Vargas | PHP | Code | 990 | 4,432 | <?php
include("./scripts/php_header.php");
try
{
//if (!isset($_SESSION["user_login_name"]) || $_SESSION["user_isAdmin"] != "1")
if ($_SESSION["user_isAdmin"] != "1")
{
throw new MyException("Attemption of path traversal to admin page!");
}
}
catch (MyExce... | 17,711 |
https://github.com/adedayoominiyi/tscfg/blob/master/src/test/scala/tscfg/example/ScalaIssue12Cfg.scala | Github Open Source | Open Source | Apache-2.0 | 2,022 | tscfg | adedayoominiyi | Scala | Code | 295 | 1,184 | package tscfg.example
final case class ScalaIssue12Cfg(
Boolean: ScalaIssue12Cfg.Boolean,
Option: ScalaIssue12Cfg.Option,
String: ScalaIssue12Cfg.String,
int: ScalaIssue12Cfg.Int
)
object ScalaIssue12Cfg {
final case class Boolean(
bar: java.lang.String
)
object Boolean {
def apply(
... | 34,441 |
https://github.com/chisuhua/comodel/blob/master/src/cxx/inc/PowerState.h | Github Open Source | Open Source | Apache-2.0 | null | comodel | chisuhua | C | Code | 350 | 863 | #pragma once
#include <set>
#include "callback.h"
#include "statistics.h"
#include "enums/PwrState.h"
#include "params/PowerState.h"
#include "Core.h"
#include "SimObject.h"
class PowerDomain;
/**
* Helper class for objects that have power states. This class provides the
* basic functionality to change between pow... | 8,466 |
https://github.com/ProjectIxian/Ixian-Explorer/blob/master/tpl/page_emissions.tpl | Github Open Source | Open Source | MIT | 2,021 | Ixian-Explorer | ProjectIxian | null | Spoken | 1,938 | 6,501 | <script src="vendor/chart.js/Chart.min.js"></script>
<!-- Begin Page Content -->
<div class="container-fluid">
<!-- Page Heading -->
<h1 class="h3 mb-2 text-gray-800">IxiCash Emissions</h1>
<p class="mb-4"></p>
<div class="card shadow mb-4">
<div class="card-... | 49,659 |
https://github.com/steve7158/oppia/blob/master/core/templates/dev/head/services/ImprovementCardService.js | Github Open Source | Open Source | Apache-2.0 | null | oppia | steve7158 | JavaScript | Code | 323 | 667 | // Copyright 2019 The Oppia Authors. 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 ap... | 40,389 |
https://github.com/doodle777/LeetCode/blob/master/src/science/duanxu/leetcode/medium/Q508_MostFrequentSubtreeSum.java | Github Open Source | Open Source | Apache-2.0 | null | LeetCode | doodle777 | Java | Code | 138 | 375 | package science.duanxu.leetcode.medium;
import science.duanxu.leetcode.datastruct.TreeNode;
import java.util.*;
/**
* 508. Most Frequent Subtree Sum
* @author duanxu
* @version 1.0
* MAY THE FORCE BE WITH YOU.
*/
public class Q508_MostFrequentSubtreeSum {
private int maxCount = 0;
private Map<Integer, I... | 2,844 |
https://github.com/MicrosoftDocs/mslearn-secure-aspnet-core-identity/blob/master/RazorPagesPizza/Pages/_ViewImports.cshtml | Github Open Source | Open Source | CC-BY-4.0, MIT | 2,021 | mslearn-secure-aspnet-core-identity | MicrosoftDocs | C# | Code | 7 | 38 | @using RazorPagesPizza
@namespace RazorPagesPizza.Pages
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
| 50,112 |
https://github.com/abstractmj/bk-bcs/blob/master/bcs-runtime/bcs-k8s/bcs-network/bcs-ingress-controller/internal/cloud/aws/aga_support_test.go | Github Open Source | Open Source | MIT, LicenseRef-scancode-unknown-license-reference, CC0-1.0, BSD-3-Clause, ISC, Apache-2.0, LicenseRef-scancode-public-domain, BSD-2-Clause | 2,023 | bk-bcs | abstractmj | Go | Code | 330 | 1,115 | /*
* Tencent is pleased to support the open source community by making Blueking Container Service available.
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
* Licensed under the MIT License (the "License"); you may not use this file except
* in compliance with the License. You may obta... | 45,074 |
https://github.com/mindtargetclub/19pyrtbk/blob/master/node_modules/vue-tailwind/dist/l10n/ru.d.ts | Github Open Source | Open Source | MIT, LicenseRef-scancode-unknown-license-reference | 2,021 | 19pyrtbk | mindtargetclub | TypeScript | Code | 14 | 29 | import { CustomLocale } from '../types/locale';
export declare const Russian: CustomLocale;
export default Russian;
| 4,424 |
https://github.com/geksor/eko-tours/blob/master/common/models/TourAccom.php | Github Open Source | Open Source | BSD-3-Clause | null | eko-tours | geksor | PHP | Code | 153 | 498 | <?php
namespace common\models;
use Yii;
/**
* This is the model class for table "tour_accom".
*
* @property int $tour_id
* @property int $accom_id
*
* @property Accom $accom
* @property Tour $tour
*/
class TourAccom extends \yii\db\ActiveRecord
{
/**
* {@inheritdoc}
*/
public static functi... | 36,642 |
https://github.com/Yukinyaa/BigFloat/blob/master/Tests/BigFloatCastParsingTest.cs | Github Open Source | Open Source | MIT | 2,022 | BigFloat | Yukinyaa | C# | Code | 467 | 1,859 | using System.Collections;
using System.Collections.Generic;
using NUnit.Framework;
using UnityEngine;
using UnityEngine.TestTools;
using BigFloatNumerics;
using System.Numerics;
using System;
namespace BigFloatNumerics
{
public class BigFloatCastParsingTest
{
const int randomTestIteration = 99;
... | 30,803 |
https://github.com/BauTancredi/patient-manager/blob/master/src/components/Appointment.jsx | Github Open Source | Open Source | MIT | null | patient-manager | BauTancredi | null | Spoken | 79 | 278 | import React from "react";
import PropTypes from "prop-types";
const Appointment = ({ appointment, deleteAppointment }) => {
const { pet, owner, date, hour, symptoms, id } = appointment;
return (
<div className="cita">
<p>
Pet: <span>{pet}</span>
</p>
<p>
Owner: <span>{owner}<... | 27,636 |
https://github.com/gematik/poc-vaccination-certification-verifier/blob/master/app/scripts/UC_40_encodeQR.sh | Github Open Source | Open Source | Apache-2.0 | 2,021 | poc-vaccination-certification-verifier | gematik | Shell | Code | 309 | 654 | #!/bin/bash
#
# Copyright (c) 2021 gematik GmbH
#
# 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 ag... | 2,641 |
https://github.com/DecipherNow/gm-ui-components/blob/master/.storybook/config.js | Github Open Source | Open Source | MIT | 2,020 | gm-ui-components | DecipherNow | JavaScript | Code | 307 | 767 | import React from "react";
import { configure, addDecorator, addParameters } from "@storybook/react";
import { withA11y } from "@storybook/addon-a11y";
import { withInfo } from "@storybook/addon-info";
import { withKnobs } from "@storybook/addon-knobs";
import { withThemesProvider } from "storybook-addon-styled-compone... | 33,858 |
https://github.com/paulyc/DFMTuner/blob/master/app/libs/libnrsc5/src/sync.h | Github Open Source | Open Source | MIT | 2,019 | DFMTuner | paulyc | C | Code | 61 | 207 | #pragma once
#include "config.h"
#include <complex.h>
typedef struct
{
struct input_t *input;
float complex (*buffer)[BLKSZ];
float (*phases)[BLKSZ];
unsigned int idx;
int ready;
int cfo_wait;
int samperr;
float angle;
float alpha;
float beta;
float costas_freq[FFT];
... | 47,666 |
https://github.com/qndel/devilutionX/blob/master/Source/msg.h | Github Open Source | Open Source | Unlicense, LicenseRef-scancode-proprietary-license, LicenseRef-scancode-public-domain | 2,022 | devilutionX | qndel | C++ | Code | 2,023 | 6,609 | /**
* @file msg.h
*
* Interface of function for sending and reciving network messages.
*/
#pragma once
#include <cstdint>
#include "engine/point.hpp"
#include "items.h"
#include "monster.h"
#include "objects.h"
#include "portal.h"
#include "quests.h"
namespace devilution {
#define MAX_SEND_STR_LEN 80
#define MA... | 26,385 |
https://github.com/stnert/WPForce/blob/master/add_admin.js | Github Open Source | Open Source | BSD-2-Clause | 2,022 | WPForce | stnert | JavaScript | Code | 116 | 371 | //Use this to exploit XSS to compromise the application.
// just use the XSS payload of <script src=http://[MY_EVIL_SERVER]/add_admin.js>
//Host this file on your server
url = "http://[TARGET]/wp-admin/user-new.php";
var login = "";
var pass = "";
var email = "";
function httpGet(url)
{
var xmlHttp = new XML... | 1,224 |
https://github.com/MangoMangoDevelopment/neptune/blob/master/src/neptune/Neptune/Assets/Meshes/Sensors/Materials/Mesh592Mat.mat.meta | Github Open Source | Open Source | BSD-3-Clause | 2,017 | neptune | MangoMangoDevelopment | Unity3D Asset | Code | 12 | 63 | fileFormatVersion: 2
guid: 6793b977f45e02245b53baa8c8832023
timeCreated: 1461101161
licenseType: Free
NativeFormatImporter:
userData:
assetBundleName:
assetBundleVariant:
| 36,697 |
https://github.com/nwjs/blink/blob/master/Source/bindings/core/v8/custom/V8InjectedScriptHostCustom.cpp | Github Open Source | Open Source | BSD-3-Clause | 2,015 | blink | nwjs | C++ | Code | 1,502 | 6,780 | /*
* Copyright (C) 2007-2011 Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of con... | 33,388 |
https://github.com/dioptre/diym/blob/master/panel/app/controllers/api/helpers.php | Github Open Source | Open Source | MIT | 2,015 | diym | dioptre | PHP | Code | 121 | 439 | <?php
class HelpersController extends Controller {
public function slug() {
return str::slug(get('string'));
}
public function autocomplete($mode) {
switch($mode) {
case 'usernames':
$result = site()->users()->map(function($user) {
return $user->username();
})->toArray(... | 27,872 |
https://github.com/davidbanham/notifications/blob/master/notifications_test.go | Github Open Source | Open Source | MIT | 2,021 | notifications | davidbanham | Go | Code | 790 | 2,306 | package notifications
import (
"encoding/json"
"fmt"
"io/ioutil"
"os"
"strings"
"testing"
bandname "github.com/davidbanham/bandname_go"
"github.com/davidbanham/required_env"
"github.com/stretchr/testify/assert"
)
var TO_ADDRESS string
var runID string
func init() {
required_env.Ensure(map[string]string{
... | 34,334 |
https://github.com/MyJetWallet/Service.Liquidity.TradingPortfolio/blob/master/src/Service.Liquidity.TradingPortfolio.Domain/Services/PortfolioWalletsNoSqlStorage.cs | Github Open Source | Open Source | MIT | null | Service.Liquidity.TradingPortfolio | MyJetWallet | C# | Code | 103 | 540 | using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using MyNoSqlServer.Abstractions;
using Service.Liquidity.TradingPortfolio.Domain.Interfaces;
using Service.Liquidity.TradingPortfolio.Domain.Models;
using Service.Liquidity.TradingPortfolio.Domain.Models.NoSql;
namespace Service.Liqui... | 47,064 |
https://github.com/ClarkSource/eslint-conf/blob/master/eslint/configs/ember-all-in-one/app.js | Github Open Source | Open Source | 0BSD | 2,020 | eslint-conf | ClarkSource | JavaScript | Code | 29 | 116 | 'use strict';
const overrides = require('./-private/overrides');
const ruleOverrides = {
...overrides.trailingComma,
};
// @TODO
module.exports = {
root: true,
extends: [
require.resolve('@clark/eslint-config'),
require.resolve('./-private/configs/ignore-patterns'),
],
rules: {
...ruleOverrides... | 37,897 |
https://github.com/joeyadams/hs-connection/blob/master/Network/Connection.hs | Github Open Source | Open Source | BSD-2-Clause | 2,012 | hs-connection | joeyadams | Haskell | Code | 937 | 2,037 | -- |
-- Module : Network.Connection
-- License : BSD-style
-- Maintainer : Vincent Hanquez <vincent@snarc.org>
-- Stability : experimental
-- Portability : portable
--
-- Simple connection abstraction
--
module Network.Connection
(
-- * Type for a connection
Connection
, connectionID
,... | 11,497 |
https://github.com/nexus370/disertatie/blob/master/resources/js/dashboard/api/users.api.js | Github Open Source | Open Source | MIT | null | disertatie | nexus370 | JavaScript | Code | 75 | 293 | import httpClient from '../../api/httpClient';
const END_POINT = '/dashboard/users';
const downloadLoggedUserData = () => httpClient.get(`${END_POINT}/logged-user`);
const downloadUsers = (query) => httpClient.get(`${END_POINT}`, {params: query});
const downloadUser = (id) => httpClient.get(`${END_POINT}/${id}`);
co... | 17,937 |
https://github.com/schottj/dbt-date/blob/master/integration_tests/macros/get_test_dates.sql | Github Open Source | Open Source | Apache-2.0 | null | dbt-date | schottj | SQL | Code | 317 | 1,212 | {% macro get_test_dates() -%}
select
cast('2020-11-29' as date) as date_day,
cast('2020-11-28' as date) as prior_date_day,
cast('2020-11-30' as date) as next_date_day,
'Sunday' as day_name,
'Sun' as day_name_short,
29 as day_of_month,
1 as day_of_week,
7 as iso_day_of_week,
334 as da... | 28,931 |
https://github.com/zjkw/korus/blob/master/korus/src/udp/udp_helper.h | Github Open Source | Open Source | MIT | 2,018 | korus | zjkw | C | Code | 6 | 35 | #pragma once
#include "korus/src/util/socket_ops.h"
SOCKET create_udp_socket();
| 52,436 |
https://github.com/NiteshD1/Game_Projects-2nd-Year-/blob/master/save bubble (pc game)/sourcecode/.import/BIG_0001_Capa-2.png-e006935e23eae86a03546012f1a46b05.md5 | Github Open Source | Open Source | MIT | 2,020 | Game_Projects-2nd-Year- | NiteshD1 | null | Spoken | 2 | 57 | source_md5="69fafac72637a646f07d2f55e0bc5c8f"
dest_md5="c713d5e026a44d191c71fb2dd3f899f5"
| 46,934 |
https://github.com/retailerwebservices/core/blob/master/core/src/main/java/org/jimmutable/core/objects/Builder.java | Github Open Source | Open Source | BSD-3-Clause | 2,019 | core | retailerwebservices | Java | Code | 796 | 2,851 | package org.jimmutable.core.objects;
import org.jimmutable.core.exceptions.SerializeException;
import org.jimmutable.core.serialization.FieldDefinition;
import org.jimmutable.core.serialization.FieldName;
import org.jimmutable.core.serialization.TypeName;
import org.jimmutable.core.serialization.reader.ObjectParseTree... | 44,204 |
https://github.com/aws/jsii/blob/master/packages/jsii-rosetta/examples/incomplete.ts | Github Open Source | Open Source | Apache-2.0, LicenseRef-scancode-unknown-license-reference | 2,023 | jsii | aws | TypeScript | Code | 28 | 66 | someObject.callSomeFunction(x, {
y: 3
});
/* This is a thing */
SomeClass.callSomeFunction(x, {
y: 3
});
// Some comment
const obj = new SecondFunction(this, { hello: 1 });
| 37,509 |
https://github.com/betodealmeida/vela/blob/master/.gitignore | Github Open Source | Open Source | MIT | 2,021 | vela | betodealmeida | Ignore List | Code | 9 | 40 | __pycache__/
assets/
.vscode/
dist/
build
*.egg-info
main.py
*.pem
notes.md
| 21,649 |
https://github.com/synzen/FeedWatch/blob/master/test/util/unit_getArticles.js | Github Open Source | Open Source | MIT | 2,021 | FeedWatch | synzen | JavaScript | Code | 144 | 487 | /* eslint-env mocha */
const fs = require('fs')
const nock = require('nock')
const expect = require('chai').expect
const getArticles = require('../../util/getArticles.js')
const feedTwoArticles = fs.readFileSync('./test/files/feed2Articles.xml')
const htmlPage = fs.readFileSync('./test/files/nonfeed.html')
describe('U... | 40,684 |
https://github.com/bradberger/amazon-payments-magento-plugin/blob/master/lib/OffAmazonPaymentsNotifications/Samples/CaptureNotificationSample.php | Github Open Source | Open Source | Apache-2.0 | 2,020 | amazon-payments-magento-plugin | bradberger | PHP | Code | 465 | 2,087 | <?php
/*******************************************************************************
* Copyright 2013 Amazon.com, Inc. or its affiliates. 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 obtai... | 12,924 |
https://github.com/jinfengliu106/ffmpeg_streaming_backend/blob/master/src/api/repositories/PlaylistFileRepository.ts | Github Open Source | Open Source | MIT | 2,019 | ffmpeg_streaming_backend | jinfengliu106 | TypeScript | Code | 21 | 61 | import { EntityRepository, Repository } from 'typeorm';
import { PlaylistFile } from '../models/PlaylistFile';
@EntityRepository(PlaylistFile)
export class PlaylistFileRepository extends Repository<PlaylistFile> {
}
| 12,439 |
https://github.com/KrishnanSG/pytsal/blob/master/pytsal/internal/utils/data_loader.py | Github Open Source | Open Source | MIT | 2,022 | pytsal | KrishnanSG | Python | Code | 63 | 212 | import pandas as pd
from pytsal.internal.utils.helpers import get_freq
def csv_loader(path: str, index: str = 'X', target: str = 'Y', freq=None) -> pd.Series:
df = pd.read_csv(path)
data = df[target].values
_datetime_index = pd.to_datetime(df[index], infer_datetime_format=True)
# Auto detect frequen... | 39,862 |
https://github.com/spider-mane/acnologia/blob/master/app/Forms/FormBase.php | Github Open Source | Open Source | MIT | null | acnologia | spider-mane | PHP | Code | 81 | 371 | <?php
namespace App\Forms;
use Psr\Http\Message\ServerRequestInterface;
use WebTheory\Saveyour\Contracts\FormValidatorInterface;
use WebTheory\Saveyour\Fields\Hidden;
use WebTheory\Saveyour\Validators\ReCaptcha3Validator;
use WebTheory\Zeref\Accessors\Config;
use WebTheory\Zeref\Contracts\FormInterface;
use WebTheory... | 51,197 |
https://github.com/mrZerial/mlkit/blob/master/android/smartreply/app/src/main/java/com/google/mlkit/samples/smartreply/java/chat/MessageListAdapter.java | Github Open Source | Open Source | Apache-2.0 | 2,021 | mlkit | mrZerial | Java | Code | 273 | 868 | /*
* Copyright 2020 Google LLC. 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 applica... | 52,332 |
https://github.com/uchibeke/buyn/blob/master/app/dashboard/dashboard.js | Github Open Source | Open Source | MIT | 2,017 | buyn | uchibeke | JavaScript | Code | 50 | 225 | var dashboardApp = angular.module('myApp.dashboard', ['ngRoute', 'ngStorage', "firebase"])
dashboardApp.controller('dashboardCtrl', ['$rootScope', '$scope', '$http', '$localStorage', '$timeout', '$interval', '$sce', '$firebaseObject', '$firebaseArray', '$firebaseAuth',
function($rootScope, $scope, $http, $localStorage... | 22,184 |
https://github.com/PierreExeter/custom_gym_envs/blob/master/test_envs/7_test_teleopt_jaco_pybullet.py | Github Open Source | Open Source | MIT | 2,020 | custom_gym_envs | PierreExeter | Python | Code | 151 | 506 | import gym
import gym_envs
import pybullet as p
import numpy as np
env = gym.make('ReachingJaco-v1')
env.render()
observation = env.reset()
env.world_creation.print_joint_info(env.robot)
keys_actions = {
p.B3G_LEFT_ARROW: np.array([-0.01, 0, 0]),
p.B3G_RIGHT_ARROW: np.array([0.01, 0, 0]),
p.B3G_UP_ARROW:... | 28,863 |
https://github.com/guimoliveira/snake_plus_plus/blob/master/main.cpp | Github Open Source | Open Source | MIT | null | snake_plus_plus | guimoliveira | C++ | Code | 48 | 121 | #include "SnakePlusPlus.h"
int WINAPI WinMain (HINSTANCE instance, HINSTANCE, LPSTR, int) {
const int positionX = 50, positionY = 50;
const int cellsX = 60, cellsY = 30;
const int size = 20;
const bool fullscreen = false;
Game snakeGame(instance, fullscreen, size, cellsX, cellsY, positionX, posit... | 9,369 |
https://github.com/giatinaja/giatinaja.com/blob/master/app/Http/Controllers/UpdateProfileContoller.php | Github Open Source | Open Source | MIT | null | giatinaja.com | giatinaja | PHP | Code | 123 | 441 | <?php
namespace App\Http\Controllers;
use App\Models\User;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Storage;
// use Alert;
class UpdateProfileContoller extends Controller
{
public function edit(User $user)
{
return view('users.edit', [
'user' => $user
]);
}
... | 45,303 |
https://github.com/graweb/sistema-curso/blob/master/application/models/Notificacoes_model.php | Github Open Source | Open Source | MIT | null | sistema-curso | graweb | PHP | Code | 192 | 1,115 | <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class Notificacoes_model extends CI_Model {
function __construct()
{
parent::__construct();
}
public function get()
{
return $this->db->get('tb_notificacoes')->result();
}
public function cadastra... | 42,636 |
https://github.com/roelofr/laravel-encryption-cast/blob/master/tests/Stubs/Models/Dummy.php | Github Open Source | Open Source | MIT | 2,021 | laravel-encryption-cast | roelofr | PHP | Code | 128 | 343 | <?php
declare(strict_types=1);
namespace Tests\Roelofr\EncryptionCast\Stubs\Models;
use Illuminate\Database\Eloquent\Model;
/**
* Empty model with some helpers
*/
class Dummy extends Model
{
/**
* The table associated with the model.
* @var string
*/
protected $table = 'dummy_rows';
/*... | 23,449 |
https://github.com/Aedhen/CrashEdit/blob/master/Crash/Formats/Crash Formats/Zone/EntityUInt32PropertyLoader.cs | Github Open Source | Open Source | MIT, BSD-3-Clause | 2,018 | CrashEdit | Aedhen | C# | Code | 40 | 134 | using System.Collections.Generic;
namespace Crash
{
[EntityPropertyType(3)]
public sealed class EntityUInt32PropertyLoader : EntityBasicPropertyLoader<uint>
{
protected override byte ElementSize => 4;
protected override uint LoadElement(byte[] data)
{
return (uint)BitCo... | 23,238 |
https://github.com/U-QASAR/u-qasar.platform/blob/master/src/main/java/eu/uqasar/web/components/navigation/notification/metric/MetricNotificationLink.java | Github Open Source | Open Source | Apache-2.0 | 2,015 | u-qasar.platform | U-QASAR | Java | Code | 294 | 1,121 | package eu.uqasar.web.components.navigation.notification.metric;
/*
* #%L
* U-QASAR
* %%
* Copyright (C) 2012 - 2015 U-QASAR Consortium
* %%
* 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 Licens... | 11,633 |
https://github.com/vanmxpx/PrimitivePerceptron/blob/master/SimplePerceptron/DigitsRecognazing.cpp | Github Open Source | Open Source | Apache-2.0 | null | PrimitivePerceptron | vanmxpx | C++ | Code | 665 | 2,209 | #include "stdafx.h"
#include "DigitsRecognazing.h"
#include <math.h>
using namespace arma;
/*presented neural network what analizing a number by reading black/white picture 3*5 with a nubmer from 0 to 9
*network has 15 input neurons, 45 neurons by default in hidden layer and 10 output neurons to each number.
*Sinapses... | 21,470 |
https://github.com/yejiaGH/sunflower/blob/master/scripts/build.js | Github Open Source | Open Source | MIT | 2,020 | sunflower | yejiaGH | JavaScript | Code | 178 | 546 | const { fork } = require('child_process');
const { join } = require('path');
const glob = require('glob');
const father = require.resolve('father/bin/father');
const list = process.env.NAME ? [process.env.NAME] : glob.sync('packages/*').map(item => {
const array = item.split('/');
const name = array[array.length -... | 14,060 |
https://github.com/teatime77/mkfn/blob/master/src/Layer/LayerCUDA/FullyConnectedLayerCudaD.h | Github Open Source | Open Source | Unlicense | 2,021 | mkfn | teatime77 | C | Code | 360 | 1,113 | class DllExport FullyConnectedLayerCudaD : public LayerCuda {
public:
int X;
int Y;
double* x;
double* y;
double* w;
double* b;
double* u;
double* delta_x;
double* delta_y;
double* delta_w;
double* delta_b;
double* delta_u;
cudaStream_t _stream_x;
cudaStream_t _stream_... | 356 |
https://github.com/tiloio/captainduckduck/blob/master/app-cli/src/utils/SpinnerHelper.ts | Github Open Source | Open Source | MIT | null | captainduckduck | tiloio | TypeScript | Code | 41 | 147 | const ora = require('ora');
class SpinnerHelper {
private spinner: any;
start(message: string) {
this.spinner = ora(message).start();
}
setColor(color: string) {
this.spinner.color = color;
}
stop() {
this.spinner.stop();
}
succeed() {
this.spinner.succeed();
}
fail() {
this.spinner.fail();
}... | 29,392 |
https://github.com/clobber/MAME-OS-X/blob/master/mame/src/emu/memconv.h | Github Open Source | Open Source | MIT | 2,013 | MAME-OS-X | clobber | C | Code | 3,286 | 11,798 | /***************************************************************************
memconv.h
Functions which help convert between different handlers.
Copyright Nicola Salmoria and the MAME Team.
Visit http://mamedev.org for licensing and usage restrictions.
************************************************... | 11,630 |
https://github.com/Quuxplusone/Homeworlds/blob/master/superdupergames-archive/33581.raw | Github Open Source | Open Source | BSD-3-Clause, BSD-2-Clause | 2,022 | Homeworlds | Quuxplusone | Raw token data | Code | 236 | 548 | Homeworlds Online (SDG# 33581)
Variants: "Hard time"
Started: 2017.12.28, Ended: 2018.1.11
Participants: wil (S), Trydnt (N)
Winner: Trydnt
1) Trydnt: Homeworld B2 R1 G3
2) wil: H Y3 B1 G3
3) Trydnt: Build G1 Trydnt
4) wil: Build G1 Wil
5) Trydnt: Trade G1 B1 Trydnt
6) wil: Trade G1 B1 Wil
7) Trydnt: Build B2 Tr... | 10,096 |
https://github.com/betrusted-io/prjxray/blob/master/prjxray/connections.py | Github Open Source | Open Source | ISC | 2,019 | prjxray | betrusted-io | Python | Code | 197 | 834 | from collections import namedtuple
WireInGrid = namedtuple('WireInGrid', 'tile grid_x grid_y wire')
Connection = namedtuple('Connection', 'wire_a wire_b')
class Connections(object):
def __init__(self, tilegrid, tileconn, tile_wires):
self.grid = tilegrid
self.tile_wires = tile_wires
self.... | 25,169 |
https://github.com/socialally/air/blob/master/test/spec/html.js | Github Open Source | Open Source | MIT | 2,016 | air | socialally | JavaScript | Code | 133 | 481 | var $ = require('air')
, expect = require('chai').expect
, util = require('../util');
describe('Html:', function() {
beforeEach(function(done) {
$.plugin([
require('html')
]);
util.before();
done();
})
afterEach(util.after);
it('should return self on no elements', function(done) {
... | 13,255 |
https://github.com/dive-be/laravel-wishlist/blob/master/src/WishlistServiceProvider.php | Github Open Source | Open Source | MIT | null | laravel-wishlist | dive-be | PHP | Code | 102 | 541 | <?php declare(strict_types=1);
namespace Dive\Wishlist;
use Dive\Wishlist\Commands\InstallPackageCommand;
use Dive\Wishlist\Contracts\Wishlist;
use Illuminate\Support\Collection;
use Illuminate\Support\ServiceProvider;
class WishlistServiceProvider extends ServiceProvider
{
public function boot()
{
i... | 8,337 |
https://github.com/januaruwanda/InstaApp/blob/master/app/Status.php | Github Open Source | Open Source | MIT | null | InstaApp | januaruwanda | PHP | Code | 30 | 90 | <?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Status extends Model
{
public $timestamps = true;
protected $table = 'user_status';
protected $guarded = ['id'];
public function comments()
{
return $this->hasMany(StatusComments::class);
}
}
| 44,173 |
https://github.com/PANDAKO-GitHub/MousePointerLockExtension/blob/master/docs/gdjs-evtsext__mousepointerlockextension__onfirstsceneloaded-func.js | Github Open Source | Open Source | MIT | 2,023 | MousePointerLockExtension | PANDAKO-GitHub | JavaScript | Code | 142 | 736 | gdjs.evtsExt__MousePointerLockExtension__onFirstSceneLoaded = {};
gdjs.evtsExt__MousePointerLockExtension__onFirstSceneLoaded.conditionTrue_0 = {val:false};
gdjs.evtsExt__MousePointerLockExtension__onFirstSceneLoaded.condition0IsTrue_0 = {val:false};
gdjs.evtsExt__MousePointerLockExtension__onFirstSceneLoaded.userFu... | 2,829 |
https://github.com/JakkOfKlubs/KtaneForgetMeMaybe/blob/master/Assets/DummyScript.cs | Github Open Source | Open Source | MIT | null | KtaneForgetMeMaybe | JakkOfKlubs | C# | Code | 33 | 88 | using UnityEngine;
public class DummyScript : MonoBehaviour
{
public KMAudio Audio;
public KMBombInfo BombInfo;
public KMBombModule Module;
public KMSelectable Sel;
private void Start()
{
Sel.OnFocus += delegate () { Module.HandlePass(); };
}
} | 32,730 |
https://github.com/joschi/java-metadata/blob/master/docs/checksums/sapmachine/sapmachine-jre-21-ea.15_windows-x64_bin.zip.sha1 | Github Open Source | Open Source | MIT | 2,023 | java-metadata | joschi | null | Spoken | 2 | 48 | 82e902cd5675170a7e7acf3142af5cbb74e88d9b sapmachine-jre-21-ea.15_windows-x64_bin.zip
| 15,996 |
https://github.com/baudoliver7/commons-utils/blob/master/src/main/java/io/surati/gap/commons/utils/time/SafePeriodFromText.java | Github Open Source | Open Source | MIT | null | commons-utils | baudoliver7 | Java | Code | 87 | 258 | package io.surati.gap.commons.utils.time;
import java.time.LocalDate;
public final class SafePeriodFromText implements Period {
private final Period origin;
public SafePeriodFromText(final String begin, final String end) {
this(new PeriodFromText(begin, end));
}
public SafePeriodFromText(final String begin, ... | 10,702 |
https://github.com/raux/bluebottle/blob/master/bluebottle/payments_flutterwave/tests/test_api.py | Github Open Source | Open Source | BSD-2-Clause | 2,018 | bluebottle | raux | Python | Code | 623 | 2,964 | import json
from mock import patch
from moneyed.classes import Money
from django.core.urlresolvers import reverse
from django.test.utils import override_settings
from bluebottle.bb_projects.models import ProjectPhase
from bluebottle.test.factory_models.projects import ProjectFactory
from bluebottle.test.factory_mode... | 12,693 |
https://github.com/MJSeaton/Crawl4x/blob/master/crawl-ref/source/form-data.h | Github Open Source | Open Source | CC0-1.0 | 2,021 | Crawl4x | MJSeaton | C | Code | 907 | 3,391 | struct form_entry
{
// Row 1:
transformation tran;
monster_type equivalent_mons;
const char *short_name;
const char *long_name;
const char *wiz_name;
// Row 2:
const char *description;
// Row 3:
int blocked_slots;
int resists;
// Row 4:
FormDuration duration;
i... | 26,981 |
https://github.com/groupdocs-viewer/GroupDocs.Viewer-for-.NET-UI/blob/master/src/GroupDocs.Viewer.UI.SelfHost.Api/Viewers/BaseViewer.cs | Github Open Source | Open Source | MIT | 2,022 | GroupDocs.Viewer-for-.NET-UI | groupdocs-viewer | C# | Code | 395 | 1,266 | using System;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using GroupDocs.Viewer.Options;
using GroupDocs.Viewer.Results;
using GroupDocs.Viewer.UI.Core;
using GroupDocs.Viewer.UI.Core.Entities;
using GroupDocs.Viewer.UI.SelfHost.Api.Configuration;
using GroupDocs.Viewer.UI.SelfHost.Api.Licensing... | 26,887 |
https://github.com/unitycoder/UnityLauncherPro/blob/master/UnityLauncherPro/Data/Tabs.cs | Github Open Source | Open Source | MIT | 2,023 | UnityLauncherPro | unitycoder | C# | Code | 21 | 51 | namespace UnityLauncherPro
{
public enum Tabs
{
Projects = 0,
Unitys = 1,
Updates = 2,
Settings = 3
}
}
| 311 |
https://github.com/joewhite86/froggy/blob/master/examples/basic/src/main/java/de/whitefrog/frogr/example/basic/repository/PersonRepository.java | Github Open Source | Open Source | MIT | 2,018 | froggy | joewhite86 | Java | Code | 204 | 651 | package de.whitefrog.frogr.example.basic.repository;
import de.whitefrog.frogr.example.basic.model.MarriedWith;
import de.whitefrog.frogr.example.basic.model.Person;
import de.whitefrog.frogr.model.FieldList;
import de.whitefrog.frogr.model.Filter;
import de.whitefrog.frogr.repository.BaseModelRepository;
import java... | 27,501 |
https://github.com/saveme1/saveme/blob/master/.gitignore | Github Open Source | Open Source | MIT | 2,015 | saveme | saveme1 | Ignore List | Code | 19 | 91 | *.bak
backup
lib
saveme
saveme.exe
saveme.dbg
saveme.ver
saveme.lps
saveme.linux64
saveme.tag
html.zip
html/*/*.html
HTMLVERSION
relserver.cfg
upload.sh
rel
link.res
saveme.res
ppas.bat
| 7,137 |
https://github.com/dfinke/powershell-algorithms/blob/master/src/algorithms/string/levenshtein-distance/levenshteinDistance.ps1 | Github Open Source | Open Source | MIT | 2,022 | powershell-algorithms | dfinke | PowerShell | Code | 195 | 432 | function levenshteinDistance([string]$a, [string]$b) {
# Create empty edit distance matrix for all possible modifications of
# substrings of a to substrings of b.
$distanceMatrix = (0..($b.Length + 1)).ForEach( {New-Object object[] ($a.Length + 1)} )
# Fill the first row of the matrix.
# If this i... | 3,248 |
https://github.com/tuliacms/tuliacms/blob/master/src/Component/form-skeleton/src/Builder/AbstractGroupBuilder.php | Github Open Source | Open Source | MIT | 2,022 | tuliacms | tuliacms | PHP | Code | 154 | 494 | <?php
declare(strict_types=1);
namespace Tulia\Component\FormSkeleton\Builder;
/**
* @author Adam Banaszkiewicz
*/
abstract class AbstractGroupBuilder implements GroupBuilderInterface
{
protected array $options = [];
protected array $activeSections = [];
/**
* {@inheritdoc}
*/
public fu... | 14,267 |
https://github.com/rahulyhg/Jabali-1/blob/master/admin/modules.php | Github Open Source | Open Source | MIT | 2,018 | Jabali-1 | rahulyhg | PHP | Code | 4,667 | 17,683 | <?php
/**
* @package Jabali - The Plug-N-Play Framework
* @subpackage Modules Creation Client
* @author Mauko Maunde < hi@mauko.co.ke >
* @since 0.17.06
* @link https://docs.jabalicms.org/api/modules/
**/
session_start();
require_once( '../init.php' );
require_once( '../load.php' );
require_once( 'header.php' );
if (... | 28,778 |
https://github.com/AliMecidzade/WebAppBlog/blob/master/WebAppBlog/BlogWeb/BlogWeb.Domain/Migrations/Configuration.cs | Github Open Source | Open Source | MIT | 2,021 | WebAppBlog | AliMecidzade | C# | Code | 2,431 | 5,755 | namespace BlogWeb.Domain.Migrations
{
using BlogWeb.Domain.Entities;
using System;
using System.Configuration;
using System.Data.Entity;
using System.Data.Entity.Migrations;
using System.Linq;
internal sealed class Configuration : DbMigrationsConfiguration<BlogWeb.Domain.Concrete.BlogWebDb... | 18,948 |
https://github.com/dezede/dezede/blob/master/common/locale/it/LC_MESSAGES/django.po | Github Open Source | Open Source | BSD-3-Clause | 2,023 | dezede | dezede | Gettext Catalog | Code | 460 | 1,406 | # SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
# Translators:
# Rosalba Agresta <rosalbagresta@gmail.com>, 2016
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERS... | 50,023 |
https://github.com/AayushSabharwal/InteractiveDynamics.jl/blob/master/examples/xmas.jl | Github Open Source | Open Source | MIT | 2,022 | InteractiveDynamics.jl | AayushSabharwal | Julia | Code | 66 | 245 | using DynamicalBilliards, InteractiveDynamics, GLMakie
SV = SVector{2, Float32}
w = 0.4 # stump width
points_right = [
SV(w, 0),
SV(w, w),
SV(2.0, w),
SV(w, 1.5),
SV(1.5, 1.5),
SV(w, 2.25),
SV(1.0, 2.25),
]
summit = SV(0.0, 3.0)
points_left = reverse!([SV(-p[1], p[2]) for p in points_right]... | 8,499 |
https://github.com/FieryInferno/si_surat/blob/master/application/views/staff/buat_surat.php | Github Open Source | Open Source | MIT | null | si_surat | FieryInferno | PHP | Code | 655 | 3,860 | <section id="basic-examples">
<div class="row">
<div class="col-xs-12 mt-1 mb-3">
<h4 class="">
Buat Surat <?php echo $sub ?>
</h4>
<hr>
</div>
<div class="col-xs-12">
<?php
if ($this->session->flashdata('error')!==null) {
?>
<div class="alert alert-danger">
<a... | 38,281 |
https://github.com/josimarviana/JSCPP/blob/master/src/includes/cstdlib.ts | Github Open Source | Open Source | MIT | 2,021 | JSCPP | josimarviana | TypeScript | Code | 843 | 2,679 | /* eslint-disable no-shadow */
import { ArrayElementVariable, ArrayVariable, CRuntime, FunctionPointerVariable, IntVariable, NormalPointerType, NormalPointerVariable, Variable } from "../rt";
export = {
load(rt: CRuntime) {
let m_w = 123456789;
let m_z = 987654321;
const mask = 0xffffffff;
... | 49,340 |
https://github.com/chrisands/statoscope/blob/master/packages/cli/src/commands/templates/reporter.ts | Github Open Source | Open Source | MIT | 2,022 | statoscope | chrisands | TypeScript | Code | 140 | 433 | import { concatTemplateParts, templatePartsByOptions } from './templateParts';
import { FileExt, RuleTemplatesPartsFromFileExt, Template } from './types';
export const reporterTemplate: Template = (templateOptions) => {
const reporter = templatePartsByOptions(templateOptions, {
js: jsReporter,
ts: tsReporter... | 13,919 |
https://github.com/React95/React95/blob/master/packages/icons/src/react/MsnsignIcoApp.tsx | Github Open Source | Open Source | MIT | 2,023 | React95 | React95 | TSX | Code | 108 | 374 | import React from 'react';
import { IconProps } from '../iconType';
import { BaseIcon } from '../internal';
import MsnsignIcoApp_32x32_4 from '../../png/MsnsignIcoApp_32x32_4.png';
import MsnsignIcoApp_16x16_4 from '../../png/MsnsignIcoApp_16x16_4.png';
export const msnsignIcoAppData = {
'32x32_4': {
imageSrc: M... | 27,758 |
https://github.com/cdli-gh/mtaac_cdli_ur3_corpus/blob/master/ur3_corpus_data/annotated/morph/P104/P104977.conll | Github Open Source | Open Source | CC0-1.0, LicenseRef-scancode-public-domain | 2,022 | mtaac_cdli_ur3_corpus | cdli-gh | null | Spoken | 96 | 382 | #new_text=P104977
FORM SEGM XPOSTAG XPOSTAG POS
2(asz) 2(asz)[one] NU NU D
gu2 gun[unit] N N D
gi-zi gizi[reed][-ak][-ak] N N.GEN.GEN D
na-gab2-tum nakabtum[stockyard][-ak][-ak] N N.GEN.ABS D
3(disz) 3(disz)[one] NU NU D
u4-da ud[day]-ak[-'a] N N D
IL2 _ PN PN POS
nir-x _ PN PN.ERG Iabcdefgh
5(disz) 5(disz)[one] NU NU ... | 39,314 |
https://github.com/karthikmohan91/fabric/blob/master/core/chaincode/mock/system_chaincode_provider.go | Github Open Source | Open Source | Apache-2.0 | 2,021 | fabric | karthikmohan91 | Go | Code | 415 | 2,106 | // Code generated by counterfeiter. DO NOT EDIT.
package mock
import (
"sync"
)
type SystemCCProvider struct {
IsSysCCStub func(string) bool
isSysCCMutex sync.RWMutex
isSysCCArgsForCall []struct {
arg1 string
}
isSysCCReturns struct {
result1 bool
}
isSysCCReturnsOnCall map[int]struct {
res... | 1,936 |
https://github.com/exomiser/svart/blob/master/src/main/java/module-info.java | Github Open Source | Open Source | BSD-3-Clause | 2,022 | svart | exomiser | Java | Code | 10 | 56 | module org.monarchitiative.svart {
exports org.monarchinitiative.svart;
exports org.monarchinitiative.svart.parsers;
exports org.monarchinitiative.svart.util;
} | 11,151 |
https://github.com/jlblancoc/suitesparse-metis-for-windows/blob/master/SuiteSparse/Mongoose/Include/Mongoose_BoundaryHeap.hpp | Github Open Source | Open Source | BSD-3-Clause, LicenseRef-scancode-free-unknown, LicenseRef-scancode-unknown-license-reference, GPL-2.0-or-later, GPL-3.0-only, LGPL-2.1-or-later, LGPL-2.0-or-later, GPL-1.0-or-later, LicenseRef-scancode-other-copyleft, LicenseRef-scancode-warranty-disclaimer, Apache-2.0, LicenseRef-scancode-generic-cla | 2,023 | suitesparse-metis-for-windows | jlblancoc | C++ | Code | 140 | 370 | /* ========================================================================== */
/* === Include/Mongoose_BoundaryHeap.hpp ==================================== */
/* ========================================================================== */
/* -------------------------------------------------------------------------... | 14,469 |
https://github.com/globz-eu/nginx-uwsgi-gateway/blob/master/run_proxy | Github Open Source | Open Source | MIT | 2,019 | nginx-uwsgi-gateway | globz-eu | Shell | Code | 29 | 155 | #!/bin/bash
set -e
FRONTEND_HOST=${FRONTEND_HOST:=""}
if [ "$FRONTEND_HOST" == "" ]
then
ALLOW_ORIGIN=""
else
ALLOW_ORIGIN="add_header 'Access-Control-Allow-Origin' 'https://${FRONTEND_HOST}';"
fi
export ALLOW_ORIGIN=$ALLOW_ORIGIN
envsubst < /etc/nginx/conf.d/app.conf.template > /etc/nginx/conf.d/default.co... | 32,316 |
https://github.com/orcyyy/pp_2020_autumn_engineer-1/blob/master/modules/task_2/bulychev_a_gather/bulychev_a_gather.cpp | Github Open Source | Open Source | BSD-3-Clause | null | pp_2020_autumn_engineer-1 | orcyyy | C++ | Code | 206 | 715 | // Copyright 2020 Bulychev Andrey
#include <mpi.h>
#include <ctime>
#include <cstring>
#include <algorithm>
#include <random>
#include <iostream>
#include <vector>
#include <string>
#include "../../../modules/task_2/bulychev_a_gather/bulychev_a_gather.h"
std::vector<int> getRandomVector(int size) {
std::vector<int> ... | 24,348 |
https://github.com/statisticalbiotechnology/maracluster/blob/master/src/PvalueCalculator.h | Github Open Source | Open Source | Apache-2.0 | 2,022 | maracluster | statisticalbiotechnology | C++ | Code | 440 | 1,402 | /******************************************************************************
Copyright 2015 Matthew The <matthew.the@scilifelab.se>
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
h... | 17,747 |
https://github.com/puppetlabs/phabricator/blob/master/resources/sql/patches/014.shortcuts.sql | Github Open Source | Open Source | Apache-2.0 | 2,015 | phabricator | puppetlabs | SQL | Code | 30 | 69 | CREATE TABLE phabricator_repository.repository_shortcut (
id int unsigned not null auto_increment primary key,
name varchar(255) not null,
href varchar(255) not null,
description varchar(255) not null,
sequence int unsigned not null
);
| 15,530 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.