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/blabno/agido-mockups/blob/master/src/components/panel.js | Github Open Source | Open Source | MIT | 2,013 | agido-mockups | blabno | JavaScript | Code | 141 | 627 | (function ()
{
function updateChildren(item)
{
var frame = item.find(".frame")[0];
var headerBorder = item.find(".headerBorder")[0];
var title = item.find(".title")[0];
frame.setAttr("width", item.getWidth());
frame.setAttr("height", item.getHeight());
//noinspect... | 45,201 |
https://github.com/andrasigneczi/TravelOptimizer/blob/master/DataCollector/mozilla/xulrunner-sdk/include/nsIClassInfo.h | Github Open Source | Open Source | Apache-2.0 | 2,018 | TravelOptimizer | andrasigneczi | C++ | Code | 649 | 2,161 | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM ../../../dist/idl\nsIClassInfo.idl
*/
#ifndef __gen_nsIClassInfo_h__
#define __gen_nsIClassInfo_h__
#ifndef __gen_nsISupports_h__
#include "nsISupports.h"
#endif
/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#define NS_NO_VTABLE
... | 26,522 |
https://github.com/WSN-2012/Radio-Daemon/blob/master/makefile | Github Open Source | Open Source | LicenseRef-scancode-warranty-disclaimer, Apache-2.0 | 2,012 | Radio-Daemon | WSN-2012 | Makefile | Code | 69 | 254 | #All source files
SOURCES= devtag-allinone.c \
lock.c \
printAsciiHex.c \
serial.c \
util.c \
datacollection.c \
uhx1_commander.c \
uhx1_control.c \
sdb.c \
radiodaemon.c \
radio_conf.c
# Project specific variables
BUILD_PATH=build
BUILD_NAME=radiodaemon
# Building variables
CC=gcc
CFLA... | 7,320 |
https://github.com/fakexunni/VideoEdit/blob/master/FXVideoEdit/FXVideoEdit/VideoSelect/View/FXSelectedVideoListView.m | Github Open Source | Open Source | MIT | 2,021 | VideoEdit | fakexunni | Objective-C | Code | 437 | 1,954 | //
// FXSelectedVideoListView.m
// FXVideoEdit
//
// Created by duoyi on 2020/8/31.
// Copyright © 2020 xunni zou. All rights reserved.
//
#import "FXSelectedVideoListView.h"
#import "FXSelectedVideoCollectionViewCell.h"
@interface FXSelectedVideoListView () <UICollectionViewDelegate, UICollectionViewDataSource, ... | 33,342 |
https://github.com/Unknow-man/mfc-4/blob/master/MFC CodeGuru/misc/coloredit/ClockStatus.cpp | Github Open Source | Open Source | LicenseRef-scancode-keith-rule | 2,021 | mfc-4 | Unknow-man | C++ | Code | 79 | 433 | /////////////////////////////////////////////////////////////////
//MyStatusBar.cpp:
//==============
#include "stdafx.h"
#include "ClockStatusBar.h"
#include "Resource.h"
#ifdef _DEBUG
#undef THIS_FILE
static char BASED_CODE THIS_FILE[] = __FILE__;
#endif
IMPLEMENT_DYNCREATE(CClockStatusBar, CStatusBar)
BEGIN_MESSA... | 33,045 |
https://github.com/WilliamJones62/i-sweet-briar-fe/blob/master/node_modules/angular-storage/gulpfile.js | Github Open Source | Open Source | MIT | 2,021 | i-sweet-briar-fe | WilliamJones62 | JavaScript | Code | 223 | 930 | var gulp = require('gulp'),
karma = require('karma').server,
concat = require('gulp-concat'),
uglify = require('gulp-uglify'),
rename = require('gulp-rename'),
jshint = require('gulp-jshint'),
ngAnnotate = require('gulp-ng-annotate'),
sourceFiles = [
'src/angularStorage/angularStorage.... | 29,898 |
https://github.com/vittorioromeo/Experiments/blob/master/SSVVM/include/SSVVM/BoundFunction.hpp | Github Open Source | Open Source | AFL-3.0, AFL-2.1, LicenseRef-scancode-unknown-license-reference | 2,019 | Experiments | vittorioromeo | C++ | Code | 270 | 986 | // Copyright (c) 2013-2015 Vittorio Romeo
// License: Academic Free License ("AFL") v. 3.0
// AFL License page: http://opensource.org/licenses/AFL-3.0
#ifndef SSVVM_BOUNDFUNCTION
#define SSVVM_BOUNDFUNCTION
namespace ssvvm
{
namespace Impl
{
template <std::size_t TIdx, typename TArg, typename T>
... | 2,208 |
https://github.com/tomtkg/Test_Functions_for_Multi-objective_Optimization/blob/master/Problems/MaF/MaF8.m | Github Open Source | Open Source | MIT | 2,020 | Test_Functions_for_Multi-objective_Optimization | tomtkg | MATLAB | Code | 216 | 720 | classdef MaF8 < PROBLEM
% <problem> <MaF>
% MP-DMP
%------------------------------- Reference --------------------------------
% R. Cheng, M. Li, Y. Tian, X. Zhang, S. Yang, Y. Jin, and X. Yao, A
% benchmark test suite for evolutionary many-objective optimization,
% Complex & Intelligent Systems, 2017, 3(1): 67-81.
%-... | 42,465 |
https://github.com/almeralmazan/pdler/blob/master/public/js/script.js | Github Open Source | Open Source | BSD-3-Clause | 2,013 | pdler | almeralmazan | JavaScript | Code | 616 | 2,449 | jQuery(document).ready(function() {
//console.log($(window).width());
$bgs = $('.bgs');
var height = $(window).height();
var width = $(window).width();
init();
//cache window object
$window = $(window);
$window.resize(function(e) {
console.log($window.width());
//change content si... | 26,089 |
https://github.com/maxsnew/elm-package/blob/master/website/content/src/Catalog.elm | Github Open Source | Open Source | BSD-3-Clause | null | elm-package | maxsnew | null | Spoken | 220 | 442 | module Catalog where
import String
import Http
import Json
import JavaScript.Experimental as JSE
import Website.ColorScheme as C
import Website.Skeleton (skeleton)
import Window
jsonResponse = Http.sendGet (constant "/libraries.json")
addSearchText library =
{ library | searchText = String.toLower <| library.nam... | 56,679 |
https://github.com/WJTian/bfe/blob/master/bfe_proxy/version_cmd.go | Github Open Source | Open Source | Apache-2.0 | 2,022 | bfe | WJTian | Go | Code | 330 | 618 | // Copyright (c) 2019 Baidu, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to... | 42,545 |
https://github.com/AlotTech/foodcamp/blob/master/backend/modules/mdata/views/rating-kuliner/_form.php | Github Open Source | Open Source | BSD-3-Clause | null | foodcamp | AlotTech | PHP | Code | 157 | 616 | <?php
use backend\modules\mdata\models\Kuliner;
use kartik\builder\Form;
use kartik\widgets\ActiveForm;
use kartik\rating\StarRating;
use yii\helpers\Html;
/**
* @var yii\web\View $this
* @var backend\modules\mdata\models\RatingKuliner $model
* @var yii\widgets\ActiveForm $form
*/
?>
<div class="container-fluid">... | 38,207 |
https://github.com/Nomeleel/application_management/blob/master/example/lib/main.dart | Github Open Source | Open Source | BSD-3-Clause | 2,020 | application_management | Nomeleel | Dart | Code | 180 | 684 | import 'dart:io';
import 'package:application_management/application_management.dart';
import 'package:flutter/material.dart';
void main() => runApp(MyApp());
class MyApp extends StatefulWidget {
@override
_MyAppState createState() => _MyAppState();
}
class _MyAppState extends State<MyApp> {
TextEditingContro... | 39,960 |
https://github.com/waqassultan1/tripleo-image-elements/blob/master/elements/tripleo-cd/bin/deploy-testenv | Github Open Source | Open Source | Apache-2.0 | 2,014 | tripleo-image-elements | waqassultan1 | Shell | Code | 98 | 361 | #!/bin/bash
#
# This is a helper to get tripleo-cd admins to deploy testenvs repeatably.
set -eux
set -o pipefail
if [ -z "${1:-}" ] ; then
echo "Please supply the IP of the overcloud controller as the first parameter"
exit 1
fi
GEARMANHOST=${2:-192.168.1.1}
PUBLICINTERFACE=${3:-eth2}
if heat stack-show tes... | 48,411 |
https://github.com/erdengk/Polypheny-DB/blob/master/core/src/main/java/org/polypheny/db/algebra/logical/LogicalConditionalExecute.java | Github Open Source | Open Source | Apache-2.0 | 2,019 | Polypheny-DB | erdengk | Java | Code | 291 | 797 | /*
* Copyright 2019-2021 The Polypheny Project
*
* 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... | 46,016 |
https://github.com/odvis/nodeapp/blob/master/app.js | Github Open Source | Open Source | Apache-2.0 | 2,014 | nodeapp | odvis | JavaScript | Code | 675 | 1,900 | var _ = require('underscore');
/* ================== configuration: loaded from config.yml ===================== */
if( process.env.NODE_ENV != 'development' && process.env.NODE_ENV != 'production') {
console.log("please set NODE_ENV to either development or production, not " + process.env.NODE_ENV);
process.exi... | 31,754 |
https://github.com/muhammadsaifrehman/pos/blob/master/app/distributer/transection_detail.php | Github Open Source | Open Source | MIT | 2,020 | pos | muhammadsaifrehman | PHP | Code | 157 | 635 | <?php include"../includes/header.php"; ?>
<?php
$id = $_GET["id"];
$sql_fetch = "SELECT pi.distributer_id,d.name,td.* FROM purchase_invoice AS pi INNER JOIN transection_details AS td ON pi.id = td.invoice_id INNER JOIN distributer AS d ON pi.distributer_id = d.id WHERE td.invoice_id = $id";
$sql_fetch_result = mysq... | 13,212 |
https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/services/smc/struct_replication_job.go | Github Open Source | Open Source | Apache-2.0 | 2,023 | alibaba-cloud-sdk-go | aliyun | Go | Code | 277 | 975 | package smc
//Licensed under the Apache License, Version 2.0 (the "License");
//you may not use this file except in compliance with the License.
//You may obtain a copy of the License at
//
//http://www.apache.org/licenses/LICENSE-2.0
//
//Unless required by applicable law or agreed to in writing, software
//distribut... | 10,480 |
https://github.com/ENCODE-DCC/dnase-seq-pipeline/blob/master/wdl/subworkflows/get_stats_from_bam.wdl | Github Open Source | Open Source | MIT | 2,021 | dnase-seq-pipeline | ENCODE-DCC | null | Spoken | 29 | 97 | version 1.0
import "../tasks/samtools.wdl"
workflow get_stats_from_bam {
input {
File bam
Resources resources
}
call samtools.stats {
input:
bam=bam,
resources=resources,
}
output {
File bam_stats = stats.bam_stats
}
}
| 7,212 |
https://github.com/thomasgroch/ResourceGenerator/blob/master/src/Console/Commands/templates/ResourceFactory.php | Github Open Source | Open Source | MIT | null | ResourceGenerator | thomasgroch | PHP | Code | 71 | 298 | <?php
/*
|--------------------------------------------------------------------------
| Resource Factory
|--------------------------------------------------------------------------
|
|
*/
/** @var \Illuminate\Database\Eloquent\Factory $factory */
$factory->define(App\Models\Resource::class, function (Faker\Generator $... | 45,269 |
https://github.com/i-Blaise/mcgn.api/blob/master/routes/web.php | Github Open Source | Open Source | MIT | 2,020 | mcgn.api | i-Blaise | PHP | Code | 114 | 574 | <?php
/** @var \Laravel\Lumen\Routing\Router $router */
/*
|--------------------------------------------------------------------------
| Application Routes
|--------------------------------------------------------------------------
|
| Here is where you can register all of the routes for an application.
| It is a bre... | 34,509 |
https://github.com/nvbach91/4IZ278-2020-2021-LS/blob/master/www/kore07/sp/components/placeOrder.php | Github Open Source | Open Source | MIT | 2,022 | 4IZ278-2020-2021-LS | nvbach91 | PHP | Code | 137 | 611 | <?php require_once __DIR__ .'/../utils/utils.php'; ?>
<?php require_once __DIR__ . '/../database/OrdersDB.php'; ?>
<?php require_once __DIR__ . '/../database/ProductsDB.php'; ?>
<?php require_once __DIR__ . '/../database/OrdersProductsDB.php'; ?>
<?php
if(!isset($_SESSION)){
session_start();
}
if ... | 9,677 |
https://github.com/miaowjs/miaow/blob/master/lib/TaskContext.js | Github Open Source | Open Source | MIT | 2,018 | miaow | miaowjs | JavaScript | Code | 181 | 644 | var _ = require('lodash');
var mutil = require('miaow-util');
var path = require('path');
var pathIsAbsolute = require('path-is-absolute');
function TaskContext(compilation, module) {
var context = this;
_.assign(context, _.pick(
module,
[
'context', 'output', 'src', 'srcDir', 'srcHash', 'destDir', ... | 14,104 |
https://github.com/Nishant-Kapadiya/mantine/blob/master/docs/src/docs/demos/core/Highlight/highlight.demos.tsx | Github Open Source | Open Source | MIT, BSD-3-Clause | 2,021 | mantine | Nishant-Kapadiya | TSX | Code | 68 | 247 | import React from 'react';
import { Highlight } from '@mantine/core';
import CodeDemo from '../../../../components/CodeDemo/CodeDemo';
const code = `import React from 'react';
import { Highlight } from '@mantine/core';
function Demo() {
return (
<Highlight
component="a"
href="https://mantine.dev"
... | 31,119 |
https://github.com/moises-marquez/slate/blob/master/packages/slate-editor/src/modules/editor-v4-file-attachment/constants.ts | Github Open Source | Open Source | MIT | null | slate | moises-marquez | TypeScript | Code | 5 | 22 | export const FILE_ATTACHMENT_EXTENSION_ID = 'FileAttachmentExtension';
| 24,924 |
https://github.com/jekennedy/a0demo/blob/master/node_modules/style-resources-loader/lib/utils/error-message.js | Github Open Source | Open Source | MIT | 2,021 | a0demo | jekennedy | JavaScript | Code | 66 | 198 | "use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const _1 = require(".");
const formatErrorMessage = (message) => `[${_1.PACKAGE_NAME}] ${message}`;
const messageByType = {
impossible: `This error is caused by a bug. Please file an issue: ${_1.ISSUES_URL}.`,
syncCompilation: 'Synchro... | 6,226 |
https://github.com/danielvfo/sample-nest-app/blob/master/src/type/type.controller.ts | Github Open Source | Open Source | MIT | null | sample-nest-app | danielvfo | TypeScript | Code | 59 | 168 | import { Controller, Get, Param } from '@nestjs/common';
import { Type } from './type.entity';
import { TypeRepository } from './type.repository';
type FindByTypeArgs = { type: string };
@Controller('type')
export class TypeController {
constructor(private readonly typeRepository: TypeRepository) {}
@Get(':type'... | 16,343 |
https://github.com/mattsoldo/tradeking/blob/master/lib/tradeking.rb | Github Open Source | Open Source | MIT | 2,014 | tradeking | mattsoldo | Ruby | Code | 18 | 64 | require 'oauth'
require 'json'
require 'tradeking/client'
module Tradeking
API_URI = "https://api.tradeking.com"
API_VERSION = "v1"
API_FORMAT = "json"
end
| 40,481 |
https://github.com/phalcon/cphalcon/blob/master/ext/phalcon/annotations/adapter/apcu.zep.c | Github Open Source | Open Source | BSD-3-Clause | 2,023 | cphalcon | phalcon | C | Code | 455 | 2,258 |
#ifdef HAVE_CONFIG_H
#include "../../../ext_config.h"
#endif
#include <php.h>
#include "../../../php_ext.h"
#include "../../../ext.h"
#include <Zend/zend_operators.h>
#include <Zend/zend_exceptions.h>
#include <Zend/zend_interfaces.h>
#include "kernel/main.h"
#include "kernel/array.h"
#include "kernel/object.h"
#in... | 51,065 |
https://github.com/MeneDev/dartstruct/blob/master/integration_tests/test/double_mapper/double_mapping_test.dart | Github Open Source | Open Source | MIT | null | dartstruct | MeneDev | Dart | Code | 225 | 672 | import 'package:test/test.dart';
import 'double_mapper.dart';
void main() {
group('Double Mapper', () {
final model = Model()
..string$ = '7.1'
..nullString$ = null
..double$ = 1.1
..nullDouble$ = null
..integer$ = 1
..nullInteger$ = null
..number$ = 4
..nullNumbe... | 49,505 |
https://github.com/JustinLaureano/familymeal/blob/master/resources/sass/components/_inputs.scss | Github Open Source | Open Source | MIT | 2,019 | familymeal | JustinLaureano | SCSS | Code | 158 | 592 | input {
@include border(0px);
@include pad($space-xs, $space-xs);
background: $white;
font-size: $size-sm;
}
.input-container {
position: relative;
}
.input {
@extend input;
padding-left: 30px;
width: 100%;
&::placeholder {
color: $weathered-blue;
}
}
.input-icon {
... | 54,210 |
https://github.com/bradodarb/wavelength-js/blob/master/src/util/service-clients/aws/kinesis-producer.ts | Github Open Source | Open Source | MIT | null | wavelength-js | bradodarb | TypeScript | Code | 267 | 936 | import Kinesis, {
PutRecordInput,
PutRecordOutput,
PutRecordsInput,
PutRecordsOutput,
PutRecordsRequestEntry
} from "aws-sdk/clients/kinesis";
import stringify from 'fast-safe-stringify';
import {StructLog, StructuredLogger} from "../../../logging";
import {Serializable, Serializer} from "../../type... | 38,451 |
https://github.com/yezhoujie/spring-data-mybatis/blob/master/spring-data-mybatis/src/main/java/org/springframework/data/mybatis/repository/query/AbstractMybatisQuery.java | Github Open Source | Open Source | Apache-2.0 | null | spring-data-mybatis | yezhoujie | Java | Code | 668 | 2,170 | package org.springframework.data.mybatis.repository.query;
import java.util.Arrays;
import java.util.Collection;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.stream.Collectors;
import javax.persistence.Tuple;
import javax.persistence.TupleElement;
import... | 25,509 |
https://github.com/PaulClas/Keyword-Matching-for-Canadian-Mechanical-Engineering-Programs/blob/master/Web-Scraping Scripts and Data/Accredited Canadian English Undergrad MechEng Programs/Carleton/WS_Carleton_MechEng_Electives.ipynb | Github Open Source | Open Source | MIT | 2,021 | Keyword-Matching-for-Canadian-Mechanical-Engineering-Programs | PaulClas | Jupyter Notebook | Code | 4,769 | 13,684 | {
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"metadata": {},
"outputs": [],
"source": [
"from bs4 import BeautifulSoup as soup\n",
"from urllib.request import urlopen as ureq\n",
"from selenium import webdriver\n",
"import time\n",
"import re"
]
},
{
"cell_ty... | 33,878 |
https://github.com/Diehl-Claudino/Portugol_Studio/blob/master/estudo3.por | Github Open Source | Open Source | MIT | 2,021 | Portugol_Studio | Diehl-Claudino | null | Spoken | 117 | 380 | programa
{
funcao inicio()
{
real nota
escreva("Insira a nota: ")
leia(nota)
limpa()
se(nota <0 ou >100){
escreva ("Nota inexistente")
}
senao se(nota <=40){
escreva ("O aluno foi reprovado")
}senao se (nota <60){
escreva ("o aluno está de recuperação")
}senao se (nota >80){
escr... | 18,657 |
https://github.com/humayonkabirr/HMS/blob/master/app/Http/Controllers/TestReportController.php | Github Open Source | Open Source | MIT | 2,021 | HMS | humayonkabirr | PHP | Code | 247 | 854 | <?php
namespace App\Http\Controllers;
use App\Models\TestReport;
use App\Models\Patient;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Gate;
use App\Models\Auth\Permission;
use App\Models\Auth\Role;
use App\Models\Auth\UserRole;
use Illuminate\Validation\UnauthorizedException;
use Illuminate\Support\Fac... | 48,450 |
https://github.com/rudylee/expo/blob/master/android/versioned-abis/expoview-abi36_0_0/src/main/java/abi36_0_0/org/unimodules/core/ViewManager.java | Github Open Source | Open Source | Apache-2.0, MIT | 2,021 | expo | rudylee | Java | Code | 436 | 1,224 | package abi36_0_0.org.unimodules.core;
import android.content.Context;
import android.view.View;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import abi36_0_0.org.unimodules.co... | 22,627 |
https://github.com/antopen/alipay-sdk-python-all/blob/master/alipay/aop/api/domain/MiniEntityBindInfo.py | Github Open Source | Open Source | Apache-2.0 | 2,021 | alipay-sdk-python-all | antopen | Python | Code | 139 | 615 | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import json
from alipay.aop.api.constant.ParamConstants import *
from alipay.aop.api.domain.MiniContentPropertyInfo import MiniContentPropertyInfo
class MiniEntityBindInfo(object):
def __init__(self):
self._entity_id = None
self._property_list = None... | 19,471 |
https://github.com/jagaapple/marubatsu/blob/master/src/checkers/within-digits-range-checker.test.ts | Github Open Source | Open Source | MIT | null | marubatsu | jagaapple | TypeScript | Code | 1,147 | 7,542 | // =============================================================================================================================
// SRC - CHECKERS - WITHIN DIGITS RANGE CHECKER TEST
// =============================================================================================================================
// tslint... | 24,009 |
https://github.com/gebs/Holo_Playground/blob/master/Krrli/HolographicAcademy-Holograms-101/Origami/Origami.sln | Github Open Source | Open Source | MIT | 2,017 | Holo_Playground | gebs | null | Spoken | 92 | 602 |
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2017
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Origami", "Origami.csproj", "{F7513E39-8693-A52D-7D91-1CC61CBB8A78}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Origami.Editor", "Origami.Editor.csproj", "{4C544E9... | 54,732 |
https://github.com/adrienbaron/screenshots/blob/master/lib/src/globals.dart | Github Open Source | Open Source | BSD-2-Clause | 2,021 | screenshots | adrienbaron | Dart | Code | 69 | 137 | /// default config file name
const String kConfigFileName = 'screenshots.yaml';
/// screenshots environment file name
const String kEnvFileName = 'env.json';
/// Image extension
const kImageExtension = 'png';
/// Directory for capturing screenshots during a test
const kTestScreenshotsDir = 'test';
/// Distinguish d... | 19,086 |
https://github.com/backo880607/pisces/blob/master/core/src/main/java/com/pisces/core/converter/MultiEnumDeserializer.java | Github Open Source | Open Source | Apache-2.0 | null | pisces | backo880607 | Java | Code | 157 | 655 | package com.pisces.core.converter;
import java.io.IOException;
import com.fasterxml.jackson.core.JsonParser;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.BeanProperty;
import com.fasterxml.jackson.databind.DeserializationContext;
import com.fasterxml.jackson.databin... | 55,553 |
https://github.com/Marwzoor/anglar/blob/master/angular/node_modules/gulp-minify-html/node_modules/minimize/node_modules/cli-color/node_modules/memoizee/node_modules/es6-weak-map/node_modules/es6-symbol/polyfill.js | Github Open Source | Open Source | MIT | 2,021 | anglar | Marwzoor | JavaScript | Code | 170 | 507 | 'use strict';
var d = require('d')
, create = Object.create, defineProperties = Object.defineProperties
, generateName, Symbol;
generateName = (function () {
var created = create(null);
return function (desc) {
var postfix = 0;
while (created[desc + (postfix || '')]) ++postfix;
desc += (postfix || '');
... | 26,151 |
https://github.com/tomtau/chain/blob/master/ci-scripts/run-integration-tests.sh | Github Open Source | Open Source | Apache-2.0, MIT | 2,019 | chain | tomtau | Shell | Code | 99 | 393 | #!/usr/bin/env bash
set -ex
rustup default nightly-2019-08-01-x86_64-unknown-linux-gnu
# Build test environment
cd integration-tests
./prepare.sh || exit 1
. ./env.sh
docker-compose -p "${DOCKER_COMPOSE_PREFIX}" down || (docker ps; exit 1)
# Find ports for Docker
export TENDERMINT_RPC_PORT=$(../ci-scripts/find-free-... | 15,287 |
https://github.com/Dr-Turtle/DRG_ModPresetManager/blob/master/Source/FSD/Public/DebrisActorComponent.h | Github Open Source | Open Source | MIT | 2,022 | DRG_ModPresetManager | Dr-Turtle | C | Code | 22 | 100 | #pragma once
#include "CoreMinimal.h"
#include "Components/SceneComponent.h"
#include "DebrisActorComponent.generated.h"
UCLASS()
class UDebrisActorComponent : public USceneComponent {
GENERATED_BODY()
public:
UPROPERTY(EditAnywhere)
bool Enabled;
UDebrisActorComponent();
};
| 53,519 |
https://github.com/arraycto/lime/blob/master/pkg/ui/src/views/category/emun/index.js | Github Open Source | Open Source | Apache-2.0, MIT | 2,020 | lime | arraycto | JavaScript | Code | 12 | 38 | export const CATEGORY_CHANNEL = {
0: '全部',
1: '男生',
2: '女生'
} | 16,504 |
https://github.com/TheBukharian/Weather-app/blob/master/app/src/main/java/com/uzbek/weatherapp/mvvm/interfaces/UiUpdateListener.kt | Github Open Source | Open Source | Apache-2.0 | 2,022 | Weather-app | TheBukharian | Kotlin | Code | 11 | 56 | package com.uzbek.weatherapp.mvvm.interfaces
import com.example.weatherapp.mvvm.data.WeatherData
interface UiUpdateListener {
fun onUpdateUi(weatherData: WeatherData)
} | 5,289 |
https://github.com/19-shubho/ITER-ASSIGNMENTS/blob/master/Sem-4/Assignment 2/A2qno7.java | Github Open Source | Open Source | MIT | 2,021 | ITER-ASSIGNMENTS | 19-shubho | Java | Code | 43 | 178 | import java.util.*;
public class A2qno7 {
public static List<Integer> generatePrimes(int n){
List<Integer> primes=new ArrayList<>();
int c=0;
for(int i=2;i<=n;i++) {
c=0;
for(int j=2;j*j<=i;j++) {
if(i%j==0)
c++;
}
if(c==0) {
primes.add(i);
}
}
return primes;
}
publi... | 37,080 |
https://github.com/sohkis/android_external_webp/blob/master/examples/Android.mk | Github Open Source | Open Source | BSD-3-Clause | 2,016 | android_external_webp | sohkis | Makefile | Code | 97 | 380 | LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_SRC_FILES := \
example_util.c \
LOCAL_CFLAGS := $(WEBP_CFLAGS)
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../src
LOCAL_MODULE := example_util
include $(BUILD_STATIC_LIBRARY)
include $(CLEAR_VARS)
# Note: to enable jpeg/png encoding the sources from AOSP can be ... | 45,248 |
https://github.com/g3rhard/aws-eks-base/blob/master/terraform/layer2-k8s/examples/eks-gitlab-runner.tf | Github Open Source | Open Source | MIT | 2,021 | aws-eks-base | g3rhard | HCL | Code | 98 | 500 | locals {
gitlab_runner_cache_bucket_name = data.terraform_remote_state.layer1-aws.outputs.gitlab_runner_cache_bucket_name
gitlab_runner_template = templatefile("${path.module}/templates/gitlab-runner-values.tmpl",
{
registration_token = local.gitlab_registration_token
namespace = kubernete... | 31,027 |
https://github.com/graphaware/php-simplemq/blob/master/tests/_scripts/setup-rabbit-docker.sh | Github Open Source | Open Source | MIT | 2,016 | php-simplemq | graphaware | Shell | Code | 13 | 56 | #!/bin/bash
docker run -d --name graphaware-simplemq-rabbit -p 5678:5672 -p 15678:15672 -e RABBITMQ_PASS="secret" tutum/rabbitmq | 3,045 |
https://github.com/jimmywidianto/TIF3409-TugasBesar/blob/master/application/controllers/alumni_daftar.php | Github Open Source | Open Source | MIT | null | TIF3409-TugasBesar | jimmywidianto | PHP | Code | 102 | 496 | <?php
class alumni_daftar extends CI_Controller{
function __construct(){
parent::__construct();
$this->load->model('alumni_model');
$this->load->helper('url');
}
function daftar(){
$this->load->view('alumni_daftar');
}
public function daftar_gas()
{
$this->form_validation->set_rules('email', 'Email',... | 33,195 |
https://github.com/medismailben/llvm-project/blob/master/clang/test/SemaCXX/warn-consumed-analysis.cpp | Github Open Source | Open Source | Apache-2.0 | 2,022 | llvm-project | medismailben | C++ | Code | 3,672 | 9,935 | // RUN: %clang_cc1 -fsyntax-only -verify -Wconsumed -fcxx-exceptions -std=c++11 %s
// TODO: Switch to using macros for the expected warnings.
#define CALLABLE_WHEN(...) __attribute__ ((callable_when(__VA_ARGS__)))
#define CONSUMABLE(state) __attribute__ ((consumable(state)))
#define PARAM_TYPESTATE(state) ... | 38,015 |
https://github.com/DevilMorgan/speed/blob/master/app/Http/Services/ProviderClass.php | Github Open Source | Open Source | MIT | 2,021 | speed | DevilMorgan | PHP | Code | 112 | 332 | <?php
namespace App\Http\Services;
class ProviderClass
{
private static $concreateClassName;
private static $abstract;
private static $instance;
/**
* register abinding abstract and get concreate class
* @param [type] $abstract
* @return object
* after return instance from $abstrac... | 7,231 |
https://github.com/lmolkova/corefx/blob/master/src/System.Security.Cryptography.X509Certificates/src/System/Security/Cryptography/X509Certificates/PublicKey.cs | Github Open Source | Open Source | MIT | 2,019 | corefx | lmolkova | C# | Code | 175 | 451 | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Internal.Cryptography;
using Internal.Cryptography.Pal;
namespace System.Security.Cryptography.X509Certificat... | 27,610 |
https://github.com/McSib/e621_downloader/blob/master/.gitignore | Github Open Source | Open Source | Apache-2.0 | 2,023 | e621_downloader | McSib | Ignore List | Code | 11 | 54 | /target
**/*.rs.bk
/.idea
/config.json
/tags.txt
/downloads
/login.json
/Testing Bench
/e621_downloader.log
.vscode/
| 32,941 |
https://github.com/uwescience/raco/blob/master/raco/backends/radish/radish.py | Github Open Source | Open Source | BSD-3-Clause | 2,022 | raco | uwescience | Python | Code | 6,070 | 26,110 |
# TODO: To be refactored into parallel shared memory lang,
# where you plugin in the parallel shared memory language specific codegen
import logging
import raco.scheme as scheme
from raco import algebra
from raco import expression
from raco import rules
from raco.algebra import gensym
from raco.backends import Algeb... | 28,163 |
https://github.com/ahmedy19/School_For_Kids/blob/master/app/Providers/BladeExtrasServiceProvider.php | Github Open Source | Open Source | BSD-Source-Code, FSFAP | null | School_For_Kids | ahmedy19 | PHP | Code | 63 | 210 | <?php
namespace App\Providers;
use Illuminate\Support\ServiceProvider;
use Illuminate\Support\Facades\Blade;
use Illuminate\Support\Facades\Auth;
use App\User;
class BladeExtrasServiceProvider extends ServiceProvider
{
/**
* Register services.
*
* @return void
*/
public function register(... | 7,665 |
https://github.com/Simran-B/arangodb_test/blob/master/lib/Rest/VstMessage.h | Github Open Source | Open Source | Apache-2.0, LGPL-2.1-or-later, BSD-3-Clause, Bison-exception-2.2, JSON, LicenseRef-scancode-autoconf-simple-exception, LicenseRef-scancode-pcre, GPL-1.0-or-later, ISC, ICU, GPL-2.0-only, BSL-1.0, LicenseRef-scancode-unknown-license-reference, Unlicense, LicenseRef-scancode-public-domain, BSD-2-Clause, BSD-4-Clause, WTF... | 2,019 | arangodb_test | Simran-B | C++ | Code | 346 | 1,087 | ////////////////////////////////////////////////////////////////////////////////
/// DISCLAIMER
///
/// Copyright 2014-2016 ArangoDB GmbH, Cologne, Germany
/// Copyright 2004-2014 triAGENS GmbH, Cologne, Germany
///
/// Licensed under the Apache License, Version 2.0 (the "License");
/// you may not use this file except... | 34,170 |
https://github.com/forturnme/PiHuaTingMovie-SE2018/blob/master/spiders/spider/spiders/myspider.py | Github Open Source | Open Source | MIT | null | PiHuaTingMovie-SE2018 | forturnme | Python | Code | 528 | 3,787 | # -*- coding: utf-8 -*-
import scrapy
from spider.items import SpiderItem
from scrapy.conf import settings
import pymysql
from server_config import *
sql_find = 'SELECT boxing FROM cleaned_movie_data WHERE name="%s";'
sql_insert = 'INSERT INTO cleaned_movie_data(name,boxing,year,month,day,director,actor,genre)\
VA... | 48,194 |
https://github.com/annapol04/SP_2017/blob/master/app/src/offline/java/com/annapol04/munchkin/di/AppModuleFlavor.java | Github Open Source | Open Source | MIT | null | SP_2017 | annapol04 | Java | Code | 85 | 382 | package com.annapol04.munchkin.di;
import android.app.Application;
import com.annapol04.munchkin.data.EventRepository;
import com.annapol04.munchkin.engine.Desk;
import com.annapol04.munchkin.engine.FakeMatch;
import com.annapol04.munchkin.engine.Match;
import com.annapol04.munchkin.engine.PlayClient;
import com.anna... | 49,917 |
https://github.com/jaw6/juggernaut/blob/master/lib/juggernaut/channel.js | Github Open Source | Open Source | MIT | 2,010 | juggernaut | jaw6 | JavaScript | Code | 113 | 370 | var sys = require("sys"),
utils = require("utils");
var SuperClass = require("superclass");
Channel = module.exports = new SuperClass;
Channel.extend({
channels: {},
find: function(name){
if ( !this.channels[name] )
this.channels[name] = new Channel(name)
return this.channels[name];
},
... | 15,049 |
https://github.com/fabiomcosta/mvjs/blob/master/src/requireResolve.ts | Github Open Source | Open Source | MIT | 2,020 | mvjs | fabiomcosta | TypeScript | Code | 100 | 250 | import resolve from 'enhanced-resolve';
import type {Context} from './transform';
import {warn} from './log';
import {JS_EXTENSIONS_DOTTED} from './options';
const enhancedResolve = resolve.create.sync({
symlinks: false,
extensions: Array.from(JS_EXTENSIONS_DOTTED),
});
/**
* Tries to resolve a module path and i... | 34,752 |
https://github.com/Ouss4/pytest-embedded/blob/master/conftest.py | Github Open Source | Open Source | MIT | 2,022 | pytest-embedded | Ouss4 | Python | Code | 16 | 87 | import os
import pytest
pytest_plugins = [
'pytester',
]
@pytest.fixture(autouse=True)
def copy_fixtures(testdir):
testdir.copy_example(os.path.join(os.path.dirname(__file__), 'tests', 'fixtures'))
yield
| 43,218 |
https://github.com/joohoi/matterbridge/blob/master/vendor/github.com/d5/tengo/stdlib/json.go | Github Open Source | Open Source | MIT, Apache-2.0 | 2,019 | matterbridge | joohoi | Go | Code | 327 | 1,227 | package stdlib
import (
"bytes"
gojson "encoding/json"
"github.com/d5/tengo/objects"
"github.com/d5/tengo/stdlib/json"
)
var jsonModule = map[string]objects.Object{
"decode": &objects.UserFunction{Name: "decode", Value: jsonDecode},
"encode": &objects.UserFunction{Name: "encode", Value: jsonEncode},
... | 54,427 |
https://github.com/cosmin33/exo/blob/master/core/src/main/scala/io/cosmo/exo/categories/Symmetric.scala | Github Open Source | Open Source | MIT | null | exo | cosmin33 | Scala | Code | 127 | 429 | package io.cosmo.exo.categories
import io.cosmo.exo.Iso
trait Symmetric[->[_, _], ⊙[_, _]] extends Braided[->, ⊙] {
def swap[A: TC, B: TC]: ⊙[A, B] -> ⊙[B, A] = braid
private type <->[a, b] = Iso[->, a, b]
def isoSymmetric[A: TC, B: TC]: ⊙[A, B] <-> ⊙[B, A] = Iso.unsafe(swap[A, B], swap[B, A])(C)
}
object Symm... | 7,972 |
https://github.com/vesputi/mapbox-gl-js/blob/master/src/style/style_layer/background_style_layer.js | Github Open Source | Open Source | BSD-2-Clause | 2,018 | mapbox-gl-js | vesputi | JavaScript | Code | 27 | 79 | // @flow
const StyleLayer = require('../style_layer');
class BackgroundStyleLayer extends StyleLayer {
isOpacityZero(zoom: number) {
return this.getPaintValue('background-opacity', { zoom: zoom }) === 0;
}
}
module.exports = BackgroundStyleLayer;
| 6,311 |
https://github.com/MallorcaSoftware/SkyscannerApiClient/blob/master/src/main/java/com/mallorcasoftware/skyscannerapiclient/model/RouteDto.java | Github Open Source | Open Source | Apache-2.0 | null | SkyscannerApiClient | MallorcaSoftware | Java | Code | 536 | 1,555 | /**
* SkyscannerApiClient
* Java api client for skyscanner API
*
* OpenAPI spec version: 0.0.1
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*
* Licensed under the Apache License, Version... | 38,086 |
https://github.com/boskoop/comet-pinball/blob/master/src/game/presentation/src/main/java/ch/m02/comet/pinball/presentation/screens/GameScreenImpl.java | Github Open Source | Open Source | Apache-2.0 | 2,013 | comet-pinball | boskoop | Java | Code | 513 | 1,884 | package ch.m02.comet.pinball.presentation.screens;
import javax.inject.Inject;
import ch.m02.comet.pinball.core.presentation.screen.GameScreen;
import ch.m02.comet.pinball.physics.PhysicsDefinition;
import ch.m02.comet.pinball.physics.PhysicsPlayField;
import ch.m02.comet.pinball.physics.ball.Ball;
import ch.m02.come... | 13,177 |
https://github.com/dgem/stripe-go/blob/master/sourcetransaction/client_test.go | Github Open Source | Open Source | MIT | 2,022 | stripe-go | dgem | Go | Code | 39 | 171 | package sourcetransaction
import (
"testing"
assert "github.com/stretchr/testify/require"
stripe "github.com/stripe/stripe-go"
_ "github.com/stripe/stripe-go/testing"
)
func TestSourceTransactionList(t *testing.T) {
i := List(&stripe.SourceTransactionListParams{
Source: stripe.String("src_123"),
})
// Veri... | 55,742 |
https://github.com/mapeveri/router/blob/master/src/Middleware/Callback.php | Github Open Source | Open Source | 2,020 | router | mapeveri | PHP | Code | 68 | 243 | <?php
namespace Yiisoft\Router\Middleware;
use Psr\Container\ContainerInterface;
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Message\ServerRequestInterface;
use Psr\Http\Server\MiddlewareInterface;
use Psr\Http\Server\RequestHandlerInterface;
use Yiisoft\Injector\Injector;
/**
* Callback wraps arbitrary PH... | 55,403 | |
https://github.com/pityusz200/dokumentumKezelo-Nexum/blob/master/resources/views/alkategoriaOldal/index.blade.php | Github Open Source | Open Source | MIT | null | dokumentumKezelo-Nexum | pityusz200 | PHP | Code | 100 | 612 | @extends('layouts.main_alk')
@section('tartalom')
<div class="callout large primary">
<div class="melyikfokategoria"><h5><?php echo $fokategoriaNeve; ?></h5></div>
<div class="row column text-center">
<h1>Dokumentum Kezelő, Nexum</h1>
</div>
@for($i = 0; $i < count($hozzaTa... | 10,162 |
https://github.com/zepherx/philz_touch_cwm6/blob/master/kernel-restore.sh | Github Open Source | Open Source | Apache-2.0 | 2,012 | philz_touch_cwm6 | zepherx | Shell | Code | 23 | 90 | #!/sbin/sh
BOOT_PATH=`cat /etc/recovery.fstab | grep -v "#" | grep /boot | awk '{print $3}'`;
dd if=$1 of=$BOOT_PATH;
echo "Kernel $1 flashed to $BOOT_PATH">>$2/clockworkmod/.kernel_bak/log.txt;
| 49,397 |
https://github.com/liulei2776/ConvexTensor/blob/master/SchoolExperiments/getTasksMarkers.m | Github Open Source | Open Source | BSD-3-Clause | 2,014 | ConvexTensor | liulei2776 | MATLAB | Code | 26 | 168 | function tasksMarkers=getTasksMarkers(indicators)
tasksMarkers=zeros(length(indicators), prod(indicators));
step=1;
total=1;
for i=1:length(indicators)
total=total*indicators(i);
count=step;
value=1;
for j=1:prod(indicators)
tasksMarkers(i,j)=value;
count=count-1;
if count==0
... | 21,736 |
https://github.com/tensorflow/tensorflow/blob/master/tensorflow/python/ops/transpose_benchmark.py | Github Open Source | Open Source | Apache-2.0, LicenseRef-scancode-generic-cla, BSD-2-Clause | 2,023 | tensorflow | tensorflow | Python | Code | 706 | 1,969 | # Copyright 2017 The TensorFlow Authors. 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 required by applica... | 47,819 |
https://github.com/sjasthi/quotes/blob/master/slider16/PHPPresentation-develop/src/PhpPresentation/Style/Borders.php | Github Open Source | Open Source | MIT, LGPL-2.1-or-later, LGPL-3.0-only, GPL-3.0-only | 2,021 | quotes | sjasthi | PHP | Code | 462 | 1,350 | <?php
/**
* This file is part of PHPPresentation - A pure PHP library for reading and writing
* presentations documents.
*
* PHPPresentation is free software distributed under the terms of the GNU Lesser
* General Public License version 3 as published by the Free Software Foundation.
*
* For the full copyright a... | 18,261 |
https://github.com/kashif792/shamacore/blob/master/shama-central/controllers/ActivityController.php | Github Open Source | Open Source | MIT | null | shamacore | kashif792 | PHP | Code | 1,300 | 8,028 | <?php
/**
* Cartoon controller
*
*/
class ActivityController extends MY_Controller
{
/**
* @var array
*/
var $data = array();
function __construct(){
parent::__construct();
$this->load->model('User');
$this->load->model('Operation');
... | 28,302 |
https://github.com/imliam/laravel-blade-x/blob/master/src/ComponentCollection.php | Github Open Source | Open Source | MIT | 2,021 | laravel-blade-x | imliam | PHP | Code | 34 | 112 | <?php
namespace Spatie\BladeX;
use Illuminate\Support\Collection;
/**
* @property-read Component $each
*/
class ComponentCollection extends Collection
{
public function prefix(string $prefix)
{
$this->each->prefix($prefix);
return $this;
}
public function withoutNamespace()
{
... | 29,394 |
https://github.com/anirudh-k/hail/blob/master/src/test/scala/is/hail/vds/BiallelicMethodsSuite.scala | Github Open Source | Open Source | MIT | 2,017 | hail | anirudh-k | Scala | Code | 82 | 363 | package is.hail.vds
import is.hail.methods.{GRM, VariantQC}
import is.hail.stats.ComputeRRM
import is.hail.{SparkSuite, TestUtils}
import org.testng.annotations.Test
class BiallelicMethodsSuite extends SparkSuite {
def interceptRequire[T](f: => T) {
intercept[IllegalArgumentException](f)
}
@Test def test(... | 7,935 |
https://github.com/Yama-Tomo/conflux/blob/master/src/index.js | Github Open Source | Open Source | MIT | 2,022 | conflux | Yama-Tomo | JavaScript | Code | 16 | 28 | export { default as Reader } from './read.js';
export { default as Writer } from './write.js';
| 45,009 |
https://github.com/bansalhimanshu0296/Projects/blob/master/jyc.club/jyc.club/social/module/user/template/default/block/browse.html.php | Github Open Source | Open Source | Apache-2.0 | 2,019 | Projects | bansalhimanshu0296 | PHP | Code | 376 | 1,945 | <?php
/**
* [NULLED BY DARKGOTH 2014]
*
* @copyright [PHPFOX_COPYRIGHT]
* @author Raymond Benc
* @package Phpfox
* @version $Id: browse.html.php 5538 2013-03-25 13:20:22Z Miguel_Espinoza $
*/
defined('PHPFOX') or exit('NO DICE!');
?>
{if !$bIsAjaxSearch}
<script type="text/javascript">
var sPrivac... | 11,762 |
https://github.com/davidsunglee/legend-studio/blob/master/packages/legend-studio/src/components/editor/edit-panel/GrammarTextEditor.tsx | Github Open Source | Open Source | Apache-2.0 | null | legend-studio | davidsunglee | TypeScript | Code | 2,908 | 12,312 | /**
* Copyright (c) 2020-present, Goldman Sachs
*
* 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 l... | 14,162 |
https://github.com/yearhe9900/manager_vue/blob/master/src/store/modules/ikword.js | Github Open Source | Open Source | MIT | null | manager_vue | yearhe9900 | JavaScript | Code | 86 | 236 | import {
fetchList
} from '@/api/ikword'
const state = {
list: null
}
const mutations = {
ADD_ERROR_LOG: (state, log) => {
state.logs.push(log)
}
}
const actions = {
// get user info
getList({
commit,
state
}) {
return new Promise((resolve, reject) => {
fetchList({
pageno:... | 6,567 |
https://github.com/Melisa-Surja/Novel-Platform-PNovel/blob/master/app/Http/Controllers/CommentAdminController.php | Github Open Source | Open Source | MIT | null | Novel-Platform-PNovel | Melisa-Surja | PHP | Code | 281 | 1,005 | <?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Laravelista\Comments\Comment;
class CommentAdminController extends Controller
{
public function __construct()
{
$this->middleware('can:edit all comment');
}
/**
* Display a listing of the resource.
*
* @ret... | 2,224 |
https://github.com/richardadalton/WizardFX/blob/master/src/EmbeddedWizardDemo/Step2.cs | Github Open Source | Open Source | MIT | 2,012 | WizardFX | richardadalton | C# | Code | 67 | 241 | using System.Collections.Generic;
using WizardFX;
namespace EmbeddedWizardDemo
{
public partial class Step2 : WizardStep
{
public Step2()
{
InitializeComponent();
}
private void btnAdd_Click(object sender, System.EventArgs e)
{
var createCourse ... | 36,860 |
https://github.com/driverCzn/Glibc-source-browser/blob/master/docs/glibc_src_2.29/refs/rta_session..proto | Github Open Source | Open Source | BSD-3-Clause | 2,020 | Glibc-source-browser | driverCzn | null | Spoken | 5 | 35 | <dec f='include/linux/rtnetlink.h' l='450' type='__u8'/>
<offset>0</offset>
| 4,580 |
https://github.com/roushanrex/spyl3/blob/master/server/app/factory/decompiled/smali/okhttp3/internal/cache/InternalCache.smali | Github Open Source | Open Source | MIT | 2,022 | spyl3 | roushanrex | Smali | Code | 78 | 293 | .class public interface abstract Lokhttp3/internal/cache/InternalCache;
.super Ljava/lang/Object;
.source "InternalCache.java"
# virtual methods
.method public abstract get(Lokhttp3/Request;)Lokhttp3/Response;
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
... | 15,216 |
https://github.com/mwestera/categories_ibex/blob/master/docs/Makefile | Github Open Source | Open Source | BSD-3-Clause | 2,021 | categories_ibex | mwestera | Makefile | Code | 48 | 243 |
manual.pdf: manual.tex
pdflatex $<
pdflatex $<
manual.tex: manual.md manual_header.tex manual_titlepage.tex manual_footer.tex
pandoc -f markdown_github -t latex -H manual_header.tex -B manual_titlepage.tex -o $@ manual.md
sed -i -e s/@{}//g $@
sed -i -e s/{lll}/{p{1.7in}p{1in}p{3.15in}}/g $@
sed -i -e s/{ll}/{p... | 20,209 |
https://github.com/mankeyl/elasticsearch/blob/master/x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/actions/email/EmailAction.java | Github Open Source | Open Source | Apache-2.0 | null | elasticsearch | mankeyl | Java | Code | 883 | 2,898 | /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
* 2.0; you may not use this file except in compliance with the Elastic License
* 2.0.
*/
package org.elasticsearch.xpack.watcher.actions.email;
import org.... | 23,703 |
https://github.com/cmzyg/GAP/blob/master/component/accounting/v1/entities/AccountingRound.php | Github Open Source | Open Source | BSD-2-Clause | null | GAP | cmzyg | PHP | Code | 148 | 554 | <?php
/**
* Description of AccountingRound
* This class will have some methods to get array of component\accounting\v1\entities\AccountingWagers for a given roundid
*
* @author rafal
*/
namespace component\accounting\v1\entities;
use model\GMAPIDataRepository;
class AccountingRound {
private $repo;
... | 42,141 |
https://github.com/bekiroj/melancia-resources/blob/master/mrp_social/c_look.lua | Github Open Source | Open Source | MIT | null | melancia-resources | bekiroj | Lua | Code | 1,253 | 3,760 | --[[
@title
Advanced Look System
@author
Cyanide (some way, i suppose)
mabako
@copyright
2012 - Valhalla Gaming
@description
http://bugs.mta.vg/view.php?id=559
--]]
local advlook_window = nil
local advlook_edit_window = nil
local advlook_editvalue_window = nil
local screen_x, screen_y = guiGetScreenSize(... | 49,203 |
https://github.com/Tolsee/react-app/blob/master/src/saga/index.js | Github Open Source | Open Source | MIT | null | react-app | Tolsee | JavaScript | Code | 181 | 503 | import { call, fork, put } from 'redux-saga/effects';
import { showLoading, hideLoading } from 'react-redux-loading-bar';
import loginSaga from './Login';
import signupSaga from './Signup';
export class Request {
static request(path, options, onSuccess, onError, data) {
const request = () => {
let allOptio... | 21,264 |
https://github.com/RostakaGmfun/PixelGearEngine/blob/master/include/pxgLight.h | Github Open Source | Open Source | MIT, LicenseRef-scancode-unknown-license-reference | 2,014 | PixelGearEngine | RostakaGmfun | C++ | Code | 124 | 423 | /*
* Pixel Gear Engine
* Copyright (c) 2014 Rostyslav Kurylo aka RostakaGmfun, rostawesomegd@gmail.com
* This source code is part of Pixel Gear Engine licenced under MIT licence. See LICENCE for details.
*/
#ifndef PXG_LIGHT_H
#define PXG_LIGHT_H
#include <pxgNode.h>
#include <glm/glm.hpp>
enum PXG_LIGHT_TYP... | 45,219 |
https://github.com/etiennedenoel/Portfolio/blob/master/wp-content/themes/portfolio/page-a-propos.php | Github Open Source | Open Source | MIT | 2,013 | Portfolio | etiennedenoel | PHP | Code | 151 | 722 | <?php
get_header();
?>
<div id="profo">
<h2 id="tSlide">Derniers Travaux</h2>
<div id="larg" class="slider-wrapper">
<div id="featured">
<?php
$loop = new WP_query(array('post_type'=>'slides'));
if($loop->have_posts()):
while($loop->ha... | 23,641 |
https://github.com/rayyang29/pygaggle/blob/master/.gitignore | Github Open Source | Open Source | Apache-2.0 | 2,020 | pygaggle | rayyang29 | Ignore List | Code | 13 | 51 | # ide
.idea/
.vscode
.DS_Store
# python
*.pyc
__pycache__
# data
data/lucene-index-covid-paragraph
scratch
| 32,901 |
https://github.com/Ciastek90/React/blob/master/src/js/webgl/camera/PerspectiveCameraCreator.jsx | Github Open Source | Open Source | MIT | null | React | Ciastek90 | null | Spoken | 62 | 177 | import * as THREE from 'three';
class PerspectiveCameraCreator {
constructor(worldObjectManager, cameraReciever) {
this.worldObjectManager = worldObjectManager;
this.cameraReciever = cameraReciever;
}
create(name, fov = 75, aspect = 1, near = 0.1, far = 100) {
var cameras = this.ca... | 33,328 |
https://github.com/fenildf/axure-case/blob/master/icu/ICU-patient-pad/resources/scenarios/function-jim-links1471851904577.js | Github Open Source | Open Source | Apache-2.0 | 2,017 | axure-case | fenildf | JavaScript | Code | 97 | 736 | (function(window, undefined) {
var jimLinks = {
"d12245cc-1680-458d-89dd-4f0d7fb22724" : {
"Label-blue_1" : [
"f800d7cc-fa06-4a0c-8f25-3da26c7cd593"
]
},
"ef894c3a-8953-4621-9be7-d389fbc5bd24" : {
},
"c9b7ed2c-667c-456f-a3d1-26f6c7528670" : {
},
"8ccdad62-246d-47f0-870... | 3,210 |
https://github.com/abhishekgoenka/Order-Processing-System-using-Angular2x/blob/master/app/inventory/inventory.module.ts | Github Open Source | Open Source | MIT | null | Order-Processing-System-using-Angular2x | abhishekgoenka | TypeScript | Code | 63 | 180 | // Inventory Module
import { NgModule } from '@angular/core'
import { RouterModule } from '@angular/router'
import { SharedModule } from '../shared/shared.module'
import { NewItemComponent } from './newItem/newItem.component'
import { CurrentInventoryComponent } from './currentInventory/currentInventory.component'
... | 39,260 |
https://github.com/Rain-ziyu/JavaQuarkBBS/blob/master/quark-rest/src/main/java/com/quark/rest/param/CollectParam.java | Github Open Source | Open Source | Apache-2.0 | 2,021 | JavaQuarkBBS | Rain-ziyu | Java | Code | 24 | 83 | package com.quark.rest.param;
import com.quark.common.entity.Posts;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
@Getter
@Setter
@ToString
public class CollectParam {
private String token;
private Posts posts;
}
| 34,076 |
https://github.com/ScalablyTyped/SlinkyTyped/blob/master/d/dojo/src/main/scala/typingsSlinky/dojo/dojox/mobile/ListTouchMixin.scala | Github Open Source | Open Source | MIT | 2,021 | SlinkyTyped | ScalablyTyped | Scala | Code | 75 | 234 | package typingsSlinky.dojo.dojox.mobile
import typingsSlinky.dojo.dijit.form.ListBase
import scala.scalajs.js
import scala.scalajs.js.`|`
import scala.scalajs.js.annotation._
/**
* Permalink: http://dojotoolkit.org/api/1.9/dojox/mobile/_ListTouchMixin.html
*
* Focus-less menu to handle touch events consistently... | 39,021 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.