code
stringlengths
3
1.01M
repo_name
stringlengths
5
116
path
stringlengths
3
311
language
stringclasses
30 values
license
stringclasses
15 values
size
int64
3
1.01M
require "spec_helper" require "active_support/core_ext/string/strip" describe FeedSearcher do describe ".search" do context "when there are link elements of feeds in the resource" do before do stub_request(:get, "http://example.com/").to_return( :body => <<-EOS.strip_heredoc <...
fastladder/feed_searcher
spec/feed_searcher_spec.rb
Ruby
mit
6,780
#ifndef POINT_H #define POINT_H #include <string> using namespace std; class Point { public: Point(string line); Point(double x, double y); void setX(double x); void setY(double y); double getX(); double getY(); private: double x; double y; }; #endif
mikehelmick/teaching
uc/computerScience1/materials/labs/lab11/Point.h
C
mit
275
--- title: Customize the Consent Prompt description: Learn how to customize the consent prompt presented to users during authorization. topics: - scopes - permissions - authorization - consent-prompt - mgmt-api contentType: - how-to useCase: - development - secure-api --- # Customize the Consent Prompt ...
yvonnewilson/docs
articles/scopes/current/guides/customize-consent-prompt.md
Markdown
mit
2,498
<!DOCTYPE html> <html xmlns:msxsl="urn:schemas-microsoft-com:xslt"> <head> <meta content="en-us" http-equiv="Content-Language" /> <meta content="text/html; charset=utf-16" http-equiv="Content-Type" /> <title _locid="PortabilityAnalysis0">.NET Portability Report</title> <style> ...
kuhlenh/port-to-core
Reports/wi/winrtutils.1.2.0/WinRTUtils.Windows-netcore45.html
HTML
mit
13,233
<?php namespace Brainteaser\Domain\Exercise; use Brainteaser\Domain\Training\Training; use DateTime; interface Exercise { /** * @return string */ public function getId() : string; /** * @return Training */ public function getTraining() : Training; /** * @return SequenceN...
floegel/brainteaser-api
src/Brainteaser/Domain/Exercise/Exercise.php
PHP
mit
895
// // TomKitten48.xaml.cpp // Implementation of the TomKitten48 class // #include "pch.h" #include "TomKitten48.xaml.h" using namespace PrintableTomKitten; using namespace Platform; using namespace Windows::Foundation; using namespace Windows::Foundation::Collections; using namespace Windows::UI::Xaml; ...
nnaabbcc/exercise
windows/pw6e.official/CPlusPlus/Chapter17/PrintableTomKitten/PrintableTomKitten/TomKitten48.xaml.cpp
C++
mit
765
'use strict'; describe('Purchases E2E Tests:', function () { describe('Test purchases page', function () { it('Should report missing credentials', function () { browser.get('http://localhost:3000/purchases'); expect(element.all(by.repeater('purchase in purchases')).count()).toEqual(0); }); }); ...
bakmar/piwi
modules/purchases/tests/e2e/purchases.e2e.tests.js
JavaScript
mit
324
(function(){ function render (context, points) { console.log ('render called'); var angle = 0, center = new Point3D (400,400,400); return function () { context.clearRect(0,0,800,600); if (points.length < 1000) { points.push (randomPoint...
davepkennedy/js-canvas
3d-starfield/terrain.js
JavaScript
mit
2,403
version https://git-lfs.github.com/spec/v1 oid sha256:59e6f2fa6c70c504d839d897c45f9a84348faf82342a31fb5818b1deb13861fa size 294301
yogeshsaroya/new-cdnjs
ajax/libs/handsontable/0.14.1/handsontable.full.min.js
JavaScript
mit
131
 using System; using System.Collections.Generic; using Orleans.Streams; namespace Orleans.Providers.Streams.Common { /// <summary> /// CachedMessageBlock is a block of tightly packed structures containing tracking data for cached messages. This data is /// tightly packed to reduced GC pressure. The t...
gigya/orleans
src/OrleansProviders/Streams/Common/PooledCache/CachedMessageBlock.cs
C#
mit
5,772
<?php /** * Campaign Monitor Magento Extension * * NOTICE OF LICENSE * * This source file is subject to the Open Software License (OSL 3.0) * that is available through the world-wide-web at this URL: * http://opensource.org/licenses/osl-3.0.php * If you are unable to obtain it through the world-wide-web, please...
campaignmonitor/magento-extension
app/code/community/Campaignmonitor/Createsend/Model/Config/ExampleSegments.php
PHP
mit
8,610
--- layout: default-en title: Codemotion Spain - For the communities, by the communities description: Codemotion is the event that gets all the IT communities in Spain together for two days. --- <div class="picture-container"> <div class="picture-caption"> <a class="bottom-logo" href="/">Codemotion</a> <div>...
icoloma/web-codemotion
src/en/index.html
HTML
mit
4,755
module Jobbr class ApplicationController < ActionController::Base before_action :set_locale protected def set_locale I18n.locale = :en end end end
cblavier/jobbr
app/controllers/jobbr/application_controller.rb
Ruby
mit
177
// Copyright (c) 2013 Andrew Downing // Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribut...
ad510/plausible-deniability
Assets/Scripts/ProtoVector3.cs
C#
mit
1,821
import { Component } from '@angular/core'; @Component({ template: ` <h2>Page not found</h2> ` }) export class PageNotFoundComponent {}
donrebel/akvilor
client_app/app/structure/page-not-found/page-not-found.component.ts
TypeScript
mit
152
#!/usr/bin/env python # -*- coding: utf-8 -*- from Models.FeatureProcessing import * from keras.models import Sequential from keras.layers import Activation, Dense, LSTM from keras.optimizers import Adam, SGD import numpy as np import abc from ClassificationModule import ClassificationModule class descriptionreponame...
Ichaelus/Github-Classifier
Application/Models/ClassificationModules/descriptionreponamelstm.py
Python
mit
3,641
exports.seed = function(knex, Promise) { // Deletes ALL existing entries return knex('coffee').del() .then(function () { // Inserts seed entries return knex('coffee').insert([ { id: 1, name: 'Three Africas', producer_id: 1, flavor_profile: 'Fruity, ra...
Jitters-API/jitters
db/seeds/development/04_coffee.js
JavaScript
mit
1,738
__author__ = 'sekely' ''' we are using variables almost everywhere in the code. variables are used to store results, calculations and many more. this of it as the famous "x" from high school x = 5, right? the only thing is, that in Python "x" can store anything ''' # try this code: x = 5 y = x + 3 print(y) # what...
idosekely/python-lessons
lesson_1/variables.py
Python
mit
403
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace SistemaMundoAnimal.Forms { public partial class FormPrincipal : Form { public For...
diegomrod95/Descontinuado_MundoAnimal
SistemaMundoAnimal/Forms/FormPrincipal.cs
C#
mit
2,415
// // NAGatedVC.h // NAParentalGateAlertDemo // // Created by Nathan Rowe on 9/30/13. // Copyright (c) 2013 Natrosoft LLC. All rights reserved. // #import <UIKit/UIKit.h> @interface NAGatedVC : UIViewController @end
natrosoft/NAParentalGateAlert
NAParentalGateAlertDemo/NAParentalGateAlertDemo/NAGatedVC.h
C
mit
223
using System; using System.Collections.Generic; using System.Linq; namespace Meow.Diagnostic.Tests.Support { public class TestSuite : Suite { public override IEnumerable<ITask> GetTasks() { return new List<ITask> { new PassingTa...
jaredmcguire/Meow.Diagnostic
Meow.Diagnostic.Tests/Support/TestSuite.cs
C#
mit
414
AudioChunks === slice/append/insert/subset/copy operations on AudioBuffer linked-list chunks.
gre/audio-chunks
README.md
Markdown
mit
95
class IngredientsController < ApplicationController def index @terms = params[:search] ? params[:search][:terms] : nil @ingredients = Ingredient.find_ingredients(@terms).page(params[:page]) end def update fetch_ingredient if @ingredient.update(ingredient_params) flash[:success] = "Ingredie...
tankwanghow/least_cost_feed
app/controllers/ingredients_controller.rb
Ruby
mit
1,398
#ifndef CONFFILE_H #define CONFFILE_H #include "netstream.h" void endpt_config_init(struct endpt_cfg * config); int io_config_init(struct io_cfg * config, int nitems); int endpt_config_set_item(struct endpt_cfg * config, char * key, char * value); int parse_config_file(struct io_cfg * config, char * filename); void p...
xtompok/netstream
conffile.h
C
mit
405
<?php /* @WebProfiler/Icon/time.svg */ class __TwigTemplate_327588cc42a9f6e80c428485ea2a1d4ea5de9af6826ac009602f5b121f9a4949 extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); $this->parent = false; $this->blocks = array( );...
UchiKir/SymfonyPadelApp
var/cache/dev/twig/a6/a6f60ba4d81ded0d5b110bd2302970761310d2ce83bcbaac8bdb5727f0e9ee23.php
PHP
mit
2,350
using UnityEditor; using UnityEngine; using System.Collections.Generic; [CanEditMultipleObjects] [CustomEditor(typeof(tk2dTiledSprite))] class tk2dTiledSpriteEditor : tk2dSpriteEditor { tk2dTiledSprite[] targetTiledSprites = new tk2dTiledSprite[0]; new void OnEnable() { base.OnEnable(); targetTiledSprites = Get...
Conflei/IndiesVSPewDiePie
Game/Assets/TK2DROOT/tk2d/Editor/Sprites/tk2dTiledSpriteEditor.cs
C#
mit
5,235
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta charset="utf-8"></meta> <meta name="generator" content="JsDoc Toolkit"></meta> <title>enchant.gl.State | JsDoc Reference</title> <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale...
andrewwhipple/ghost
public/js/lib/doc/plugins/en/symbols/enchant.gl.State.html
HTML
mit
34,183
'use strict'; var express = require('express'), router = express.Router(), Post = require('../models/post'); module.exports = function (app) { app.use('/', router); }; router.get('/', function (req, res, next) { var posts = [new Post({ "title": "dummy posty" }), new Post()]; res.render('index', { ...
bman4789/brianm.me
app/controllers/home.js
JavaScript
mit
406
/* * Copyright (c) 2008-2018 SLIBIO <https://github.com/SLIBIO> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * ...
SLIBIO/SLib
src/slib/ui/ui_event_gtk.cpp
C++
mit
9,334
package zornco.reploidcraft.network; import net.minecraft.entity.Entity; import net.minecraft.server.MinecraftServer; import net.minecraft.world.WorldServer; import zornco.reploidcraft.ReploidCraft; import zornco.reploidcraft.entities.EntityRideArmor; import zornco.reploidcraft.utils.RiderState; import io.netty.buffer...
ZornTaov/ReploidCraft
src/main/java/zornco/reploidcraft/network/MessageRideArmor.java
Java
mit
2,840
"use strict"; const express = require('express'); const router = express.Router(); const quoteCtrl = require('../controllers/quote.js'); //returns an array of stocks that potentially match the query string //no result will return an empty string router.get('/quote/:quote', quoteCtrl.quote); module.exports = router;
AJPcodes/stocks
routes/quote.js
JavaScript
mit
319
<?php /** * Magento * * NOTICE OF LICENSE * * This source file is subject to the Open Software License (OSL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://opensource.org/licenses/osl-3.0.php * If you did not receive a co...
portchris/NaturalRemedyCompany
src/app/code/core/Mage/Reports/sql/reports_setup/mysql4-upgrade-0.7.3-0.7.4.php
PHP
mit
2,362
//! Basic hello world example, drawing //! to a canvas. use ggez::event; use ggez::graphics::{self, Color}; use ggez::{Context, GameResult}; use glam::*; use std::env; use std::path; struct MainState { text: graphics::Text, canvas: graphics::Canvas, frames: usize, draw_with_canvas: bool, } impl MainS...
ggez/ggez
examples/hello_canvas.rs
Rust
mit
3,351
var Blasticator = function() { var init = function() { registerSettings(); }; var showDialogue = function() { new ModalDialogue({ message:'This will destroy EVERYTHING. FOREVER.', buttons:[{ label:'Keep my data', role:'secondary', autoClose:true },{ lab...
elliottmina/chronos
docroot/modules/Blasticator/Blasticator.js
JavaScript
mit
742
/* * sfcn_linSendEnergia.c Simple C-MEX S-function for function call. * * ABSTRACT: * The purpose of this sfunction is to call a simple legacy * function during simulation: * * void linSendEnergia(int16 u1, int32 u2, uint8 u3, uint8 u4[], uint8 u5) * * Simulink version :...
dakmord/RPS
matlab_repo/srcs/TM4C1294NPDT/blocks/mex/sfcn_linSendEnergia.c
C
mit
14,721
--- layout: page-disqus title: Terraform permalink: /terraform/ published: true comments: true --- Let's use Terraform to create a bit of new infrastructure. This doc is a work in progress. Check back for updates. Follow progress via [twitter](https://twitter.com/_markshaw){:target="_blank"}. * TOC {:toc} ### Pur...
hvag/blog
terraform.md
Markdown
mit
22,984
--- title: Small Business Website client: RCIT startdate: 2006-10-01 00:00:00 Z enddate: 2006-12-01 00:00:00 Z website: status: retired role: Website Developer publish: draft: true tags: - Open Edit - User Experience - HTML - JSP - XML - CSS - Consultation - Architecture thumbnail: assets: - filename: caption: ...
manimejia/manimejia.github.io
projects/RCIT/Small-Business-Website.md
Markdown
mit
410
# encoding: utf-8 require File.expand_path('../test_helper', File.dirname(__FILE__)) class FixturesTest < ActiveSupport::TestCase def test_import_layouts_creating Cms::Layout.delete_all assert_difference 'Cms::Layout.count', 2 do ComfyPress::Fixtures.import_layouts('default-site', 'sample-site...
omegainteractive/comfypress
test/unit/fixtures_test.rb
Ruby
mit
13,919
if [[ ! -o interactive ]]; then return fi compctl -K _atlas atlas _atlas() { local word words completions read -cA words word="${words[2]}" if [ "${#words}" -eq 2 ]; then completions="$(atlas commands)" else completions="$(atlas completions "${word}")" fi reply=("${(ps:\n:)completions}") }...
spartez/atlas
completions/atlas.zsh
Shell
mit
321
# img # trigger = attributes[12] # http://ws-tcg.com/en/cardlist # edit import os import requests import sqlite3 def get_card(browser): attributes = browser.find_elements_by_xpath('//table[@class="status"]/tbody/tr/td') image = attributes[0].find_element_by_xpath('./img').get_attribute('src') if attri...
electronicdaisy/WeissSchwarzTCGDatabase
card.py
Python
mit
3,176
using JEFF.Dto.Smartables.Request; using JEFF.Dto.Smartables.Response; using Newtonsoft.Json; using System; using System.Diagnostics; using System.IO; using System.Net; using System.Threading.Tasks; namespace JEFF.GreenHouseController { /// <summary> /// SmartablesBoard /// </summary> public class Sma...
strillo/JEFF
JEFF.GreenHouseController/SmartablesBoard.cs
C#
mit
4,225
//============================================================================ // Name : GraphGenerator.cpp // Author : Sindre S. Fjermestad // Version : // Copyright : My copyright notice // Description : Generator for graphs of a certain type //=======================================================...
alexisshaw/COMP6741_ass2
graph_gen.cpp
C++
mit
10,694
(function () { window.AgidoMockups = window.AgidoMockups || {}; AgidoMockups.icons = AgidoMockups.icons || {}; AgidoMockups.icons.underline = new Kinetic.Group({name: "underlineIcon", width: 18, height: 20}); AgidoMockups.icons.underline.add(new Kinetic.Text({text: "U", fill: '#000', fontSize: 20, fontS...
it-crowd/agido-mockups
src/icons/underline.icon.js
JavaScript
mit
489
(function() { var myPromise = new Promise((resolve, reject) => { navigator.geolocation.getCurrentPosition((pos) => { resolve(pos); }) }); function parsePosition(pos) { return { lat: pos.coords.latitude, lon: pos.coords.longitude } } ...
iliyaST/TelerikAcademy
JavaScript-Applications/01. Promises and asynchronous programming/homework/01. GeoLocations/GeoLocation.js
JavaScript
mit
626
//sys_init_policy.hpp chromatic universe 2017-2020 william k. johnson #include <memory> #include <string> //contrib #include "ace/Log_Msg.h" #include "ace/Trace.h" //cci #include <cci_time_utils.h> #include <cci_daemonize.h> using namespace cpp_real_stream; namespace cci_policy { // //system in...
chromatic-universe/cci-daemon
cci_daemon/src/meta-core/policies/sys_init_policy.hpp
C++
mit
3,642
package iso20022 // Set of characteristics shared by all individual transactions included in the message. type GroupHeader41 struct { // Point to point reference, as assigned by the instructing party, and sent to the next party in the chain to unambiguously identify the message. // Usage: The instructing party has ...
fgrid/iso20022
GroupHeader41.go
GO
mit
4,972
<!DOCTYPE html> <html> <head> <title>onFocus / onBlur</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=edge"/> <link rel="stylesheet" type="text/css" href="../../../codebase/dhtmlxcombo.css"/> <script src="../../../codebase/dhtmlxcombo....
pujie/rent_car_willisyudhatama
assets/plugin/dhtmlxCombo_v45_std/samples/dhtmlxCombo/07_events/04_onfocus_onblur.html
HTML
mit
1,305
--- status: publish published: true title: I found a real, live BBS! author: display_name: admin login: admin email: jon@jonsharp.net url: http://jonsharp.net author_login: admin author_email: jon@jonsharp.net author_url: http://jonsharp.net wordpress_id: 25 wordpress_url: http://jonsharp.net/archives/2004/07/1...
jrsharp/jrsharp.github.io
_posts/2004-07-13-i-found-a-real-live-bbs.markdown
Markdown
mit
1,568
import React from "react"; import { WorldGeneratorObject } from "../../../../services"; import { Row, Col } from "../../../layout"; import { Card, DatumGroup, PlanetDiagram } from "../../../ui"; export const WorldOverview = ({ world }: WorldOverviewProps) => { return ( world && ( <Card title={<p>Wo...
claytuna/traveller
app/src/components/character-creation/world-selector/world-overview/WorldOverview.tsx
TypeScript
mit
11,469
module.exports = function(grunt) { grunt.initConfig({ // package.json is shared by all examples pkg: grunt.file.readJSON('../../package.json'), // Uglify the file at `src/foo.js` and output the result to `dist/foo.min.js` // // It's likely that this task is preceded by a `grunt-contrib-concat` t...
searaig/grunt-cookbook
examples/06.grunt-contrib-uglify/Gruntfile.js
JavaScript
mit
677
'use strict'; angular.module('adsApp').controller('AdminTownsController', ['$scope', '$rootScope', 'catalog', 'config', 'notify', function ($scope, $rootScope, catalog, config, notify) { $rootScope.pageTitle = 'Towns'; var usersConfig = config.users; var townsParams = { start...
unbelt/Ads-Manager
app/controllers/admin/towns/AdminTownsController.js
JavaScript
mit
838
{% if site.disqus %} {% include disqus.html %} {% endif %}
ghosind/ghosind.github.io
_includes/comments.html
HTML
mit
60
# # NineMSN CatchUp TV Video API Library # # This code is forked from Network Ten CatchUp TV Video API Library # Copyright (c) 2013 Adam Malcontenti-Wilson # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), ...
predakanga/plugin.video.catchuptv.au.ninemsn
resources/lib/ninemsnvideo/objects.py
Python
mit
3,248
/** * acx.h * System configuration for a basic cooperative executive * Kernel. * @designer Edwin Frank Barry * @author Christopher Waldon */ /* * Define some hard-ware specific constants */ #define led12 PB6 #define led11 PB5 /* * Define some hardware manipulation macros */ #define output_low(port, pin) (po...
whereswaldon/ds18b20-acx-driver
DS18B20/acx.h
C
mit
2,784
package info.bati11.otameshi.dbflute.allcommon; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.dbflute.Entity; import org.dbflute.hook.CommonColumnAutoSetupper; /** * The basic implementation of the auto set-upper of common column. * @author DBFlute(AutoGenerator) */ public class ImplementedC...
bati11/otameshi-webapp
spring4+dbflute/src/main/java/info/bati11/otameshi/dbflute/allcommon/ImplementedCommonColumnAutoSetupper.java
Java
mit
1,934
## 17.11.2015 ## Code changes: - `AgarioClient.Ball` added - Added stability to `spawn()`. By default client will try to spawn 25 times before disconnect - `on.connected` event is now emited without 2sec delay - First `spawn()` after connect is now much faster - Config variable `client.spawn_attempts` added - ...
maximov-ru/agario-client
CHANGELOG.md
Markdown
mit
4,795
// Copyright (c) 2011-2013 The Biton developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "transactionview.h" #include "transactionfilterproxy.h" #include "transactionrecord.h" #include "walletmodel.h" #inclu...
bitoncoin/biton
src/qt/transactionview.cpp
C++
mit
15,503
<?php /* * This file is part of the umulmrum/holiday package. * * (c) Stefan Kruppa * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Umulmrum\Holiday\Test\Calculator; use Umulmrum\Holiday\HolidayCalculator; use Umulmrum...
umulmrum/holiday
tests/Calculator/HolidayCalculatorTest.php
PHP
mit
4,858
package com.winterwell.depot; import java.util.Map; import org.junit.Test; import com.winterwell.depot.merge.Merger; import com.winterwell.es.client.ESConfig; import com.winterwell.es.client.ESHttpClient; import com.winterwell.gson.FlexiGson; import com.winterwell.utils.Dep; import com.winterwell.utils.Utils; import...
sodash/open-code
winterwell.depot/test/com/winterwell/depot/ESStoreTest.java
Java
mit
1,093
/** * @providesModule Case */ const DOM = require('DOM'); var Case = (function () { /** * A Case is a test against an element. */ function Case (attributes) { return new Case.fn.init(attributes); } // Prototype object of the Case. Case.fn = Case.prototype = { constructor: Case, init: fun...
quailjs/quail-core
src/core/Case.js
JavaScript
mit
11,829
USE [ANTERO] GO /****** Object: View [sa].[v_rahoitusmalli_iscfi_rahoitusmalliala] Script Date: 29.9.2020 14:54:27 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO IF NOT EXISTS (SELECT * FROM sys.views WHERE object_id = OBJECT_ID(N'[sa].[v_rahoitusmalli_iscfi_rahoitusmalliala]')) EXEC dbo.sp_executesql @st...
CSCfi/antero
db/sql/4009__create_view_sa_rahoitusmalli_iscfi.sql
SQL
mit
1,311
require 'remit/common' module Remit module GetTokens class Request < Remit::Request action :GetTokens parameter :caller_reference parameter :token_friendly_name parameter :token_status end class Response < Remit::Response class GetTokensResult < Remit::BaseResponse ...
tylerhunt/remit
lib/remit/operations/get_tokens.rb
Ruby
mit
616
/** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import * as ts from 'typescript'; import {TypeScriptReflectionHost} from '../../metadata'; import {AbsoluteReferenc...
ValtoFrameworks/Angular-2
packages/compiler-cli/src/ngtsc/annotations/test/selector_scope_spec.ts
TypeScript
mit
5,668
\textbf{Входные параметры:} filename --- имя файла (можно и с полным путем). \textbf{Возвращаемое значение:} Строка с именем файла без расширения.
Harrix/HarrixQtLibrary
source_library/Работа с файлами и папками/HQt_GetNameFromFilename.tex
TeX
mit
242
# frozen_string_literal: true module OrgAdmin class SectionsController < ApplicationController include Versionable respond_to :html after_action :verify_authorized # GET /org_admin/templates/[:template_id]/phases/[:phase_id]/sections def index authorize Section.new phase = Phase.i...
CDLUC3/dmptool
app/controllers/org_admin/sections_controller.rb
Ruby
mit
5,303
package it.gvnn.slackcast.search; import java.util.ArrayList; public class PodcastDataResponse extends ArrayList<Podcast> { }
gvnn/slackcast
app/src/main/java/it/gvnn/slackcast/search/PodcastDataResponse.java
Java
mit
129
package com.iyzipay.model.subscription.enumtype; public enum SubscriptionUpgradePeriod { NOW(1), NEXT_PERIOD(2); private final Integer value; SubscriptionUpgradePeriod(Integer value) { this.value = value; } public Integer getValue() { return value; } }
iyzico/iyzipay-java
src/main/java/com/iyzipay/model/subscription/enumtype/SubscriptionUpgradePeriod.java
Java
mit
302
package bolianeducation.bolianchild.view; import android.graphics.Bitmap; import android.os.Bundle; import android.os.Handler; import android.os.Message; import android.support.annotation.Nullable; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.RecyclerView; import android.text....
iamlisa0526/bolianeducation-child
app/src/main/java/bolianeducation/bolianchild/view/ReplyActivity.java
Java
mit
11,068
<html dir="LTR"> <head> <meta http-equiv="Content-Type" content="text/html; charset=Windows-1252" /> <meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5" /> <title>ColoredConsoleAppender Constructor</title> <xml> </xml> <link rel="stylesheet" type="text/css" hre...
npruehs/slash-framework
Ext/log4net-1.2.11/doc/release/sdk/log4net.Appender.ColoredConsoleAppenderConstructor.html
HTML
mit
2,858
/*! * Vitality v2.0.0 (http://themes.startbootstrap.com/vitality-v2.0.0) * Copyright 2013-2017 Start Bootstrap * Purchase a license to use this theme at (https://wrapbootstrap.com) */ /*! * Vitality v2.0.0 (http://themes.startbootstrap.com/vitality-v2.0.0) * Copyright 2013-2017 Start Bootstrap * Purchase a licen...
EricRibeiro/DonactionTIS
donaction-enterprise/scripts/source/agency/vitality.js
JavaScript
mit
4,078
import pagination from '@admin/store/modules/paginationStore' import {HTTP} from '@shared/config/api' const state = { clientList: [] } const getters = { getClientList: state => state.clientList } const mutations = { set(state, {type, value}) { state[type] = value }, delete(state, {id}) { ...
mt89vein/mvc5-vuejs
Vue/src/admin/store/modules/clientListStore.js
JavaScript
mit
2,609
import "cutaway" import { assert, report } from "tapeless" import createPlayer from "./main.js" const { ok, notOk, equal } = assert try { createPlayer() } catch (e) { ok .describe("will throw sans video input") .test(e, e.message) } const source = document.createElement("video") source.src = "" const {...
thewhodidthis/playah
test.js
JavaScript
mit
591
--- title: "Fastmail/Dreamhost SPF &amp; DKIM" date: 2012-03-10 00:00 --- My boss pointed out that, with my new email provider, GMail is displaying a weird message in the "from" field: ![](/img/import/blog/2012/03/fastmaildreamhost-spf-dkim/15C1BA0E3B074A45851234727DD41140.png)Turns out I needed to add two custom TX...
yogoo/ashfurrow-blog
source/blog/2012-03-10-fastmaildreamhost-spf-&-dkim.markdown
Markdown
mit
670
class dximagetransform_microsoft_maskfilter { constructor() { // Variant Color () {get} {set} this.Color = undefined; } } module.exports = dximagetransform_microsoft_maskfilter;
mrpapercut/wscript
testfiles/COMobjects/JSclasses/DXImageTransform.Microsoft.MaskFilter.js
JavaScript
mit
206
package com.devicehive.client.impl.rest.providers; import com.google.gson.Gson; import com.google.gson.JsonElement; import com.google.gson.JsonObject; import com.google.gson.JsonParser; import com.devicehive.client.impl.Constants; import com.devicehive.client.impl.json.GsonFactory; import com.devicehive.client.impl....
lekster/devicehive-java
client/src/main/java/com/devicehive/client/impl/rest/providers/JsonRawProvider.java
Java
mit
3,161
<?php namespace Craft; class FormBuilder_FieldsetService extends BaseApplicationComponent { // Properties // ========================================================================= // Public Methods // ========================================================================= /** * Save f...
owldesign/Form-Builder
formbuilder/services/FormBuilder_FieldsetService.php
PHP
mit
3,050
module Arpa module Repositories module Resources class Finder include Arpa::Repositories::Base def find(id) record = repository_class.find(id) mapper_instance.map_to_entity(record) end def all repository_class.all.collect do |record| ...
rachidcalazans/arpa
lib/arpa/repositories/resources/finder.rb
Ruby
mit
756
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>area-method: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min...
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.02.3-2.0.6/released/8.7.1+1/area-method/8.10.0.html
HTML
mit
7,721
package uk.co.edgeorgedev.lumber; /** * Root of Logging interface * @author edgeorge * @version 1.0 * @since 2014-06-23 */ public interface Stump { /** Log a verbose message */ void v(Class<?> clazz, String message); void v(Class<?> clazz, Throwable th); //v,d,i,w,e,wtf }
ed-george/Lumber
src/uk/co/edgeorgedev/lumber/Stump.java
Java
mit
294
<?php namespace Seahinet\Article\Listeners; use Seahinet\Article\Exception\OutOfStock; use Seahinet\Article\Model\Warehouse; use Seahinet\Lib\Listeners\ListenerInterface; class Inventory implements ListenerInterface { public function check($event) { $warehouse = new Warehouse; ...
peachyang/py_website
app/code/Article/Listeners/Inventory.php
PHP
mit
2,290
<?php namespace Noylecorp\DoctrineExtrasBundle; use Symfony\Component\HttpKernel\Bundle\Bundle; class NoylecorpDoctrineExtrasBundle extends Bundle { }
noylecorp/doctrine-extras-bundle
NoylecorpDoctrineExtrasBundle.php
PHP
mit
154
<?php declare(strict_types=1); namespace StructType; use InvalidArgumentException; use WsdlToPhp\PackageBase\AbstractStructBase; /** * This class stands for GetRemindersType StructType * @package Ews * @subpackage Structs * @author WsdlToPhp <contact@wsdltophp.com> */ class EwsGetRemindersType extends EwsBaseR...
WsdlToPhp/PackageEws365
src/StructType/EwsGetRemindersType.php
PHP
mit
5,223
package br.eti.mertz.wkhtmltopdf.wrapper.params; import java.util.ArrayList; import java.util.List; public class Params { private List<Param> params; public Params() { this.params = new ArrayList<Param>(); } public void add(Param param) { params.add(param); } public void ad...
eamonfoy/trello-to-markdown
src/main/java/br/eti/mertz/wkhtmltopdf/wrapper/params/Params.java
Java
mit
982
require 'happymapper' module RSokoban attr_accessor :levels class LevelData include HappyMapper tag 'Level' element :id, String element :copyright, String element :width, Integer element :height, Integer has_many :lines, String, :tag => 'L' end class Level attr_access...
mstahl/rsokoban
lib/level.rb
Ruby
mit
1,361
module BoshReleaseDiff::Release class Package attr_reader :name def initialize(name) @name = name end end end
cppforlife/bosh_release_diff
lib/bosh_release_diff/release/package.rb
Ruby
mit
133
<DIV NAME="detail" ID="detail" xmlns="http://www.w3.org/TR/REC-html40"><H3><A NAME='detail_ClickTabContains'></A>Android TabControlFunctions::<BIG>ClickTabContains</BIG> </H3> <TABLE><TR> <TD class="borderStyle"><SPAN CLASS='Support' TITLE='Android'>DRD</SPAN>:<SPAN CLASS='domainMarker' TITLE='DEV Domain'>DEV</SPAN><...
kid551/safsdev.test.github.io
keyref/AndroidTabControlFunctionsClickTabContains.html
HTML
mit
2,312
/** * linux terminal progress bar (no thread safe). * @package progress.h */ #ifndef progress_h #define progress_h #include <stdio.h> typedef struct { char chr; /*tip char*/ char *title; /*tip string*/ int style; /*progress style*/ int max; /*maximum value*/ float of...
Chaunecy/bigdata-installer
libs/ltpro.h
C
mit
619
--- layout: post title: Adding a New User in Ubuntu date: '2011-12-29 18:08:48 -0800' comments: true categories: - Hosting --- ## Adding User When setting up a new website manually on an Ubuntu server you need to establish a user account with a home directory, and Bash shell access to the server. ``` shell useradd -...
redconfetti/redconfetti.github.io
_posts/2011-12-29-adding-a-new-user-in-ubuntu.md
Markdown
mit
457
<!DOCTYPE html> <html lang="en-us"> <head> <link href="http://gmpg.org/xfn/11" rel="profile"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta http-equiv="content-type" content="text/html; charset=utf-8"> <!-- Enable responsiveness on mobile devices--> <meta name="viewport" content="width=devic...
atechdad/atechdad.github.io
happy-meal-vr-a-google-cardboard-hack/index.html
HTML
mit
7,860
/** * Created by fuzhihong on 16/10/14. */ import { Injectable } from '@angular/core'; import {Headers,Http,Response} from '@angular/http'; import {Subject} from 'rxjs/Subject'; import 'rxjs/add/operator/toPromise' import {User} from './user' @Injectable() export class UserService{ private headers=new Hea...
fzh199410/angular2-FirstAPP
app/service/user.service.ts
TypeScript
mit
1,441
from Bio import SeqIO def get_proteins_for_db(fastafn, fastadelim, genefield): """Runs through fasta file and returns proteins accession nrs, sequences and evidence levels for storage in lookup DB. Duplicate accessions in fasta are accepted and removed by keeping only the last one. """ records = {...
glormph/msstitch
src/app/readers/fasta.py
Python
mit
4,853
/*********************************************************************** ofxiPhone.h Contains core functionality for iPhone / iPod Touch Any .cpp files that include this needs to be renamed to .mm (to support Objective C++) /*********************************************************************** Copyright...
HellicarAndLewis/ProjectDonk
addons/ofxiPhone/ofxiPhoneExtras.h
C
mit
8,890
# mdUltraSync
MisterD81/mdUltraSync
README.md
Markdown
mit
14
$Public = @(Get-ChildItem -Recurse -Path $PSScriptRoot\Public\*.ps1 -ErrorAction SilentlyContinue) $Private = @(Get-ChildItem -Recurse -Path $PSScriptRoot\Private\*.ps1 -ErrorAction SilentlyContinue) foreach ($import in @($Public + $Private)) { try { . $import.fullname } catch { Write-Erro...
DomBros/DomBrosTools
DomBrosTools/DomBrosTools.psm1
PowerShell
mit
438
package uk.co.lucelle; import org.springframework.web.bind.annotation.*; @RestController public class Controller { @RequestMapping("/") public @ResponseBody String index(@RequestBody String data) { // echo return data; } }
jonathonadler/ziplet-base64-test
src/main/java/uk/co/lucelle/Controller.java
Java
mit
256
Puppet::Parser::Functions::newfunction(:arnold_include, :doc => "Include classes from Arnold") do classes = function_hiera_array(['classes', ['*****'], ['arnold/nodename/%{fqdn}','arnold/macaddr/%{macaddress}']]) # The version of hiera_array() shipping in Puppet 2.7 won't let you default to nothing return if cla...
binford2k/arnold
binford2k-arnold/lib/puppet/parser/functions/arnold_include.rb
Ruby
mit
399
[class^="icon-"], [class*=" icon-"] { font-family: 'basic'; font-style: normal; font-weight: normal; /* fix buttons height */ line-height: 1em; /* you can be more comfortable with increased icons size */ /* font-size: 120%; */ } .icon-twitter { *zoom: expression( this.runtimeStyle['zoom'] = '1', thi...
tilap/koa-boilerplate
src/browser/fonts/fontello/css/basic-ie7.css
CSS
mit
354
import {Exception} from "../core/Exception"; export class Forbidden extends Exception { static readonly STATUS = 403; constructor(message: string, origin?: Error | string | any) { super(Forbidden.STATUS, message, origin); } }
Romakita/ts-express-decorators
packages/specs/exceptions/src/clientErrors/Forbidden.ts
TypeScript
mit
238
<?php ClassLoader::requireClassOnce( 'util/Settings' ); ClassLoader::requireClassOnce( 'util/IndexRoutingItem' ); ClassLoader::requireClassOnce( 'actions/AccessImageAction' ); /** * This class provides utility functions for formatting URLs for this application. * @author craigb */ class UrlFormatter { private s...
GreyMatterCatalyst/ArtJourney
src/php/util/UrlFormatter.class.php
PHP
mit
2,034
FILE(REMOVE_RECURSE "../msg_gen" "../srv_gen" "../src/simple/msg" "../src/simple/srv" "../msg_gen" "../srv_gen" "CMakeFiles/rospack_gensrv_all" ) # Per-language clean rules from dependency scanning. FOREACH(lang) INCLUDE(CMakeFiles/rospack_gensrv_all.dir/cmake_clean_${lang}.cmake OPTIONAL) ENDFOREACH(l...
rhogroup/simple
build/CMakeFiles/rospack_gensrv_all.dir/cmake_clean.cmake
CMake
mit
325