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/Jeswang/Distribution/blob/master/g/google_dot_script_dot_client-side/src/main/scala/typings/googleScriptClientSide/google/script/history/replace.scala | Github Open Source | Open Source | MIT | 2,020 | Distribution | Jeswang | Scala | Code | 187 | 393 | package typings.googleScriptClientSide.google.script.history
import scala.scalajs.js
import scala.scalajs.js.`|`
import scala.scalajs.js.annotation._
@JSGlobal("google.script.history.replace")
@js.native
object replace extends js.Object {
/**
* Replaces the top event on the browser history stack with the provid... | 26,205 |
https://github.com/gbogard/boardgames/blob/master/app/src/boardgames/bindings/NextLink.scala | Github Open Source | Open Source | Apache-2.0 | null | boardgames | gbogard | Scala | Code | 63 | 233 | package boardgames.bindings
import scala.scalajs.js.annotation.JSImport
import scalajs.js
import japgolly.scalajs.react.*
import japgolly.scalajs.react.vdom.VdomNode
import boardgames.shared.Routes.Route
object NextLink:
@js.native
@JSImport("next/link", JSImport.Default)
protected val raw: js.Object = js.nativ... | 12,410 |
https://github.com/jsonavalos/LinkUp/blob/master/LinkUp/core/views.py | Github Open Source | Open Source | Apache-2.0 | 2,019 | LinkUp | jsonavalos | Python | Code | 970 | 4,373 | from django.shortcuts import render, redirect
from .apis import calendar_api, availability_calendar_api, sendEmail_api, algorithm_api, contact_us_api, \
event_calendar_api
from .models import Event, Schedule, UserTimezone, EventSchedule
from .forms import EventForm
from django.contrib.auth.decorators import login_... | 25,461 |
https://github.com/alexmv/code-relay/blob/master/scripts/src/index.ts | Github Open Source | Open Source | MIT | 2,021 | code-relay | alexmv | TypeScript | Code | 80 | 145 | import generateAll from "./fileGenerators/lib/generateAll";
/**
* This is the starting point of the site generation.
* This will look for all modules in fileGenerators,
* and generates the files accordingly. @see /scripts/README.MD
*
* However this assumes you have already compiled the
* typescript and copied t... | 10,893 |
https://github.com/phillystartupleaders/bootcamp/blob/master/_sass/_base.scss | Github Open Source | Open Source | MIT | null | bootcamp | phillystartupleaders | SCSS | Code | 96 | 287 | /**
* Reset some basic elements
*/
body, h1, h2, h3, h4, h5, h6,
p, blockquote, pre, hr,
dl, dd, ol, ul, figure {
margin: 0;
padding: 0;
}
/**
* Basic styling
*/
body {
font-family: $base-font-family;
font-size: $base-font-size;
line-height: $base-line-height;
font-weight: 300;
color:... | 25,555 |
https://github.com/dannisliang/SGSWPlatform/blob/master/hardware/samsung_slsi/exynos/libcamera/34xx/ExynosCameraActivityControl.h | Github Open Source | Open Source | Apache-2.0 | 2,019 | SGSWPlatform | dannisliang | C++ | Code | 369 | 1,143 | /*
**
** Copyright 2014, Samsung Electronics Co. LTD
**
** Licensed under the Apache License, Version 2.0 (the "License");
** you may not use this file except in compliance with the License.
** You may obtain a copy of the License at
**
** http://www.apache.org/licenses/LICENSE-2.0
**
** Unless required by applicab... | 3,600 |
https://github.com/atvanguard/augur/blob/master/packages/augur-core/source/contracts/CashFaucet.sol | Github Open Source | Open Source | MIT, GPL-1.0-or-later, GPL-3.0-or-later, LGPL-2.1-or-later, LGPL-2.0-or-later, LicenseRef-scancode-warranty-disclaimer, GPL-3.0-only | 2,020 | augur | atvanguard | Gerber Image | Code | 197 | 713 | pragma solidity 0.5.10;
import 'ROOT/IAugur.sol';
import 'ROOT/ICashFaucet.sol';
import 'ROOT/libraries/math/SafeMathUint256.sol';
import 'ROOT/libraries/token/IERC20.sol';
import 'ROOT/external/IDaiJoin.sol';
import 'ROOT/external/IDaiVat.sol';
import 'ROOT/external/IDaiFaucet.sol';
import 'ROOT/CashFaucetProxy.sol';... | 5,956 |
https://github.com/HenriqueLR/task-list-dev/blob/master/task_list_dev/tools.py | Github Open Source | Open Source | MIT | null | task-list-dev | HenriqueLR | Python | Code | 15 | 39 | # coding: utf-8
def get_list():
list = '''
step 1:\n
configure github
'''
return list
| 34,499 |
https://github.com/MinimSecure/unum-sdk/blob/master/src/uclibc/uClibc-0.9.33.2/libc/sysdeps/linux/powerpc/clone.S | Github Open Source | Open Source | Apache-2.0, LGPL-2.1-only, LGPL-2.1-or-later, LicenseRef-scancode-other-permissive | 2,023 | unum-sdk | MinimSecure | Unix Assembly | Code | 549 | 1,481 | /* Wrapper around clone system call.
Copyright (C) 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free ... | 33,806 |
https://github.com/iscasur/netflix-clone/blob/master/css/components/_heros.scss | Github Open Source | Open Source | MIT | null | netflix-clone | iscasur | SCSS | Code | 97 | 344 | .hero {
height: 100vh;
margin-top: -7rem;
&__video {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100vh;
z-index: -1;
overflow: hidden;
iframe {
width: 100vw;
height: 56.25vw;
position: absolute;
}
}
.wrapper {
background: linear-gradient(... | 24,148 |
https://github.com/fabrix-app/spool-cms/blob/master/lib/api/models/RouteDocument.ts | Github Open Source | Open Source | MIT | 2,018 | spool-cms | fabrix-app | TypeScript | Code | 338 | 814 | import { FabrixModel as Model } from '@fabrix/fabrix/dist/common'
import { SequelizeResolver } from '@fabrix/spool-sequelize'
import { SERIES } from '../../enums'
/**
* @module RouteDocument
* @description Route Document model
*/
export class RouteDocument extends Model {
static get resolver() {
return Seque... | 35,876 |
https://github.com/cByst/deno/blob/master/tests/subdir/mod3.ts | Github Open Source | Open Source | MIT | 2,019 | deno | cByst | TypeScript | Code | 19 | 40 | export const isTSFile = true;
export { printHello } from "./print_hello.ts";
export { printHello as phNoExt } from "./print_hello";
| 50,189 |
https://github.com/imsaksham-c/Udacity-DataStructuresAndAglorithms/blob/master/Project-1/Task4.py | Github Open Source | Open Source | MIT | 2,020 | Udacity-DataStructuresAndAglorithms | imsaksham-c | Python | Code | 179 | 415 | """
Read file into texts and calls.
It's ok if you don't understand how to read files.
"""
import csv
with open('texts.csv', 'r') as f:
reader = csv.reader(f)
texts = list(reader)
with open('calls.csv', 'r') as f:
reader = csv.reader(f)
calls = list(reader)
"""
TASK 4:
The telephone company want to i... | 46,807 |
https://github.com/basenetwork/site-engine-js/blob/master/lib/pages/Photos.jsx | Github Open Source | Open Source | MIT | 2,016 | site-engine-js | basenetwork | JavaScript | Code | 283 | 1,270 | var PhotoEdit = $class(Form, {
render: function() {
return (
<form className="edit-form" onSubmit={this.submit}>
<h2>Edit Photo</h2>
<div className="form-group row">
<div className="col-md-1">
<label>file</label>
... | 51,406 |
https://github.com/intellij-rust/intellij-rust/blob/master/src/main/kotlin/org/rust/lang/core/types/infer/TyLowering.kt | Github Open Source | Open Source | MIT | 2,023 | intellij-rust | intellij-rust | Kotlin | Code | 1,073 | 3,742 | /*
* Use of this source code is governed by the MIT license that can be
* found in the LICENSE file.
*/
package org.rust.lang.core.types.infer
import com.intellij.openapi.util.RecursionGuard
import com.intellij.openapi.util.RecursionManager
import com.intellij.psi.PsiElement
import org.rust.lang.core.macros.MacroE... | 42,186 |
https://github.com/luisgepeto/CodeEvalExamples/blob/master/CSharp/digit Statistics.cs | Github Open Source | Open Source | MIT | null | CodeEvalExamples | luisgepeto | C# | Code | 248 | 947 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace digit_Statistics
{
class Program
{
static void Main(string[] args)
{
string[] lines = System.IO.File.ReadAllLines(args[0]);
foreach (var line in... | 43,304 |
https://github.com/imdtf/multi-thread/blob/master/src/main/java/top/imdtf/multi/thread/chapter1/page47/Page47T20.java | Github Open Source | Open Source | Apache-2.0 | 2,021 | multi-thread | imdtf | Java | Code | 123 | 356 | package top.imdtf.multi.thread.chapter1.page47;
import top.imdtf.multi.thread.utils.Constant;
import java.util.Random;
/**
* 0 *
* 1 * @Author: deng.tengfei
* 2 * @email: imdtf@qq.com
* 3 * @Date: 2021/8/2 23:08
*/
public class Page47T20 {
public static void main(String[] args) {
// TODO purpose?... | 29,750 |
https://github.com/infobyte/nixpkgs/blob/master/pkgs/development/python-modules/plexauth/default.nix | Github Open Source | Open Source | MIT | 2,022 | nixpkgs | infobyte | null | Spoken | 98 | 292 | { lib, buildPythonPackage, fetchFromGitHub, aiohttp, isPy27 }:
buildPythonPackage rec {
pname = "plexauth";
version = "0.0.5";
disabled = isPy27;
src = fetchFromGitHub {
owner = "jjlawren";
repo = "python-plexauth";
rev = "v${version}";
sha256 = "1wbrn22iywl4ccz64r3w3f17k0r7vi2cqkqd2mrdkx5xqhs... | 43,115 |
https://github.com/dushansilva/apim-apps/blob/master/portals/admin/source/src/app/components/ApplicationSettings/AppsTableContent.jsx | Github Open Source | Open Source | Apache-2.0 | 2,021 | apim-apps | dushansilva | JavaScript | Code | 418 | 1,251 | /*
* Copyright (c) 2021, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you 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/li... | 27,817 |
https://github.com/StylingKit/StylingKit/blob/master/Pod/Classes/freestyle/src/Modules/UIModule/Controls/STKUILabel.m | Github Open Source | Open Source | Apache-2.0 | 2,018 | StylingKit | StylingKit | Objective-C | Code | 771 | 3,224 | /*
* Copyright 2012-present Pixate, 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 ag... | 49,133 |
https://github.com/ga-explorer/NumericalGeometryLib/blob/master/DataStructuresLib/DataStructuresLib/ODS/YFastTrie.Node.cs | Github Open Source | Open Source | MIT | 2,022 | NumericalGeometryLib | ga-explorer | C# | Code | 40 | 117 | namespace DataStructuresLib.ODS
{
partial class YFastTrie<T>
{
internal class Node
{
internal static readonly RbuIntNodeHelper Helper = new RbuIntNodeHelper();
internal RbTree Tree;
public Node(uint key, T value)
{
Tree = new RbTr... | 48,535 |
https://github.com/Qix-/pegasus/blob/master/setup.py | Github Open Source | Open Source | MIT | 2,016 | pegasus | Qix- | Python | Code | 108 | 326 | from distutils.core import setup
setup(
name='pegasus',
packages=['pegasus'],
version='0.1.3',
description='Yet another PEG parser generator',
author='Josh Junon',
author_email='josh@junon.me',
url='https://github.com/qix-/pegasus',
download_url='https://github.com/qix-/pegasus/tarball/0... | 49,470 |
https://github.com/eburgueno/incubator-wave/blob/master/wave/src/main/java/org/waveprotocol/wave/client/doodad/experimental/htmltemplate/PartIdFactory.java | Github Open Source | Open Source | Apache-2.0 | 2,020 | incubator-wave | eburgueno | Java | Code | 217 | 355 | /**
* 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... | 23,704 |
https://github.com/dacoders77/hei/blob/master/laravel/app/Validators/Datepicker.php | Github Open Source | Open Source | MIT | 2,019 | hei | dacoders77 | PHP | Code | 226 | 673 | <?php
namespace App\Validators;
use DateTime;
class Datepicker
{
public function validate(
$attribute,
$value,
$parameters,
$validator
){
if(!empty($value)) {
if( validateDate($value,'d/m/Y') ) {
$value = str_replace('/', '-', $value);
... | 35,482 |
https://github.com/ibm-hyperknowledge/IAPL/blob/master/batsakis-29/0120/p_0120_d0107.0_s05.4_0137d574f0d1d9dadb4959924c327a58.ttl | Github Open Source | Open Source | MIT | 2,021 | IAPL | ibm-hyperknowledge | Turtle | Code | 10,400 | 48,261 | @prefix : <http://www.intelligence.tuc.gr/~batsakis/Interval-based#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
:0 a owl:NamedIndividual ;
:a :1,
:111,
:116,
:57,
:6,
:8 ;
:a_d_di_ov_oi_mi_s_si_f_fi_eq :104,
:118,
:22,
:35,
:37,
... | 33,101 |
https://github.com/sujit-pasalkar/Audio_recorder_app/blob/master/lib/recording.dart | Github Open Source | Open Source | MIT | 2,019 | Audio_recorder_app | sujit-pasalkar | Dart | Code | 1,350 | 5,416 | import 'dart:async';
import 'dart:io';
import 'package:cloud_firestore/cloud_firestore.dart';
import 'package:flutter/material.dart';
import 'package:flutter_sound/flutter_sound.dart';
import 'package:intl/intl.dart' show DateFormat;
import 'package:intl/date_symbol_data_local.dart';
import 'package:firebase_storage/f... | 29,350 |
https://github.com/MyPureCloud/platform-client-sdk-go/blob/master/platformclientv2/outcomeachievement.go | Github Open Source | Open Source | MIT | 2,020 | platform-client-sdk-go | MyPureCloud | Go | Code | 201 | 697 | package platformclientv2
import (
"time"
"github.com/leekchan/timeutil"
"encoding/json"
"strconv"
"strings"
)
// Outcomeachievement
type Outcomeachievement struct {
// Outcome - The outcome that was achieved.
Outcome *Achievedoutcome `json:"outcome,omitempty"`
// AchievedDate - Timestamp indicating when the... | 8,105 |
https://github.com/mtaghiza/tinyos-main-1/blob/master/apps/breakfast/bacon/uav/TestP.nc | Github Open Source | Open Source | BSD-3-Clause | null | tinyos-main-1 | mtaghiza | null | Spoken | 374 | 1,343 |
#include <stdio.h>
#include "decodeError.h"
module TestP{
uses interface Boot;
uses interface UartStream;
uses interface StdControl as SerialControl;
uses interface Sampler;
uses interface SplitControl as SamplerControl;
uses interface Timer<TMilli>;
provides interface AdcConfigure<const msp430adc1... | 5,455 |
https://github.com/damiansikora85/PimplePopper/blob/master/menu/FinishGamePopup.gd | Github Open Source | Open Source | MIT | 2,020 | PimplePopper | damiansikora85 | GDScript | Code | 119 | 378 | extends Control
enum finish_type {
WIN,
LOSS, # Just in case
NONE # Just in case
}
signal anim_finished(finish_type)
onready var _animation: AnimationPlayer = $AnimationPlayer
onready var _texture: TextureRect = $TextureRect
export(Vector2) var initial_position: Vector2 = Vector2.ZERO
var _center_offset: Vecto... | 43,523 |
https://github.com/kmx/perl-iup/blob/master/lib/IUP/Matrix.pod | Github Open Source | Open Source | MIT, Unlicense | 2,020 | perl-iup | kmx | null | Spoken | 7,229 | 14,277 | =for comment based on iup-3.5 - http://www.tecgraf.puc-rio.br/iup/en/ctrl/iupmatrix.html
=head1 NAME
IUP::Matrix - [GUI element] matrix of alphanumeric fields
=head1 DESCRIPTION
Creates a matrix of alphanumeric fields. Therefore, all values of the
matrixs fields are strings. The matrix is not a grid container like
... | 18,639 |
https://github.com/leandrocristovao/esquenta/blob/master/Esquenta/Repository/PeriodoVendaRepository.cs | Github Open Source | Open Source | Apache-2.0 | null | esquenta | leandrocristovao | C# | Code | 243 | 909 | using Esquenta.Entities;
using Esquenta.Repository.Extensions;
using Esquenta.Repository.Interfaces;
using NHibernate;
using NHibernate.Linq;
using System;
using System.Linq;
namespace Esquenta.Repository
{
public class PeriodoVendaRepository : BaseRepository<PeriodoVenda>, IPeriodoVendaRepository
{
p... | 42,795 |
https://github.com/nagyist/OnlyOffice-CommunityServer/blob/master/web/studio/ASC.Web.Studio/UserControls/Management/DnsSettings/DnsSettings.ascx | Github Open Source | Open Source | Apache-2.0, MPL-1.1, JSON, CC0-1.0, GPL-2.0-or-later, MIT, ISC, GPL-1.0-or-later, GPL-2.0-only, LGPL-2.1-or-later, MPL-2.0, zlib-acknowledgement, LicenseRef-scancode-public-domain, BSD-3-Clause, MS-PL, LicenseRef-scancode-ms-net-library, LicenseRef-scancode-unknown-license-reference, BSD-2-Clause, Unlicense, LicenseRef... | 2,023 | OnlyOffice-CommunityServer | nagyist | null | Spoken | 261 | 1,081 | <%@ Control Language="C#" AutoEventWireup="true" CodeBehind="DnsSettings.ascx.cs" Inherits="ASC.Web.Studio.UserControls.Management.DnsSettings.DnsSettings" %>
<%@ Import Namespace="ASC.Core" %>
<%@ Import Namespace="ASC.Web.Studio.Utility" %>
<%@ Import Namespace="ASC.Web.Studio.PublicResources" %>
<div class="clearFi... | 5,745 |
https://github.com/kpokhare/cloud-governance-client/blob/master/typescript/src/models/SiteLeasePeriodServiceSettings.ts | Github Open Source | Open Source | Apache-2.0 | 2,021 | cloud-governance-client | kpokhare | TypeScript | Code | 321 | 1,123 | /* tslint:disable */
/* eslint-disable */
/*
* Cloud Governance Api
*
* Contact: support@avepoint.com
*/
import { exists, mapValues } from '../runtime';
import {
ApiDurationType,
ApiDurationTypeFromJSON,
ApiDurationTypeFromJSONTyped,
ApiDurationTypeToJSON,
AssignBy,
AssignByFromJSON,
As... | 32,559 |
https://github.com/cryptable/ejbca-rootca/blob/master/ejbca_ce_6_15_3_0/modules/cesecore-common/src/org/cesecore/certificates/ca/CAInfo.java | Github Open Source | Open Source | MIT | null | ejbca-rootca | cryptable | Java | Code | 1,655 | 4,671 | /*************************************************************************
* *
* CESeCore: CE Security Core *
* *
* This software is... | 11,629 |
https://github.com/quozl/netrek-client-cow/blob/master/warning.h | Github Open Source | Open Source | LicenseRef-scancode-warranty-disclaimer, LicenseRef-scancode-other-permissive | 2,023 | netrek-client-cow | quozl | C | Code | 6 | 15 | /* warning.c */
void warning(char *text);
| 53,008 |
https://github.com/teachmeskills-dotnet/TMS-DotNet02-Straltsou/blob/master/src/LearnApp.WebAPI/Controllers/CardController.cs | Github Open Source | Open Source | MIT | null | TMS-DotNet02-Straltsou | teachmeskills-dotnet | C# | Code | 203 | 682 | using AutoMapper;
using LearnApp.BLL.Interfaces;
using LearnApp.DAL.DTO;
using LearnApp.DAL.Models;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Linq;
using System.Threading.Tasks;
namespace LearnApp.WebAPI.Controllers
{
/// <summary>
/// Controller whic... | 15,593 |
https://github.com/dewhurstwill/kcctl/blob/master/src/import.rs | Github Open Source | Open Source | MIT | null | kcctl | dewhurstwill | Rust | Code | 39 | 152 | use std::fs;
use std::path;
pub fn import_config(config_dir_path: path::PathBuf, kubeconfig_path: path::PathBuf, config_name: String) {
let name = String::from(config_name);
let mut config_path = config_dir_path;
config_path.push(&name.trim().to_lowercase());
match fs::copy(kubeconfig_path, config_path) {
... | 5,104 |
https://github.com/sbine/bdgt/blob/master/app/Http/Controllers/TransactionExportController.php | Github Open Source | Open Source | MIT | 2,023 | bdgt | sbine | PHP | Code | 26 | 117 | <?php
namespace App\Http\Controllers;
use App\Exports\TransactionsExport;
use Maatwebsite\Excel\Facades\Excel;
class TransactionExportController
{
public function __invoke()
{
return Excel::download(new TransactionsExport, 'bdgt-transactions.csv', \Maatwebsite\Excel\Excel::CSV, [
'Content... | 20,236 |
https://github.com/jsmarcus/azure-webjobs-sdk-extensions/blob/master/test/WebJobs.Extensions.Tests/Extensions/Timers/Scheduling/CronScheduleTests.cs | Github Open Source | Open Source | MIT | null | azure-webjobs-sdk-extensions | jsmarcus | C# | Code | 128 | 368 | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using Microsoft.Azure.WebJobs.Extensions.Timers;
using Xunit;
namespace Microsoft.Azure.WebJobs.Extensions.Tests.Timers.Scheduling
{
public class Cr... | 21,021 |
https://github.com/lordknight1904/adminMarket/blob/master/admin/server/controllers/user.controller.js | Github Open Source | Open Source | MIT | 2,018 | adminMarket | lordknight1904 | JavaScript | Code | 274 | 731 | import User from '../models/user';
import Admin from '../models/admin';
import Order from '../models/order';
import bcrypt from 'bcrypt';
import nodemailer from 'nodemailer';
import cuid from 'cuid';
import jwt from 'jsonwebtoken';
import fs from 'fs-extra';
import mongoose from 'mongoose';
import crypto from 'crypto';... | 14,020 |
https://github.com/afrazhm/snyk-intellij-plugin/blob/master/src/integTest/kotlin/io/snyk/plugin/snykcode/core/IgnoreInfoHolderPlatformTestCase.kt | Github Open Source | Open Source | Apache-2.0 | 2,021 | snyk-intellij-plugin | afrazhm | Kotlin | Code | 252 | 1,061 | package io.snyk.plugin.snykcode.core
import com.intellij.openapi.application.ApplicationManager
import com.intellij.openapi.vfs.StandardFileSystems
import com.intellij.openapi.vfs.VirtualFileManager
import com.intellij.psi.PsiFile
import com.intellij.testFramework.HeavyPlatformTestCase
import com.intellij.testFramewor... | 2,191 |
https://github.com/TAMDUC1/Finn2.0/blob/master/resources/views/blog/edit.blade.php | Github Open Source | Open Source | MIT | 2,018 | Finn2.0 | TAMDUC1 | Blade | Code | 142 | 878 | <!-- edit.blade.php -->
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>LaravelTemplate</title>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.3/js/bootstrap.min.js" integrity="sha384-a5N7Y/aK3qNeh15eJKGWxsqtnX/wWdSZSKp+81YjTmS15nvnvxKHuzaWwXHDli+4" crossorigin="anonymous"></... | 34,189 |
https://github.com/arthow4n/dictionary-from-korpusstatistik/blob/master/utils/transformFolketsLexiconToEnglishTranslationLookup.ts | Github Open Source | Open Source | MIT | null | dictionary-from-korpusstatistik | arthow4n | TypeScript | Code | 126 | 430 | import cheerio from "cheerio";
export const transformFolketsLexiconToEnglishTranslationLookup = (
xml: string
): Record<string, string[]> => {
const result: Record<string, string[]> = Object.create(null);
const $ = cheerio.load(xml);
const toValue = (x: Parameters<typeof $>[0]) => $(x).attr("value") || "";
... | 46,009 |
https://github.com/ayushsoni1010/dashboard-ui/blob/master/src/views/Chats/ChatWindowLayout/style.views.chat-window-layout.scss | Github Open Source | Open Source | MIT | 2,021 | dashboard-ui | ayushsoni1010 | SCSS | Code | 33 | 135 | div.chat-window-layout {
> div.chat-window-top-section {
padding: 0.6em;
background-color: white;
border-bottom: 1px solid var(--gray-5);
display: flex;
align-items: center;
justify-content: space-between;
> div.chat-window-top-section__cta-buttons {
display: flex;
flex-directi... | 53,109 |
https://github.com/alinawaz/panther/blob/master/tests/CoreImporterTest.php | Github Open Source | Open Source | MIT | 2,018 | panther | alinawaz | PHP | Code | 42 | 178 | <?php
use PHPUnit\Framework\TestCase;
final class CoreImporterTest extends TestCase
{
private $importer;
public function setUp()
{
$this->importer = new \Panther\Core\Importer('router');
}
public function testCanCreateImporter()
{
$importer = new \Panther\Core\Importer('route... | 30,617 |
https://github.com/UHH-ISS/beemaster-acu-lattice/blob/master/cmake/FindRocks.cmake | Github Open Source | Open Source | MIT | null | beemaster-acu-lattice | UHH-ISS | CMake | Code | 174 | 492 | # - Try to find libacu include dirs and libraries
#
# Usage of this module as follows:
#
# find_package(Rocks)
#
# Variables used by this module, they can change the default behaviour and need
# to be set before calling find_package:
#
# RDB_ROOT_DIR Set this variable to the root installation of
# ... | 51,211 |
https://github.com/Maling1255/MGNestScrollView/blob/master/MGNestScrollView/MGNestScrollView/MGTableViewManager.h | Github Open Source | Open Source | MIT | null | MGNestScrollView | Maling1255 | C | Code | 44 | 157 | //
// MGTableViewManager.h
// MGNestScrollView
//
// Created by maling on 2019/4/24.
// Copyright © 2019 maling. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "MGScrollContentView.h"
NS_ASSUME_NONNULL_BEGIN
@interface MGTableViewManager : NSObject
@property (nonatomic, strong) MGScrollContentView *scro... | 14,380 |
https://github.com/whhone/algo-java/blob/master/src/weapon/graph/shortestpath/FloydWarshall.java | Github Open Source | Open Source | MIT | 2,016 | algo-java | whhone | Java | Code | 263 | 655 | package weapon.graph.shortestpath;
import java.util.ArrayList;
import java.util.Arrays;
/**
* The Floyd–Warshall algorithm is an algorithm for finding shortest paths in a weighted graph with positive or negative
* edge weights. It can check whether a graph contains a negative cycle.
*/
public class FloydWarshall {... | 31,146 |
https://github.com/mohiva/play-html-compressor/blob/master/test/com/mohiva/play/xmlcompressor/fixtures/java/CustomXMLCompressorFilter.java | Github Open Source | Open Source | BSD-2-Clause | 2,019 | play-html-compressor | mohiva | Java | Code | 124 | 366 | /**
* Play HTML Compressor
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.md.
* It is also available through the world-wide-web at this URL:
* https://github.com/mohiva/play-html-compressor/blob/master/LICENSE.md
*/
package com.mohiva.... | 26,325 |
https://github.com/DestroyeerU/Discord-Clone/blob/master/src/components/View/index.tsx | Github Open Source | Open Source | MIT | null | Discord-Clone | DestroyeerU | TypeScript | Code | 63 | 182 | import React from 'react';
import { Container, NoDataContainer, NoDataText, LoadingSpinner } from './styles';
interface OwnProps {
children?: React.ReactNode;
loading: boolean;
hasData: boolean;
}
const View = ({ loading, hasData, children }: OwnProps) => {
if (loading) {
return (
<Container>
... | 39,117 |
https://github.com/SamuelZheng11/Sams_Website/blob/master/src/main-website/project/ProjectComponent.tsx | Github Open Source | Open Source | MIT | null | Sams_Website | SamuelZheng11 | TypeScript | Code | 130 | 595 | import { Typography } from "@mui/material";
import React from "react";
import { getYearRangeBetween } from "../../core/date.functions";
import Layout from "../../core/layout/LayoutComponent";
import LoadingSpinnerComponent from "../../core/loading/LoadingSpinnerComponent";
import Panel from "../../core/panel/PanelComp... | 11,920 |
https://github.com/pjkui/behaviac_2.0.7/blob/master/integration/BattleCityDemo/Assets/Scripts/InputManager.cs | Github Open Source | Open Source | BSD-3-Clause | 2,021 | behaviac_2.0.7 | pjkui | C# | Code | 395 | 1,315 | /////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Tencent is pleased to support the open source community by making behaviac available.
//
// Copyright (C) 2015 THL A29 Limited, a Tencent company. All rights reserved.
//
// Licensed under the BSD 3-Clau... | 7,530 |
https://github.com/TsvetanNikolov123/JAVA---Databases-Frameworks-Hibernate-And-Spring-Data/blob/master/23 WORKSHOP - MVC PROJECT SPRING DATA/ColonialCouncilBank/src/main/java/app/ccb/services/ClientServiceImpl.java | Github Open Source | Open Source | MIT | null | JAVA---Databases-Frameworks-Hibernate-And-Spring-Data | TsvetanNikolov123 | Java | Code | 258 | 1,211 | package app.ccb.services;
import app.ccb.domain.dtos.ClientImportDto;
import app.ccb.domain.entities.Card;
import app.ccb.domain.entities.Client;
import app.ccb.domain.entities.Employee;
import app.ccb.repositories.ClientRepository;
import app.ccb.repositories.EmployeeRepository;
import app.ccb.util.FileUtil;
import a... | 25,818 |
https://github.com/ktor/dotfiles/blob/master/.gitmodules | Github Open Source | Open Source | MIT | 2,022 | dotfiles | ktor | Git Config | Code | 8 | 46 | [submodule ".local/share/git-plus"]
path = .local/share/git-plus
url = git@github.com:tkrajina/git-plus.git
| 36,064 |
https://github.com/ineczka/arcusweb/blob/master/src/components/subsystem/card/card.less | Github Open Source | Open Source | Apache-2.0 | 2,020 | arcusweb | ineczka | Less | Code | 245 | 991 | arcus-subsystem-card {
display: block;
border-bottom: @border;
&:hover {
.subsystem-card-title.supported {
h3 {
color: @peacock;
}
}
}
&:last-of-type {
border-bottom: none;
}
.subsystem-card-title {
max-width: 100%;
flex-basis: 100%;
padding: @gutter;
displa... | 38,361 |
https://github.com/lyutian/django-quill/blob/master/quill/__init__.py | Github Open Source | Open Source | BSD-3-Clause | 2,021 | django-quill | lyutian | Python | Code | 6 | 30 | __version__ = '0.1.0'
default_app_config = 'quill.apps.QuillConfig'
| 51,993 |
https://github.com/InnovateUKGitHub/innovation-funding-service/blob/master/ifs-web-service/ifs-project-setup-service/src/test/java/org/innovateuk/ifs/project/spendprofile/controller/TotalProjectSpendProfileControllerTest.java | Github Open Source | Open Source | MIT | 2,022 | innovation-funding-service | InnovateUKGitHub | Java | Code | 460 | 2,823 | package org.innovateuk.ifs.project.spendprofile.controller;
import org.innovateuk.ifs.BaseControllerMockMVCTest;
import org.innovateuk.ifs.commons.rest.LocalDateResource;
import org.innovateuk.ifs.competition.publiccontent.resource.FundingType;
import org.innovateuk.ifs.competition.resource.CompetitionResource;
import... | 44,797 |
https://github.com/NCATSTranslator/connections_hypothesis_provider_client/blob/master/tests/test_client.py | Github Open Source | Open Source | Apache-2.0 | 2,021 | connections_hypothesis_provider_client | NCATSTranslator | Python | Code | 1,145 | 5,181 | """
Source code developed by DI2AG.
Thayer School of Engineering at Dartmouth College
Authors: Dr. Eugene Santos, Jr
Mr. Chase Yakaboski,
Mr. Gregory Hyde,
Mr. Luke Veenhuis,
Dr. Keum Joo Kim
"""
import unittest
import json
import logging
i... | 26,926 |
https://github.com/derekforeman/apexsharp/blob/master/Apex/ConnectApi/AbstractRecordView.cs | Github Open Source | Open Source | MIT | 2,017 | apexsharp | derekforeman | C# | Code | 50 | 195 | namespace Apex.ConnectApi
{
public class AbstractRecordView
{
public object clone()
{
throw new global::System.NotImplementedException("AbstractRecordView.Clone");
}
public bool equals(object obj)
{
throw new global::System.NotImplementedException... | 32,715 |
https://github.com/tanishiking/dotty/blob/master/tests/pos/t5013/Bar_2.scala | Github Open Source | Open Source | Apache-2.0 | 2,022 | dotty | tanishiking | Scala | Code | 15 | 31 | package b
class Bar extends a.Foo {
println(x) // Error: Not found: value x
}
| 52,795 |
https://github.com/idkfa46/zenbot-sim-runner/blob/master/app/Utility/ExchangeImporter.php | Github Open Source | Open Source | MIT | 2,022 | zenbot-sim-runner | idkfa46 | PHP | Code | 80 | 317 | <?php
namespace App\Utility;
use App\Models\Product;
use App\Models\Exchange;
class ExchangeImporter
{
private $zenbot_location = '';
function __construct(string $zenbot_location)
{
// Check location exists etc
$this->zenbot_location = $zenbot_location;
}
public funct... | 47,420 |
https://github.com/kenguish/FlightsSDR/blob/master/FlightsSDR/ViewController.m | Github Open Source | Open Source | BSD-3-Clause | 2,015 | FlightsSDR | kenguish | Objective-C | Code | 100 | 412 | //
// ViewController.m
// FlightsSDR
//
// Created by Kenneth Anguish on 8/18/15.
// Copyright © 2015 Kenneth Anguish. All rights reserved.
//
#import "ViewController.h"
@implementation ViewController
@synthesize webView;
- (void)viewDidLoad {
[super viewDidLoad];
// [[self.webView mainFrame] loadRequest:... | 2,720 |
https://github.com/MykolaBova/Hib/blob/master/orman/orman-master/orman-master/src/org/orman/dbms/Database.java | Github Open Source | Open Source | Apache-2.0 | 2,014 | Hib | MykolaBova | Java | Code | 42 | 127 | package org.orman.dbms;
import org.orman.sql.SQLGrammarProvider;
/**
* Generic database interface that databases
* should implement.
*
* @author ahmet alp balkan <ahmetalpbalkan@gmail.com>
*/
public interface Database {
public DataTypeMapper getTypeMapper();
public SQLGrammarProvider getSQLGrammar();
public... | 849 |
https://github.com/adriengivry/r_practice/blob/master/ex_12/solution.R | Github Open Source | Open Source | MIT | 2,021 | r_practice | adriengivry | R | Code | 271 | 545 | # Write a "Guess The Number" game.
# Rules:
# - The computer starts by generating a random number between 0 and 100
# - The user try guessing the number by inputting a number
# - The computer then answers:
# - It's less: if the given number is higher than the expected number
# - It's more: if the given number is lo... | 25,749 |
https://github.com/bzxy/cydia/blob/master/WeChatHelper-master/WeChatHelper/Game/XXXSendButton.h | Github Open Source | Open Source | MIT | 2,022 | cydia | bzxy | C | Code | 11 | 55 |
#import <UIKit/UIKit.h>
#import "XXXAllButtonsView.h"
@interface XXXSendButton : UIView
+ (instancetype)sharedInstance;
@end
| 12,002 |
https://github.com/Jamesagcope/Tech_TaskTP/blob/master/Tech_Task/resources/views/register.blade.php | Github Open Source | Open Source | MIT | 2,021 | Tech_TaskTP | Jamesagcope | Blade | Code | 40 | 184 | @extends('layout.master')
@section('register')
<h3 align="center">Register new account</h3>
<br/>
<form method="post" action="{{URL::to('/create')}}">
{{ csrf_field() }}
<div class="form-group">
<input placeholder="Email" type="email" name="email" class="form-control"/>
</div>
<div class="form... | 48,790 |
https://github.com/chances/wasmer/blob/master/lib/cli/src/utils.rs | Github Open Source | Open Source | MIT | 2,020 | wasmer | chances | Rust | Code | 202 | 593 | //! Utility functions for the WebAssembly module
use anyhow::{bail, Result};
use std::env;
use std::path::PathBuf;
/// Whether or not Wasmer should print with color
pub fn wasmer_should_print_color() -> bool {
env::var("WASMER_COLOR")
.ok()
.and_then(|inner| inner.parse::<bool>().ok())
.unw... | 17,092 |
https://github.com/liuqingliu/SuperPower/blob/master/app/Jobs/SendSms.php | Github Open Source | Open Source | MIT | 2,021 | SuperPower | liuqingliu | PHP | Code | 114 | 453 | <?php
/**
* Created by IntelliJ IDEA.
* User: liuqing
* Date: 2018/8/31
* Time: 22:13
*/
namespace App\Jobs;
use Illuminate\Bus\Queueable;
use Illuminate\Queue\SerializesModels;
use Illuminate\Queue\InteractsWithQueue;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Foundation\Bus\Dispatchable;
use Ill... | 27,187 |
https://github.com/ryanesmores07/Pagkaon-Davao/blob/master/sass/_header.scss | Github Open Source | Open Source | MIT | 2,021 | Pagkaon-Davao | ryanesmores07 | SCSS | Code | 31 | 122 | .header {
display: grid;
grid-row: 1 / span 2;
grid-column: full-start / full-end;
background-image: linear-gradient(rgba($color-primary, .2), rgba($color-primary, .2)), url(../img/background.jpg);
background-size: cover;
opacity: 0.5;
}
.header {
font-size: 5rem;
font-fami... | 18,771 |
https://github.com/area17/twill-transformers/blob/master/src/Contracts/DataTranslatable.php | Github Open Source | Open Source | MIT | 2,023 | twill-transformers | area17 | PHP | Code | 7 | 29 | <?php
namespace A17\TwillTransformers\Contracts;
interface DataTranslatable
{
}
| 5,779 |
https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/src/operationsInterfaces/backupStatus.ts | Github Open Source | Open Source | MIT, LicenseRef-scancode-generic-cla | 2,023 | azure-sdk-for-js | Azure | TypeScript | Code | 95 | 201 | /*
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/
import {
BackupStatusRequest,
BackupStatusGetOptionalParams,
BackupStatusGetRespons... | 4,588 |
https://github.com/s-matyukevich/cilium/blob/master/examples/mesos/Vagrantfile | Github Open Source | Open Source | Apache-2.0, GPL-1.0-or-later | 2,020 | cilium | s-matyukevich | Ruby | Code | 237 | 1,113 | # -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.require_version ">= 2.0.0"
$bootstrap = <<SCRIPT
sudo sed -i -re 's/([a-z]{2}\.)?archive.ubuntu.com|security.ubuntu.com/old-releases.ubuntu.com/g' /etc/apt/sources.list
apt-get update
#apt-get -y upgrade
#install new kernel?
apt -y install docker.io
curl -sL http://r... | 8,469 |
https://github.com/opensessions/open-sessions/blob/master/app/components/Fields/Pricing/index.js | Github Open Source | Open Source | MIT | 2,018 | open-sessions | opensessions | JavaScript | Code | 559 | 1,591 | import React, { PropTypes } from 'react';
import { IconRadio, TextField, PriceField, Checkbox, JSONList } from '../../Fields';
import PriceSVG from '../../SVGs/Price';
import PaymentMethodSVG from '../../SVGs/PaymentMethod';
import FeatureModal from '../../../containers/Modals/Feature';
import styles from './styles.... | 32,816 |
https://github.com/duanguang/react-redux-demo/blob/master/dominSite.config.ts | Github Open Source | Open Source | MIT | 2,016 | react-redux-demo | duanguang | TypeScript | Code | 58 | 185 | /**
* Created by XD on 2016/7/12.
*/
export module Platform{
export var open="demo";
}
export const compilePath='./client/'+Platform.open+"/index";
export const serverProtocol="http";
export const serverHost="192.168.0.110";
export const serverPort=3006;
export const serverUri=serverProtocol+"://"+serverHost+":"+... | 1,138 |
https://github.com/Seniru/backend/blob/master/validation/Dockerfile | Github Open Source | Open Source | MIT | 2,021 | backend | Seniru | Dockerfile | Code | 99 | 274 | # https://github.com/baleyko/docker-luvit/blob/master/Dockerfile
FROM ubuntu:xenial
# Install luvit
RUN apt-get update -yqq \
&& apt-get install -yqq --no-install-recommends \
ca-certificates \
build-essential \
curl \
&& rm -rf /var/lib/apt/lists/*
RUN export LIT_VERSION=3.8.1 \
&& export LUVI_VERSION=2.10.... | 51,235 |
https://github.com/AnkurBansalSF/loopback4-microservice-catalog/blob/master/sandbox/workflow-ms-example/src/migrate.ts | Github Open Source | Open Source | MIT | 2,022 | loopback4-microservice-catalog | AnkurBansalSF | TypeScript | Code | 66 | 174 | import dotenv from 'dotenv';
import {WorkflowHelloworldApplication} from './application';
dotenv.config();
export async function migrate(args: string[]) {
const existingSchema = args.includes('--rebuild') ? 'drop' : 'alter';
const app = new WorkflowHelloworldApplication();
await app.boot();
await app.migrate... | 11,095 |
https://github.com/Callindrill/DnDSimulator/blob/master/DnDSimulator/Character/Charisma.cs | Github Open Source | Open Source | MIT | null | DnDSimulator | Callindrill | C# | Code | 26 | 79 | using DnDSimulator.Interfaces;
namespace DnDSimulator.Character
{
public class Charisma : Ability, ICharisma
{
public delegate Charisma Factory(int score);
public Charisma(int score) : base(score)
{
}
}
} | 20,562 |
https://github.com/shivankhullar/CloudTracker/blob/master/matcher/matcher_functions.cpp | Github Open Source | Open Source | MIT | null | CloudTracker | shivankhullar | C++ | Code | 1,384 | 6,063 | #include "matcher_functions.h"
#include "structs_and_classes.h"
#include <H5Cpp.h>
using namespace H5;
void write_to_hdf5_file(CitySnaps snapsnap, Params ¶ms, int parent_num_clouds, int child_num_clouds)
{
H5std_string fname = params.path+params.write_filename_base_prefix + get_snapshot_name(snapsnap.snap_num1) ... | 35,207 |
https://github.com/TheRakeshPurohit/Rocket.Chat.Fuselage/blob/master/packages/ui-kit/src/blocks/RenderableBlock.ts | Github Open Source | Open Source | MIT | null | Rocket.Chat.Fuselage | TheRakeshPurohit | TypeScript | Code | 20 | 44 | import type { Block } from './Block';
import type { ConditionalBlock } from './layout/ConditionalBlock';
export type RenderableBlock = Exclude<Block, ConditionalBlock>;
| 7,042 |
https://github.com/h2oai/h2o-3/blob/master/h2o-hadoop-2/tests/python/pyunit_s3_import_export.py | Github Open Source | Open Source | Apache-2.0 | 2,023 | h2o-3 | h2oai | Python | Code | 197 | 738 | #! /usr/env/python
import sys, os
sys.path.insert(1, os.path.join("..", "..", ".."))
from tests import pyunit_utils
from datetime import datetime
import h2o
import uuid
from pandas.util.testing import assert_frame_equal
import boto3
import warnings
def get_supported_filesystems():
spec = os.getenv('HADOOP_S3_FI... | 45,444 |
https://github.com/juunie-roh/RealtimeVideoTranslator/blob/master/main/src/org/realtimetranslator/Main.java | Github Open Source | Open Source | Apache-2.0 | 2,021 | RealtimeVideoTranslator | juunie-roh | Java | Code | 106 | 509 | package org.realtimetranslator;
import org.realtimetranslator.captor.DefaultScreenCaptor;
import org.realtimetranslator.listener.LoggingListenerMock;
import org.realtimetranslator.listener.GUITranslatorLister;
import org.realtimetranslator.reader.TesseractReader;
import org.realtimetranslator.setting.DefaultScreenSett... | 17,355 |
https://github.com/Harely-Quinn/Eleirbag89-TelegramBotPHP/blob/master/test.php | Github Open Source | Open Source | MIT | null | Eleirbag89-TelegramBotPHP | Harely-Quinn | PHP | Code | 527 | 1,766 | <?php
/**
* Telegram Cowsay Bot Example.
* Add @cowmooobot to try it!
*
* @author Gabriele Grillo <gabry.grillo@alice.it>
*/
include 'Telegram.php';
// Set the bot TOKEN
$bot_token = '5132260282:AAFgVVmhexEGLvKAjqzl8uXAqKL-D3ns9g0';
// Instances the class
$telegram = new Telegram($bot_token);
/* If you need to m... | 12,814 |
https://github.com/destiaarti/broadcast-wa-ci/blob/master/application/views/layouts/_sidebar.php | Github Open Source | Open Source | MIT | null | broadcast-wa-ci | destiaarti | PHP | Code | 156 | 683 | <!-- Left side column. contains the logo and sidebar -->
<aside class="main-sidebar">
<!-- sidebar: style can be found in sidebar.less -->
<section class="sidebar">
<!-- Sidebar user panel (optional) -->
<div class="user-panel">
<div class="pull-left image">
<img src="<?php echo base_url('assets... | 53,321 |
https://github.com/W3SS/oodk-js-oop-for-js/blob/master/src/foundation/utility/Url.js | Github Open Source | Open Source | MIT | 2,016 | oodk-js-oop-for-js | W3SS | JavaScript | Code | 562 | 2,686 |
OODK('foundation.util', function($, _){
$.public().implements(OODK.foundation.Cloneable).class(function Url($, µ, _){
$.protected('protocol', "");
$.protected('hostname', "");
$.protected('port', "");
$.protected('search', "");
$.protected('pathname', "");
$.protected('hash', "");
$.public(func... | 18,590 |
https://github.com/HuyNguyen206/huynguyen206.github.io/blob/master/database/seeds/AddPermisionSeeder.php | Github Open Source | Open Source | MIT | 2,020 | huynguyen206.github.io | HuyNguyen206 | PHP | Code | 318 | 1,272 | <?php
use Illuminate\Database\Seeder;
class AddPermisionSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
//
DB::table('permissions')->insert([
['id'=>1, 'name'=>'Category', 'display_name'=>'Category', 'parent_... | 46,161 |
https://github.com/arjix/nixpkgs/blob/master/pkgs/development/python-modules/pyqt/pyqt5-fix-dbus-mainloop-support.patch | Github Open Source | Open Source | MIT | 2,022 | nixpkgs | arjix | null | Spoken | 391 | 1,138 | From 944d5467e1655aac20a14325631df6daccaf5804 Mon Sep 17 00:00:00 2001
From: Jan Tojnar <jtojnar@gmail.com>
Date: Sun, 3 Mar 2019 01:13:46 +0100
Subject: [PATCH] Fix building on Nix
./configure.py tries to find dbus-python header in dbus-1 includedir
obtained from pkg-config or from --dbus flag. Unfortunately, when su... | 7,297 |
https://github.com/rikhoffbauer/tsquery/blob/master/test/descendant.spec.ts | Github Open Source | Open Source | MIT | null | tsquery | rikhoffbauer | TypeScript | Code | 67 | 170 | // Dependencies:
import { IfStatement } from 'typescript';
import { conditional } from './fixtures';
// Under test:
import { tsquery } from '../src/index';
describe('tsquery:', () => {
describe('tsquery - descendant:', () => {
it('should find any nodes that are a descendant of another node', () => {
const... | 30,064 |
https://github.com/JWootts/Project-Marco/blob/master/ProjectMarco/Models/Team.cs | Github Open Source | Open Source | MIT | null | Project-Marco | JWootts | C# | Code | 69 | 194 | using ProjectMarco.Helpers;
using ProjectMarco.Interface;
using System;
namespace ProjectMarco.Models
{
public class Team : IModel
{
public Team(Player plr, int teamNum)
{
int? returnVal = MemHandler.ReturnHandler().ReadInt(Convert.ToString((int)plr.Offset + teamNum, 16));
this.Offset = (returnVal != null... | 52,337 |
https://github.com/terrencetec/kontrol/blob/master/kontrol/curvefit/__init__.py | Github Open Source | Open Source | MIT | 2,021 | kontrol | terrencetec | Python | Code | 20 | 36 | from .curvefit import *
from .cost import *
from .error_func import *
from .transfer_function import *
from . import model
| 22,650 |
https://github.com/katahiromz/MZC4/blob/master/samples/MsgCrack/data/MGdiObject.hpp.dat | Github Open Source | Open Source | LicenseRef-scancode-public-domain, MIT | 2,022 | MZC4 | katahiromz | C++ | Code | 280 | 1,060 | // MGdiObject.hpp -- Win32API GDI object wrapper -*- C++ -*-
// This file is part of MZC4. See file "ReadMe.txt" and "License.txt".
////////////////////////////////////////////////////////////////////////////
#ifndef MZC4_MGDIOBJECT_HPP_
#define MZC4_MGDIOBJECT_HPP_ 2 /* Version 2 */
class MGdiO... | 10,863 |
https://github.com/aai/rack/blob/master/manifest/proxy.go | Github Open Source | Open Source | Apache-2.0 | 2,016 | rack | aai | Go | Code | 113 | 335 | package manifest
import "fmt"
type Proxy struct {
Name string
Balancer int
Container int
Protocol string
Host string
Network string
Proxy bool
Secure bool
}
func (p *Proxy) Start() error {
Docker("rm", "-f", p.Name).Run()
args := []string{"run"}
args = append(args, "--rm", "--name", p.Name)... | 25,812 |
https://github.com/aufgetischt/aufgetischt.github.io/blob/master/themes/Saga/partials/footer.hbs | Github Open Source | Open Source | MIT | null | aufgetischt.github.io | aufgetischt | null | Spoken | 24 | 142 | <section class="colophon">
<section class="copyright">© 2015 <span itemprop="copyrightHolder">{{@blog.title}}</span> <a href="http://aufgetischt.es/hubpress/impressum.html">Impressum</a></section>
</section>
<section class="bottom">
<section class="attribution">
<a href="http://aufge... | 33,370 |
https://github.com/MatteoRebecchiMari/frontweb-samples/blob/master/src/hello-world-angular/src/app/highlight.directive.ts | Github Open Source | Open Source | MIT | null | frontweb-samples | MatteoRebecchiMari | TypeScript | Code | 73 | 197 | import { Directive, ElementRef, HostListener } from '@angular/core';
@Directive({
selector: '[appHighlight]'
})
export class HighlightDirective {
// using private el its like a syntax sugar used in Dart like this.el
// The element is passed by injection
constructor(private el: ElementRef) {
this.highlight... | 47,925 |
https://github.com/hageveld/hageveldexperience.nl/blob/master/src/components/AdminPanel/components/SEO.tsx | Github Open Source | Open Source | MIT | 2,021 | hageveldexperience.nl | hageveld | TSX | Code | 60 | 250 | import React, { FunctionComponent, Fragment } from 'react';
import { Switch } from 'antd';
import axios from 'axios';
const API_KEY = 'AIzaSyBKS-JGLuKIDSMkAidVSb4LuEdh0nlfnac';
const SEO: FunctionComponent = () => {
axios
.post(
`https://www.googleapis.com/webmasters/v3/sites/hageveldexperienc... | 47,487 |
https://github.com/tulir293/Maunsic/blob/master/src/org/apache/bcel/classfile/ConstantCP.java | Github Open Source | Open Source | MIT | 2,019 | Maunsic | tulir293 | Java | Code | 421 | 1,028 | /*
* Copyright 2000-2004 The Apache Software Foundation
*
* 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 b... | 32,656 |
https://github.com/lheckemann/namic-sandbox/blob/master/4DModules/Misc/lapack-3.1.1/manpages/man/manl/slaed8.l | Github Open Source | Open Source | BSD-3-Clause | 2,014 | namic-sandbox | lheckemann | null | Spoken | 832 | 1,595 | .TH SLAED8 1 "November 2006" " LAPACK routine (version 3.1) " " LAPACK routine (version 3.1) "
.SH NAME
SLAED8 - the two sets of eigenvalues together into a single sorted set
.SH SYNOPSIS
.TP 19
SUBROUTINE SLAED8(
ICOMPQ, K, N, QSIZ, D, Q, LDQ, INDXQ, RHO,
CUTPNT, Z, DLAMDA, Q2, LDQ2, W, PERM, GIVPTR,
GIVCOL, GIVNUM,... | 23,604 |
https://github.com/MurshidMac/AIDemos/blob/master/ChutesAndLaddersDemo/Simulation/ChutesAndLadders.Strategy.Random/Extensions.cs | Github Open Source | Open Source | MIT | null | AIDemos | MurshidMac | C# | Code | 74 | 222 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ChutesAndLadders.Strategy.Random
{
public static class Extensions
{
public static int GetRandom(this IEnumerable<int> moves)
{
int result;
if (... | 36,688 |
https://github.com/gtedescooficial/cmsexemplo/blob/master/application/migrations/002_Add_Tbl_resetpassword.php | Github Open Source | Open Source | MIT | null | cmsexemplo | gtedescooficial | PHP | Code | 94 | 377 | <?php
//========================================================//
//========SET DAS TABELAS BASICAS PARA O SISTEMA==========/
//========================================================//
//--usuarios, reset_password, categorias, subcategorias
defined('BASEPATH') OR exit('No direct script access allowed');
class Migr... | 49,619 |
https://github.com/kreativityapps/fontify/blob/master/lib/src/common/outline.dart | Github Open Source | Open Source | MIT | 2,022 | fontify | kreativityapps | Dart | Code | 523 | 1,333 | import 'dart:math';
import '../utils/misc.dart';
/// How shapes with more than one closed outlines are filled.
///
/// * CharStrings must always be the nonzero
/// * TrueType is either always nonzero
/// or evenodd/nonzero according to OVERLAP_SIMPLE flag
/// (depending on rasterizer implementation)
/// * SVG can be ... | 46,200 |
https://github.com/sueken5/resea/blob/master/servers/memmgr/main.rs | Github Open Source | Open Source | MIT, CC0-1.0 | 2,019 | resea | sueken5 | Rust | Code | 833 | 2,662 | use crate::arch::*;
use crate::initfs::{File, Initfs};
use crate::process::ProcessManager;
use resea::allocator::PageAllocator;
use resea::collections::HashMap;
use resea::idl;
use resea::prelude::*;
use resea::ptr;
use resea::mainloop::DeferredWorkResult;
use resea::PAGE_SIZE;
extern "C" {
static __initfs: Initfs... | 31,574 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.