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/moritzhertler/Artemis/blob/master/src/main/java/de/tum/in/www1/artemis/service/connectors/jenkins/JenkinsBuildPlanCreator.java | Github Open Source | Open Source | MIT | 2,021 | Artemis | moritzhertler | Java | Code | 573 | 2,464 | package de.tum.in.www1.artemis.service.connectors.jenkins;
import static de.tum.in.www1.artemis.service.connectors.ContinuousIntegrationService.getDockerImageName;
import java.io.IOException;
import java.nio.charset.Charset;
import java.nio.file.Paths;
import java.util.HashMap;
import java.util.Map;
import javax.ann... | 21,871 |
https://github.com/Heroku-elasa/heroku-buildpack-python-ieee-new/blob/master/all_functions/tornado-get - Copy - Copy.py | Github Open Source | Open Source | LicenseRef-scancode-warranty-disclaimer, MIT | 2,020 | heroku-buildpack-python-ieee-new | Heroku-elasa | Python | Code | 3,605 | 16,040 | #!"E:/Program Files win 7 2nd/python27/python.exe"
#!/usr/bin/python
__author__ = 's'
import tornado.httpserver, tornado.websocket
import tornado.ioloop
import tornado.options
import tornado.web
from tornado.options import define, options
# from tornado.httpclient import
import os, re, sys
import socket, time,urllib
# ... | 4,924 |
https://github.com/jotelha/smampppp/blob/master/fitESPforBenzene.py | Github Open Source | Open Source | MIT | 2,022 | smampppp | jotelha | Python | Code | 174 | 612 | #!/usr/bin/env python
""" Estimate point charges for Benzene without constraints """
from fitESPconstrained import *
from ase.build import molecule
def main():
import argparse
parser = argparse.ArgumentParser(prog='fitESPforBenzene.py',
description='Estimate point charges for Benzene without cons... | 51,071 |
https://github.com/poojaravi23/Leanevent-MVC-framework-web-application/blob/master/application/models/Modelhomebusiness.php | Github Open Source | Open Source | MIT | null | Leanevent-MVC-framework-web-application | poojaravi23 | PHP | Code | 75 | 390 | <?php
class modelhomebusiness extends CI_Model
{
public function businessid($busid){
$busselectquery=$this->db->query("SELECT `BusinessID` FROM business where email ='$busid';");
return $busselectquery->row()->BusinessID;
}
public function homebusinsert($businessdata){
$eventid=$businessdata['EventID'];... | 30,174 |
https://github.com/harshfatepuria/Scientific-Content-Enrichment-in-the-Text-Retrieval-Conference-TREC-Polar-Dynamic-Domain-Dataset/blob/master/cs599-content-enrichment/src/main/java/sweet/ontology/matrElementalMolecule.owl | Github Open Source | Open Source | Apache-2.0 | 2,016 | Scientific-Content-Enrichment-in-the-Text-Retrieval-Conference-TREC-Polar-Dynamic-Domain-Dataset | harshfatepuria | null | Spoken | 337 | 3,003 | <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE rdf:RDF [
<!ENTITY elem "http://sweet.jpl.nasa.gov/2.3/matrElement.owl#">
<!ENTITY chem "http://sweet.jpl.nasa.gov/2.3/matr.owl#">
<!ENTITY crela "http://sweet.jpl.nasa.gov/2.3/relaChemical.owl#">
<!ENTITY allo "http://sweet.jpl.nasa.gov/2.3/matrElementalMolecul... | 13,132 |
https://github.com/lxe/io.coffee/blob/master/deps/v8/test/mjsunit/regress/regress-425551.coffee | Github Open Source | Open Source | Artistic-2.0 | null | io.coffee | lxe | CoffeeScript | Code | 41 | 97 | # Copyright 2014 the V8 project authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
array = new Int8Array(10)
array[/\u007d\u00fc\u0043/] = 1.499
assertEquals 1.499, array[/\u007d\u00fc\u0043/]
| 53,349 |
https://github.com/RohaAreej/Lab-solutions/blob/master/OOP-CSC241/Assignment 03/TextToBinary.java | Github Open Source | Open Source | MIT | 2,020 | Lab-solutions | RohaAreej | Java | Code | 58 | 195 | import java.io.*;
import java.util.ArrayList;
public class TextToBinary {
static void textFileToBinaryFile(File inputFile, File outputFile) {
try {
BufferedReader bufferedReader = new BufferedReader(new FileReader(inputFile));
ArrayList<String> lines = new ArrayList<>();
... | 39,844 |
https://github.com/allblacks2026/iBalekaAPI/blob/master/iBalekaAPI/src/iBalekaAPI.Data/Repositories/RunRepository.cs | Github Open Source | Open Source | MIT | 2,016 | iBalekaAPI | allblacks2026 | C# | Code | 400 | 1,642 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using iBalekaAPI.Data.Infastructure;
using iBalekaAPI.Models;
using iBalekaAPI.Data.Configurations;
using Data.Extentions;
namespace iBalekaAPI.Data.Repositories
{
... | 17,035 |
https://github.com/atereshkov/myreads/blob/master/MyReadsPackages/MyReadsComponentsKit/Sources/MyReadsComponentsKit/View/CircleLoadingView.swift | Github Open Source | Open Source | Apache-2.0 | 2,022 | myreads | atereshkov | Swift | Code | 87 | 321 | import SwiftUI
public struct CircleLoadingView: View {
@State private var shouldAnimate = false
private var color: Color
public init(color: Color) {
self.color = color
}
public var body: some View {
HStack {
Circle()
.fill(color)
.fram... | 23,085 |
https://github.com/LocalJoost/FloatingScreenDemo/blob/master/Assets/App/Scripts.meta | Github Open Source | Open Source | MIT | 2,017 | FloatingScreenDemo | LocalJoost | Unity3D Asset | Code | 14 | 68 | fileFormatVersion: 2
guid: 622cdb49a0ab53d4593fc32ff4736f89
folderAsset: yes
timeCreated: 1498492012
licenseType: Pro
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:
| 51,307 |
https://github.com/chunhuili/pi/blob/master/usr/module/message/src/Controller/Front/IndexController.php | Github Open Source | Open Source | BSD-3-Clause | 2,019 | pi | chunhuili | PHP | Code | 1,266 | 4,676 | <?php
/**
* Pi Engine (http://pialog.org)
*
* @link http://code.pialog.org for the Pi Engine source repository
* @copyright Copyright (c) Pi Engine http://pialog.org
* @license http://pialog.org/license.txt BSD 3-Clause License
*/
namespace Module\Message\Controller\Front;
use Module\Me... | 31,052 |
https://github.com/rsghotra/AbdulBari/blob/master/CString/cctype.cpp | Github Open Source | Open Source | Apache-2.0 | 2,020 | AbdulBari | rsghotra | C++ | Code | 424 | 943 | /*
C-String Related Manipulation:
1. Character Manipuation and Test - cctype
- isdigit(), isalpha(), isalnum(), ispunct(), isspace(), islower, isupper, tolower, toupper, iscntrl, isgraph, isprint
*/
#include<iostream>
#include<cctype>
using namespace std;
int main() {
cout << "According to isdigi... | 2,159 |
https://github.com/ion-channel/ion-connect/blob/master/vendor/github.com/ion-channel/ionic/spdx/spdx.go | Github Open Source | Open Source | Apache-2.0 | 2,017 | ion-connect | ion-channel | Go | Code | 1,167 | 3,325 | package spdx
import (
"fmt"
"github.com/ion-channel/ionic/util"
"regexp"
"strings"
"github.com/google/uuid"
"github.com/ion-channel/ionic/aliases"
"github.com/ion-channel/ionic/projects"
"github.com/spdx/tools-golang/spdx"
"github.com/spdx/tools-golang/spdxlib"
)
type packageInfo struct {
Name ... | 26,288 |
https://github.com/skarik/1Engine/blob/master/oneEngine/oneGame/source/after/terrain/Zones.h | Github Open Source | Open Source | BSD-3-Clause, FTL | 2,023 | 1Engine | skarik | C++ | Code | 640 | 1,291 |
#ifndef _ZONE_CHECKER_H_
#define _ZONE_CHECKER_H_
// Includes
#include "core/math/Vector3d.h"
#include "core/math/vect3d_template.h"
#include "after/types/terrain/BlockData.h"
#include "after/types/WorldVector.h"
//#include "CVoxelTerrain.h"
class CVoxelTerrain;
// Class Definition
class CZoneChecker
{
public:
// ... | 32,420 |
https://github.com/soringpenguin/Trading-Game/blob/master/src/Encounter.java | Github Open Source | Open Source | MIT | 2,013 | Trading-Game | soringpenguin | Java | Code | 115 | 271 | import java.util.Random;
// Will be used to handle random events that can happen when you travel
public class Encounter {
Location loc_from; // The location the player is coming from
Location loc_to; // The location the player is going to
Player player; // The player object
Battle battle;
// Initializes Enco... | 33,644 |
https://github.com/Eluch/Doodle-Jump-Multiplayer/blob/master/Doodle_Jump_Multiplayer/src/me/eluch/libgdx/DoJuMu/game/enemy_obj/BlackHole.java | Github Open Source | Open Source | Apache-2.0 | 2,015 | Doodle-Jump-Multiplayer | Eluch | Java | Code | 63 | 301 | package me.eluch.libgdx.DoJuMu.game.enemy_obj;
import com.badlogic.gdx.graphics.g2d.SpriteBatch;
import com.badlogic.gdx.math.Rectangle;
import me.eluch.libgdx.DoJuMu.Res;
import me.eluch.libgdx.DoJuMu.game.Effect;
import me.eluch.libgdx.DoJuMu.game.GameObject;
public class BlackHole extends GameObject {
public Bl... | 6,068 |
https://github.com/gvb84/Blazorise/blob/master/Source/Blazorise.Bulma/Styles/_form.scss | Github Open Source | Open Source | MIT | 2,020 | Blazorise | gvb84 | SCSS | Code | 27 | 95 | label.radio.button {
display: flex;
}
label.radio.button {
outline: none;
display: inline-flex;
align-items: center;
input[type=radio] {
position: absolute;
left: 0;
opacity: 0;
outline: none;
z-index: -1;
}
}
| 19,711 |
https://github.com/zhipengzhaocmu/fpga2022_artifact/blob/master/pigasus/hardware/rtl_sim/src/common_usr/rule_packer_32_512.sv | Github Open Source | Open Source | BSD-3-Clause-Clear, BSD-3-Clause | null | fpga2022_artifact | zhipengzhaocmu | null | Spoken | 364 | 1,331 | `include "./src/struct_s.sv"
//`define DUMMY
module rule_packer_32_512 (
input logic clk,
input logic rst,
input logic in_rule_sop,
input logic in_rule_eop,
input logic [1:0] in_rule_empty,
input logic in_rule_valid,
input l... | 49,321 |
https://github.com/thaywo/cooperative_bank/blob/master/Copyright.php | Github Open Source | Open Source | MIT | 2,017 | cooperative_bank | thaywo | PHP | Code | 25 | 74 | <?php
/* include '../superadmin-session.php';
include 'config.php'; */
echo "<b>Copyright © 2016-2017 Salonzap.com, All Rights Reserved.</b>";
?>
<!--
<span>Copyright © 2016-2017 Salonzap.com, All Rights Reserved.</span> -->
| 44,957 |
https://github.com/zephyrxvxx7/KubeZephyr-Frontend/blob/master/src/locales/lang/zh-TW/component/excel.ts | Github Open Source | Open Source | MIT | 2,021 | KubeZephyr-Frontend | zephyrxvxx7 | TypeScript | Code | 10 | 46 | export default {
exportModalTitle: '輸出資料',
fileType: '檔案類型',
fileName: '檔案名稱',
};
| 36,732 |
https://github.com/lepickle/Youtube-downloader/blob/master/Youtube downloader/MainForm.cs | Github Open Source | Open Source | Unlicense | 2,021 | Youtube-downloader | lepickle | C# | Code | 2,112 | 6,348 | using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.ComponentModel;
using System.Windows.Forms;
using System.Diagnostics;
using System.IO;
using System.Web;
using System.Net;
using System.Text.RegularExpressions;
using Microsoft.WindowsAPICodePack.Taskbar;
using YouTube_d... | 30,676 |
https://github.com/entrepreneur-interet-general/pointk/blob/master/src/App.vue | Github Open Source | Open Source | MIT | 2,018 | pointk | entrepreneur-interet-general | Vue | Code | 62 | 192 | <template>
<div id="App">
<Search v-on:newCoord="newCoord"></Search>
<MapView :coordinates="coordinates"></MapView>
</div>
</template>
<script>
import MapView from './components/map'
import Search from './components/search'
export default {
name: 'app',
components: { MapView, Search },
data () {
re... | 9,735 |
https://github.com/gersure/my-school-work/blob/master/concurrent/nb01/deuce/src/java/org/deuce/optimize/analyses/alwaysatomic/NotAlwaysAtomicDatabase.java | Github Open Source | Open Source | Apache-2.0 | 2,013 | my-school-work | gersure | Java | Code | 99 | 369 | package org.deuce.optimize.analyses.alwaysatomic;
import java.util.LinkedHashSet;
import java.util.Set;
import org.deuce.optimize.analyses.general.IDatabase;
import org.deuce.optimize.utils.ApplicationClassPredicate;
import org.deuce.optimize.utils.CollectionUtils;
import soot.SootMethod;
public class NotAlwaysAtom... | 24,074 |
https://github.com/riQQ/DirectN/blob/master/DirectN/DirectN/Generated/ID2D1TransformNode.cs | Github Open Source | Open Source | MIT | 2,019 | DirectN | riQQ | C# | Code | 40 | 165 | // c:\program files (x86)\windows kits\10\include\10.0.18362.0\um\d2d1effectauthor.h(584,1)
using System;
using System.Runtime.InteropServices;
namespace DirectN
{
/// <summary>
/// A base object which can be inserted into a transform graph.
/// </summary>
[Guid("b2efe1e7-729f-4102-949f-505fa21bf666")... | 14,462 |
https://github.com/rjones-lf/iroha-ametsuchi/blob/master/cmake/Modules/Findgtest.cmake | Github Open Source | Open Source | Apache-2.0 | 2,017 | iroha-ametsuchi | rjones-lf | CMake | Code | 14 | 120 | find_path(gtest_INCLUDE_DIRS gtest/gtest.h)
find_library(gtest_LIBRARIES gtest)
find_library(gtest_MAIN_LIBRARIES gtest_main)
find_package(PackageHandleStandardArgs REQUIRED)
find_package_handle_standard_args(gtest
REQUIRED_VARS gtest_INCLUDE_DIRS gtest_LIBRARIES gtest_MAIN_LIBRARIES
)
| 30,530 |
https://github.com/yinpeng0518/JdkSourceCodeParsing1.8/blob/master/java.util.concurrent/AtomicInteger.java | Github Open Source | Open Source | Apache-2.0 | 2,022 | JdkSourceCodeParsing1.8 | yinpeng0518 | Java | Code | 369 | 1,550 | package java.util.concurrent.atomic;
import java.util.function.IntUnaryOperator;
import java.util.function.IntBinaryOperator;
import sun.misc.Unsafe;
public class AtomicInteger extends Number implements java.io.Serializable {
private static final long serialVersionUID = 6214790243416807050L;
//一般来说,Java不像c或... | 23,708 |
https://github.com/gustavocaraciolo/luulpos_backend/blob/master/src/main/java/com/luulsolutions/luulpos/utils/CommonUtils.java | Github Open Source | Open Source | Apache-2.0 | 2,019 | luulpos_backend | gustavocaraciolo | Java | Code | 298 | 1,224 | package com.luulsolutions.luulpos.utils;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.nio.file.Files;
import java.time.ZonedDateTime;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import ... | 27,205 |
https://github.com/kylbiz/kyl_wx15/blob/master/client/stylesheet/xiaobaitaocan.import.less | Github Open Source | Open Source | MIT | null | kyl_wx15 | kylbiz | Less | Code | 324 | 1,282 | #xb-content {
font-family: "PingFangSC";
width: 100%;
background-color: white;
position: absolute;
top: 0;
.des {
width: 100%;
height: 90px;
border-bottom: .2rem solid #d7d7d7;
.icon {
width: 64px;
height: 64px;
display: inline-block;
float: left;
margin-top: 13px;
margin-left: 5%;
im... | 49,576 |
https://github.com/Renan4783/CriptRSA/blob/master/src/criptrsa/CriptRSA.java | Github Open Source | Open Source | Apache-2.0 | null | CriptRSA | Renan4783 | Java | Code | 179 | 572 |
package criptrsa;
import java.math.BigInteger;
import java.security.SecureRandom;
public class CriptRSA {
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
String msg = "Rede De Computadores II";
String msgcifrada = null;
String msgdec... | 8,603 |
https://github.com/RyanTruran/EmbeddedSystems.Playground/blob/master/02 - Finished Labs/UTAustinX - Multi-Threaded Interfacing/Lab13 - DAC/Sound.h | Github Open Source | Open Source | MIT | 2,022 | EmbeddedSystems.Playground | RyanTruran | C | Code | 69 | 199 | // Systick & NVIC Registers (pg 132)
#define NVIC_SYS_PRI3_R (*((volatile unsigned long *)0xE000ED20))
#define NVIC_ST_CTRL_R (*((volatile unsigned long *)0xE000E010))
#define NVIC_ST_RELOAD_R (*((volatile unsigned long *)0xE000E014))
#define NVIC_ST_CURRENT_R (*((volatile unsigned long *)... | 8,481 |
https://github.com/vbirds/xmake/blob/master/core/src/tbox/src/tbox/memory/impl/prefix.c | Github Open Source | Open Source | Apache-2.0, LicenseRef-scancode-public-domain, MIT, CC-PDDC, Zlib, BSL-1.0, GPL-2.0-only, BSD-3-Clause, OpenSSL | 2,018 | xmake | vbirds | C | Code | 584 | 1,845 | /*!The Treasure Box Library
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version ... | 4,707 |
https://github.com/KaustubhGhadi/HeartBeatTracker-master/blob/master/app/src/main/java/in/programmeraki/hbt/fragment/CommonAlertsFragment.java | Github Open Source | Open Source | Apache-2.0 | 2,018 | HeartBeatTracker-master | KaustubhGhadi | Java | Code | 129 | 621 | package in.programmeraki.hbt.fragment;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.view.Layout... | 22,460 |
https://github.com/Opus1no2/Google-Civic-Client/blob/master/src/Client.php | Github Open Source | Open Source | MIT | 2,013 | Google-Civic-Client | Opus1no2 | PHP | Code | 437 | 1,260 | <?php
/**
*
* Minimal client for Goolge Civic REST API
*
* @Author: Travis Tillotson <tillotson.travis@gmail.com>
*/
class GoolgeCivic
{
/**
* @var string $_agent | default user agent
*/
private $_agent = 'Goolge-Civic-API-Client';
/**
* @var int $_version | API Version
*/
priv... | 46,650 |
https://github.com/juettemann/ensembl-rest/blob/master/lib/EnsEMBL/REST/Model/ga4gh/variants.pm | Github Open Source | Open Source | Artistic-1.0-Perl, EPL-1.0, Apache-2.0, GPL-1.0-or-later | 2,015 | ensembl-rest | juettemann | Perl | Code | 1,342 | 4,008 | =head1 LICENSE
Copyright [1999-2014] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute
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/licen... | 5,045 |
https://github.com/denoland/deno/blob/master/ext/node/polyfills/_events.mjs | Github Open Source | Open Source | MIT | 2,023 | deno | denoland | JavaScript | Code | 3,389 | 8,570 | // Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
// Copyright Joyent, Inc. and other Node contributors.
//
// 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... | 29,493 |
https://github.com/nbminh2000/TravelAppFinal/blob/master/src/screens/Search/styles.js | Github Open Source | Open Source | MIT | 2,020 | TravelAppFinal | nbminh2000 | JavaScript | Code | 35 | 98 | import { StyleSheet } from 'react-native';
import { PlaceCard } from '../../AppStyles';
const styles = StyleSheet.create({
container: PlaceCard.container,
photo: PlaceCard.photo,
title: PlaceCard.title,
category: PlaceCard.category,
btnIcon: {
height: 14,
width: 14
}
});
export default styles;
| 1,263 |
https://github.com/Sid200/Protonium/blob/master/src/Lexer.cpp | Github Open Source | Open Source | Unlicense | null | Protonium | Sid200 | C++ | Code | 712 | 2,331 | #include "includes/Lexer.hpp"
#include "proto.hpp"
#include <algorithm>
bool Lexer::isAtEnd() const {
if (m_current >= m_src.length()) {
return true;
}
return false;
}
char Lexer::advance() {
return m_src.at(m_current++);
}
void Lexer::addToken(TokenType type, LiteralType ltype) {
auto l... | 10,451 |
https://github.com/datavetaren/epilog/blob/master/src/common/hmac.hpp | Github Open Source | Open Source | MIT | null | epilog | datavetaren | C++ | Code | 165 | 613 | #pragma once
#ifndef _common_hmac_hpp
#define _common_hmac_hpp
#include <stdint.h>
#include <memory>
#include <string.h>
namespace epilog { namespace common {
template<typename Hash> class hmac {
public:
static const size_t HASH_SIZE = Hash::HASH_SIZE;
static const size_t BLOCK_SIZE = Hash::BLOCK_SIZE;
inlin... | 15,841 |
https://github.com/dmotz/natal-shell/blob/master/src/natal_shell/components.clj | Github Open Source | Open Source | MIT | 2,019 | natal-shell | dmotz | null | Spoken | 55 | 267 | (ns natal-shell.components
(:require
[natal-shell.components-list :refer [components]]
[natal-shell.utils :refer [to-kebab]]))
(defn wrap-component [js-name]
`(defmacro ~(symbol (to-kebab js-name)) [props# & children#]
`(js/React.createElement
~'~(symbol (str "js/ReactNative." js-name))
(c... | 47,687 |
https://github.com/3YOURMIND/kotti/blob/master/packages/kotti-ui/source/kotti-form-controller-object/tests.ts | Github Open Source | Open Source | MIT | 2,023 | kotti | 3YOURMIND | TypeScript | Code | 402 | 1,384 | // eslint-disable-next-line @typescript-eslint/no-var-requires
require('jsdom-global')()
import { defineComponent, ref } from '@vue/composition-api'
import { mount, Wrapper } from '@vue/test-utils'
import { z } from 'zod'
import { useField } from '../kotti-field/hooks'
import KtField from '../kotti-field/KtField.vue'
... | 21,837 |
https://github.com/helen-lim/MobileProject/blob/master/finalproject/components/Firebase.js | Github Open Source | Open Source | MIT | 2,021 | MobileProject | helen-lim | JavaScript | Code | 45 | 254 | import firebase from 'firebase';
const firebaseConfig = {
apiKey: "AIzaSyB6Fnon0O-_MfmPUwZ1ZUeAuqvzsKLAjFk",
authDomain: "final-project-e1ed8.firebaseapp.com",
databaseURL: "https://final-project-e1ed8.firebaseio.com",
projectId: "final-project-e1ed8",
storageBucket: "final-project-e1ed8.appspot.co... | 36,970 |
https://github.com/sillywalk/grazz/blob/master/tests/binutils-2.30/src/ld/testsuite/ld-x86-64/property-6a.c | Github Open Source | Open Source | Apache-2.0 | 2,021 | grazz | sillywalk | C | Code | 9 | 30 | #include <stdio.h>
void
property (void)
{
printf ("PASS\n");
}
| 44,775 |
https://github.com/mtttech/yari-dnd/blob/master/src/thespian/httpd/__init__.py | Github Open Source | Open Source | MIT | null | yari-dnd | mtttech | Python | Code | 66 | 284 | from dataclasses import dataclass
import os
from aiohttp import web
import aiohttp_jinja2
import jinja2
@dataclass
class Server:
data: dict
port: int = 5000
def __enter__(self):
return self
def __exit__(self, exec_type, value, tb) -> None:
pass
def run(self) -> None:
ro... | 12,181 |
https://github.com/noomox/flaming-archer/blob/master/tests/FA/Tests/Event/Subscriber/FeedSubscriberTest.php | Github Open Source | Open Source | MIT | 2,018 | flaming-archer | noomox | PHP | Code | 178 | 854 | <?php
namespace FA\Tests\Event\Subscriber;
use FA\Event\FeedEvent;
use FA\Event\Subscriber\FeedSubscriber;
use FA\Tests\ConfigTestCase;
/**
* @group events
*/
class FeedSubscriberTest extends ConfigTestCase
{
/**
* @var Feed $feed
*/
protected $feed;
/**
* @var FeedSubscriber
*/
... | 11,467 |
https://github.com/ideabosque/silvaengine_authorizer/blob/master/silvaengine_authorizer/main.py | Github Open Source | Open Source | MIT | null | silvaengine_authorizer | ideabosque | Python | Code | 63 | 179 | #!/usr/bin/python
# -*- coding: utf-8 -*-
from __future__ import print_function
from .authorizer.handlers import verify_permission, authorize_response
__author__ = "bl"
class Authorizer(object):
def __init__(self, logger):
self.logger = logger
# Authorize token
def authorize(self, event, context... | 2,273 |
https://github.com/Per1phery/mygit/blob/master/common/modules/Text/Text.php | Github Open Source | Open Source | BSD-3-Clause | null | mygit | Per1phery | PHP | Code | 42 | 131 | <?php
namespace common\modules\Text;
use common\components\BaseModule;
use common\models\Module;
class Text extends BaseModule
{
public static function afterInstall()
{
// echo 'installed';
}
public static function getDependencies()
{
return require(__DIR__ . '/config/depend... | 23,891 |
https://github.com/maxmax/restbe/blob/master/api/jobs/controllers/Jobs.js | Github Open Source | Open Source | MIT | null | restbe | maxmax | JavaScript | Code | 154 | 492 | 'use strict';
/**
* Jobs.js controller
*
* @description: A set of functions called "actions" for managing `Jobs`.
*/
module.exports = {
/**
* Retrieve jobs records.
*
* @return {Object|Array}
*/
find: async (ctx) => {
if (ctx.query._q) {
return strapi.services.jobs.search(ctx.query);
... | 40,400 |
https://github.com/xdougx/daemon-character-builder/blob/master/app/assets/stylesheets/application.css.scss | Github Open Source | Open Source | Apache-2.0 | null | daemon-character-builder | xdougx | SCSS | Code | 230 | 580 | /*
* This is a manifest file that'll be compiled into application.css, which will include all the files
* listed below.
*
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
* or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path... | 39,687 |
https://github.com/nondejus/wingui/blob/master/examples/dynamic-library/dll/ui/resource.h | Github Open Source | Open Source | MIT | 2,022 | wingui | nondejus | C | Code | 15 | 58 | #ifndef IDC_STATIC
#define IDC_STATIC (-1)
#endif
#define IDD_DIALOG1 100
#define IDB_OK 40000
#define IDB_CANCEL 40001
| 38,200 |
https://github.com/MinterTeam/minter-console-web/blob/master/pages/convert.vue | Github Open Source | Open Source | MIT | 2,023 | minter-console-web | MinterTeam | Vue | Code | 12 | 46 | <script>
export default {
middleware({redirect, app}) {
return redirect(app.i18nGetPreferredPath('swap'));
},
};
</script>
| 15,857 |
https://github.com/sabbelasichon/typo3-rector/blob/master/stubs/Tx_Fluid_ViewHelpers_Form_AbstractFormViewHelper.php | Github Open Source | Open Source | MIT | 2,023 | typo3-rector | sabbelasichon | PHP | Code | 10 | 59 | <?php
if (class_exists('Tx_Fluid_ViewHelpers_Form_AbstractFormViewHelper')) {
return;
}
class Tx_Fluid_ViewHelpers_Form_AbstractFormViewHelper
{
}
| 48,079 |
https://github.com/artweb-ou/trickster/blob/master/homepage/js/public/logics.formSubmitLink.js | Github Open Source | Open Source | MIT | 2,020 | trickster | artweb-ou | JavaScript | Code | 34 | 88 | window.formSubmitLinkLogics = new function() {
var init = function() {
var elements = _('.formsubmitlink_component');
for (var i = 0, l = elements.length; i !== l; i++) {
new FormSubmitLinkComponent(elements[i]);
}
};
controller.addListener('initDom', init);
}; | 2,048 |
https://github.com/m1nuz/ironforge/blob/master/ironforge/src/core/game.cpp | Github Open Source | Open Source | MIT | null | ironforge | m1nuz | C++ | Code | 577 | 2,476 | #include <vector>
#include <memory>
#include <algorithm>
#include <functional>
#include <SDL2/SDL.h>
#include <SDL2/SDL_ttf.h>
#include <xargs.hpp>
#include <core/journal.hpp>
#include <core/json.hpp>
#include <core/assets.hpp>
#include <core/input.hpp>
#include <core/game.hpp>
#include <video/video.hpp>
#include <r... | 51,218 |
https://github.com/Gitjerryzhong/bell-tm-client/blob/master/src/core/workflow2/review-list.model.ts | Github Open Source | Open Source | Apache-2.0 | 2,021 | bell-tm-client | Gitjerryzhong | TypeScript | Code | 27 | 74 | export class ReviewList {
type: string;
total: number;
page: number;
size: number;
items: any[];
constructor(type: string, items: any[]) {
this.type = type;
this.items = items;
}
}
| 38,870 |
https://github.com/VirtualVFix/AndroidTestFramework/blob/master/src/libs/core/unittest/unitcore/__init__.py | Github Open Source | Open Source | MIT | null | AndroidTestFramework | VirtualVFix | Python | Code | 24 | 85 | __author__ = "VirtualV <https://github.com/virtualvfix>"
__date__ = "12/12/2017 10:32 AM"
from .unitcore import run, setUpClass, tearDown, tearDownClass, setUp
__all__ = ['setUp', 'tearDown', 'tearDownClass', 'setUpClass', 'run']
| 26,541 |
https://github.com/the0ne/ShoppingList/blob/master/app/src/main/java/org/janb/shoppinglist/activity/SettingsActivity.java | Github Open Source | Open Source | Apache-2.0 | 2,019 | ShoppingList | the0ne | Java | Code | 150 | 763 | package org.janb.shoppinglist.activity;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.preference.PreferenceManager;
import android.support.v4.app.FragmentManager;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.Toolba... | 50,209 |
https://github.com/PlunderKnowledge/SumCrawler/blob/master/SumCrawlerConsumer/src/main/scala-2.11/org/plunderknowledge/sumcrawler/cache/SignatureCacheStore.scala | Github Open Source | Open Source | MIT | null | SumCrawler | PlunderKnowledge | Scala | Code | 145 | 573 | package org.plunderknowledge.sumcrawler.cache
import javax.cache.Cache.Entry
import org.apache.ignite.cache.store.CacheStoreAdapter
import org.plunderknowledge.sumcrawler.model.{GpgKeyRing, Signature, SignatureType}
import scalikejdbc._
import org.plunderknowledge.sumcrawler.context._
import scalikejdbc.QueryDSL
/**... | 37,803 |
https://github.com/RoadRunner11/data-warehouse-aws-pipeline/blob/master/blueFuel/gaToAws/functions/sessionization/tests.py | Github Open Source | Open Source | Apache-2.0 | 2,021 | data-warehouse-aws-pipeline | RoadRunner11 | Python | Code | 15 | 68 | from main import parse_page_path
def test_construct_levels(url):
return parse_page_path(url)
assert test_construct_levels("http://www.example.com/hello-world/") == ["/hello-world", "", "", ""]
| 12,206 |
https://github.com/HuangCongQing/ROS/blob/master/catkin_wp/src/learning_visualization/src/show_text.cpp | Github Open Source | Open Source | MIT | 2,023 | ROS | HuangCongQing | C++ | Code | 136 | 630 | /*
* @Description: 特定地方显示一行文字 参考:https://lightsail.blog.csdn.net/article/details/80483802
* @Author: HCQ
* @Company(School): UCAS
* @Email: 1756260160@qq.com
* @Date: 2020-12-08 16:54:26
* @LastEditTime: 2020-12-08 18:31:40
* @FilePath: /ROS/catkin_wp/src/learning_visualization/src/show_text.cpp
*/
#include <ro... | 36,405 |
https://github.com/project-koku/koku/blob/master/koku/masu/database/trino_sql/reporting_awscostentrylineitem_daily_summary.sql | Github Open Source | Open Source | Apache-2.0 | 2,023 | koku | project-koku | SQL | Code | 394 | 1,791 | INSERT INTO postgres.{{schema | sqlsafe}}.reporting_awscostentrylineitem_daily_summary (
uuid,
cost_entry_bill_id,
usage_start,
usage_end,
usage_account_id,
product_code,
product_family,
availability_zone,
region,
instance_type,
unit,
resource_ids,
resource_count,
... | 51,994 |
https://github.com/primislas/oikoumene/blob/master/clausewitz-rest/app/services/TagService.scala | Github Open Source | Open Source | MIT | 2,022 | oikoumene | primislas | Scala | Code | 169 | 682 | package services
import com.lomicron.oikoumene.model.politics.Tag
import com.lomicron.oikoumene.repository.api.map.ProvinceSearchConf
import com.lomicron.oikoumene.repository.api.politics.TagSearchConf
import com.lomicron.oikoumene.repository.api.RepositoryFactory
import com.lomicron.oikoumene.repository.api.search.{S... | 3,351 |
https://github.com/ceccode/env-config/blob/master/tests/ConfigTest.php | Github Open Source | Open Source | MIT | 2,015 | env-config | ceccode | PHP | Code | 153 | 556 | <?php namespace ffrancesco\Test;
require_once realpath(__DIR__ . '/../vendor/autoload.php');
use ffrancesco\Config;
use ffrancesco\exceptions;
/**
* Class ConfigTest
* @package ffrancesco\Test
*/
class ConfigTest extends \PHPUnit_Framework_TestCase {
/**
* @expectedException InvalidArgumentException
*/
... | 1,597 |
https://github.com/faltysad/simple-movie-recommender/blob/master/frontend/src/Router.tsx | Github Open Source | Open Source | MIT | 2,020 | simple-movie-recommender | faltysad | TypeScript | Code | 73 | 198 | import React from "react";
import {
BrowserRouter as Router,
Switch,
Route,
} from "react-router-dom";
import MovieDetail from "./components/MovieDetail/MovieDetail";
import Recommendations from "./components/Recommendations/Recommendations";
const RouterOutput: React.FC = () => {
return (
// <Router>
... | 14,645 |
https://github.com/adan1070700506/laravel-blog/blob/master/node_modules/.2.6.0@vue-material-design-icons/DotsHorizontal.vue | Github Open Source | Open Source | MIT | 2,019 | laravel-blog | adan1070700506 | Vue | Code | 83 | 408 | <template>
<span :aria-hidden="decorative"
:aria-label="title"
class="material-design-icon dots-horizontal-icon"
role="img">
<svg :fill="fillColor"
class="material-design-icon__svg"
width="24"
height="24"
viewBox="0 0 24 24">
<path d="M16,12C16,10.... | 33,886 |
https://github.com/pome223/pome223.github.io/blob/master/node_modules/@playlyfe/gql/lib/shared/printTokenState.js | Github Open Source | Open Source | MIT | 2,021 | pome223.github.io | pome223 | JavaScript | Code | 40 | 102 | 'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
require('./types');
function printTokenState(state) {
if (!state) {
return '';
}
return '{ kind: ' + state.kind + ', step: ' + state.step + ' } ' + printTokenState(state.prevState);
}
exports.default = printTokenState; | 33,150 |
https://github.com/papermerge/papermerge.js/blob/master/app/components/notifications/toast/index.hbs | Github Open Source | Open Source | Apache-2.0 | null | papermerge.js | papermerge | null | Spoken | 55 | 259 | <div class="toast show" role="alert" aria-live="assertive" aria-atomic="true">
<div class="toast-header">
{{#if (is_equal this.type 'info') }}
<strong class="me-auto text-primary">
<i class='bi bi-info-circle mx-2'></i>Info
</strong>
{{else if (is_equal this.type 'error')}}
<strong c... | 39,997 |
https://github.com/Mauzzz0/Django_demo/blob/master/rthl_site/migrations/0044_fileuploadmodel.py | Github Open Source | Open Source | MIT | null | Django_demo | Mauzzz0 | Python | Code | 39 | 180 | # Generated by Django 3.1.4 on 2021-02-21 12:19
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('rthl_site', '0043_auto_20210220_0119'),
]
operations = [
migrations.CreateModel(
name='FileUploadModel',
fields=[
... | 16,216 |
https://github.com/wenwang01/WMS-JavaWeb-/blob/master/WMS/src/main/java/com/jiuzhao73/service/GoodsService.java | Github Open Source | Open Source | MIT | 2,021 | WMS-JavaWeb- | wenwang01 | Java | Code | 132 | 531 | package com.jiuzhao73.service;
import com.jiuzhao73.dao.warehousedao.WareHouseDao;
import com.jiuzhao73.dao.warehousedao.WareHouseHelper;
import com.jiuzhao73.entity.bean.Goods;
import java.util.List;
public class GoodsService {
private final WareHouseDao goodsDao;
public GoodsService() {
goodsDao =... | 30,886 |
https://github.com/tasadar2/Rawr/blob/master/Rawr-6.0/Rawr.UnitTests/DK/RotationTest.cs | Github Open Source | Open Source | Apache-2.0 | 2,015 | Rawr | tasadar2 | C# | Code | 793 | 3,517 | using Rawr.DK;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
namespace Rawr.UnitTests.DK
{
/// <summary>
///This is a test class for DKRotationTest and is intended
///to contain all DKRotationTest Unit Tests
///</summary>
[TestClass()]
public class DKRotationTest
... | 14,120 |
https://github.com/weiss/original-bsd/blob/master/share/man/man4/man4.vax/il.4 | Github Open Source | Open Source | Unlicense | 2,022 | original-bsd | weiss | null | Spoken | 379 | 744 | .\" Copyright (c) 1983, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
.\"
.\" %sccs.include.redist.man%
.\"
.\" @(#)il.4 8.1 (Berkeley) 06/05/93
.\"
.Dd
.Dt IL 4 vax
.Os BSD 4.2
.Sh NAME
.Nm il
.Nd Interlan NI1010 10 Mb/s Ethernet interface
.Sh SYNOPSIS
.Cd "device il0 at uba0 c... | 29,884 |
https://github.com/shawwn/lm/blob/master/tests/lm/builders/test_embedding.py | Github Open Source | Open Source | Apache-2.0 | 2,020 | lm | shawwn | Python | Code | 159 | 697 | import mesh_tensorflow as mtf
import numpy as np
import tensorflow.compat.v1 as tf
from absl.testing import parameterized
from tensorflow.python.framework import ( # pylint:disable=g-direct-tensorflow-import
test_util,
)
import mock
from lm.builders import base, embeddings
class LayersTest(parameterized.TestCas... | 53,705 |
https://github.com/madhuco/legendary/blob/master/lib/layouts/layouts-tiles/_layouts-tiles-combo.scss | Github Open Source | Open Source | MIT | 2,014 | legendary | madhuco | SCSS | Code | 4 | 26 | @import "0-layouts-tiles-helpers";
@include layouts-tiles-combo; | 36,046 |
https://github.com/alanwei43/ideas/blob/master/projects/vue-demonstrations/src/cnblogs/views/NewsList.vue | Github Open Source | Open Source | MIT | 2,019 | ideas | alanwei43 | Vue | Code | 112 | 346 | <template>
<div>
<div @click="tab = 'list'" v-if="tab !== 'list'" class="full-btn" id="show-list">show list</div>
<div v-show="tab === 'list'">
<list @show-detail="onShowDetail" />
</div>
<div v-show="tab === 'detail'">
<detail :news="news" />
</div>
</div>
</template>
<script>
impo... | 19,788 |
https://github.com/clayne/xray-16/blob/master/src/xrGame/script_sound_action_script.cpp | Github Open Source | Open Source | OML, Linux-OpenIB | 2,015 | xray-16 | clayne | C++ | Code | 149 | 897 | ////////////////////////////////////////////////////////////////////////////
// Module : script_sound_action_script.cpp
// Created : 30.09.2003
// Modified : 29.06.2004
// Author : Dmitriy Iassenev
// Description : Script sound action class script export
///////////////////////////////////////////////////////////... | 44,630 |
https://github.com/cedrickmonesit/urban-fitness/blob/master/themes/urbanfitness/category.php | Github Open Source | Open Source | MIT | null | urban-fitness | cedrickmonesit | PHP | Code | 71 | 213 | <?php get_header(); ?>
<main class="container page section">
<?php
$category = get_queried_object();
?>
<div class="text-center">
<h2>
Category:
<?php
echo $category->name;
?>
</h2>
<?php echo category_description($c... | 1,720 |
https://github.com/newakkjust2/Project_2/blob/master/Assets/Resources/Fantasy Adventure Environment/Prefabs/Rocks/Cliff_B.prefab.meta | Github Open Source | Open Source | MIT | 2,021 | Project_2 | newakkjust2 | Unity3D Asset | Code | 12 | 67 | fileFormatVersion: 2
guid: b07571e14a54e824fa328b3df163a8f8
timeCreated: 1494268102
licenseType: Store
NativeFormatImporter:
userData:
assetBundleName:
assetBundleVariant:
| 34,728 |
https://github.com/William0Friend/undergrad_East_Stroudsburg_University/blob/master/spring2022/spring2022/calculus2/calc2_wolfram/bccalcet03_1103.cdf | Github Open Source | Open Source | BSD-2-Clause | null | undergrad_East_Stroudsburg_University | William0Friend | Mathematica | Code | 20,000 | 89,916 | (* Content-type: application/vnd.wolfram.cdf.text *) (*** Wolfram CDF File ***) (* http://www.wolfram.com/cdf *) (* CreatedBy='Mathematica 11.1' *) (*************************************************************************) (* *) (* *) (* This file was created under the Wolfram Enterprise licensing terms. *) (* *) (* F... | 8,987 |
https://github.com/KYangLei/KLNetwork/blob/master/KLNetwork/KLNetworkConfiguration_Private.swift | Github Open Source | Open Source | MIT | null | KLNetwork | KYangLei | Swift | Code | 106 | 314 | //
// KLNetworkConfiguration_Private.swift
// KLNetwork
//
// Created by Kuroba.Lei on 2018/6/11.
// Copyright © 2018年 雷珂阳. All rights reserved.
//
import UIKit
private var versionPrivate: String?
var PY_Version: String {
get {
if let versionPrivate_ = versionPrivate {
return versionPrivat... | 2,348 |
https://github.com/adamnew123456/spc/blob/master/spc/backends/linux_x86.py | Github Open Source | Open Source | MIT | 2,017 | spc | adamnew123456 | Python | Code | 1,073 | 3,921 | """
Linux compiler backend - responsible for taking program events emitted by the
driver and converting them into code.
"""
import logging
from ..backend_utils import FunctionStack
from .common32 import Common32Backend
from ..util import mangle_label
LOGGER = logging.getLogger('spc.linux_x86')
class LinuxX86Stack(Fu... | 41,993 |
https://github.com/ravi9607/basic-program-by-python/blob/master/mcq.py | Github Open Source | Open Source | MIT | 2,020 | basic-program-by-python | ravi9607 | Python | Code | 83 | 252 | from question import Question
question_prompt = [
"what is my name?\n (a)james\n (b) devil\n (c)evildad\n\n",
"who is my friend?\n (a) a dog\n (b)a cat\n (c) a human \n\n",
"what is the capital of india ?\n (a)chicago\n (b)paris\n (c)delhi\n\n",
]
questions = [
Question(question_prompt[0], "c"),
... | 6,963 |
https://github.com/SurfaceJS/Modules/blob/master/packages/@surface/router/internal/enums/node-type.ts | Github Open Source | Open Source | MIT | 2,021 | Modules | SurfaceJS | TypeScript | Code | 18 | 65 | /* eslint-disable @typescript-eslint/indent */
enum NodeType
{
Assignment,
Identifier,
Literal,
Wildcard,
Rest,
Segment,
Transformer,
}
export default NodeType; | 47,774 |
https://github.com/mbertheau/jquery.django-formset/blob/master/test/django-formset_test.js | Github Open Source | Open Source | MIT | 2,014 | jquery.django-formset | mbertheau | JavaScript | Code | 1,170 | 4,043 | (function($) {
var getTotalFormsValue, moduleSetup;
moduleSetup = function() {
var allFixtures;
allFixtures = $("#qunit-fixture");
this.fixtureIDontExist = allFixtures.find('#i-dont-exist');
this.fixtureNoTemplate = allFixtures.find('#no-template');
this.fixtureNoTotalForms = allFixtures.find('#... | 18,031 |
https://github.com/clilystudio/NetBook/blob/master/allsrc/com/ushaqi/zhuishushenqi/reader/bA.java | Github Open Source | Open Source | Unlicense | 2,018 | NetBook | clilystudio | Java | Code | 73 | 375 | package com.ushaqi.zhuishushenqi.reader;
import com.ushaqi.zhuishushenqi.a.e;
import com.ushaqi.zhuishushenqi.api.ApiService;
import com.ushaqi.zhuishushenqi.api.b;
import com.ushaqi.zhuishushenqi.model.TocSummary;
import com.ushaqi.zhuishushenqi.widget.LoadingContainer;
import java.util.List;
final class bA extends ... | 20,098 |
https://github.com/wituwitu/SoloMedicamentos/blob/master/prototipo_vertical/startup_landing/static/sass/libs/_settings.scss | Github Open Source | Open Source | MIT | null | SoloMedicamentos | wituwitu | SCSS | Code | 46 | 154 | // Font family
$primary-font : "Roboto", "Open Sans", sans-serif;
$secondary-font : "Roboto Slab", "Raleway", "Open Sans", serif;
// Color Variables
$accent-color : #4a7cd5;
$primary-color : $accent-color;
$secondary-color : #e6e6e6;
$strong-color : #50576a;
$body-color : #9598a2;
// ... | 7,645 |
https://github.com/neelabhg/sysbuild/blob/master/jor1k/js/worker/riscv/safecpu.js | Github Open Source | Open Source | NCSA | 2,021 | sysbuild | neelabhg | JavaScript | Code | 5,342 | 17,873 | // -------------------------------------------------
// -------------------- CPU ------------------------
// -------------------------------------------------
"use strict";
var message = require('../messagehandler');
var utils = require('../utils');
var DebugIns = require('./disassemble');
var PRV_U = 0x00;
var PRV_S... | 12,810 |
https://github.com/blaqueMani/ever-gauzy/blob/master/packages/plugins/changelog/src/commands/changelog.update.command.ts | Github Open Source | Open Source | PostgreSQL | null | ever-gauzy | blaqueMani | TypeScript | Code | 30 | 80 | import { IChangelogUpdateInput } from '@leano/contracts';
import { ICommand } from '@nestjs/cqrs';
export class ChangelogUpdateCommand implements ICommand {
static readonly type = '[Changelog] Update';
constructor(public readonly input: IChangelogUpdateInput) {}
}
| 43,338 |
https://github.com/sotous/js-uprtcl/blob/master/remotes/polkadot/src/uprtcl-evees-polkadot.ts | Github Open Source | Open Source | MIT | 2,021 | js-uprtcl | sotous | TypeScript | Code | 43 | 161 | export { PolkadotConnection } from './connection.polkadot';
export { registerComponents } from './register.components';
export { EveesPolkadotCouncil } from './provider/council/evees.polkadot-council';
export { EveesPolkadotCouncilWithUI } from './provider/council/evees.polkadot-council.with.ui';
export { EveesPolkado... | 7,486 |
https://github.com/ilyesbrh/skalaab-test/blob/master/backend/src/repositories/user.repository.ts | Github Open Source | Open Source | MIT | null | skalaab-test | ilyesbrh | TypeScript | Code | 125 | 489 | import {Getter, inject} from '@loopback/core';
import {DefaultCrudRepository, HasOneRepositoryFactory, repository, HasManyRepositoryFactory} from '@loopback/repository';
import {DbDataSource} from '../datasources';
import {User, UserCredentials, UserRelations, Todo} from '../models';
import {UserCredentialsRepository} ... | 2,551 |
https://github.com/thomass171/tcp-22/blob/master/java2cs/src/test/java/de/yard/threed/java2cs/J2CSTest.java | Github Open Source | Open Source | MIT | null | tcp-22 | thomass171 | Java | Code | 277 | 982 | package de.yard.threed.java2cs;
import org.junit.Test;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Paths;
import static org.junit.Assert.assertEquals;
/**
* Anders als der Name sagt sind das keine Swift Tests, sondern die ganz normalen.
*
* Created by thomass on 29.02.16.
*/
p... | 41,615 |
https://github.com/wasd845/AVGraphics/blob/master/app/src/main/cpp/gles/gles.cpp | Github Open Source | Open Source | Apache-2.0 | 2,022 | AVGraphics | wasd845 | C++ | Code | 1,250 | 4,986 | //
//
// Created by zzh on 2018/7/27 0002.
//
#include <jni.h>
#include <android/native_window_jni.h>
#include <log.h>
#include <android/asset_manager.h>
#include <android/asset_manager_jni.h>
#include <mutex>
#include <thread>
#include "Square.h"
#include "Triangle.h"
#include "Circle.h"
#include "TextureImage.h"
#in... | 20,288 |
https://github.com/koder-ua/mira-ceph-mon/blob/master/http_server.go | Github Open Source | Open Source | MIT | null | mira-ceph-mon | koder-ua | Go | Code | 207 | 756 | package main
import (
"net/http"
"fmt"
"html/template"
)
type httpCephStatus struct {
cm * cephMonitor
}
const index = `<html><body>
Ceph status: {{.Status}}<br>
Used GiB: {{.UsedG}}<br>
FreeG: {{.FreeG}}<br>
DataG: {{.DataG}}<br>
ReadBPS: {{.ReadBPS}}<br>
WriteBPS: {{.WriteBPS}}<br>
ReadsPS: {{.ReadsPS}}<br>
Wr... | 11,101 |
https://github.com/tookit/vmajs/blob/master/packages/vma.org/docs/.vuepress/theme/global-components/Sidebar.vue | Github Open Source | Open Source | MIT | 2,022 | vmajs | tookit | Vue | Code | 76 | 298 | <template>
<v-navigation-drawer class="app--drawer" app clipped>
<v-list>
<v-subheader>Intro</v-subheader>
<sidebar-list :pages="groups.intro" />
<v-subheader>Components</v-subheader>
<sidebar-list :pages="groups.components" />
</v-list>
</v-navigation-drawer>
</template>
<script>
i... | 22,712 |
https://github.com/mheadley/mhbasic-wptheme/blob/master/inc/theme-settings.php | Github Open Source | Open Source | Apache-2.0 | null | mhbasic-wptheme | mheadley | PHP | Code | 1,081 | 3,874 | <?php
function mhbasictheme_slug_sanitize_checkbox( $checked ) {
return ( ( isset( $checked ) && true === $checked ) ? true : false );
}
function mhbasictheme_slug_sanitize_radio( $input, $setting ) {
$input = sanitize_key( $input );
$choices = $setting->manager->get_control( $setting->id )->choices;
return (... | 24,692 |
https://github.com/rahogata/gradle-docker/blob/master/src/main/groovy/com/palantir/gradle/docker/DockerComposePlugin.groovy | Github Open Source | Open Source | Apache-2.0 | 2,022 | gradle-docker | rahogata | Groovy | Code | 212 | 623 | /*
* (c) Copyright 2020 Palantir Technologies Inc. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless ... | 21,711 |
https://github.com/feilingdeng/xms/blob/master/Libraries/Schema/Xms.Schema/Attribute/IAttributeDependency.cs | Github Open Source | Open Source | MIT | 2,019 | xms | feilingdeng | C# | Code | 21 | 62 | using System;
namespace Xms.Schema.Attribute
{
public interface IAttributeDependency
{
bool Create(Domain.Attribute entity);
bool Delete(params Guid[] id);
bool Update(Domain.Attribute entity);
}
} | 33,243 |
https://github.com/fumelolz/perseo1/blob/master/DB/script.sql | Github Open Source | Open Source | MIT | 2,020 | perseo1 | fumelolz | SQL | Code | 427 | 1,653 | CREATE DATABASE IF NOT EXISTS perseov1;
USE perseov1;
CREATE TABLE IF NOT EXISTS personas(
id_persona int PRIMARY KEY AUTO_INCREMENT,
nombre varchar(45) not null,
ap_Paterno varchar(45) not null,
ap_Materno varchar(45) not null,
email varchar(40),
rfc varchar(13),
ine varchar(45),
direccion varchar(55),
pais ... | 50,880 |
https://github.com/nebtden/shandong-renbao/blob/master/backend/views/layouts/header.php | Github Open Source | Open Source | BSD-3-Clause | 2,022 | shandong-renbao | nebtden | PHP | Code | 203 | 1,243 | <?php
use backend\assets\AppAsset;
use yii\helpers\Html;
use yii\helpers\Url;
AppAsset::register($this);
?>
<?php $this->beginPage() ?>
<?php $this->beginBody() ?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, m... | 45,746 |
https://github.com/GreeD3X/tarantool/blob/master/src/box/vclock.h | Github Open Source | Open Source | BSD-2-Clause | null | tarantool | GreeD3X | C | Code | 1,057 | 2,548 | #ifndef INCLUDES_TARANTOOL_VCLOCK_H
#define INCLUDES_TARANTOOL_VCLOCK_H
/*
* Copyright 2010-2016, Tarantool AUTHORS, please see AUTHORS file.
*
* Redistribution and use in source and binary forms, with or
* without modification, are permitted provided that the following
* conditions are met:
*
* 1. Redistributio... | 1,658 |
https://github.com/Azure/azure-sdk-for-net/blob/master/sdk/core/Azure.Core/tests/HttpPipelineTransportTests.cs | Github Open Source | Open Source | LicenseRef-scancode-generic-cla, LGPL-2.1-or-later, Apache-2.0, MIT | 2,023 | azure-sdk-for-net | Azure | C# | Code | 117 | 328 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Threading.Tasks;
using Azure.Core.Pipeline;
using NUnit.Framework;
namespace Azure.Core.Tests
{
public class HttpPipelineTransportTests
{
[Test]
public void CreateReturns... | 10,197 |
https://github.com/cksac/vrp/blob/master/vrp-solver/src/algorithm.rs | Github Open Source | Open Source | Apache-2.0 | 2,020 | vrp | cksac | Rust | Code | 562 | 2,164 | use crate::extensions::SimplePopulation;
use std::ops::Deref;
use std::sync::Arc;
use vrp_core::construction::heuristics::InsertionContext;
use vrp_core::construction::Quota;
use vrp_core::models::{Problem, Solution};
use vrp_core::refinement::acceptance::{Acceptance, Greedy};
use vrp_core::refinement::mutation::{Mutat... | 35,951 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.