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/gdgeek/mrpp-web/blob/master/src/store/modules/document.js | Github Open Source | Open Source | MIT | null | mrpp-web | gdgeek | JavaScript | Code | 12 | 42 |
const state = {
index: 'https://hololens2.cn/wp-json/wp/v2/'
}
export default {
state
}
| 44,010 |
https://github.com/wangshujie1989/arctic-training/blob/master/fahr2Cel.R | Github Open Source | Open Source | Apache-2.0 | 2,019 | arctic-training | wangshujie1989 | R | Code | 16 | 79 |
fahr_to_celcius <- function(fahr){
celcius <- (fahr-32)*5/9
return (celcius)
}
celcius_to_fahr <- function (celcius){
fahr<-9*celcius/5+32
return(fahr)
}
| 14,242 |
https://github.com/keadex/keadex-battis/blob/master/packages/frontend/src/components/dos-button/dos-button.tsx | Github Open Source | Open Source | MIT | null | keadex-battis | keadex | TypeScript | Code | 63 | 206 | import React from 'react';
import styles from './dos-button.module.scss';
import { useRouter } from 'next/router';
//------------------ TYPES
interface DosButtonProps {
onClick?: ()=>void;
href?: string;
}
//------------------ COMPONENT
const DosButton : React.FunctionComponent<DosButtonProps> = props => {
con... | 50,508 |
https://github.com/javainthinking/terraform-alicloud-vpc-peering-multi-region/blob/master/main.tf | Github Open Source | Open Source | Apache-2.0, LicenseRef-scancode-unknown-license-reference | 2,020 | terraform-alicloud-vpc-peering-multi-region | javainthinking | HCL | Code | 206 | 805 | provider "alicloud" {
profile = var.profile != "" ? var.profile : null
shared_credentials_file = var.shared_credentials_file != "" ? var.shared_credentials_file : null
region = var.region != "" ? var.region : null
skip_region_validation = var.skip_region_validation
configurat... | 41,748 |
https://github.com/infrablocks/terraform-aws-organization/blob/master/examples/basic/organization.tf | Github Open Source | Open Source | MIT | 2,023 | terraform-aws-organization | infrablocks | HCL | Code | 91 | 264 | module "organization" {
source = "../../"
feature_set = "ALL"
organization = {
accounts = [
{
name = "Default"
key = "mycompany-default"
email = "root@company.com"
}
]
units = [
{
name = "MyProduct",
key = "mycompany-myp... | 44,545 |
https://github.com/kekda-py/flappy-square/blob/master/Scripts/SpawnScript.cs | Github Open Source | Open Source | MIT | 2,022 | flappy-square | kekda-py | C# | Code | 63 | 176 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SpawnScript : MonoBehaviour
{
public float spawnRate = 1f;
public GameObject spawnPrefab;
public Transform spawnPos;
float nextSpawn = 0f;
// Update is called once per frame
void Update()
{
... | 29,773 |
https://github.com/emtudo/library/blob/master/Makefile | Github Open Source | Open Source | MIT | 2,021 | library | emtudo | Makefile | Code | 19 | 55 | down:
- docker-compose down
dev:
- docker-compose up -d
sh:
- docker-compose exec api sh
build:
- docker-compose build
| 29,621 |
https://github.com/cc8848/avconv4java/blob/master/src/test/java/com/github/vbauer/avconv4java/option/AVCodecOptionsTest.java | Github Open Source | Open Source | Apache-2.0 | 2,018 | avconv4java | cc8848 | Java | Code | 81 | 609 | package com.github.vbauer.avconv4java.option;
import com.github.vbauer.avconv4java.type.*;
import org.testng.annotations.Test;
import org.testng.collections.Lists;
import java.util.List;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.emptyIterable;
import static org.hamcrest... | 50,967 |
https://github.com/so-jelly/Amethyst/blob/master/AmethystTests/Layout/BinarySpacePartitioningLayoutTests.swift | Github Open Source | Open Source | MIT | 2,019 | Amethyst | so-jelly | Swift | Code | 610 | 2,805 | //
// BinarySpacePartitioningLayoutTests.swift
// Amethyst
//
// Created by Ian Ynda-Hummel on 5/29/16.
// Copyright © 2016 Ian Ynda-Hummel. All rights reserved.
//
import Nimble
import Quick
@testable import Amethyst
final class BinarySpacePartitioningLayoutTests: QuickSpec {
override func spec() {
... | 20,149 |
https://github.com/ForEvolve/ForEvolve-Framework/blob/master/src/ForEvolve.AspNetCore/Services/IViewRendererService.cs | Github Open Source | Open Source | MIT | 2,021 | ForEvolve-Framework | ForEvolve | C# | Code | 36 | 127 | using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using System.Threading.Tasks;
namespace ForEvolve.AspNetCore.Services
{
public interface IViewRendererService
{
Task<string> RenderAsync(string viewName, object viewModel);
Task<string> RenderAsync(string controllerName, string v... | 16,486 |
https://github.com/Warchant/use-mold/blob/master/index.js | Github Open Source | Open Source | MIT | 2,022 | use-mold | Warchant | JavaScript | Code | 332 | 961 | const core = require('@actions/core');
const tc = require('@actions/tool-cache');
const io = require('@actions/io');
const fs = require('fs')
const TOOL_NAME = 'mold'
const checkOs = () => {
switch (process.platform) {
case 'win32':
case 'darwin':
throw new Error(`${process.platform} r... | 46,090 |
https://github.com/slee124565/dartExercise1/blob/master/test/type_zwave_send_data_test.dart | Github Open Source | Open Source | BSD-3-Clause | 2,021 | dartExercise1 | slee124565 | Dart | Code | 187 | 402 |
/*
data sent, len 79
cmd bytes: [0, 0, 167, 60, 1, 136, 10, 119, 30, 0, 0, 0, 1, 97, 100, 109, 105, 110, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 97, 100, 109, 105, 110, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 192, 168, 50, 127, 43, 180, 0, 0, 0, 0, 0, 0, 0, 0, 9, 0, 202, 0, 5,
9 node_id,
3 cmd_len,
98 cmd_c... | 17,376 |
https://github.com/mcgredonps/xmlpg/blob/master/runXmlpg.sh | Github Open Source | Open Source | BSD-2-Clause | 2,021 | xmlpg | mcgredonps | Shell | Code | 48 | 155 | # Example for running xmlpg and generating code for DIS protocol.
# This uses exec-maven-plugin to run, but you could run from xmlpg.jar too.
#schema=../DISDescription/DIS6.xml
schema=DIS2012.xml
mvn clean compile
for lang in java cpp python javascript objc csharp; do
mvn exec:java -Dexec.mainClass=edu.nps.moves.xm... | 26,568 |
https://github.com/contactandyc/standard-template-library-alternative-in-c/blob/master/games/minesweeper/Makefile | Github Open Source | Open Source | Apache-2.0 | 2,019 | standard-template-library-alternative-in-c | contactandyc | Makefile | Code | 12 | 42 | all: minesweeper
minesweeper: minesweeper.c
gcc $< -o $@
clean:
rm -rf minesweeper
| 11,669 |
https://github.com/garyzqg/AppStore/blob/master/app/src/main/java/com/seuic/app/store/ui/presenter/AppTypePresenter.java | Github Open Source | Open Source | Apache-2.0 | 2,017 | AppStore | garyzqg | Java | Code | 193 | 908 | package com.seuic.app.store.ui.presenter;
import com.seuic.app.store.adapter.BaseRecycleViewAdapter;
import com.seuic.app.store.adapter.TypeAppsAdapter;
import com.seuic.app.store.bean.RecycleObject;
import com.seuic.app.store.bean.response.RecommendReceive;
import com.seuic.app.store.greendao.GreenDaoManager;
import ... | 36,824 |
https://github.com/nsadev/cozyfinder-front/blob/master/src/App.js | Github Open Source | Open Source | MIT | 2,019 | cozyfinder-front | nsadev | JavaScript | Code | 382 | 1,336 | import React, { Component } from 'react';
import Navbar from './components/Navbar/Navbar';
import LogIn from './components/LogIn/LogIn';
import Profile from './components/Profile/Profile';
import Title from './components/Title/Title';
import Form from './components/Form/Form';
import SearchBar from './components/Search... | 18,673 |
https://github.com/reisdev/next-level-week/blob/master/backend/src/server.ts | Github Open Source | Open Source | MIT | 2,021 | next-level-week | reisdev | TypeScript | Code | 66 | 225 | import express from "express";
import cors from "cors";
import dotenv from "dotenv";
import path from "path";
import morgan from "morgan";
import router from "./routes";
import { errors } from "celebrate";
dotenv.config({
path: path.resolve(__dirname, "../.env")
});
const app = express();
app.use(express.json())... | 11,270 |
https://github.com/ahnitz/pegasus/blob/master/packages/pegasus-python/src/Pegasus/db/workflow/__init__.py | Github Open Source | Open Source | Apache-2.0 | 2,022 | pegasus | ahnitz | Python | Code | 3,626 | 8,180 | """
Base classes that define the interface that the back-end specific
retrieval classes must expose. Each read-only property includes
inline epydoc describing what is to be returned and what type
(string, int, an object) each property must return when called.
How a subclass caches attributes or performs lazy evaluati... | 4,885 |
https://github.com/watchrabbit/rabbit-executor-spring/blob/master/src/test/java/com/watchrabbit/executor/spring/AnnotationDiscoverTest.java | Github Open Source | Open Source | Apache-2.0 | null | rabbit-executor-spring | watchrabbit | Java | Code | 357 | 1,182 | /*
* Copyright 2014 Mariusz.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... | 25,051 |
https://github.com/tensorflow/tensorflow/blob/master/tensorflow/core/api_def/base_api/api_def_Neg.pbtxt | Github Open Source | Open Source | Apache-2.0, LicenseRef-scancode-generic-cla, BSD-2-Clause | 2,023 | tensorflow | tensorflow | Protocol Buffer Text Format | Code | 28 | 81 | op {
graph_op_name: "Neg"
endpoint {
name: "Negate"
}
endpoint {
name: "Neg"
}
summary: "Computes numerical negative value element-wise."
description: <<END
I.e., \\(y = -x\\).
END
}
| 38,118 |
https://github.com/dengxuwan/patent/blob/master/js/index.js | Github Open Source | Open Source | MIT | 2,018 | patent | dengxuwan | JavaScript | Code | 87 | 291 | function queryindex() {
var address = "";
if (!curWallet || curWallet === '') {
address = config.myAddress;
} else {
address = curWallet;
}
var args = [true];
query(address, config.getIndexData, JSON.stringify(args), function(resp) {
console.log(resp, "查询主页");
var... | 38,144 |
https://github.com/ukparliament/thorney/blob/master/app/serializers/page_serializer/layings_show_page_serializer.rb | Github Open Source | Open Source | MIT | 2,019 | thorney | ukparliament | Ruby | Code | 173 | 836 | module PageSerializer
class LayingsShowPageSerializer < LaidThingShowPageSerializer
# Initialise a Laying show page.
# @param [ActionDispatch::Request] request the current request object.
# @param [<Grom::Node>] laying a Grom::Node object of type Laying.
# @param [Array<Hash>] data_alternates array co... | 54,322 |
https://github.com/Brain-up/brn/blob/master/frontend/app/utils/task-modes.js | Github Open Source | Open Source | CC0-1.0, LicenseRef-scancode-public-domain | 2,023 | brn | Brain-up | JavaScript | Code | 12 | 35 | export const MODES = {
LISTEN: 'listen',
INTERACT: 'interact',
TASK: 'task',
};
| 6,387 |
https://github.com/cdli-gh/mtaac_cdli_ur3_corpus/blob/master/ur3_corpus_data/conll/P143573.conll | Github Open Source | Open Source | CC0-1.0, LicenseRef-scancode-public-domain | 2,022 | mtaac_cdli_ur3_corpus | cdli-gh | null | Spoken | 61 | 347 | #new_text=P143573
# ID FORM SEGM XPOSTAG HEAD DEPREL MISC
o.1.1 6(disz)
o.1.2 gurusz
o.1.3 u4
o.1.4 5(disz)-sze3
o.2.1 a-pi4-sal4{ki}-ta
o.3.1 ma2
o.3.2 sze
o.3.3 gid2-da
o.4.1 ka
o.4.2 i7-da-sze3
r.1.1 giri3
r.1.2 lu2-bala-saga
r.2.1 iti
r.2.2 sze-kar-ra-gal2-la
r.3.1 mu
r.3.2 si-mu-ru-um{ki}
r.3.3 lu-lu-bu{ki}
r.3.4 ... | 32,500 |
https://github.com/khevamann/DefinitelyTyped/blob/master/types/ckeditor__ckeditor5-find-and-replace/src/findcommand.d.ts | Github Open Source | Open Source | MIT | 2,018 | DefinitelyTyped | khevamann | TypeScript | Code | 103 | 268 | import { Command, Editor } from '@ckeditor/ckeditor5-core';
import FindAndReplaceEditing, { FindAndReplaceState } from './findandreplaceediting';
/**
* The find command. It is used by the {@link module:find-and-replace/findandreplace~FindAndReplace find and replace feature}.
*/
export default class FindCommand extend... | 31,164 |
https://github.com/MorleyDev/zander.server/blob/master/src/validate/impl/UpdateProjectDtoValidator.ts | Github Open Source | Open Source | MIT | 2,014 | zander.server | MorleyDev | TypeScript | Code | 17 | 58 | module validate.impl {
export class UpdateProjectDtoValidator implements Validator {
public apply(input:model.HttpRequest):validate.ValidationResult {
return ValidateUpdateProjectDto(input.body);
}
}
}
| 50,321 |
https://github.com/fossabot/ligoj/blob/master/app-ui/src/main/webapp/main/system/cache/nls/messages.js | Github Open Source | Open Source | MIT | 2,018 | ligoj | fossabot | JavaScript | Code | 42 | 123 | define({
"root" : {
"title" : "Cache",
"entries" : "Entries",
"hit-count" : "Hit count",
"miss-count" : "Miss count",
"memory" : "Memory",
"off-memory" : "Off memory",
"invalidate" : "Invalidate this cache",
"invalidated" : "Cache {{this}} has been invalidated"
},
"fr" : true
}); | 48,125 |
https://github.com/HwanSolo/stanford-linguistics/blob/master/cogeto-client/src/components/suFooter/index.js | Github Open Source | Open Source | Apache-2.0 | null | stanford-linguistics | HwanSolo | JavaScript | Code | 139 | 743 | import React from 'react';
const SuFooter = props => (
<div id="torder-su-footer">
<div className="su-footer-item-container">
<a href="https://www.stanford.edu">
<img
src="https://www-media.stanford.edu/su-identity/images/footer-stanford-logo@2x.png"
alt="Stanford University"
... | 28,529 |
https://github.com/Open-Legal-Tech/open-decision-builder/blob/master/packages/api/tests/integration/user.test.ts | Github Open Source | Open Source | MIT | 2,022 | open-decision-builder | Open-Legal-Tech | TypeScript | Code | 1,838 | 6,559 | import request from "supertest";
import faker from "faker";
import httpStatus from "http-status";
import { app } from "../../src/app";
import { setupTestDB } from "../utils/setupTestDB";
import UserHandler from "../../src/models/user.model";
import { userOne, userTwo, admin, insertUsers } from "../fixtures/user.fixture... | 22,262 |
https://github.com/evian42/starpies/blob/master/packages/strapi/lib/configuration/hooks/core/session/index.js | Github Open Source | Open Source | MIT | 2,017 | starpies | evian42 | JavaScript | Code | 346 | 1,052 | 'use strict';
/**
* Module dependencies
*/
// Core modules
const path = require('path');
// Public node modules.
const _ = require('lodash');
/**
* Session hook
*/
module.exports = strapi => {
const hook = {
/**
* Default options
*/
defaults: {
key: 'strapi.sid',
prefix: 'stra... | 25,321 |
https://github.com/ld-archer/E_FEM/blob/master/analysis/techdoc/crossvalidation_ELSA.do | Github Open Source | Open Source | MIT | 2,019 | E_FEM | ld-archer | null | Spoken | 140 | 235 | /* Creating script for internal validation.
This script will extract information from ELSA on chronic disease, ADLs and IADLs
for both men and women, and compares them to estimates produced by our FEM
simluation.
ELSA first wave was in 2002, and data was collected every 2 years subsequently
(known as waves), with ... | 7,447 |
https://github.com/developitkris/capstonePlanning/blob/master/src/components/App.jsx | Github Open Source | Open Source | MIT | null | capstonePlanning | developitkris | null | Spoken | 32 | 89 | import React from "react";
import Header from "./Header";
import StickerList from "./StickerList";
function App(){
return (
<div>
<Header />
<SearchCoords />
<Map />
<StickerList />
<hr/>
</div>
);
}
export default App;
| 49,889 |
https://github.com/KEURQUE/357/blob/master/Src/357.System/Extensions/XmlAttributeOverridesExtension.cs | Github Open Source | Open Source | Apache-2.0 | 2,016 | 357 | KEURQUE | C# | Code | 125 | 422 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;
namespace Engine.System.Extensions
{
public static class XmlAttributesOverrideExtension
{
public static vo... | 52,571 |
https://github.com/kbastronomics/Tasks/blob/master/extras/html/search/files_0.js | Github Open Source | Open Source | MIT | 2,020 | Tasks | kbastronomics | JavaScript | Code | 6 | 67 | var searchData=
[
['tasks_2ecpp',['Tasks.cpp',['../_tasks_8cpp.html',1,'']]],
['tasks_2eh',['Tasks.h',['../_tasks_8h.html',1,'']]]
];
| 15,082 |
https://github.com/dimamanhura/TO-DO-List-app-API/blob/master/app/services/passport/index.js | Github Open Source | Open Source | MIT | 2,021 | TO-DO-List-app-API | dimamanhura | JavaScript | Code | 19 | 51 | const local = require('./local');
const facebook = require('./facebook');
const instagram = require('./instagram');
module.exports = {
local,
facebook,
instagram
};
| 12,309 |
https://github.com/LRaito/libnsq/blob/master/message.c | Github Open Source | Open Source | MIT | 2,020 | libnsq | LRaito | C | Code | 83 | 397 | #include <stdlib.h>
#include <arpa/inet.h>
#include "nsq.h"
uint64_t ntoh64(const uint8_t *data) {
return (uint64_t)(data[7]) | (uint64_t)(data[6])<<8 |
(uint64_t)(data[5])<<16 | (uint64_t)(data[4])<<24 |
(uint64_t)(data[3])<<32 | (uint64_t)(data[2])<<40 |
(uint64_t)(data[1])<<48 | (uint64... | 2,967 |
https://github.com/Nelio-Bila/ortoprotesia/blob/master/resources/js/pages/hp/Articles/ArticlesEdit.vue | Github Open Source | Open Source | MIT | null | ortoprotesia | Nelio-Bila | Vue | Code | 813 | 3,381 | <template>
<div class="d-flex" id="wrapper">
<HPSideBar currentLink="articles" />
<!-- Page Content -->
<main id="page-content-wrapper">
<!-- Navbar -->
<HPNavBar />
<!-- Navbar End -->
<div class="container-fluid my-3">
<div
class="
d-flex
... | 32,449 |
https://github.com/ploukareas/Design-Patterns/blob/master/C#/CreationalPatterns/Prototype/Program.cs | Github Open Source | Open Source | BSD-3-Clause, MIT | 2,021 | Design-Patterns | ploukareas | C# | Code | 126 | 316 | using CreationalPatterns.Prototype.Framework;
/*
Display a string enclosed with a frame line, or drawn with an underline. The Client (Main)
registers instances of the Display subclass in the Manager class. When necessary,
the Manager class asks those registered instances to return a clone. The Client (Main)
requires ... | 11,828 |
https://github.com/joelsmith/frakti/blob/master/Makefile | Github Open Source | Open Source | Apache-2.0 | 2,021 | frakti | joelsmith | Makefile | Code | 235 | 734 | # Copyright 2016 The Kubernetes Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to ... | 48,851 |
https://github.com/jp-co-decoo-abeyama1202/wedding/blob/master/app/controllers/SpecialController.php | Github Open Source | Open Source | MIT | 2,014 | wedding | jp-co-decoo-abeyama1202 | PHP | Code | 14 | 43 | <?php
class SpecialController extends BaseController
{
public function getIndex()
{
return View::make('special/index');
}
}
| 15,528 |
https://github.com/icepoke/swooleyaf/blob/master/libs_frame/AlibabaCloud/Ivision/DeleteFaceGroup.php | Github Open Source | Open Source | BSD-3-Clause | 2,022 | swooleyaf | icepoke | PHP | Code | 35 | 95 | <?php
namespace AlibabaCloud\Ivision;
/**
* @method string getShowLog()
* @method $this withShowLog($value)
* @method string getGroupId()
* @method $this withGroupId($value)
* @method string getOwnerId()
* @method $this withOwnerId($value)
*/
class DeleteFaceGroup extends Rpc
{
}
| 40,549 |
https://github.com/project-belligerence/Belligerence/blob/master/dev/sass/ui/main.scss | Github Open Source | Open Source | MIT | 2,019 | Belligerence | project-belligerence | SCSS | Code | 20 | 106 | @import "config/mixins.scss";
@import "config/colors.scss";
@import "config/numbers.scss";
@import "config/classes.scss";
@import "config/type.scss";
@import "config/animations.scss";
@import "general.scss";
@import "images.scss";
@import "elements.scss";
@import "modals.scss"; | 28,194 |
https://github.com/open-epicycle/Epicycle.Commons-cs/blob/master/projects/Epicycle.Commons_cs/FileSystemBasedObjects/FileSystemPathBasedObject.cs | Github Open Source | Open Source | Apache-2.0 | 2,015 | Epicycle.Commons-cs | open-epicycle | C# | Code | 253 | 545 | // [[[[INFO>
// Copyright 2015 Epicycle (http://epicycle.org, https://github.com/open-epicycle)
//
// 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... | 56,070 |
https://github.com/mdeanda/ajaxproxy/blob/master/src/main/java/com/thedeanda/ajaxproxy/ui/SettingsChangedListener.java | Github Open Source | Open Source | BSD-3-Clause | 2,019 | ajaxproxy | mdeanda | Java | Code | 13 | 39 | package com.thedeanda.ajaxproxy.ui;
public interface SettingsChangedListener {
public void settingsChanged();
public void restartRequired();
}
| 23,898 |
https://github.com/ericabbey/recon/blob/master/static/js/functions.js | Github Open Source | Open Source | MIT | 2,017 | recon | ericabbey | JavaScript | Code | 176 | 769 | var source = ""
$(document).ready(function(){
$('html').niceScroll({
cursorWidth: 30,
cursorborder: 0,
cursorborderradius: 0,
cursorcolor: '#51ad29',
zindex: 1000
});
$('.chat>ul, .event-map').niceScroll({
cursorWidth: 0,
cursorborder: 0,
curso... | 21,382 |
https://github.com/OlegPt/spark/blob/master/resource-managers/kubernetes/core/src/main/scala/org/apache/spark/deploy/k8s/SparkKubernetesClientFactory.scala | Github Open Source | Open Source | Apache-2.0 | 2,022 | spark | OlegPt | Scala | Code | 487 | 1,669 | /*
* 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 ... | 54,342 |
https://github.com/piit79/woocommerce-czech-post-filler/blob/master/woocommerce-czech-post-filler.user.js | Github Open Source | Open Source | Apache-2.0 | null | woocommerce-czech-post-filler | piit79 | JavaScript | Code | 992 | 4,579 | // ==UserScript==
// @name WooCommerce Czech Post Address Filler
// @namespace https://github.com/piit79/woocommerce-czech-post-filler
// @version 0.82
// @description Auto-fill addresses from WooCommerce to Czech Post on-line postage web app
// @author piit79
// @match https://*/wp-admin/... | 49,826 |
https://github.com/gfngfn/Macrodown/blob/master/obsolete/samples/sample1/Makefile | Github Open Source | Open Source | MIT | 2,018 | Macrodown | gfngfn | Makefile | Code | 9 | 47 | sample1.html: document.mcrdh fizzbuzz.mcrdh nabeazz.mcrdh sample1.mcrd
macrodown $^ -o sample1.html
| 29,167 |
https://github.com/mehrdadzakershahrak/Online-Explanation-Generation/blob/master/rovers/fastdownward/experiments/issue591/v1-opt.py | Github Open Source | Open Source | MIT | 2,021 | Online-Explanation-Generation | mehrdadzakershahrak | Python | Code | 87 | 493 | #! /usr/bin/env python
# -*- coding: utf-8 -*-
import os
from lab.environments import LocalEnvironment, MaiaEnvironment
from common_setup import IssueConfig, IssueExperiment, is_test_run
BENCHMARKS_DIR = os.environ["DOWNWARD_BENCHMARKS"]
REVISIONS = ["issue591-base", "issue591-v1"]
CONFIGS = [
IssueConfig(heur... | 55,379 |
https://github.com/gmh5225/gdsl-toolkit/blob/master/libs/cppgdsl/include/cppgdsl/rreil/expr/expr_binop.h | Github Open Source | Open Source | LicenseRef-scancode-unknown-license-reference, SMLNJ | 2,018 | gdsl-toolkit | gmh5225 | C++ | Code | 130 | 469 | /*
* The file contains all definitions for a binary expression RReil AST node.
*/
#pragma once
#include "cppgdsl/rreil/expr/binop_op.h"
#include "cppgdsl/rreil/expr/expr.h"
#include "cppgdsl/rreil/linear/linear.h"
namespace gdsl {
namespace rreil {
class expr_binop final : public expr {
private:
binop_op op;
... | 9,456 |
https://github.com/sanham90/BLEDemo/blob/master/BLEDemo/BlueNRG_2/App/sensor.c | Github Open Source | Open Source | BSD-2-Clause | 2,021 | BLEDemo | sanham90 | C | Code | 499 | 1,798 | /******************** (C) COPYRIGHT 2015 STMicroelectronics ********************
* File Name : sensor.c
* Author : AMS - VMA RF Application team
* Version : V1.0.0
* Date : 23-November-2015
* Description : Sensor init and sensor state machines
*****************... | 42,284 |
https://github.com/vadzim/define-constants/blob/master/test/defineConstants.test.js | Github Open Source | Open Source | MIT | 2,020 | define-constants | vadzim | JavaScript | Code | 67 | 214 | import { defineConstants } from "../src/defineConstants"
test("plain constants", async () => {
const { A, B, C } = defineConstants()
expect(A).toBe("A")
expect(B).toBe("B")
expect(C).toBe("C")
})
test("NS constants", async () => {
const { X } = defineConstants()
const { A, B, C } = defineConstants(X)
expect(A)... | 26,187 |
https://github.com/sclearn/sclearn/blob/master/ui/src/view/mainstats.jsx | Github Open Source | Open Source | Apache-2.0 | null | sclearn | sclearn | null | Spoken | 573 | 1,720 | import _ from 'lodash'
import React from 'react'
import { connect } from 'react-redux'
import { Container, Table, Grid } from 'semantic-ui-react'
import linal from 'linear-algebra'
import JsonV from 'react-json-viewer'
import {
XYPlot, XAxis, YAxis, HorizontalGridLines
, LineSeries
, MarkSeries
} from 'react-vis'
c... | 41,070 |
https://github.com/Benco351/Finner_front/blob/master/src/layout/LandingHeader.tsx | Github Open Source | Open Source | MIT | null | Finner_front | Benco351 | TypeScript | Code | 134 | 486 | import logo from "../assets/images/logo.png";
///Material///
import { AppBar, Toolbar } from "@material-ui/core";
import Button from "@material-ui/core/Button";
///Redux///
import { withRouter } from "react-router-dom";
const LandingHeader = (props: any) => {
const { history } = props;
const handleMenuClick = (page... | 50,500 |
https://github.com/danjung/sparsemapcontent/blob/master/src/main/java/org/sakaiproject/nakamura/lite/types/BooleanType.java | Github Open Source | Open Source | Apache-2.0 | 2,019 | sparsemapcontent | danjung | Java | Code | 61 | 180 | package org.sakaiproject.nakamura.lite.types;
import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.IOException;
public class BooleanType implements Type<Boolean> {
public int getTypeId() {
return 5;
}
public void save(DataOutputStream dos, Object value) throws IOExcept... | 5,864 |
https://github.com/storybookjs/storybook/blob/master/code/addons/storyshots-core/stories/default_export/main.js | Github Open Source | Open Source | MIT | 2,023 | storybook | storybookjs | JavaScript | Code | 11 | 38 | const config = {
stories: ['./Text.stories.jsx', './Extra.stories.jsx'],
};
export default config;
| 19,686 |
https://github.com/Legorobotdude/VR-Tours/blob/master/Assets/VRTK/Source/SDK/Ximmerse/Resources/ControllerColliders/XimmerseCobra02.prefab | Github Open Source | Open Source | MIT | 2,019 | VR-Tours | Legorobotdude | Unity3D Asset | Code | 242 | 1,024 | %YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1001 &100100000
Prefab:
m_ObjectHideFlags: 1
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 0}
m_Modifications: []
m_RemovedComponents: []
m_ParentPrefab: {fileID: 0}
m_RootGameObject: {fileID: 1179248186005454}
m_IsPrefabParent: ... | 11,715 |
https://github.com/tadeasn/extensions/blob/master/shoutem.auth/server/src/modules/general-settings/services/index.js | Github Open Source | Open Source | BSD-3-Clause | 2,020 | extensions | tadeasn | JavaScript | Code | 6 | 17 | export {
validateProviderSetup,
} from './providers';
| 20,863 |
https://github.com/juangentile/oap/blob/master/oap-stdlib/src/main/java/oap/message/MessageHandler.java | Github Open Source | Open Source | MIT | 2,021 | oap | juangentile | Java | Code | 843 | 2,183 | /*
* The MIT License (MIT)
*
* Copyright (c) Open Application Platform Authors
*
* 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 r... | 8,755 |
https://github.com/madeskilz/deo/blob/master/application/views/home/bk/procedureBk.php | Github Open Source | Open Source | MIT | null | deo | madeskilz | PHP | Code | 526 | 1,492 | <?php $this->load->view("home/inc/header") ?>
<section class="banner inner-page">
<div class="banner-img"><img src="<?= base_url("assets/images/banner/quiz.jpg") ?>" alt=""></div>
<div class="page-title">
<div class="container">
<h1>Application Procedure</h1>
... | 31,848 |
https://github.com/manuelguido/ttps-UNLP/blob/master/resources/js/components/dashboard/newEntry/CreateUpdatePatient.vue | Github Open Source | Open Source | MIT | 2,020 | ttps-UNLP | manuelguido | Vue | Code | 631 | 2,584 | <template>
<!-- Step 1 -->
<div class="step-content animated">
<!-- Row -->
<div class="row justify-content-center">
<!-- Main title -->
<div
class="col-lg-10 d-flex justify-content-between align-items-baseline"
>
<dashboard-title :text="title" colored></dashboard-title>
... | 10,452 |
https://github.com/arangodb/arangodb/blob/master/3rdParty/boost/1.78.0/boost/parameter/aux_/preprocessor/impl/split_args.hpp | Github Open Source | Open Source | BSL-1.0, Apache-2.0, BSD-3-Clause, ICU, Zlib, GPL-1.0-or-later, OpenSSL, ISC, LicenseRef-scancode-gutenberg-2020, MIT, GPL-2.0-only, CC0-1.0, LicenseRef-scancode-autoconf-simple-exception, LicenseRef-scancode-pcre, Bison-exception-2.2, LicenseRef-scancode-public-domain, JSON, BSD-2-Clause, LicenseRef-scancode-unknown-l... | 2,023 | arangodb | arangodb | C++ | Code | 183 | 1,116 | // Copyright Daniel Wallin 2006.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#ifndef BOOST_PARAMETER_AUX_PREPROCESSOR_IMPL_SPLIT_ARGS_HPP
#define BOOST_PARAMETER_AUX_PREPROCESSOR_IMPL_SPLIT_ARGS_HPP
#includ... | 46,293 |
https://github.com/scottTomaszewski/TimelyTextView/blob/master/timelytextview/src/main/java/com/github/adnansm/timelytextview/model/Char.java | Github Open Source | Open Source | Apache-2.0 | 2,014 | TimelyTextView | scottTomaszewski | Java | Code | 32 | 150 | package com.github.adnansm.timelytextview.model;
import android.util.Log;
import com.github.adnansm.timelytextview.model.chars.A;
import com.github.adnansm.timelytextview.model.chars.B;
import com.github.adnansm.timelytextview.svg.SvgPath;
public class Char {
public static SvgPath pathOf(char c) {
Log.d(... | 34,075 |
https://github.com/Epsilon-Not/ado-report-extension/blob/master/node_modules/azure-devops-extension-api/FileContainer/index.d.ts | Github Open Source | Open Source | MIT | null | ado-report-extension | Epsilon-Not | TypeScript | Code | 8 | 18 | export * from "./FileContainer";
export * from "./FileContainerClient";
| 48,452 |
https://github.com/Ivan-Shestakov/CM-Well/blob/master/server/cmwell-bg/src/main/scala/cmwell/bg/imp/CommandsSource.scala | Github Open Source | Open Source | Apache-2.0 | null | CM-Well | Ivan-Shestakov | Scala | Code | 464 | 1,508 | /**
* Copyright 2015 Thomson Reuters
*
* 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... | 3,442 |
https://github.com/corewar/corewar.io/blob/master/packages/corewar/test/parser/integration/warriors/ICWS-88/drdeath.red | Github Open Source | Open Source | MIT | 2,021 | corewar.io | corewar | null | Spoken | 177 | 541 | ;Dr. Death
;by A. K. Dewdney
;Canada
;
START SPL PARTA
SPL PARTB
PTR SPL PARTC
TOP MOV # 0, PTR
ZAP MOV PTR, BOMB
SPAWNA JMP TOP
PARTA MOV # 0, @ ... | 40,712 |
https://github.com/ninedragon/nis/blob/master/src/main/webapp/woodare/js/svghelper.js | Github Open Source | Open Source | MIT | 2,018 | nis | ninedragon | JavaScript | Code | 2,282 | 9,387 |
var SVG_HELPER = (function() {
var iv = 10;
function drawSvg(svgModelData, el) {
$("#Snap_Layer").remove();
d3.namespace("xmlns:cge","http://iec.ch/TC57/2005/SVG-schema#");
var svgSnap = d3.select(el || "body").append("svg");
svgSnap.attr("width", 6000)
.attr("height", 1200)
.attr("xmlns", "http://www.w3.... | 4,684 |
https://github.com/julioserpone/epiko-framework/blob/master/src/Product/Models/ProductPictures.php | Github Open Source | Open Source | MIT | 2,020 | epiko-framework | julioserpone | PHP | Code | 150 | 344 | <?php
/*
* This file is part of the Epikfy Shop package.
*
* (c) Julio Hernández <juliohernandezs@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Epikfy\Product\Models;
use Illuminate\Database\Eloquent\Model... | 55,692 |
https://github.com/sreekanth370/presto/blob/master/presto-jmx/src/main/java/com/facebook/presto/connector/jmx/JmxConnectorConfig.java | Github Open Source | Open Source | Apache-2.0 | 2,022 | presto | sreekanth370 | Java | Code | 235 | 736 | /*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribut... | 52,179 |
https://github.com/pderakhshanfar/EMSE-BBC-experiment/blob/master/tests-without-trycatch/Time-7/org.joda.time.format.DateTimeFormatter/BBC-F0-opt-60/14/org/joda/time/format/DateTimeFormatter_ESTest.java | Github Open Source | Open Source | CC-BY-4.0, MIT | 2,022 | EMSE-BBC-experiment | pderakhshanfar | Java | Code | 20,000 | 150,112 | /* * This file was automatically generated by EvoSuite * Thu Oct 21 23:13:27 GMT 2021 */ package org.joda.time.format; import org.junit.Test; import static org.junit.Assert.*; import static org.evosuite.shaded.org.mockito.Mockito.*; import static org.evosuite.runtime.EvoAssertions.*; import java.io.BufferedOutputStream... | 37,926 |
https://github.com/claytonfbell/mnw-automation/blob/master/src/renderer/components/ExportToMailChimp/models/MailChimpAddress.ts | Github Open Source | Open Source | MIT | null | mnw-automation | claytonfbell | TypeScript | Code | 17 | 43 | export interface MailChimpAddress {
addr1: string
addr2: string
city: string
state: string
zip: string
country: string
}
| 9,114 |
https://github.com/itsoulltd/WebComponentKit/blob/master/LedgerBook/src/main/java/com/itsoul/lab/generalledger/exception/BusinessException.java | Github Open Source | Open Source | BSD-4-Clause, BSD-2-Clause | 2,022 | WebComponentKit | itsoulltd | Java | Code | 34 | 81 | package com.itsoul.lab.generalledger.exception;
/**
* Base type for recoverable business exceptions.
*
*
*/
public abstract class BusinessException extends RuntimeException {
private static final long serialVersionUID = 1L;
protected BusinessException(String message) {
super(message);
}
}
| 15,634 |
https://github.com/cubonacci/mixed-anomaly/blob/master/test/isolation/test_node.py | Github Open Source | Open Source | Apache-2.0 | 2,021 | mixed-anomaly | cubonacci | Python | Code | 48 | 176 | from anomaly.isolation.split_rule import CategoricalSplitRule
from anomaly.isolation.node import Node
def test_node(pandas_dataframe):
node = Node(data=pandas_dataframe, depth=0)
categorical_split_rule = CategoricalSplitRule(column="string", categories_left=["a"])
assert node.terminal()
assert node.le... | 31,542 |
https://github.com/conduongsang/cds/blob/master/public/backend/plugins/ckfinder/core/connector/php/vendor/microsoft/windowsazure/WindowsAzure/MediaServices/MediaServicesRestProxy.php | Github Open Source | Open Source | MIT | null | cds | conduongsang | PHP | Code | 3,049 | 11,327 | <?php
/**
* LICENSE: Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
*... | 31,530 |
https://github.com/jiangwennn/x7sdk-php/blob/master/src/X7/Utils/Json.php | Github Open Source | Open Source | MIT | null | x7sdk-php | jiangwennn | PHP | Code | 34 | 112 | <?php
namespace X7\Utils;
/**
* Json工具
*/
class Json
{
public static function encode($data)
{
return json_encode($data, JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES);
}
public static function decode($json, $isAssoc = true)
{
return json_decode($json, $isAssoc);
}
} | 54,725 |
https://github.com/Ebookcoin/ebookchain.org/blob/master/app/templates/components/ebc-vivus.hbs | Github Open Source | Open Source | MIT | 2,016 | ebookchain.org | Ebookcoin | null | Spoken | 5 | 36 | <object id="ebookchain-logo" data="images/ebookchain.svg" type="image/svg+xml" class="img-responsive"></object>
| 3,300 |
https://github.com/Felicia56/cpluspluscourse/blob/master/code/polymorphism/Makefile | Github Open Source | Open Source | Apache-2.0 | null | cpluspluscourse | Felicia56 | Makefile | Code | 54 | 198 | all: trypoly
solution: trypoly.sol
clean:
rm -f *o *so trypoly *~ trypoly.sol
libpoly.so: Polygons.cpp Polygons.hpp
$(CXX) -Wsuggest-override -g -Wall -Wextra -Wc++11-extensions -std=c++11 -shared -fPIC -o $@ $<
trypoly : trypoly.cpp libpoly.so
$(CXX) -v -Wsuggest-override -g -Wall -Wextra -Wc++11-extensions -std... | 41,072 |
https://github.com/lumaxis/mobile-center-cli/blob/master/src/commands/test/run/appium.ts | Github Open Source | Open Source | MIT | 2,016 | mobile-center-cli | lumaxis | TypeScript | Code | 104 | 329 | import { CommandArgs, help, name, longName, hasArg, ErrorCodes } from "../../../util/commandLine";
import { RunTestsCommand } from "../lib/run-tests-command";
import { AppiumPreparer } from "../lib/appium-preparer";
import { parseTestParameters } from "../lib/parameters-parser";
import { parseIncludedFiles } from "../l... | 26,206 |
https://github.com/Yoimer/AFR_ESP32_FreeRTOS_V202007/blob/master/vendors/espressif/esp-idf/components/wpa_supplicant/src/wpa2/eap_peer/chap.c | Github Open Source | Open Source | MIT | 2,021 | AFR_ESP32_FreeRTOS_V202007 | Yoimer | C | Code | 64 | 228 | /*
* CHAP-MD5
*
*/
#ifdef CHAP_MD5
#include "wpa/includes.h"
#include "wpa/common.h"
#include "crypto/crypto.h"
#include "wpa2/eap_peer/chap.h"
int chap_md5(u8 id, const u8 *secret, size_t secret_len, const u8 *challenge,
size_t challenge_len, u8 *response)
{
const u8 *addr[3];
size_t len[3];
addr[0] = &... | 25,457 |
https://github.com/joseignaciorm/wp-themes-test/blob/master/footer.php | Github Open Source | Open Source | MIT | 2,019 | wp-themes-test | joseignaciorm | PHP | Code | 143 | 580 | <?php
/**
* The template for displaying the footer
*
* Contains the closing of the "off-canvas-wrap" div and all content after.
*
* @package FoundationPress
* @since FoundationPress 1.0.0
*/
?>
<footer class="grid-container full footer-container">
<section class="grid-container main__footer__section M-t-b">
... | 32,483 |
https://github.com/jjh13/sisl/blob/master/doc/html/search/variables_3.js | Github Open Source | Open Source | MIT | 2,017 | sisl | jjh13 | JavaScript | Code | 5 | 61 | var searchData=
[
['p',['p',['../structsisl_1_1vertex3.html#aa67a470e2653f995cc2f20da7551e80a',1,'sisl::vertex3']]]
];
| 10,152 |
https://github.com/Dwarvesforge/thorin/blob/master/tests/functions/array/array_nthTest.php | Github Open Source | Open Source | MIT | null | thorin | Dwarvesforge | PHP | Code | 25 | 90 | <?php
declare(strict_types=1);
use PHPUnit\Framework\TestCase;
final class t_array_nth extends TestCase
{
public function testArrayNth() {
$res = Thorin::array_nth([1, 2, 3, 4], 2);
$this->assertEquals($res, 3);
}
}
| 31,018 |
https://github.com/jwinnie/odi/blob/master/test/respositories/repository.loader.test.ts | Github Open Source | Open Source | MIT | null | odi | jwinnie | TypeScript | Code | 101 | 333 | import { expect } from 'chai';
import { RepositoryLoader } from "../../src/respositories/repository.loader";
import { getDependencyComposer } from "../utils/di.utils";
import { RepoMock } from './repository.decorator.test';
import DependencyComposer from '../dependency/dependency.composer';
let dependencyComposer: De... | 29,235 |
https://github.com/OlivierLD/AstroComputer/blob/master/src/test/java/astro/MoonTiltTest.java | Github Open Source | Open Source | Apache-2.0 | null | AstroComputer | OlivierLD | Java | Code | 163 | 763 | package astro;
import calc.GeomUtil;
import calc.calculation.AstroComputer;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.TimeZone;
/**
* Compare two versions of the moon tilt calculation
*/
public class MoonTiltTest {
private final static SimpleDateFormat SDF_UTC = new Simple... | 35,681 |
https://github.com/vikiana/ShenkuuWarriorII/blob/master/common-snapshot/src/com/neopets/games/marketing/destination/despicableMe/widgets/TriviaCallButton2.as | Github Open Source | Open Source | MIT | 2,017 | ShenkuuWarriorII | vikiana | null | Spoken | 144 | 570 | /**
* This class handles trivia pop up request buttons.
*
* @langversion ActionScript 3.0
* @playerversion Flash 9.0
* @author David Cary
* @since 04.09.2010
*/
// This old version of this class had a bug and caused a #1034 error
package com.neopets.games.marketing.destination.despicableMe.widgets
{
//---... | 8,646 |
https://github.com/linmasaki/AspNetCore.OAuth.Line/blob/master/src/LineAuthenticationHandler.cs | Github Open Source | Open Source | Apache-2.0 | 2,021 | AspNetCore.OAuth.Line | linmasaki | C# | Code | 554 | 1,889 | using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Security.Claims;
using System.Text.Encodings.Web;
using System.Text.Json;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Authentication.OAuth;
using Mi... | 14,672 |
https://github.com/bpoole6/movie-app/blob/master/src/main/java/com/movie/movieapp/repo/MovieTitleTokenRepository.java | Github Open Source | Open Source | Apache-2.0 | 2,021 | movie-app | bpoole6 | Java | Code | 29 | 183 | package com.movie.movieapp.repo;
import com.movie.movieapp.entity.Movie;
import com.movie.movieapp.entity.MovieTitleToken;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data... | 28,899 |
https://github.com/fhdns/ConwayGameOfLife/blob/master/SRC/ConwayGame_d3d/main.cpp | Github Open Source | Open Source | MIT | null | ConwayGameOfLife | fhdns | C++ | Code | 2,220 | 8,722 | #include <windows.h>
#include <d3d11.h>
#include <d3dx11.h>
#include <d3dcompiler.h>
//#include <xnamath.h>
#include "resource.h"
#include <vector>
#include "Game.h"
#include "GlobalStructures.h"
// --------------------------------------
#define M_PI 3.1416
// --------------------------------------
#define WINDOW_SIZE... | 24,283 |
https://github.com/xiaoxiongke/make-friends-mini/blob/master/uview-ui/components/u-checkbox/u-checkbox.js | Github Open Source | Open Source | Unlicense | 2,022 | make-friends-mini | xiaoxiongke | JavaScript | Code | 612 | 1,935 | (global.webpackJsonp = global.webpackJsonp || []).push([ [ "uview-ui/components/u-checkbox/u-checkbox" ], {
"0e85": function(e, t, i) {
i.r(t);
var n = i("ca24"), a = i("d7c1");
for (var s in a) "default" !== s && function(e) {
i.d(t, e, function() {
return a[e];
... | 43,613 |
https://github.com/emurray2/DevoloopAudioKit/blob/master/Sources/DevoloopAudioKit/DynaRageCompressor.swift | Github Open Source | Open Source | MIT | 2,021 | DevoloopAudioKit | emurray2 | Swift | Code | 409 | 1,100 | // Copyright AudioKit. All Rights Reserved.
import AVFoundation
import AudioKit
import AudioKitEX
import CAudioKitEX
/// DynaRage Tube Compressor | Based on DynaRage Tube Compressor RE for Reason
/// by Devoloop Srls
///
public class DynaRageCompressor: Node {
let input: Node
/// Connected nodes
pub... | 48,039 |
https://github.com/marvins/LLNMS/blob/master/docs/use-cases/Makefile | Github Open Source | Open Source | MIT | null | LLNMS | marvins | Makefile | Code | 4 | 30 | network-monitor-use-case.pdf: network-monitor-use-case.tex
pdflatex $<
| 33,193 |
https://github.com/fracturesfei/angulardemo/blob/master/node_modules/less/test/less-bom/sourcemaps-empty/var-defs.less | Github Open Source | Open Source | MIT | 2,022 | angulardemo | fracturesfei | Less | Code | 2 | 11 | @test-var: 'something'; | 43,525 |
https://github.com/status-im/packages-check-bot/blob/master/src/dependency-check-gopkg.ts | Github Open Source | Open Source | 0BSD | 2,019 | packages-check-bot | status-im | TypeScript | Code | 598 | 1,930 | import { Context } from 'probot' // eslint-disable-line no-unused-vars
import toml from 'toml'
import { AnalysisResult } from './analysis-result'
import { createAnnotation } from './annotation-result'
import { AnnotationSource } from './annotation-source'
import { Dependency, GitRefType } from './dependency'
type Raw... | 1,935 |
https://github.com/Arrfaylloordss/scgicxx/blob/master/src/include/http_request.hpp | Github Open Source | Open Source | BSL-1.0 | 2,017 | scgicxx | Arrfaylloordss | C++ | Code | 69 | 217 | #pragma once
#include "detail/string_view.hpp"
#undef DELETE
namespace scgicxx
{
struct http_request
{
enum method_enum
{
UNKNOWN = 0,
GET,
POST,
PUT,
DELETE
};
http_request(): method(UNKNOWN)
{
}
void set_method(const string_view &str);
bool... | 3,756 |
https://github.com/scott2b/Starlight/blob/master/app/messages.py | Github Open Source | Open Source | MIT | null | Starlight | scott2b | Python | Code | 147 | 329 | """
Simple session messages implementation. Requires that the request object
have a session. For most frameworks, this will be a dictionary-like session
set on the request object in session middleware.
Usage:
* call add_message to add a session message to be displayed to the user
* call clear_messages in the tem... | 51,797 |
https://github.com/gregkrsak/first_nes/blob/master/lib/shared_code/cpu.inc | Github Open Source | Open Source | Unlicense | 2,023 | first_nes | gregkrsak | Assembly | Code | 289 | 665 | ;
; first_nes
; lib/shared_code/cpu.inc
;
; CPU-Related assembler directives for Nintendo Entertainment System assembly language.
;
; Written by Greg M. Krsak <greg.krsak@gmail.com>, 2018
;
; Based on the NintendoAge "Nerdy Nights" tutorials, by bunnyboy:
; http://nintendoage.com/forum/messageview.cfm?catid=22&thread... | 56,581 |
https://github.com/MarcoMadera/Blog/blob/master/pages/blog/etiqueta/[tag].tsx | Github Open Source | Open Source | MIT | 2,021 | Blog | MarcoMadera | TypeScript | Code | 163 | 413 | import { getTagData, getTagsSlugs } from "lib/posts";
import slugify from "react-slugify";
import HomeLayout from "layouts/Home";
import { ReactElement } from "react";
import { HomeData } from "types/posts";
import { GetStaticPaths, GetStaticProps } from "next";
import Custom404 from "pages/404";
export default functi... | 36,350 |
https://github.com/5GApp/nebula/blob/master/src/jni/src/datamanlite/RowReader.h | Github Open Source | Open Source | Apache-2.0, LicenseRef-scancode-commons-clause | 2,020 | nebula | 5GApp | C++ | Code | 1,020 | 3,037 | /* Copyright (c) 2019 vesoft inc. All rights reserved.
*
* This source code is licensed under Apache 2.0 License,
* attached with Common Clause Condition 1.0, found in the LICENSES directory.
*/
#ifndef DATAMAN_CODEC_ROWREADER_H_
#define DATAMAN_CODEC_ROWREADER_H_
#include <vector>
#include <gtest/gtest_prod.h>
#... | 11,806 |
https://github.com/JamesEggers1/node-DateValidator/blob/master/tests/date-validator-tests.js | Github Open Source | Open Source | MIT | 2,019 | node-DateValidator | JamesEggers1 | JavaScript | Code | 639 | 1,940 | "use strict";
var mocha = require("mocha")
, should = require("should")
, validator = require("../src/date-validator");
describe("Date Validator", function(){
describe("Happy Path", function(){
it("should return true with a valid date.", function(){
var year = "2012"
, month = "01"
, day = "01";
... | 55,304 |
https://github.com/asu-cactus/lachesis/blob/master/src/storage/source/PDBFlushConsumerWork.cc | Github Open Source | Open Source | Apache-2.0, LicenseRef-scancode-public-domain, BSD-3-Clause | 2,021 | lachesis | asu-cactus | C++ | Code | 390 | 1,280 | #include "PDBDebug.h"
#include "PDBFlushConsumerWork.h"
#include "PageCircularBuffer.h"
#include <chrono>
#include <ctime>
#include <fcntl.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
PDBFlushConsumerWork::PDBFlushConsumerWork(FilePartitionID partitionId,
... | 3,484 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.