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/cody3647/oojs-ui/blob/master/tests/phpunit/ElementTest.php | Github Open Source | Open Source | MIT | 2,022 | oojs-ui | cody3647 | PHP | Code | 161 | 484 | <?php
namespace OOUI\Tests;
use OOUI\Element;
use OOUI\Widget;
class ElementTest extends TestCase {
public static function provideGetSerializedConfig() {
return [
[
new Widget( [ 'infusable' => true ] ),
'"_":"OO.ui.Widget"'
],
[
new \FooBarBaz\MockWidget( [ 'infusable' => true ] ),
'"_"... | 24,495 |
https://github.com/Pohvalister/StandaloneTetris/blob/master/loader.s | Github Open Source | Open Source | MIT | 2,017 | StandaloneTetris | Pohvalister | Unix Assembly | Code | 110 | 303 | .text
.global loader
# setting up the Multiboot loader = see GRUB docs for details
.set FLAGS, 0x0 #this is the Multiboot 'flag' field.
.set MAGIC, 0x1BADB002 #'magic number' lets bootloader find header - 0x1BADB002
.set CHECKSUM, -(MAGIC + FLAGS) #=0xE4524FFE checksum required.
.align 4... | 7,321 |
https://github.com/dota2classic/gameserver/blob/master/src/gameserver/event/server-not-responding.event.ts | Github Open Source | Open Source | MIT | 2,021 | gameserver | dota2classic | TypeScript | Code | 11 | 27 | export class ServerNotRespondingEvent {
constructor(public readonly url: string) {
}
}
| 36,509 |
https://github.com/jedimatt42/tipicmd/blob/master/b7_tipi_mouse.c | Github Open Source | Open Source | MIT | 2,021 | tipicmd | jedimatt42 | C | Code | 181 | 700 | #include "banks.h"
#define MYBANK BANK(7)
#include "b7_tipi_mouse.h"
#include "b7_tipi_msg.h"
#include <vdp.h>
#include <kscan.h>
#include "b0_globals.h"
#include "b10_detect_vdp.h"
#include "b8_terminal.h"
#define SUPPORT_MOUSE (vdp_type == VDP_F18A && displayHeight == 30)
extern char gfx_point0[32];
extern char gf... | 49,635 |
https://github.com/whatjackhasmade/track-nextjs/blob/master/src/components/pages/not-found/not-found.styles.tsx | Github Open Source | Open Source | MIT | null | track-nextjs | whatjackhasmade | TypeScript | Code | 18 | 42 | import styled from 'styled-components';
import { device } from 'particles';
export const StyledError = styled.section``;
export default StyledError;
| 47,026 |
https://github.com/ushaikh0201/react-native-components/blob/master/src/components/sectionsWheelPicker/index.js | Github Open Source | Open Source | MIT | 2,021 | react-native-components | ushaikh0201 | JavaScript | Code | 148 | 542 | "use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
var lodash_1 = __importDefault(require("lodash"));
var react_1 = __importDefault(require("react"));
var ... | 22,801 |
https://github.com/TheRakeshPurohit/sdk/blob/master/pkg/analyzer/test/src/diagnostics/non_final_field_in_enum_test.dart | Github Open Source | Open Source | BSD-3-Clause | 2,022 | sdk | TheRakeshPurohit | Dart | Code | 97 | 284 | // Copyright (c) 2022, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
import 'package:analyzer/src/error/codes.dart';
import 'package:test_reflective_loader/test_reflective_l... | 25,867 |
https://github.com/ezetina86/LearnJava/blob/master/Aritmetica/src/aritmetica/Aritemrica.java | Github Open Source | Open Source | Apache-2.0 | null | LearnJava | ezetina86 | Java | Code | 16 | 46 | package aritmetica;
public class Aritemrica {
int sumar(int a, int b) {
return a+b;
}
}
| 5,720 |
https://github.com/mix-php/mix/blob/master/src/grpc/src/Server.php | Github Open Source | Open Source | Apache-2.0 | 2,023 | mix | mix-php | PHP | Code | 465 | 1,554 | <?php
namespace Mix\Grpc;
use Mix\Grpc\Exception\NotFoundException;
use Mix\Grpc\Exception\RuntimeException;
use Mix\Grpc\Helper\GrpcHelper;
/**
* Class Server
* @package Mix\Grpc
*/
class Server
{
/**
* @var callable[]
*/
protected $callables = [];
/**
* @param string[]|object[] $obj... | 34,573 |
https://github.com/luhuadong/tera-iot/blob/master/Front-End-Tutorial/exercise2/src/pages/main/components/Card/HumiStatus.js | Github Open Source | Open Source | MIT | null | tera-iot | luhuadong | JavaScript | Code | 151 | 510 | import React from 'react'
import 'antd/dist/antd.css';
import { Icon, Divider } from 'antd';
const humiCard ={
value: 43,
sensor: "DHT11温湿度传感器"
}
export default class HumiStatusCard extends React.Component {
render() {
return (
<div style={{ display: 'flex', alignItems: 'center', paddi... | 41,697 |
https://github.com/bondarenkosa/nodejs-console-calculator/blob/master/__tests__/index.test.js | Github Open Source | Open Source | MIT | null | nodejs-console-calculator | bondarenkosa | JavaScript | Code | 83 | 209 | import calc from '../src';
describe('#tokenize', () => {
test('simple math expression', () => {
const expression = '1+2';
expect(calc(expression)).toEqual(3);
});
test('precedence test', () => {
const expression = ' 2.5 + (1 + ---1 + 4) * 3 ** 2 * 2 / (2 + 4)**2 + 1 - 1';
expect(calc(expressi... | 17,272 |
https://github.com/stroonsN/livehelperchat/blob/master/lhc_web/ezcomponents/SystemInformation/src/exceptions/reader_cant_scan_os.php | Github Open Source | Open Source | Apache-2.0 | 2,022 | livehelperchat | stroonsN | PHP | Code | 96 | 217 | <?php
/**
* File containing the ezcSystemInfoReaderCantScanOSException class
*
* @package SystemInformation
* @version 1.0.8
* @copyright Copyright (C) 2005-2009 eZ Systems AS. All rights reserved.
* @license http://ez.no/licenses/new_bsd New BSD License
*/
/**
* Reader can't scan OS for system values excepti... | 52,253 |
https://github.com/flex3r/DankChat/blob/master/app/src/main/kotlin/com/flxrs/dankchat/data/api/helix/HelixApiException.kt | Github Open Source | Open Source | MIT | 2,023 | DankChat | flex3r | Kotlin | Code | 189 | 495 | package com.flxrs.dankchat.data.api.helix
import com.flxrs.dankchat.data.api.ApiException
import io.ktor.http.HttpStatusCode
import io.ktor.http.Url
data class HelixApiException(
val error: HelixError,
override val status: HttpStatusCode,
override val url: Url?,
override val message: String? = null,
... | 53,698 |
https://github.com/carlosearm/net_apps_pic32mz/blob/master/apps/tcpip_tcp_server_devboard/firmware/src/config/pic32mz_ef_sk_freertos/library/tcpip/src/tcpip_heap_alloc.c | Github Open Source | Open Source | 0BSD | 2,021 | net_apps_pic32mz | carlosearm | C | Code | 1,713 | 7,822 | /*******************************************************************************
TCPIP Heap Allocation Manager
Summary:
Description:
*******************************************************************************/
/*****************************************************************************
Copyright (C)... | 27,042 |
https://github.com/noif/Friday/blob/master/app/modules/module.dashboard/index.js | Github Open Source | Open Source | MIT | 2,019 | Friday | noif | JavaScript | Code | 15 | 32 | export { default } from './Dashboard';
export {
default as DashboardReducer,
actions
} from './store';
| 3,615 |
https://github.com/Maceris/Ikala-Core/blob/master/src/main/java/com/ikalagaming/scripting/ast/Continue.java | Github Open Source | Open Source | MIT | 2,023 | Ikala-Core | Maceris | Java | Code | 29 | 75 | package com.ikalagaming.scripting.ast;
/**
* A continue statement.
*
* @author Ches Burks
*
*/
public class Continue extends Node {
@Override
public void process(ASTVisitor visitor) {
visitor.visit(this);
}
}
| 31,833 |
https://github.com/Ox-yg-gen/Soundki-Music-bot/blob/master/commands/Settings/autoresume.js | Github Open Source | Open Source | MIT | 2,022 | Soundki-Music-bot | Ox-yg-gen | JavaScript | Code | 141 | 431 | const { MessageEmbed, MessageButton } = require("discord.js");
module.exports = {
name: "autoresume",
category: "Settings",
aliases: ["autor"],
usage: "autoresume",
cooldown: 10,
description: "Enable or Disable the Autoresume for this Guild, if the bot restarts!",
memberpermissions: ["MANAGE_GUILD"], //O... | 512 |
https://github.com/danisla/terraform-operator/blob/master/cmd/terraform-operator/conditionTFPlanReady.go | Github Open Source | Open Source | Apache-2.0 | 2,021 | terraform-operator | danisla | Go | Code | 83 | 325 | package main
import (
"fmt"
tfv1 "github.com/danisla/terraform-operator/pkg/types"
)
func reconcileTFPlanReady(condition *tfv1.Condition, parent *tfv1.Terraform, status *tfv1.TerraformOperatorStatus, children *TerraformChildren, desiredChildren *[]interface{}) (tfv1.ConditionStatus, string) {
var tfplanfile strin... | 27,008 |
https://github.com/katorymnd/coinpayments-php-api/blob/master/index.php | Github Open Source | Open Source | MIT | 2,021 | coinpayments-php-api | katorymnd | PHP | Code | 4 | 9 | <?php
//protect the folder | 33,833 |
https://github.com/dantin/cubit/blob/master/misc/scripts/start_mysql.sh | Github Open Source | Open Source | BSD-3-Clause | 2,021 | cubit | dantin | Shell | Code | 7 | 25 | #!/bin/bash
set -e
sudo systemctl start cubit_mysql.service
| 14,511 |
https://github.com/DirectXMan12/idl/blob/master/backends/inspect/main.go | Github Open Source | Open Source | Apache-2.0 | null | idl | DirectXMan12 | Go | Code | 79 | 264 | // SPDX-License-Identifier: Apache-2.0
// Copyright 2021 The Kubernetes Authors
package main
import (
"sigs.k8s.io/yaml"
"k8s.io/idl/backends/common/request"
"k8s.io/idl/backends/common/respond"
)
func main() {
loader, types := request.Parse()
if len(types) != 0 {
panic("TODO: support generating only for spec... | 1,954 |
https://github.com/IndiaWikiFiles/Maharashtra/blob/master/Kolhapur-Villages-Marathi/Kambalwadi_567605_mr.wiki | Github Open Source | Open Source | MIT | 2,020 | Maharashtra | IndiaWikiFiles | null | Spoken | 1,280 | 8,169 | {{माहितीचौकट भारतीय न्यायक्षेत्र
|प्रकार=गाव
|जनगणना_स्थलनिर्देशांक=567605
|स्थानिक_नाव=कांबळवाडी
|तालुका_नाव=राधानगरी
|जिल्हा_नाव=कोल्हापूर
|राज्य_नाव =महाराष्ट्र
|विभाग=
|जिल्हा=[[कोल्हापूर]]
|तालुका_नावे =[[राधानगरी]]
|जवळचे_शहर =[[Kolhapur]]
|अक्षांश=
|रेखांश=
|शोधक_स्थान =right
|क्षेत्रफळ_एकूण=2.37
|उंची=
|लोकसंख्... | 24,916 |
https://github.com/VijaySBoobalan/Artmakeup/blob/master/resources/views/makeup/portfolio.blade.php | Github Open Source | Open Source | MIT | 2,019 | Artmakeup | VijaySBoobalan | Blade | Code | 477 | 2,503 | @extends('makeuplayout.master')
@section('content')
<div class="w3-hide-small w3-hide-medium">
<div class="row ">
<h1 class="about_h1 heading"> <a href="#bridal">Bridal</a> & <a href="#fashion">Fashion</a> </h1>
</div>
<section id="bridal">
<div class="row" >
<br>
</div>
<d... | 1,342 |
https://github.com/katreashish120/ml-pipeline/blob/master/temperature/databricks/generate_temperature_data.py | Github Open Source | Open Source | Apache-2.0 | 2,021 | ml-pipeline | katreashish120 | Python | Code | 78 | 314 | #!/usr/bin/env python
# coding: utf-8
# In[ ]:
from pyspark.sql.types import StructType
from pyspark.sql.functions import col, from_json
import json
import pandas as pd
import random
test = True
output_path = '/mnt/<mount-name>/<path>/temperature/input/request.parquet'
# In[ ]:
input_data_dict = {'input1': roun... | 53,192 |
https://github.com/NarcissJunior/react-reader-api/blob/master/routes/web.php | Github Open Source | Open Source | MIT | null | react-reader-api | NarcissJunior | PHP | Code | 146 | 348 | <?php
/*
|--------------------------------------------------------------------------
| Application Routes
|--------------------------------------------------------------------------
|
| Here is where you can register all of the routes for an application.
| It is a breeze. Simply tell Lumen the URIs it should respond t... | 18,002 |
https://github.com/zhangkn/iOS14Header/blob/master/System/Library/PrivateFrameworks/iWorkImport.framework/Frameworks/TSCharts.framework/TSCH3DChartAxisLabelsSceneObject.h | Github Open Source | Open Source | MIT | 2,020 | iOS14Header | zhangkn | C | Code | 160 | 971 | /*
* This header is generated by classdump-dyld 1.0
* on Sunday, September 27, 2020 at 12:31:22 PM Mountain Standard Time
* Operating System: Version 14.0 (Build 18A373)
* Image Source: /System/Library/PrivateFrameworks/iWorkImport.framework/Frameworks/TSCharts.framework/TSCharts
* classdump-dyld is licensed under GPLv... | 33,102 |
https://github.com/morgantxrx/django-drop/blob/master/testapp/main/admin.py | Github Open Source | Open Source | BSD-3-Clause | 2,017 | django-drop | morgantxrx | Python | Code | 12 | 38 | from django.contrib import admin
from drop.models import Product
@admin.register(Product)
class ProductAdmin(admin.ModelAdmin):
pass
| 47,465 |
https://github.com/goshakkk/medberry/blob/master/app/assets/javascripts/templates/components/identity-card.hbs | Github Open Source | Open Source | OML | 2,019 | medberry | goshakkk | null | Spoken | 16 | 79 | <div class="media">
<div class="pull-left">
<img class="media-object img-circle"
{{bind-attr src="avatarUrl" style="imgStyle"}}>
</div>
<div class="media-body">
{{yield}}
</div>
</div>
| 4,513 |
https://github.com/andreimironenko/arago-dm814xx/blob/master/recipes/wpa-supplicant/wpa-supplicant-git/0041-driver_nl80211-added-the-power-save-private-driver-c.patch | Github Open Source | Open Source | MIT | 2,017 | arago-dm814xx | andreimironenko | null | Spoken | 479 | 1,531 | From c386f0e2819c0507ffc0aca6ae6cf3da499f0ea5 Mon Sep 17 00:00:00 2001
From: Guy Eilam <guy@wizery.com>
Date: Sun, 2 Oct 2011 08:38:06 +0200
Subject: [PATCH 9/9] driver_nl80211 - added the power save private driver commands for Android
Implemented support to POWERMODE and GETPOWER private commands
for Android.
Signed... | 37,566 |
https://github.com/MMAUG/Mae/blob/master/app/src/main/java/org/mmaug/mae/fragments/HomeFragment.java | Github Open Source | Open Source | Apache-2.0 | 2,015 | Mae | MMAUG | Java | Code | 521 | 2,806 | package org.mmaug.mae.fragments;
import android.app.Activity;
import android.content.Intent;
import android.graphics.Color;
import android.graphics.Typeface;
import android.os.Bundle;
import android.os.CountDownTimer;
import android.support.v7.widget.CardView;
import android.view.LayoutInflater;
import android.view.Vi... | 25,203 |
https://github.com/pjahr/InfinityGogglesControl/blob/master/sketch/spikes/mictest/mictest.ino | Github Open Source | Open Source | MIT | null | InfinityGogglesControl | pjahr | null | Spoken | 39 | 141 |
int Analog_Eingang = A5;
void setup ()
{
pinMode(Analog_Eingang, INPUT);
Serial.begin(9600);
}
void loop ()
{
float analog;
analog = analogRead(Analog_Eingang);
Serial.print(analog);
Serial.print(" (");
int lvl = analog / 64;
for(int i=0; i<=lvl; i++)
{
Serial.print("#");
... | 32,007 |
https://github.com/marcusvw/GUISLI/blob/master/SLI.cpp | Github Open Source | Open Source | MIT | null | GUISLI | marcusvw | C++ | Code | 751 | 2,246 | #include "SLI.h"
#include "../../version.h"
#ifdef HW_M5PAPER
#include <M5EPD.h>
#endif
#ifdef HW_M5CORE2
#include <M5Core2.h>
#endif
#include <ArduinoJson.h>
#include "../GUI.h"
/**
* Constructor
***/
SliderPage::SliderPage(JsonObject obj, PAG_pos_t cp, bool useSDCard)
{
canvas_pos = cp;
image1 = obj["image1... | 18,518 |
https://github.com/gdeioannes/IdleMinerTycoon/blob/master/Assets/Scripts/CompanySections/WorkLine.cs | Github Open Source | Open Source | MIT | 2,019 | IdleMinerTycoon | gdeioannes | C# | Code | 127 | 674 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
[System.Serializable]
public class WorkLine : MonoBehaviour {
public Text workLineNumTxt;
public Text superMoneyCostTxt;
public Text moneyCostTxt;
public GameObject buyPanel;
public WorkPanel workPanel;
public... | 13,899 |
https://github.com/jecisc/cargo/blob/master/repository/CargoPackageManager.package/String.extension/instance/asPackageDependency.st | Github Open Source | Open Source | MIT | 2,018 | cargo | jecisc | null | Spoken | 8 | 27 | *CargoPackageManager
asPackageDependency
^ CGOPackageDependency newFrom: self -> #() | 45,082 |
https://github.com/bcgit/bc-java/blob/master/pg/src/main/java/org/bouncycastle/openpgp/operator/jcajce/JcaPGPKeyPair.java | Github Open Source | Open Source | Apache-2.0, MIT, LicenseRef-scancode-unknown-license-reference | 2,023 | bc-java | bcgit | Java | Code | 251 | 729 | package org.bouncycastle.openpgp.operator.jcajce;
import java.security.KeyPair;
import java.security.PrivateKey;
import java.security.PublicKey;
import java.util.Date;
import org.bouncycastle.openpgp.PGPAlgorithmParameters;
import org.bouncycastle.openpgp.PGPException;
import org.bouncycastle.openpgp.PGPKeyPair;
impo... | 36,221 |
https://github.com/google/conscrypt/blob/master/common/src/test/java/org/conscrypt/java/security/README.ASN1 | Github Open Source | Open Source | Apache-2.0 | 2,023 | conscrypt | google | null | Spoken | 96 | 210 | Many tests in this package check the ASN.1 encoding for various kinds of parameters. The openssl
command line tool can be used to view and encode data in ASN.1.
Test data for encoding tests is preceded by its definition in the OpenSSL generation string
format described at https://wiki.openssl.org/index.php/Manual:ASN... | 52,001 |
https://github.com/GreenWaves-Technologies/gap_sdk/blob/master/gvsoc/gvsoc/models/cpu/iss/include/rvXf16.hpp | Github Open Source | Open Source | Apache-2.0 | 2,023 | gap_sdk | GreenWaves-Technologies | C++ | Code | 704 | 3,329 | /*
* Copyright (C) 2020 GreenWaves Technologies, SAS, ETH Zurich and
* University of Bologna
*
* 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.apac... | 28,381 |
https://github.com/randalfien/fluffy-octo-telegram/blob/master/FluffyOcto/Assets/Scripts/EndSceneShow.cs | Github Open Source | Open Source | MIT | 2,018 | fluffy-octo-telegram | randalfien | C# | Code | 72 | 246 | using System.Collections;
using System.Collections.Generic;
using DG.Tweening;
using TMPro;
using UnityEngine;
using UnityEngine.Events;
public class EndSceneShow : MonoBehaviour
{
public GameObject ToShow;
public float Delay = 2f;
public float KeepOnScreen = 0;
public bool kill;
void Start ()
{
ToShow.SetAc... | 22,159 |
https://github.com/Kitware/SMTK/blob/master/smtk/attribute/ItemDefinition.cxx | Github Open Source | Open Source | BSD-3-Clause, LicenseRef-scancode-unknown-license-reference | 2,023 | SMTK | Kitware | C++ | Code | 446 | 1,441 | //=========================================================================
// Copyright (c) Kitware, Inc.
// All rights reserved.
// See LICENSE.txt for details.
//
// This software is distributed WITHOUT ANY WARRANTY; without even
// the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
// PURPOSE... | 48,037 |
https://github.com/berquist/qmspeedtest/blob/master/berquist/office_workstation/qchem/4.1.0.1-compiled/hf/run.sh | Github Open Source | Open Source | BSD-2-Clause | 2,018 | qmspeedtest | berquist | Shell | Code | 5 | 27 | jobname="hf"
$(which qchem) ${jobname}.inp ${jobname}.out
| 3,760 |
https://github.com/mahgadalla/pymor/blob/master/src/pymortests/demos.py | Github Open Source | Open Source | Unlicense | 2,021 | pymor | mahgadalla | Python | Code | 827 | 3,268 | # This file is part of the pyMOR project (http://www.pymor.org).
# Copyright 2013-2017 pyMOR developers and contributors. All rights reserved.
# License: BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause)
import os
import pymordemos
import runpy
import sys
import pytest
from tempfile import mkdtemp
imp... | 4,368 |
https://github.com/JasmineZhen218/P-WL/blob/master/data/PROTEINS/0751.gml | Github Open Source | Open Source | MIT | 2,021 | P-WL | JasmineZhen218 | null | Spoken | 87 | 210 | graph [
directed 0
node [
id 35181
label "0"
]
node [
id 35182
label "0"
]
node [
id 35183
label "1"
]
node [
id 35184
label "1"
]
edge [
source 35182
target 35181
weight 3
]
edge [
source 35183
target 35181
weight 3
]
edge [
sourc... | 21,757 |
https://github.com/atalaydev/cardify/blob/master/buckets/viewsets/__init__.py | Github Open Source | Open Source | MIT | null | cardify | atalaydev | Python | Code | 4 | 10 | from .bucket import BucketViewSet
| 42,910 |
https://github.com/esteinig/enaBrowserTools/blob/master/enaBrowserTools/utils.py | Github Open Source | Open Source | Apache-2.0 | null | enaBrowserTools | esteinig | Python | Code | 1,734 | 7,084 | #
# utils.py
#
#
# Copyright 2017 EMBL-EBI, Hinxton outstation
#
# 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 applicab... | 51,973 |
https://github.com/deeplook/pyteen/blob/master/pyteen/snippets/algorithms/sieve_eratosthenes.py | Github Open Source | Open Source | 2,020 | pyteen | deeplook | Python | Code | 121 | 239 | def sieve_of_eratosthenes(n):
"""Yield primes in [2..n] using the "Sieve of Eratosthenes".
"""
assert type(n) == int
# Create a Boolean array "prime[0..n]" and initialize
# all entries in it as true. A value in prime[i] will
# finally be false if i is not a prime, else true.
p, prime = 2, [T... | 323 | |
https://github.com/zynxhealth/zaws/blob/master/spec/zaws/command/elb/load_balancer_spec.rb | Github Open Source | Open Source | Apache-2.0 | 2,016 | zaws | zynxhealth | Ruby | Code | 1,679 | 10,103 | require 'spec_helper'
describe ZAWS::Services::ELB::LoadBalancer do
let(:load_balancer_created) { ZAWS::Helper::Output.colorize("Load balancer created.", AWS_consts::COLOR_YELLOW) }
let(:load_balancer_not_created) { ZAWS::Helper::Output.colorize("Load balancer already exists. Skipping creation.", AWS_consts::COLO... | 53,404 |
https://github.com/corbie11/iOS14Headers/blob/master/usr/libexec/nsurlsessiond/PDURLSessionProxyDidReceiveResponseReply.h | Github Open Source | Open Source | MIT | 2,020 | iOS14Headers | corbie11 | Objective-C | Code | 130 | 544 | //
// Generated by classdumpios 1.0.1 (64 bit) (iOS port by DreamDevLost)(Debug version compiled Sep 26 2020 13:48:20).
//
// Copyright (C) 1997-2019 Steve Nygard.
//
#import <ProtocolBuffer/PBCodable.h>
#import "NSCopying-Protocol.h"
@class PDURLSessionProxyTaskMessage;
@interface PDURLSessionProxyDidReceiveR... | 43,666 |
https://github.com/Shrimpstronaut/tiny-app-platform/blob/master/src/tap | Github Open Source | Open Source | Apache-2.0 | 2,019 | tiny-app-platform | Shrimpstronaut | Shell | Code | 27 | 94 | #!/bin/bash
set -e
SCRIPT_DIR=$(cd `dirname $0` && pwd)
cmd="$SCRIPT_DIR/tap-$1"
if [ -x $cmd ]
then
$cmd "${@:2}"
else
echo 'Unknown command'
echo ''
$SCRIPT_DIR/tap-help
exit 1
fi
| 51,572 |
https://github.com/hoyinlai/adl/blob/master/haskell/compiler/tests/test23/ts-output/test23.ts | Github Open Source | Open Source | BSD-3-Clause | 2,021 | adl | hoyinlai | TypeScript | Code | 133 | 536 | /* @generated from adl module test23 */
import * as ADL from './runtime/adl';
/**
* A docstring
*/
export interface S1 {
/**
* Another docstring
*/
field: string;
}
export function makeS1(
input: {
field: string,
}
): S1 {
return {
field: input.field,
};
}
const S1_AST : ADL.ScopedDecl =... | 14,121 |
https://github.com/pochuan0720/OrchardMeso1.10.2/blob/master/src/Orchard/ContentManagement/Records/ContentPartRecord.cs | Github Open Source | Open Source | BSD-3-Clause | null | OrchardMeso1.10.2 | pochuan0720 | C# | Code | 32 | 90 | using Newtonsoft.Json;
using Orchard.Data.Conventions;
namespace Orchard.ContentManagement.Records {
public abstract class ContentPartRecord {
[JsonRequired]
public virtual int Id { get; set; }
[CascadeAllDeleteOrphan]
public virtual ContentItemRecord ContentItemRecord { get; set; ... | 33,592 |
https://github.com/tjduavis/bsd-toolkit/blob/master/cpp/btp600/presentation/struts-2.0.6-all/struts-2.0.6/src/core/src/main/java/org/apache/struts2/interceptor/RolesInterceptor.java | Github Open Source | Open Source | Apache-2.0 | 2,013 | bsd-toolkit | tjduavis | Java | Code | 570 | 1,436 | /*
* $Id: RolesInterceptor.java 478625 2006-11-23 17:31:52Z wsmoak $
*
* 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
*... | 29,656 |
https://github.com/Kazdan1994/aas_bdloc/blob/master/src/AppBundle/Entity/Transaction.php | Github Open Source | Open Source | MIT | null | aas_bdloc | Kazdan1994 | PHP | Code | 102 | 324 | <?php
namespace AppBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* Transaction
*
* @ORM\Table()
* @ORM\Entity(repositoryClass="AppBundle\Entity\TransactionRepository")
*/
class Transaction
{
/**
* @var integer
*
* @ORM\Column(name="id", type="integer")
* @ORM\Id
* @ORM\Generat... | 14,827 |
https://github.com/wyaadarsh/LeetCode-Solutions/blob/master/Java/0816-Ambiguous-Coordinates/soln.java | Github Open Source | Open Source | MIT | 2,020 | LeetCode-Solutions | wyaadarsh | Java | Code | 151 | 375 | class Solution {
public List<String> ambiguousCoordinates(String S) {
S = S.substring(1, S.length() - 1);
int n = S.length();
List<String> ans = new ArrayList<>();
for(int i = 1; i < n; ++i) {
String left = S.substring(0, i);
String right = S.substring(i);
... | 52,959 |
https://github.com/Tiththa/hhvm/blob/master/hphp/test/slow/spec/tests/lexical_structure/keywords.php | Github Open Source | Open Source | PHP-3.01, Zend-2.0 | null | hhvm | Tiththa | PHP | Code | 28 | 89 | <?php
/*
+-------------------------------------------------------------+
| Copyright (c) 2015 Facebook, Inc. (http://www.facebook.com) |
+-------------------------------------------------------------+
*/
error_reporting(-1);
$colors = array("red", "white", "blue");
foreach ($colors as $a)
{
echo $a.' '... | 48,194 |
https://github.com/mikkirs/255-2021-SlipstreamJumper/blob/master/Assets/ASmith/Scripts/PlayerMovement.cs | Github Open Source | Open Source | MIT | null | 255-2021-SlipstreamJumper | mikkirs | C# | Code | 453 | 1,065 | using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace ASmith
{
/// <summary>
/// Takes input and moves player
/// based off Input and Euler Physics
/// </summary>
public class PlayerMovement : MonoBehaviour
{
/// <summary>
/// Whe... | 26,113 |
https://github.com/jijeesh/docker-tomcat/blob/master/node-webshot-master/grunt/Gruntfile.js | Github Open Source | Open Source | MIT | 2,017 | docker-tomcat | jijeesh | JavaScript | Code | 56 | 187 | module.exports = function(grunt) {
// Project configuration.
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
webshot: {
homepage: {
options: {
siteType: 'url',
site: 'http://www.yahoo.co.jp',
savePath: './tmp/yahoo.co.jp.png',
windowSize: {
width: 1366,
height: 768
}, shotSize: {
width: 1366,
height:... | 46,267 |
https://github.com/viode/viode/blob/master/app/controllers/search_controller.rb | Github Open Source | Open Source | BSD-2-Clause, LicenseRef-scancode-unknown-license-reference | 2,018 | viode | viode | Ruby | Code | 36 | 138 | # frozen_string_literal: true
class SearchController < ApplicationController
def index
if params[:query] && params[:query].size > 1
tags = ActsAsTaggableOn::Tag.arel_table
@tags = ActsAsTaggableOn::Tag.where tags[:name].matches("%#{params[:query]}%")
@questions = Question.search(params[:query])... | 22,888 |
https://github.com/rahulraveendranak/crud-form-handling/blob/master/resources/views/articles/create.blade.php | Github Open Source | Open Source | MIT | 2,020 | crud-form-handling | rahulraveendranak | PHP | Code | 59 | 321 | @extends("layouts.theme")
@section("content")
<form method="post" action="/articles">
@csrf
<div class="form-group">
<label for="">Article Title</label>
<input type="text" value="{{ old('title')}}" name="title" class="form-control">
@error("title")
<p style="color:red">{{$error... | 14,996 |
https://github.com/mghgroup/Glide-Browser/blob/master/media/gpu/vaapi/vp9_temporal_layers.h | Github Open Source | Open Source | BSD-3-Clause-No-Nuclear-License-2014, BSD-3-Clause | null | Glide-Browser | mghgroup | C | Code | 373 | 945 | // Copyright 2020 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.
#ifndef MEDIA_GPU_VAAPI_VP9_TEMPORAL_LAYERS_H_
#define MEDIA_GPU_VAAPI_VP9_TEMPORAL_LAYERS_H_
#include <stdint.h>
#include <vector>
#include "media/fil... | 39,603 |
https://github.com/jsz0913/rpg_dvs_evo_open/blob/master/svo_ros/src/svo_interface.cpp | Github Open Source | Open Source | BSD-2-Clause-Patent | 2,022 | rpg_dvs_evo_open | jsz0913 | C++ | Code | 763 | 4,105 | #include <svo_ros/svo_interface.h>
#include <ros/callback_queue.h>
#include <svo_ros/svo_factory.h>
#include <svo_ros/visualizer.h>
#include <svo/common/frame.h>
#include <svo/map.h>
#include <svo/imu_handler.h>
#include <svo/common/camera.h>
#include <svo/common/conversions.h>
#include <svo/frame_handler_mono.h>
#in... | 14,421 |
https://github.com/jrosesol/dcmj2k-streaming-viewer/blob/master/.gitmodules | Github Open Source | Open Source | BSD-2-Clause | 2,015 | dcmj2k-streaming-viewer | jrosesol | Git Config | Code | 19 | 94 | [submodule "ext/cornerstone"]
path = ext/cornerstone
url = git://github.com/jpambrun/cornerstone.git
branch = feat-removeImageFromCache
[submodule "ext/jpx-medical"]
path = ext/jpx-medical
url = git@github.com:jpambrun/jpx-medical.git
| 9,869 |
https://github.com/orientechnologies/orientdb/blob/master/core/src/main/java/com/orientechnologies/orient/core/sql/parser/OTruncateClusterStatement.java | Github Open Source | Open Source | BSD-3-Clause, CDDL-1.0, Apache-2.0 | 2,023 | orientdb | orientechnologies | Java | Code | 427 | 1,473 | /* Generated By:JJTree: Do not edit this line. OTruncateClusterStatement.java Version 4.3 */
/* JavaCCOptions:MULTI=true,NODE_USES_PARSER=false,VISITOR=true,TRACK_TOKENS=true,NODE_PREFIX=O,NODE_EXTENDS=,NODE_FACTORY=,SUPPORT_CLASS_VISIBILITY_PUBLIC=true */
package com.orientechnologies.orient.core.sql.parser;
import c... | 7,713 |
https://github.com/verticle-io/spring-cloud-gateway-kubernetes/blob/master/src/main/java/io/verticle/kubernetes/authgateway/crd/v1alpha1/httproute/HTTPRouteMatchListSpec.java | Github Open Source | Open Source | Apache-2.0 | null | spring-cloud-gateway-kubernetes | verticle-io | Java | Code | 11 | 60 | package io.verticle.kubernetes.authgateway.crd.v1alpha1.httproute;
import java.util.ArrayList;
public class HTTPRouteMatchListSpec extends ArrayList<HTTPRouteMatchSpec> {
}
| 3,573 |
https://github.com/JohnDN90/MYSTRAN/blob/master/Source/Modules/COL_VECS.f90 | Github Open Source | Open Source | MIT | 2,022 | MYSTRAN | JohnDN90 | null | Spoken | 834 | 1,906 | ! ##################################################################################################################################
! Begin MIT license text.
! ___________________________________________________________________________... | 21 |
https://github.com/unistra/esup-schedulesy-frontend/blob/master/src/main.js | Github Open Source | Open Source | Apache-2.0 | 2,023 | esup-schedulesy-frontend | unistra | JavaScript | Code | 133 | 542 | import Vue from 'vue';
import * as Sentry from '@sentry/browser';
import * as Integrations from '@sentry/integrations';
import AsyncComputed from 'vue-async-computed';
import Cas from 'vue-cas-authentication';
import UnistraSchedule from './UnistraSchedule.vue';
import vuetify from '@/plugins/vuetify';
import '@/plugin... | 49,271 |
https://github.com/MeasureAuthoringTool/fhir-mongoose-models/blob/master/app/assets/javascripts/fhir/DeviceUseStatementStatus.js | Github Open Source | Open Source | CC0-1.0 | 2,020 | fhir-mongoose-models | MeasureAuthoringTool | JavaScript | Code | 21 | 89 | const { ElementSchema } = require('./Element');
const { DeviceUseStatementStatusSchema } = require('./allSchemaHeaders.js');
DeviceUseStatementStatusSchema.add(ElementSchema);
DeviceUseStatementStatusSchema.remove('id');
DeviceUseStatementStatusSchema.add({
value: String,
});
module.exports.DeviceUseStatementStatus... | 6,153 |
https://github.com/Huracan911/autowp/blob/master/module/Application/src/Application/DuplicateFinder.php | Github Open Source | Open Source | MIT, LicenseRef-scancode-unknown-license-reference | 2,019 | autowp | Huracan911 | PHP | Code | 144 | 582 | <?php
declare(strict_types=1);
namespace Application;
use Zend\Db\Sql\Select;
use Zend\Db\TableGateway\TableGateway;
use Zend\Json\Json;
use Application\Service\RabbitMQ;
class DuplicateFinder
{
/**
* @var RabbitMQ
*/
private $rabbitmq;
/**
* @var TableGateway
*/
private $dista... | 43,047 |
https://github.com/oliver-eifler/lab/blob/master/web-html/_assets/js/olli/olli.ajax.js | Github Open Source | Open Source | MIT | null | lab | oliver-eifler | JavaScript | Code | 797 | 2,971 | /*
this file is part of the olli web framework
oliver.eifler@gmx.de
*/
olli.ajax = {};
(function(lib,olli,$) {
lib.vars = {};
lib.vars.ver="0.0.2";
lib.vars.ajaxload = null;
lib.vars.ajaxunload = null;
//private
vars = {set:false};
//var History = null;
function init () {
//if (!Modernizr.history)
/... | 38,987 |
https://github.com/po4tion/devblog/blob/master/pages/user/reset/[id].js | Github Open Source | Open Source | MIT | 2,022 | devblog | po4tion | JavaScript | Code | 64 | 172 | /*
비밀번호 초기화 페이지
*/
import { withRouter } from 'next/router';
import { ResetPwd } from '/components/user';
function Reset({ params }) {
return (
<>
<ResetPwd params={params} />
</>
);
}
export default withRouter(Reset);
export async function getStaticPaths() {
return {
paths: [],
fallback: 'blocking'... | 21,004 |
https://github.com/i-gaven/Just_a_dumper/blob/master/all_headers/微店 - 手机开店用微店-8.6.0(越狱应用)_headers/WDSCategoryListViewController.h | Github Open Source | Open Source | MIT | 2,018 | Just_a_dumper | i-gaven | Objective-C | Code | 177 | 856 | //
// Generated by class-dump 3.5 (64 bit) (Debug version compiled Sep 17 2017 16:24:48).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard.
//
#import "WDSBaseViewController.h"
#import "UITableViewDataSource-Protocol.h"
#import "UITableViewDelegate-Protocol.h"
#import "UITextF... | 16,101 |
https://github.com/sam-w/guitar-chord-positions/blob/master/ChordIdentifier/main.swift | Github Open Source | Open Source | MIT | null | guitar-chord-positions | sam-w | Swift | Code | 223 | 771 | //
// main.swift
// ChordIdentifier
//
// Created by Sam Warner on 2/9/18.
// Copyright © 2018 Sam Warner. All rights reserved.
//
import Foundation
let argCount = CommandLine.argc
print(Guitar.positions(for: Note.A.maj))
/*print(Note.Fs.min9.b5)
print(Guitar.positions(for: Note.Eb.dom9)[0...10])*/
let allChord... | 6,862 |
https://github.com/520hacker/lottery/blob/master/imps/lottory_history.js | Github Open Source | Open Source | MIT | 2,015 | lottery | 520hacker | JavaScript | Code | 32 | 117 | define([
'../libs/download'
],function(
download
){
var history = [];
history.log = function() {
history.push( [].slice.call(arguments) );
localStorage.setItem('lottory_history', JSON.stringify(history) );
}
history.exports = function() {
download( 'lottory_history', localStorage.getItem('lottor... | 13,341 |
https://github.com/ukwa/ukwa-ui/blob/master/src/main/java/com/marsspiders/ukwa/controllers/CustomErrorController.java | Github Open Source | Open Source | BSD-3-Clause | 2,023 | ukwa-ui | ukwa | Java | Code | 105 | 429 | package com.marsspiders.ukwa.controllers;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.autoconfigure.web.ErrorController;
import org.springframework.stereotype.Controller;
import org.sprin... | 51,678 |
https://github.com/jamesanto/scala/blob/master/test/files/run/exceptions.scala | Github Open Source | Open Source | Apache-2.0 | 2,022 | scala | jamesanto | Scala | Code | 148 | 368 | //############################################################################
// Exceptions
//############################################################################
//############################################################################
abstract class IntMap[A] {
def lookup(key: Int): A = this match... | 15,692 |
https://github.com/orochii/repositorio-pruebas89/blob/master/Assets/Standard Assets/VoxelBusters/NativePlugins/Plugins/Features/UI/Binding/iOS/UIIOS.PromptDialog.cs | Github Open Source | Open Source | MIT | null | repositorio-pruebas89 | orochii | C# | Code | 130 | 480 | using UnityEngine;
using System.Collections;
using System.Runtime.InteropServices;
using VoxelBusters.Utility;
#if UNITY_IOS
namespace VoxelBusters.NativePlugins
{
public partial class UIIOS : UI
{
#region Native Methods
[DllImport("__Internal")]
private static extern void showSingleFieldPromptDialog (stri... | 5,840 |
https://github.com/myw506/spring-cloud-sleuth/blob/master/spring-cloud-sleuth-core/src/main/java/org/springframework/cloud/sleuth/log/SpanLogger.java | Github Open Source | Open Source | Apache-2.0 | null | spring-cloud-sleuth | myw506 | Java | Code | 204 | 365 | /*
* Copyright 2013-2017 the original author or 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 ap... | 33,922 |
https://github.com/kobehhh/kdesign/blob/master/components/badge/index.tsx | Github Open Source | Open Source | MIT | 2,022 | kdesign | kobehhh | TypeScript | Code | 11 | 23 | import Badge from './badge'
export * from './badge'
export default Badge
| 49,074 |
https://github.com/itsbenm/tms/blob/master/Procfile | Github Open Source | Open Source | MIT | 2,017 | tms | itsbenm | null | Spoken | 5 | 16 | web: gunicorn tms:app --log-file -
| 2,186 |
https://github.com/MetaMask/key-tree/blob/master/test/types/eth-hd-keyring/index.d.ts | Github Open Source | Open Source | MIT | 2,022 | key-tree | MetaMask | TypeScript | Code | 16 | 55 | declare module 'eth-hd-keyring' {
export default class HdKeyring {
constructor(args: Record<string, unknown>);
getAccounts(): Promise<string[]>;
}
}
| 44,895 |
https://github.com/paulourio/ironandblood/blob/master/ironandblood/game/widgets.py | Github Open Source | Open Source | MIT | 2,016 | ironandblood | paulourio | Python | Code | 50 | 210 | from django import forms
from django.forms import widgets
class KnobInput(forms.TextInput):
def __init__(self, max_value = 100, color = '#34495E', *args, **kwargs):
kwargs['attrs'] = {'class': 'knob',
'data-width': '80',
'data-height': '80',
'data-min': '0',
'data-max': str(max_value),
... | 48,275 |
https://github.com/laoniusanche/AnnieJS2Html5Demo/blob/master/source/src/saveImg/SaveImg.js | Github Open Source | Open Source | MIT | 2,018 | AnnieJS2Html5Demo | laoniusanche | JavaScript | Code | 29 | 337 | window.saveImg=window.saveImg||{};
saveImg.SaveImg=function(){
var s = this;
annie.Sprite.call(s);
/*_a2x_need_start*//*_a2x_need_end*/
annie.initRes(s,"saveImg","SaveImg");
var code1=new annie.FloatDisplay();
//找到Image标签内容将他赋值给FloatDisplay,这个对不是SpriteSheet里的小图有用
code1.init(new annie.Bitmap(annie.getRes... | 20,143 |
https://github.com/ronaldo888kgs/selective-laravel/blob/master/app/Http/Controllers/TxtConvertController.php | Github Open Source | Open Source | MIT | 2,022 | selective-laravel | ronaldo888kgs | PHP | Code | 63 | 264 | <?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Storage;
class TxtConvertController extends Controller
{
//
public function __invoke(){
return view('txt_convert');
}
public function index(){__invoke();}
public function convert(Request $requ... | 49,012 |
https://github.com/apiyap/ist-uvd-robot-web/blob/master/src/components/WebCam/index.js | Github Open Source | Open Source | MIT | null | ist-uvd-robot-web | apiyap | JavaScript | Code | 153 | 497 | import React , { useState, useEffect} from "react";
import Draggable from "react-draggable";
import { Image, } from "react-bootstrap";
import { useDispatch , useSelector } from "react-redux";
import {
// updateShowWebcam,
// updateWebcamSize,
getShowWebcam,
getWebcamWidth,
getWebcamHeight
}... | 43,394 |
https://github.com/buxlabs/pure-conditions/blob/master/isFrozen.js | Github Open Source | Open Source | MIT | 2,019 | pure-conditions | buxlabs | JavaScript | Code | 10 | 34 | function isFrozen (object) {
return Object.isFrozen(object)
}
module.exports = isFrozen
| 40,222 |
https://github.com/dbbeginner/discussstocks/blob/master/routes/modals.php | Github Open Source | Open Source | MIT | null | discussstocks | dbbeginner | PHP | Code | 28 | 109 | <?php
use Illuminate\Support\Facades\Route;
// Note that this route has a prefix
Route::get('report', 'App\Http\Controllers\Modals\ReportContentController@index')
->prefix('modals')
->middleware('auth');
// Note that this route does not have a prefix
Route::post('report', 'App\Http\Controllers\Modals\ReportC... | 20,652 |
https://github.com/talalbutt/Tumbleweed/blob/master/tumbleweed/src/main/java/io/noties/tumbleweed/Tween.java | Github Open Source | Open Source | Apache-2.0 | 2,019 | Tumbleweed | talalbutt | Java | Code | 1,795 | 4,200 | package io.noties.tumbleweed;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import io.noties.tumbleweed.equations.Quad;
import io.noties.tumbleweed.paths.CatmullRom;
/**
* Core class of the Tween Engine. A Tween is basically an interpolation
* between two values of an object attribute. H... | 51,332 |
https://github.com/ASUPychron/pychron/blob/master/pychron/envisage/browser/add_analysis_group_view.py | Github Open Source | Open Source | Apache-2.0 | 2,022 | pychron | ASUPychron | Python | Code | 242 | 562 | # ===============================================================================
# Copyright 2016 ross
#
# 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/LICE... | 54,061 |
https://github.com/shopg8felix/pwa/blob/master/libraries/core/constants/AppEvents.js | Github Open Source | Open Source | Apache-2.0 | 2,021 | pwa | shopg8felix | JavaScript | Code | 45 | 220 | export const EVENT_KEYBOARD_WILL_CHANGE = 'keyboardWillChange';
export const APP_EVENT_VIEW_DID_APPEAR = 'viewDidAppear';
export const APP_EVENT_VIEW_WILL_APPEAR = 'viewWillAppear';
export const APP_EVENT_VIEW_WILL_DISAPPEAR = 'viewWillDisappear';
export const APP_EVENT_VIEW_DID_DISAPPEAR = 'viewDidDisappear';
export... | 52,489 |
https://github.com/bsravanin/TwitteRSS/blob/master/twitterss/twitterss.py | Github Open Source | Open Source | Apache-2.0 | 2,021 | TwitteRSS | bsravanin | Python | Code | 92 | 305 | #! /usr/bin/env python3
"""App for Twitter RSS Feed Generation."""
import logging
import os
import sys
from threading import Thread
sys.path.insert(0, os.getcwd())
from twitterss import db
from twitterss import rss
from twitterss import twitter_api
LOGGING_FORMAT = '%(asctime)s %(levelname)s %(message)s'
LOGGING_LEV... | 35,953 |
https://github.com/soremibolu/react-admin-panel/blob/master/packages/rap-core/lib/index.ts | Github Open Source | Open Source | MIT | 2,020 | react-admin-panel | soremibolu | TypeScript | Code | 5 | 10 | export const Core:string = "Core" | 16,966 |
https://github.com/GStore/stackoverflow-56883541/blob/master/src/main.js | Github Open Source | Open Source | MIT | null | stackoverflow-56883541 | GStore | JavaScript | Code | 50 | 156 | import Vue from 'vue';
import App from './App.vue';
import VueIdb from 'vue-idb'
Vue.use(VueIdb)
const idb = new VueIdb({
version: 1,
database: 'test',
schemas: [
{ tests: 'id, title, created_at, updated_at' },
{ posts: 'id, owner' }
]
});
Vue.config.productionTip = false;
new Vue({
idb: idb,
re... | 3,250 |
https://github.com/shikharvashistha/universal/blob/master/tests/fixpnt/modulo/mod_division.cpp | Github Open Source | Open Source | MIT | null | universal | shikharvashistha | C++ | Code | 1,699 | 4,789 | // mod_division.cpp: test suite runner for arbitrary configuration fixed-point modulo division
//
// Copyright (C) 2017-2021 Stillwater Supercomputing, Inc.
//
// This file is part of the universal numbers project, which is released under an MIT Open Source license.
#include <universal/utility/directives.hpp>
#include ... | 46,419 |
https://github.com/AustinShalit/frc-docs-translations/blob/master/locale/tr/LC_MESSAGES/docs/software/roborio-info/roborio-ssh.po | Github Open Source | Open Source | CC-BY-4.0 | 2,021 | frc-docs-translations | AustinShalit | Gettext Catalog | Code | 867 | 2,868 | # SOME DESCRIPTIVE TITLE.
# Copyright (C) 2021, FIRST and other WPILib Contributors
# This file is distributed under the same license as the FIRST Robotics Competition package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
# Translators:
# Esra özemre <esra.ozemre@tfo.k12.tr>, 2020
# Müfit ALKAYA <mufit.alkaya@tfo.k12.tr>, ... | 26,602 |
https://github.com/icarephone/gcr.io/blob/master/gcr.io/google_containers/hyperkube-ppc64le/v1.7.8 | Github Open Source | Open Source | Apache-2.0 | 2,019 | gcr.io | icarephone | null | Spoken | 1 | 28 | gcr.io/google_containers/hyperkube-ppc64le:v1.7.8
| 33,571 |
https://github.com/odoo-mastercore/odoo-argentina/blob/master/l10n_ar_invoice_reports/__manifest__.py | Github Open Source | Open Source | MIT | 2,021 | odoo-argentina | odoo-mastercore | Python | Code | 101 | 363 | # -*- coding: utf-8 -*-
################################################################################
# Author : SINAPSYS GLOBAL SA || MASTERCORE SAS
# Copyright(c): 2019-Present.
# License URL : AGPL-3
################################################################################
{
'name': 'Comprobantes... | 1,601 |
https://github.com/tkopacz/2016DeveloperDays/blob/master/TK_2016MainSFFunctions/TKStateful/TKStateful.cs | Github Open Source | Open Source | MIT | 2,016 | 2016DeveloperDays | tkopacz | C# | Code | 758 | 2,562 | using System;
using System.Collections.Generic;
using System.Fabric;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.ServiceFabric.Data.Collections;
using Microsoft.ServiceFabric.Services.Communication.Runtime;
using Microsoft.ServiceFabric.Services.Runtime;
using Microsoft.Ser... | 33,054 |
https://github.com/GuettnerBianca/bio2rdf-scripts/blob/master/pdb/pdb2rdf-parser/src/main/java/com/dumontierlab/pdb2rdf/parser/AbstractPdbXmlParser.java | Github Open Source | Open Source | LicenseRef-scancode-unknown-license-reference, MIT | 2,020 | bio2rdf-scripts | GuettnerBianca | Java | Code | 372 | 942 | /**
* Copyright (c) 2013 Dumontierlab
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish,... | 2,863 |
https://github.com/badhabits287/Marketing-Page/blob/master/less/about-page.less | Github Open Source | Open Source | MIT | null | Marketing-Page | badhabits287 | Less | Code | 73 | 267 |
.team-card {
border: thin solid @green;
padding: 20px;
border-top-right-radius: 5%;
border-top-left-radius: 5%;
background-color: rgba(255, 255, 255, .1);
width: 300px;
margin-right: 40px;
margin-top: 40px;
align-items: center;
text-align: center;
&:last-child {
mar... | 41,776 |
https://github.com/kangaroo/echojs/blob/master/node-llvm/phinode.h | Github Open Source | Open Source | MIT | 2,015 | echojs | kangaroo | C++ | Code | 64 | 325 | #ifndef NODE_LLVM_PHINODE_H
#define NODE_LLVM_PHINODE_H
#include "node-llvm.h"
namespace jsllvm {
class PHINode : public node::ObjectWrap {
public:
static void Init(v8::Handle<v8::Object> target);
static v8::Handle<v8::Value> New(::llvm::PHINode *llvm_phi);
private:
::llvm::PHINode *llvm_phi;
... | 42,623 |
https://github.com/oyhanlong/gongfang/blob/master/app/Http/Controllers/Admin/PlacardController.php | Github Open Source | Open Source | MIT | null | gongfang | oyhanlong | PHP | Code | 317 | 1,160 | <?php
namespace App\Http\Controllers\Admin;
use Illuminate\Http\Request;
use App\Models\placard;
use App\Http\Requests;
use App\Http\Controllers\Controller;
class PlacardController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
publi... | 29,941 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.