repo_name
stringlengths
4
116
path
stringlengths
3
942
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
mathjazz/pontoon
pontoon/contributors/static/css/settings.css
1702
#locale-settings { margin-top: 30px; } #preferred-locale { margin-top: 10px; } #locale-settings .label { color: #aaa; display: inline-block; font-size: 16px; font-weight: 300; margin: 6px 10px 0 0; text-align: right; width: 280px; vertical-align: top; } #locale-settings .locale-selector { displ...
bsd-3-clause
JianpingZeng/xcc
xcc/test/juliet/testcases/CWE23_Relative_Path_Traversal/s01/CWE23_Relative_Path_Traversal__char_connect_socket_w32CreateFile_66a.cpp
5179
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE23_Relative_Path_Traversal__char_connect_socket_w32CreateFile_66a.cpp Label Definition File: CWE23_Relative_Path_Traversal.label.xml Template File: sources-sink-66a.tmpl.cpp */ /* * @description * CWE: 23 Relative Path Traversal * BadSource: connect_socket Rea...
bsd-3-clause
etashjian/ECE757-final
src/dev/virtio/pci.cc
7129
/* * Copyright (c) 2014 ARM Limited * All rights reserved * * The license below extends only to copyright in the software and shall * not be construed as granting a license to any other intellectual * property including but not limited to intellectual property relating * to a hardware implementation of the funct...
bsd-3-clause
MarginC/kame
netbsd/sys/arch/evbmips/include/ecoff_machdep.h
103
/* $NetBSD: ecoff_machdep.h,v 1.1 2002/03/13 05:03:18 simonb Exp $ */ #include <mips/ecoff_machdep.h>
bsd-3-clause
h-kitagawa/platex
tests/plext_pbox.tex
1020
\documentclass{jarticle} \usepackage{plext} \usepackage{calc} \begin{document} %% cf. latex.ltx macros (from ltboxes) あいうえお\makebox[60pt]{かきく}さしすせそ\par あいうえお\makebox[-30pt]{かきく}さしすせそ\par % calc extension check あいうえお\makebox[60pt+10pt]{かきく}さしすせそ\par あいうえお\makebox[-30pt/2*3]{かきく}さしすせそ\par % robustness \section{あいうえお\m...
bsd-3-clause
5452/durex
includes/src/Mage_Adminhtml_Block_Permissions_Tab_Rolesusers.php
1869
<?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...
bsd-3-clause
JianpingZeng/xcc
xcc/test/juliet/testcases/CWE762_Mismatched_Memory_Management_Routines/s07/CWE762_Mismatched_Memory_Management_Routines__new_free_long_84_goodB2G.cpp
1448
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE762_Mismatched_Memory_Management_Routines__new_free_long_84_goodB2G.cpp Label Definition File: CWE762_Mismatched_Memory_Management_Routines__new_free.label.xml Template File: sources-sinks-84_goodB2G.tmpl.cpp */ /* * @description * CWE: 762 Mismatched Memory Man...
bsd-3-clause
mudunuriRaju/tlr-live
tollbackend/web/js/angular-1.5.5/i18n/angular-locale_en-jm.js
4012
'use strict'; angular.module("ngLocale", [], ["$provide", function ($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; function getDecimals(n) { n = n + ''; var i = n.indexOf('.'); return (i == -1) ? 0 : n.length - i - 1; ...
bsd-3-clause
anasazi/POP-REU-Project
pkgs/libs/mesa/src/src/glu/sgi/libnurbs/internals/bufpool.cc
3853
/* ** License Applicability. Except to the extent portions of this file are ** made subject to an alternative license as permitted in the SGI Free ** Software License B, Version 1.1 (the "License"), the contents of this ** file are subject only to the provisions of the License. You may not use ** this file except in co...
bsd-3-clause
masafumi-inoue/GTS
sources/libcpp83gts_callback_and_action/fl_gl_cyclic_color_wheel.h
1711
#ifndef fl_gl_cyclic_color_wheel_h #define fl_gl_cyclic_color_wheel_h #include <FL/gl.h> /* GLfloat GLubyte GLuint GLenum */ #include <FL/Fl.H> #include <FL/Fl_Gl_Window.H> #include <FL/Fl_Value_Input.H> #include <FL/Fl_Check_Button.H> class fl_gl_cyclic_color_wheel : public Fl_Gl_Window { public: fl_gl_cyclic_colo...
bsd-3-clause
praekelt/seed-stage-based-messaging
contentstore/apps.py
190
from django.apps import AppConfig class ContentStoreAppConfig(AppConfig): name = "contentstore" def ready(self): import contentstore.signals contentstore.signals
bsd-3-clause
cvsuser-chromium/chromium
base/prefs/json_pref_store.cc
11988
// Copyright (c) 2012 The Chromium 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 "base/prefs/json_pref_store.h" #include <algorithm> #include "base/bind.h" #include "base/callback.h" #include "base/file_util.h" #include ...
bsd-3-clause
robinsk/zym
library/Zym/View/Helper/GetResponse.php
928
<?php /** * Zym Framework * * LICENSE * * This source file is subject to the new BSD license that is bundled * with this package in the file LICENSE.txt. * * @category Zym * @package Zym_View * @subpackage Helper * @copyright Copyright (c) 2008 Zym. (http://www.zym-project.com/) * @license http://www.zym-p...
bsd-3-clause
5452/durex
includes/src/Mage_XmlConnect_Model_Simplexml_Form_Element_Checkbox.php
1850
<?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...
bsd-3-clause
5452/durex
includes/src/Mage_Catalog_Model_Resource_Product_Option_Value_Collection.php
8912
<?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...
bsd-3-clause
andreoliw/clitoolkit
clit/git.py
899
# -*- coding: utf-8 -*- """Git tools.""" from shlex import split from plumbum import ProcessExecutionError from plumbum.cmd import git DEVELOPMENT_BRANCH = "develop" def run_git(*args, dry_run=False, quiet=False): """Run a git command, print it before executing and capture the output.""" command = git[split...
bsd-3-clause
luminousfennell/jgs
DynamicAnalyzer/src/main/java/testclasses/PrintMediumSuccess.java
430
package testclasses; import de.unifreiburg.cs.proglang.jgs.support.DynamicLabel; import util.printer.SecurePrinter; public class PrintMediumSuccess { public static void main(String[] args) { String med = "This is medium information"; med = DynamicLabel.makeMedium(med); SecurePrinter.printMedium(med); Stri...
bsd-3-clause
Patternslib/Patterns-archive
tests/specs/pat/autoscale.js
6201
define(["pat-autoscale", "jquery"], function(pattern, jQuery) { describe("pat-autoscale", function() { beforeEach(function() { $("<div/>", {id: "lab"}).appendTo(document.body); $(window).off(".autoscale"); }); afterEach(function() { $("#lab").remove(); ...
bsd-3-clause
netguru/spree_payu_integration
spec/controllers/spree/checkout_controller_decorator_spec.rb
6155
require 'spec_helper' RSpec.describe Spree::CheckoutController, type: :controller do # copied from original checkout controller spec let(:token) { 'some_token' } let(:user) { FactoryGirl.create(:user) } let(:order) { OrderWalkthrough.up_to(:delivery) } before do allow_any_instance_of(ActionDispatch::Req...
bsd-3-clause
AmiArt/treefrog-framework
3rdparty/mongo-c-driver-1.9.5/src/mongoc/mongoc-bulk-operation.h
6633
/* * Copyright 2014 MongoDB, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
bsd-3-clause
masafumi-inoue/GTS
sources/libcpp72iip_erase_dot_noise/iip_erase_dot_noise_uchar.cpp
2775
#include "pri.h" #include "calcu_erase_dot_noise.h" #include "iip_erase_dot_noise.h" void iip_erase_dot_noise::_exec_uchar( long l_width, long l_height, long l_area_xpos, long l_area_ypos, long l_area_xsize, long l_area_ysize, long l_channels, unsigned char *ucharp_in, unsigned char *ucharp_out ) { long l_start, l_sc...
bsd-3-clause
hectorj/btcd
wire/fixedIO_test.go
2030
// Copyright (c) 2013-2015 The btcsuite developers // Use of this source code is governed by an ISC // license that can be found in the LICENSE file. package wire_test import ( "bytes" "io" ) // fixedWriter implements the io.Writer interface and intentially allows // testing of error paths by forcing short writes....
isc
garyttierney/apollo
data/plugins/navigation/door/door.rb
753
java_import 'org.apollo.game.action.DistancedAction' # A distanced action which opens a door. class OpenDoorAction < DistancedAction include DoorConstants attr_reader :door def initialize(mob, door) super(0, true, mob, door.position, DOOR_SIZE) @door = door end def executeAction mob.turn_to(@...
isc
glenjamin/react-bootstrap
types/components/NavbarToggle.d.ts
284
import * as React from 'react'; import { BsPrefixComponent } from './helpers'; interface NavbarToggleProps { label?: string; } declare class NavbarToggle< As extends React.ReactType = 'button' > extends BsPrefixComponent<As, NavbarToggleProps> {} export default NavbarToggle;
mit
CGX-GROUP/DotSpatial
Source/DotSpatial.Symbology.Forms/LineSymbolDialog.Designer.cs
6632
using System; using System.ComponentModel; using System.Drawing; using System.Windows.Forms; namespace DotSpatial.Symbology.Forms { public partial class LineSymbolDialog { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.ICo...
mit
kellyselden/babel
packages/babel-preset-es2015/test/fixtures/traceur/Yield/YieldAssignThrow.js
378
function* f() { var x; try { x = yield 1; } catch (ex) { yield ex; } return 2; } var g = f(); expect(g.next()).toEqual({value: 1, done: false}); expect(g.next()).toEqual({value: 2, done: true}); g = f(); expect(g.next()).toEqual({value: 1, done: false}); expect(g.throw(3)).toEqual({value: 3, done: f...
mit
FPurchess/blank
vendor/src/github.com/miketheprogrammer/go-thrust/lib/events/eventhandler.go
1347
package events import ( "errors" "github.com/miketheprogrammer/go-thrust/lib/commands" "github.com/miketheprogrammer/go-thrust/lib/dispatcher" ) /* Create a new EventHandler for a give event. */ func NewHandler(event string, fn interface{}) (ThrustEventHandler, error) { h := ThrustEventHandler{} h.Event = event...
mit
eheydemann/PaperOrPlastic
PaperOrPlasticApp/app/src/test/java/edu/pacificu/cs493f15_1/paperorplasticapp/ExampleUnitTest.java
326
package edu.pacificu.cs493f15_1.paperorplasticapp; import org.junit.Test; import static org.junit.Assert.*; /** * To work on unit tests, switch the Test Artifact in the Build Variants view. */ public class ExampleUnitTest { @Test public void addition_isCorrect() throws Exception { assertEquals(4, 2 + 2);...
mit
janusnic/youtube-dl-GUI
youtube_dl/postprocessor/__init__.py
760
from __future__ import unicode_literals from .atomicparsley import AtomicParsleyPP from .ffmpeg import ( FFmpegPostProcessor, FFmpegAudioFixPP, FFmpegEmbedSubtitlePP, FFmpegExtractAudioPP, FFmpegFixupStretchedPP, FFmpegMergerPP, FFmpegMetadataPP, FFmpegVideoConvertorPP, ) from .xattrpp ...
mit
slaymaker1907/HearthSim
src/test/java/com/hearthsim/test/minion/TestAbomination.java
11770
package com.hearthsim.test.minion; import com.hearthsim.card.Card; import com.hearthsim.card.CharacterIndex; import com.hearthsim.card.basic.minion.BoulderfistOgre; import com.hearthsim.card.basic.minion.RaidLeader; import com.hearthsim.card.classic.minion.common.ScarletCrusader; import com.hearthsim.card.classic.mini...
mit
georgemarshall/DefinitelyTyped
types/yargs/index.d.ts
48896
// Type definitions for yargs 17.0 // Project: https://github.com/chevex/yargs, https://yargs.js.org // Definitions by: Martin Poelstra <https://github.com/poelstra> // Mizunashi Mana <https://github.com/mizunashi-mana> // Jeffery Grajkowski <https://github.com/pushplay> // ...
mit
naasking/website
src/Cake.Web.Docs/Reflection/Model/IMethodInfo.cs
701
using Mono.Cecil; namespace Cake.Web.Docs.Reflection.Model { /// <summary> /// Represents reflected method information. /// </summary> public interface IMethodInfo { /// <summary> /// Gets the method identity. /// </summary> /// <value>The method identity.</value> ...
mit
nguyenhongson03/actor-platform
actor-server/actor-tests/src/test/scala/im/actor/server/api/rpc/service/MessagingServiceHistorySpec.scala
18840
package im.actor.server.api.rpc.service import im.actor.api.rpc.Implicits._ import im.actor.api.rpc._ import im.actor.api.rpc.counters.UpdateCountersChanged import im.actor.api.rpc.groups.{ UpdateGroupInvite, UpdateGroupUserInvited } import im.actor.api.rpc.messaging._ import im.actor.api.rpc.misc.ResponseVoid import ...
mit
danice/Nancy.Hal
src/Nancy.Hal/Properties/AssemblyInfo.cs
491
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // Setting ComVisible to false makes the types in this assembly not visible // to COM components. If you need to access a type in this assembly from // COM, set the ComVisible attribute to true on that type. [asse...
mit
phalcon/zephir
Library/Detectors/ForValueUseDetector.php
630
<?php /** * This file is part of the Zephir. * * (c) Phalcon Team <team@zephir-lang.com> * * For the full copyright and license information, please view * the LICENSE file that was distributed with this source code. */ namespace Zephir\Detectors; /** * ForValueUseDetector. * * Detects whether the traversed...
mit
Fredplais/platformsh-cli
src/Command/Integration/IntegrationDeleteCommand.php
1647
<?php namespace Platformsh\Cli\Command\Integration; use Platformsh\Cli\Command\PlatformCommand; use Symfony\Component\Console\Input\InputArgument; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\OutputInterface; class IntegrationDeleteCommand extends PlatformCommand { /** ...
mit
dudomatik/conveyor-belt
StateMachineTelnet/SIMNTdiab/Makefile
18791
# Wind River Workbench generated Makefile. # Do not edit!!! # # The file ".wrmakefile" is the template used by the Wind River Workbench to # generate the makefiles of this project. Add user-specific build targets and # make rules only(!) in this project's ".wrmakefile" file. These will then be # automatically dumped in...
mit
JuliaLang/JuliaBox
engine/src/juliabox/plugins/dns_gcd/impl_gcd.py
2592
__author__ = 'Nishanth' from juliabox.cloud import JBPluginCloud from juliabox.jbox_util import JBoxCfg, retry_on_errors from googleapiclient.discovery import build from oauth2client.client import GoogleCredentials import threading class JBoxGCD(JBPluginCloud): provides = [JBPluginCloud.JBP_DNS, JBPluginCloud.JB...
mit
ekosz/stripe-i18n
lib/stripe_i18n/railtie.rb
567
require 'rails' module StripeI18n class Railtie < ::Rails::Railtie initializer 'stripe-i18n' do |app| StripeI18n::Railtie.instance_eval do pattern = pattern_from app.config.i18n.available_locales add("rails/locale/#{pattern}.yml") end end protected def self.add(pattern)...
mit
chenDoInG/jenkins
core/src/main/java/hudson/node_monitors/DiskSpaceMonitor.java
2868
/* * The MIT License * * Copyright (c) 2004-2009, Sun Microsystems, Inc., Kohsuke Kawaguchi * * 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 l...
mit
t-zuehlsdorff/gitlabhq
app/uploaders/personal_file_uploader.rb
492
class PersonalFileUploader < FileUploader def self.dynamic_path_segment(model) File.join(CarrierWave.root, model_path(model)) end def self.base_dir File.join(root_dir, '-', 'system') end private def secure_url File.join(self.class.model_path(model), secret, file.filename) end def self.mo...
mit
milesj/transit
src/Transit/Transformer/Image/CropTransformer.php
3668
<?php /** * @copyright 2006-2013, Miles Johnson - http://milesj.me * @license http://opensource.org/licenses/mit-license.php * @link http://milesj.me/code/php/transit */ namespace Transit\Transformer\Image; use Transit\File; use \InvalidArgumentException; /** * Crops a photo, but resizes and keeps ...
mit
MoOx/phenomic
website/content/showcase/entry/putaindecode.io.md
194
--- title: Putain de code ! url: http://putaindecode.io/ source: https://github.com/putaindecode/putaindecode.io showcaseTags: - open-source - community - learning - multi-languages ---
mit
jeffry1829/teleirc
README.md
1298
teleirc ======= Telegram <-> IRC gateway. * Uses the [node-telegram-bot](https://github.com/orzFly/node-telegram-bot) library for Telegram communication * IRC communication via martynsmith's [node-irc](https://github.com/martynsmith/node-irc) module * All Telegram messages are sent to IRC channel * IRC messages sent ...
mit
webflo/puppet-php
spec/classes/php_5_5_4_spec.rb
145
require 'spec_helper' describe "php::5_5_4" do let(:facts) { default_test_facts } it do should contain_php__version("5.5.4") end end
mit
vincent03460/fxcmiscc-partner
lib/symfony/vendor/propel-generator/classes/propel/engine/platform/MssqlPlatform.php
3539
<?php /* * $Id: MssqlPlatform.php 3752 2007-04-11 09:11:18Z fabien $ * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR * A PARTICULAR PURPOSE AR...
mit
matthewzimmer/bit-miner
wrappers/ios/bitminer/Pods/MRCEnumerable/Classes/NSDictionary+Enumerable.h
499
// // NSDictionary+Enumerable.h // MRCEnumerable // // Created by Marcus Crafter on 17/11/10. // Copyright 2010 Red Artisan. All rights reserved. // #import <Foundation/Foundation.h> @interface NSDictionary (Enumerable) - (void)each:(void (^)(id key, id obj))block; - (id)inject:(id)m :(id (^)(id m, id key, id o...
mit
lmazuel/azure-sdk-for-node
lib/services/devTestLabs/lib/models/artifactSource.js
5125
/* * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ '...
mit
agnumerikunimarburg/Marburg_Software_Library
WaveletTL/cube/cube_support.cpp
12820
// implementation for cube_support.h #include <utils/multiindex.h> #include <utils/fixed_array1d.h> using MathTL::multi_degree; using MathTL::FixedArray1D; namespace WaveletTL { template <class IBASIS, unsigned int DIM> inline void support(const CubeBasis<IBASIS,DIM>& basis, const typename CubeBasis<IBASI...
mit
Claudiu/Moongrace
Moongrace/Lib/config.php
542
<?php /** * Config class **/ class Config extends Application { private $config; function __construct($param = array()) { if (!empty($param['file'])) { $this -> load($param['file']); } } public function reset() { $this -> config = array(); } public function load($filename = '') { $file = APP . ...
mit
cysjonathan/coursemology2
db/migrate/20150812024950_add_fields_to_course_material_folders.rb
604
# frozen_string_literal: true class AddFieldsToCourseMaterialFolders < ActiveRecord::Migration[4.2] def change remove_column :course_material_folders, :parent_folder_id, :integer, foreign_key: { references: :course_material_folders } add_column :course_material_folders, :parent_id, :integer...
mit
shanlinfeiniao/MoeDownloader
README.md
385
MoeDownloader ====== 基于python的福利图嗅探器,目前可以嗅探草榴、煎蛋和二次萌エロ画像ブログ这三个网站的图片,如果需要加入其他网站也比较容易。 基本用法: ====== "` python catch.py [topic] `" 其中,[topic]可以是caoliu、moeimg、jandan三个选项之一 更多的用法请输入 "` python catch.py -h `" 来查看
mit
JuliaGPU/HSA.jl
src/emulation/emulation.jl
2595
module Emulation export run_cpu const EMULATED_INTRINSICS = [ :get_global_id, :get_global_size ] type EmulationContext global_id global_size function EmulationContext() new( [0,0,0], [0,0,0] ) end end # Emulated version of intrinsic functions # mainl...
mit
openshopio/openshop.io-android
app/src/main/java/bf/io/openshop/entities/Page.java
1413
package bf.io.openshop.entities; public class Page { private long id; private String title; private String text; public Page() { } public long getId() { return id; } public void setId(long id) { this.id = id; } public String getTitle() { return title...
mit
chip/signal-wiki
vendor/rails/actionpack/test/controller/new_render_test.rb
27616
require 'abstract_unit' require 'controller/fake_models' class CustomersController < ActionController::Base end module Fun class GamesController < ActionController::Base def hello_world end end end module NewRenderTestHelper def rjs_helper_method_from_module page.visual_effect :highlight end end ...
mit
piket/twitter-mafia
config/bootstrap.js
1211
/** * Bootstrap * (sails.config.bootstrap) * * An asynchronous bootstrap function that runs before your Sails app gets lifted. * This gives you an opportunity to set up your data model, run jobs, or perform some special logic. * * For more information on bootstrapping your app, check out: * http://sailsjs.org/#...
mit
axelitus/fork-ews-managed-api
Core/Responses/FindFolderResponse.cs
5021
/* * Exchange Web Services Managed API * * Copyright (c) Microsoft Corporation * All rights reserved. * * MIT License * * 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 * wit...
mit
bvernoux/micropython
ports/stm32/boards/STM32F439/mpconfigboard.h
3172
#define MICROPY_HW_BOARD_NAME "CustomPCB" #define MICROPY_HW_MCU_NAME "STM32F439" #define MICROPY_HW_HAS_FLASH (1) #define MICROPY_HW_ENABLE_RNG (1) #define MICROPY_HW_ENABLE_RTC (1) #define MICROPY_HW_ENABLE_DAC (1) #define MICROPY_HW_ENABLE_USB (1) #define MICROPY_HW_ENAB...
mit
tithebarn/charity-base
graphql/resolvers/query/CHC/getCharities/aggregate/finances/index.js
273
const latestIncome = require('./latestIncome') const latestSpending = require('./latestSpending') function aggFinances(search) { return { latestIncome: () => latestIncome(search), latestSpending: () => latestSpending(search), } } module.exports = aggFinances
mit
EyesOfThings/Software
Platform Software/myriad/apps/sdcard_wifi_example/leon/rtems_config.h
1928
#ifndef LEON_RTEMS_CONFIG_H_ #define LEON_RTEMS_CONFIG_H_ #ifndef _RTEMS_CONFIG_H_ #define _RTEMS_CONFIG_H_ #include <OsDrvCpr.h> #if defined(__RTEMS__) #if !defined (__CONFIG__) #define __CONFIG__ /* ask the system to generate a configuration table */ #define CONFIGURE_INIT #ifndef RTEMS_POSIX_API #define RTEMS_...
mit
resolve/refinerycms
core/spec/lib/generators/refinery/engine/engine_generator_multiple_resources_spec.rb
1394
require 'spec_helper' require 'generator_spec/test_case' require 'generators/refinery/engine/engine_generator' module Refinery describe EngineGenerator do include GeneratorSpec::TestCase destination File.expand_path("../../../../../../tmp", __FILE__) before do prepare_destination run_generat...
mit
imasaru/sabbath-school-lessons
src/en/2019-01-45-sec/01/02.md
729
--- title: The Title of the Book date: 30/12/2018 --- According to Rev. 1:1 the title of the book is "The Revelation of Jesus Christ". It is a self-revelation of Him to His people and an expression of His care for them. The book is the unveiling of Jesus Christ and it is both from Jesus and about Him. He is the fo...
mit
influxdb/influxdb
telegraf/plugins/inputs/diskio.go
1832
package inputs import ( "fmt" ) // DiskIO is based on telegraf DiskIO. type DiskIO struct { baseInput } // PluginName is based on telegraf plugin name. func (d *DiskIO) PluginName() string { return "diskio" } // UnmarshalTOML decodes the parsed data to the object func (d *DiskIO) UnmarshalTOML(data interface{}) ...
mit
blyk/BlackCode-Fuse
TestApp/.build/Simulator/Android/include/Uno.UX.UXSourceFileNameAttribute.h
751
// This file was generated based on 'C:\ProgramData\Uno\Packages\UnoCore\0.19.6\Source\Uno\UX\Attributes\$.uno'. // WARNING: Changes might be lost if you edit this file directly. #pragma once #include <Uno.Attribute.h> namespace g{namespace Uno{namespace UX{struct UXSourceFileNameAttribute;}}} namespace g{ namespace ...
mit
voiceBits/bitz-admin
voicebitsapps/app/Task.php
98
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Task extends Model { // }
mit
pferreir/indico
indico/modules/news/controllers.py
3954
# This file is part of Indico. # Copyright (C) 2002 - 2021 CERN # # Indico is free software; you can redistribute it and/or # modify it under the terms of the MIT License; see the # LICENSE file for more details. from datetime import timedelta from flask import flash, redirect, request, session from indico.core.db i...
mit
sbruce/go-ipfs
p2p/net/swarm/swarm_notif_test.go
4319
package swarm import ( "testing" "time" ma "github.com/ipfs/go-ipfs/Godeps/_workspace/src/github.com/jbenet/go-multiaddr" context "github.com/ipfs/go-ipfs/Godeps/_workspace/src/golang.org/x/net/context" inet "github.com/ipfs/go-ipfs/p2p/net" ) func TestNotifications(t *testing.T) { ctx := context.Background()...
mit
Intelledox/Infiniti
README.md
624
## Infiniti Samples This repository contains examples for [Intelledox Infiniti](http://intelledox.com). Directory | Description --------- | ----------- [Extension Examples](ExtensionExamples) | A collection of sample code that helps you learn and explore Infiniti extensions. [API Examples](ApiExamples) | A collectio...
mit
wertzui/effort
Main/Source/Effort/Internal/DbCommandTreeTransformation/TransformVisitor.UnionAll.cs
2438
// -------------------------------------------------------------------------------------------- // <copyright file="TransformVisitor.UnionAll.cs" company="Effort Team"> // Copyright (C) 2011-2014 Effort Team // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this ...
mit
mwoynarski/KunstmaanBundlesCMS
src/Kunstmaan/NodeSearchBundle/Helper/FormWidgets/SearchFormWidget.php
1850
<?php namespace Kunstmaan\NodeSearchBundle\Helper\FormWidgets; use Doctrine\ORM\EntityManager; use Kunstmaan\AdminBundle\Helper\FormWidgets\FormWidget; use Kunstmaan\NodeBundle\Entity\Node; use Kunstmaan\NodeSearchBundle\Entity\NodeSearch; use Symfony\Component\Form\FormBuilderInterface; use Symfony\Component\HttpFou...
mit
kamsar/Rainbow
src/Rainbow/Properties/AssemblyInfo.cs
130
using System.Reflection; [assembly: AssemblyTitle("Rainbow")] [assembly: AssemblyDescription("Rainbow serialization library")]
mit
PysKa-Ratzinger/personal_project_euler_solutions
solutions/051-075/54/Makefile
183
main: main.cc g++ -O2 -Wall -Wextra -o main main.cc run: main ./main debug: main valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes ./main clean: rm -fv main
mit
richtermark/SMEAGOnline
web/bundles/topxiaweb/js/controller/course-manage/material-modal.js
1892
define(function(require, exports, module) { var Notify = require('common/bootstrap-notify'); var FileChooser = require('../widget/file/file-chooser3'); exports.run = function() { var $form = $("#course-material-form"); var materialChooser = new FileChooser({ element: '#materia...
mit
ghodasara/ForecastIO
Pods/Target Support Files/Pods-ForecastIO iOS Tests/Pods-ForecastIO iOS Tests-frameworks.sh
8050
#!/bin/sh set -e set -u set -o pipefail function on_error { echo "$(realpath -mq "${0}"):$1: error: Unexpected failure" } trap 'on_error $LINENO' ERR if [ -z ${FRAMEWORKS_FOLDER_PATH+x} ]; then # If FRAMEWORKS_FOLDER_PATH is not set, then there's nowhere for us to copy # frameworks to, so exit 0 (signalling the...
mit
vbudovski/ogre
Samples/ShaderSystemMultiLight/include/RTShaderSRSSegmentedLights.h
10199
/* ----------------------------------------------------------------------------- This source file is part of OGRE (Object-oriented Graphics Rendering Engine) For the latest info, see http://www.ogre3d.org Copyright (c) 2000-2013 Torus Knot Software Ltd Permission is hereby granted, free of charge, to any person obtain...
mit
stephaniejn/stephaniejn.github.io
node_modules/caniuse-lite/data/features/download.js
857
module.exports={A:{A:{"2":"H D G E A B FB"},B:{"1":"p z J L N I","2":"C"},C:{"1":"0 2 3 5 6 8 9 P Q R S T U V W X Y Z a c d e f g h i j k l m n o M q r s t u v w x y CB AB","2":"4 aB F K H D G E A B C p z J L N I O YB SB"},D:{"1":"0 2 3 5 6 8 9 z J L N I O P Q R S T U V W X Y Z a c d e f g h i j k l m n o M q r s t u v...
mit
iansltx/helpwanted
public/index.php
843
<?php /** * This makes our life easier when dealing with paths. Everything is relative * to the application root now. */ chdir(dirname(__DIR__)); // Decline static file requests back to the PHP built-in webserver if (php_sapi_name() === 'cli-server' && is_file(__DIR__ . parse_url($_SERVER['REQUEST_URI'], PHP_URL_PA...
mit
mccarthyrb/libpalaso
SIL.Scripture/VersificationTable.cs
9031
// --------------------------------------------------------------------------------------------- #region // Copyright (c) 2014, SIL International. All Rights Reserved. // <copyright from='2008' to='2014' company='SIL International'> // Copyright (c) 2014, SIL International. All Rights Reserved. // // Distribut...
mit
maxinedivers/pass-max
views/priority_service_170215/photoguide-short/short-upload-photo.html
2245
{{< layout}} {{$pageTitle}}Upload your photo{{/pageTitle}} {{$header}} <h1>Take your photo</h1> {{/header}} {{$content}} <p>If you need to, <a href="/priority_service_170215/photoguide-short/">read the photo guide again</a>.</p> <p> We’ll store all photos for up to 30 days in line...
mit
Andreis13/sprockets
lib/sprockets/babel_processor.rb
1054
require 'sprockets/autoload' require 'sprockets/path_utils' module Sprockets class BabelProcessor VERSION = '1' def self.instance @instance ||= new end def self.call(input) instance.call(input) end def initialize(options = {}) @options = options.merge({ 'blacklist...
mit
CodeOtter/tech-career
src/Item.js
6892
'use strict'; const EventEmitter = require('events'); const uuid = require('node-uuid'); const ItemType = require('./ItemType'); const { Inventory, InventoryFullError } = require('./Inventory'); const Logger = require('./Logger'); const Player = require('./Player'); /** * @property {Area} area Area the it...
mit
flightlog/flsserver
src/ObjectHydrator-master/Foundation.ObjectHydrator/Generators/UnitedKingdomCityGenerator.cs
29362
using System; using System.Collections.Generic; using Foundation.ObjectHydrator.Interfaces; namespace Foundation.ObjectHydrator.Generators { public class UnitedKingdomCityGenerator : IGenerator<string> { private readonly Random _random; private IList<string> _citynames = new List<string>(); ...
mit
cytochromewangdong/HippoStart
src/main/webapp/app_back/partials/verifyrecord/verifyrecord_form.html
5603
<fieldset class="col-sm-12 bordure"> <legend class="legende">{{ 'Verifyrecord' | translate }}</legend> <div ng-include src="'partials/message-include.html'"></div> <form class="well form-horizontal"> <div class="form-group"> <label for="verifyrecord_uid" class="col-sm-2 control-label">{{ 'verifyr...
mit
blyk/BlackCode-Fuse
TestApp/.build/Simulator/Android/include/Fuse.Controls.Text.h
1103
// This file was generated based on 'C:\ProgramData\Uno\Packages\Fuse.Controls\0.18.8\$.uno'. // WARNING: Changes might be lost if you edit this file directly. #pragma once #include <Fuse.Animations.IResize.h> #include <Fuse.Controls.TextBlock.h> #include <Fuse.IActualPlacement.h> #include <Fuse.Navigation.INavigation...
mit
raonyguimaraes/pyjobs
pyjobs/web/static/js/.module-cache/4ae00001aee8e40f0fb90fff1d2d3b85d7f734e2.js
600
var JobsList = React.createClass({displayName: "JobsList", render: function() { return ( React.createElement(JobItem, {title: "Trabalho Python", desc: "Descricao aqui"}) ); } }); var JobItem = React.createClass({displayName: "JobItem", render: function() { React.createEl...
mit
DmitriySalnikov/godot
scene/resources/skeleton_modification_stack_3d.h
3932
/*************************************************************************/ /* skeleton_modification_stack_3d.h */ /*************************************************************************/ /* This file is part of: */ /* ...
mit
johnmeilleur/DisplayTemplates
Search Display Templates/Merge Search Result Templates/README.md
842
Merge Search Result Templates ================ With these templates you are able to merge search results from multiple search web parts into one view. ![Here is an example where a global query is merged with results from ICT](http://www.eliostruyf.com/wp-content/uploads/2015/08/081715_1551_Mergesearch3.png) File | D...
mit
BreakoutCoin/Breakout-Chain-Client
src/tor/or/geoip.c
58156
/* Copyright (c) 2007-2016, The Tor Project, Inc. */ /* See LICENSE for licensing information */ /** * \file geoip.c * \brief Functions related to maintaining an IP-to-country database; * to summarizing client connections by country to entry guards, bridges, * and directory servers; and for statistics on answering...
mit
NickAger/elm-slider
ServerSlider/WebSocketServer/Packages/WebSocket-0.14.3/README.md
2315
# WebSocket [![Swift][swift-badge]][swift-url] [![Zewo][zewo-badge]][zewo-url] [![Platform][platform-badge]][platform-url] [![License][mit-badge]][mit-url] [![Slack][slack-badge]][slack-url] [![Travis][travis-badge]][travis-url] [![Codebeat][codebeat-badge]][codebeat-url] > :warning: This module contains no networkin...
mit
rosshamish/c275-stamp
examples/abSprite.h
949
#ifndef __ABSPRITE_H #define __ABSPRITE_H #include <Arduino.h> #include <Adafruit_GFX.h> #include <Adafruit_ST7735.h> #include <SPI.h> #include "ab_lcd_image.h" #include "abImage.h" #define AB_SPRITE_SIZE 15 #define DEFAULT_MOVE_DIST 20 #define MAX_SCREEN_WIDTH 128 #define MAX_SCREEN_HEIGHT 160 class abSprite { pr...
mit
pascience/cloxp-install
win/life_star/node_modules/lively-davfs/node_modules/jsDAV/lib/CardDAV/plugin.js
26510
/* * @package jsDAV * @subpackage CardDAV * @copyright Copyright(c) 2013 Mike de Boer. <info AT mikedeboer DOT nl> * @author Mike de Boer <info AT mikedeboer DOT nl> * @license http://github.com/mikedeboer/jsDAV/blob/master/LICENSE MIT License */ "use strict"; var jsDAV_Plugin = require("./../DAV/plugin"); var j...
mit
gkalpak/angular
packages/core/schematics/migrations/typed-forms/index.ts
1942
/** * @license * Copyright Google LLC 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 {Rule, SchematicsException, Tree, UpdateRecorder} from '@angular-devkit/schematics'; import {relative} from 'p...
mit
VasilyStrelyaev/testcafe
test/functional/legacy-fixtures/screenshots/testcafe-fixtures/screenshots.test.js
312
'@fixture click'; '@page http://example.com'; '@test'['Take a screenshot'] = { '1.Click on non-existing element': function () { act.screenshot(); }, }; '@test'['Screenshot on test code error'] = { '1.Click on non-existing element': function () { throw new Error('STOP'); }, };
mit
mdsolver/WurmAssistant3
src/Common/Essentials/Extensions/DotNet/Drawing/HslColor.cs
4774
///////////////////////////////// // Rich Newman // http://richnewman.wordpress.com/about/code-listings-and-diagrams/hslcolor-class/ // using System; using System.Drawing; namespace AldursLab.Essentials.Extensions.DotNet.Drawing { /// <summary> /// Color with Hue/Saturation/Luminescense representation. /...
mit
PaoloPia/PnP-Guidance
sitescore/OfficeDevPnP.Core.Framework.Provisioning.Providers.Xml.V201508.RegionalSettings.WorkDaysSpecified.md
600
# RegionalSettings.Properties WorkDaysSpecified **Namespace:** [OfficeDevPnP.Core.Framework.Provisioning.Providers.Xml.V201508](OfficeDevPnP.Core.Framework.Provisioning.Providers.Xml.V201508.md) **Assembly:** OfficeDevPnP.Core.dll ## Syntax ```C# public bool WorkDaysSpecified { get; set; } ``` ### Property Val...
mit
brjohnstmsft/azure-sdk-for-net
sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/TransparentDataEncryptionActivityListResult.Serialization.cs
1257
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System.Collections.Generic; using System.Text.Json; using Azure.Core; namespace Azure.ResourceManager.Sql.Models { public partial class TransparentDataEncryptionActivityLi...
mit
ericgreenmix/marten
src/Marten.Testing/CoreFunctionality/foreign_key_persisting_Tests.cs
4074
using System; using Marten.Services; using Marten.Testing.Documents; using Marten.Testing.Harness; using Xunit; namespace Marten.Testing.CoreFunctionality { public class foreign_key_persisting_Tests: IntegrationContext { [Fact] public void persist_and_overwrite_foreign_key() { ...
mit
wKoza/angular
packages/core/test/util/global_spec.ts
732
/** * @license * Copyright Google LLC 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 {global} from '../../src/util/global'; // Not yet available in TypeScript: https://github.com/Microsoft/TypeS...
mit
itdos/Dos.Tool
Properties/AssemblyInfo.cs
1337
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // 有关程序集的常规信息通过下列属性集 // 控制。更改这些属性值可修改 // 与程序集关联的信息。 [assembly: AssemblyTitle("Dos.Tools")] [assembly: AssemblyDescription("ITdos.com")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("ITdos.com")] [...
mit
rbaghdadi/tiramisu
tests/wrapper_test_71.cpp
933
#include "Halide.h" #include <tiramisu/utils.h> #include <cstdlib> #include <iostream> #include "wrapper_test_71.h" #ifdef __cplusplus extern "C" { #endif #ifdef __cplusplus } // extern "C" #endif // We assume that the increment is 1. void reference_saxpy(int N1, float alpha, float *A, float *B) { for (int i=0; i...
mit