repo_name
stringlengths
4
116
path
stringlengths
4
379
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
landolsi1/tunisiehologram
vendor/composer/autoload_psr4.php
1473
<?php // autoload_psr4.php @generated by Composer $vendorDir = dirname(dirname(__FILE__)); $baseDir = dirname($vendorDir); return array( 'Zend\\Json\\' => array($vendorDir . '/zendframework/zend-json/src'), 'Symfony\\Bundle\\SwiftmailerBundle\\' => array($vendorDir . '/symfony/swiftmailer-bundle'), 'Symf...
mit
sodash/open-code
winterwell.nlp/src/com/winterwell/nlp/io/ListTokenStream.java
3946
package com.winterwell.nlp.io; import java.util.ArrayList; import java.util.Collection; import java.util.Iterator; import java.util.List; import com.winterwell.utils.Printer; import com.winterwell.utils.TodoException; import com.winterwell.utils.containers.AbstractIterator; import com.winterwell.utils.containers.Cont...
mit
binghuo365/BaseLab
3rd/ACE-5.7.0/ACE_wrappers/examples/Reactor/Proactor/test_aiosig.cpp
7858
// $Id: test_aiosig.cpp 84565 2009-02-23 08:20:39Z johnnyw $ // ============================================================================ // // = FILENAME // test_aiosig.cpp // // = DESCRITPTION // Check out test_aiosig_ace.cpp, the ACE'ified version of this // program. This program may not be uptodate. ...
mit
yinjimmy/cocos2d-x-mini
platform/android/jni/Java_org_cocos2dx_lib_Cocos2dxHelper.cpp
10591
#include <stdlib.h> #include <jni.h> #include <android/log.h> #include <string> #include "JniHelper.h" #include "Java_org_cocos2dx_lib_Cocos2dxHelper.h" #define LOG_TAG "Java_org_cocos2dx_lib_Cocos2dxHelper.cpp" #define LOGD(...) __android_log_print(ANDROID_LOG_DEBUG,LOG_TAG,__VA_ARGS__) #define CLASS_NAME "o...
mit
Jason3S/cspell-trie
src/lib/suggest.test.ts
9363
import {expect} from 'chai'; import * as Sug from './suggest'; import {Trie} from './trie'; describe('Validate Suggest', () => { it('Tests suggestions', () => { const trie = Trie.create(sampleWords); const results = Sug.suggest(trie.root, 'talks'); // console.log(JSON.stringify(results)); ...
mit
FacticiusVir/SharpVk
src/SharpVk/PhysicalDeviceDepthStencilResolveProperties.gen.cs
2941
// The MIT License (MIT) // // Copyright (c) Andrew Armstrong/FacticiusVir 2020 // // 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 r...
mit
orchestral/orchestra
controllers/resources.php
2106
<?php use Orchestra\Presenter\Resource as ResourcePresenter, Orchestra\Resources, Orchestra\Site, Orchestra\View; class Orchestra_Resources_Controller extends Orchestra\Controller { /** * Construct Resources Controller, only authenticated user should be able * to access this controller. * * @access publi...
mit
genavarov/lamacoin
src/rpcprotocol.cpp
8865
// Copyright (c) 2010 Satoshi Nakamoto // Copyright (c) 2009-2014 The Bitcoin developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "rpcprotocol.h" #include "clientversion.h" #include "tinyformat.h" #include "util...
mit
MadMartians/alcohol
public/js/sockets/stream.js
18
var socket = io()
mit
progre/sx13
Scarlex13/UserInterfaces/Commons/ValueObjects/Color.cs
340
namespace Progressive.Scarlex13.UserInterfaces.Commons.ValueObjects { internal struct Color { public byte Blue; public byte Green; public byte Red; public Color(byte red, byte green, byte blue) { Red = red; Green = green; Blue = blue;...
mit
ramunasd/platform
src/Oro/Bundle/DataGridBundle/Resources/public/js/datagrid/grid.js
28486
define(function(require) { 'use strict'; var Grid; var $ = require('jquery'); var _ = require('underscore'); var Backbone = require('backbone'); var Backgrid = require('backgrid'); var __ = require('orotranslation/js/translator'); var mediator = require('oroui/js/mediator'); var Loa...
mit
robertecurtin/plutos-envy
PlutosEnvy/urls.py
839
"""PlutosEnvy URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.11/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Class...
mit
kazinduzi/kasoko
vendor/Solarium/QueryType/Analysis/ResponseParser/Field.php
5174
<?php /** * Copyright 2011 Bas de Nooijer. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, * this list of con...
mit
diddledan/diddledan.github.io
@polymer/polymer/lib/utils/array-splice.d.ts
1507
/** * DO NOT EDIT * * This file was automatically generated by * https://github.com/Polymer/gen-typescript-declarations * * To modify these typings, edit the source file(s): * lib/utils/array-splice.js */ export {calculateSplices}; /** * Returns an array of splice records indicating the minimum edits re...
mit
DanWahlin/CustomerManagerStandard
CustomerManager/test/lib/angular-mocks.js
94155
/** * @license AngularJS v1.3.0 * (c) 2010-2014 Google, Inc. http://angularjs.org * License: MIT */ (function (window, angular, undefined) { 'use strict'; /** * @ngdoc object * @name angular.mock * @description * * Namespace from 'angular-mocks.js' which contains tes...
mit
capesean/codegenerator
codegenerator/Models/Settings.cs
2143
using System; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Configuration; using System.Linq; namespace WEB.Models { public class Settings { [Key] public int SettingsId { get; set; } [NotMapped] public string Site...
mit
yogeshsaroya/new-cdnjs
ajax/libs/vis/0.7.4/vis.min.js
131
version https://git-lfs.github.com/spec/v1 oid sha256:c7a5c0cb2d2bb3e59e7454df3561b8720a1f48230afed426fb4a996838227f02 size 270184
mit
yltsrc/warder
spec/fixtures/valid_rails_app/config/environment.rb
151
# Load the Rails application. require File.expand_path('../application', __FILE__) # Initialize the Rails application. Valid::Application.initialize!
mit
Roberto95/NURCON
NURCON/WebApp/formulario/Usuarios.aspx.cs
1557
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace WebApp { public partial class Usuarios : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { } protecte...
mit
ninianne98/CarrotCakeCMS
PluginEventCalendarModule/CalendarAdminCategoryList.ascx.cs
667
using System; using System.Collections.Generic; using System.Linq; using Carrotware.CMS.Interface; /* * CarrotCake CMS - Event Calendar * http://www.carrotware.com/ * * Copyright 2013, Samantha Copeland * Dual licensed under the MIT or GPL Version 3 licenses. * * Date: June 2013 */ namespace Carrotwar...
mit
Azure/azure-sdk-for-net
sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/GremlinGraphData.Serialization.cs
5110
// 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; using Azure.ResourceManager.CosmosDB.Models; using Azure.ResourceManager.Models; namespace Azure.Resource...
mit
peidachang/jforth-sf
src/main/java/org/xforth/sf/netty/Initializer/BaseInitializer.java
732
package org.xforth.sf.netty.Initializer; import io.netty.channel.Channel; import io.netty.channel.ChannelInitializer; import io.netty.channel.ChannelPipeline; /** * Base initializer * impl of ApplicationContextAware or lookup * * 可以统计流量和日志 */ public abstract class BaseInitializer extends ChannelInitializer { ...
mit
trianglman/sqrl
examples/server/web/index.php
2726
<?php /* * The MIT License * * Copyright 2014 johnj. * * 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, mo...
mit
shellchine/fepack
server/public/goconf.js
327
var goConf = { groups: [ { type: "common", name: "常规项目", label: "请选择后端团队", list: { '0' : '内部测试(不同步到后端)', '1' : '192.168.171.4', '2' : '192.168.171.7' } }] }
mit
GridProtectionAlliance/openHistorian
Source/Applications/openHistorian/openHistorian/Grafana/public/app/types/plugins.ts
914
import { PluginError, PluginMeta } from '@grafana/data'; import { PanelPlugin } from '@grafana/data'; import { TemplateSrv } from '@grafana/runtime'; export interface PluginDashboard { dashboardId: number; description: string; folderId: number; imported: boolean; importedRevision: number; importedUri: stri...
mit
SpongePowered/Sponge
src/main/java/org/spongepowered/common/data/provider/block/state/StainedGlassBlockData.java
2059
/* * This file is part of Sponge, licensed under the MIT License (MIT). * * Copyright (c) SpongePowered <https://www.spongepowered.org> * Copyright (c) contributors * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Softwar...
mit
RabbitStewDio/Steropes.UI
build-automation/build/Build.cs
13188
using JetBrains.Annotations; using Nuke.Common; using Nuke.Common.CI; using Nuke.Common.Execution; using Nuke.Common.Git; using Nuke.Common.IO; using Nuke.Common.ProjectModel; using Nuke.Common.Tooling; using Nuke.Common.Tools.DotNet; using Nuke.Common.Tools.Git; using Nuke.Common.Tools.GitVersion; using Nuke.Common.Ut...
mit
wmira/react-icons-kit
src/md/ic_computer_twotone.js
387
export const ic_computer_twotone = {"viewBox":"0 0 24 24","children":[{"name":"path","attribs":{"d":"M0 0h24v24H0V0z","fill":"none"},"children":[]},{"name":"path","attribs":{"d":"M4 6h16v10H4z","opacity":".3"},"children":[]},{"name":"path","attribs":{"d":"M20 18c1.1 0 1.99-.9 1.99-2L22 6c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 ...
mit
p2made/yii2-p2y2-things
assets/locale/ArLyAsset.php
1121
<?php /** * ArLyAsset.php * * Yii2 asset for moment * https://momentjs.com * * @author Pedro Plowman * @copyright Copyright &copy; Pedro Plowman, 2019 * @link https://github.com/p2made * @license MIT * * @package p2made/yii2-p2y2-moment * @class \p2m\assets\locale\ArLyAsset */ /** * Load this asset with....
mit
bg1bgst333/Sample
winapi/CreateWindow/WC_COMBOBOX/src/WC_COMBOBOX/WC_COMBOBOX/WC_COMBOBOX.cpp
19338
// ƒwƒbƒ_ƒtƒ@ƒCƒ‹‚̃Cƒ“ƒNƒ‹[ƒh // Šù’è‚̃wƒbƒ_ƒtƒ@ƒCƒ‹ #include <windows.h> // •W€WindowsAPI #include <tchar.h> // TCHARŒ^ #include <commctrl.h> // ƒRƒ‚ƒ“ƒRƒ“ƒgƒ[ƒ‹ // “ÆŽ©‚̃wƒbƒ_ƒtƒ@ƒCƒ‹ #include "resource.h" // ƒŠƒ\[ƒXID // ŠÖ”‚̃vƒƒgƒ^ƒCƒvéŒ¾ LRESULT CALLBACK WindowProc(HWND hwnd, UINT uMsg, WPARAM wPara...
mit
moble/spherical_functions
tests/time_LM_ranges.py
1706
#! /usr/bin/env ipython # Copyright (c) 2019, Michael Boyle # See LICENSE file for details: <https://github.com/moble/spherical_functions/blob/master/LICENSE> from __future__ import print_function, division, absolute_import try: from IPython import get_ipython ipython = get_ipython() except AttributeError: ...
mit
ideato/phpcollab3
plugins/idProjectManagementPlugin/lib/form/doctrine/PluginIssueForm.class.php
597
<?php /** * This file is part of the phpCollab3 package. * (c) 2009 Ideato s.r.l. <phpcollab@ideato.it> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. * * PluginIssueForm.class.php * * @package phpCollab3 * @subpackage idProjec...
mit
sleepyyyybear/restaurant
client/src/app/tai-khoan/tai-khoan-routing.module.ts
358
import { NgModule } from '@angular/core'; import { Routes, RouterModule } from '@angular/router'; import { TaiKhoanComponent } from './tai-khoan.component'; const routes: Routes = [ { path: '', component: TaiKhoanComponent } ]; @NgModule({ imports: [RouterModule.forChild(routes)], exports: [RouterModule] }) e...
mit
AntonChankin/otus_java_2017_10_chankin
homework06/src/main/java/com/antonchankin/otus/hw06/impl/CashDispenserImpl.java
5048
package com.antonchankin.otus.hw06.impl; import com.antonchankin.otus.hw06.api.CartredgeChangeSubject; import com.antonchankin.otus.hw06.api.CartridgeChangeObserver; import com.antonchankin.otus.hw06.api.CashDispenser; import com.antonchankin.otus.hw06.model.Cartridge; import com.antonchankin.otus.hw06.model.CashUnit;...
mit
despawnerer/theatrics
web/src/js/models/price.js
848
import {formatPriceRange} from '../utils/formatting'; export default class Price { constructor(event, data) { this.event = event; this.data = data; } hasRange() { return this.data.lower != null || this.data.upper != null; } toString() { if (this.hasRange()) { const currency = this.ev...
mit
kristianmandrup/ruby_traverser_dsl
test/manipulate/update/update_assignment_test.rb
1880
require File.dirname(__FILE__) + '/../test_helper' require 'yaml' class TraversalTest < Test::Unit::TestCase include TestHelper define_method :"setup" do src = %q{ a = 3 b = c x = 'abc' } code = Ripper::RubyBuilder.build(src) ...
mit
ne1ro/capistrano_pm2
lib/capistrano_pm2/version.rb
59
# Gem version module CapistranoPm2 VERSION = '0.0.5' end
mit
lijinchao2007/leftorright
sumeru/src/pilot.js
1038
/* * message pilot, 自动生成pilot */ var runnable = function(sumeru){ var pilot = {}; var counter = 0; var createPilotId = function(){ return "pilot"+counter++; }; var setPilot = function(obj,type){ // 解决server端collection占用内存不释放的问题. if(fw.IS_SUMERU_SERVER){ ...
mit
darkrasid/gitlabhq
lib/gitlab/repo_path.rb
548
module Gitlab module RepoPath NotFoundError = Class.new(StandardError) def self.strip_storage_path(repo_path) result = nil Gitlab.config.repositories.storages.values.each do |params| storage_path = params['path'] if repo_path.start_with?(storage_path) result = repo_path...
mit
ecbypi/besko
app/helpers/deliveries_helper.rb
730
module DeliveriesHelper def delivery_search_results_css_class(query) css_class = "deliveries-listing" if query.filter == DeliveryQuery::FILTER_OPTIONS[:all] css_class << " all-deliveries-listing" end css_class end def delivery_search_filter_options @delivery_search_filter_options ||= ...
mit
NeonSpectrum/KanadeBot
NadekoBot.Core/Modules/Games/NunchiCommands.cs
5031
using Discord; using Discord.Commands; using Discord.WebSocket; using NadekoBot.Common.Attributes; using NadekoBot.Modules.Games.Common.Nunchi; using NadekoBot.Modules.Games.Services; using System; using System.Linq; using System.Threading.Tasks; namespace NadekoBot.Modules.Games { public partial class Games ...
mit
DXCanas/content-curation
contentcuration/contentcuration/tests/test_asynctask.py
7976
from __future__ import absolute_import from builtins import range from builtins import str from .base import BaseAPITestCase from contentcuration.models import ContentNode from contentcuration.models import Task from contentcuration.tasks import create_async_task from contentcuration.tasks_test import non_async_test_...
mit
botman/botman
tests/Messages/AttachmentTest.php
593
<?php namespace BotMan\BotMan\tests\Messages; use BotMan\BotMan\Messages\Attachments\Image; use PHPUnit\Framework\TestCase; class AttachmentTest extends TestCase { /** @test */ public function it_can_set_and_get_extras() { //Create an Image $attachment = new Image('foo'); // Test...
mit
PaulMcMillan/kismetclient
runclient.py
702
#!/usr/bin/env python """ This is a trivial example of how to use kismetclient in an application. """ from kismetclient import Client as KismetClient from kismetclient import handlers from pprint import pprint import logging log = logging.getLogger('kismetclient') log.addHandler(logging.StreamHandler()) log.setLevel(...
mit
next-l/enju_biblio
app/helpers/owns_helper.rb
53
module OwnsHelper include ManifestationsHelper end
mit
juzefwt/cieplo-wlasciwie
src/Kraken/RankingBundle/Entity/NoticePrototype.php
1086
<?php namespace Kraken\RankingBundle\Entity; use Doctrine\ORM\Mapping as ORM; /** * @ORM\Entity * @ORM\Table(name="notice_prototypes") */ class NoticePrototype { /** * @ORM\Id * @ORM\Column(type="integer") * @ORM\GeneratedValue(strategy="AUTO") */ protected $id; /** * @ORM\On...
mit
zx648383079/ZoDream.UI
src/js/core/event.ts
515
abstract class Eve { public options: any; public on(event: string, callback: Function): this { this.options['on' + event] = callback; return this; } public hasEvent(event: string): boolean { return this.options.hasOwnProperty('on' + event); } public trigger(event: stri...
mit
drugdev/attribute_extras
test/nullify_attributes_test.rb
1811
require 'test_helper' class NullifyAttributesTest < ActiveSupport::TestCase def test_nullify_attributes person = Person.new person.set_blank_attributes assert person.nullify_attributes person_attributes.each do |attribute| assert_nil person.send(attribute) end end def test_nullify_att...
mit
memorycoin/memorycoin
src/qt/votecoinsdialog.cpp
11044
// Copyright (c) 2010 Satoshi Nakamoto // Copyright (c) 2009-2012 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. // Copyright (c) 2013-2014 Memorycoin Dev Team #include "votecoinsdialog.h" #include "u...
mit
erdanieee/imagePicker
node_modules/dmg-builder/out/dmgLicense.d.ts
260
/// <reference types="debug" /> import { PackageBuilder } from "builder-util/out/api"; import _debug from "debug"; export declare const debug: _debug.IDebugger; export declare function addLicenseToDmg(packager: PackageBuilder, dmgPath: string): Promise<void>;
mit
asimihsan/masspinger
src/icmp_header.hpp
3921
// --------------------------------------------------------------------------- // Copyright (c) 2011 Asim Ihsan (asim dot ihsan at gmail dot com) // Distributed under the MIT/X11 software license, see the accompanying // file license.txt or http://www.opensource.org/licenses/mit-license.php. // ------------------------...
mit
oozcitak/XCOM
XCOM/XCOM/ActionForms/PurgeAllForm.Designer.cs
24016
namespace XCOM.Commands.XCommand { partial class PurgeAllForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
mit
dhenson02/fan2c
src/js/Components/Player/PlayerInfo.js
322
'use strict'; import React from 'react'; class PlayerInfo extends React.Component { constructor ( props ) { super(props); this.state = {}; } render () { return ( <div> <h2>PLAYER INFO</h2> </div> ); } } export default PlayerInfo...
mit
callant/CharacterLCD
CharacterLCD/CharacterLCD.AllJoynServer/ViewModel/MainViewModel.cs
3687
using GalaSoft.MvvmLight; using GalaSoft.MvvmLight.Command; using System.Windows.Input; using Windows.Devices.AllJoyn; using Callant; using Windows.ApplicationModel.Core; using System; namespace CharacterLCD.AllJoynServer.ViewModel { /// <summary> /// This class contains properties that the main View can data ...
mit
stackdump/txbitwrap
txbitwrap/api/headers.py
1108
""" share headers accross resources """ import os _ALLOW = os.environ.get('ALLOW_ORIGIN', '*') class Mixin(object): """ set default api headers """ def options(self, *args, **kwargs): """ allow cors """ pass def set_default_headers(self): """ allow cors """ self.set_heade...
mit
CS2103JAN2017-W13-B2/main
src/test/java/guitests/UndoCommandTest.java
3024
//@@author A0143504R package guitests; import static org.junit.Assert.assertTrue; import org.junit.Test; import seedu.address.commons.core.Messages; import seedu.address.logic.commands.ClearCommand; import seedu.address.logic.commands.DeleteCommand; import seedu.address.logic.commands.EditCommand; import seedu.addre...
mit
psionin/smartcoin
src/qt/locale/bitcoin_af.ts
32125
<TS language="af" version="2.1"> <context> <name>AddressBookPage</name> <message> <source>Right-click to edit address or label</source> <translation>Regs-kliek om die adres of etiket te verander</translation> </message> <message> <source>Create a new address</source> <tra...
mit
martijnhoogendoorn/inkingbehavior
Dev.MartijnHoogendoorn.Inking.Behavior/Converters/SizeToDoubleConverter.cs
951
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Windows.Foundation; using Windows.UI.Xaml.Data; namespace Dev.MartijnHoogendoorn.Inking.Behavior.Converters { public class SizeToDoubleConverter : IValueConverter { public object C...
mit
stuartcoin/stuartcoin
src/test/getarg_tests.cpp
4762
#include <boost/algorithm/string.hpp> #include <boost/foreach.hpp> #include <boost/test/unit_test.hpp> #include "util.h" BOOST_AUTO_TEST_SUITE(getarg_tests) static void ResetArgs(const std::string& strArg) { std::vector<std::string> vecArg; boost::split(vecArg, strArg, boost::is_space(), boost::token_compres...
mit
meoguru/node-oauth2orize-facebook
lib/util.js
456
'use strict'; var request = require('request'); exports.getFacebookProfile = function (accessToken, cb) { request({ url: 'https://graph.facebook.com/me?access_token=' + accessToken, json: true }, function (err, res, body) { if (err) { return cb(err); } if (body && body.error) { ...
mit
foxostro/CheeseTesseract
external/windows/boost/include/boost/asio/detail/win_thread.hpp
2864
// // win_thread.hpp // ~~~~~~~~~~~~~~ // // Copyright (c) 2003-2008 Christopher M. Kohlhoff (chris at kohlhoff dot com) // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // #ifndef BOOST_ASIO_DETAIL_WIN...
mit
yogeshsaroya/new-cdnjs
ajax/libs/twitter-bootstrap/3.0.0-rc2/js/tooltip.min.js
129
version https://git-lfs.github.com/spec/v1 oid sha256:31d71321f51d8e72755aee1cda6dfef47eae0acc69b84b0387aa715fb6664162 size 6505
mit
iogav/Partner-Center-Java-SDK
PartnerSdk/src/main/java/com/microsoft/store/partnercenter/models/licenses/LicenseAssignment.java
1174
// ----------------------------------------------------------------------- // <copyright file="LicenseAssignment.java" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> // ----------------------------------------------------------------------- package com.microsoft...
mit
cuhtis/pocket-aces
player.py
586
from enum import Enum class Player(): def __init__(self, name, stack): self.name = name self.stack = stack self.cards = None self.state = self.State.FOLDED def __str__(self): pass def fold(self): pass def check(self): pass def call(self):...
mit
smarr/SOMns-vscode
server/org.eclipse.lsp4j-gen/org/eclipse/lsp4j/FileRename.java
3106
/** * Copyright (c) 2016-2018 TypeFox and others. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v. 2.0 which is available at * http://www.eclipse.org/legal/epl-2.0, * or the Eclipse Distribution License v. 1.0 which is available at * http://ww...
mit
crowi/crowi
client/components/Backlink.tsx
3139
import React from 'react' import UserPicture from './User/UserPicture' import Crowi from 'client/util/Crowi' import { Backlink as BacklinkType, User } from 'client/types/crowi' interface Props { crowi: Crowi pageId: string | null limit: number offset: number } interface State { currentOffset: number hasNe...
mit
yogeshsaroya/new-cdnjs
ajax/libs/yui/3.18.0/uploader-queue/index.js
127
version https://git-lfs.github.com/spec/v1 oid sha256:6b1917d1110f34f57204edd1d679fee994fa8c2e8f62497c0d3aa3985b4f5c9b size 91
mit
chester0516/htc-prototype-bak
wip/buy-improvement/Gruntfile.js
6096
/*global module:false*/ module.exports = function(grunt) { grunt.loadNpmTasks('grunt-contrib-watch'); grunt.loadNpmTasks('grunt-contrib-less'); grunt.loadNpmTasks('grunt-postcss'); grunt.loadNpmTasks('grunt-devtools'); grunt.loadNpmTasks('grunt-targethtml'); grunt.loadNpmTasks('grunt-contrib-ugl...
mit
gbrammer/pabeta
code/align.py
15558
#!/usr/bin/env python """ Align to Subaru and/or HST astrometric catalogs. GBB """ import os import shutil import numpy as np import pyfits import pywcs #import astropy.wcs as pywcs #import astropy.io.fits as pyfits import threedhst from threedhst import catIO import pyraf from pyraf import iraf def get_align...
mit
LeonardoBraga/ng2-helpers
test/module.spec.js
987
describe('Module', function() { 'use strict'; beforeEach(function() { angular.module('ng2', []); spyOn(angular, 'module').and.callThrough(); }); it('should set the module name through Module\'s `name` property', function() { Module({ name: 'ng2' }) .Component() .Class(function t...
mit
ccheng312/chordsheets
modules/songs/server/models/song.server.model.js
781
'use strict'; /** * Module dependencies */ var mongoose = require('mongoose'), Schema = mongoose.Schema; /** * Song Schema */ var SongSchema = new Schema({ created: { type: Date, default: Date.now }, title: { type: String, trim: true, unique: true, required: 'Title cannot be blank'...
mit
smolyakoff/conreign
src/Orleans.MongoStorageProvider/Driver/GrainReferenceSerializer.cs
4446
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using MongoDB.Bson; using MongoDB.Bson.IO; using MongoDB.Bson.Serialization; using MongoDB.Bson.Serialization.Serializers; using Orleans.Runtime; namespace Orleans.MongoStorageProvider.Driver { public class GrainReferenceS...
mit
jklemmack/DailyReports
DailyReports/app/DailyReport/Manpower/ManpowerController.js
825
'use strict'; angular.module('myApp.DailyReports.Manpower', []) .controller('ManpowerListController', ['$scope', '$http', '$location', function ($scope, $http, $location) { $scope.goToDailyReport = function(){ var view = "/Report/123/20130911"; $location.path(view); } ...
mit
10leej/BobHUD
modules/units/pet.lua
3502
--pet local _, cfg = ... --export config local addon, ns = ... --get addon namespace local f = CreateFrame("Button","BobPetHUD",UIParent,"SecureUnitButtonTemplate") local UnitPowerType = UnitPowerType f.unit = "pet" --change to unit you want to track --Make the Health Bar --background texture f.back = f:CreateTexture(...
mit
tamlok/vnote
src/core/sessionconfig.cpp
12596
#include "sessionconfig.h" #include <QDir> #include <QDebug> #include <QJsonArray> #include <QJsonDocument> #include <utils/fileutils.h> #include "configmgr.h" #include "mainconfig.h" #include "historymgr.h" using namespace vnotex; bool SessionConfig::NotebookItem::operator==(const NotebookItem &p_other) const { ...
mit
Arch-vile/bouncer
client/app/defer/defer.js
197
'use strict'; angular.module('bouncerApp') .config(function($stateProvider) { $stateProvider .state('defer', { url: '/defer/:token?amount&units', controller: 'DeferCtrl' }); });
mit
zero1n/artgallery
app/scripts/controllers/navbar.js
353
'use strict'; /** * @ngdoc function * @name artgalleryApp.controller:NavbarCtrl * @description * # NavbarCtrl * Controller of the artgalleryApp */ angular.module('artgalleryApp') .controller('NavbarCtrl',['$scope','$auth', function ($scope, $auth) { $scope.isAuthenticated = function() { return $auth....
mit
mokhan/scale
lib/scale/shapes/line.rb
310
module Scale class Line include Node attribute :x1, Integer # the x position of point 1 attribute :y1, Integer # the y position of point 1 attribute :x2, Integer # the x position of point 2 attribute :y2, Integer # the y position of point 2 def xml_tag :line end end end
mit
iwangx/createjs
src/easeljs/display/BitmapText.js
10310
/* * BitmapText * Visit http://createjs.com/ for documentation, updates and examples. * * Copyright (c) 2010 gskinner.com, inc. * * 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 * res...
mit
kaizer04/SoftUni
HTML&CSS/CSS-Overview-Homework/02-ColorKitchen/Properties/AssemblyInfo.cs
1386
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("_0...
mit
SENATICS/template-concrete5
packages/dsOpenData/single_pages/dashboard/open_data/datasets.php
10276
<?php defined('C5_EXECUTE') or die('Access denied.'); $form = Loader::helper('form'); ?> <style> div#ccm-dashboard-content>header{ background-color:#42ca90 !important; box-shadow: 0px 10px 10px #ECECEC; } div#ccm-dashboard-content>header h1{ color:#FFF !important; } div#...
mit
Azure/azure-sdk-for-ruby
management/azure_mgmt_data_factory/lib/2018-06-01/generated/azure_mgmt_data_factory/models/greenplum_table_dataset.rb
5418
# encoding: utf-8 # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is # regenerated. module Azure::DataFactory::Mgmt::V2018_06_01 module Models # # Greenplum Database dataset. # class GreenplumTableDataset < Dataset ...
mit
mg6maciej/parcelable-test-support
src/androidTest/java/pl/mg6/testsupport/data/Complex.java
1718
package pl.mg6.testsupport.data; import android.os.Parcel; import android.os.Parcelable; import java.util.ArrayList; import java.util.List; public final class Complex implements Parcelable { private final Simple simple; private final Hrisey hrisey; public final List<String> list; public Complex(Sim...
mit
abhacid/cAlgoBot
Sources/Indicators/Round Numbers/Round Numbers/Round Numbers.cs
861
using System; using cAlgo.API; namespace cAlgo.Indicators { [Indicator(IsOverlay = true, AccessRights = AccessRights.None)] public class RoundNumbers : Indicator { [Parameter(DefaultValue = 100)] public int StepPips { get; set; } protected override void Initialize() { ...
mit
CraveFood/farmblocks
packages/dropdown/src/components/Dropdown.js
2025
import React from "react"; import PropTypes from "prop-types"; import { Button as AriaButtonWrapper, Wrapper as AriaWrapper, Menu, } from "react-aria-menubutton"; import Button from "@crave/farmblocks-button"; import { SmChevronDown } from "@crave/farmblocks-icon"; import DropdownWrapper from "../styledComponent...
mit
Akkowicz/webdev-assignments
node_modules/@material/textfield/label/constants.js
805
/** * @license * Copyright 2016 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requi...
mit
FedericoGuidi/FoodLocker
test/controllers/users_controller_test.rb
2595
require 'test_helper' class UsersControllerTest < ActionDispatch::IntegrationTest def setup @user = users(:michael) @other_user = users(:archer) end test "should redirect index when not logged in" do get users_path assert_redirected_to login_url end ...
mit
TwineTree/XmlNotepad
src/XmlNotepad/XmlCache.cs
22176
using System; using System.Collections.Generic; using System.Xml; using System.Xml.Schema; using System.Xml.XPath; using System.Diagnostics; using System.IO; using System.Windows.Forms; using System.ComponentModel; using System.Text; using System.Net; using System.Net.Cache; namespace XmlNotepad { /// <summary>...
mit
sushihangover/Xamarin.Forms.Renderer.Tests
FormsLifeCycle/FormsLifeCycle/Properties/AssemblyInfo.cs
1037
using System.Reflection; using System.Runtime.CompilerServices; // Information about this assembly is defined by the following attributes. // Change them to the values specific to your project. [assembly: AssemblyTitle("FormsLifeCycle")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [ass...
mit
coltonj96/UsefulCombinators
UsefulCombinators_0.1.8/prototypes/technology/technology.lua
1893
data:extend({ { type = "technology", name = "useful-combinators", icon = "__UsefulCombinators__/graphics/technology/clock.png", icon_size = 64, effects = { { type = "unlock-recipe", recipe = "timer-combinator" }, { type = "unlock-recipe", ...
mit
oknoorap/wpcs
scripts/wordpress-coding-standards/WordPress/Tests/CodeAnalysis/AssignmentInConditionUnitTest.php
1587
<?php /** * Unit test class for WordPress Coding Standard. * * @package WPCS\WordPressCodingStandards * @link https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards * @license https://opensource.org/licenses/MIT MIT */ namespace WordPress\Tests\CodeAnalysis; use PHP_CodeSniffer\Tests\Standa...
mit
stefanw/froide
frontend/javascript/alpha/InfoBox.ts
2585
// interface IHTMLToolTipElement extends HTMLInputElement { Tooltip: any | null; } export default class InfoBox { element: HTMLElement editButton: HTMLElement | undefined copyUrlTrigger: HTMLElement | undefined editPanel: HTMLElement | undefined infoList: HTMLElement | undefined editPanelIsVisible: boolean...
mit
davepacheco/matty
lib/matty.js
6178
#!/usr/bin/env node // vim: ft=javascript var mod_assert = require('assert'); var mod_events = require('events'); var mod_fs = require('fs'); var mod_http = require('http'); var mod_path = require('path'); var mod_util = require('util'); var mod_extsprintf = require('extsprintf'); var mod_jsprim = require('jsprim'); ...
mit
chemila/symfony
app/cache/dev/assetic/config/2/2144651f778c429e6d150dfe52f086c8.php
152
<?php // /home/ethan/www/dev.symfony.com/vendor/symfony/src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/base.html.twig return array ( );
mit
OlegRy/Aukolnine
js/change_password.js
570
function change_password(login) { var current = $('#cur_password').val(); var new_password = $('#new_password').val(); var login = $('#my_login').val(); $.ajax({ type: "POST", url: "/personal/change_password", data: { 'current': current, 'new_password': new_password }, success: function(...
mit
jchip/gulp-clap
test/flags-require.js
3082
'use strict'; var expect = require('expect'); var runner = require('gulp-test-tools').gulpRunner; var skipLines = require('gulp-test-tools').skipLines; var headLines = require('gulp-test-tools').headLines; var eraseTime = require('gulp-test-tools').eraseTime; var eraseLapse = require('gulp-test-tools').eraseLapse; var...
mit
hiperz/ConvNetSharp
src/ConvNetSharp.Core/Layers/TanhLayer.cs
1135
using System; using System.Collections.Generic; using ConvNetSharp.Volume; namespace ConvNetSharp.Core.Layers { public class TanhLayer<T> : LayerBase<T> where T : struct, IEquatable<T>, IFormattable { public TanhLayer(Dictionary<string, object> data) : base(data) { } public Ta...
mit
mmnaseri/spring-data-mock
spring-data-mock/src/main/java/com/mmnaseri/utils/spring/data/domain/impl/matchers/IsNotLikeMatcher.java
613
package com.mmnaseri.utils.spring.data.domain.impl.matchers; /** * This matcher will return {@literal true} if the argument passed is not equal to the value on the * object, even when their case differences are ignored. * * @author Milad Naseri (m.m.naseri@gmail.com) * @since 1.0 (9/29/15) */ public class IsNotL...
mit
oviedomonica123/conest-encuesta-backend
db/migrate/20140817003903_create_bloques_instrumentos.rb
126
class CreateBloquesInstrumentos < ActiveRecord::Migration def change create_join_table :bloques, :instrumentos end end
mit
GoZOo/Drupaloscopy
hashs-database/hashs/core___assets___vendor___ckeditor___plugins___specialchar___dialogs___lang___cy.js
5216
8.0-alpha3:6d3df8721f24bd2cbf7ff76dfeac51c5dee24cd9db3ce42490b553866728a8a4 8.0-alpha4:6d3df8721f24bd2cbf7ff76dfeac51c5dee24cd9db3ce42490b553866728a8a4 8.0-alpha5:6d3df8721f24bd2cbf7ff76dfeac51c5dee24cd9db3ce42490b553866728a8a4 8.0-alpha6:6d3df8721f24bd2cbf7ff76dfeac51c5dee24cd9db3ce42490b553866728a8a4 8.0-alpha7:6d3df...
mit