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/pwang7/rtl/blob/master/spinal-rtl/src/main/scala/spinal/exercises/StreamDemoSim.scala | Github Open Source | Open Source | MIT | null | rtl | pwang7 | Scala | Code | 116 | 525 | package spinal.exercises
import spinal.sim._
import spinal.core._
import spinal.core.sim._
object StreamDemoSim extends App {
val CNT_WIDTH = 4
val CNT_MAX = scala.math.pow(2, CNT_WIDTH).toInt - 1
def runSimulation(dut: StreamBase[UInt], hasClk: Boolean = true): Unit = {
if (hasClk) dut.clockDomain.forkS... | 8,969 |
https://github.com/NathanielLLally/gekko/blob/master/plugins/PGAdapter/PGAhandle.js | Github Open Source | Open Source | MIT | null | gekko | NathanielLLally | JavaScript | Code | 74 | 207 | const util = require('../../core/util.js')
, dirs = util.dirs()
, config = util.getConfig()
, log = require(dirs.core + 'log')
, pg = require('pg')
;
var _singleton = null;
var _handlePool = null;
var _handlePoolPostgres = null;
class PGAhandle {
static getInstance() {
if (_singleton == null)
try ... | 16,594 |
https://github.com/jptiancai/learn-nodejs-the-hard-way/blob/master/sources/chap4/sec5/httpresponse.js | Github Open Source | Open Source | Apache-2.0 | null | learn-nodejs-the-hard-way | jptiancai | JavaScript | Code | 21 | 86 | //httpresponse.js
var http = require('http');
var req = http.get({host: 'www.byvoid.com'});
req.on('response', function(res) {
res.setEncoding('utf8');
res.on('data', function (data) {
console.log(data);
});
});
| 10,416 |
https://github.com/TeamSwagslist/SwagslistiOS/blob/master/Swagslist/Utilities.swift | Github Open Source | Open Source | MIT | null | SwagslistiOS | TeamSwagslist | Swift | Code | 469 | 1,568 | //
// Utilities.swift
// VocabCrack-iOS
//
// Created by aidancbrady on 12/3/14.
// Copyright (c) 2014 aidancbrady. All rights reserved.
//
import UIKit
class Utilities
{
class func displayAlert(controller:UIViewController, title:String, msg:String, action:((UIAlertAction) -> Void)?)
{
let alertCo... | 7,120 |
https://github.com/jonassignoreti/Python-CursoemVideo/blob/master/venv/Exercises/ex036.py | Github Open Source | Open Source | MIT | null | Python-CursoemVideo | jonassignoreti | Python | Code | 110 | 247 | '''Escreva um programa para aprovar o empréstimo bancário para a compra de uma casa.
O Programa vai perguntar o valor da casa, o salário do comprador e em quantos anos ele vai pagar.
Calcule o valor da prestação mensal, sabendo que ela não pode exceder 30% do salário ou então o empréstimo será negado'''
valor = float(i... | 8,337 |
https://github.com/codewithcats/rekit/blob/master/packages/rekit-studio/src/features/plugin-node/core/page.js | Github Open Source | Open Source | MIT | 2,018 | rekit | codewithcats | JavaScript | Code | 161 | 636 | const _ = require('lodash');
const path = require('path');
const fs = require('fs');
const { vio, template, paths, config } = rekit.core;
function add(name, args) {
name = _.kebabCase(name);
const appName = config.getPkgJson().name;
const tplDir = path.join(__dirname, './templates/page');
const tplFiles = fs.r... | 44,996 |
https://github.com/Raggaman-dot/multibit-hd/blob/master/mbhd-core/src/main/java/org/multibit/hd/core/files/EncryptedFileListItem.java | Github Open Source | Open Source | LicenseRef-scancode-unknown-license-reference, MIT | 2,021 | multibit-hd | Raggaman-dot | Java | Code | 38 | 113 | package org.multibit.hd.core.files;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
/**
* Created by Keepkey on 10/10/16.
*/
public abstract class EncryptedFileListItem extends File {
public EncryptedFileListItem (String path){
super(path);
}
abstract public bool... | 46,156 |
https://github.com/HPC-certification-forum/curriculum/blob/master/modeling/visualization/skillTreeConversion/skillList.py | Github Open Source | Open Source | GPL-3.0-only, MIT | 2,019 | curriculum | HPC-certification-forum | Python | Code | 1,100 | 2,872 | # Copyright 2018 Nathanael Hübbe
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in th... | 24,421 |
https://github.com/DimitriOstapenko/emr/blob/master/db/migrate/20180202092215_add_index_to_doctors.rb | Github Open Source | Open Source | Beerware, LicenseRef-scancode-unknown-license-reference, MIT | 2,023 | emr | DimitriOstapenko | Ruby | Code | 11 | 43 | class AddIndexToDoctors < ActiveRecord::Migration[5.1]
def change
add_index :doctors, :provider_no
end
end
| 18,846 |
https://github.com/bryanbraun/checkboxland/blob/master/src/index.js | Github Open Source | Open Source | MIT | 2,022 | checkboxland | bryanbraun | JavaScript | Code | 49 | 199 | import { Checkboxland } from './checkboxland.js';
import print from './plugins/print/print.js';
import marquee from './plugins/marquee.js';
import transitionWipe from './plugins/transitionWipe.js';
import dataUtils from './plugins/dataUtils.js';
import onClick from './plugins/onClick.js';
import renderImage from './plu... | 35,890 |
https://github.com/chenzongxiong/streambox/blob/master/Kaskade/tutorial/cardio/myamiragrid.hh | Github Open Source | Open Source | Unlicense | 2,021 | streambox | chenzongxiong | C++ | Code | 725 | 2,457 | #ifndef MYAMIRAGRID_HH
#define MYAMIRAGRID_HH
#include <amiramesh/AmiraMesh.h>
/**
* \cond internals
*/
namespace {
template <class value_type> struct TypeId {};
template <> struct TypeId<unsigned char> { static int const id = HxBYTE; };
template <> struct TypeId<int> { static int const i... | 2,776 |
https://github.com/live-long-and-prosper/oremda/blob/master/operators/crop2d/run.py | Github Open Source | Open Source | BSD-3-Clause | 2,021 | oremda | live-long-and-prosper | Python | Code | 75 | 224 | from typing import Dict
from oremda import operator
from oremda.typing import JSONType, PortKey, RawPort
@operator
def crop2d(
inputs: Dict[PortKey, RawPort], parameters: JSONType
) -> Dict[PortKey, RawPort]:
image = inputs["image"].data
bounds = parameters.get("bounds")
if image is None:
r... | 36,887 |
https://github.com/dotnet/samples/blob/master/core/mono-samples/iOS/iOSSampleApp.cs | Github Open Source | Open Source | CC-BY-4.0, MIT | 2,023 | samples | dotnet | C# | Code | 165 | 459 | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using System.Threading;
using System.Threading.Tasks;
using System.Runtime.InteropServices;
public static class iOSSampleApp
{
// Defined in main.m
[DllImport(... | 9,078 |
https://github.com/bensampaio/moodle-local_applications/blob/master/error.php | Github Open Source | Open Source | MIT | null | moodle-local_applications | bensampaio | PHP | Code | 51 | 294 | <?php
/**
* Applications Error Page
* @copyright 2012 Bruno Sampaio
*/
require_once('../../config.php');
require_once('lib.php');
$site = get_site();
$strapplications = get_string('applications', 'local_applications');
$strerror = get_string('error-application', 'local_applications');
$PAGE->set_pagelayout('admi... | 25,594 |
https://github.com/mariopino/edgeware-validator-ranking/blob/master/plugins/vue-typed-text.js | Github Open Source | Open Source | Apache-2.0 | 2,021 | edgeware-validator-ranking | mariopino | JavaScript | Code | 9 | 35 | import Vue from 'vue'
import VueTyping from 'vue-typed-text'
Vue.use(VueTyping)
| 33,966 |
https://github.com/760524mkfa00/afg/blob/master/app/Http/Requests/InvoiceRequest.php | Github Open Source | Open Source | MIT | 2,016 | afg | 760524mkfa00 | PHP | Code | 71 | 182 | <?php
namespace AFG\Http\Requests;
use AFG\Http\Requests\Request;
class InvoiceRequest extends Request
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
}
/**
* Get the validation rule... | 36,341 |
https://github.com/Stonepia/pytorch/blob/master/torch/package/__init__.py | Github Open Source | Open Source | Intel | 2,021 | pytorch | Stonepia | Python | Code | 20 | 75 | from .importer import (
Importer,
ObjMismatchError,
ObjNotFoundError,
OrderedImporter,
sys_importer,
)
from .package_exporter import DeniedModuleError, EmptyMatchError, PackageExporter
from .package_importer import PackageImporter
| 5,749 |
https://github.com/estruyf/vsts-file-creator/blob/master/node_modules/json-lexer/index.js | Github Open Source | Open Source | MIT | 2,020 | vsts-file-creator | estruyf | JavaScript | Code | 892 | 1,926 | function abort (message) {
var text = 'Parsing error'
if (message) text += ': ' + message
throw new Error(text)
}
var unescapes = {
'\\': '\\',
'"': '"',
'/': '/',
'b': '\b',
't': '\t',
'n': '\n',
'f': '\f',
'r': '\r'
}
function lex (source) {
var result = []
var index = 0
var token = lexS... | 38,882 |
https://github.com/gmalette/swc/blob/master/crates/swc/tests/tsc-references/privateNameComputedPropertyName4_es5.1.normal.js | Github Open Source | Open Source | Apache-2.0 | 2,022 | swc | gmalette | JavaScript | Code | 196 | 560 | function _classCallCheck(instance, Constructor) {
if (!(instance instanceof Constructor)) {
throw new TypeError("Cannot call a class as a function");
}
}
function _defineProperties(target, props) {
for(var i = 0; i < props.length; i++){
var descriptor = props[i];
descriptor.enumerabl... | 28,576 |
https://github.com/regunathb/aesop/blob/master/blocking-bootstrap-producers/blocking-bootstrap-mysql-producer/src/main/java/com/flipkart/aesop/bootstrap/mysql/MysqlEvent.java | Github Open Source | Open Source | Apache-2.0 | 2,017 | aesop | regunathb | Java | Code | 77 | 194 | package com.flipkart.aesop.bootstrap.mysql;
import com.flipkart.aesop.event.AbstractEvent;
/* This is a wrapper class for Abstract Event and SCN. This is to track SCNs with each
* generated event .
*/
public class MysqlEvent
{
/* Associated SCN of the Transformed Source Event */
private long scn;
/* Ab... | 26,560 |
https://github.com/Cloudhunter/WYML/blob/master/forge/src/main/java/net/creeperhost/wyml/forge/WymlModForge.java | Github Open Source | Open Source | BSD-4-Clause, BSD-2-Clause | 2,021 | WYML | Cloudhunter | Java | Code | 31 | 211 | package net.creeperhost.wyml.forge;
import net.creeperhost.wyml.WhyYouMakeLag;
import org.apache.commons.lang3.tuple.Pair;
import net.minecraftforge.fml.ExtensionPoint;
import net.minecraftforge.fml.ModLoadingContext;
import net.minecraftforge.fml.common.Mod;
import net.minecraftforge.fml.network.FMLNetworkConstants;
... | 40,016 |
https://github.com/earndero/lisper/blob/master/Java/src/Value.java | Github Open Source | Open Source | Apache-2.0 | null | lisper | earndero | Java | Code | 3,527 | 8,905 | import java.io.PrintWriter;
import java.math.BigInteger;
import java.util.ArrayList;
import java.util.List;
import java.util.Locale;
public class Value {
static final String STRING_TYPE = "string";
static final String INT_TYPE = "int";
static final String FLOAT_TYPE = "float";
static final String UNIT_... | 5,705 |
https://github.com/TheIncredibleK/SpaceMan64/blob/master/Source Code/Assets/Standard Assets.meta | Github Open Source | Open Source | MIT | 2,019 | SpaceMan64 | TheIncredibleK | Unity3D Asset | Code | 14 | 68 | fileFormatVersion: 2
guid: 0d8e329bf4227dd4894a3a1cea828188
folderAsset: yes
timeCreated: 1485816875
licenseType: Free
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:
| 9,036 |
https://github.com/metux/chromium-suckless/blob/master/media/midi/midi_message_util.cc | Github Open Source | Open Source | BSD-3-Clause | 2,017 | chromium-suckless | metux | C++ | Code | 149 | 390 | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/logging.h"
#include "media/midi/midi_message_util.h"
namespace media {
namespace midi {
size_t GetMidiMessageLength(uint8_t status_byte) ... | 48,791 |
https://github.com/randolphwong/mcsema/blob/master/llvm-3.5/test/CodeGen/ARM/floorf.ll | Github Open Source | Open Source | BSD-3-Clause | 2,022 | mcsema | randolphwong | LLVM | Code | 102 | 260 | ; RUN: llc -mtriple=arm-unknown-unknown < %s | FileCheck %s
; CHECK: test1
define float @test1() nounwind uwtable readnone ssp {
; CHECK-NOT: floorf
%foo = call float @floorf(float 0x4000CCCCC0000000) nounwind readnone
ret float %foo
}
; CHECK: test2
define float @test2() nounwind uwtable readnone ssp {
; CHECK-N... | 27,962 |
https://github.com/jmullings/react-crossfilter/blob/master/src/stylesheets/index.scss | Github Open Source | Open Source | Apache-2.0 | 2,017 | react-crossfilter | jmullings | SCSS | Code | 126 | 316 | body {
margin: 0;
padding: 0;
font-family: sans-serif;
}
.bubble-chart-container {
flex: 1;
position: relative;
display: flex;
user-select: none;
justify-content: center;
.bubble-chart-text {
/* Center text in the circle, and hide any overflow */
.bubble-label {
text-align: center;
... | 42,083 |
https://github.com/jalxes/midimonster/blob/master/backends/midi.c | Github Open Source | Open Source | BSD-2-Clause | null | midimonster | jalxes | C | Code | 929 | 3,494 | #include <string.h>
#include <alsa/asoundlib.h>
#include "midi.h"
#define BACKEND_NAME "midi"
static snd_seq_t* sequencer = NULL;
typedef union {
struct {
uint8_t pad[5];
uint8_t type;
uint8_t channel;
uint8_t control;
} fields;
uint64_t label;
} midi_channel_ident;
/*
* TODO
* Optionally send note-off ... | 29,909 |
https://github.com/Benocs/core/blob/master/src/daemon/bin/core-exec-all | Github Open Source | Open Source | BSD-3-Clause, BSD-2-Clause, LicenseRef-scancode-unknown-license-reference | 2,016 | core | Benocs | Shell | Code | 113 | 252 | #!/bin/bash
#
# core-exec-all - execute commands within all virtual nodes
#
# Copyright (c) 2014 Benocs GmbH
#
# author: Robert Wuttke <robert@benocs.com>
#
# See the LICENSE file included in this distribution.
#
set -e
usage() {
echo "usage: $0 <session> <imune> <cmd> [timeout]"
exit 1
}
[ -z "$1" ] && usa... | 29,948 |
https://github.com/Nabil5352/blog-demo/blob/master/src/layouts/layout.js | Github Open Source | Open Source | RSA-MD | null | blog-demo | Nabil5352 | JavaScript | Code | 87 | 278 | import React from "react"
import { StaticQuery } from "gatsby"
import Header from "../components/header"
import Footer from "../components/footer"
import { rhythm } from "../utils/typography"
const Layout = ({ children }) => {
const rootPath = `${__PATH_PREFIX__}/`
return (
<StaticQuery
query={graphql... | 24,654 |
https://github.com/tcaabv/Node-Typescript-Realtime-Starter/blob/master/src/controllers/user.action.controller.ts | Github Open Source | Open Source | MIT | 2,018 | Node-Typescript-Realtime-Starter | tcaabv | TypeScript | Code | 76 | 260 | import {
systemUserService,
userService, UserService,
facebookUserService,
googleUserService,
clientService,
customerService
} from "../services";
export class UAController {
constructor() {
}
// Use Proxy to broke acceess to puppeteer Page class
static async build() {
try {
const controller:a... | 29,239 |
https://github.com/JULIELab/jcore-dependencies/blob/master/jcore-mallet-0.4/src/main/java/edu/umass/cs/mallet/projects/seg_plus_coref/condclust/types/NodeClusterPair.java | Github Open Source | Open Source | BSD-2-Clause, CPL-1.0 | 2,023 | jcore-dependencies | JULIELab | Java | Code | 313 | 691 | /* Copyright (C) 2002 Dept. of Computer Science, Univ. of Massachusetts, Amherst
This file is part of "MALLET" (MAchine Learning for LanguagE Toolkit).
http://www.cs.umass.edu/~mccallum/mallet
This program toolkit free software; you can redistribute it and/or
modify it under the terms of the GNU General P... | 33,645 |
https://github.com/Tback1/tdb/blob/master/tdb_000544.tsv | Github Open Source | Open Source | Unlicense | 2,021 | tdb | Tback1 | TSV | Code | 20,000 | 131,061 | 00d273d282eec42ffcf3350d115b763b37782134 26460246 1 [岬ゆきひろ] 痴感エクスプレス 1[中国翻訳].zip 007922d6168808713fe82936f453bced0fafef64 1610166370 27 1219-1 00a368f49c99d0445733b4ca3d764916a3cf8e7c 642078616 1 Arianna Jay - Hard sexual impact for Arianna Jay.1280x720.mp4 006502e21cd2b476dcd58e0eee22135ef9293280 1530922309 9 ktra-114... | 1,943 |
https://github.com/ks3sdklib/ks3sdk-c-/blob/master/KS3/Model/ListBucketsRequest.cs | Github Open Source | Open Source | Unlicense | 2,021 | ks3sdk-c- | ks3sdklib | C# | Code | 19 | 56 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace KS3.Model
{
public class ListBucketsRequest : KS3Request
{
}
}
| 45,379 |
https://github.com/christensonb/Seaborn/blob/master/seaborn/parse_doc/parse_doc.py | Github Open Source | Open Source | MIT | 2,018 | Seaborn | christensonb | Python | Code | 525 | 1,400 | """ This module is to provide support for auto parsing function doc.
It looks for the text in the doc string after :: but before :param
It relies on the seaborn.callingfunction
"""
__author__ = 'Ben Christenson'
__date__ = "11/02/15"
from seaborn import datetime
from seaborn import function_doc
def parse... | 45,122 |
https://github.com/nettrom/Wiki-Class/blob/master/wikiclass/extractors/extractor.py | Github Open Source | Open Source | MIT | 2,017 | Wiki-Class | nettrom | Python | Code | 464 | 1,304 | """
.. autoclass:: wikiclass.Extractor
:members:
.. autoclass:: wikiclass.TemplateExtractor
:members:
:inherited-members:
"""
import logging
import sys
import traceback
import mwparserfromhell as mwp
import mwreverts
logger = logging.getLogger(__name__)
class Extractor:
"""
Implements an label... | 11,496 |
https://github.com/tbfrazee/SimpleTagger.js/blob/master/SimpleTagger.scss | Github Open Source | Open Source | MIT | null | SimpleTagger.js | tbfrazee | SCSS | Code | 119 | 512 | $selected-bg-color: lightgray !default;
$tag-bg-color: teal !default;
$tag-txt-color: white !default;
$tag-close-btn-color: black !default;
$tag-close-bg-color: black !default;
$tag-close-txt-color: white !default;
.tagger-ac-list-selected {
min-height: 40px;
vertical-align: middle;
background-color: $sele... | 7,930 |
https://github.com/zhaoboqiao/seezoon-stack/blob/master/seezoon-generator/src/main/resources/template/service.java.tpl | Github Open Source | Open Source | MIT | 2,021 | seezoon-stack | zhaoboqiao | null | Spoken | 91 | 535 | package com.seezoon.admin.modules.${moduleName}.service;
<#list columnPlans as columnPlan>
<#if columnPlan.uniqueFieldCheck && columnPlan.stringType>
import javax.validation.constraints.NotBlank;
<#break>
</#if>
</#list>
<#list columnPlans as columnPlan>
<#if columnPlan.uniqueFieldCheck && !columnPlan.string... | 39,565 |
https://github.com/money461/Tz520/blob/master/tz520-admin/tz520-common/src/main/java/com/tz/pojo/TzUserMall.java | Github Open Source | Open Source | Apache-2.0 | 2,020 | Tz520 | money461 | Java | Code | 317 | 892 | package com.tz.pojo;
import java.io.Serializable;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
public class TzUserMall implements Serializable {
/**
*
*/
private static final long serialVersionUID = -1985573988069186329L;
private String id;
private String userId;
p... | 8,573 |
https://github.com/theia-jane/dotfiles/blob/master/tools/emacs/packages/process-helpers.el | Github Open Source | Open Source | MIT | null | dotfiles | theia-jane | null | Spoken | 42 | 171 | ;;; process-helpers.el --- Description -*- lexical-binding: t; -*-
(defun process-running-p (p)
(equal (process-status p) 'run))
(defun at-least-one-process-running-p ()
(seq-some #'process-running-p (process-list)))
(defun wait-for-process (p)
(while (process-running-p p)
(sleep-for 1)))
(defun wait-for-... | 34,167 |
https://github.com/dddangmedia/debugging-with-pry-online-web-ft-100719/blob/master/lib/pry_debugging.rb | Github Open Source | Open Source | LicenseRef-scancode-unknown-license-reference, LicenseRef-scancode-public-domain | 2,019 | debugging-with-pry-online-web-ft-100719 | dddangmedia | Ruby | Code | 9 | 28 | require 'pry'
def plus_two(num)
num += 2
binding.pry
end | 27,579 |
https://github.com/Gsaico/MasterDetails_LogisticaMVVM/blob/master/LOGISTICADB/ServiciosWCF/Catalogo/CatalogoService.cs | Github Open Source | Open Source | Apache-2.0 | null | MasterDetails_LogisticaMVVM | Gsaico | C# | Code | 152 | 678 | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace ServiciosWCF
{
public partial class LogisticaDB_ServiceWCF : Catalogo.ICatalogoService
{
LogicaDeNegocios.Catalogo.ICatalogoLogicaNegocio catalogoLogicaNegocio = new LogicaDeNegoci... | 50,776 |
https://github.com/antontroshin/synopsys-detect/blob/master/src/test/java/com/synopsys/integration/detect/workflow/blackduck/developer/RapidScanResultAggregatorTest.java | Github Open Source | Open Source | Apache-2.0 | 2,022 | synopsys-detect | antontroshin | Java | Code | 325 | 1,512 | package com.synopsys.integration.detect.workflow.blackduck.developer;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertFalse;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashSet;
import java.util.List;
import java.util.Set... | 49,024 |
https://github.com/adetokunbo/aos-signature/blob/master/src/LSAG.hs | Github Open Source | Open Source | Apache-2.0 | 2,019 | aos-signature | adetokunbo | Haskell | Code | 1,393 | 3,070 | -- | Implementation of Linkable Spontaneus Anonymous Group (LSAG) Signature over elliptic curve cryptography.
--
-- >>> (pubKey, privKey) <- ECC.generate curve -- Generate public and private keys
-- >>> extPubKeys <- genNPubKeys curve nParticipants -- Generate random foreign participants
-- >>> k <- fromInteger <$> gen... | 9,241 |
https://github.com/xmlsquad/xml-authoring-library/blob/master/src/Command/AbstractGSheetProcessingCommand.php | Github Open Source | Open Source | Apache-2.0 | null | xml-authoring-library | xmlsquad | PHP | Code | 711 | 2,225 | <?php
/**
* Created by PhpStorm.
* User: jw
* Date: 26/06/2018
* Time: 17:30
*/
namespace XmlSquad\Library\Command;
use Exception;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Out... | 31,607 |
https://github.com/fukazayo/ed25519swift/blob/master/Ed25519macOS/ed25519_sc.swift | Github Open Source | Open Source | Zlib | null | ed25519swift | fukazayo | Swift | Code | 1,920 | 5,463 | //
// ed25519_sc.swift
//
// Copyright 2017 pebble8888. All rights reserved.
//
// This software is provided 'as-is', without any express or implied
// warranty. In no event will the authors be held liable for any damages
// arising from the use of this software.
//
// Permission is granted to anyone to use this s... | 3,172 |
https://github.com/nelsonwenner/godot-slip-runfast/blob/master/.import/icon.png-487276ed1e3a0c39cad0279d744ee560.md5 | Github Open Source | Open Source | MIT | 2,020 | godot-slip-runfast | nelsonwenner | null | Spoken | 2 | 56 | source_md5="9e6aa7f37ea4c13db26cee4b022fe2e9"
dest_md5="fa4d0ff3158d089c75ebedbd950ad566"
| 9,955 |
https://github.com/Quenty/NevermoreEngine/blob/master/src/networkownerutils/src/Server/NetworkOwnerUtils.lua | Github Open Source | Open Source | MIT | 2,023 | NevermoreEngine | Quenty | Lua | Code | 304 | 733 | --[=[
Provides utility functions to make it easy to work with network owners. This wraps this API
because the API surface is actually quite bad.
See also: [NetworkOwnerService]
@class NetworkOwnerUtils
]=]
local NetworkOwnerUtils = {}
--[=[
Tries to set the network owner. Otherwise warns about failure.
@param... | 24,003 |
https://github.com/Mthandazo42/validating-binary-decompilation/blob/master/tests/program_translation_validation/spec2006/464.h264ref/updateQuantizationParameter/mcsema/test.proposed.opt.ll | Github Open Source | Open Source | LicenseRef-scancode-unknown-license-reference, NCSA | 2,020 | validating-binary-decompilation | Mthandazo42 | LLVM | Code | 20,000 | 46,353 | ; ModuleID = 'mcsema/test.proposed.inline.ll' source_filename = "llvm-link" target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu-elf" %__bss_start_type = type <{ [8 x i8] }> %G_0x31266__rip__type = type <{ [8 x i8] }> %G_0x31296__rip__type = type <{ [8 x i8] }> %G_0x312b8__ri... | 22,902 |
https://github.com/HalaSalim77/metronic_vue/blob/master/resources/ts/src/components/modals/forms/AddCustomerModal.vue | Github Open Source | Open Source | MIT | null | metronic_vue | HalaSalim77 | Vue | Code | 1,468 | 8,177 | <template>
<div
class="modal fade"
id="kt_modal_add_customer"
ref="addCustomerModalRef"
tabindex="-1"
aria-hidden="true"
>
<!--begin::Modal dialog-->
<div class="modal-dialog modal-dialog-centered mw-650px">
<!--begin::Modal content-->
<div class="modal-content">
<!--... | 12,002 |
https://github.com/thijsl/samples-android-sdk/blob/master/Full-Screen-Handling/app/src/main/java/com/theoplayer/sample/ui/fullscreen/PlayerActivity.java | Github Open Source | Open Source | BSD-3-Clause | 2,020 | samples-android-sdk | thijsl | Java | Code | 370 | 1,256 | package com.theoplayer.sample.ui.fullscreen;
import android.os.Bundle;
import android.util.Log;
import androidx.appcompat.app.AppCompatActivity;
import androidx.databinding.DataBindingUtil;
import com.theoplayer.android.api.event.player.PlayerEventTypes;
import com.theoplayer.android.api.fullscreen.FullScreenChangeL... | 203 |
https://github.com/DreamForeast/Wonder-editor/blob/master/lib/es6_global/src/core/composable_component/mainEditor/composable_component/inspector/composable_component/assetTree_Inspector/atom_component/material_Inspector/ui/MaterialInspector.js | Github Open Source | Open Source | Apache-2.0 | 2,022 | Wonder-editor | DreamForeast | JavaScript | Code | 616 | 2,600 |
import * as Curry from "../../../../../../../../../../../../../node_modules/bs-platform/lib/es6/curry.js";
import * as React from "react";
import * as ReasonReact from "../../../../../../../../../../../../../node_modules/reason-react/lib/es6_global/src/ReasonReact.js";
import * as Select$WonderEditor from "../../../.... | 2,796 |
https://github.com/lens-biophotonics/v3d_external/blob/master/v3d_main/basic_c_fun/basic_4dimage.cpp | Github Open Source | Open Source | MIT | 2,022 | v3d_external | lens-biophotonics | C++ | Code | 1,892 | 5,744 | /*
* Copyright (c)2006-2010 Hanchuan Peng (Janelia Farm, Howard Hughes Medical Institute).
* All rights reserved.
*/
/************
********* LICENSE NOTICE ************
This folder contains all source codes for the V3D project, which is subject to the following conditi... | 15,036 |
https://github.com/loveencounterflow/hengist/blob/master/dev/icql-dba/lib/helpers.js | Github Open Source | Open Source | MIT | null | hengist | loveencounterflow | JavaScript | Code | 1,146 | 4,569 | (function() {
'use strict';
var CND, DATA, DATOM, Dba, FS, FSP, H, PATH, badge, dba_types, debug, echo, equals, help, info, isa, rpr, urge, validate, validate_list_of, warn, whisper,
indexOf = [].indexOf;
//######################################################################################################... | 31,749 |
https://github.com/xmichaelx/TOIK2015-SankeyDiagramGroupDynamics/blob/master/GraphDynamics/GraphDynamics/bower_components/aurelia-http-client/dist/commonjs/http-client.js | Github Open Source | Open Source | MIT | null | TOIK2015-SankeyDiagramGroupDynamics | xmichaelx | JavaScript | Code | 234 | 781 | "use strict";
var _prototypeProperties = function (child, staticProps, instanceProps) { if (staticProps) Object.defineProperties(child, staticProps); if (instanceProps) Object.defineProperties(child.prototype, instanceProps); };
var join = require("aurelia-path").join;
var HttpRequestMessage = require("./http-request... | 991 |
https://github.com/wix-incubator/rich-content-editor/blob/master/scripts/mergeTranslations.js | Github Open Source | Open Source | MIT | 2,022 | rich-content-editor | wix-incubator | JavaScript | Code | 69 | 281 | const fs = require('fs');
const path = require('path');
const mergedTranslations = {};
const getPath = package => `../packages/${package}/web/statics`;
const editorTranslationsPath = `${getPath('editor-common')}/locale/`;
const viewerTranslationsPath = `${getPath('common')}/viewer/locale/`;
const allTranslationsPath =... | 27,875 |
https://github.com/polivbr/pulumi-azure-native/blob/master/sdk/go/azure/avs/v20200717preview/getWorkloadNetworkDnsService.go | Github Open Source | Open Source | Apache-2.0 | null | pulumi-azure-native | polivbr | Go | Code | 124 | 439 | // *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package v20200717preview
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func LookupWorkloadNetworkDnsService(ctx *pulumi.Context, args *LookupWorkloadNet... | 13,795 |
https://github.com/geoffcorvera/Wonder_Tix/blob/master/src/features/ticketing/cart/CartItem.tsx | Github Open Source | Open Source | MIT | 2,021 | Wonder_Tix | geoffcorvera | TSX | Code | 460 | 1,250 | /**
* Copyright © 2021 Aditya Sharoff, Gregory Hairfeld, Jesse Coyle, Francis Phan, William Papsco, Jack Sherman, Geoffrey Corvera
*
* 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 res... | 8,277 |
https://github.com/gaybro8777/Kuber.jl/blob/master/src/api/model_io_k8s_api_apps_v1beta1_StatefulSetStatus.jl | Github Open Source | Open Source | MIT | 2,019 | Kuber.jl | gaybro8777 | Julia | Code | 177 | 898 | # This file was generated by the Julia Swagger Code Generator
# Do not modify this file directly. Modify the swagger specification instead.
mutable struct IoK8sApiAppsV1beta1StatefulSetStatus <: SwaggerModel
collisionCount::Union{ Nothing, Int32 } # collisionCount
conditions::Union{ Nothing, Vector{IoK8sApiApp... | 4,185 |
https://github.com/arussell22/kibana/blob/master/x-pack/legacy/plugins/siem/public/components/toasters/index.test.tsx | Github Open Source | Open Source | Apache-2.0 | 2,021 | kibana | arussell22 | TypeScript | Code | 758 | 3,012 | /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License;
* you may not use this file except in compliance with the Elastic License.
*/
import { cloneDeep, set } from 'lodash/fp';
import { mount } from 'enzyme';
i... | 40,125 |
https://github.com/zhongshuiyuan/aegis-origin/blob/master/AEGIS.Core/Collections/SweepLine/SweepLine.cs | Github Open Source | Open Source | LicenseRef-scancode-unknown-license-reference, ECL-2.0, Apache-2.0, LicenseRef-scancode-unknown | 2,022 | aegis-origin | zhongshuiyuan | C# | Code | 2,658 | 7,436 | /// <copyright file="SweepLine.cs" company="Eötvös Loránd University (ELTE)">
/// Copyright (c) 2011-2022 Roberto Giachetta. Licensed under the
/// Educational Community License, Version 2.0 (the "License"); you may
/// not use this file except in compliance with the License. You may
/// obtain a copy ... | 10,681 |
https://github.com/jackBaozz/erda/blob/master/modules/oap/collector/plugins/processors/aggregator/provider.go | Github Open Source | Open Source | Apache-2.0 | 2,022 | erda | jackBaozz | Go | Code | 341 | 1,056 | // Copyright (c) 2021 Terminus, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agree... | 25,677 |
https://github.com/cesium/codeweek18/blob/master/_sass/colors/_presets.scss | Github Open Source | Open Source | MIT | 2,019 | codeweek18 | cesium | SCSS | Code | 43 | 192 | //All Preset color variables are here
// blue
$blue: #08a0c4;
// Project Specific Colors
$strong-blue: #28318c;
$light-red: #ff625f;
$white: #ffffff;
$light-blue: #8291e8;
$dark-blue: darken($strong-blue, 5%);
$dark-red: darken($light-red, 5%);
// Brand colors
$facebook-color: #3b5998;
$github-color: ... | 36,595 |
https://github.com/bryzhao/scottobots_quadruped/blob/master/src/Init_Roll_Libraries/scottoLeg.h | Github Open Source | Open Source | MIT | 2,019 | scottobots_quadruped | bryzhao | C++ | Code | 58 | 182 | #include "scottoMotorInterface.h"
#ifndef scottoLeg_h
#define scottoLeg_h
class scottoLeg
{
public:
scottoMotorInterface m1;
scottoMotorInterface m2;
scottoMotorInterface m3;
scottoLeg();
scottoLeg(int id1, int id2, int id3, int min1, int max1, int min2, int max2, int min3, int max3);
void moveAllDigital(int com... | 37,267 |
https://github.com/juliendelplanque/ChangeImpact/blob/master/repository/ChangeImpact.package/CIStrategy.class/instance/impactForRenameChange..st | Github Open Source | Open Source | MIT | 2,019 | ChangeImpact | juliendelplanque | null | Spoken | 25 | 62 | impact computation
impactForRenameChange: aCIRenameChange
"Updates #impactedEntities and #nextChangesToProcess inst. vars. in order to compute the impact of aCIRenameChange
according to the current strategy."
self subclassResponsibility | 23,145 |
https://github.com/karthik-314/PDTA_Reachability/blob/master/test/bugfixes/bug-004.sh | Github Open Source | Open Source | MIT | 2,021 | PDTA_Reachability | karthik-314 | Shell | Code | 22 | 64 | #!/usr/bin/env bash
if test -n "${TCHECKER}";
then
exec ${TCHECKER} covreach < /dev/null
else
echo 1>&2 "missing environment variable TCHECKER"
exit 1
fi
| 831 |
https://github.com/Hrach-96/sugar/blob/master/beta_blocked/application/controllers/user/Online.php | Github Open Source | Open Source | MIT | null | sugar | Hrach-96 | PHP | Code | 247 | 1,444 | <?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Online extends CI_Controller {
function __construct() {
parent::__construct();
if(!$this->session->has_userdata('user_id')) {
redirect(base_url());
}
}
// Web service for synchronizatio betwwen Cl... | 4,425 |
https://github.com/posobin/xv6/blob/master/sysproc.c | Github Open Source | Open Source | MIT-0 | 2,021 | xv6 | posobin | C | Code | 516 | 1,681 | #include "types.h"
#include "x86.h"
#include "defs.h"
#include "param.h"
#include "memlayout.h"
#include "mmu.h"
#include "proc.h"
#include "errno.h"
int
sys_fork(void)
{
return clone(0, 0);
}
int
sys_clone(void)
{
char* stack;
int flags;
if (argptr(0, &stack, 0) < 0 ||
argint(1, &flags) < 0)
return... | 30,020 |
https://github.com/lulibrary/LAG-bulk-update-cache/blob/master/src/update-user/create-user-from-api.js | Github Open Source | Open Source | MIT | null | LAG-bulk-update-cache | lulibrary | JavaScript | Code | 90 | 349 |
const AlmaClient = require('alma-api-wrapper')
const { UserSchema } = require('@lulibrary/lag-alma-utils')
const CacheUser = UserSchema(process.env.USER_CACHE_TABLE)
const getApiKey = require('../get-alma-api-key')
const createUserFromApi = (userID) => getApiKey()
.then(() => getUserData(userID))
.then(createUser... | 22,278 |
https://github.com/darwinproject/darwin3/blob/master/tools/build_options/unsupported/bgl_gnu_ncar | Github Open Source | Open Source | MIT | 2,023 | darwin3 | darwinproject | Shell | Code | 79 | 543 | #!/bin/bash
#
# tested on frost, ce107 Aug 5 2005, will work when IBM/NCAR provides an MPI library for g77
# using the following invocation:
# ../../../tools/genmake2 -mods=../code -of=../../../tools/build_options/bgl_gnu_ncar
S64='$(TOOLSDIR)/set64bitConst.sh'
MAKEDEPEND=makedepend
DEFINES='-DALLOW_USE_MPI -DAL... | 71 |
https://github.com/openrasta/openrasta-core/blob/master/src/OpenRasta.Plugins.Caching/CacheLevel.cs | Github Open Source | Open Source | MIT | 2,021 | openrasta-core | openrasta | C# | Code | 14 | 45 | namespace OpenRasta.Plugins.Caching
{
public enum CacheLevel
{
Cacheable = 0,
Everything,
DoNotCache
}
} | 32,657 |
https://github.com/JamesCao2048/BlizzardData/blob/master/Corpus/aspectj/5245.java | Github Open Source | Open Source | MIT | 2,022 | BlizzardData | JamesCao2048 | Java | Code | 703 | 1,453 | package ca.ubc.cs.spl.aspectPatterns.examples.interpreter.aspectj;
/* -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* This file is part of the design patterns project at UBC
*
* The contents of this file are subject to the Mozilla Public License
* Version 1.1 (the "License"); you ma... | 14,378 |
https://github.com/Mu-L/MINGW-packages/blob/master/mingw-w64-i2pd/0001-i2pd-makefile.patch | Github Open Source | Open Source | BSD-3-Clause | null | MINGW-packages | Mu-L | null | Spoken | 251 | 970 | diff --git a/Makefile b/Makefile
index d7765af7..29f7c39e 100644
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,7 @@ SYS := $(shell $(CXX) -dumpmachine)
ifneq (, $(findstring darwin, $(SYS)))
SHARED_SUFFIX = dylib
-else ifneq (, $(findstring mingw, $(SYS))$(findstring cygwin, $(SYS)))
+else ifneq (, $(findstring mingw, ... | 51,795 |
https://github.com/HotcakesCommerce/hotcakes-commerce-core/blob/master/Website/DesktopModules/Hotcakes/Core/Admin/Marketing/Promotions_Edit.aspx.cs | Github Open Source | Open Source | MIT | 2,023 | hotcakes-commerce-core | HotcakesCommerce | C# | Code | 1,078 | 4,725 | #region License
// Distributed under the MIT License
// ============================================================
// Copyright (c) 2019 Hotcakes Commerce, LLC
// Copyright (c) 2020-2023 Upendo Ventures, LLC
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software
// and... | 19,970 |
https://github.com/emerald-ci/api/blob/master/spec/factories/project.rb | Github Open Source | Open Source | MIT | 2,015 | api | emerald-ci | Ruby | Code | 15 | 67 | require 'emerald/api/models/plain_project'
FactoryGirl.define do
factory :project, class: PlainProject do
name 'test'
git_url 'https://github.com/emerald-ci/ruby-example'
end
end
| 35,583 |
https://github.com/kStoykow/JS-Advanced/blob/master/Exercises/Unit-testing/04-mathEnforcer.test.js | Github Open Source | Open Source | MIT | null | JS-Advanced | kStoykow | JavaScript | Code | 314 | 1,438 | const expect = require('chai').expect;
const mathEnforcer = require('./04-mathEnforcer');
describe('Testing mathEnforcer object:', () => {
describe('It should have three methods:', () => {
it('Should have addFive method.', () => {
expect(typeof mathEnforcer.addFive).to.equals('function');
... | 50,428 |
https://github.com/demarey/Calypso/blob/master/Calypso-NavigationModel.package/ClyAsyncQueryIsDone.class/class/with..st | Github Open Source | Open Source | MIT | null | Calypso | demarey | null | Spoken | 8 | 25 | instance creation
with: anAsyncQueryResult
^self new
queryResult: anAsyncQueryResult | 31,763 |
https://github.com/jcs090218/JCSNetP/blob/master/JCSNetP_Src/Core/JCSNetP_IoSession.h | Github Open Source | Open Source | MIT | 2,019 | JCSNetP | jcs090218 | C++ | Code | 299 | 815 | #ifndef __JCSNETP_IOSESSION_H__
/**
* $File: JCSNetP_IoSession.h $
* $Date: 2017-04-16 00:02:18 $
* $Revision: $
* $Creator: Jen-Chieh Shen $
* $Notice: See LICENSE.txt for modification and distribution information
* Copyright (c) 2017 by Shen, Jen-Chieh $
*/
#define __JCSNETP_IOSESSION_H__
N... | 27,413 |
https://github.com/Chipcius/hack-codegen/blob/master/src/key-value-render/HackBuilderKeyLambdaRenderer.php | Github Open Source | Open Source | MIT | null | hack-codegen | Chipcius | PHP | Code | 79 | 184 | <?hh // strict
/*
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*/
namespace Facebook\HackCodegen;
final class HackBuilderKeyLambdaRenderer<T as arraykey>
... | 2,198 |
https://github.com/jsdelivrbot/dockerfiles-1/blob/master/data/f/fulgorek/docker/Dockerfile | Github Open Source | Open Source | MIT | 2,018 | dockerfiles-1 | jsdelivrbot | Dockerfile | Code | 94 | 338 | FROM ubuntu:14.04
MAINTAINER Alejandro Torres <fulgorek@gmail.com>
ENV RUBY_VERSION=2.2.2
# Install ruby dependencies
RUN apt-get update && apt-get install -y wget curl build-essential git git-
core \
zlib1g-dev libssl-dev libreadline-dev libyaml-dev libsqlite3-dev \
sqlite3 libxml2-dev libxslt1-dev
# ... | 48,053 |
https://github.com/jtojnar/nixfiles/blob/master/common/gnupgdir.py | Github Open Source | Open Source | MIT | 2,022 | nixfiles | jtojnar | Python | Code | 49 | 290 | # get gnupg socket dir based on homedir
# https://github.com/gpg/gnupg/blob/c6702d77d936b3e9d91b34d8fdee9599ab94ee1b/common/homedir.c#L672-L681
import hashlib
import base64
import sys
def base32_to_zbase32(s):
# Translation table https://en.wikipedia.org/wiki/Base32#z-base-32
return s.lower().translate({ord(p)... | 7,546 |
https://github.com/bilalsohail864/Farmbot-Web-App/blob/master/frontend/farm_designer/map/layers/sensor_readings/__tests__/sensor_readings_layer_test.tsx | Github Open Source | Open Source | MIT | 2,021 | Farmbot-Web-App | bilalsohail864 | TypeScript | Code | 164 | 660 | import React from "react";
import {
SensorReadingsLayer, SensorReadingsLayerProps,
} from "../sensor_readings_layer";
import {
fakeMapTransformProps,
} from "../../../../../__test_support__/map_transform_props";
import {
fakeSensorReading, fakeSensor,
} from "../../../../../__test_support__/fake_state/resources";... | 42,875 |
https://github.com/resin-io/resin-ts/blob/master/layers/meta-balena-ts/recipes-kernel/linux/linux-technologic/0007-imx6qdl-ts4900.dtsi-Disable-the-isl12022-rtc-driver.patch | Github Open Source | Open Source | Apache-2.0 | 2,017 | resin-ts | resin-io | null | Spoken | 138 | 479 | From 913f41106db6d2e1a661a0beaa3fe0085fa64331 Mon Sep 17 00:00:00 2001
From: Florin Sarbu <florin@balena.io>
Date: Thu, 19 Mar 2020 14:59:24 +0100
Subject: [PATCH] imx6qdl-ts4900.dtsi: Disable the isl12022 rtc driver
On the customer ts4900 daughter board there are problems with this rtc
device on the i2c bus. In lack ... | 15,395 |
https://github.com/jeaye/stdman/blob/master/man/std::experimental::filesystem::path::c_str,std::experimental::filesystem::path::native,.3 | Github Open Source | Open Source | MIT | 2,022 | stdman | jeaye | null | Spoken | 305 | 907 | .TH std::experimental::filesystem::path::c_str,std::experimental::filesystem::path::native, 3 "2022.07.31" "http://cppreference.com" "C++ Standard Libary"
.SH NAME
std::experimental::filesystem::path::c_str,std::experimental::filesystem::path::native, \- std::experimental::filesystem::path::c_str,std::experimental::fil... | 48,841 |
https://github.com/AaronHammond/embedding-brain/blob/master/layers/hidden.js | Github Open Source | Open Source | MIT | null | embedding-brain | AaronHammond | JavaScript | Code | 171 | 690 | var Vector = require('../utils/vector');
var Activation = require('../utils/activation');
var HiddenLayer = function (size, inputLayer, learningRate) {
this.size = size;
this.outputs = new Array(this.size);
this.inputLayer = inputLayer;
this.weights = new Array(this.size);
this.learningRate = learningRate;
for ... | 27,898 |
https://github.com/Emerge-History/Edge-Emulator/blob/master/demo/public/js/main.js | Github Open Source | Open Source | MIT | 2,015 | Edge-Emulator | Emerge-History | JavaScript | Code | 459 | 1,617 | require.config({
baseUrl: '/js',
paths: {
jquery: '//global.wifi.network/vendor/jquery/dist/jquery',
bootstrap: '//global.wifi.network/vendor/bootstrap/dist/js/bootstrap',
underscore: '//global.wifi.network/vendor/underscore/underscore',
backbone: '//global.wifi.network/vendor/ba... | 42,960 |
https://github.com/m-kawata-git/oase-file-rename-test/blob/master/oase-root/libs/backyardlibs/exastro_collaboration/ITA/factory.py | Github Open Source | Open Source | Apache-2.0 | null | oase-file-rename-test | m-kawata-git | Python | Code | 319 | 1,193 | # Copyright 2019 NEC Corporation
#
# 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 writi... | 31,024 |
https://github.com/schibsted/strongbox/blob/master/sdk/src/main/java/com/schibsted/security/strongbox/sdk/types/SecretType.java | Github Open Source | Open Source | Apache-2.0, GPL-2.0-only, MIT, LicenseRef-scancode-unknown-license-reference, BSD-2-Clause | 2,023 | strongbox | schibsted | Java | Code | 125 | 329 | /*
* Copyright (c) 2016 Schibsted Products & Technology AS. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
*/
package com.schibsted.security.strongbox.sdk.types;
import java.util.HashMap;
import java.util.Map;
/**
* @author stiankri
*/
public enum SecretType {
// TODO: d... | 727 |
https://github.com/alex-kulakov/dataobjects-net/blob/master/Orm/Xtensive.Orm.Tests/Issues/Issue0014_SymmetricRelationshipIsUnsupported.cs | Github Open Source | Open Source | MIT | null | dataobjects-net | alex-kulakov | C# | Code | 269 | 1,014 | // Copyright (C) 2003-2010 Xtensive LLC.
// All rights reserved.
// For conditions of distribution and use, see license.
// Created by: Elena Vakhtina
// Created: 2008.11.26
using System;
using System.Linq;
using System.Reflection;
using NUnit.Framework;
using Xtensive.Orm.Configuration;
using Xtensive.Orm.Provide... | 1,864 |
https://github.com/SuperMarioX/Jconf/blob/master/jconf-admin/jconf-admin-web/src/test/java/com/github/wenbo2018/web/test/AbstractTest.java | Github Open Source | Open Source | Apache-2.0 | 2,017 | Jconf | SuperMarioX | Java | Code | 32 | 177 | package com.github.wenbo2018.web.test;
import com.github.wenbo2018.jconf.web.Application;
import org.junit.runner.RunWith;
import org.springframework.boot.test.SpringApplicationConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
import org.springframework.test.context.web.WebAppConfi... | 17,767 |
https://github.com/rimever/SuraSuraCPlus/blob/master/list8_7/main.cpp | Github Open Source | Open Source | MIT | null | SuraSuraCPlus | rimever | C++ | Code | 173 | 685 | #include <iostream>
using namespace std;
class PtrClass {
public:
int *ptr;
PtrClass() {
cout << "コンストラクタが呼び出されました。" << endl;
this->ptr = new int[3];
}
~PtrClass() {
cout << "デストラクタが呼び出されました。" << endl;
delete[] ptr;
}
// 独自の代入演算子のオーバーロード
PtrClass &operato... | 14,465 |
https://github.com/Azure/azure-libraries-for-swift/blob/master/recoveryservicesbackup/resource-manager/Sources/recoveryservicesbackup/data/BMSPOQueryObjectData.swift | Github Open Source | Open Source | MIT | 2,021 | azure-libraries-for-swift | Azure | Swift | Code | 247 | 748 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
import Foundation
import azureSwiftRuntime
internal struct BMSPOQueryObjectData : BMSPOQueryObjectPr... | 8,126 |
https://github.com/lijun401338/proxygen-document/blob/master/classproxygen_1_1ScopedHandler.js | Github Open Source | Open Source | LicenseRef-scancode-generic-cla, Apache-2.0, BSD-3-Clause | 2,018 | proxygen-document | lijun401338 | JavaScript | Code | 55 | 470 | var classproxygen_1_1ScopedHandler =
[
[ "ScopedHandler", "classproxygen_1_1ScopedHandler.html#ade9ef3e13bc48e5269e4e9c22362272b", null ],
[ "onBody", "classproxygen_1_1ScopedHandler.html#aa5088905641ed85f4fd75df52d57f920", null ],
[ "onEOM", "classproxygen_1_1ScopedHandler.html#a1520d45a186998329fd243ee4cb... | 24,011 |
https://github.com/eshaverma/conductor/blob/master/frontend/src/types/config.js | Github Open Source | Open Source | Apache-2.0 | 2,021 | conductor | eshaverma | JavaScript | Code | 50 | 149 | export const Modes = {
Schedule: 0,
Manual: 1,
};
export function modeToString(mode) {
switch (mode) {
case Modes.Schedule:
return 'schedule';
case Modes.Manual:
return 'manual';
default:
return null;
}
}
export function stringToMode(modeString) {
switch (modeString) {
case... | 30,972 |
https://github.com/touchhome/touchhome-core/blob/master/src/main/java/org/touchhome/app/setting/system/SystemShowEntityStateSetting.java | Github Open Source | Open Source | MIT | 2,020 | touchhome-core | touchhome | Java | Code | 44 | 152 | package org.touchhome.app.setting.system;
import org.touchhome.app.setting.CoreSettingPlugin;
import org.touchhome.bundle.api.setting.SettingPluginBoolean;
/**
* Show BaseEntity CRUD
*/
public class SystemShowEntityStateSetting implements CoreSettingPlugin<Boolean>, SettingPluginBoolean {
@Override
public ... | 17,742 |
https://github.com/siriusSupreme/jyw/blob/master/application/common.php | Github Open Source | Open Source | Apache-2.0 | 2,020 | jyw | siriusSupreme | PHP | Code | 181 | 648 | <?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006-2016 http://thinkphp.cn All rights reserved.
// +-------------------------------------------------... | 51,141 |
https://github.com/HoneyHtun96/training_project/blob/master/app/Http/Controllers/JournalController.php | Github Open Source | Open Source | MIT | null | training_project | HoneyHtun96 | PHP | Code | 251 | 848 | <?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Journal;
use App\Subject;
use Auth;
class JournalController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index()
{
$activities ... | 32,953 |
https://github.com/zfySH/kq/blob/master/KQ/src/com/nowagme/football/TeamActivityActivity.java | Github Open Source | Open Source | Apache-2.0 | 2,015 | kq | zfySH | Java | Code | 2,087 | 9,746 | package com.nowagme.football;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Date;
import java.util.Map;
import java.util.Timer;
import java.util.TimerTask;
import org.apache.http.NameValuePair;
import org.apache.http.message.BasicNameValuePair;
import org.j... | 6,560 |
https://github.com/gc4rella/jenkins/blob/master/config/scripts/peer3-srv-test.sh | Github Open Source | Open Source | Apache-2.0 | 2,017 | jenkins | gc4rella | Shell | Code | 207 | 380 | #!/bin/bash
# check number of incoming ncat connections
count=`cat received | wc -l`
if [ $count -ne 3 ]
then
echo "Peer3 expected to be contacted by three peers (peer2, peer4 and peer5) but it was contacted by $count peers with the following ips:"
while read line ; do
echo "$line"
done < received
exit 2
f... | 19,945 |
https://github.com/andreypopp/markstruct/blob/master/parser.js | Github Open Source | Open Source | MIT | 2,013 | markstruct | andreypopp | JavaScript | Code | 221 | 726 | var markdown = require('markdown').markdown,
utils = require('lodash');
function flatten(nodes) {
var content = '';
for (var i = 0, length = nodes.length; i < length; i++) {
content = content + (Array.isArray(nodes[i]) ? nodes[i][1] : nodes[i]);
}
return content;
}
function walk(ast) {
var doc ... | 49,362 |
https://github.com/blester125/baseline/blob/master/layers/eight_mile/calibration/__init__.py | Github Open Source | Open Source | Apache-2.0 | 2,020 | baseline | blester125 | Python | Code | 16 | 50 | from eight_mile.calibration.calibration import *
from eight_mile.calibration.metrics import *
try:
from eight_mile.calibration.plot import *
except ImportError:
pass
| 44,731 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.