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/imvm/Regex/blob/master/Source/Matcher.swift | Github Open Source | Open Source | MIT | 2,022 | Regex | imvm | Swift | Code | 1,472 | 3,939 | // The MIT License (MIT)
//
// Copyright (c) 2019 Alexander Grebenyuk (github.com/kean).
import Foundation
import os.log
// MARK: - Matching
protocol Matching {
/// Returns the next match in the input.
func nextMatch() -> Regex.Match?
}
// MARK: - BacktrackingMatcher
/// A [DFS-based (Backtracking) algorit... | 51,269 |
https://github.com/rafaeldff/nixpkgs/blob/master/pkgs/desktops/kde-5/plasma/khotkeys.nix | Github Open Source | Open Source | MIT | null | nixpkgs | rafaeldff | null | Spoken | 65 | 278 | { plasmaPackage, ecm, kdoctools, kcmutils
, kdbusaddons, kdelibs4support, kglobalaccel, ki18n, kio, kxmlgui
, plasma-framework, plasma-workspace, qtx11extras
, fetchpatch
}:
plasmaPackage {
name = "khotkeys";
nativeBuildInputs = [ ecm kdoctools ];
patches = [
# Patch is in 5.9 and up.
(fetchpatch {
... | 10,198 |
https://github.com/topdsoft/computare2.0/blob/master/app/View/Customers/edit_pricing.ctp | Github Open Source | Open Source | MIT | 2,019 | computare2.0 | topdsoft | PHP | Code | 120 | 782 | <div class="customers form">
<?php echo $this->Form->create('Customer'); ?>
<fieldset>
<legend><?php echo __('Edit Pricing for Customer: ').$this->request->data['Customer']['name']; ?></legend>
<?php
echo $this->Form->input('id');
echo $this->Form->input('CustomerDetail.customer_id',array('type'=>'hidden'));
//... | 54,402 |
https://github.com/jbramwell/MD2WP/blob/master/MD2WP.Shared/Interfaces/IRestHttpClient.cs | Github Open Source | Open Source | MIT | null | MD2WP | jbramwell | C# | Code | 54 | 181 | using System.Net.Http;
using System.Threading.Tasks;
using MoonspaceLabs.Shared.BaseClasses;
namespace MoonspaceLabs.Shared.Interfaces
{
public interface IRestHttpClient
{
Task<T> GetAsync<T>(AuthenticationBase authentication, string address);
Task PutAsync(AuthenticationBase authentication, ... | 36,513 |
https://github.com/muddessir/framework/blob/master/machine/qemu/sources/u-boot/drivers/net/ks8851_mll.c | Github Open Source | Open Source | MIT | 2,021 | framework | muddessir | C | Code | 2,243 | 7,124 | // SPDX-License-Identifier: GPL-2.0+
/*
* Micrel KS8851_MLL 16bit Network driver
* Copyright (c) 2011 Roberto Cerati <roberto.cerati@bticino.it>
*/
#include <log.h>
#include <asm/io.h>
#include <common.h>
#include <command.h>
#include <malloc.h>
#include <net.h>
#include <miiphy.h>
#include <linux/delay.h>
#includ... | 43,832 |
https://github.com/koioannis/University-Project-Simple-e-Commerce-Android-App/blob/master/app/src/main/java/com/koioannis/javacourse_eshop/model/Customer.java | Github Open Source | Open Source | MIT | 2,019 | University-Project-Simple-e-Commerce-Android-App | koioannis | Java | Code | 76 | 210 | package com.koioannis.javacourse_eshop.model;
public class Customer {
String name, email, address, postalCode, phone;
public Customer(String name, String email, String address, String postalCode, String telephone) {
this.name = name;
this.email = email;
this.address = address;
this.postalCode = postalCod... | 5,847 |
https://github.com/tomhero/dw-todo-app-exam/blob/master/src/components/Base/TodoItem/TodoItem.stories.tsx | Github Open Source | Open Source | MIT | null | dw-todo-app-exam | tomhero | TypeScript | Code | 102 | 260 | import React from 'react';
import { Meta, Story } from '@storybook/react';
import { Provider } from 'react-redux';
import store from '@redux/store';
import { TODO_STATUS } from '@models/todo';
import TodoItem, { TodoItemProps } from './TodoItem';
export default {
title: 'Base/TodoItem',
component: TodoItem,
para... | 18,886 |
https://github.com/andriyl1993/taxi/blob/master/taxi_app/static/js/main_menu.js | Github Open Source | Open Source | MIT | 2,015 | taxi | andriyl1993 | JavaScript | Code | 387 | 1,548 | function getToken() {
var token = document.getElementsByName('csrfmiddlewaretoken')[0].value;
return 'csrfmiddlewaretoken=' + token;
}
$(function() {
$("#change_state").click(function() {
var state = 0;
var state_new = 0;
if ($("#state button b").html() == "offline") {
state = 2;
state_ne... | 26,113 |
https://github.com/Cjkkkk/SPLCompiler/blob/master/test/test.cpp | Github Open Source | Open Source | MIT | 2,020 | SPLCompiler | Cjkkkk | C++ | Code | 33 | 68 | #include <iostream>
int main() {
int x = 1;
int y = 2;
char z = 3;
int l = 5;
int e = 10;
std::string s = "34344";
std::cout << s;
} | 44,204 |
https://github.com/linzhepeng/gowp/blob/master/gowp_test.go | Github Open Source | Open Source | MIT | 2,021 | gowp | linzhepeng | Go | Code | 191 | 551 | package gowp
import (
"sync"
"sync/atomic"
"testing"
)
var sum int64
var runTimes = 1000000
var wg = sync.WaitGroup{}
var lock sync.Mutex
func demoJob(v ...interface{}) {
defer wg.Done()
for i := 0; i < 100; i++ {
lock.Lock()
sum += int64(1)
lock.Unlock()
}
}
func demoJob2(v ...interface{}) {
defer wg.... | 20,421 |
https://github.com/Talgeyou/anime-project/blob/master/src/types/Character.type.ts | Github Open Source | Open Source | MIT | null | anime-project | Talgeyou | TypeScript | Code | 28 | 72 | export type CharacterType = {
id: number;
name: {
full: string;
};
image: {
large: string;
medium: string;
};
gender: "FEMALE" | "MALE";
age: number | null;
};
| 39,786 |
https://github.com/Alles-im-Rudel/alles-im-rudel-backend/blob/master/app/Http/Controllers/UserGroup/UserGroupController.php | Github Open Source | Open Source | MIT | null | alles-im-rudel-backend | Alles-im-Rudel | PHP | Code | 331 | 1,358 | <?php
namespace App\Http\Controllers\UserGroup;
use App\Http\Controllers\BaseController;
use App\Http\Requests\User\UserShowRequest;
use App\Http\Requests\UserGroup\UserGroupAllRequest;
use App\Http\Requests\UserGroup\UserGroupDeleteRequest;
use App\Http\Requests\UserGroup\UserGroupIndexRequest;
use App\Http\Requests... | 45,042 |
https://github.com/FeBagnato/Generic-Menu/blob/master/main.cpp | Github Open Source | Open Source | MIT | null | Generic-Menu | FeBagnato | C++ | Code | 292 | 1,063 | #include<iostream>
#include<ncurses.h>
#include <sys/ioctl.h>
#include <unistd.h>
using namespace std;
int main(){
int c;
int optionsConf[4] = {0,0,0,0};
int optionLocation = 1;
// Get the number of rows in the terminal
struct winsize size;
ioctl(STDOUT_FILENO, TIOCGWINSZ, &size);
int terminalRow = size... | 38,109 |
https://github.com/ejrbuss/yali-js/blob/master/src/reader.js | Github Open Source | Open Source | MIT | null | yali-js | ejrbuss | JavaScript | Code | 388 | 1,461 | import { List as IList } from "immutable";
import { Keyword } from "./keyword.js";
import { Scanner } from "./scanner.js";
import { ConstructorSymbols, Special, SpecialForms } from "./symbols.js";
export class IncompleteForm extends SyntaxError {}
const ReWhitepsace = /^(\s|(;[^\n]*))+/;
const ReString = /^"((\\.)|[^... | 25,645 |
https://github.com/alagoutte/Unity-Powershell/blob/master/Tools/Readthedocs/Update-Doc.ps1 | Github Open Source | Open Source | MIT | 2,017 | Unity-Powershell | alagoutte | PowerShell | Code | 117 | 363 | $ProjectRoot = 'F:\Code\GitHub\Unity-Powershell'
Import-Module "$ProjectRoot\Unity-Powershell" -Force
#Build YAMLText starting with the header
$YMLtext = (Get-Content "$ProjectRoot\header-mkdocs.yml") -join "`n"
$YMLtext = "$YMLtext`n"
$YMLText = "$YMLtext - Functions References:`n"
# Drain the swamp
$parameters = ... | 14,040 |
https://github.com/spreusler/PHP-Taschenrechner/blob/master/action.php | Github Open Source | Open Source | MIT | null | PHP-Taschenrechner | spreusler | PHP | Code | 161 | 600 | <?php
@ob_start();
session_start();
?>
<!DOCTYPE html>
<html>
<body>
<?php
include 'header.php';
?>
<h1>2. Ergebnis</h1>
<?php
// Variablendeklaration
$op1 = $_POST['operand1'];
$op2 = $_POST['operand2'];
$_SESSION["name"] = htmlspecialchars($_POST['name']);
$_SESSION["age"] = htmlspecialchars($_POST['age']);
$_SE... | 21,638 |
https://github.com/CamilaZavanS/node.js/blob/master/model/contractDAO.js | Github Open Source | Open Source | Apache-2.0 | 2,018 | node.js | CamilaZavanS | JavaScript | Code | 875 | 2,240 | var db = require('../util/pooldb.js')
exports.select = function (req, res){
selectSQL = "select * from contract where companygroupid = " + req.body.groupid + " limit 10"
db.execSelect(req, res, selectSQL)
}
exports.selectById = function (req, res, id){
selectSQL = "select * from member where contract... | 25,803 |
https://github.com/MSylvia/Lemma/blob/master/Lemma/Graphics/Camera.cs | Github Open Source | Open Source | Unlicense, MIT | 2,022 | Lemma | MSylvia | C# | Code | 949 | 3,701 | using System; using ComponentBind;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Audio;
using Lemma.Util;
using System.Xml.Serialization;
namespace Lemma.... | 15,482 |
https://github.com/Andreas237/AndroidPolicyAutomation/blob/master/ExtractedJars/Health_com.huawei.health/smali_classes6/com/huawei/logupload/g.smali | Github Open Source | Open Source | MIT | 2,019 | AndroidPolicyAutomation | Andreas237 | Smali | Code | 34 | 115 | .class public interface abstract Lcom/huawei/logupload/g;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Landroid/os/IInterface;
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/huawei/logupload/g$a;
}
.end annotation
# virtual methods
.meth... | 24,206 |
https://github.com/Jessetl/Alice/blob/master/resources/views/parciales/forms/secciones-fields.blade.php | Github Open Source | Open Source | MIT | null | Alice | Jessetl | PHP | Code | 66 | 308 |
<div class="span4">
<div class="form-group">
{!! Form::label('cursos','Cursos')!!}
{!! Form::select('id_curso',$cursos,null,['class' => 'form-control','required' => 'required', 'title' => 'Seleccione un Curso', 'id' => 'id_curso','onchange' => 'secciones()', 'placeholder' => 'SELECCIONE']) !!}
</div>
<div clas... | 46,395 |
https://github.com/vorotynsky/ParseCpp/blob/master/tests/some.test.cpp | Github Open Source | Open Source | Apache-2.0 | 2,020 | ParseCpp | vorotynsky | C++ | Code | 288 | 856 | // Copyright 2020 Vorotynsky Maxim
//
// 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 agree... | 52,824 |
https://github.com/venkatperi/jsgradle/blob/master/build/gen/CoffeescriptConvention.coffee | Github Open Source | Open Source | MIT | null | jsgradle | venkatperi | CoffeeScript | Code | 23 | 61 | Convention = undefined
try
rek = require 'rekuire'
Convention = rek 'SourceMapConvention'
catch
Convention = require('kohi').SourceMapConvention
class CoffeescriptConvention extends Convention
module.exports = CoffeescriptConvention | 23,283 |
https://github.com/AkashBabu/supervised-emitter/blob/master/types/src/errors.d.ts | Github Open Source | Open Source | MIT | null | supervised-emitter | AkashBabu | TypeScript | Code | 25 | 38 | /**
* This error will be thrown when an invalid wildcards sequence
* is detected
*/
export declare class InvalidPatternError extends Error {
constructor();
}
| 11,347 |
https://github.com/huobibny015/SoftwareZator-2012/blob/master/DLL/VelerSoftware.SZC/Obfuscator/Mono.Cecil/Mono.Cecil/ParameterDefinitionCollection.cs | Github Open Source | Open Source | Apache-2.0 | 2,018 | SoftwareZator-2012 | huobibny015 | C# | Code | 180 | 445 | // *****************************************************************************
//
// © Veler Software 2012. All rights reserved.
// The current code and the associated software are the proprietary
// information of Etienne Baudoux from Veler Software and are
// supplied subject to licence terms.
//
// www.vel... | 31,449 |
https://github.com/henfredemars/php-wall-project/blob/master/do_login.php | Github Open Source | Open Source | Apache-2.0 | null | php-wall-project | henfredemars | PHP | Code | 171 | 669 | <form action="login.php" method="POST">
Username:
<input type="text" name="username">
Password:
<input type="password" name="password">
<input type="submit" value="Submit Login" class="btn btn-default">
</form>
<?php
include_once("util.php");
include("password.php");
inc_pages_served();
function check_ip_recent($... | 34,793 |
https://github.com/MyPureCloud/wysiwyg-html-editor/blob/master/src/templates/defaultToolbar.hbs | Github Open Source | Open Source | MIT | null | wysiwyg-html-editor | MyPureCloud | null | Spoken | 76 | 386 | <span class="ql-formats">
<button class="ql-bold" {{tooltip "bold"}}></button>
<button class="ql-italic" {{tooltip "italic"}}></button>
<button class="ql-underline" {{tooltip "underline"}}></button>
<button class="ql-strike" {{tooltip "strikethrough"}}></button>
</span>
<span class="ql-formats">
<select class... | 31,305 |
https://github.com/atlassian/hazelcast/blob/master/hazelcast/src/main/java/com/hazelcast/internal/diagnostics/PendingInvocationsPlugin.java | Github Open Source | Open Source | Apache-2.0 | 2,016 | hazelcast | atlassian | Java | Code | 387 | 1,114 | /*
* Copyright (c) 2008-2016, Hazelcast, Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required ... | 54,457 |
https://github.com/rx-angular/rx-angular/blob/master/apps/demos/src/app/rx-angular-pocs/cdk/debug/dirty-check/dirty-checks.module.ts | Github Open Source | Open Source | MIT | 2,023 | rx-angular | rx-angular | TypeScript | Code | 34 | 107 | import { NgModule } from '@angular/core';
import { DirtyChecksComponent } from './dirty-checks.component';
import { CommonModule } from '@angular/common';
const DEPRECATIONS = [DirtyChecksComponent];
@NgModule({
declarations: [...DEPRECATIONS],
imports: [CommonModule],
exports: [...DEPRECATIONS],
})
export clas... | 46,700 |
https://github.com/RomVault/RVWorld/blob/master/RomVaultCore/FindFix/FindFixes.cs | Github Open Source | Open Source | Apache-2.0 | 2,022 | RVWorld | RomVault | C# | Code | 1,455 | 4,729 | using System;
using System.Collections.Generic;
using System.Diagnostics;
using FileHeaderReader;
using RomVaultCore.RvDB;
using RomVaultCore.Utils;
namespace RomVaultCore.FindFix
{
public static class FindFixes
{
private static ThreadWorker _thWrk;
private static int _progressCounter;
... | 37,275 |
https://github.com/nicloay/Node-Inspector/blob/master/Assets/NodeInspector/Scripts/Editor/GraphData.cs | Github Open Source | Open Source | MIT | 2,021 | Node-Inspector | nicloay | C# | Code | 327 | 1,082 | using UnityEngine;
using System.Collections.Generic;
using System.Collections;
using System.Reflection;
using System;
using System.Linq;
using UnityEditor;
namespace NodeInspector.Editor{
public class GraphData {
public ScriptableObject ParentObject;
public Type ItemBaseType{get; private set;... | 2,868 |
https://github.com/AJIXuMuK/sp-starter-kit/blob/master/solution/src/extensions/portalFooter/loc/sv-se.js | Github Open Source | Open Source | MIT | 2,020 | sp-starter-kit | AJIXuMuK | JavaScript | Code | 35 | 135 | define([], function () {
return {
"Title": "PortalFooterApplicationCustomizer",
"MyLinks": "Mina Länkar",
"ToggleButtonOpen": "Öppna",
"ToggleButtonClose": "Stäng",
"Edit": "Redigera",
"EditTitle": "Välj sidfotens länkar",
"MyLinksSaveSuccess": "Mina länkar har sparats!",
"MyLinksSaveF... | 31,792 |
https://github.com/ll931217/dotfiles/blob/master/.gitmodules | Github Open Source | Open Source | MIT | 2,023 | dotfiles | ll931217 | Git Config | Code | 8 | 49 | [submodule ".config/nvim/lua/user"]
path = .config/nvim/lua/user
url = https://github.com/ll931217/astronvim_config
| 20,527 |
https://github.com/RyanZailab/libphonenumber/blob/master/cpp/src/phonenumbers/regex_based_matcher.cc | Github Open Source | Open Source | Apache-2.0 | 2,022 | libphonenumber | RyanZailab | C++ | Code | 216 | 679 | /*
* Copyright (C) 2014 The Libphonenumber 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 applicable la... | 11,047 |
https://github.com/notti/dis_se/blob/master/testbench/tb_cpu.vhd | Github Open Source | Open Source | BSD-2-Clause | null | dis_se | notti | VHDL | Code | 2,192 | 5,921 | library IEEE;
use IEEE.STD_LOGIC_1164.ALL;
use IEEE.NUMERIC_STD.ALL;
library std;
use std.textio.all;
library work;
use work.all;
use work.procedures.all;
entity tb_cpu is
end tb_cpu;
architecture behav of tb_cpu is
signal rst : std_logic := '1';
signal clk : std_logi... | 33,105 |
https://github.com/LaudateCorpus1/RosettaCodeData/blob/master/Task/Secure-temporary-file/PHP/secure-temporary-file.php | Github Open Source | Open Source | Info-ZIP | 2,018 | RosettaCodeData | LaudateCorpus1 | PHP | Code | 30 | 61 | $fh = tmpfile();
// do stuff with $fh
fclose($fh);
// file removed when closed
// or:
$filename = tempnam('/tmp', 'prefix');
echo "$filename\n";
// open $filename and do stuff with it
| 131 |
https://github.com/SmartBR/OpenTerrainGenerator/blob/master/common/src/main/java/com/pg85/otg/customobjects/bofunctions/EntityFunction.java | Github Open Source | Open Source | MIT | 2,021 | OpenTerrainGenerator | SmartBR | Java | Code | 495 | 1,595 | package com.pg85.otg.customobjects.bofunctions;
import com.pg85.otg.OTG;
import com.pg85.otg.configuration.customobjects.CustomObjectConfigFile;
import com.pg85.otg.configuration.customobjects.CustomObjectConfigFunction;
import com.pg85.otg.exception.InvalidConfigException;
import com.pg85.otg.logging.LogMarker;
impor... | 17,710 |
https://github.com/Captain-Hat/newLinage/blob/master/src/routes/friendHelp.less | Github Open Source | Open Source | MIT | null | newLinage | Captain-Hat | Less | Code | 34 | 110 | .normal {
width: 1000px;
height: 820px;
background-color: rgba(255, 255, 255, 0.1);
}
.text {
padding-top: 120px;
width: 60%;
margin: 0 auto;
text-align: left;
color: #fff;
font-size: 13px;
}
.text p {
line-height: 25px;
}
| 16,333 |
https://github.com/dongxuteng/nodejs.demo/blob/master/09-stream/05-transform.js | Github Open Source | Open Source | MIT | null | nodejs.demo | dongxuteng | JavaScript | Code | 27 | 114 | #!/usr/bin/node
const stdin = process.stdin,
stdout = process.stdout,
Trans = require('stream').Transform;
stdin.setEncoding('utf8');
var tf = new Trans();
tf._transform = function(chunk, encoding, callback) {
this.push(Buffer(chunk.toString('utf8').toUpperCase()));
callback();
};
stdin.pipe(tf).... | 45,141 |
https://github.com/kopok2/CodeforcesSolutionsPython/blob/master/src/368B/test_cdf_368B.py | Github Open Source | Open Source | MIT | 2,020 | CodeforcesSolutionsPython | kopok2 | Python | Code | 59 | 236 | import unittest
from unittest.mock import patch
from cdf_368B import CodeforcesTask368BSolution
class TestCDF368B(unittest.TestCase):
def test_368B_acceptance_1(self):
mock_input = ['10 10', '1 2 3 4 1 2 3 4 100000 99999', '1', '2', '3', '4', '5', '6', '7', '8', '9', '10']
expected = '6\n6\n6\n6\... | 22,004 |
https://github.com/kirikprotocol/Api.ai-connector/blob/master/src/com/eyelinecom/whoisd/sads2/apiai/AiApi.java | Github Open Source | Open Source | Apache-2.0 | null | Api.ai-connector | kirikprotocol | Java | Code | 332 | 1,262 | package com.eyelinecom.whoisd.sads2.apiai;
import com.eyelinecom.whoisd.sads2.apiai.model.Entities;
import com.eyelinecom.whoisd.sads2.apiai.model.Entity;
import com.eyelinecom.whoisd.sads2.apiai.model.Response;
import com.eyelinecom.whoisd.sads2.ai.utils.MarshalUtils;
import com.eyelinecom.whoisd.sads2.common.Loader;... | 21,618 |
https://github.com/zephyrproject-rtos/hal_nxp/blob/master/s32/drivers/s32ze/BaseNXP/include/BasicTypes.h | Github Open Source | Open Source | BSD-3-Clause, LicenseRef-scancode-warranty-disclaimer | 2,023 | hal_nxp | zephyrproject-rtos | C | Code | 652 | 1,603 | /*
* Copyright 2021-2022 NXP
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef BASICTYPES_H
#define BASICTYPES_H
#include "PlatformTypes.h"
#if defined(INT8_MIN) && defined(INT16_MIN) && defined(INT16_MIN) && defined(INT32_MIN) && defined(INT64_MIN) && \
defined(INT8_MAX) && defined(INT16_MAX) && defined(... | 33,596 |
https://github.com/fanfq/ESDDLiveWallpaper/blob/master/src/com/fanfq/livewallpaper/esdd/BlockSprite.java | Github Open Source | Open Source | Apache-2.0 | 2,015 | ESDDLiveWallpaper | fanfq | Java | Code | 350 | 1,049 | /*
* Copyright 2011 Fred,Fan Fangqing <fangqing.fan@hotmail.com>
*
* 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 requir... | 25,267 |
https://github.com/ciniki/web/blob/master/private/processBlockOrderQueue.php | Github Open Source | Open Source | MIT | null | web | ciniki | PHP | Code | 545 | 1,846 | <?php
//
// Description
// -----------
//
// Arguments
// ---------
// ciniki:
// settings: The web settings structure, similar to ciniki variable but only web specific information.
//
// Returns
// -------
//
function ciniki_web_processBlockOrderQueue(&$ciniki, $settings, $tnid, $block) {
$content = '';
... | 39,998 |
https://github.com/Mithmichele241/AlfredGist/blob/master/tests/test_cli.sh | Github Open Source | Open Source | MIT | 2,018 | AlfredGist | Mithmichele241 | Shell | Code | 335 | 1,163 | #!/usr/bin/env roundup
source tests/helper.sh
describe "command line parsing"
before() {
unset action
unset description
unset files
unset contents
}
it_parses_with_a_single_filename() {
parse_cli _files tests/test_cli.sh
test "$action" = "gist"
test "${files[0]}" = "test_cli.sh"
}
it_parses_h... | 34,462 |
https://github.com/Maribaud/03-Juicy-Brick-Breaker/blob/master/.import/Bricks.png-03e0b4237ce014c05e8f2483f2bb07c9.md5 | Github Open Source | Open Source | MIT | 2,020 | 03-Juicy-Brick-Breaker | Maribaud | null | Spoken | 2 | 56 | source_md5="f9a768254e4a8f27b8f22245b4139a7f"
dest_md5="612ad59efde7c0eca89b262a3548b12e"
| 11,532 |
https://github.com/mbessolov/oroplatform/blob/master/src/Oro/Bundle/NavigationBundle/Tests/Behat/Element/MainMenu.php | Github Open Source | Open Source | MIT | null | oroplatform | mbessolov | PHP | Code | 241 | 858 | <?php
namespace Oro\Bundle\NavigationBundle\Tests\Behat\Element;
use Behat\Mink\Element\NodeElement;
use Oro\Bundle\TestFrameworkBundle\Behat\Element\Element;
/**
* The element represents the main menu.
*/
class MainMenu extends Element
{
/** @var Element */
protected $dropDown;
/**
* @inheritdoc... | 49,852 |
https://github.com/frsknalexis/crm-java/blob/master/crm_backend/src/main/java/com/dev/crm/core/repository/jdbc/PagoJdbcRepository.java | Github Open Source | Open Source | Apache-2.0 | 2,019 | crm-java | frsknalexis | Java | Code | 12 | 66 | package com.dev.crm.core.repository.jdbc;
import com.dev.crm.core.dto.PagoRequest;
public interface PagoJdbcRepository {
String spPagoServicio(PagoRequest pagoRequest);
}
| 47,416 |
https://github.com/Futuremappermydud/Naluluna-Modifier-Quest/blob/master/include/codegen/include/Zenject/FactoryFromBinder4Extensions_--c__5_6.hpp | Github Open Source | Open Source | MIT | 2,021 | Naluluna-Modifier-Quest | Futuremappermydud | C++ | Code | 372 | 1,913 | // Autogenerated from CppHeaderCreator on 7/27/2020 3:10:42 PM
// Created by Sc2ad
// =========================================================================
#pragma once
#pragma pack(push, 8)
// Begin includes
#include "utils/typedefs.h"
// Including type: System.Object
#include "System/Object.hpp"
// Including type... | 22,523 |
https://github.com/nletcher/Leaflet-Challenge/blob/master/Step 1/static/js/logic.js | Github Open Source | Open Source | ADSL | null | Leaflet-Challenge | nletcher | JavaScript | Code | 419 | 1,292 | // Creating map object
var myMap = L.map("map", {
center: [37.7749, -122.4194],
zoom: 5
});
// Adding tile layer
streetmap = L.tileLayer("https://api.mapbox.com/styles/v1/{id}/tiles/{z}/{x}/{y}?access_token={accessToken}", {
attribution: "© <a href='https://www.mapbox.com/about/maps/'>Mapbox</a> © <a href='htt... | 24,548 |
https://github.com/Princeton-Soccer-Robotics/orion-website/blob/master/src/components/Footer.vue | Github Open Source | Open Source | MIT | 2,021 | orion-website | Princeton-Soccer-Robotics | Vue | Code | 79 | 336 | <template>
<footer class="relative bg">
<div class="px-12 md:px-48 py-8 flex justify-between items-center z-1 gap-2">
<h1 class="text-lg">
Copyright © {{ new Date().getFullYear() }} Team Orion
</h1>
<div class="flex gap-4 flex-wrap sm:flex-nowrap">
<h-btn href="/projects" target=... | 35,096 |
https://github.com/kylmcgr/RL-RNN-SURF/blob/master/src/actionflow/util/__init__.py | Github Open Source | Open Source | Apache-2.0 | 2,021 | RL-RNN-SURF | kylmcgr | Python | Code | 5 | 20 | from ..util.logger import DLogger
DLogger.set_up_logger() | 40,994 |
https://github.com/chughkartikey/react/blob/master/docs/src/examples/components/Alert/index.tsx | Github Open Source | Open Source | MIT | null | react | chughkartikey | TypeScript | Code | 42 | 97 | import * as React from 'react'
import Rtl from './Rtl'
import Types from './Types'
import Variations from './Variations'
import BestPractices from './BestPractices'
const AlertExamples = () => (
<>
<BestPractices />
<Types />
<Variations />
<Rtl />
</>
)
export default AlertExamples
| 4,522 |
https://github.com/risavkarna/app/blob/master/Application/Migration/1632249591-card-update-subscribers.sql | Github Open Source | Open Source | MIT | 2,021 | app | risavkarna | SQL | Code | 9 | 29 | update card_updates
set settings = jsonb_insert (settings, '{subscribers}', '[]'::jsonb); | 43,267 |
https://github.com/steakknife/pcgeos/blob/master/Driver/Printer/DotMatrix/Prop9/prop92380Info.asm | Github Open Source | Open Source | Apache-2.0 | 2,022 | pcgeos | steakknife | Assembly | Code | 424 | 1,635 |
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) Berkeley Softworks 1990 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: IBM Proprinter 9-pin driver
FILE: prop92380Info.asm
AUTHOR: Dave Durran
REVISION HISTORY:
Name Date Description
---- ---- -----------
Dave 10... | 43,742 |
https://github.com/sun88/LifeHelper/blob/master/basis/ToolLayer/src/main/java/com/yc/toollayer/NumberUtils.java | Github Open Source | Open Source | Apache-2.0 | 2,020 | LifeHelper | sun88 | Java | Code | 425 | 1,430 | package com.yc.toollayer;
import java.text.DecimalFormat;
/**
* <pre>
* @author yangchong
* email : yangchong211@163.com
* time : 2018/6/12
* desc : 转化工具类
* revise:
* </pre>
*/
public final class NumberUtils {
public static int parse(String string) {
if (string == null || s... | 46,880 |
https://github.com/mathougui/cassiopeia/blob/master/cassiopeia/core/masterypage.py | Github Open Source | Open Source | MIT | 2,017 | cassiopeia | mathougui | Python | Code | 433 | 1,598 | from typing import List, Mapping, Union
from merakicommons.ghost import ghost_load_on
from merakicommons.cache import lazy, lazy_property
from merakicommons.container import searchable, SearchableList, SearchableDictionary
from ..data import Region, Platform
from .common import CoreData, DataObjectList, CassiopeiaGho... | 47,043 |
https://github.com/mtaghiza/tinyos-main-1/blob/master/tos/chips/msp430/msp430xv2/usci/tests/StreamSend/TestP.nc | Github Open Source | Open Source | BSD-3-Clause | 2,022 | tinyos-main-1 | mtaghiza | null | Spoken | 147 | 403 | #include <stdio.h>
module TestP @safe()
{
uses {
interface Boot;
interface Leds;
interface UartStream;
}
}
implementation
{
void fail () {
call Leds.led1On();
while (1);
}
#define ASSERT(_expr) if (! (_expr)) { fail(); }
#define ASSERT_EQUAL(_expr, _value) if ((_value) != (_expr)) { fail()... | 7,473 |
https://github.com/boazbk/mle-scheduler/blob/master/examples/run_ssh.py | Github Open Source | Open Source | MIT | 2,022 | mle-scheduler | boazbk | Python | Code | 125 | 608 | import os
import logging
from mle_scheduler import MLEJob, MLEQueue
from mle_scheduler.ssh import send_dir_ssh, copy_dir_ssh, delete_dir_ssh
def main():
job_args = {"env_name": "mle-toolbox", "use_conda_venv": True}
ssh_settings = {
"user_name": os.environ["SSH_USER_NAME"], # Replace with your user ... | 8,618 |
https://github.com/testcontainers/testcontainers-java/blob/master/modules/postgresql/src/main/java/org/testcontainers/containers/PostgreSQLContainerProvider.java | Github Open Source | Open Source | LicenseRef-scancode-unknown-license-reference, MIT | 2,023 | testcontainers-java | testcontainers | Java | Code | 72 | 277 | package org.testcontainers.containers;
import org.testcontainers.jdbc.ConnectionUrl;
import org.testcontainers.utility.DockerImageName;
/**
* Factory for PostgreSQL containers.
*/
public class PostgreSQLContainerProvider extends JdbcDatabaseContainerProvider {
public static final String USER_PARAM = "user";
... | 15,071 |
https://github.com/Free-Opensource-Xperience/kernel/blob/master/src/include/boot.h | Github Open Source | Open Source | Apache-2.0 | 2,022 | kernel | Free-Opensource-Xperience | C | Code | 78 | 253 | #define WHITE_TXT 0x07
#define KERNEL_VERSION "1.4"
#define DISTRO_VERSION "1.2"
#define DISTRO_NAME "LizardOS "
#include "con_print.h"
#include "config.h"
void load_init(int pos) {
con_print("[...] Loading Init", pos);
};
void load_kernel(int pos) {
con_print("[...] Loading Kernel " KERNEL_VERSION, pos);
};
void... | 18,662 |
https://github.com/etursunbaev/peer-os/blob/master/management/server/core/local-peer/local-peer-rest-ui/src/main/java/io/subutai/localpeer/rest/ui/RestService.java | Github Open Source | Open Source | Apache-2.0 | 2,018 | peer-os | etursunbaev | Java | Code | 35 | 155 | package io.subutai.localpeer.rest.ui;
import javax.ws.rs.DELETE;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.rs.core.Response;
public interface RestService
{
@GET
@Path( "containers/notregistered" )
Response getNotRegisteredContainers();
@DELETE
... | 16,371 |
https://github.com/keegsands/sportball-webapp/blob/master/src/main/resources/sql/Division.sql | Github Open Source | Open Source | MIT | null | sportball-webapp | keegsands | SQL | Code | 45 | 147 | CREATE TABLE "tap_softball"."division"
(
id serial PRIMARY KEY NOT NULL,
name varchar(40) NOT NULL,
conference_id int NOT NULL
)
;
CREATE UNIQUE INDEX division_pkey ON "tap_softball"."division"(id)
;
ALTER TABLE "tap_softball"."division"
ADD CONSTRAINT conferene_FK
FOREIGN KEY (conference_id)
REFERENCES "tap_... | 36,240 |
https://github.com/gitter-badger/Draki/blob/master/Draki.Core/Properties/AssemblyInfo.cs | Github Open Source | Open Source | MIT, LicenseRef-scancode-unknown-license-reference | 2,018 | Draki | gitter-badger | C# | Code | 42 | 82 | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Draki API Core Library")]
[assembly: AssemblyDescription("Simple and rapid critical path smoke testing for web apps. Make it so easy to write a functional smoke test for your web application... | 36,415 |
https://github.com/doitmovin/chromiumos-platform2/blob/master/chromiumos-wide-profiling/perf_parser.cc | Github Open Source | Open Source | BSD-3-Clause | null | chromiumos-platform2 | doitmovin | C++ | Code | 2,826 | 8,695 | // Copyright (c) 2013 The Chromium OS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chromiumos-wide-profiling/perf_parser.h"
#include <fcntl.h>
#include <stdint.h>
#include <stdio.h>
#include <sys/stat.h>
#include <sys/t... | 26,075 |
https://github.com/ZeroCho/DefinitelyTyped/blob/master/types/carbon__icons-react/lib/shopping--cart--minus/16.d.ts | Github Open Source | Open Source | MIT | 2,022 | DefinitelyTyped | ZeroCho | TypeScript | Code | 9 | 26 | import { ShoppingCartMinus16 } from "../../";
export = ShoppingCartMinus16;
| 40,918 |
https://github.com/Toby-trian/choise1/blob/master/application/views/daftar.php | Github Open Source | Open Source | MIT | 2,021 | choise1 | Toby-trian | PHP | Code | 352 | 2,017 | <!DOCTYPE html>
<html lang="en">
<head>
<title>Choise-Daftar</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!--===============================================================================================-->
<link rel="icon" type="image/png" href="<?php echo... | 29,090 |
https://github.com/erfannaseri/simple-cms/blob/master/resources/views/back/articles/create-article.blade.php | Github Open Source | Open Source | MIT | 2,020 | simple-cms | erfannaseri | Blade | Code | 183 | 945 | @extends('back.index')
@section('title')
ادمین پنل-ایجاد مقاله جدید
@endsection
@section('body')
<div class="container">
<div class="row">
<div class="col-lg-12 " style="margin-top:10px ">
@if (session('error'))
<h4 align="center" class="alert alert-succ... | 31,029 |
https://github.com/icicleio/postgres/blob/master/src/TupleResult.php | Github Open Source | Open Source | MIT | 2,016 | postgres | icicleio | PHP | Code | 407 | 1,134 | <?php
namespace Icicle\Postgres;
use Icicle\Exception\InvalidArgumentError;
use Icicle\Observable\Emitter;
use Icicle\Postgres\Exception\FailureException;
class TupleResult extends Emitter implements \Countable
{
/**
* @var resource PostgreSQL result resource.
*/
private $handle;
/**
* @pa... | 24,387 |
https://github.com/svstoichkov/EugenieWeb/blob/master/Source/Web/EugenieWeb.Web/ViewModels/Home/AddMessageViewModel.cs | Github Open Source | Open Source | MIT | 2,016 | EugenieWeb | svstoichkov | C# | Code | 32 | 114 | namespace EugenieWeb.Web.ViewModels.Home
{
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
public class AddMessageViewModel
{
[Required]
[EmailAddress]
[DisplayName("Имейл")]
public string Email { get; set; }
[Required]
[Displa... | 41,625 |
https://github.com/songjiayang/react-native-sdk/blob/master/lib/Textile/API/schemas.ts | Github Open Source | Open Source | MIT | 2,019 | react-native-sdk | songjiayang | TypeScript | Code | 63 | 167 | import { NativeModules } from 'react-native'
import { Buffer } from 'buffer'
import { pb } from '../Models'
const { TextileNode } = NativeModules
/**
* Add a new Schema for use when creating new Threads.
* ```typescript
* API.schemas.add(node);
* ```
*/
export async function add(node: pb.INode): Promise<pb.FileI... | 46,128 |
https://github.com/gleysonabreu/compliments/blob/master/src/modules/compliments/useCases/listSendCompliment/ListSendComplimentController.ts | Github Open Source | Open Source | MIT | 2,021 | compliments | gleysonabreu | TypeScript | Code | 56 | 151 | import { Request, Response } from 'express';
import { container } from 'tsyringe';
import { ListSendComplimentUseCase } from './ListSendComplimentUseCase';
class ListSendComplimentController {
async handle(request: Request, response: Response): Promise<Response> {
const { id } = request.user;
const listSen... | 23,949 |
https://github.com/BuildmLearn/Indic-Language-Input-Tool-ILIT/blob/master/SourceCode/ILIT/AndroidApp/IndicKeyboard/app/src/main/java/org/buildmlearn/indickeyboard/ImeUtilities.java | Github Open Source | Open Source | BSD-3-Clause | null | Indic-Language-Input-Tool-ILIT | BuildmLearn | Java | Code | 72 | 242 | package org.buildmlearn.indickeyboard;
import java.util.Collections;
import java.util.HashMap;
import java.util.Map;
/**
* Will have all the Utility methods for IME & Subtypes
*/
public class ImeUtilities {
private static Map<String,String> languageMap=createLanguageMap();
private static Map<String,String... | 31,999 |
https://github.com/litentry/subsquid-mappings/blob/master/prawns/governance/src/types/polkadot/events.ts | Github Open Source | Open Source | Apache-2.0 | null | subsquid-mappings | litentry | TypeScript | Code | 1,477 | 5,462 | import assert from 'assert'
import {EventContext, Result, deprecateLatest} from './support'
import * as v0 from './v0'
import * as v9110 from './v9110'
import * as v9140 from './v9140'
import * as v9170 from './v9170'
import * as v9190 from './v9190'
export class BountiesBountyProposedEvent {
constructor(private ctx... | 7,780 |
https://github.com/Memoyu/blog_service/blob/master/src/Blog.Core/Interface/IRepositories/Core/IPermissionRepo.cs | Github Open Source | Open Source | MIT | 2,021 | blog_service | Memoyu | C# | Code | 14 | 74 | using Blog.Core.Domains.Entities.Core;
using Blog.Core.Interface.IRepositories.Base;
namespace Blog.Core.Interface.IRepositories.Core
{
public interface IPermissionRepo: IAuditBaseRepo<PermissionEntity>
{
}
}
| 4,188 |
https://github.com/justkao/aspnet-angular-template/blob/master/src/template-frontend/src/client/app.ts | Github Open Source | Open Source | MIT | null | aspnet-angular-template | justkao | TypeScript | Code | 10 | 39 | import {bootstrap} from 'angular2/platform/browser';
import {ContactsApp} from './app/contacts';
bootstrap(ContactsApp, []);
| 39,291 |
https://github.com/krebil/yuzudelivery.umbraco/blob/master/src/QuickstartExample.TestProject/Web/_templates/src/blocks/parFormTextArea.hbs | Github Open Source | Open Source | MIT | 2,020 | yuzudelivery.umbraco | krebil | null | Spoken | 26 | 249 | <label class="{{_modifiers.[0]}}__textarea">
<textarea class="{{_modifiers.[0]}}__textarea__control"
{{#if name}}name="{{name}}"{{/if}}
{{#if id}}id="{{id}}"{{/if}}
{{#if placeholder}}placeholder="{{placeholder}}"{{/if}}
{{#if isRequired}}required="required"{{/if}}
{{#if requiredMessage}}data-msg-required... | 28,505 |
https://github.com/Vasniktel/interview-problems/blob/master/epi/buy_and_sell_stock_twice.cc | Github Open Source | Open Source | MIT | null | interview-problems | Vasniktel | C++ | Code | 114 | 393 | #include <vector>
#include "test_framework/generic_test.h"
using std::vector;
double BuyAndSellStockTwice(const vector<double>& prices) {
auto result = 0.0;
int n = prices.size();
auto min = ::std::numeric_limits<double>::infinity();
vector<double> first_buy_sell(prices.size(), 0);
for (int i = 0; i < n; ++... | 181 |
https://github.com/niilante/badge-poser/blob/master/src/Badge/src/Model/UseCase/CreateComposerLockBadge.php | Github Open Source | Open Source | MIT | 2,016 | badge-poser | niilante | PHP | Code | 245 | 780 | <?php
/*
* This file is part of the badge-poser package.
*
* (c) PUGX <http://pugx.github.io/>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PUGX\Badge\Model\UseCase;
use Guzzle\Http\Client;
use PUGX\Badge\Model\Packa... | 8,900 |
https://github.com/aartrama/aartrama.github.io/blob/master/node_modules/@effect-ts/system/_mjs/Stream/Stream/zip.mjs | Github Open Source | Open Source | MIT | 2,023 | aartrama.github.io | aartrama | JavaScript | Code | 97 | 192 | // ets_tracing: off
import * as Tp from "../../Collections/Immutable/Tuple/index.mjs";
import { zipWith_ } from "./zipWith.mjs";
/**
* Zips this stream with another point-wise and emits tuples of elements from both streams.
*
* The new stream will end when one of the sides ends.
*/
export function zip_(self, that)... | 49,930 |
https://github.com/karttu/loda/blob/master/programs/oeis/180/A180593.asm | Github Open Source | Open Source | Apache-2.0 | 2,021 | loda | karttu | Assembly | Code | 18 | 220 | ; A180593: Digital root of 3n.
; 0,3,6,9,3,6,9,3,6,9,3,6,9,3,6,9,3,6,9,3,6,9,3,6,9,3,6,9,3,6,9,3,6,9,3,6,9,3,6,9,3,6,9,3,6,9,3,6,9,3,6,9,3,6,9,3,6,9,3,6,9,3,6,9,3,6,9,3,6,9,3,6,9,3,6,9,3,6,9,3,6,9,3,6,9,3,6
sub $0,1
mod $0,3
add $0,1
mov $1,$0
mul $1,3
| 7,043 |
https://github.com/t-literr/sdk-copy/blob/master/iframe-example/packages/@msft-sme/shell/dist/angular/controls/wizard/wizard-step.component.js | Github Open Source | Open Source | MIT | null | sdk-copy | t-literr | JavaScript | Code | 89 | 696 | /**
* A base class for components dynamically rendered in a wizard.
*/
var WizardStepComponent = /** @class */ (function () {
function WizardStepComponent() {
}
Object.defineProperty(WizardStepComponent.prototype, "valid", {
/**
* Gets whether or not the component is valid.
*/
... | 33,266 |
https://github.com/Hellyson-Ferreira/flutter_go_fast/blob/master/lib/app/app_widget.dart | Github Open Source | Open Source | MIT | null | flutter_go_fast | Hellyson-Ferreira | Dart | Code | 87 | 420 | import 'package:flutter/material.dart';
import 'package:flutter_go_fast/app/app_controller.dart';
import 'package:flutter_localizations/flutter_localizations.dart';
import 'package:flutter_mobx/flutter_mobx.dart';
import 'package:flutter_modular/flutter_modular.dart';
import 'core/features/localization/app_localization... | 47,998 |
https://github.com/neoneye/loda-programs/blob/master/oeis/142/A142813.asm | Github Open Source | Open Source | Apache-2.0 | 2,022 | loda-programs | neoneye | Assembly | Code | 66 | 430 | ; A142813: Primes congruent to 15 mod 61.
; Submitted by Jon Maiga
; 137,503,991,1601,1723,2089,2333,2699,3187,3797,3919,4651,5261,5749,6359,6481,7213,7457,7823,8311,8677,9043,10141,11117,11239,11483,11971,12703,13313,13679,14411,14533,16363,16607,16729,17827,18803,20023,20389,21121,21487,23561,24049,24659,24781,25147,... | 50,436 |
https://github.com/learn-web3/learn-web3-website/blob/master/src/components/Header/HeaderTop.js | Github Open Source | Open Source | MIT | 2,019 | learn-web3-website | learn-web3 | JavaScript | Code | 211 | 691 | import React from 'react'
import styled from 'styled-components'
import Image from '../Image'
import Link from '../Link'
import Icon from '../Icon'
import lightLogo from '../../images/learn-web3-light.png'
import darkLogo from '../../images/learn-web3-dark.png'
import menuIcon from '../../images/menu.svg'
import { fon... | 10,541 |
https://github.com/saywhaat/recompose/blob/master/lib/packages/recompose/__tests__/defaultProps-test.js | Github Open Source | Open Source | MIT | 2,016 | recompose | saywhaat | JavaScript | Code | 157 | 553 | 'use strict';
var _ava = require('ava');
var _ava2 = _interopRequireDefault(_ava);
var _react = require('react');
var _react2 = _interopRequireDefault(_react);
var _ = require('../');
var _enzyme = require('enzyme');
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
... | 7,401 |
https://github.com/Laboralphy/h5-raycaster-lab/blob/master/dynamics/o876-php/Symbol/HTML/TableCell.php | Github Open Source | Open Source | MIT | 2,022 | h5-raycaster-lab | Laboralphy | PHP | Code | 108 | 224 | <?php namespace O876\Symbol\HTML;
/** @brief Symbole cellule de table
*
* Le TableCell est un symbole de tag TD pour générer des cellule de tableau HTML.
* Utilisée par TableRow.
*
* @remark Composant de la librairie Symbol
* @author Raphaël Marandet
* @version 100 - 2009.12.21
*/
use O876\Symbol\Symbol a... | 46,306 |
https://github.com/CLovinr/OftenPorter/blob/master/Porter-Core/src/main/java/cn/oftenporter/porter/core/annotation/NotNull.java | Github Open Source | Open Source | Apache-2.0 | null | OftenPorter | CLovinr | Java | Code | 26 | 131 | package cn.oftenporter.porter.core.annotation;
import java.lang.annotation.*;
/**
* 被标记的变量不能为null或不为null。
* Created by https://github.com/CLovinr on 2016/7/23.
*/
@Documented
@Retention(RetentionPolicy.CLASS)
@Target({ElementType.FIELD, ElementType.METHOD, ElementType.PARAMETER, ElementType.LOCAL_VARIABLE})
@Inher... | 47,658 |
https://github.com/baracoder/nixpkgs/blob/master/pkgs/development/libraries/gcc/libgcc/default.nix | Github Open Source | Open Source | MIT | null | nixpkgs | baracoder | null | Spoken | 306 | 1,215 | { stdenvNoLibs, buildPackages, buildPlatform, hostPlatform
, gcc, glibc
, libiberty
}:
stdenvNoLibs.mkDerivation rec {
name = "libgcc-${version}";
inherit (gcc.cc) src version;
outputs = [ "out" "dev" ];
strictDeps = true;
depsBuildBuild = [ buildPackages.stdenv.cc ];
nativeBuildInputs = [ libiberty ];
... | 38,095 |
https://github.com/ike709/space-station-14/blob/master/Content.Shared/Construction/ConstructionGraphNode.cs | Github Open Source | Open Source | MIT | 2,022 | space-station-14 | ike709 | C# | Code | 108 | 351 | using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using Robust.Shared.Serialization.Manager.Attributes;
using Robust.Shared.ViewVariables;
namespace Content.Shared.Construction
{
[Serializable]
[DataDefinition]
public class ConstructionGraphNode
{
[DataFiel... | 52,604 |
https://github.com/i-gaven/Just_a_dumper/blob/master/all_headers/腾讯新闻-事实派的热点资讯娱乐短视频软件-5.0.1(越狱应用)_headers/CQQHouseColorConfig.h | Github Open Source | Open Source | MIT | 2,018 | Just_a_dumper | i-gaven | Objective-C | Code | 83 | 335 | //
// Generated by class-dump 3.5 (64 bit) (Debug version compiled Sep 17 2017 16:24:48).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard.
//
#import <Foundation/NSObject.h>
@interface CQQHouseColorConfig : NSObject
{
}
+ (id)searchOptionControllerBackgroundColor;
+ (id)list... | 24,481 |
https://github.com/GeorgeSchlosser/burger/blob/master/views/index.handlebars | Github Open Source | Open Source | MIT | null | burger | GeorgeSchlosser | null | Spoken | 152 | 612 | <div class="container">
<div class="row">
<h1>Welcome to Good Burger, Home of the Good Burger!</h1>
<h2>Can I take your Order?</h2>
</div>
{{!-- form to create burgers --}}
<div class="row">
<form class="order-form">
<div class="form-items">
<label fo... | 46,404 |
https://github.com/0xc22b/thai-accounting/blob/master/src/gwt/client/view/ReportView.java | Github Open Source | Open Source | MIT | 2,013 | thai-accounting | 0xc22b | Java | Code | 129 | 399 | package gwt.client.view;
import com.google.gwt.user.client.ui.IsWidget;
import com.google.gwt.user.client.ui.Widget;
public interface ReportView<T> extends IsWidget {
public interface Presenter {
}
Widget asWidget();
void init(Presenter presenter);
void onPrintBtnClicked();
vo... | 46,234 |
https://github.com/Eliepse/writing-exercise-pdf/blob/master/src/Layout/WithPinyinRules.php | Github Open Source | Open Source | MIT | null | writing-exercise-pdf | Eliepse | PHP | Code | 25 | 68 | <?php
namespace Eliepse\WritingGrid\Layout;
/**
* Interface WithPinyinRules
* This set the base line as pinyin rules
*
* @package Eliepse\WritingGrid\Layout
*/
interface WithPinyinRules
{
} | 52,135 |
https://github.com/vuductiep/ScalaPlayWebDemo/blob/master/app/services/MovieService.scala | Github Open Source | Open Source | CC0-1.0 | null | ScalaPlayWebDemo | vuductiep | Scala | Code | 4 | 12 | package services
import models.{Movie} | 34,686 |
https://github.com/cmu-catalyst/collage/blob/master/tvm/sandbox/testing/plot_ops.py | Github Open Source | Open Source | Apache-2.0 | 2,022 | collage | cmu-catalyst | Python | Code | 623 | 3,125 | import os
import matplotlib.pyplot as plt
import pandas as pd
from tvm.relay.transform.pattern_manager.op_config import MeasuredConfigs
from tvm.relay.transform.utility.plot_utils import set_plt_font_size
import pickle
from tvm.relay.transform.pattern_manager.op_type import OpType
from tvm.relay.transform.pattern_mana... | 46,885 |
https://github.com/sosozhuang/rgw-client/blob/master/core/src/main/java/io/ceph/rgw/client/model/GetBucketRequest.java | Github Open Source | Open Source | Apache-2.0 | 2,021 | rgw-client | sosozhuang | Java | Code | 90 | 339 | package io.ceph.rgw.client.model;
import io.ceph.rgw.client.BucketClient;
import io.ceph.rgw.client.action.ActionFuture;
import io.ceph.rgw.client.action.ActionListener;
/**
* Created by zhuangshuo on 2020/7/2.
*/
public class GetBucketRequest extends BaseBucketRequest {
public GetBucketRequest(String bucketNam... | 42,106 |
https://github.com/bbxyard/bbxyard/blob/master/yard/skills/66-java/mp-study/mp-xenum/src/main/java/com/bbxyard/mp/xenum/enums/AgeEnum.java | Github Open Source | Open Source | Apache-2.0 | 2,020 | bbxyard | bbxyard | Java | Code | 43 | 156 | package com.bbxyard.mp.xenum.enums;
import com.baomidou.mybatisplus.core.enums.IEnum;
public enum AgeEnum implements IEnum<Integer> {
ONE(1, "一岁"),
TWO(2, "两岁"),
THREE(3, "三岁");
private int value;
private String desc;
AgeEnum(int value, String desc) {
this.value = value;
this... | 19,194 |
https://github.com/mahsavafaie/Khamenei-Corpus/blob/master/data/txt-parsed/288.txt-parsed.conllu | Github Open Source | Open Source | MIT | 2,020 | Khamenei-Corpus | mahsavafaie | null | Spoken | 20,000 | 51,168 | # sent_id = 1 # sent_len = 24 # text = I wish to congratulate you on this great Eid which is indeed an Eid for all humanity, not just the Islamic Ummah. # title = Leader's Address on the Occasion of Mab'ath # year = 2009 1 I -PRON- PRON PRP _ 2 nsubj _ ent_type=_|ent_id=2|ent_iob=O 2 wish wish VERB VBP _ 0 ROOT _ ent_t... | 33,197 |
https://github.com/lamencha/problog/blob/master/gatsby-config.js | Github Open Source | Open Source | MIT | 2,019 | problog | lamencha | JavaScript | Code | 112 | 547 | module.exports = {
siteMetadata: {
title: `AZ ZenHeads`,
description: `Wuddup Zenheads? ITS YA BOI LUIS!`,
siteUrl: 'https://gallant-curran-ce94f5.netlify.com',
author: `@MnstrPenguin`,
},
plugins: [
`gatsby-plugin-react-helmet`,
`gatsby-plugin-sitemap`,
`gatsby-plugin-styled-component... | 45,014 |
https://github.com/mintforpeople/robobo-ros2-ios-port/blob/master/ros2_mod_ws/build/rcl_interfaces/rosidl_generator_c/rcl_interfaces/msg/parameter_descriptor__struct.h | Github Open Source | Open Source | Apache-2.0 | 2,020 | robobo-ros2-ios-port | mintforpeople | C | Code | 95 | 347 | // generated from rosidl_generator_c/resource/msg__struct.h.em
// generated code does not contain a copyright notice
#ifndef RCL_INTERFACES__MSG__PARAMETER_DESCRIPTOR__STRUCT_H_
#define RCL_INTERFACES__MSG__PARAMETER_DESCRIPTOR__STRUCT_H_
#ifdef __cplusplus
extern "C"
{
#endif
#include <stdbool.h>
#include <stddef.h... | 52,697 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.