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/eugeneilyin/mdi-norm/blob/master/es/SharpFormatAlignCenter.d.ts | Github Open Source | Open Source | MIT | 2,019 | mdi-norm | eugeneilyin | TypeScript | Code | 8 | 15 | export { default as SharpFormatAlignCenter } from './Icon';
| 11,876 |
https://github.com/apple/swift/blob/master/test/SILGen/unicode_scalar_concat.swift | Github Open Source | Open Source | Apache-2.0, Swift-exception | 2,023 | swift | apple | Swift | Code | 43 | 95 | // RUN: %target-swift-emit-silgen %s | %FileCheck %s
// Check that string literals that are unicode scalar literals
// are emitted as string_literal instead of integers.
func zzz() -> String {
return "1"+"2"
}
// CHECK: string_literal utf8 "1"
// CHECK: string_literal utf8 "2"
| 54,211 |
https://github.com/thuartlynn/webablls/blob/master/web/resources/views/support/contact_list_personal_contacts_content.blade.php | Github Open Source | Open Source | MIT | 2,021 | webablls | thuartlynn | Blade | Code | 563 | 1,378 | <div class="container-fluid bg-gray">
<div class="row">
<div class="col-sm-1"></div>
<div class="col-sm-10">
<p class="text-secondary m-0">WebABLLS Support Center</p>
</div>
<div class="col-sm-1"></div>
</div>
</div>
<div class="row">
<div class="col-sm-1"></div>... | 55,910 |
https://github.com/varijkapil13/atlaskit/blob/master/packages/media/smart-card/src/__tests__/unit/genericExtractPropsFromJSONLD.test.ts | Github Open Source | Open Source | Apache-2.0 | 2,021 | atlaskit | varijkapil13 | TypeScript | Code | 306 | 731 | import { genericExtractPropsFromJSONLD } from '../../genericExtractPropsFromJSONLD';
const defaultExtractorFunction = () => ({
title: { text: 'default extractor function' },
});
const extractorPrioritiesByType = {
Object: 0,
Document: 5,
};
const extractorFunctionsByType = {
Object: () => ({ title: { text: '... | 28,902 |
https://github.com/OpenMPDK/SMDK/blob/master/lib/linux-5.18-rc3-smdk/drivers/misc/cardreader/rts5228.c | Github Open Source | Open Source | BSD-3-Clause | 2,022 | SMDK | OpenMPDK | C | Code | 1,898 | 10,974 | // SPDX-License-Identifier: GPL-2.0-or-later
/* Driver for Realtek PCI-Express card reader
*
* Copyright(c) 2018-2019 Realtek Semiconductor Corp. All rights reserved.
*
* Author:
* Ricky WU <ricky_wu@realtek.com>
* Rui FENG <rui_feng@realsil.com.cn>
* Wei WANG <wei_wang@realsil.com.cn>
*/
#include <linux... | 34,802 |
https://github.com/corpix/clx/blob/master/vendor/quicklisp/dists/quicklisp/software/trivial-gray-streams-20210124-git/streams.lisp | Github Open Source | Open Source | Unlicense | 2,022 | clx | corpix | Common Lisp | Code | 1,063 | 3,718 | ;;;; -*- Mode: LISP; Base: 10; Syntax: ANSI-Common-lisp; Package: TRIVIAL-GRAY-STREAMS -*-
#+xcvb (module (:depends-on ("package")))
(in-package :trivial-gray-streams)
(defclass fundamental-stream (impl-specific-gray:fundamental-stream) ())
(defclass fundamental-input-stream
(fundamental-stream impl-specific-gra... | 3,552 |
https://github.com/lhelmi/va-en/blob/master/core/resources/views/front/maps/index.blade.php | Github Open Source | Open Source | MIT | 2,021 | va-en | lhelmi | Blade | Code | 359 | 1,103 | <!DOCTYPE html>
<html>
<head>
<title>Add Map</title>
<script
src="https://maps.googleapis.com/maps/api/js?key={{ getenv('GmapsAPI') }}&callback=initMap&libraries=&v=weekly"
defer
></script>
<style>
/* Set the size of the div element that contains the map */
#map {
... | 12,078 |
https://github.com/Iamdyh/JavaBasicKnowledge/blob/master/src/com/dyh/reflection/ProperitiesTest.java | Github Open Source | Open Source | Apache-2.0 | null | JavaBasicKnowledge | Iamdyh | Java | Code | 74 | 402 | package com.dyh.reflection;
import java.io.FileReader;
import java.lang.reflect.Method;
import java.util.Properties;
/**
* 测试类7
* @author dyh
*
* 通过反射运行配置文件内容:
* 我们利用反射和配置文件,可以使:应用程序更新时,对源码无需进行任何修改,
* 我们只需要将新类发送给客户端,并修改配置文件即可。
*/
public class ProperitiesTest {
public static void main(String[] args) t... | 37,843 |
https://github.com/fe6/icon/blob/master/packages/img/src/icons/byted-desk-lamp.ts | Github Open Source | Open Source | MIT | 2,022 | icon | fe6 | TypeScript | Code | 104 | 511 | /**
* @format
* @file BytedDeskLamp byted-desk-lamp
* @author 由 fe6 自动生成
*/
import { IIconProps, IconWrapper } from '../runtime';
// 获取 SVG 的 HTML 字符串
export const getIconBytedDeskLampSvgHtml = (props: IIconProps) =>
`<?xml version="1.0" encoding="UTF-8"?>
<svg width="${props.size}" height="${props.size}" viewB... | 8,178 |
https://github.com/aremmell/libsir/blob/master/.gitlab-ci/base/Dockerfile | Github Open Source | Open Source | MIT | 2,023 | libsir | aremmell | Dockerfile | Code | 858 | 3,065 | # SPDX-License-Identifier: MIT
# Copyright (c) 2018-current Ryan M. Lederman
# Use --build-arg URL1="..." to override default PVS-Studio fallback link
# Use --build-arg URL2="..." to override default AOCC 4.1.0 link
FROM quay.io/fedora/fedora:rawhide
USER 0
WORKDIR /
ARG URL1
ARG URL2
RUN \
(sed -i 's/tsflags=n... | 39,121 |
https://github.com/julian-kunzig/Codesubmit-React-Movie/blob/master/src/index.js | Github Open Source | Open Source | MIT | null | Codesubmit-React-Movie | julian-kunzig | JavaScript | Code | 100 | 342 | import React from 'react'
import ReactDOM from 'react-dom'
import { Provider } from 'react-redux'
import { ConnectedRouter } from 'connected-react-router'
import { PersistGate } from 'redux-persist/integration/react'
import CssBaseline from '@material-ui/core/CssBaseline'
import { StylesProvider } from '@material-ui/st... | 33,538 |
https://github.com/apache/druid/blob/master/processing/src/test/java/org/apache/druid/segment/ListCursor.java | Github Open Source | Open Source | EPL-1.0, Classpath-exception-2.0, ISC, GPL-2.0-only, BSD-3-Clause, Apache-2.0, LicenseRef-scancode-public-domain, LicenseRef-scancode-generic-cla, 0BSD, LicenseRef-scancode-sun-no-high-risk-activities, LicenseRef-scancode-free-unknown, JSON, LicenseRef-scancode-unicode, CC-BY-SA-3.0, LGPL-2.1-only, LicenseRef-scancode-... | 2,023 | druid | apache | Java | Code | 491 | 1,359 | /*
* 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 ... | 46,689 |
https://github.com/thoughtbot/CombineViewModel/blob/master/Sources/CombineViewModel/DispatchQueue+EventSourceScheduler.swift | Github Open Source | Open Source | LicenseRef-scancode-unknown-license-reference, MIT | 2,020 | CombineViewModel | thoughtbot | Swift | Code | 135 | 386 | import Combine
import Dispatch
extension DispatchQueue: EventSourceScheduler {
public typealias EventSourceOptions = Never
public typealias EventSourceType = EventSource
public final class EventSource {
@UnfairAtomic private var isCancelled = false
private let source: DispatchSourceUserDataAdd
init... | 7,625 |
https://github.com/Leginiel/Factorio_Distributed_Chests/blob/master/distributedChestGroups.lua | Github Open Source | Open Source | MIT | null | Factorio_Distributed_Chests | Leginiel | Lua | Code | 372 | 1,384 | DistributedChestGroup = {chests = {}}
DistributedChestGroup.__index = DistributedChestGroup
function DistributedChestGroup:new()
local obj = {}
setmetatable(obj, DistributedChestGroup)
obj.chests = {}
return obj
end
function DistributedChestGroup:get_chests()
return self.chests
end
function DistributedCh... | 43,940 |
https://github.com/egoetz/DNC-tensorflow/blob/master/unit-tests/utility_test.py | Github Open Source | Open Source | MIT | null | DNC-tensorflow | egoetz | Python | Code | 213 | 893 | import tensorflow as tf
import numpy as np
import unittest
import dnc.utility as util
class DNCUtilityTests(unittest.TestCase):
def test_pairwise_add(self):
graph = tf.Graph()
with graph.as_default():
with tf.compat.v1.Session(graph=graph) as session:
_u = np.array([5... | 34,142 |
https://github.com/hosoji/Grafight/blob/master/Grafight/Assets/Scripts/Centroids.cs | Github Open Source | Open Source | Unlicense | null | Grafight | hosoji | C# | Code | 253 | 743 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Centroids : MonoBehaviour {
[SerializeField] GameObject [] nodes = new GameObject[3];
NanoCollection nanoCollection;
float t;
float delay = 50;
void Start(){
for (int i = 0; i < nodes.Length; i++) {
nodes [i] = n... | 34,334 |
https://github.com/4tushar7/onlinestudentmanagement/blob/master/web/CoursesEnrolled.jsp | Github Open Source | Open Source | MIT | 2,018 | onlinestudentmanagement | 4tushar7 | null | Spoken | 124 | 649 | <%--
Document : CoursesEnrolled
Created on : Nov 21, 2018, 10:41:51 PM
Author : DELL
--%>
<%@page import="java.util.Iterator"%>
<%@page import="java.util.ArrayList"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@page import="Courses.Courses1"%>
<!DOCTYPE html>
<html>
<head>
<... | 50,060 |
https://github.com/galtamas425/concrete5/blob/master/concrete/src/Http/PSR7/GuzzleFactory.php | Github Open Source | Open Source | MIT | 2,022 | concrete5 | galtamas425 | PHP | Code | 319 | 1,582 | <?php
namespace Concrete\Core\Http\PSR7;
use GuzzleHttp\Psr7\Response as PsrResponse;
use GuzzleHttp\Psr7\ServerRequest;
use GuzzleHttp\Psr7\Stream;
use GuzzleHttp\Psr7\UploadedFile as PsrUploadedFile;
use GuzzleHttp\Psr7\Uri;
use Psr\Http\Message\UploadedFileInterface;
use Symfony\Bridge\PsrHttpMessage\HttpMessageFa... | 41,460 |
https://github.com/roynalnaruto/core/blob/master/crates/dyn-abi/src/type.rs | Github Open Source | Open Source | MIT, Apache-2.0 | 2,023 | core | roynalnaruto | Rust | Code | 1,151 | 4,879 | use crate::{
eip712::coerce::{self, coerce_custom_struct, coerce_custom_value},
no_std_prelude::*,
DynAbiError, DynSolValue, DynToken, Result, SolType, Word,
};
use alloy_sol_types::sol_data;
#[derive(Debug, Clone, PartialEq, Eq)]
struct StructProp {
name: String,
ty: DynSolType,
}
/// A Dynamic S... | 10,224 |
https://github.com/boolean93/RMS/blob/master/Application/Runtime/Cache/Home/5b49c463505072e022b75882fc2d4668.php | Github Open Source | Open Source | Apache-2.0 | 2,015 | RMS | boolean93 | PHP | Code | 302 | 1,266 | <?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>
<head lang="en">
<meta charset="UTF-8">
<title>后台管理系统</title>
<link rel="stylesheet" href="/backend/Public/css/common.css"/>
<link rel="stylesheet" href="/backend/Public/css/index.css"/>
</head>
<body>
<div id="wrapper">
<div id="hea... | 9,164 |
https://github.com/scrollback/io.scrollback.neighborhoods/blob/master/app/containers/NotificationCenterContainer.js | Github Open Source | Open Source | MIT | 2,016 | io.scrollback.neighborhoods | scrollback | JavaScript | Code | 88 | 305 | /* @flow */
import React from 'react-native';
import NotificationCenter from '../views/NotificationCenter';
import Container from './Container';
import store from '../store/store';
class NotificationCenterContainer extends React.Component {
state = {
data: [ 'missing' ]
};
componentDidMount() {
this.runAfterI... | 50,446 |
https://github.com/hyperledger/fabric/blob/master/orderer/consensus/consensus.go | Github Open Source | Open Source | CC-BY-4.0, Apache-2.0 | 2,023 | fabric | hyperledger | Go | Code | 1,017 | 1,818 | /*
Copyright IBM Corp. 2017 All Rights Reserved.
SPDX-License-Identifier: Apache-2.0
*/
package consensus
import (
cb "github.com/hyperledger/fabric-protos-go/common"
"github.com/hyperledger/fabric/common/channelconfig"
"github.com/hyperledger/fabric/internal/pkg/identity"
"github.com/hyperledger/fabric/orderer/... | 18,938 |
https://github.com/shepsauce/goctopus/blob/master/projecteuler/015_lattice/main.go | Github Open Source | Open Source | BSD-3-Clause | null | goctopus | shepsauce | Go | Code | 88 | 110 | package main
import "fmt"
func main() {
i := 40 * 39 * 38 * 37 * 36 * 35 * 34 * 33 * 32 * 31 * 30 * 29 * 28 * 27 * 26 * 25 * 24 * 23 * 22 * 21 / (20 * 19 * 18 * 17 * 16 * 15 * 14 * 13 * 12 * 11 * 10 * 9 * 8 * 7 * 6 * 5 * 4 * 3 * 2)
fmt.Println(i)
}
| 12,882 |
https://github.com/itucsdb1708/itucsdb1708/blob/master/classes/food_orders.py | Github Open Source | Open Source | BSD-3-Clause | 2,017 | itucsdb1708 | itucsdb1708 | Python | Code | 349 | 1,373 | import psycopg2 as dbapi2
from flask import current_app
from flask_login import UserMixin
from passlib.apps import custom_app_context as pwd_context
import datetime
from classes.achievement_user import add_row
class FoodOrders():
def __init__(self):
self.primaryId = ""
self.userId = ""
self... | 44,980 |
https://github.com/cosmus123/laravel_ticket_new/blob/master/laravel_ticket/resources/views/user.blade.php | Github Open Source | Open Source | MIT | 2,020 | laravel_ticket_new | cosmus123 | Blade | Code | 328 | 1,525 | @extends('layouts.app')
@section('content')
<div class="container">
<div class="row ">
<div class="col-lg-12 text-center">
<h1 class="mt-5">Ticket System Project - User Page</h1>
<hr>
<br>
<div class="container">
<div class="row">
<div class="card bg-light offset-md-4" s... | 22,045 |
https://github.com/anymaniax/azahi/blob/master/projects/azahi/src/lib/mutation.ts | Github Open Source | Open Source | MIT | 2,021 | azahi | anymaniax | TypeScript | Code | 264 | 939 | import { QueryClient } from './query-client';
import {
MutationKey,
MutationObserver,
notifyManager,
} from './query-core/core';
import { noop } from './query-core/core/utils';
import {
MutationFunctionObservable,
UseMutateFunction,
UseMutationObservable,
UseMutationOptions,
UseMutationResult,
} from '.... | 38,468 |
https://github.com/suwenhao/ttaway/blob/master/admin-client/src/index.tsx | Github Open Source | Open Source | MIT | 2,022 | ttaway | suwenhao | TypeScript | Code | 47 | 158 | // @ts-ignore
import babelPolyfill from 'babel-polyfill';
import React from "react";
import ReactDOM from "react-dom";
import App from './App';
import {Provider} from 'react-redux'
import store from './store'
import { LocaleProvider } from 'antd';
import zhCN from 'antd/es/locale-provider/zh_CN';
console.log(process.... | 22,555 |
https://github.com/Sergiobasstidas/js-examples/blob/master/G8/proyectos-de-ejemplo/vuerouter-example/src/router/index.js | Github Open Source | Open Source | MIT | 2,022 | js-examples | Sergiobasstidas | JavaScript | Code | 88 | 271 | import Vue from 'vue'
import VueRouter from 'vue-router'
import Hello from '../components/Hello'
import World from '../components/World'
import User from '../components/User'
import UserChild from '../components/UserChild'
Vue.use(VueRouter)
// eslint-disable-next-line no-new
const router = new VueRouter({
routes:... | 19,014 |
https://github.com/ryanpitts/membot/blob/master/membot/apps/projects/admin.py | Github Open Source | Open Source | MIT | 2,016 | membot | ryanpitts | Python | Code | 76 | 282 | from django.contrib import admin
from .models import Project, ProjectLink, ProjectDate, ProjectBulletPoint
class ProjectBulletPointInlineAdmin(admin.TabularInline):
model = ProjectBulletPoint
extra = 1
def formfield_for_dbfield(self, db_field, **kwargs):
# More usable height in admin form fields ... | 39,622 |
https://github.com/ArcherCraftStore/ArcherVMPeridot/blob/master/php/pear/HTML/Template/Flexy/Tree.php | Github Open Source | Open Source | BSD-3-Clause, BSD-4-Clause-UC, Zlib, ISC, LicenseRef-scancode-other-permissive, TCL, LicenseRef-scancode-public-domain, BSD-2-Clause, JSON, LicenseRef-scancode-pcre, blessing, PHP-3.01, Apache-2.0, MIT | 2,014 | ArcherVMPeridot | ArcherCraftStore | PHP | Code | 1,070 | 3,143 | <?php
/* vim: set expandtab tabstop=4 shiftwidth=4: */
// +----------------------------------------------------------------------+
// | PHP Version 4 |
// +----------------------------------------------------------------------+
// | Copyright (c) 1997-2002 The PHP ... | 28,611 |
https://github.com/zeionara/AmpliGraph/blob/master/tests/ampligraph/utils/test_model_utils.py | Github Open Source | Open Source | Apache-2.0 | 2,021 | AmpliGraph | zeionara | Python | Code | 292 | 1,246 | # Copyright 2019-2021 The AmpliGraph Authors. All Rights Reserved.
#
# This file is Licensed under the Apache License, Version 2.0.
# A copy of the Licence is available in LICENCE, or at:
#
# http://www.apache.org/licenses/LICENSE-2.0
#
import os
import importlib
import numpy as np
import pandas as pd
import numpy.... | 39,604 |
https://github.com/Freddan-67/V3DLib/blob/master/Lib/Liveness/RegUsage.cpp | Github Open Source | Open Source | MIT | 2,022 | V3DLib | Freddan-67 | C++ | Code | 1,520 | 3,530 | #include "RegUsage.h"
#include "Support/basics.h"
#include "Support/Platform.h" // size_regfile()
#include "Liveness.h"
#include "UseDef.h"
namespace V3DLib {
namespace {
std::string get_unused_list(RegUsage const &alloc_list) {
std::string ret;
for (int i = 0; i < (int) alloc_list.size(); i++) {
if (alloc_... | 33,208 |
https://github.com/ryankurte/codechecker/blob/master/web/tests/projects/macros/macros.cpp | Github Open Source | Open Source | Apache-2.0 | 2,022 | codechecker | ryankurte | C++ | Code | 21 | 71 | #define SET_PTR_VAR_TO_NULL \
ptr = 0
void nonFunctionLikeMacroTest() {
int *ptr;
SET_PTR_VAR_TO_NULL;
*ptr = 5; // expected-warning{{Dereference of null pointer}}
}
| 22,836 |
https://github.com/paullewallencom/apache-solr-978-1-7821-6252-0/blob/master/_src/solr-app/chp08/xml/conf/extract_fields.js | Github Open Source | Open Source | Apache-2.0 | null | apache-solr-978-1-7821-6252-0 | paullewallencom | JavaScript | Code | 157 | 295 | /*******************************************************************************
* Copyright 2013 Alfredo Serafini (http://seralf.it)
*
* 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
* ... | 33,447 |
https://github.com/dfogas/greyzone/blob/master/src/client/pages/signup.react.js | Github Open Source | Open Source | MIT | null | greyzone | dfogas | JavaScript | Code | 50 | 167 | import Component from '../components/component.react';
import DocumentTitle from 'react-document-title';
import SignUpForm from '../auth/signup.react';
import React from 'react';
import {msg} from '../intl/store';
import SignupMessage from '../auth/signup.message.react';
class SignUp extends Component {
render() {... | 3,729 |
https://github.com/Firelands128/locale_names/blob/master/lib/resources/names_shi_Latn.dart | Github Open Source | Open Source | BSD-3-Clause | 2,021 | locale_names | Firelands128 | Dart | Code | 631 | 2,993 | const names = {
"AD": "andura",
"AE": "limarat",
"AF": "afɣanistan",
"AG": "antiga d brbuda",
"AI": "angila",
"AL": "albanya",
"AM": "arminya",
"AO": "angula",
"AR": "arjantin",
"AS": "samwa tamirikanit",
"AT": "nnmsa",
"AU": "ustralya",
"AW": "aruba",
"AZ": "adrabijan",
"BA": "busna d hir... | 41,872 |
https://github.com/aws/aws-sdk-net/blob/master/sdk/src/Services/CodeCommit/Generated/_bcl45/IAmazonCodeCommit.cs | Github Open Source | Open Source | Apache-2.0, LicenseRef-scancode-proprietary-license, LicenseRef-scancode-public-domain, MIT, LicenseRef-scancode-unknown-license-reference | 2,023 | aws-sdk-net | aws | C# | Code | 20,000 | 40,560 | /* * Copyright Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanyi... | 20,753 |
https://github.com/Diffblue-benchmarks/SquidLib/blob/master/squidlib-util/src/test/java/squidpony/examples/MimicFillTest.java | Github Open Source | Open Source | ECL-2.0, Apache-2.0, BSD-3-Clause | null | SquidLib | Diffblue-benchmarks | Java | Code | 499 | 2,347 | package squidpony.examples;
import squidpony.squidgrid.MimicFill;
import squidpony.squidgrid.mapping.DungeonUtility;
import squidpony.squidmath.*;
/**
* Created by Tommy Ettinger on 5/14/2016.
*/
public class MimicFillTest {
public static void main(String[] args)
{
//seed is, in base 36, the number ... | 22,249 |
https://github.com/fredyns/showcase/blob/master/lang/en/crud.php | Github Open Source | Open Source | MIT | null | showcase | fredyns | PHP | Code | 233 | 694 | <?php
return [
'common' => [
'actions' => 'Actions',
'create' => 'Create',
'edit' => 'Edit',
'update' => 'Update',
'new' => 'New',
'cancel' => 'Cancel',
'attach' => 'Attach',
'detach' => 'Detach',
'save' => 'Save',
'delete' => 'Delete'... | 27,305 |
https://github.com/joseflickr1/arb-reg-stilling-fiks/blob/master/src/komponenter/avbryt-modal/avbryt-modal.less | Github Open Source | Open Source | MIT | null | arb-reg-stilling-fiks | joseflickr1 | Less | Code | 119 | 459 | @import '../../../node_modules/nav-frontend-core/less/core';
.avbryt-modal {
background-color: transparent;
width: 100%;
max-width: 740px;
&:focus {
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
outline: none;
}
&__illustrasjon {
he... | 7,484 |
https://github.com/dromakin/db_api_protection/blob/master/backend/app/app/schemas/item.py | Github Open Source | Open Source | Apache-2.0 | null | db_api_protection | dromakin | Python | Code | 107 | 267 | """
item.py
created by dromakin as 03.05.2021
Project app
"""
__author__ = 'dromakin'
__maintainer__ = 'dromakin'
__credits__ = ['dromakin', ]
__status__ = 'Development'
__version__ = '20210503'
from typing import Optional
from pydantic import BaseModel
# Shared properties
class ItemBase(BaseModel):
title: Op... | 2,195 |
https://github.com/cmungall/xml-patch-make/blob/master/tests/test03.mk | Github Open Source | Open Source | MIT | 2,017 | xml-patch-make | cmungall | Makefile | Code | 91 | 369 | .PHONY: all all_fasta clean
GILIST=52854274 156118490 290782623 209485592 149126991 254749437 269857780 14971105 256041807 269857713
%.fa:
$(description $@,download gi:$(basename $@) from NCBI as fasta)wget -O "$@" "http://eutils.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcgi?db=protein&id=$(basename $@)&retmode=text&r... | 42,469 |
https://github.com/r4b3rt/JApiDocs/blob/master/springDemo/src/main/java/form/PageForm.java | Github Open Source | Open Source | Apache-2.0 | 2,022 | JApiDocs | r4b3rt | Java | Code | 25 | 68 | package form;
/**
* @author yeguozhong yedaxia.github.com
*/
public class PageForm {
private Integer page; //页数
private Integer limit; //每页条数
private String sort; //排序
}
| 5,795 |
https://github.com/AkshaySonani/oneITech-LMS/blob/master/resources/views/contactUs.blade.php | Github Open Source | Open Source | MIT | null | oneITech-LMS | AkshaySonani | PHP | Code | 416 | 2,010 | @extends('layouts.index')
@section('content')
<link rel="stylesheet" href="{{ asset('assets/blog.css') }}">
<link rel="stylesheet" href="{{ asset('assets/contact.css') }}">
<section class="contact-us-banner static-banner">
<div class="static-overlay"></div>
<div class="container">
<h1 c... | 2,410 |
https://github.com/lefay1982/cocos-ui-libgdx/blob/master/src/main/java/net/mwplay/cocostudio/ui/particleutil/CCTextureAtlasLoader.java | Github Open Source | Open Source | Apache-2.0 | 2,021 | cocos-ui-libgdx | lefay1982 | Java | Code | 385 | 1,385 | /*
* Copyright 2016 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 12,191 |
https://github.com/noobot/noobot/blob/master/src/Noobot.Core/Plugins/StandardPlugins/StatsPlugin.cs | Github Open Source | Open Source | MIT | 2,022 | noobot | noobot | C# | Code | 200 | 582 | using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Extensions.Logging;
namespace Noobot.Core.Plugins.StandardPlugins
{
public class StatsPlugin : IPlugin
{
private readonly ILogger _logger;
private readonly Dictionary<string, object> _stats = new Dictionary<stri... | 51,892 |
https://github.com/apache/karaf/blob/master/util/src/main/java/org/apache/karaf/util/json/JsonReader.java | Github Open Source | Open Source | BSD-3-Clause, Apache-2.0, LicenseRef-scancode-public-domain, MIT, EPL-1.0 | 2,023 | karaf | apache | Java | Code | 907 | 2,383 | /*
* 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 ... | 55,632 |
https://github.com/tjgolubi/emane/blob/master/include/emanecontrolmessages/universalphycontrolsendmessage.h | Github Open Source | Open Source | FSFUL | 2,013 | emane | tjgolubi | C++ | Code | 1,155 | 3,257 | /*
* Copyright (c) 2012 - DRS CenGen, LLC, Columbia, Maryland
* 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
* no... | 49,682 |
https://github.com/penghaicheng/yii2weixin/blob/master/assets/WebAsset.php | Github Open Source | Open Source | BSD-3-Clause | 2,019 | yii2weixin | penghaicheng | PHP | Code | 76 | 357 | <?php
/**
* @link http://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license http://www.yiiframework.com/license/
*/
namespace app\assets;
use app\common\services\UrlService;
use yii\web\AssetBundle;
class WebAsset extends AssetBundle
{
public $basePath = '@webroot';
public ... | 1,166 |
https://github.com/gaoice/easyexcel/blob/master/src/main/java/com/gaoice/easyexcel/writer/handler/FieldValueConverter.java | Github Open Source | Open Source | Apache-2.0 | 2,021 | easyexcel | gaoice | Java | Code | 35 | 156 | package com.gaoice.easyexcel.writer.handler;
import com.gaoice.easyexcel.writer.sheet.SheetBuilderContext;
/**
* 只关注 字段值 的转换
* 更加简洁的函数式接口
*
* @author gaoice
*/
@FunctionalInterface
public interface FieldValueConverter<V> extends FieldHandler<V> {
@Override
default void handle(SheetBuilderContext<V> cont... | 4,272 |
https://github.com/guidoalloatti/zype_player/blob/master/node_modules/flex-sdk/lib/flex_sdk/frameworks/projects/textLayout/src/flashx/textLayout/elements/DivElement.as | Github Open Source | Open Source | Apache-2.0 | null | zype_player | guidoalloatti | null | Spoken | 161 | 329 | ////////////////////////////////////////////////////////////////////////////////
//
// ADOBE SYSTEMS INCORPORATED
// Copyright 2007-2010 Adobe Systems Incorporated
// All Rights Reserved.
//
// NOTICE: Adobe permits you to use, modify, and distribute this file
// in accordance with the terms of the license agreement ... | 55,352 |
https://github.com/AndrasKovacs/staged/blob/master/old/mono_staged/src/Parser.hs | Github Open Source | Open Source | MIT | 2,023 | staged | AndrasKovacs | Haskell | Code | 2,052 | 4,342 |
module Parser (parse, parseString, Result(..)) where
import Prelude hiding (pi)
import Data.Foldable
import FlatParse.Stateful hiding (Parser, runParser, string, cut)
import qualified Data.ByteString as B
import Lexer
import Common
import Presyntax
-------------------------------------------------------------------... | 49,550 |
https://github.com/crcms/passport/blob/master/src/Events/RegisteredEvent.php | Github Open Source | Open Source | MIT | null | passport | crcms | PHP | Code | 40 | 115 | <?php
/**
* @author simon <crcms@crcms.cn>
* @datetime 2018/07/06 08:38
* @link http://crcms.cn/
* @copyright Copyright © 2018 Rights Reserved CRCMS
*/
namespace CrCms\Passport\Events;
use Illuminate\Http\Request;
/**
* Class RegisteredEvent
* @package CrCms\Passport\Events
*/
class RegisteredEvent ext... | 34,148 |
https://github.com/ArgonneCPAC/skysim/blob/master/scripts/submit_1.sh | Github Open Source | Open Source | BSD-2-Clause | 2,022 | skysim | ArgonneCPAC | Shell | Code | 33 | 133 | #!/bin/sh
export EMAIL=kovacs@anl.gov
#qsub -n 2 -t 00:10:00 -A ExtCosmology_2 -M ${EMAIL} -I
#qsub -n 1 -t 00:10:00 -A ExtCosmology_2 -M ${EMAIL} ./bundle_cosmodc2_z_0.sh
qsub -n 33 -t 06:00:00 -A ExtCosmology_2 -M ${EMAIL} ./bundle_cosmodc2_z_1.sh
| 29,722 |
https://github.com/seanreichle/tock/blob/master/chips/swervolf-eh1/src/syscon.rs | Github Open Source | Open Source | Apache-2.0, LicenseRef-scancode-unknown-license-reference, MIT | 2,021 | tock | seanreichle | Rust | Code | 728 | 2,226 | //! System Controller driver.
use kernel::common::cells::OptionalCell;
use kernel::common::registers::{register_structs, ReadWrite};
use kernel::common::StaticRef;
use kernel::hil::time;
use kernel::hil::time::{Ticks, Ticks64, Time};
use kernel::ReturnCode;
/// 100Hz `Frequency`
#[derive(Debug)]
pub struct Freq100Hz;... | 22,779 |
https://github.com/open-orchestra/open-orchestra-cms-bundle/blob/master/BackofficeBundle/Resources/public/ecmascript/OpenOrchestra/Application/Collection/Block/BlockComponents.js | Github Open Source | Open Source | Apache-2.0 | 2,018 | open-orchestra-cms-bundle | open-orchestra | JavaScript | Code | 76 | 253 | import OrchestraCollection from 'OpenOrchestra/Application/Collection/OrchestraCollection'
import BlockComponent from 'OpenOrchestra/Application/Model/Block/BlockComponent'
/**
* @class BlockComponents
*/
class BlockComponents extends OrchestraCollection
{
/**
* Pre initialize
*/
preinitiali... | 9,014 |
https://github.com/miking-lang/miking/blob/master/stdlib/cuda/pmexpr-compile.mc | Github Open Source | Open Source | MIT | 2,023 | miking | miking-lang | null | Spoken | 592 | 1,295 | -- Translates a PMExpr AST to a CUDA PMExpr AST which includes explicit GPU
-- kernel calls and memory management operations.
--
-- In this version, a parallel operation is translated to a CUDA kernel when
-- it is used in a function that is never used in another parallel operation.
-- This is conservative, but guarant... | 36,412 |
https://github.com/kurniagungk/alkahfi/blob/master/app/Http/Livewire/TahunAjaran/Edit.php | Github Open Source | Open Source | MIT | null | alkahfi | kurniagungk | PHP | Code | 89 | 349 | <?php
namespace App\Http\Livewire\TahunAjaran;
use Livewire\Component;
use App\TahunAjaran;
class Edit extends Component
{
public $nama;
public $awal;
public $akhir;
public $idt;
public function render()
{
return view('livewire.tahun-ajaran.edit');
}
public function mount(... | 44,003 |
https://github.com/stephenjohnlimb/ek9/blob/master/src/main/java/org/ek9lang/compiler/symbol/IAssignableSymbol.java | Github Open Source | Open Source | MIT | 2,022 | ek9 | stephenjohnlimb | Java | Code | 23 | 91 | package org.ek9lang.compiler.symbol;
import org.antlr.v4.runtime.Token;
public interface IAssignableSymbol
{
default boolean isInitialised()
{
return getInitialisedBy() != null;
}
Token getInitialisedBy();
void setInitialisedBy(Token initialisedBy);
}
| 54,752 |
https://github.com/Corollarium/cachearium/blob/master/src/Backend/CacheNull.php | Github Open Source | Open Source | MIT | 2,019 | cachearium | Corollarium | PHP | Code | 217 | 594 | <?php
namespace Cachearium\Backend;
use Cachearium\CacheAbstract;
use Cachearium\CacheKey;
use Cachearium\CacheData;
use Cachearium\CacheLogEnum;
use Cachearium\Exceptions\NotCachedException;
/**
* Null cache class. Does nothing but implements all required methods.
*
*/
class CacheNull extends CacheAbstract {
//... | 54,110 |
https://github.com/Moon-Ingenium/sushi-junai/blob/master/client/src/components/FoodKey/Salad.js | Github Open Source | Open Source | MIT | 2,020 | sushi-junai | Moon-Ingenium | JavaScript | Code | 53 | 145 | import React from "react";
import Row from "../Row";
import Container from "../Container";
import Image from "../Image";
import saladIcon from "./icons8-salad-144.png";
export default function HouseSalad () {
return (
<Row>
<h5 id="housesalad">House Salad<Image src={saladIcon} width="18" alt="h... | 10,744 |
https://github.com/actionhero/actionhero/blob/master/src/bin/actionhero.ts | Github Open Source | Open Source | Apache-2.0 | 2,023 | actionhero | actionhero | JavaScript | Code | 649 | 1,890 | #!/usr/bin/env node
import * as path from "path";
import * as fs from "fs";
import { program, InvalidArgumentError } from "commander";
import { typescript } from "../classes/process/typescript";
import { projectRoot } from "../classes/process/projectRoot";
import { ensureNoTsHeaderOrSpecFiles } from "../modules/utils/... | 38,437 |
https://github.com/Shonsama/Neuedu_lab/blob/master/Backend/src/main/java/com/neuedu/lab/interceptors/LoginInterceptor.java | Github Open Source | Open Source | MIT | 2,019 | Neuedu_lab | Shonsama | Java | Code | 175 | 939 | package com.neuedu.lab.interceptors;
import com.neuedu.lab.token.TokenState;
import com.neuedu.lab.token.Tokenizer;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.springframework.lang.Nullable;
import org.springframework.stereotype.Component;
import org.springframework.... | 32,091 |
https://github.com/r4b3rt/KubeOperator/blob/master/ui/src/app/message-center/local-mail/local-mail.component.ts | Github Open Source | Open Source | Apache-2.0 | 2,020 | KubeOperator | r4b3rt | TypeScript | Code | 246 | 998 | import {Component, OnInit, ViewChild} from '@angular/core';
import {MessageCenterService} from '../message-center.service';
import {AlertLevels} from '../../base/header/components/common-alert/alert';
import {CommonAlertService} from '../../base/header/common-alert.service';
import {LocalMailDetailComponent} from './lo... | 43,845 |
https://github.com/lulzzz/AkkaJobs/blob/master/AgrideaCore/Web/Mvc/ModelBinders/AcceptNullAsZeroModelBinder.cs | Github Open Source | Open Source | MIT | 2,018 | AkkaJobs | lulzzz | C# | Code | 89 | 318 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace Agridea.Web.Mvc
{
public class AcceptNullAsZeroModelBinder : DefaultModelBinder
{
protected override void SetProperty(ControllerContext controllerContext, ModelBindingContext bindingCon... | 38,503 |
https://github.com/Vincent-Pang/ts-type-info/blob/master/src/wrappers/wrapped-type.ts | Github Open Source | Open Source | MIT | 2,016 | ts-type-info | Vincent-Pang | TypeScript | Code | 211 | 771 | import * as ts from "typescript";
import {tryGet} from "./../utils";
import {BaseWrappedType, BaseWrappedTypeOptions} from "./base-wrapped-type";
import {WrappedSymbolNode} from "./wrapped-symbol-node";
import {WrappedSignature} from "./wrapped-signature";
export interface WrappedTypeOptions extends BaseWrappedTypeOp... | 25,422 |
https://github.com/fe1ixxu/VT-STOWER/blob/master/preprocess/get_vocab_from_raw.py | Github Open Source | Open Source | MIT | 2,022 | VT-STOWER | fe1ixxu | Python | Code | 512 | 1,966 | from collections import defaultdict
import argparse
class Dictionary(object):
"""A mapping from symbols to consecutive integers"""
def __init__(self, input, word_dict_min_num=2):
self.files = ['train.0', 'dev.0', 'test.0', 'train.1', 'dev.1', 'test.1']
self.files = [input+"/"+f for f in self.fi... | 56,016 |
https://github.com/ViniKim/TIL-1/blob/master/hello.py | Github Open Source | Open Source | MIT | 2,018 | TIL-1 | ViniKim | Python | Code | 5 | 18 | for i in range(5):
print("Helloooooooo?)
| 38,368 |
https://github.com/watsug/JcShellFormat/blob/master/JcShellFormat/Core/StartsWithModifierDescription.cs | Github Open Source | Open Source | MIT | null | JcShellFormat | watsug | C# | Code | 43 | 150 | using System;
namespace Watsug.JcShellFormat.Core
{
public class StartsWithModifierDescription : ModifierDescription
{
public StartsWithModifierDescription(string token, Type implementation)
: base(token, implementation)
{
}
public override IVariableModifier Create... | 54,591 |
https://github.com/BBC-News/alephant-harness/blob/master/lib/alephant/harness.rb | Github Open Source | Open Source | MIT | 2,016 | alephant-harness | BBC-News | Ruby | Code | 15 | 46 | require "alephant/harness/version"
require "alephant/harness/setup"
module Alephant
module Harness
# Your code goes here...
end
end
| 21,937 |
https://github.com/tied/innovation-funding-service/blob/master/ifs-data-layer/ifs-data-service/src/test/java/org/innovateuk/ifs/project/projectdetails/security/ProjectDetailsServiceSecurityTest.java | Github Open Source | Open Source | MIT | null | innovation-funding-service | tied | Java | Code | 248 | 1,398 | package org.innovateuk.ifs.project.projectdetails.security;
import org.innovateuk.ifs.BaseServiceSecurityTest;
import org.innovateuk.ifs.address.resource.PostcodeAndTownResource;
import org.innovateuk.ifs.project.core.security.ProjectLookupStrategy;
import org.innovateuk.ifs.project.core.security.ProjectPermissionRule... | 14,080 |
https://github.com/bilznatch/libgdx-graph/blob/master/plugins/libgdx-graph-models/libgdx-graph-models-design/src/com/gempukku/libgdx/graph/plugin/models/design/producer/ModelShaderRendererBoxProducer.java | Github Open Source | Open Source | MIT | null | libgdx-graph | bilznatch | Java | Code | 54 | 342 | package com.gempukku.libgdx.graph.plugin.models.design.producer;
import com.badlogic.gdx.scenes.scene2d.ui.Skin;
import com.badlogic.gdx.utils.JsonValue;
import com.gempukku.libgdx.graph.pipeline.PipelineFieldType;
import com.gempukku.libgdx.graph.plugin.models.config.ModelShaderRendererPipelineNodeConfiguration;
impo... | 11,844 |
https://github.com/vchagin/superclosure/blob/master/tests/Unit/ClosureBindingTest.php | Github Open Source | Open Source | MIT | 2,020 | superclosure | vchagin | PHP | Code | 102 | 462 | <?php namespace SuperClosure\Test\Unit;
use SuperClosure\ClosureBinding;
use SuperClosure\Env;
/**
* Class ClosureBindingTest
*/
class ClosureBindingTest extends UnitTestBase
{
/**
* @covers \SuperClosure\ClosureBinding::__construct
* @covers \SuperClosure\ClosureBinding::getObject
* @covers \Sup... | 30,605 |
https://github.com/Palem1988/kf/blob/master/pkg/kf/manifest/manifest_conversion.go | Github Open Source | Open Source | Apache-2.0 | 2,019 | kf | Palem1988 | Go | Code | 367 | 864 | // Copyright 2019 Google LLC
//
// 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in wr... | 12,349 |
https://github.com/darwinproject/darwin3/blob/master/model/src/state_summary.F | Github Open Source | Open Source | MIT | 2,023 | darwin3 | darwinproject | null | Spoken | 206 | 610 | #include "CPP_OPTIONS.h"
CBOP
C !ROUTINE: STATE_SUMMARY
C !INTERFACE:
SUBROUTINE STATE_SUMMARY( myThid )
C !DESCRIPTION: \bv
C *==========================================================*
C | SUBROUTINE STATE_SUMMARY
C | o Summarize model prognostic vari... | 23,802 |
https://github.com/k4anubhav/mapbox-navigation-android/blob/master/libnavui-dropin/src/main/java/com/mapbox/navigation/dropin/component/maneuver/ManeuverUIComponent.kt | Github Open Source | Open Source | Apache-2.0, BSD-2-Clause | null | mapbox-navigation-android | k4anubhav | Kotlin | Code | 158 | 742 | package com.mapbox.navigation.dropin.component.maneuver
import android.view.View
import android.widget.FrameLayout
import androidx.lifecycle.LifecycleOwner
import androidx.lifecycle.lifecycleScope
import com.mapbox.navigation.base.trip.model.RouteProgress
import com.mapbox.navigation.core.trip.session.RouteProgressObs... | 7,896 |
https://github.com/nearform/notificami/blob/master/packages/notificami-backend-core/lib/dbPool.js | Github Open Source | Open Source | Apache-2.0 | 2,021 | notificami | nearform | JavaScript | Code | 90 | 172 | 'use strict'
const { Pool } = require('pg')
/**
* The idea behind this function is to create a wrapper for the connection.
*/
module.exports = function buildPool(conf) {
if (!conf) {
throw new Error('Cannot initialize connection without a configuration object')
}
const pool = new Pool(conf)
// the pool... | 4,572 |
https://github.com/dgonz64/redux-form-auto-bootstrap4-demo/blob/master/src/Root.jsx | Github Open Source | Open Source | MIT | 2,019 | redux-form-auto-bootstrap4-demo | dgonz64 | JavaScript | Code | 76 | 235 | import React from 'react'
import { createStore, combineReducers } from 'redux'
import { reducer as formReducer } from 'redux-form'
import { render } from 'react-dom'
import { Provider } from 'react-redux'
import { App } from './components/App.jsx'
import { editing } from './ducks'
import { setLanguageByName } from 're... | 40,867 |
https://github.com/molecuel/mlcl_elastic/blob/master/config.js | Github Open Source | Open Source | MIT | null | mlcl_elastic | molecuel | JavaScript | Code | 11 | 27 | var config;
config = {
name: 'elastic'
};
module.exports = config;
| 31,489 |
https://github.com/kazunetakahashi/sudoku-sat/blob/master/main.rb | Github Open Source | Open Source | MIT | null | sudoku-sat | kazunetakahashi | Ruby | Code | 236 | 731 | # coding: utf-8
require "minisat"
solver = MiniSat::Solver.new
# x[i][j][k] i行j列がkである。
x = Array.new(9){Array.new(9){Array.new(9)}}
for i in 0..8
for j in 0..8
for k in 0..8
x[i][j][k] = solver.new_var
end
end
end
# 各 x[i][j] には 1 から 9 のいずれかが入る。
for i in 0..8
for j in 0..8
ary = []
for... | 2,878 |
https://github.com/Xabaril/Esquio/blob/master/src/Esquio.UI.Api/Scenarios/Configuration/ConfigurationController.cs | Github Open Source | Open Source | Apache-2.0 | 2,022 | Esquio | Xabaril | C# | Code | 86 | 368 | using Esquio.UI.Api.Shared.Models.Configuration.Details;
using MediatR;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Threading;
using System.Threading.Tasks;
namespace Esquio.UI.Api.Scenarios.Store
{
[Authorize]
[ApiVersi... | 22,824 |
https://github.com/dbuenzli/brr/blob/master/src/brr_io.mli | Github Open Source | Open Source | ISC, BSD-3-Clause | 2,023 | brr | dbuenzli | OCaml | Code | 10,842 | 33,845 | (*---------------------------------------------------------------------------
Copyright (c) 2020 The brr programmers. All rights reserved.
SPDX-License-Identifier: ISC
---------------------------------------------------------------------------*)
(** Clipboard, Form, Fetch, Geolocation, Media and Storage APIs. ... | 2,482 |
https://github.com/bramkragten/operating-system/blob/master/buildroot/package/enet/enet.mk | Github Open Source | Open Source | Apache-2.0 | 2,021 | operating-system | bramkragten | Makefile | Code | 23 | 89 | ################################################################################
#
# enet
#
################################################################################
ENET_VERSION = 1.3.14
ENET_SITE = http://enet.bespin.org/download
ENET_LICENSE = MIT
ENET_LICENSE_FILES = LICENSE
ENET_INSTALL_STAGING = YES
$(e... | 13,390 |
https://github.com/Hajiren/HajirenBlog/blob/master/src/main/java/com/hajiren/utils/MessageUtils.java | Github Open Source | Open Source | MIT | null | HajirenBlog | Hajiren | Java | Code | 7 | 19 | package com.hajiren.utils;
public class MessageUtils {
}
| 25,753 |
https://github.com/FabioLolix/PKGBUILD-AUR_fix/blob/master/q/qt5-webkit-movableink-git/PKGBUILD | Github Open Source | Open Source | WTFPL | 2,023 | PKGBUILD-AUR_fix | FabioLolix | Shell | Code | 131 | 659 | # Maintainer: Fabio 'Lolix' Loli <fabio.loli@disroot.org> -> https://github.com/FabioLolix
pkgname=qt5-webkit-movableink-git
pkgver=r269464.3cfcdcf38a52
pkgrel=1
pkgdesc='Classes for a WebKit2 based implementation and a new QML API'
arch=(x86_64)
url='https://github.com/qtwebkit/qtwebkit'
license=(GPL3 LGPL3 FDL custo... | 8,453 |
https://github.com/jakubpodgorniak/tdos/blob/master/TDOS.Game/Resources/Drawers.Designer.cs | Github Open Source | Open Source | MIT | 2,020 | tdos | jakubpodgorniak | C# | Code | 303 | 875 | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... | 20,313 |
https://github.com/yajxh/ponycar/blob/master/ponycar-httpserver/src/main/java/com/ponycar/httpserver/utils/StringUtils.java | Github Open Source | Open Source | Apache-2.0 | 2,015 | ponycar | yajxh | Java | Code | 627 | 1,461 | /*
* Copyright 1999-2015 WASU.
*
* 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... | 10,812 |
https://github.com/jstokes/secure-data-service/blob/master/sli/data-access/dal/src/main/java/org/slc/sli/domain/FullSuperDoc.java | Github Open Source | Open Source | Apache-2.0 | null | secure-data-service | jstokes | Java | Code | 178 | 446 | /*
* Copyright 2012-2013 inBloom, Inc. and its affiliates.
*
* 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 appli... | 38,124 |
https://github.com/mageta/gw2_scripts/blob/master/filter_buylist.sh | Github Open Source | Open Source | MIT | null | gw2_scripts | mageta | Shell | Code | 19 | 63 | #!/bin/bash
cat - | grep '\.\.\. [123] \.\.\.' | sed 's/^.*[[:space:]]\([[:digit:]]* \*.*\)$/\1/' | sort -k 10 -d -f -b
| 48,112 |
https://github.com/cedriclmenard/KrisLibrary/blob/master/meshing/TriMesh.cpp | Github Open Source | Open Source | BSD-3-Clause | 2,022 | KrisLibrary | cedriclmenard | C++ | Code | 1,030 | 4,481 | #include <KrisLibrary/Logger.h>
#include "TriMesh.h"
#include <locale.h>
#include <iostream>
#include <utils/stringutils.h>
#include <math3d/geometry3d.h>
#include <math3d/misc.h>
#include <GLdraw/GL.h>
#include <GLdraw/drawextra.h>
#include <fstream>
#include <algorithm>
#include <errors.h>
namespace Meshing {
Vector... | 41,873 |
https://github.com/kondeagm/SLMF/blob/master/SLMF-W/SITE/SLMFSITE/Scripts/about/slide.js | Github Open Source | Open Source | MIT | 2,018 | SLMF | kondeagm | JavaScript | Code | 884 | 3,781 | Slide = function() {
this.settings = {
wnd: $(window),
slide: $About.find(".slide"),
navLeft: $About.find(".left-slide .slide-content .navigator span"),
navRight: $About.find(".right-slide .slide-content .navigator span"),
centerLogo: $About.find(".center-logo img"),
... | 11,955 |
https://github.com/zachalbert/wbc/blob/master/extras/http2/src/javascripts/app.js | Github Open Source | Open Source | MIT | 2,022 | wbc | zachalbert | JavaScript | Code | 19 | 55 | // es6-promise/auto needed to fulfil promises for the `import()` statement in modules/index.js
import 'es6-promise/auto'
import './modules'
console.log(`app.js has loaded!`)
| 50,153 |
https://github.com/youtube/cobalt/blob/master/third_party/boringssl/src/decrepit/CMakeLists.txt | Github Open Source | Open Source | ISC, BSD-3-Clause, OpenSSL, LicenseRef-scancode-openssl, LicenseRef-scancode-ssleay-windows, MIT, GPL-1.0-or-later, LGPL-2.0-or-later, Apache-2.0 | 2,023 | cobalt | youtube | CMake | Code | 54 | 534 | include_directories(../include)
add_subdirectory(bio)
add_subdirectory(blowfish)
add_subdirectory(cast)
add_subdirectory(cfb)
add_subdirectory(des)
add_subdirectory(dh)
add_subdirectory(dsa)
add_subdirectory(evp)
add_subdirectory(obj)
add_subdirectory(rc4)
add_subdirectory(ripemd)
add_subdirectory(rsa)
add_subdirector... | 15,794 |
https://github.com/Automedon/Codewars/blob/master/6-kyu-part1/Needles in a haystack.js | Github Open Source | Open Source | MIT | 2,023 | Codewars | Automedon | JavaScript | Code | 119 | 317 | /*
Find the needle(s) in a haystack by creating a function that returns all properties (recursively) which contains the needle (string).
Return value should be a sorted array.
Example:
var obj = {
site: "Codewars",
description: "Lorem ipsum dolor sit...",
obj2: {
str: "Yeah, Codewars!",
num: 123,
o... | 31,918 |
https://github.com/adriengivry/unity-beginner-script-toolbox/blob/master/Examples/Assets/Entity Spawner/Scripts/Spawner.cs | Github Open Source | Open Source | MIT | 2,019 | unity-beginner-script-toolbox | adriengivry | C# | Code | 217 | 611 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/*
* Here is a fantastic entity spawner ! You can use it to spawn any types of GameObject.
* Make sure to add slots as children of the Spawner prefab (A simple GameObject that holds this script).
* If you have no slots, the spawner will ... | 402 |
https://github.com/mrDarkHouse/GDefence/blob/master/android/assets/Save/UserSave.properties | Github Open Source | Open Source | Apache-2.0 | 2,021 | GDefence | mrDarkHouse | null | Spoken | 18 | 530 | #Tue Jun 11 20:23:15 MSK 2019
researches=Powder-true/Mech-false/
gems=3-3-2-1-0-0-
spellInventory=0-226.30899-150z0;0;0/
gold=495
openedTowers=Shotgun-locked/DoubleBarrel-locked/Basic-opened/Glaive-locked/Mountain-opened/Ballista-locked/Cannon-locked/CrossBow-canOpen/Rock-opened/Catapult-locked/Gun-opened/Rifle-canOpen... | 37,390 |
https://github.com/ry4nyeo/lab-vba/blob/master/excel/src/FontType.bas | Github Open Source | Open Source | MIT | null | lab-vba | ry4nyeo | Visual Basic | Code | 124 | 335 | Sub FontType(control As IRibbonControl)
' Purpose: Set selected range to Arial
' Updated: 2022FEB25
' Saves workbook before macro changes
Application.ScreenUpdating = False
On Error GoTo ErrorHandler
ActiveWorkbook.Save
' ===================================
' Customised use-case
' ========... | 50,575 |
https://github.com/Sorkstryparen/medusa/blob/master/dashboard-example/search/src/MiniSearch.js | Github Open Source | Open Source | Apache-2.0 | 2,022 | medusa | Sorkstryparen | JavaScript | Code | 32 | 92 | import React from "react";
const TextField = React.lazy(() => import("dsl/TextField"));
const MiniSearch = ({ inputProps = {} }) => (
<React.Suspense fallback={<span />}>
<TextField placeholder="Search" {...inputProps} />
</React.Suspense>
);
export default MiniSearch;
| 52,168 |
https://github.com/Nodinite/Nodinite.Plugins/blob/master/Nodinite.Plugins/AutoFields/IValues.cs | Github Open Source | Open Source | MIT | null | Nodinite.Plugins | Nodinite | C# | Code | 9 | 30 | namespace Nodinite.Plugins.AutoFields
{
public interface IValues
{
}
} | 418 |
https://github.com/lambdalisue/deno-disposable/blob/master/types.ts | Github Open Source | Open Source | MIT | 2,021 | deno-disposable | lambdalisue | TypeScript | Code | 37 | 73 | type Void = void | Promise<void>;
/**
* Disposable has 'dispose()' method to dispose the resource
*/
export type Disposable<R extends Void = Void> = {
/**
* Dispose the resource
*/
dispose: () => R;
};
| 16,374 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.