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/Hive-Team/venus/blob/master/node_modules/eslint-plugin-react/lib/rules/jsx-pascal-case.js | Github Open Source | Open Source | MIT | 2,015 | venus | Hive-Team | JavaScript | Code | 105 | 348 | /**
* @fileoverview Enforce PasalCase for user-defined JSX components
* @author Jake Marsh
*/
'use strict';
var variableUtil = require('../util/variable');
// ------------------------------------------------------------------------------
// Constants
// ------------------------------------------------------------... | 38,154 |
https://github.com/akaphol1/Cart-System/blob/master/index.php | Github Open Source | Open Source | MIT | 2,020 | Cart-System | akaphol1 | PHP | Code | 301 | 1,534 | <!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<script src="https://kit.fontawesome.com/a076d05399.js"></script>
<!-- Bootstrap CSS -->
<link rel="stylesheet" href... | 45,729 |
https://github.com/Willllson/LuckyLottery/blob/master/contracts/DappTokenSale.sol | Github Open Source | Open Source | MIT | null | LuckyLottery | Willllson | Solidity | Code | 151 | 415 | pragma solidity ^0.5.0;
import "./DappToken.sol";
contract DappTokenSale {
address admin;
DappToken public tokenContract;
uint256 public tokenPrice;
uint256 public tokensSold;
event Sell(address _buyer, uint256 _amount);
constructor(DappToken _tokenContract, uint256 _tokenPrice) public {
... | 6,206 |
https://github.com/running-elephant/datart/blob/master/frontend/src/app/components/Tabs/PaneWrapper.ts | Github Open Source | Open Source | Apache-2.0 | 2,023 | datart | running-elephant | TypeScript | Code | 29 | 82 | import styled from 'styled-components/macro';
export const PaneWrapper = styled.div<{
selected: boolean;
display?: string;
}>`
display: ${p => (p.selected ? p.display || 'flex' : 'none')};
flex: 1;
flex-direction: column;
`;
| 23,875 |
https://github.com/sonroyaalmerol/urc-management-system/blob/master/pages/projects/[slug]/submissions/new/index.tsx | Github Open Source | Open Source | MIT | null | urc-management-system | sonroyaalmerol | TypeScript | Code | 77 | 217 | import React from 'react'
import { getSession } from 'next-auth/react'
import type { GetServerSidePropsContext, InferGetServerSidePropsType } from "next"
const Index: React.FC = (props: InferGetServerSidePropsType<typeof getServerSideProps>) => (<></>)
export async function getServerSideProps(context: GetServerSideP... | 45,632 |
https://github.com/passsy/Konduit/blob/master/konduit/src/main/java/com/pascalwelsch/konduit/binding/SeekBarBinding.kt | Github Open Source | Open Source | Apache-2.0 | 2,018 | Konduit | passsy | Kotlin | Code | 198 | 542 | /*
* Copyright (C) 2018 Pascal Welsch
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | 9,686 |
https://github.com/unanao/Elfdbs/blob/master/Elfdbs/cgi-bin/elf_display/elfls.c | Github Open Source | Open Source | Apache-2.0 | 2,016 | Elfdbs | unanao | C | Code | 3,149 | 9,196 |
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
#include <stdarg.h>
#include <unistd.h>
#include <getopt.h>
#include <elf.h>
#ifndef TRUE
#define TRUE 1
#define FALSE 0
#endif
/* Memory allocation error message.
*/
#define nomem() (fputs("Out of memory!<p>\n", stderr), exit(EXIT_FAILURE))
/* Structure... | 3,090 |
https://github.com/rickychilcott/view_component/blob/master/test/sandbox/app/components/empty_slot_component.html.slim | Github Open Source | Open Source | MIT | 2,023 | view_component | rickychilcott | null | Spoken | 5 | 12 | span
' Hello
= title
| 1,127 |
https://github.com/Krzyciu/Missions/blob/master/Default/2ndKoreanWar.fapovo/initLoadingScreen.sqf | Github Open Source | Open Source | MIT | null | Missions | Krzyciu | SQF | Code | 121 | 451 | params ["_display"];
private _background = _display ctrlCreate ["RscPicture", -1];
_background ctrlSetPosition [
safezoneXAbs,
safezoneY,
safezoneWAbs,
safezoneH
];
_background ctrlCommit 0;
_background ctrlSetText "#(rgb,8,8,3)color(0,0,0,1)";
private _size = 0.2;
private _width = _size * safezoneW;... | 5,503 |
https://github.com/shaneburke0/tarracore/blob/master/src/components/CompetitionDetails.js | Github Open Source | Open Source | MIT | null | tarracore | shaneburke0 | JavaScript | Code | 384 | 1,060 | import React, { useState } from "react";
import { Link } from "gatsby";
import moment from "moment";
import Popup from "reactjs-popup";
const CompetitionDetails = ({ currentInventory, maxInventory, endDate }) => {
const [showFreeEntry, setFreeEntry] = useState(false);
const contentStyle = { maxWidth: "90%", width:... | 17,140 |
https://github.com/RocketPuppy/nixpkgs/blob/master/pkgs/servers/vault/default.nix | Github Open Source | Open Source | MIT | 2,020 | nixpkgs | RocketPuppy | null | Spoken | 130 | 480 | { stdenv, fetchgit, go, gox }:
let
name = "vault";
version = "0.1.2";
namespace = "github.com/hashicorp/vault";
in
stdenv.mkDerivation rec {
name = "vault-${version}";
rev = "v${version}";
src = fetchgit {
url = "https://github.com/hashicorp/vault";
sha256 = "a4267105dab56c6d0571f69ea0abc167c5debd... | 27,598 |
https://github.com/vaadin/grid-renderers-collection-addon/blob/master/grid-renderers-collection-addon/src/main/java/org/vaadin/grid/cellrenderers/client/view/RowIndexRendererState.java | Github Open Source | Open Source | Apache-2.0, LicenseRef-scancode-unknown-license-reference | 2,021 | grid-renderers-collection-addon | vaadin | Java | Code | 30 | 95 | package org.vaadin.grid.cellrenderers.client.view;
import com.vaadin.shared.ui.grid.renderers.AbstractRendererState;
/**
* @author Tatu Lund - Vaadin
*/
public final class RowIndexRendererState extends AbstractRendererState {
public int offset = 0;
public RowIndexMode rowIndexMode = RowIndexMode.NORMAL;
}
| 45,861 |
https://github.com/zivanovica/pms/blob/master/storage/plugins/58065bc22944b/views/blog/client/post.blade.php | Github Open Source | Open Source | MIT | 2,018 | pms | zivanovica | Blade | Code | 36 | 152 | <div class="col-md-10 col-md-offset-1">
<div class="panel panel-info">
<div class="panel-heading">
{{ $post->title }}
</div>
<div class="panel-body">
{{ $post->content }}
</div>
<div class="panel-footer">
<span class="badge">
... | 32,043 |
https://github.com/aedans/Parsek/blob/master/settings.gradle | Github Open Source | Open Source | MIT | 2,018 | Parsek | aedans | Gradle | Code | 5 | 17 | rootProject.name = 'parsek'
include 'tokenizer'
| 47,069 |
https://github.com/NIAEFEUP/Website-NIAEFEUP/blob/master/src/public/js/main.js | Github Open Source | Open Source | BSD-3-Clause | 2,023 | Website-NIAEFEUP | NIAEFEUP | JavaScript | Code | 111 | 386 | jQuery(document).ready(function ($) {
let slideCount = $("#slider ul li").length;
let slideWidth = $("#slider ul li").width();
let slideHeight = $("#slider ul li").height();
let sliderUlWidth = slideCount * slideWidth;
$("#slider").css({ width: slideWidth, height: slideHeight });
if (slideWidth !== sliderUlWidt... | 38,962 |
https://github.com/mikelat/latova/blob/master/modules/forum/inc_cp_forum.php | Github Open Source | Open Source | Apache-2.0 | 2,015 | latova | mikelat | PHP | Code | 215 | 1,145 | <?php if(!defined('LAT')) die("Access Denied.");
class inc_cp_forum
{
function initialize()
{
$this->lat->core->load_class("forum", "forum");
}
// +-------------------------+
// Nav Forums
// +-------------------------+
// Generate forum navigation... in cp!
function nav_forums($last_forum)
{
if(!$thi... | 20,592 |
https://github.com/sLeeNguyen/sales-support/blob/master/elasticsearch_client/es.py | Github Open Source | Open Source | Apache-2.0 | 2,021 | sales-support | sLeeNguyen | Python | Code | 974 | 4,251 | import json
import os
from django.conf import settings
from elasticsearch import Elasticsearch, helpers
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
DEFAULT = 1
es = Elasticsearch([{"host": "es-django", "port": 9200, "timeout": 60}])
default_settings = {
"index": {
"number_of_... | 50,438 |
https://github.com/jungcom/Upool/blob/master/Upool/ViewControllers/OfferedRides/OfferedRidesCollectionViewController.swift | Github Open Source | Open Source | MIT, Apache-2.0 | 2,019 | Upool | jungcom | Swift | Code | 581 | 2,084 | //
// OfferedRidesCollectionViewController.swift
// Upool
//
// Created by Anthony Lee on 1/24/19.
// Copyright © 2019 anthonyLee. All rights reserved.
//
import UIKit
import Firebase
import NVActivityIndicatorView
import UserNotifications
private let offeredRidesCellId = "Cell"
let headerCellId = "Header"
class... | 4,790 |
https://github.com/firedrakeproject/slepc/blob/master/src/nep/impls/slp/slp.c | Github Open Source | Open Source | BSD-2-Clause, LicenseRef-scancode-unknown-license-reference | 2,023 | slepc | firedrakeproject | C | Code | 1,504 | 9,468 | /*
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
SLEPc - Scalable Library for Eigenvalue Problem Computations
Copyright (c) 2002-, Universitat Politecnica de Valencia, Spain
This file is part of SLEPc.
SLEPc is distributed under a 2-clause BSD license (see LICENSE).
- - ... | 42,236 |
https://github.com/andreshp/GeneticQAP/blob/master/results/paper/tai30b/GADEGD/original/ps=32/1.sol | Github Open Source | Open Source | MIT | 2,017 | GeneticQAP | andreshp | Gerber Image | Code | 68 | 121 | Time (s): 9.000763893127441
Number of evaluations: 535379
Number of iterations: 1337
Number of local search applications: 0
Number of greedy solutions: 5063
Number of reemplacements in GADEGD: 20826
The solution has objective value 651247567 .
The permutation is:
[27 21 1 28 9 25 8 24 23 5 12 15 14 29 16 18 10 20 1... | 20,715 |
https://github.com/SokKimThanh/huong-dan-tro-cap-that-nghiep/blob/master/app/setting-menu-navbar/thong-tin-cua-toi/about-me.controller.js | Github Open Source | Open Source | MIT | 2,020 | huong-dan-tro-cap-that-nghiep | SokKimThanh | JavaScript | Code | 118 | 602 | 'use strict';
angular.module('myApp.aboutMe').controller('AboutMeCtrl', ['$http', '$scope', '$rootScope', 'aboutMeFactory', AboutMeCtrl]);
function AboutMeCtrl($http, $scope, $rootScope, aboutMeFactory) {
$rootScope.myapp = {
title: "Sok Kim Thanh",
description: "Javascript framework Front-End Angu... | 49,369 |
https://github.com/kkrecisz/academic-kickstart/blob/master/content/publication/content/publication/krȩcisz-2018/krȩcisz-2018.bib | Github Open Source | Open Source | MIT | 2,021 | academic-kickstart | kkrecisz | null | Spoken | 53 | 202 | @article{Krȩcisz2018,
art_number = {e5101},
author = {Krȩcisz, K. and Kuczyński, M.},
document_type = {Article},
doi = {10.7717/peerj.5101},
journal = {PeerJ},
note = {cited By 0},
number = {6},
source = {Scopus},
title = {Attentional demands associated with augmented visual feedback during quiet standing},
u... | 16,475 |
https://github.com/ShiFengCui/java-GoF/blob/master/factory/src/main/java/com.cuihsifeng.factory/simple/CarFactory.java | Github Open Source | Open Source | Apache-2.0 | 2,018 | java-GoF | ShiFengCui | Java | Code | 95 | 293 | package com.cuihsifeng.factory.simple;
/**
* @author cuishifeng
* @create 2018-07-09
**/
public class CarFactory {
public static Car createCar(String carName){
if (carName == null){
return null;
}
switch (carName){
case "BenChiCar":
return new Be... | 29,981 |
https://github.com/PacktPublishing/Hands-On-Game-Development-Patterns-with-Unity-2018/blob/master/Assets/Patterns/Visitor/Client.cs | Github Open Source | Open Source | MIT | 2,022 | Hands-On-Game-Development-Patterns-with-Unity-2018 | PacktPublishing | C# | Code | 85 | 250 | using UnityEngine;
namespace Pattern.Visitor
{
public class Client : MonoBehaviour
{
void Update()
{
if (Input.GetKeyDown(KeyCode.O))
{
IRobotPart robot = new Robot();
robot.Accept(new RobotPartActivateVisitor());
}
... | 4,693 |
https://github.com/Yum-Audio/yum_Vulkan/blob/master/modules/pw_vulkan_graphics/contexts/spv/SolidColour.frag | Github Open Source | Open Source | ISC | 2,021 | yum_Vulkan | Yum-Audio | GLSL | Code | 25 | 66 | #version 450
#extension GL_ARB_separate_shader_objects : enable
layout(location = 0) in vec4 frontColour;
layout(location = 0) out vec4 outColour;
void main() { outColour = frontColour; } | 34,473 |
https://github.com/renovate-tests/tide/blob/master/examples/src/lib.rs | Github Open Source | Open Source | Apache-2.0, MIT | null | tide | renovate-tests | Rust | Code | 21 | 79 | #![feature(async_await)]
#![warn(clippy::all)]
#![allow(dead_code)]
mod body_types;
mod catch_all;
mod cookies;
mod default_headers;
mod graphql;
mod hello;
mod messages;
mod multipart_form;
mod staticfile;
| 7,130 |
https://github.com/yikeskeelan/Udrop-Src-/blob/master/RageSpigot/RageSpigot-Server/src/main/java/net/minecraft/server/PacketPlayInArmAnimation.java | Github Open Source | Open Source | Apache-2.0 | 2,021 | Udrop-Src- | yikeskeelan | Java | Code | 46 | 151 | package net.minecraft.server;
import java.io.IOException;
public class PacketPlayInArmAnimation implements Packet<PacketListenerPlayIn> {
public long timestamp; // Spigot
public PacketPlayInArmAnimation() {}
public void a(PacketDataSerializer packetdataserializer) throws IOException {
timestamp... | 10,365 |
https://github.com/sakabar/cuberyl/blob/master/src/StateUnion.ts | Github Open Source | Open Source | MIT | 2,020 | cuberyl | sakabar | TypeScript | Code | 21 | 50 | import {State333} from './State333'
import {State444} from './State444'
import {State555} from './State555'
export type StateUnion = State333 | State444 | State555;
| 14,416 |
https://github.com/maximandrews/schoolmanagement/blob/master/app/model/ClassRegModel.js | Github Open Source | Open Source | MIT | null | schoolmanagement | maximandrews | JavaScript | Code | 54 | 310 | Ext.define('Journal.model.ClassRegModel', {
extend: 'Ext.data.Model',
idProperty: 'cl_id',
//cl_id, cl_level, cl_postfix, cl_year, cl_teacher, cl_created, cl_modified
fields: [
'cl_id',
'cl_level',
'cl_postfix',
'cl_txt', //virtual
'cl_year',
'cl_teacher',
'cl_teacher_txt', //virtual
'cl_ps_count', ... | 943 |
https://github.com/cleexiang/CLCache/blob/master/CLCacheService/CLViewController.h | Github Open Source | Open Source | MIT | 2,014 | CLCache | cleexiang | Objective-C | Code | 36 | 123 | //
// CLViewController.h
// CLCacheService
//
// Created by lixiang on 14-1-22.
// Copyright (c) 2014年 lixiang. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface CLViewController : UIViewController
@property (nonatomic, strong) IBOutlet UIActivityIndicatorView *activityIndicator;
- (IBAction)refresh:(i... | 27,954 |
https://github.com/chandusekhar/veldrid/blob/master/src/Veldrid/Graphics/ManualTextureInput.cs | Github Open Source | Open Source | MIT | 2,017 | veldrid | chandusekhar | C# | Code | 76 | 177 | namespace Veldrid.Graphics
{
/// <summary>
/// A <see cref="MaterialTextureInputElement"/> which represents a manually-assigned texture.
/// This can be thought of as a placeholder element for textures which are manually attached at render time.
/// </summary>
public class ManualTextureInput : Mate... | 41,991 |
https://github.com/igiu1988/iOS13.4.1-Runtime-Headers/blob/master/PrivateFrameworks/WiFiVelocity.framework/W5Peer.h | Github Open Source | Open Source | MIT | 2,020 | iOS13.4.1-Runtime-Headers | igiu1988 | Objective-C | Code | 132 | 505 | /* Generated by EzioChiu
Image: /System/Library/PrivateFrameworks/WiFiVelocity.framework/WiFiVelocity
*/
@interface W5Peer : NSObject <NSCopying, NSSecureCoding> {
NSString * _build;
NSString * _model;
NSString * _name;
bool _nearby;
NSString * _os;
NSString * _peerID;
NSString * _vers... | 34,796 |
https://github.com/sheaf/waargonaut/blob/master/waargonaut-deps.nix | Github Open Source | Open Source | BSD-3-Clause | null | waargonaut | sheaf | null | Spoken | 250 | 1,448 | self: super: {
haskellPackages = super.haskellPackages.override (old: {
overrides = super.lib.composeExtensions (old.overrides or (_: _: {})) (hself: hsuper:
let
dc = d: super.haskell.lib.dontCheck d;
in
{
hw-json-standard-cursor = super.haskell.lib.dontCheck (hsuper.callHackageDirect {
... | 28,221 |
https://github.com/bobbyrinaldy/Penggajian-Kecamatan/blob/master/resources/views/laporan/jurnal/index.blade.php | Github Open Source | Open Source | MIT | 2,018 | Penggajian-Kecamatan | bobbyrinaldy | Blade | Code | 143 | 859 | @extends('layouts.master')
@section('title')
Laporan Jurnal Periode {{date('F Y')}}
@endsection
@section('content')
<div class="box">
<div class="box-header with-border">
<a href="/laporan/jurnal/print" class="btn btn-success" target="_blank"><span class="fa fa-print"> Print Jurnal</span></a... | 34,744 |
https://github.com/jcfr/iMSTK/blob/master/CMake/Utilities/imstkCheckFileExists.cmake | Github Open Source | Open Source | Apache-2.0 | 2,022 | iMSTK | jcfr | CMake | Code | 11 | 46 | if(EXISTS ${FileToCheck})
message(STATUS "${FileToCheck} exists.")
else()
message(SEND_ERROR "${FileToCheck} doesn't exist.")
endif()
| 35,935 |
https://github.com/alberthoxha97/serverless-stack/blob/master/packages/cli/test/stack-no-prefix/stack-no-prefix.test.js | Github Open Source | Open Source | MIT | 2,022 | serverless-stack | alberthoxha97 | JavaScript | Code | 53 | 129 | const { runBuildCommand, clearBuildOutput } = require("../helpers");
beforeEach(async () => {
await clearBuildOutput(__dirname);
});
afterAll(async () => {
await clearBuildOutput(__dirname);
});
/**
* Test that the synth command ran successfully
*/
test("stack-no-prefix", async () => {
const result = await r... | 30,273 |
https://github.com/NikitaMelnychencko/goit-react-hw-01-components/blob/master/src/components/Statistic/StatisticItem.js | Github Open Source | Open Source | MIT | null | goit-react-hw-01-components | NikitaMelnychencko | JavaScript | Code | 46 | 159 | import PropTypes from 'prop-types';
import s from './Statistic.module.scss';
const StatisticItem = ({ label, percentage, background }) => {
return (
<li className={s.Item} style={{ backgroundColor: `${background}` }}>
<span className={s.Label}>{label}</span>
<span className={s.Percentage}>{percentage... | 12,685 |
https://github.com/mardibiase/watchdog/blob/master/WatchDogIntelliJPlugin/WatchDog/src/nl/tudelft/watchdog/intellij/logic/ui/listeners/IntelliJListener.java | Github Open Source | Open Source | MIT | 2,016 | watchdog | mardibiase | Java | Code | 217 | 994 | package nl.tudelft.watchdog.intellij.logic.ui.listeners;
import com.intellij.debugger.DebuggerManagerEx;
import com.intellij.openapi.Disposable;
import com.intellij.openapi.actionSystem.ActionManager;
import com.intellij.openapi.application.ApplicationActivationListener;
import com.intellij.openapi.application.Applica... | 4,611 |
https://github.com/fuse-box/fuse-box/blob/master/playground/newProdCodeSplitting/src/utils/counter.js | Github Open Source | Open Source | MIT, LicenseRef-scancode-warranty-disclaimer | 2,022 | fuse-box | fuse-box | JavaScript | Code | 18 | 42 | let i = 0;
export const counter = () => {
i++;
console.log(`hi, my name is counter[${i}]`);
}
| 15,670 |
https://github.com/AkshatChandel/TCET-TNP-PORTAL/blob/master/resources/views/staff/company/edit.blade.php | Github Open Source | Open Source | MIT | null | TCET-TNP-PORTAL | AkshatChandel | PHP | Code | 586 | 2,876 | @extends('staff.layout.staff_layout')
@section('title', 'Company | ' . $company->Company_Name)
@section('main_content')
<div class="forms">
<div class=" form-grids row form-grids-right">
<div class="widget-shadow " data-example-id="basic-forms">
<div class="form-title">
<h4>Com... | 21,929 |
https://github.com/byrobingames/facebookads/blob/master/dependencies/facebook/src/com/byrobin/FaceBook/FBMediumRectController.java | Github Open Source | Open Source | Unlicense, MIT | null | facebookads | byrobingames | Java | Code | 530 | 1,881 | package com.byrobin.FaceBook;
import org.haxe.extension.Extension;
import android.app.Activity;
import android.content.Context;
import android.content.res.Configuration;
import android.content.SharedPreferences;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;
import android.view.G... | 51,107 |
https://github.com/arron-speake-bluefruit/loadstone/blob/master/loadstone_config/src/security.rs | Github Open Source | Open Source | MIT | 2,022 | loadstone | arron-speake-bluefruit | Rust | Code | 112 | 244 | use serde::{Deserialize, Serialize};
#[derive(Clone, Copy, Debug, PartialEq, Serialize, Deserialize)]
pub enum SecurityMode {
/// Enforces image integrity through a cyclical redundancy check.
/// This only helps against unintentional corruption, and doesn't
/// protect against any kind of attack.
Crc,
... | 47,573 |
https://github.com/laccore/coretools/blob/master/tools/PSICAT/griffon-app/controllers/psicat/dialogs/ImportImageWizardController.groovy | Github Open Source | Open Source | Apache-2.0 | 2,020 | coretools | laccore | Groovy | Code | 741 | 2,221 | /*
* Copyright (c) Josh Reed, 2009.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... | 46,480 |
https://github.com/justinrasler/docker-flighttracker/blob/master/fr24feed/dl-fr24feed.sh | Github Open Source | Open Source | MIT | 2,021 | docker-flighttracker | justinrasler | Shell | Code | 34 | 238 | #!/usr/bin/env sh
case `uname -m` in
x86_64)
archive="https://repo-feed.flightradar24.com/linux_x86_64_binaries/fr24feed_1.0.25-3_amd64.tgz"
;;
i386|i686)
archive="https://repo-feed.flightradar24.com/linux_x86_binaries/fr24feed_1.0.25-3_i386.tgz"
;;
armv6l|armv7l|aarch64)
... | 23,574 |
https://github.com/rhecustein/toko-qr/blob/master/resources/views/layouts/frontLayout.blade.php | Github Open Source | Open Source | MIT | null | toko-qr | rhecustein | PHP | Code | 1,349 | 5,611 | <!DOCTYPE html>
<html lang="{{session()->get('locale')}}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- SEO Meta Tags -->
<meta name="description" content="Toko QR - Pembuat Toko Digital Sederhana">
<!-- OG Meta Tags to ... | 45,404 |
https://github.com/tcsr200722/File-Engine/blob/master/src/main/java/file/engine/event/handler/EventManagement.java | Github Open Source | Open Source | MIT | 2,021 | File-Engine | tcsr200722 | Java | Code | 894 | 3,519 | package file.engine.event.handler;
import file.engine.annotation.EventListener;
import file.engine.annotation.EventRegister;
import file.engine.event.handler.impl.stop.CloseEvent;
import file.engine.event.handler.impl.stop.RestartEvent;
import file.engine.utils.CachedThreadPoolUtil;
import file.engine.utils.ProcessUti... | 7,280 |
https://github.com/balaaagi/quickperf/blob/master/jvm/jvm-annotations/src/test/java/org/quickperf/jvm/ByteAllocationMeasureFormatterTest.java | Github Open Source | Open Source | Apache-2.0 | 2,020 | quickperf | balaaagi | Java | Code | 408 | 1,369 | /*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed un... | 29,740 |
https://github.com/apache/cloudstack/blob/master/server/src/main/java/com/cloud/network/guru/PublicNetworkGuru.java | Github Open Source | Open Source | GPL-2.0-only, Apache-2.0, BSD-3-Clause, MIT, GPL-1.0-or-later, LicenseRef-scancode-public-domain, BSD-2-Clause, LicenseRef-scancode-unknown | 2,023 | cloudstack | apache | Java | Code | 719 | 2,868 | // Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may... | 16,983 |
https://github.com/ErazerBrecht/Json.Abstraction/blob/master/Source/Json.Abstraction/Serializers/JsonAbstractSerializer.cs | Github Open Source | Open Source | MIT | 2,021 | Json.Abstraction | ErazerBrecht | C# | Code | 139 | 514 | using System;
using System.Linq;
using Json.Abstraction.Repositories;
using Json.Abstraction.Extensions;
namespace Json.Abstraction.Serializers
{
public static class JsonAbstractSerializer
{
public static void RegisterInterfaceConversion(Type interfaceType, Type classType)
{
if (!... | 8,303 |
https://github.com/samcoppini/Glass-Interpreter/blob/master/include/variable.hpp | Github Open Source | Open Source | BSL-1.0 | null | Glass-Interpreter | samcoppini | C++ | Code | 148 | 407 | #ifndef VARIABLE_HPP
#define VARIABLE_HPP
#include "function.hpp"
#include <optional>
#include <string>
#include <unordered_map>
#include <variant>
// The possible types for a Glass value
enum class VarType {
Function,
Instance,
Name,
Number,
String
};
// A class for representing a value in Glas... | 39,722 |
https://github.com/devrelm/storybook/blob/master/app/riot/src/client/preview/render.js | Github Open Source | Open Source | MIT | 2,019 | storybook | devrelm | JavaScript | Code | 115 | 256 | import { document } from 'global';
import { stripIndents } from 'common-tags';
import { unregister } from 'riot';
import { render as renderRiot } from './rendering';
export default function renderMain({
storyFn,
selectedKind,
selectedStory,
showMain = () => {},
showError = () => {},
}) {
showMain();
unre... | 49,275 |
https://github.com/mwoehlke-kitware/kwiver/blob/master/sprokit/cmake/snippets/groups.cmake | Github Open Source | Open Source | BSD-3-Clause | 2,022 | kwiver | mwoehlke-kitware | CMake | Code | 13 | 57 | # Set up source groups.
source_group("Configured Files"
REGULAR_EXPRESSION ".*\\.in$")
source_group("Template Files"
REGULAR_EXPRESSION ".*\\.txx$")
| 23,487 |
https://github.com/jeffpanici75/programmers-calculator/blob/master/compiler/src/main/java/io/nybbles/progclac/compiler/parser/Parser.java | Github Open Source | Open Source | MIT | 2,020 | programmers-calculator | jeffpanici75 | Java | Code | 1,340 | 4,859 | package io.nybbles.progclac.compiler.parser;
import io.nybbles.progcalc.common.Result;
import io.nybbles.progclac.compiler.ast.*;
import io.nybbles.progclac.compiler.lexer.Token;
import io.nybbles.progclac.compiler.lexer.TokenType;
import java.util.ArrayList;
import java.util.HashMap;
public class Parser {
priva... | 49,517 |
https://github.com/ArborGames/Arbortechture/blob/master/view/Camera.java | Github Open Source | Open Source | MIT | null | Arbortechture | ArborGames | Java | Code | 122 | 273 | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package arbor.view;
import arbor.util.ArborVector;
/**
*
* @author Alexander Ramsay-Baggs
*/
public class Camera {
public sta... | 49,893 |
https://github.com/mzaian/openmv/blob/master/src/bootloader/src/main.c | Github Open Source | Open Source | MIT | 2,021 | openmv | mzaian | C | Code | 338 | 1,105 | /*
* This file is part of the OpenMV project.
*
* Copyright (c) 2013-2019 Ibrahim Abdelkader <iabdalkader@openmv.io>
* Copyright (c) 2013-2019 Kwabena W. Agyeman <kwagyeman@openmv.io>
*
* This work is licensed under the MIT license, see the file LICENSE for details.
*
* main function.
*/
#include STM32_HAL_H
#... | 15,078 |
https://github.com/RalfBarkow/Stellar-Cartography/blob/master/Stellar-Cartography.package/Earth.class/class/rotationPeriod.st | Github Open Source | Open Source | MIT | 2,021 | Stellar-Cartography | RalfBarkow | null | Spoken | 21 | 33 | as yet unclassified
rotationPeriod
"returns the Earth's rotation period as a duration"
^ 23 hours + 56 minutes + 4 seconds | 44,265 |
https://github.com/FP-GAme/fpgame-src/blob/master/fpgame/src/ppu/vram/vram_sub/vram_cpu_facing.sv | Github Open Source | Open Source | MIT | null | fpgame-src | FP-GAme | null | Spoken | 106 | 806 | /* vram_cpu_facing.sv
* Implements the CPU-Facing VRAM, featuring 2 128-bit ports for use with the SDRAM DMA-Engine.
*/
module vram_cpu_facing (
input logic clk,
vram_if_cpu_facing.src i_src
);
tile_ram_cpu_facing tilram (
.clock(clk),
.address_a(i_src.tilram_addr_a),
.address_b(i_src.tilram_add... | 22,295 |
https://github.com/vetermanve/gatekeeper_php/blob/master/services/templates/sample-worker/run | Github Open Source | Open Source | MIT | 2,021 | gatekeeper_php | vetermanve | Shell | Code | 9 | 43 | #!/usr/bin/env bash
exec 2>&1
export AMQP_QUEUE=http-worker
exec php /var/www/entrypoint/worker.php | 54,076 |
https://github.com/i-gaven/Just_a_dumper/blob/master/all_headers/美团-吃喝玩乐,尽在美团-9.0.0(越狱应用)_headers/DEFRestaurantViewController.h | Github Open Source | Open Source | MIT | 2,018 | Just_a_dumper | i-gaven | Objective-C | Code | 295 | 1,591 | //
// 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 "DEFBaseMerchantViewController.h"
#import "SAKPortalable-Protocol.h"
#import "UIScrollViewDelegate-Protocol.h"
@class DEFMerc... | 15,060 |
https://github.com/bcgov/eForWasteBC/blob/master/WasteMobile/JSON/WasteStratumDTOAdaptor.m | Github Open Source | Open Source | Apache-2.0 | 2,020 | eForWasteBC | bcgov | Objective-C | Code | 223 | 909 | //
// WasteStratumDTOAdaptor.m
// WasteMobile
//
// Created by Jack Wong on 2014-10-08.
// Copyright (c) 2014 Salus Systems. All rights reserved.
//
#import "WasteStratumDTOAdaptor.h"
#import "WasteStratumDTO.h"
@implementation WasteStratumDTOAdaptor
+ (NSArray *)wasteStratumDTOFromJSON:(NSData *)objectNotation ... | 47,321 |
https://github.com/Warmongul/egeria/blob/master/open-metadata-implementation/access-services/information-view/information-view-server/src/main/java/org/odpi/openmetadata/accessservices/informationview/ffdc/InformationViewErrorCode.java | Github Open Source | Open Source | Apache-2.0 | 2,018 | egeria | Warmongul | Java | Code | 352 | 1,046 | /* SPDX-License-Identifier: Apache-2.0 */
/* Copyright Contributors to the ODPi Egeria project. */
package org.odpi.openmetadata.accessservices.informationview.ffdc;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.text.MessageFormat;
import java.util.Arrays;
public enum InformationViewErrorCod... | 8,242 |
https://github.com/companyjuice/fliche.io/blob/master/web/app/themes/wpl-exe/part-post_content.php | Github Open Source | Open Source | MIT | null | fliche.io | companyjuice | PHP | Code | 781 | 3,102 | <?php
global $wpl_exe_wp, $wpl_exe_wp_g_width, $wpl_exe_wp_g_height;
$matches = array();
/** get post gallery shortcode **/
$post_format = get_post_format();
$post_gallery = do_shortcode( wpl_exe_wp_front::get_gallery() );
/** post format blockquote bg **/
$custom_style = '';
if( $post_format == 'quote' && has_... | 5,200 |
https://github.com/kongo09/cli/blob/master/cmd/network_vlan.go | Github Open Source | Open Source | Apache-2.0 | 2,021 | cli | kongo09 | Go | Code | 301 | 1,054 | package cmd
import (
"errors"
"fmt"
resty "github.com/go-resty/resty/v2"
helper "github.com/home-assistant/cli/client"
log "github.com/sirupsen/logrus"
"github.com/spf13/cobra"
"github.com/spf13/viper"
)
var networkVlanCmd = &cobra.Command{
Use: "vlan [interface] [id]",
Aliases: []string{},
Short: "C... | 34,046 |
https://github.com/Rover656/FNNLib/blob/master/Assets/FNNLib/Runtime/RPC/RPCReflectedMethod.cs | Github Open Source | Open Source | MIT | 2,020 | FNNLib | Rover656 | C# | Code | 279 | 796 | using System;
using System.Reflection;
using FNNLib.Serialization;
namespace FNNLib.RPC {
internal class RPCReflectedMethod {
internal readonly MethodInfo method;
internal readonly bool useDelegate;
internal readonly bool serverTarget;
private readonly bool requireOwnership;
... | 44,568 |
https://github.com/COINiD/COINiDWallet/blob/master/src/components/SettingsListItem.js | Github Open Source | Open Source | MIT | 2,023 | COINiDWallet | COINiD | JavaScript | Code | 214 | 829 | import React, { PureComponent } from 'react';
import PropTypes from 'prop-types';
import { StyleSheet } from 'react-native';
import { ListItem } from 'react-native-elements';
import { withLocaleContext } from '../contexts/LocaleContext';
import {
colors, fontSize, fontWeight, fontStack,
} from '../config/styling';
... | 43,788 |
https://github.com/Dyhoereos/Pantry/blob/master/application/controllers/Admin.php | Github Open Source | Open Source | MIT, LicenseRef-scancode-unknown-license-reference | 2,016 | Pantry | Dyhoereos | PHP | Code | 624 | 2,025 | <?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Admin extends Application
{
function __construct()
{
parent::__construct();
}
public function index()
{
// This is the view we want shown
$this->data['pagebody'] = 'admin_list';
$this->cr... | 54,014 |
https://github.com/me-rgb/s2cb/blob/master/src/com/evilco/mc/nbt/error/UnexpectedTagTypeException.java | Github Open Source | Open Source | Apache-2.0 | 2,018 | s2cb | me-rgb | Java | Code | 141 | 319 | package com.evilco.mc.nbt.error;
import java.io.IOException;
/**
* An exception that is thrown when an entry of a TagCompound or TagList
* is not of the expected tag type
*/
public class UnexpectedTagTypeException extends IOException {
private static final long serialVersionUID = -6604963428978583800L;
/**
* ... | 7,870 |
https://github.com/bytespy/Despector/blob/master/src/test/java/org/spongepowered/test/builder/BuilderTest.java | Github Open Source | Open Source | MIT | 2,019 | Despector | bytespy | Java | Code | 290 | 846 | /*
* The MIT License (MIT)
*
* Copyright (c) Despector <https://despector.voxelgenesis.com>
* Copyright (c) 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 rest... | 8,048 |
https://github.com/SushilMore1988/sanvedanalatur/blob/master/app/Http/Controllers/CountryController.php | Github Open Source | Open Source | MIT | 2,021 | sanvedanalatur | SushilMore1988 | PHP | Code | 347 | 1,257 | <?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Models\Country;
use Maatwebsite\Excel\Facades\Excel;
use Illuminate\Support\Facades\DB;
use App\Http\Controllers\Controller;
use App\Imports\CountryImport;
use App\Exports\CountryExport;
class CountryController extends Controller
{
/**
... | 43,759 |
https://github.com/no1dead/HaloOnlineServer/blob/master/HaloOnline.Server.Model/User/GetItemOffersRequest.cs | Github Open Source | Open Source | MIT | null | HaloOnlineServer | no1dead | C# | Code | 21 | 71 | using System.Collections.Generic;
using Newtonsoft.Json;
namespace HaloOnline.Server.Model.User
{
public class GetItemOffersRequest
{
[JsonProperty("items")]
public List<object> Items { get; set; }
}
}
| 30,997 |
https://github.com/ngx-kit/ngx-kit/blob/master/packages/core/src/kit-class/meta.ts | Github Open Source | Open Source | MIT | 2,020 | ngx-kit | ngx-kit | TypeScript | Code | 19 | 38 | export interface KitClassSetter {
[key: string]: KitClassValue;
}
export type KitClassValue = string | number | boolean | null;
| 20,899 |
https://github.com/wowpin/dum-generic/blob/master/database-dump.sql | Github Open Source | Open Source | MIT | 2,018 | dum-generic | wowpin | SQL | Code | 785 | 2,990 | --
-- Table structure for table `tbl_ENV`
--
DROP TABLE IF EXISTS `tbl_ENV`;
CREATE TABLE `tbl_ENV` (
`id` int(32) NOT NULL AUTO_INCREMENT,
`name` varchar(50) NOT NULL,
`room` varchar(50) NOT NULL,
`vocabulary` text NOT NULL,
`delay` int(11) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DE... | 20,384 |
https://github.com/Kardinia-Church/MQTT-ATEM/blob/master/app.js | Github Open Source | Open Source | Apache-2.0 | null | MQTT-ATEM | Kardinia-Church | JavaScript | Code | 267 | 779 | /**
* MQTT ATEM By Kardinia Church 2021
*
* This project provides control and feedback of a Blackmagic ATEM using MQTT
* This project is possible thanks to Sofie: The Modern TV News Studio Automation System (ATEM connection library) found at https://github.com/nrkno/tv-automation-atem-connection
*
* Main Entry
... | 46,038 |
https://github.com/replicante-io/replicante-agents/blob/master/agents/mongodb/src/version/v3_0/replica.rs | Github Open Source | Open Source | MIT | 2,021 | replicante-agents | replicante-io | Rust | Code | 362 | 1,677 | use std::sync::Arc;
use bson::doc;
use bson::Bson;
use failure::ResultExt;
use mongodb::sync::Client;
use opentracingrust::utils::FailSpan;
use opentracingrust::Log;
use opentracingrust::Span;
use slog::error;
use replicante_agent::actions::Action;
use replicante_agent::actions::ActionHook;
use replicante_agent::Agen... | 16,098 |
https://github.com/ThreatConnect-Inc/TCX_-_ExampleContextApp/blob/master/src/assets/less/spaces/spaces-sidebar.less | Github Open Source | Open Source | Apache-2.0 | 2,018 | TCX_-_ExampleContextApp | ThreatConnect-Inc | Less | Code | 412 | 1,410 | @sidebarWidth: 300px;
@sidebarClosedWidth: 35px;
.spaces-sidebar {
width: @sidebarWidth;
transition: all 300ms ease-out;
padding: 4px;
float: left;
position: relative;
// height: 100%; // non-context aware app
// breaks accordion
// height: 350px; // context aware app
&.hidden {
width: @sidebarC... | 19,433 |
https://github.com/apaniukov/workbench/blob/master/client/src/app/root-store/inference-history-store/inference-history.selectors.ts | Github Open Source | Open Source | Apache-2.0 | 2,022 | workbench | apaniukov | TypeScript | Code | 332 | 1,120 | import { createFeatureSelector, createSelector, MemoizedSelector } from '@ngrx/store';
import { Dictionary } from '@ngrx/entity';
import { every, head, isEmpty, last, sortBy, values } from 'lodash';
import { ProjectStatusNames } from '@store/project-store/project.model';
import { IProfilingPipeline } from '@shared/mo... | 3,611 |
https://github.com/PCmyfriend/EllegiaUI/blob/master/app/containers/App/index.js | Github Open Source | Open Source | MIT | null | EllegiaUI | PCmyfriend | JavaScript | Code | 376 | 1,598 | /**
*
* App.js
*
* This component is the skeleton around the actual pages, and should only
* contain code that should be seen on all pages. (e.g. navigation bar)
*
* NOTE: while this component should technically be a stateless functional
* component (SFC), hot reloading does not currently support SFCs. If hot
... | 10,232 |
https://github.com/prayagsingh/Learn-Solidity/blob/master/crypto-zombies/Lesson2/zombiefeeding.sol | Github Open Source | Open Source | MIT | 2,021 | Learn-Solidity | prayagsingh | Gerber Image | Code | 480 | 1,030 | pragma solidity ^0.8.5;
// if using inheritance and contracts are in different files and need to use import the Parent contract file
import "./zombiefactory.sol";
/**
--> Interacting with external contracts
1. For our contract to talk to another contract on the blockchain that we don't own, first we need to define an... | 12,746 |
https://github.com/mahdix18/php-v8/blob/master/src/php_v8_exception.cc | Github Open Source | Open Source | MIT, LicenseRef-scancode-warranty-disclaimer | 2,017 | php-v8 | mahdix18 | C++ | Code | 512 | 4,017 | /*
* This file is part of the pinepain/php-v8 PHP extension.
*
* Copyright (c) 2015-2017 Bogdan Padalko <pinepain@gmail.com>
*
* Licensed under the MIT license: http://opensource.org/licenses/MIT
*
* For the full copyright and license information, please view the
* LICENSE file that was distributed with this so... | 42,175 |
https://github.com/zhuikonger/Rethinking_CNN_Layerwise_Feature_Amounts/blob/master/lib/Models/architectures.py | Github Open Source | Open Source | BSD-3-Clause | 2,018 | Rethinking_CNN_Layerwise_Feature_Amounts | zhuikonger | Python | Code | 607 | 2,668 | from collections import OrderedDict
import torch
import torch.nn as nn
def get_num_flat_features(x):
size = x.size()[1:] # all dimensions except the batch dimension
num_features = 1
for s in size:
num_features *= s
return num_features
def get_feat_spatial_size(block, spatial_size, ncol... | 10,362 |
https://github.com/7studios/RestRocket/blob/master/ARCo UIStyles/ARCDefaultStyleSheet.h | Github Open Source | Open Source | Apache-2.0 | null | RestRocket | 7studios | C | Code | 308 | 1,010 |
//
// Copyright 2011 Greg Gentling 7Studios
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or... | 42,988 |
https://github.com/jackyh/javacpp-presets/blob/master/arrow/src/gen/java/org/bytedeco/arrow/DenseUnionType.java | Github Open Source | Open Source | Apache-2.0 | null | javacpp-presets | jackyh | Java | Code | 331 | 763 | // Targeted by JavaCPP version 1.5.7: DO NOT EDIT THIS FILE
package org.bytedeco.arrow;
import org.bytedeco.arrow.Function;
import java.nio.*;
import org.bytedeco.javacpp.*;
import org.bytedeco.javacpp.annotation.*;
import static org.bytedeco.javacpp.presets.javacpp.*;
import static org.bytedeco.arrow.global.arrow.... | 30,862 |
https://github.com/jarvys/get-port-cli/blob/master/dist/cli.js | Github Open Source | Open Source | MIT | 2,016 | get-port-cli | jarvys | JavaScript | Code | 17 | 76 | #!/usr/bin/env node
'use strict';
var meow = require('meow');
var getPort = require('get-port');
meow('\n\tExample\n\t $ get-port\n\t 51402\n');
getPort().then(console.log); | 21,952 |
https://github.com/Cwc-Test/CpcdosOS2.1/blob/master/CONTRIB/ExeLoader/src/MemoryModule.cpp | Github Open Source | Open Source | Apache-2.0 | null | CpcdosOS2.1 | Cwc-Test | C++ | Code | 3,996 | 13,877 | /*
* Memory DLL loading code
* Version 0.0.4
*
* Copyright (c) 2004-2015 by Joachim Bauch / mail@joachim-bauch.de
* http://www.joachim-bauch.de
*
* The contents of this file are subject to the Mozilla Public License Version
* 2.0 (the "License"); you may not use this file except in compliance with
* the Licens... | 29,242 |
https://github.com/RLogik/whales/blob/master/examples/hello-world/.whales.Dockerfile | Github Open Source | Open Source | MIT | 2,021 | whales | RLogik | Dockerfile | Code | 230 | 547 | ################################################################
# !!! The following is an exmaple. Replace this by desired docker image instructions. !!!
FROM ubuntu
#
#
################################################################
################################################################################
# ... | 12,571 |
https://github.com/andriykh/IADES/blob/master/sepa123demo/results/sepa2_WeisdaleBurn.eps | Github Open Source | Open Source | Apache-2.0 | 2,015 | IADES | andriykh | PostScript | Code | 13,857 | 24,234 | %!PS-Adobe-3.0 EPSF-3.0
%%Creator: MATLAB, The MathWorks, Inc. Version 8.1.0.604 (R2013a). Operating System: Microsoft Windows 7.
%%Title: C:\Andriy\work\sepa123demo\sepa2_WeisdaleBurn.eps
%%CreationDate: 02/27/2015 13:14:28
%%DocumentNeededFonts: Helvetica
%%DocumentProcessColors: Cyan Magenta Yellow Black
%%Language... | 16,892 |
https://github.com/kkarra/SGDFrontend/blob/master/client/jsx/application.jsx | Github Open Source | Open Source | MIT | 2,014 | SGDFrontend | kkarra | JavaScript | Code | 61 | 154 | /** @jsx React.DOM */
var setup = require("./lib/setup.jsx");
/*
Assign views as the values in a views object, which gets assigned to the global views object.
To execute view logic, use views.example.render()
*/
var views = {
sequence: require("./views/sequence_view.jsx"),
snapshot: require("./views/snapshot_vie... | 50,794 |
https://github.com/GeheimerWolf/PaimonTest/blob/master/src/helpers/moderation.ts | Github Open Source | Open Source | MIT | 2,021 | PaimonTest | GeheimerWolf | TypeScript | Code | 412 | 1,560 | import { getUser } from "https://raw.githubusercontent.com/discordeno/discordeno/master/src/api/handlers/guild.ts";
import { botCache, cache } from "../../deps.ts";
import { db } from "../database/database.ts";
import { Embed } from "../utils/Embed.ts";
import { humanizeMilliseconds, sendEmbed } from "../utils/helpers.... | 17,998 |
https://github.com/teddywest32/intellij-community/blob/master/platform/vcs-impl/src/com/intellij/openapi/vcs/changes/patch/ApplyPatchMode.java | Github Open Source | Open Source | Apache-2.0 | 2,022 | intellij-community | teddywest32 | Java | Code | 158 | 414 | /*
* Copyright 2000-2011 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | 15,781 |
https://github.com/dloredo/admincontratas/blob/master/resources/views/reportes/directorios.blade.php | Github Open Source | Open Source | MIT | null | admincontratas | dloredo | PHP | Code | 105 | 529 | <style>
table, th, td {
border: 1px solid black;
border-collapse: collapse;
font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
}
</style>
<table style="width: 100%;">
<thead>
<tr style="text-align: center;">
<td colspan="6">Fecha: {{ date('d-m-Y') }}</td>
</tr>
<tr ... | 35,540 |
https://github.com/tdegeus/GMatElastic/blob/master/python/GMatElastic/Cartesian3d.py | Github Open Source | Open Source | MIT | 2,022 | GMatElastic | tdegeus | Python | Code | 12 | 48 | import GMatTensor.Cartesian3d # noqa: F401,F403
from ._GMatElastic.Cartesian3d import * # noqa: F401,F403
| 3,965 |
https://github.com/gheljenor/EventEmitter/blob/master/tests/unit/prototype.js | Github Open Source | Open Source | MIT | 2,017 | EventEmitter | gheljenor | JavaScript | Code | 57 | 183 | 'use strict';
var EventEmitter = require('../../EventEmitter');
/* globals describe, it, expect */
describe('Inheritance from native EventEmitter', function () {
var EE;
try {
EE = require('events').EventEmitter;
} catch (error) {
return;
}
it('Check prototype', function () {
... | 142 |
https://github.com/gregolsky/ravendb-nodejs-client/blob/master/test/Ported/RevisionsTest.ts | Github Open Source | Open Source | MIT | 2,019 | ravendb-nodejs-client | gregolsky | TypeScript | Code | 362 | 1,436 | import * as assert from "assert";
import { testContext, disposeTestDocumentStore } from "../Utils/TestUtil";
import { DocumentStore, IDocumentStore } from "../../src";
import { User } from "../Assets/Entities";
import { CONSTANTS } from "../../src/Constants";
// tslint:disable:max-line-length
import { ConfigureRevisio... | 21,377 |
https://github.com/wayfinder/Wayfinder-S60-Navigator/blob/master/CPP/Targets/WayFinder/symbian-r6/GuidePicture.h | Github Open Source | Open Source | BSD-3-Clause | 2,021 | Wayfinder-S60-Navigator | wayfinder | C | Code | 839 | 2,015 | /*
Copyright (c) 1999 - 2010, Vodafone Group Services Ltd
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this list of co... | 35,359 |
https://github.com/sergiop22/Larmor-laravel/blob/master/app/Http/Controllers/SecuenciaController.php | Github Open Source | Open Source | MIT | 2,020 | Larmor-laravel | sergiop22 | PHP | Code | 448 | 1,655 | <?php
namespace App\Http\Controllers;
use App\Secuencia;
use App\Protocolo;
use Config;
use Image;
use Illuminate\Http\Request;
use Symfony\Component\Process\Process;
use Symfony\Component\Process\Exception\ProcessFailedException;
class SecuenciaController extends Controller
{
/**
* Display a listing of the... | 47,949 |
https://github.com/kmx/perl-iup/blob/master/_generators/orig.iup/doc.iup/func/iupshow.pod | Github Open Source | Open Source | MIT, Unlicense | 2,020 | perl-iup | kmx | null | Spoken | 187 | 433 | =head1 IupShow
Displays a dialog in the current position, or changes a control VISIBLE
attribute. If the dialog needs to be mapped and the current position is
not known then the dialog is centered.
For a dialog to set the attribute VISIBLE=YES is the same as calling
B<IupShow>. For other controls, to call B<IupShow> ... | 27,983 |
https://github.com/jmsstudio/aprendendo-spring-mvc/blob/master/src/main/webapp/WEB-INF/views/carrinho/itens.jsp | Github Open Source | Open Source | MIT | null | aprendendo-spring-mvc | jmsstudio | null | Spoken | 201 | 1,177 | <%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form" %>
<%@ taglib uri="http://www.springframework.org/tags" prefix="s" %>
<!DOCTYPE html>
<html>
<%@include file="../... | 1,447 |
https://github.com/yunal/imbo/blob/master/features/bootstrap/imbo-configs/access-control-mutable.php | Github Open Source | Open Source | MIT | null | imbo | yunal | PHP | Code | 21 | 80 | <?php declare(strict_types=1);
namespace Imbo\Behat;
use Imbo\Auth\AccessControl\Adapter\MongoDB;
return [
'accessControl' => function() {
return new MongoDB([
'databaseName' => 'imbo_testing',
]);
},
];
| 14,894 |
https://github.com/ThexXTURBOXx/Reforged/blob/master/src/main/java/org/silvercatcher/reforged/proxy/CommonProxy.java | Github Open Source | Open Source | MIT, LicenseRef-scancode-warranty-disclaimer | 2,023 | Reforged | ThexXTURBOXx | Java | Code | 590 | 2,541 | package org.silvercatcher.reforged.proxy;
import java.io.File;
import net.minecraft.enchantment.Enchantment;
import net.minecraft.item.Item;
import net.minecraft.util.ResourceLocation;
import net.minecraft.util.SoundEvent;
import net.minecraftforge.client.event.ModelRegistryEvent;
import net.minecraftforge.common.capa... | 2,237 |
https://github.com/esnya/nekosync/blob/master/server/datastore/Datastore.ts | Github Open Source | Open Source | MIT | 2,022 | nekosync | esnya | TypeScript | Code | 166 | 350 | import { CollectionPath, DocumentPath } from '../../common/Path';
/**
* Datastore
*/
export default abstract class Datastore {
/**
* Get an document
* @param {DocumentPath} path - Path for document
* @return {object | undefined} value - Value
*/
public abstract get(path: DocumentPath): Promise<object... | 16,591 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.