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/bharanijayasuri/umbraco8/blob/master/src/Umbraco.Web/Macros/MacroRenderer.cs | Github Open Source | Open Source | MIT | null | umbraco8 | bharanijayasuri | C# | Code | 2,455 | 6,939 | using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Security;
using System.Security.Cryptography;
using System.Security.Cryptography.X509Certificates;
using System.Text;
using System.Text.RegularExpressions;
using System.Web;
... | 23,062 |
https://github.com/jackofdiamond5/Software-University/blob/master/C# Fundamentals/C# OOP Advanced/Iterators and Comparators/IterAndCompar_Exer/Ex. 3 - CustomStack/CustomStack.cs | Github Open Source | Open Source | MIT | null | Software-University | jackofdiamond5 | C# | Code | 112 | 351 | using System.Linq;
using System.Collections;
using System.Collections.Generic;
public class CustomStack<T> : IEnumerable<T>
{
private List<T> collection;
public CustomStack()
{
this.collection = new List<T>();
}
public void Push(params T[] elements)
{
foreach (var item in ele... | 20,035 |
https://github.com/driivz/OCMapper/blob/master/OCMapper/Source/Objects/OCNumber.h | Github Open Source | Open Source | MIT | null | OCMapper | driivz | C | Code | 27 | 68 | //
// OCNumber.h
// OCMapper
//
// Created by Vitalii Parovishnyk on 6/5/17.
// Copyright © 2017 Driivz. All rights reserved.
//
@interface OCNumber : NSNumber
@end
| 49,238 |
https://github.com/msabramo/frigg-worker/blob/master/tests/test_fetcher.py | Github Open Source | Open Source | MIT | 2,015 | frigg-worker | msabramo | Python | Code | 65 | 290 | # -*- coding: utf-8 -*-
import json
from unittest import TestCase
import responses
from frigg_worker.fetcher import fetch_task, start_build
from mock import patch
def mock_config(key):
if key == 'DISPATCHER_FETCH_URL':
return 'http://example.com'
if key == 'DISPATCHER_TOKEN':
return 'token'
... | 20,084 |
https://github.com/c42f/AbstractPlotting.jl/blob/master/test/runtests.jl | Github Open Source | Open Source | MIT | null | AbstractPlotting.jl | c42f | Julia | Code | 19 | 42 | using AbstractPlotting
using Test
include("quaternions.jl")
# TODO write some AbstractPlotting specific tests... So far functionality is tested in Makie.jl
| 17,841 |
https://github.com/cometa/cometa-dronekit/blob/master/runtime.py | Github Open Source | Open Source | Apache-2.0 | 2,016 | cometa-dronekit | cometa | Python | Code | 864 | 2,524 | #!/usr/bin/env python
"""
Low-level Board run-time support for Cometa IoT devices.
Author: Marco Graziano (marco@visiblenergy.com)
"""
__license__ = """
Copyright 2016 Visible Energy Inc. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance... | 40,418 |
https://github.com/NitinDixitRepo/SegmentedControl/blob/master/segmentedcontrolmodule/src/main/java/com/nitinthecoder/custom/widget/segmentedcontrol/segment/SegmentAdapterImpl.java | Github Open Source | Open Source | Apache-2.0 | 2,021 | SegmentedControl | NitinDixitRepo | Java | Code | 46 | 205 | package com.nitinthecoder.custom.widget.segmentedcontrol.segment;
import androidx.annotation.NonNull;
import android.view.LayoutInflater;
import android.view.ViewGroup;
import com.nitinthecoder.custom.widget.segmentedControl.R;
import com.nitinthecoder.custom.widget.segmentedcontrol.item.column.SegmentAdapter;
/**
... | 8,321 |
https://github.com/dorren/full-oauth2-server/blob/master/README.rdoc | Github Open Source | Open Source | MIT | 2,010 | full-oauth2-server | dorren | RDoc | Code | 51 | 233 | = full-oauth2-server
Description goes here.
== client_credentials flow
client application sends an access token request, providing 3 paramaters, grant_type, client id, and secret.
http://localhost:3000/oauth/token?
grant_type=client_credentials&
client_id=1b7b29722672ffa9b68951fd8dbb8bad&
client_secret=b1409... | 2,239 |
https://github.com/dbash/zerowaste/blob/master/puzzlecam_4_classes/tools/ai/demo_utils.py | Github Open Source | Open Source | MIT | 2,022 | zerowaste | dbash | Python | Code | 319 | 1,312 | import cv2
import random
import numpy as np
from PIL import Image
def get_strided_size(orig_size, stride):
return ((orig_size[0]-1)//stride+1, (orig_size[1]-1)//stride+1)
def get_strided_up_size(orig_size, stride):
strided_size = get_strided_size(orig_size, stride)
return strided_size[0]*stride, strided_... | 33,710 |
https://github.com/isabella232/clock-2/blob/master/man/as_year_day.Rd | Github Open Source | Open Source | MIT | 2,021 | clock-2 | isabella232 | R | Code | 94 | 282 | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/gregorian-year-day.R
\name{as_year_day}
\alias{as_year_day}
\title{Convert to year-day}
\usage{
as_year_day(x)
}
\arguments{
\item{x}{\verb{[vector]}
A vector to convert to year-day.}
}
\value{
A year-day vector.
}
\description{
\code{as_yea... | 50,016 |
https://github.com/Zachary790/SpEditTool/blob/master/SpEditText/src/main/java/com/sunhapper/x/spedit/view/KeyEventProxy.java | Github Open Source | Open Source | MIT | 2,019 | SpEditTool | Zachary790 | Java | Code | 25 | 80 | package com.sunhapper.x.spedit.view;
import android.text.Editable;
import android.view.KeyEvent;
/**
* Created by sunhapper on 2019/1/25 .
*/
public interface KeyEventProxy {
boolean onKeyEvent(KeyEvent keyEvent, Editable text);
}
| 51,222 |
https://github.com/AlberCarri/Examen_Implantacion/blob/master/Introduccion.php | Github Open Source | Open Source | Apache-2.0 | 2,020 | Examen_Implantacion | AlberCarri | PHP | Code | 143 | 307 | <?php
include 'head.php';
echo'El ayuntamiento de Pesquera quiere modernizarse y utilizar las nuevas tecnologías, ha propuesto a un informático,
que desarrolle una página para que los vecinos puedan reportar a través de la misma las incidencias que puedan detectar
en el M... | 46,435 |
https://github.com/danifujii/bookqlub/blob/master/bookqlub_api/bookqlub_api/schema/schema.py | Github Open Source | Open Source | MIT | null | bookqlub | danifujii | Python | Code | 11 | 42 | import graphene
from bookqlub_api.schema import queries, mutations
schema = graphene.Schema(query=queries.Query, mutation=mutations.Mutation)
| 44,800 |
https://github.com/niyasrahman/madrid/blob/master/app/isomorphic/components/layout/onestorycard-sixstorylist.js | Github Open Source | Open Source | Apache-2.0 | 2,018 | madrid | niyasrahman | JavaScript | Code | 118 | 482 | import React from "react";
import { StoryCard } from "../basic/story-card.js"
import { StoryList } from "../basic/story-list.js"
import { SectionName } from "../basic/section-name.js";
import { DfpAd } from "../dfp-ads"
function OneStoryCardSixStoryList(props) {
const majorStoryCardWithSubheadlineConfig = {
ima... | 2,988 |
https://github.com/bytedance/Bytedance-UnionAD/blob/master/Demo/DomesticDemo/BUDemo/App/Example/view/BUDSettingTableView.h | Github Open Source | Open Source | MIT | 2,023 | Bytedance-UnionAD | bytedance | Objective-C | Code | 28 | 88 | //
// BUDSettingTableView.h
// BUDemo
//
// Created by iCuiCui on 2018/11/2.
// Copyright © 2018年 bytedance. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface BUDSettingTableView : UITableView
@end
| 928 |
https://github.com/boolean99/my-app-in-2017/blob/master/src/webpack/project/compile-sass-and-insert.js | Github Open Source | Open Source | MIT | 2,017 | my-app-in-2017 | boolean99 | JavaScript | Code | 116 | 508 | import modifier from '../helpers/modifier';
import makeLayout from './make-layout';
export default function compileSassAndInsert(XHttpResult, param) {
let scssString = XHttpResult.responseText;
const DOC = document,
sass = new Sass();
// $main-color: rgba(255, 255, 255, 1);의 형태를 추가해 테마 색상을 교체
scssSt... | 47,555 |
https://github.com/ScarfZapdos/conan-bge-questgen/blob/master/src/aquaplanning-master/src/main/java/ipasir4j/Ipasir4j.java | Github Open Source | Open Source | MIT | 2,022 | conan-bge-questgen | ScarfZapdos | Java | Code | 380 | 997 | /** @author Tomas Balyo, KIT, Karlsruhe */
package ipasir4j;
/**
* A Java-style ipasir interface
*/
public class Ipasir4j {
public enum IPASIR_RESULT {
SATISFIABLE,
UNSATISFIABLE,
INDETERMINATE
}
private int solverId;
/**
* Default constructor.
*/
public Ipasir4j() {
this("ipasir4j");
}
/*... | 51,386 |
https://github.com/egbobright/javascript-testing-recipes/blob/master/node/basic_express/app.js | Github Open Source | Open Source | Unlicense | 2,017 | javascript-testing-recipes | egbobright | JavaScript | Code | 20 | 65 | var express = require("express"),
http = require("http")
var app = express()
app.get("/", function(request, response) {
response.json(request.query)
})
module.exports = http.createServer(app)
| 7,742 |
https://github.com/chenlein/flyway/blob/master/flyway-core/src/main/java/org/flywaydb/core/internal/database/dm7/DM7SqlScript.java | Github Open Source | Open Source | Apache-2.0 | 2,018 | flyway | chenlein | Java | Code | 208 | 507 | /*
* Copyright 2010-2018 Boxfuse GmbH
*
* 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 ... | 1,244 |
https://github.com/sadfuzzy/static-model/blob/master/lib/static_model/spec/static_model.rb | Github Open Source | Open Source | MIT, LicenseRef-scancode-unknown-license-reference | 2,014 | static-model | sadfuzzy | Ruby | Code | 38 | 164 | require 'static_model/spec'
module StaticModel
extend RSpec::SharedContext
describe '#initialize' do
it 'sets the attributes' do
expect_any_instance_of(described_class).to receive(:attribute_1=).with(1)
expect_any_instance_of(described_class).to receive(:attribute_2=).with(2)
described_clas... | 50,900 |
https://github.com/patleeman/VSNotes/blob/master/src/setupNotes.js | Github Open Source | Open Source | MIT | 2,023 | VSNotes | patleeman | JavaScript | Code | 124 | 339 |
const vscode = require('vscode');
const path = require('path');
module.exports = function () {
const msg = 'Welcome to VSNotes. To begin, choose a location to save your notes. Click Start to continue ->';
const startOption = vscode.window.showInformationMessage(msg, ...['Start']);
startOption.then(value => {
... | 7,860 |
https://github.com/veigr/Nekoxy2/blob/master/Nekoxy2.SazLoader/Entities/Http/SazHttpResponse.cs | Github Open Source | Open Source | MIT | 2,021 | Nekoxy2 | veigr | C# | Code | 192 | 763 | using Nekoxy2.ApplicationLayer.Entities.Http;
using Nekoxy2.ApplicationLayer.MessageBodyParsers;
using Nekoxy2.Spi.Entities.Http;
using System;
using System.Linq;
using System.Text;
namespace Nekoxy2.SazLoader.Entities.Http
{
/// <summary>
/// レスポンス
/// </summary>
internal sealed class SazHttpResponse... | 51,788 |
https://github.com/xuekg/elasticsearch-6.8.8/blob/master/server/src/test/java/org/elasticsearch/search/DocValueFormatTests.java | Github Open Source | Open Source | Apache-2.0 | null | elasticsearch-6.8.8 | xuekg | Java | Code | 646 | 2,959 | /*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this fi... | 25,801 |
https://github.com/yurivyatkin/niktayv-11a/blob/master/utils/filters.js | Github Open Source | Open Source | MIT | 2,021 | niktayv-11a | yurivyatkin | JavaScript | Code | 255 | 656 | const { DateTime } = require('luxon');
const slugify = require('slugify');
const cleanCSS = require('clean-css');
module.exports = {
/**
* Filters
* @link https://www.11ty.dev/docs/filters/
*/
/**
* dateToFormat allows specifiying display format at point of use.
* Example in footer: {{ build.timest... | 2,042 |
https://github.com/rusagar/ecommerce/blob/master/assets/scripts/common.js | Github Open Source | Open Source | MIT | null | ecommerce | rusagar | JavaScript | Code | 601 | 2,451 | $(function($){
$('#advanceSearchButtons > a').click(function(){
//$(this).parent().hide();
$('#advanceSrchSection').hide();
$('#advanceSrchSection :input').attr("disabled",'disabled');
$('#basicSearchButton').fadeIn('500');
});
$('#basicSearchButton > a').click(function(){
... | 13,164 |
https://github.com/mystickev/ctf-archives/blob/master/angstrom/2021/crypto/Circle_of_Trust/gen.py | Github Open Source | Open Source | MIT | 2,021 | ctf-archives | mystickev | Python | Code | 126 | 346 | import random
import secrets
import math
from decimal import Decimal, getcontext
from Crypto.Cipher import AES
BOUND = 2 ** 128
MULT = 10 ** 10
getcontext().prec = 50
def nums(a):
b = Decimal(random.randint(-a * MULT, a * MULT)) / MULT
c = (a ** 2 - b ** 2).sqrt()
if random.randrange(2):
c *= -1
... | 42,905 |
https://github.com/rcrespo9/nasry-michelen-foundation/blob/master/resources/assets/styles/components/_give-form.scss | Github Open Source | Open Source | MIT | null | nasry-michelen-foundation | rcrespo9 | SCSS | Code | 10 | 49 | [id*=give-form] {
.give-form-title {
line-height: strip-unit(ms(1));
margin-bottom: ms(1);
}
}
| 18,468 |
https://github.com/astrowq/DSpace/blob/master/dspace-server-webapp/src/main/java/org/dspace/app/rest/exception/IncompleteItemRequestException.java | Github Open Source | Open Source | BSD-3-Clause | 2,022 | DSpace | astrowq | Java | Code | 84 | 180 | /*
* The contents of this file are subject to the license and copyright
* detailed in the LICENSE and NOTICE files at the root of the source
* tree and available online at
*
* http://www.dspace.org/license/
*/
package org.dspace.app.rest.exception;
/**
* Thrown to indicate that a mandatory Item Request attribut... | 25,765 |
https://github.com/Anjali-1995/hosting-laravel-project-onheroku/blob/master/app/BranchLocation.php | Github Open Source | Open Source | MIT | null | hosting-laravel-project-onheroku | Anjali-1995 | PHP | Code | 52 | 198 | <?php
namespace App;
use App\Model\Branch;
use Illuminate\Database\Eloquent\Model;
class BranchLocation extends Model
{
protected $fillable = [
'branch_id',
'longitude',
'latitude',
'city',
'road',
'address',
'pin'
];
public function branch(){
... | 17,228 |
https://github.com/TokamakUI/Tokamak/blob/master/Sources/TokamakStaticHTML/App.swift | Github Open Source | Open Source | LicenseRef-scancode-unknown-license-reference, Apache-2.0, LicenseRef-scancode-unknown | 2,023 | Tokamak | TokamakUI | Swift | Code | 157 | 336 | // Copyright 2020-2021 Tokamak contributors
//
// 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... | 3,521 |
https://github.com/KalitaKonrad/flankers/blob/master/app/src/components/team/TeamInvitesList.tsx | Github Open Source | Open Source | BSD-3-Clause | 2,021 | flankers | KalitaKonrad | TSX | Code | 199 | 750 | import * as React from 'react';
import { Dispatch, MutableRefObject, SetStateAction } from 'react';
import {
FlatList,
ListRenderItemInfo,
StyleProp,
StyleSheet,
View,
ViewStyle,
} from 'react-native';
import { List } from 'react-native-paper';
import BottomSheet from 'reanimated-bottom-sheet';
import { In... | 211 |
https://github.com/jplevyak/sdk/blob/master/src/dfx/src/lib/replica_config.rs | Github Open Source | Open Source | Apache-2.0 | 2,021 | sdk | jplevyak | Rust | Code | 217 | 686 | use serde::{Deserialize, Serialize};
use std::default::Default;
use std::path::{Path, PathBuf};
#[derive(Clone, Debug, Default, Serialize, Deserialize)]
pub struct HttpHandlerConfig {
/// Instructs the HTTP handler to use the specified port
pub port: Option<u16>,
/// Instructs the HTTP handler to bind to ... | 34,946 |
https://github.com/akgrant43/Glorp/blob/master/Glorp.package/ConditionalMapping.class/instance/conditionalMethod..st | Github Open Source | Open Source | MIT | null | Glorp | akgrant43 | null | Spoken | 25 | 55 | accessing
conditionalMethod: aSymbol
(conditionalMethod notNil and: [conditionalMethod ~~ aSymbol]) ifTrue: [self error: 'You can only test one attribute in a conditional mapping'].
conditionalMethod := aSymbol | 39,300 |
https://github.com/paradisery/MadMax/blob/master/Pods/Target Support Files/KYCuteView/KYCuteView-umbrella.h | Github Open Source | Open Source | MIT | 2,019 | MadMax | paradisery | C | Code | 15 | 72 | #ifdef __OBJC__
#import <UIKit/UIKit.h>
#endif
#import "KYCuteView.h"
FOUNDATION_EXPORT double KYCuteViewVersionNumber;
FOUNDATION_EXPORT const unsigned char KYCuteViewVersionString[];
| 20,824 |
https://github.com/coduo/php-matcher/blob/master/tests/Matcher/JsonObjectMatcherTest.php | Github Open Source | Open Source | MIT | 2,023 | php-matcher | coduo | PHP | Code | 152 | 624 | <?php
declare(strict_types=1);
namespace Coduo\PHPMatcher\Tests\Matcher;
use Coduo\PHPMatcher\Backtrace;
use Coduo\PHPMatcher\Lexer;
use Coduo\PHPMatcher\Matcher\JsonObjectMatcher;
use Coduo\PHPMatcher\Parser;
use PHPUnit\Framework\TestCase;
final class JsonObjectMatcherTest extends TestCase
{
private ?JsonObje... | 37,086 |
https://github.com/phoenixsbk/kvmmgr/blob/master/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/IVnc.java | Github Open Source | Open Source | Apache-2.0 | 2,019 | kvmmgr | phoenixsbk | Java | Code | 37 | 165 | package org.ovirt.engine.ui.uicommonweb.models.vms;
public interface IVnc {
void setVncHost(String host);
void setVncPort(String port);
void setTicket(String ticket);
void setTitle(String title);
boolean isRemapCtrlAltDelete();
void setRemapCtrlAltDelete(boolean remapCtrlAltDelete);
void s... | 51,013 |
https://github.com/wKich/stripes-components/blob/master/lib/Popover/tests/Popover-test.js | Github Open Source | Open Source | Apache-2.0 | 2,021 | stripes-components | wKich | JavaScript | Code | 436 | 1,176 | /**
* Popover tests
*/
import React, { useState } from 'react';
import { HTML, Button as ButtonInteractor } from '@folio/stripes-testing';
import { describe, beforeEach, it } from '@bigtest/mocha';
import { expect } from 'chai';
import { mount } from '../../../tests/helpers';
import Button from '../../Button';
im... | 41,944 |
https://github.com/azaddeveloper/api-snippets/blob/master/notifications/rest/credentials/delete-credential/delete-credential.6.x.py | Github Open Source | Open Source | MIT | 2,021 | api-snippets | azaddeveloper | Python | Code | 55 | 136 | # NOTE: This example uses the next generation Twilio helper library - for more
# information on how to download and install this version, visit
# https://www.twilio.com/docs/libraries/python
from twilio.rest import Client
# Your Account Sid and Auth Token from twilio.com/user/account
account = "ACXXXXXXXXXXXXXXXXXXXXX... | 11,747 |
https://github.com/Erkberg/UnityLibrary/blob/master/Scripts/Util/RotateAroundTransform.cs | Github Open Source | Open Source | MIT | 2,023 | UnityLibrary | Erkberg | C# | Code | 74 | 256 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace ErksUnityLibrary
{
public class RotateAroundTransform : MonoBehaviour
{
public Transform target;
public Vector3 rotationAxis;
public float rotationSpeed = 1f;
private void Update()
... | 8,799 |
https://github.com/helios-ag/FMSteamcondenserBundle/blob/master/Resources/views/Widgets/ServerInfo.html.twig | Github Open Source | Open Source | MIT | 2,014 | FMSteamcondenserBundle | helios-ag | Twig | Code | 65 | 218 | {% if not error %}
<div class="fm_steam_server_info">
<span>{{ server.ServerInfo.serverName }}</span>
{% if showPlayers %}
<div id="fm_steam_players_block">
<span>{% trans from 'FMSteamcondenserBundle' %}players{% endtrans %}</span>
<ul>
{% for player in server.getPla... | 48,826 |
https://github.com/n-kulberg/xrad/blob/master/XRADBasic/Sources/Utils/TableFunction.hh | Github Open Source | Open Source | BSD-3-Clause | 2,021 | xrad | n-kulberg | C++ | Code | 221 | 741 | /*
Copyright (c) 2021, Moscow Center for Diagnostics & Telemedicine
All rights reserved.
This file is licensed under BSD-3-Clause license. See LICENSE file for details.
*/
//TableFunction.hh
XRAD_BEGIN
//--------------------------------------------------------------
//
// табличная функция
//
//----------------... | 47,447 |
https://github.com/dickyerfan/perpus/blob/master/application/views/anggota/form_anggota.php | Github Open Source | Open Source | MIT | null | perpus | dickyerfan | PHP | Code | 139 | 692 | <div class="col-md-6">
<div class="box box-info">
<div class="box-header with-border">
<h3 class="box-title"><?= $judul ?></h3>
</div>
<form method="POST" action="<?= base_url('anggota/simpan') ?>" class="form-horizontal">
<div class="box-body">
<div ... | 37,380 |
https://github.com/haoxingz/python-matlab-bridge/blob/master/pymatbridge/matlab/util/publish_notebook.m | Github Open Source | Open Source | BSD-2-Clause | 2,014 | python-matlab-bridge | haoxingz | MATLAB | Code | 100 | 248 | function publish_notebook(mfile, varargin)
% function publish_notebook(mfile, [outputfile])
%
% Publish a Matlab m file as an interactive notebook in .ipynb format
%
% Parameters
% ----------
% mfile : str
% Full path to the input m file.
% outputfile
% Full path to the output .ipynb file
if length(varargin)
... | 292 |
https://github.com/daemon/bungeeweb-gpt2/blob/master/bwgpt2/run/db2tsv.py | Github Open Source | Open Source | MIT | null | bungeeweb-gpt2 | daemon | Python | Code | 327 | 1,216 | from collections import defaultdict, deque
from typing import List
import argparse
import getpass
import json
import os
import re
import sys
from tqdm import tqdm
import mysql.connector
import pandas as pd
from bwgpt2.workspace import UUID_RESOLVE_FILENAME, CHAT_LOG_FILENAME
from bwgpt2.database import ChatRecord, Ch... | 41,007 |
https://github.com/ruffrey/symbolic-logic-site/blob/master/templates/article.jade | Github Open Source | Open Source | MIT | null | symbolic-logic-site | ruffrey | null | Spoken | 113 | 438 |
extends layout
block append vars
- bodyclass = 'article-detail'
block prepend title
| #{ page.title + ' - '}
block header
include author
+logo
h4.copy(style="text-align: center"): a(href="/") Symbolic Logic
br
if (page.metadata.date)
p.date.author= moment.utc(page.metadata.date).format('DD. MMMM Y... | 34,180 |
https://github.com/annlay/JpaCodeGenerate/blob/master/code-generate/src/main/java/cn/beinet/codegenerate/service/RepositoryGenerater.java | Github Open Source | Open Source | Apache-2.0 | 2,021 | JpaCodeGenerate | annlay | Java | Code | 78 | 300 | package cn.beinet.codegenerate.service;
import cn.beinet.codegenerate.model.ColumnDto;
import org.springframework.stereotype.Component;
import java.util.List;
@Component
public class RepositoryGenerater {
String generate(String table, String keyType, String packageName) {
StringBuilder sb = new StringBu... | 4,992 |
https://github.com/jsdelivrbot/dockerfiles-1/blob/master/data/p/peek2710/d_start/Dockerfile | Github Open Source | Open Source | MIT | 2,018 | dockerfiles-1 | jsdelivrbot | Dockerfile | Code | 5 | 17 | FROM busybox:latest
CMD ["echo","Hello Student"]
| 28,107 |
https://github.com/DDumanTT/oro-uosto-is-backend/blob/master/app/Models/Flight.php | Github Open Source | Open Source | MIT | null | oro-uosto-is-backend | DDumanTT | PHP | Code | 51 | 227 | <?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Flight extends Model
{
use HasFactory;
protected $fillable = [
'flight_code',
'departure_location',
'arrival_location',
'status',
'gate',
... | 30,532 |
https://github.com/workgroupengineering/VS-PPT/blob/master/src/OptionsPage/OptionsControl.xaml.cs | Github Open Source | Open Source | MIT | 2,019 | VS-PPT | workgroupengineering | C# | Code | 440 | 1,343 | using Microsoft.VisualStudio.Settings;
using Microsoft.VisualStudio.Shell;
using Microsoft.VisualStudio.Shell.Settings;
using Microsoft.VisualStudio.Text.Editor;
using System.Collections.Generic;
using System.Windows;
using System.Windows.Controls;
namespace Microsoft.VisualStudio.PowerTools.OptionsPage
{
/// <su... | 47,305 |
https://github.com/openov2/common-tosca-aria/blob/master/src/aria_rest/daemon.py | Github Open Source | Open Source | ECL-2.0, Apache-2.0 | null | common-tosca-aria | openov2 | Python | Code | 293 | 981 | #
# Copyright (c) 2017 GigaSpaces Technologies Ltd. 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 require... | 14,677 |
https://github.com/hernanmd/KomHttpServer/blob/master/repository/KomHttpServer-Kernel/TranscriptStream.extension.st | Github Open Source | Open Source | MIT | 2,022 | KomHttpServer | hernanmd | null | Spoken | 18 | 42 | Extension { #name : #TranscriptStream }
{ #category : #'*KomHttpServer' }
TranscriptStream >> isTranscriptStream [
^ true
]
| 23,353 |
https://github.com/brendanwmichael0007/BlazingBlade/blob/master/.import/Select.wav-b4f9647a630b0fc9603674ee60b69fe1.md5 | Github Open Source | Open Source | MIT | 2,021 | BlazingBlade | brendanwmichael0007 | null | Spoken | 2 | 52 | source_md5="b55de47de3f4f134ae7fac3d6b416585"
dest_md5="8cf4565857002e76526829e5ccc400ba"
| 42,431 |
https://github.com/FLAMEGPU/FLAMEGPU2/blob/master/cmake/dependencies/rapidjson.cmake | Github Open Source | Open Source | MIT | 2,023 | FLAMEGPU2 | FLAMEGPU | CMake | Code | 112 | 702 | #############
# RapidJSON #
#############
set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_LIST_DIR}/modules/ ${CMAKE_MODULE_PATH})
include(FetchContent)
include(ExternalProject)
cmake_policy(SET CMP0079 NEW)
# Head of master as of 2020-07-14, as last release is ~500 commits behind head
FetchContent_Declare(
rapidjson
G... | 45,569 |
https://github.com/YuryMatskevich/ymatskevich/blob/master/chapter_003/src/test/java/ru/job4j/user/SortUserTest.java | Github Open Source | Open Source | Apache-2.0 | null | ymatskevich | YuryMatskevich | Java | Code | 195 | 654 | package ru.job4j.user;
import org.junit.Test;
import java.util.*;
import static org.hamcrest.core.Is.is;
import static org.junit.Assert.assertThat;
/**
* @author Yury Matskevich
* @since 0.1
*/
public class SortUserTest {
@Test
public void sortByAge() {
SortUser sort = new SortUser();
Lis... | 173 |
https://github.com/TonGarcia/UnityScripts/blob/master/Moviment.cs | Github Open Source | Open Source | MIT | 2,018 | UnityScripts | TonGarcia | C# | Code | 83 | 296 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Moviment : MonoBehaviour {
private Animator moviment;
// Use this for initialization
void Start () {
moviment = this.GetComponent<Animator> ();
}
// Update is called once per frame
void Update () {
// Toggle... | 11,485 |
https://github.com/Paul-Cry/api-air-flight/blob/master/app/Http/Controllers/FlightController.php | Github Open Source | Open Source | MIT | 2,021 | api-air-flight | Paul-Cry | PHP | Code | 131 | 539 | <?php
namespace App\Http\Controllers;
use App\Flight;
use App\Http\Resources\FlightResource;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Validator;
class FlightController extends Controller
{
public function getFLights($from, $to, $date)
{
$flights = Flight::whereHas('airportFrom', fu... | 49,096 |
https://github.com/DaniilStepanov/bbfgradle/blob/master/tmp/arrays/youTrackTests/9850.kt | Github Open Source | Open Source | Apache-2.0 | 2,023 | bbfgradle | DaniilStepanov | Kotlin | Code | 39 | 109 | // Original bug: KT-10939
interface Base {
fun <T> foo(a: T)
fun <T> foo(a: T, vararg args: Any)
}
interface Derived : Base
fun testBase(x: Base) {
x.foo("") // OK
}
fun testDerived(x: Derived) {
x.foo("") // CANNOT_COMPLETE_RESOLVE
}
| 19,154 |
https://github.com/RLesur/shinyapps-package-dependencies/blob/master/packages/staplr/test.R | Github Open Source | Open Source | Apache-2.0 | 2,021 | shinyapps-package-dependencies | RLesur | R | Code | 34 | 156 | options(download.file.method="curl")
install.packages("staplr", repos="https://cran.rstudio.com")
pdfFile = system.file('testForm.pdf',package = 'staplr')
fields = staplr::get_fields(pdfFile)
fields$TextField1$value = 'this is text'
fields$TextField2$value = 'more text'
filledFile = tempfile(fileext = '.pdf')
staplr... | 19,773 |
https://github.com/appcelerator-forks/appc-daemon/blob/master/packages/appcd-gulp/.npmignore | Github Open Source | Open Source | Apache-2.0 | 2,018 | appc-daemon | appcelerator-forks | Ignore List | Code | 9 | 48 | ._*
.DS_Store
.git*
.nyc_output
.travis.yml
junit.xml
node_modules
npm-debug.log
yarn-error.log
| 422 |
https://github.com/marianopeck/Seaside-1/blob/master/repository/Seaside-Welcome.package/WAWelcome.class/instance/renderContentOn..st | Github Open Source | Open Source | MIT | 2,022 | Seaside-1 | marianopeck | null | Spoken | 34 | 93 | rendering
renderContentOn: html
html div
class: 'container';
with: [
html div
class: 'sidebar';
with: [ self renderSideBarOn: html ].
html div
class: 'content';
with: [ self renderMainContentOn: html ].
html div class: 'clear' ] | 20,708 |
https://github.com/firsovdmi/FairMarkClient/blob/master/FairMark/Toolbox/HtmlHelper.cs | Github Open Source | Open Source | MIT | 2,021 | FairMarkClient | firsovdmi | C# | Code | 98 | 322 | namespace FairMark.Toolbox
{
using System;
using System.Linq;
using System.Text.RegularExpressions;
internal static class HtmlHelper
{
/// <summary>
/// Try to extract readable text from HTML.
/// </summary>
/// <param name="html">HTML to process.</param>
//... | 40,346 |
https://github.com/kristiyan-ASW-G-08/fullstack-reddit-clone-ts-mern/blob/master/packages/common/source/types/Link.ts | Github Open Source | Open Source | MIT | null | fullstack-reddit-clone-ts-mern | kristiyan-ASW-G-08 | TypeScript | Code | 13 | 31 | interface Link {
method: string;
title: string;
href: string;
}
export default Link;
| 5,106 |
https://github.com/rydeen5857/esliveness/blob/master/liveness.js | Github Open Source | Open Source | MIT | 2,016 | esliveness | rydeen5857 | JavaScript | Code | 613 | 2,289 | require('es6-shim');
var esgraph = require('esgraph');
var estraverse = require('estraverse');
var escodegen = require('escodegen');
var deepEqual = require('deep-equal');
function computeGen (astNode) {
console.log(astNode);
switch (astNode.type) {
case 'AssignmentExpression':
return com... | 5,841 |
https://github.com/LucaGabi/esv/blob/master/README.rdoc | Github Open Source | Open Source | MIT, LicenseRef-scancode-unknown-license-reference | 2,009 | esv | LucaGabi | RDoc | Code | 415 | 1,153 | = esv
Wrapper for English Standard Version (ESV) Bible Web Service. See ESV API docs http://www.esvapi.org/
This is a work in progress. Things are still in flux.
Source: http://github.com/gdagley/esv
Build status: http://runcoderun.com/gdagley/esv
== SYNOPSIS:
Application use:
b = ESV::Bible.new
Default r... | 49,622 |
https://github.com/parca-dev/parca/blob/master/env-local-test.sh | Github Open Source | Open Source | Apache-2.0 | 2,023 | parca | parca-dev | Shell | Code | 156 | 448 | #! /usr/bin/env bash
# Copyright 2023 The Parca 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 law or a... | 41,819 |
https://github.com/jbelmont/recipe-maker/blob/master/client/users/controllers/reset.js | Github Open Source | Open Source | Apache-2.0 | 2,015 | recipe-maker | jbelmont | JavaScript | Code | 51 | 150 | angular.module("recipes").controller("ResetCtrl", ['$meteor', '$state',
function ($meteor, $state) {
var vm = this;
vm.credentials = {
email: ''
};
vm.error = '';
vm.reset = function () {
$meteor.forgotPassword(vm.credentials)
.then(... | 28,393 |
https://github.com/QixingHuang/PINTO_model_zoo/blob/master/041_DBFace/01_float32/04_weight_quantization.py | Github Open Source | Open Source | MIT | 2,021 | PINTO_model_zoo | QixingHuang | Python | Code | 72 | 440 | ### tensorflow==2.2.0
import tensorflow as tf
# # Weight Quantization - Input/Output=float32
# converter = tf.lite.TFLiteConverter.from_saved_model('saved_model')
# converter.optimizations = [tf.lite.Optimize.OPTIMIZE_FOR_SIZE]
# converter.target_spec.supported_ops = [tf.lite.OpsSet.TFLITE_BUILTINS,tf.lite.OpsSet.SEL... | 45,907 |
https://github.com/joschi/java-metadata/blob/master/docs/checksums/liberica/bellsoft-jdk8u212-linux-amd64.rpm.sha1 | Github Open Source | Open Source | MIT | 2,023 | java-metadata | joschi | null | Spoken | 2 | 47 | b8a5e611054b76fbec9fb85c80394d2e3f3ec09f bellsoft-jdk8u212-linux-amd64.rpm
| 33,663 |
https://github.com/espressonist/jessemoreno/blob/master/src/pages/books/proud-to-be-me-part-1.js | Github Open Source | Open Source | MIT | null | jessemoreno | espressonist | JavaScript | Code | 336 | 1,010 | import React from 'react';
import { Helmet } from 'react-helmet';
import Layout from '../../layout/layout';
import Post from '../../components/post';
const Book1 = () => {
let disqusConfig = {
url: `http://localhost:8000/books/proud-to-be-me-part-1`,
title: `Proud To Be Me: Rosalinda`
};
return (
<Layout clas... | 31,306 |
https://github.com/zmmwl/tessera/blob/master/config-cli/src/test/java/com/quorum/tessera/config/cli/OverrideUtilTest.java | Github Open Source | Open Source | Apache-2.0 | null | tessera | zmmwl | Java | Code | 569 | 3,840 | package com.quorum.tessera.config.cli;
import com.quorum.tessera.config.Config;
import com.quorum.tessera.config.KeyConfiguration;
import com.quorum.tessera.config.Peer;
import com.quorum.tessera.config.SslAuthenticationMode;
import com.quorum.tessera.config.util.JaxbUtil;
import org.junit.Ignore;
import org.junit.Tes... | 44,595 |
https://github.com/emoacht/Monitorian/blob/master/Source/ScreenFrame/Helper/ColorExtension.cs | Github Open Source | Open Source | MIT | 2,023 | Monitorian | emoacht | C# | Code | 104 | 368 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Media;
namespace ScreenFrame.Helper
{
internal static class ColorExtension
{
#region Win32
[DllImport("Dwmapi.dll")]
private static ex... | 27,425 |
https://github.com/sudermanjr/pikube-cluster-config/blob/master/.gitignore | Github Open Source | Open Source | MIT | 2,018 | pikube-cluster-config | sudermanjr | Ignore List | Code | 6 | 35 | __pycache__
*.swp
*-master.yaml
*-node*.yaml
cluster_config.yaml
pikube/
| 3,021 |
https://github.com/DCUSnSLab/DCU_Online_Judge_Backend/blob/master/qna/serializers.py | Github Open Source | Open Source | MIT | 2,022 | DCU_Online_Judge_Backend | DCUSnSLab | Python | Code | 75 | 241 | from problem.serializers import ProblemAdminSerializer
from submission.serializers import SubmissionModelSerializer
from utils.api import serializers
from .models import Post, Comment
from account.serializers import UserSerializer
from contest.serializers import ContestAdminSerializer
from lecture.serializers import Si... | 7,807 |
https://github.com/angelmr98/ember-modal-service/blob/master/addon/utils/css-transitions/index.js | Github Open Source | Open Source | MIT | null | ember-modal-service | angelmr98 | JavaScript | Code | 8 | 24 | import hasTransitions from './has-transitions';
export {
hasTransitions
};
| 49,443 |
https://github.com/landolsi1/tunisiehologram/blob/master/vendor/paymill/paymill/tests/unit/Paymill/API/CurlTest.php | Github Open Source | Open Source | MIT | 2,020 | tunisiehologram | landolsi1 | PHP | Code | 301 | 990 | <?php
namespace Paymill\Test\Unit\API;
use PHPUnit_Framework_TestCase;
/**
* Paymill\API\Curl test case.
*/
class CurlTest
extends PHPUnit_Framework_TestCase
{
/**
* @var \Paymill\API\Curl
*/
private $_curlObject;
/**
* Prepares the environment before running a test.
*/
pr... | 40,307 |
https://github.com/WolfgangKurz/RimWorldModVisualizer/blob/master/RimWorldModVisualizer/Enums/ModType.cs | Github Open Source | Open Source | MIT | 2,019 | RimWorldModVisualizer | WolfgangKurz | C# | Code | 22 | 73 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RimWorldModVisualizer.Enums {
public enum ModType {
Steam,
Local,
Directory
}
}
| 28,007 |
https://github.com/isabella232/mdc-inspectors-dashboard/blob/master/feedback/reports/views.py | Github Open Source | Open Source | MIT | 2,016 | mdc-inspectors-dashboard | isabella232 | Python | Code | 240 | 832 | # -*- coding: utf-8 -*-
import arrow
import numpy as np
from flask import (
Blueprint, render_template, flash
)
from flask.ext.login import login_required
from feedback.surveys.models import Survey
from feedback.surveys.constants import PERMIT_TYPE
from feedback.dashboard.vendorsurveys import (
get_rating_sc... | 44,848 |
https://github.com/shuyuandeqipa/mycaptcha/blob/master/preoject_five_facenet/my_test/good_utils.py | Github Open Source | Open Source | MIT | 2,019 | mycaptcha | shuyuandeqipa | Python | Code | 686 | 5,951 | import os
import numpy as np
# 从一个文件夹中将所有的图片的路径保存下来
# ['E:\\MyPythonProjects\\facenet-master\\data\\images\\Anthony_Hopkins_0001.jpg',
# 'E:\\MyPythonProjects\\facenet-master\\data\\images\\Anthony_Hopkins_0002.jpg']
def get_image_paths(facedir):
image_paths = []
if os.path.isdir(facedir):
images = os... | 29,880 |
https://github.com/scottprahl/iad/blob/master/mma/AD.m | Github Open Source | Open Source | MIT | 2,023 | iad | scottprahl | Mathematica | Code | 842 | 3,396 | (* :Name:Optics`AD*)
(* :Title:Adding Doubling Calculations*)
(* :Author:Scott Prahl*)
(* :Summary:This package finds reflection and transmission for slabs.*)
(* :Context:Optics`AD`*)
(* :Package Version:1.4*)
(* :Copyright:Copyright 2019, Scott Prahl*)
(* :History:Originally written by Scott Prahl, November 200... | 51,313 |
https://github.com/ComandoLando/swift-fhir/blob/master/Tests/ModelTests/ImagingStudyTests.swift | Github Open Source | Open Source | ECL-2.0, Apache-2.0 | null | swift-fhir | ComandoLando | Swift | Code | 176 | 1,056 | //
// ImagingStudyTests.swift
// SwiftFHIR
//
// Generated from FHIR 1.4.0.8139 on 2016-08-17.
// 2016, SMART Health IT.
//
import XCTest
import SwiftFHIR
class ImagingStudyTests: XCTestCase {
func instantiateFrom(filename: String) throws -> SwiftFHIR.ImagingStudy {
return instantiateFrom(json: try readJSON... | 30,124 |
https://github.com/Isopolito/AzureSchedulingService/blob/master/Scheduling.SharedPackage/Extensions/SchedulingApiServiceOptions.cs | Github Open Source | Open Source | MIT | 2,021 | AzureSchedulingService | Isopolito | C# | Code | 27 | 76 | using System;
using Scheduling.SharedPackage.Models;
namespace Scheduling.SharedPackage.Extensions
{
public class SchedulingApiServiceOptions
{
public FunctionKeys FunctionKeys { get; set; }
public Func<string> ServiceAddressFetcher { get; set; }
}
}
| 36,488 |
https://github.com/oxgodzilla/hotspring-laravel/blob/master/resources/views/pages/hotspring_details.blade.php | Github Open Source | Open Source | MIT | 2,020 | hotspring-laravel | oxgodzilla | Blade | Code | 479 | 3,071 | @extends("app")
@section("styles")
<!-- Global styles START -->
<link href="{{asset('assets/global/plugins/bootstrap/css/bootstrap.min.css')}}" rel="stylesheet">
<link href="{{asset('assets/global/plugins/font-awesome/css/font-awesome.min.css')}}" rel="stylesheet">
<!-- Global styles END -->
... | 40,328 |
https://github.com/jsantell/fx-devtools-bot/blob/master/utils_test.go | Github Open Source | Open Source | MIT | 2,014 | fx-devtools-bot | jsantell | Go | Code | 652 | 2,294 | package main
import (
"testing"
"github.com/google/go-github/github"
)
func createCommitMessage(message string) github.RepositoryCommit {
repoCommit := new(github.RepositoryCommit)
commit := new(github.Commit)
commit.Message = &message
repoCommit.Commit = commit
return *repoCommit
}
func TestIsValidCommit(t ... | 24,380 |
https://github.com/hernanmd/pharo/blob/master/src/BlueInk-Core.package/BIPrettyPrinterContext.class/instance/indentString.st | Github Open Source | Open Source | MIT | 2,019 | pharo | hernanmd | null | Spoken | 4 | 12 | accessing
indentString
^ indentString | 32,632 |
https://github.com/djingwu/hybrid-development/blob/master/clbs/src/main/java/com/zw/api2/swaggerEntity/SwaggerVehicleTypeUpdateForm.java | Github Open Source | Open Source | MIT | 2,021 | hybrid-development | djingwu | Java | Code | 101 | 447 | package com.zw.api2.swaggerEntity;
import com.zw.platform.util.common.ValidGroupAdd;
import com.zw.platform.util.common.ValidGroupUpdate;
import lombok.Data;
import org.apache.bval.constraints.NotEmpty;
import javax.validation.constraints.Size;
/***
@Author gfw
@Date 2019/2/15 15:01
@Description 修改车辆类型信息
@versio... | 18,412 |
https://github.com/Lcfvs/anticore-tools/blob/master/dom/selection/current.js | Github Open Source | Open Source | MIT | null | anticore-tools | Lcfvs | JavaScript | Code | 9 | 22 | import {global} from '../../utils/global';
export const current = global.getSelection; | 32,244 |
https://github.com/mgallien/typelib/blob/master/typelib/typebuilder.cc | Github Open Source | Open Source | LicenseRef-scancode-cecill-b-en, BSD-3-Clause, LicenseRef-scancode-unknown-license-reference, CECILL-B | 2,009 | typelib | mgallien | C++ | Code | 416 | 1,424 | #include "typebuilder.hh"
#include "registry.hh"
#include "typemodel.hh"
#include <numeric>
#include <sstream>
using std::string;
using std::list;
namespace
{
static string join(const string& acc, const string& add)
{
if (acc.empty()) return add;
return acc + ' ' + add;
}
}
namespace Typ... | 21,060 |
https://github.com/Arek-Arek/czateria/blob/master/czatlib/icons.h | Github Open Source | Open Source | BSD-3-Clause | 2,021 | czateria | Arek-Arek | C | Code | 30 | 95 | #ifndef CZATLIB_ICONS_H
#define CZATLIB_ICONS_H
#include <QString>
namespace Czateria {
enum class IconReplaceMode { Text, Emoji };
QString convertRawMessage(const QString &str, IconReplaceMode);
QString textIconsToTags(const QString &str);
} // namespace Czateria
#endif
| 26,797 |
https://github.com/junnae/spsak/blob/master/felles/integrasjon/behandleoppgave-klient/src/main/java/no/nav/vedtak/felles/integrasjon/behandleoppgave/BehandleoppgaveSelftestConsumer.java | Github Open Source | Open Source | MIT | 2,019 | spsak | junnae | Java | Code | 11 | 69 | package no.nav.vedtak.felles.integrasjon.behandleoppgave;
import no.nav.vedtak.felles.integrasjon.felles.ws.SelftestConsumer;
public interface BehandleoppgaveSelftestConsumer extends SelftestConsumer {
}
| 50,353 |
https://github.com/jmduque/outlook_android_challenge/blob/master/OutlookAndroidEngineerChallenge/app/src/main/java/outlookchallenge/jmduque/com/outlookandroidengineerchallenge/models/CalendarMonth.java | Github Open Source | Open Source | Apache-2.0 | 2,016 | outlook_android_challenge | jmduque | Java | Code | 162 | 529 | package outlookchallenge.jmduque.com.outlookandroidengineerchallenge.models;
import java.io.Serializable;
import java.util.Date;
import java.util.List;
/**
* Created by Jose on 7/30/2016.
*/
public class CalendarMonth
implements
Serializable {
private int year;
private int month; //0 Based;... | 81 |
https://github.com/Evil1991/bitrixdock/blob/master/www/html/bitrix/modules/socialnetwork/install/components/bitrix/socialnetwork.user_birthday/lang/ru/.description.php | Github Open Source | Open Source | MIT | null | bitrixdock | Evil1991 | PHP | Code | 22 | 97 | <?
$MESS ['SONET_BIRTHDAY_TEMPLATE_NAME'] = "Дни рождения друзей";
$MESS ['SONET_BIRTHDAY_TEMPLATE_DESCRIPTION'] = "Позволяет показать дни рождения друзей пользователя";
$MESS ['SONET_NAME'] = "Социальная сеть";
?> | 4,506 |
https://github.com/iOS-Applications/DIMSystem/blob/master/DIMSystem/DIMSystem/Classes/PracTeaching/Controller/PracPrjDetail.h | Github Open Source | Open Source | MIT | 2,015 | DIMSystem | iOS-Applications | Objective-C | Code | 34 | 115 | //
// PracPrjDetail.h
// DIMSystem
//
// Created by qingyun on 15/4/15.
// Copyright (c) 2015年 zhongyuan. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "PracProjectsModel.h"
@interface PracPrjDetail : UIViewController
@property (nonatomic,strong) PracProjectsModel *model;
@end
| 39,047 |
https://github.com/thephpleague/flysystem/blob/master/src/GoogleCloudStorage/PortableVisibilityHandler.php | Github Open Source | Open Source | MIT | 2,023 | flysystem | thephpleague | PHP | Code | 140 | 546 | <?php
declare(strict_types=1);
namespace League\Flysystem\GoogleCloudStorage;
use Google\Cloud\Core\Exception\NotFoundException;
use Google\Cloud\Storage\Acl;
use Google\Cloud\Storage\StorageObject;
use League\Flysystem\Visibility;
class PortableVisibilityHandler implements VisibilityHandler
{
public const NO_P... | 8,816 |
https://github.com/kolejka/kolejka-judge/blob/master/kolejka/judge/commands/compile/__init__.py | Github Open Source | Open Source | MIT | 2,022 | kolejka-judge | kolejka | Python | Code | 30 | 125 | # vim:ts=4:sts=4:sw=4:expandtab
from kolejka.judge import config
from kolejka.judge.commands.compile.base import *
from kolejka.judge.commands.compile.gcc import *
from kolejka.judge.commands.compile.ghc import *
from kolejka.judge.commands.compile.mono import *
from kolejka.judge.commands.compile.nasm import *
from ... | 33,788 |
https://github.com/BestHYC/MyDAL/blob/master/MyDAL/Interfaces/IAllPagingList.cs | Github Open Source | Open Source | Apache-2.0 | 2,018 | MyDAL | BestHYC | C# | Code | 25 | 98 | using System.Threading.Tasks;
namespace MyDAL.Interfaces
{
internal interface IAllPagingList<M>
{
Task<PagingList<M>> PagingAllListAsync(int pageIndex, int pageSize);
Task<PagingList<VM>> PagingAllListAsync<VM>(int pageIndex, int pageSize)
where VM : class;
}
}
| 31,048 |
https://github.com/tfly0072/Calamari/blob/master/source/Calamari.Aws/Integration/CloudFormation/StackArn.cs | Github Open Source | Open Source | Apache-2.0 | 2,022 | Calamari | tfly0072 | C# | Code | 23 | 65 | namespace Calamari.Aws.Integration.CloudFormation
{
public class StackArn
{
public StackArn(string value)
{
Value = value;
}
public string Value { get; }
}
} | 6,492 |
https://github.com/mitigate-dev/omniauth-eklase/blob/master/spec/spec_helper.rb | Github Open Source | Open Source | MIT | 2,019 | omniauth-eklase | mitigate-dev | Ruby | Code | 19 | 89 | $LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
require 'omniauth-eklase'
require 'rack/test'
require 'webmock/rspec'
require 'byebug'
RSpec.configure do |config|
config.include Rack::Test::Methods
config.include WebMock::API
end
| 8,495 |
https://github.com/siyelo/kevin/blob/master/grails-app/views/account/editAccount.gsp | Github Open Source | Open Source | BSD-3-Clause | 2,013 | kevin | siyelo | null | Spoken | 146 | 967 | <html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="layout" content="main" />
<title><g:message code="myaccount.title"/></title>
</head>
<body>
<h3 class="heading2-bar text-center"><g:message code="myaccount.header.label"/></h3>
<g:form action="saveAccount" class... | 37,605 |
https://github.com/pandichef/django-materialize/blob/master/.gitignore | Github Open Source | Open Source | BSD-3-Clause, BSD-2-Clause | 2,018 | django-materialize | pandichef | Ignore List | Code | 11 | 61 | .tox
.dumbjump
*.idea
*.pyc
db*.sqlite3
deploy
build/
dist/
node_modules/
django_materialize.egg-info/
tests/visual/screenshots_test/
| 14,923 |
https://github.com/suxiaomin1234/myH5/blob/master/src/pages/h5/index.vue | Github Open Source | Open Source | Apache-2.0 | null | myH5 | suxiaomin1234 | Vue | Code | 1,989 | 8,567 | <template>
<div class="h5">
<div class='h5-header'>
<div class="header">
<div class="h5-flex">
<el-row>
<el-col :span="6"><img src="../../common/images/main/logo_tic02.png" alt=""></el-col>
<el-col :span="12">
<ul>
<li @click="enterMain... | 22,475 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.