repo_name stringlengths 4 116 | path stringlengths 3 942 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
v8-dox/v8-dox.github.io | b16d9c2/html/classv8_1_1_date-members.html | 41550 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" con... | mit |
brycelelbach/asl | documentation/html/classadobe_1_1auto__ptr.html | 31963 | <!--
Copyright 2005-2008 Adobe Systems Incorporated
Distributed under the MIT License (see accompanying file LICENSE_1_0_0.txt
or a copy at http://stlab.adobe.com/licenses.html)
Some files are held under additional license.
Please see "http://stlab.adobe.com/licenses.html" for more information.
-->... | mit |
Tapjoy/ldap_tools | spec/tapjoy/ldap/api/user_spec.rb | 1353 | require_relative '../user'
RSpec.describe 'Tapjoy::LDAP::API::User' do
include_context 'user'
describe '#create' do
let(:ldap_attr) {{
uid: "test.user",
cn: "Test User",
objectclass: %w(
top
posixAccount
shadowAccount
inetOrgPerson
organizationalPerson... | mit |
Dishant15/TechIntrest | frontend/react/components/BlockGrid.js | 4139 | import React from 'react';
import $ from 'jquery';
import _ from 'lodash';
import Block from './Block';
export default class BlockGrid extends React.Component {
constructor() {
super();
this.setDefaults();
this.setContainerWidth = this.setContainerWidth.bind(this);
this.handleWindowResize = this.handleWind... | mit |
mneute/qcm-eni | src/Eni/MainBundle/DataFixtures/ORM/LoadReponseProposeeData.php | 3106 | <?php
namespace Eni\MainBundle\DataFixtures\ORM;
use Doctrine\Common\DataFixtures\AbstractFixture;
use Doctrine\Common\DataFixtures\OrderedFixtureInterface;
use Doctrine\Common\Persistence\ObjectManager;
use Eni\MainBundle\Entity\Question;
use Eni\MainBundle\Entity\ReponseProposee;
class LoadReponseProposeeData exte... | mit |
wayneddgu/fit2drive-ux | app/views/epilepsy/medication/your-medication.html | 5267 | {% extends "layout.html" %}
{% block page_title %} Add medication {% endblock %}
{% block head %}
{% include "includes/head.html" %}
{% include "includes/scripts.html" %}
{% endblock %}
{% block after_header %}
{{ banner.input() }}
{% endblock %}
{% block content %}
<main id="content" role="main... | mit |
EXASOL/virtual-schemas | src/main/java/com/exasol/adapter/dialects/bigquery/BigQueryColumnMetadataReader.java | 1364 | package com.exasol.adapter.dialects.bigquery;
import java.sql.Connection;
import java.sql.Types;
import com.exasol.adapter.AdapterProperties;
import com.exasol.adapter.dialects.IdentifierConverter;
import com.exasol.adapter.jdbc.BaseColumnMetadataReader;
import com.exasol.adapter.jdbc.JdbcTypeDescription;
import com.... | mit |
smanwaring/relationship-visualizer | db/db.js | 566 | const chalk = require('chalk');
const Sequelize = require('sequelize');
// db server constant(s)
const dbName = 'relationshipVisualizer';
// +(process.env.NODE_ENV === 'testing' ? '_test' : '');
const url = process.env.DATABASE_URL || `postgres://localhost:5432/${dbName}`;
// notify the user we're about to do it
cons... | mit |
banadiga/sandbox | java9jlink/javac.sh | 237 | #!/usr/bin/env bash
mkdir -p target/sandboxjava9jlink;
/usr/lib/jvm/java-9-oracle/bin/javac \
--module-path ./../java9module/target/sandboxjava9module \
-d target/sandboxjava9jlink \
$(find ./src/main/java -name "*.java")
| mit |
abelectronicsuk/ABElectronics_Win10IOT_Libraries | ABElectronics_Win10IOT_Libraries/ADCDACPi.cs | 8804 | using System;
using Windows.Devices.Enumeration;
using Windows.Devices.Spi;
using Windows.Foundation.Metadata;
namespace ABElectronics_Win10IOT_Libraries
{
/// <summary>
/// Class for accessing the ADCDAC Pi from AB Electronics UK.
/// </summary>
public class ADCDACPi : IDisposable
{
p... | mit |
fsimplice/docker-pure-ftpd | Dockerfile | 446 | FROM stilliard/pure-ftpd
ENV FTP_USER=ftpuser \
FTP_PASSWORD=ftpuser \
FTP_HOME_DIRECTORY=/share/ftp \
PASV_PORT_MIN=30000 \
PASV_PORT_MAX=30009 \
CONTAINER_USER_UID=ftpuser \
MAX_CLIENTS_NUMBER=50 \
MAX_CLIENTS_PER_IP=10 \
DOWNLOAD_LIMIT_KB=0 \
UPLOAD_LIMIT_KB=0 \
MAX_SIMULTANE... | mit |
zhuharev/shot | assets/rasterize.js | 936 | var system = require('system');
var args = system.args;
var url = "http://"+args[1],
filename = args[2]+".png",
timeout = args[3],
savePath = args[4],
page = require('webpage').create();
//setTimeout(function(){phantom.exit();}, timeout)
page.viewportSize = { width: 1200, height: 700 };
page.clipRect = { top: 0, le... | mit |
mikehale/halefamilyfarm | vendor/radiant/app/controllers/site_controller.rb | 1781 | class SiteController < ApplicationController
skip_before_filter :verify_authenticity_token
no_login_required
cattr_writer :cache_timeout
def self.cache_timeout
@@cache_timeout ||= 5.minutes
end
def show_page
url = params[:url]
if Array === url
url = url.join('/')
else
url = u... | mit |
SachiraChin/Vulcan | Vulcan.Core.DataAccess/Migrations/MigrationProviders/ExecutionType.cs | 187 | namespace Vulcan.Core.DataAccess.Migrations.MigrationProviders
{
public enum ExecutionType
{
Insert,
InsertWithIdentity,
Update,
Delete
}
}
| mit |
brakmic/Mithril_Kendo | Properties/AssemblyInfo.cs | 1371 | 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("Mit... | mit |
jjsarmiento/itecm | application/views/shop/home.php | 2046 |
<!-- Jumbotron Header -->
<header class="jumbotron hero-spacer" style="padding: 2em; text-align: center;">
<img style="max-width:100%; max-height:100%;" src="<?=base_url()?>assets/img/slogan.png">
<!--
<h1>Read and let read!</h1>
<p>
Welcome to Discipulus, your humb... | mit |
iiey/vimconfig | README.md | 2393 | # vimconfig
stuff from my vimrc breaks into pieces for keeping organised things more organised
### Install
On Unix execute:
```sh
#backup current vimrc file if existed
mv ~/.vimrc{,_backup}
#clone project into special folder
git clone https://github.com/iiey/vimconfig ~/.vim/bundle/vimconfig \
&& ln -sfn ~/.vim/bundle... | mit |
alykoshin/generator-mini-package | app/templates/test/index.js | 666 | /* globals describe, before, beforeEach, after, afterEach, it */
'use strict';
const chai = require('chai');
const assert = chai.assert;
const expect = chai.expect;
chai.should();
chai.use(require('chai-things')); //http://chaijs.com/plugins/chai-things
chai.use(require('chai-arrays'));
describe('<%= pkgName %>', f... | mit |
jstedfast/MimeKit | UnitTests/Cryptography/PgpMimeTests.cs | 103153 | //
// PgpMimeTests.cs
//
// Author: Jeffrey Stedfast <jestedfa@microsoft.com>
//
// Copyright (c) 2013-2022 .NET Foundation and Contributors
//
// 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 Soft... | mit |
number7team/number7 | src/qt/locale/bitcoin_el_GR.ts | 138071 | <?xml version="1.0" ?><!DOCTYPE TS><TS language="el_GR" version="2.0">
<defaultcodec>UTF-8</defaultcodec>
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About Number7</source>
<translation>Σχετικά με το Number7</translation>... | mit |
jujubeee314/freeCodeCamp_Portfolio | css/style.css | 1001 | .home-layout {
padding-top: 50px;
padding-bottom: 50px;
text-align: center;
background: url('https://scontent-ord1-1.xx.fbcdn.net/hphotos-xta1/t31.0-8/10991609_10104851058880999_4908278955780656545_o.jpg') no-repeat center center fixed;
background-size: cover;
height: 855px;
}
.home-row {
position: relat... | mit |
naddison36/oanda-adapter | OandaAdapter.js | 19053 | var _ = require("underscore"),
Events = require("./Events"),
querystring = require("querystring"),
httpClient = require("./httpClient"),
utils = require("./utils"),
logger = require("config-logger");
var environments = {
sandbox: {
restHost: "api-sandbox.oanda.com",
streamHost: ... | mit |
xianrendzw/CodeBuilder.Ruby | CodeBuilder.Framework/Exporter/SQLServer/SqlServer2000Exporter.rb | 1015 | require "mscorlib"
require "System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
require "System.Collections.Generic, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
require "System.Linq, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
require "System.Text, V... | mit |
github/codeql | javascript/extractor/src/com/semmle/jcorn/SyntaxError.java | 392 | package com.semmle.jcorn;
import com.semmle.js.ast.Position;
public class SyntaxError extends RuntimeException {
private static final long serialVersionUID = -4883173648492364902L;
private final Position position;
public SyntaxError(String msg, Position loc, int raisedAt) {
super(msg);
this.position =... | mit |
hazemalsaied/IdenSys | Results/Gold/CV/FirstVersion/SV/4/Parsing.md | 21342 | ## Sentence No. 124 -
annat var det 1976 när after dark tog sina första steg som dragshowgrupp , och 1980 när de **flyttade** **in** på hamburger börs .
### Existing MWEs:
1- **flyttade in** (VPC)Tokens :
flyttade
in
### Identified MWEs:
1- **tog sina** Tokens :
tog
sina
0- SHIFT > &n... | mit |
Corpspin/spincommerce-style-guide | _site/scaffolding/index.html | 5003 | <!DOCTYPE html>
<html lang="es">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Spincommerce Guía de Estilos">
<meta name="keywords" content="">
<meta na... | mit |
jomjose/js-algorithms | queues/queues (15).js | 309 | var nums = [];
for (var i = 0; i < 100; ++i) {
nums[i] = Math.floor(Math.random() * 101);
}
insertionsort(nums);
dispArr(nums);
print();
putstr("Enter a value to count: ");
var val = parseInt(readline());
var retVal = count(nums, val);
print("Found " + retVal + " occurrences of " + val + ".");
| mit |
merinhunter/SecureApp | assembler/package-info.java | 131 | /**
* This package provides the necessary classes to slice and compose a file.
*
* @author Sergio Merino
*/
package assembler; | mit |
JohanLi/johanli.com | test/imageContainer.test.js | 1395 | import imageContainer from '../server/api/helpers/imageContainer';
const entries = [
{
html: '<img src="/img/60x30.png" alt="60x30" class="zoom" data-zoom-src="/img/60x30-original.png">',
},
{
html: `<div>
<img src="/img/20x50.jpg">
</div>
<img src="/img/40x10.svg" alt="40x10">`,
},
{
html: '<d... | mit |
mcanders/bevy | doc/num/traits/trait.Unsigned.html | 5593 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="rustdoc">
<meta name="description" content="API documentation for the Rust `Unsigned` trait in crate `num`.">
<meta name="keywords" co... | mit |
adamatan/polycircles | polycircles/test/test_different_outputs.py | 1881 | import unittest
from polycircles import polycircles
from nose.tools import assert_equal, assert_almost_equal
class TestDifferentOutputs(unittest.TestCase):
"""Tests the various output methods: KML style, WKT, lat-lon and lon-lat."""
def setUp(self):
self.latitude = 32.074322
self.longitude = ... | mit |
mlaville/cirrus | css/general.css | 2784 | @CHARSET "UTF-8";
/******* GENERAL RESET *******/
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em,
font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label,... | mit |
DaedalusGame/BetterWithAddons | src/main/java/betterwithaddons/crafting/recipes/PackingRecipe.java | 1468 | package betterwithaddons.crafting.recipes;
import betterwithaddons.crafting.ICraftingResult;
import betterwithaddons.util.ItemUtil;
import net.minecraft.block.state.IBlockState;
import net.minecraft.item.ItemStack;
import net.minecraft.item.crafting.Ingredient;
import java.util.ArrayList;
import java.util.Iterator;
i... | mit |
raum42/frontend42 | config/cli/migration.config.php | 174 | <?php
namespace Frontend42;
return [
'migration' => [
'directory' => [
__NAMESPACE__ => __DIR__ . '/../../data/migrations'
],
],
];
| mit |
redxdev/imquery | include/imq/scriptfunction.h | 1435 | #pragma once
#include "platform.h"
#include "value.h"
#include "vm.h"
#include "result.h"
#include <memory>
#include <vector>
namespace imq
{
class IMQ_API ScriptFunction : public QFunction
{
public:
ScriptFunction(const String& funcName, Context* outerCtx, const std::shared_ptr<VBlock> block, const std::vector... | mit |
yuanrongxi/sharing | sharing/buffer/cf_real_video.c | 10971 | #include "cf_internal.h"
#define CACHE_SIZE 1024
#define INDEX(i) ((i) % CACHE_SIZE)
static frame_cache_t* open_real_video_cache(cf_session_t* s)
{
frame_cache_t* cache = calloc(1, sizeof(frame_cache_t));
cache->wait_timer = s->proc->rtt + 2 * s->proc->rtt_val;
cache->state = buffer_waiting;
cache->frame_timer ... | mit |
Kaishiyoku/Crystal-RSS | resources/views/category/_form.blade.php | 542 | {{ Form::label('title', __('validation.attributes.title'), ['class' => 'label']) }}
<div class="mb-4">
{{ Form::text('title', old('title', $category->title), ['class' => 'input' . ($errors->has('title') ? ' has-error' : ''), 'required' => true]) }}
@if ($errors->has('title'))
<div class="invalid-feedb... | mit |
kyleaclark/game-of-life | karma.conf.js | 1319 | // Karma configuration
// http://karma-runner.github.io/0.10/config/configuration-file.html
module.exports = function(config) {
config.set({
// base path, that will be used to resolve files and exclude
basePath: '',
// testing framework to use (jasmine/mocha/qunit/...)
frameworks: ['mocha', 'chai', ... | mit |
kenshinthebattosai/LinqAn.Google | src/LinqAn.Google/Dimensions/DcmClickCreativeType.cs | 575 | using System.ComponentModel;
namespace LinqAn.Google.Dimensions
{
/// <summary>
/// DCM creative type name of the DCM click matching the Google Analytics session (premium only).
/// </summary>
[Description("DCM creative type name of the DCM click matching the Google Analytics session (premium only).")]
public cl... | mit |
remeh/mehstation-config | src/import.cpp | 2334 | #include <QDebug>
#include <QFileDialog>
#include <QListWidgetItem>
#include <QMessageBox>
#include <QProcess>
#include <QWidget>
#include "app.h"
#include "import.h"
#include "ui_import.h"
Import::Import(App* app) :
app(app),
platform(-1) {
this->ui.setupUi(this);
connect(this->ui.toolFilepath, SIGNAL(clicked(... | mit |
everitosan/CursoUnamDemencia | app/components/htmls/recomendacionesysugerencias/recomendaciones.component.ts | 273 | import {Component} from '@angular/core';
@Component({
selector: "recomendaciones",
templateUrl: "app/components/htmls/recomendacionesysugerencias/recomendaciones.html",
styleUrls: ["app/components/htmls/htmlStyles.css"]
})
export class RecomendacionesComponent {};
| mit |
rusanov-vladimir/Live-Charts | .github/CONTRIBUTING.md | 2192 | Please take a read at this article so we can help you better, we are always happy to support you at our [chat](https://gitter.im/beto-rodriguez/Live-Charts), normally we respond you really fast.
### Features
We are open to add new features to this library, but before suggesting one, ensure it is not implemented yet, ... | mit |
anba/es6draft | src/main/java/com/github/anba/es6draft/runtime/types/builtins/BuiltinConstructor.java | 1758 | /**
* Copyright (c) André Bargull
* Alle Rechte vorbehalten / All Rights Reserved. Use is subject to license terms.
*
* <https://github.com/anba/es6draft>
*/
package com.github.anba.es6draft.runtime.types.builtins;
import java.lang.invoke.MethodHandle;
import java.lang.reflect.Method;
import com.github.anba.es6... | mit |
amirlionor/admin | vendor/sonata-project/admin-bundle/DependencyInjection/Configuration.php | 25648 | <?php
/*
* This file is part of the Sonata Project package.
*
* (c) Thomas Rabaix <thomas.rabaix@sonata-project.org>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Sonata\AdminBundle\DependencyInjection;
use Symfony\C... | mit |
AAChartModel/AAChartKit | AAChartKitLib/AAOptionsModel/AAAreaspline.h | 1490 | //
// AAAreaspline.h
// AAChartKit
//
// Created by An An on 17/3/15.
// Copyright © 2017年 An An. All rights reserved.
//*************** ...... SOURCE CODE ...... ***************
//***...................................................***
//*** https://github.com/AAChartModel/AAChartKit ***
//*** https://git... | mit |
svaarala/duktape | tests/perf/test-var-read-outerscope-closed.js | 1264 | /*
* Reading a variable.
*/
if (typeof print !== 'function') { print = console.log; }
function test() {
function outer() {
var o = 123;
return function inner() {
var i;
var t;
for (i = 0; i < 1e6; i++) {
t = o; t = o; t = o; t = o; t = o; t ... | mit |
pvalena/rails | activemodel/test/cases/secure_password_test.rb | 8096 | # frozen_string_literal: true
require "cases/helper"
require "models/user"
require "models/visitor"
class SecurePasswordTest < ActiveModel::TestCase
setup do
# Used only to speed up tests
@original_min_cost = ActiveModel::SecurePassword.min_cost
ActiveModel::SecurePassword.min_cost = true
@user = U... | mit |
homeslike/OpticalTweezer | test/cell_list.cpp | 1878 | #include <iostream>
#include <cstdio>
#include <cmath>
#include <cstdlib>
#include <fstream>
#include <iomanip>
#include <string>
#include <cstring>
#include "../include/globals.hpp"
#include "../include/classes.hpp"
#include "../include/functions.hpp"
struct cell{
double xStart;
double yStart;
double zSt... | mit |
ovelasquez/sigcot | src/Sigcotweb/AplicativoBundle/DependencyInjection/Configuration.php | 885 | <?php
namespace Sigcotweb\AplicativoBundle\DependencyInjection;
use Symfony\Component\Config\Definition\Builder\TreeBuilder;
use Symfony\Component\Config\Definition\ConfigurationInterface;
/**
* This is the class that validates and merges configuration from your app/config files
*
* To learn more see {@link http:... | mit |
CvetelinLozanov/SoftUni-C- | C# OOP Advanced/Reflection_And_Attributes-Exercise/P03_BarraksWars/P03_BarraksWars/Core/Commands/RetireCommand.cs | 700 | using System;
using System.Collections.Generic;
using System.Text;
using _03BarracksFactory.Contracts;
namespace P03_BarraksWars.Core.Commands
{
class RetireCommand : Command
{
public RetireCommand(string[] data, IRepository repository, IUnitFactory unitFactory)
: base(data, repository, un... | mit |
bevacqua/jscharting | bundle/JSC/cultures/globalize.culture.id.js | 1780 | /*
* Globalize Culture id
*
* http://github.com/jquery/globalize
*
* Copyright Software Freedom Conservancy, Inc.
* Dual licensed under the MIT or GPL Version 2 licenses.
* http://jquery.org/license
*
* This file was generated by the Globalize Culture Generator
* Translation: bugs found in this file... | mit |
cc-afitz/awesome-services | recommendation/src/main/java/de/codecentric/awesome/recommendation/core/RecommendationLookup.java | 979 | package de.codecentric.awesome.recommendation.core;
import java.util.HashMap;
import java.util.Map;
/**
* Created by afitz on 15.03.16.
*/
public class RecommendationLookup {
private static RecommendationLookup ourInstance = new RecommendationLookup();
private String standardProductRecommendation = "P999";... | mit |
wework/we-js-logger | src/util/client/rollbarLogger.js | 1896 | import omit from 'lodash/omit';
import get from 'lodash/get';
import isFunction from 'lodash/isFunction';
import { bunyanLevelToRollbarLevelName } from '../common/rollbar';
// Rollbar script exposes this global immediately, whether or not its already initialized
export const isGlobalRollbarConfigured = () => !!get(gl... | mit |
abonaca/gary | gary/util.py | 3607 | # coding: utf-8
""" General utilities. """
from __future__ import division, print_function
__author__ = "adrn <adrn@astro.columbia.edu>"
# Standard library
import collections
import sys
import logging
import multiprocessing
# Third-party
import numpy as np
__all__ = ['get_pool']
# Create logger
logger = logging.... | mit |
hackathon-uva/team-2 | app/views/index.server.view.html | 97 | {% extends 'layout.server.view.html' %}
{% block content %}
<div ui-view></div>
{% endblock %}
| mit |
aloisdeniel/Xamarin.Plugins | PdfRasterizer/README.md | 3511 | ##  PdfRasterizer Plugin for Xamarin and Windows
Simple cross platform plugin that renders PDF files to images for easier integration.
### Setup
* Available on NuGet: http://www.nuget.org/packages/Xam.Plugin.PdfRasterizer [ {
pthread_mutex_lock(&B);
pthread_mutex_lock(&C);
g = 42;
pt... | mit |
djvoa12/frontend | tests/integration/components/school-session-types-list-test.js | 8230 | import EmberObject from '@ember/object';
import { htmlSafe } from '@ember/string';
import RSVP from 'rsvp';
import { module, test } from 'qunit';
import { setupRenderingTest } from 'ember-qunit';
import {
render,
settled,
find,
click
} from '@ember/test-helpers';
import hbs from 'htmlbars-inline-precompile';
c... | mit |
michael-reichenauer/Dependinator | Dependinator/Common/Installation/Private/LatestVersionService.cs | 11771 | using System;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Threading;
using Dependinator.Common.ModelMetadataFolders;
using Dependinator.Common.ModelMetadataFolders.Private;
using Dep... | mit |
ishwant/Auth-Server | app/models/authUser.js | 791 | var mongoose = require('mongoose');
var bcrypt = require('bcrypt-nodejs');
// define the schema for our user model
var authUserSchema = mongoose.Schema({
unique_ID : String,
username : String,
password : String,
role : String,
first_name : String,
last_nam... | mit |
davidpestana/erp.fm | src/fm/KitBundle/KitBundle.php | 116 | <?php
namespace fm\KitBundle;
use Symfony\Component\HttpKernel\Bundle\Bundle;
class KitBundle extends Bundle
{
}
| mit |
alphagov/notifications-admin | app/extensions.py | 340 | from notifications_utils.clients.antivirus.antivirus_client import (
AntivirusClient,
)
from notifications_utils.clients.redis.redis_client import RedisClient
from notifications_utils.clients.zendesk.zendesk_client import ZendeskClient
antivirus_client = AntivirusClient()
zendesk_client = ZendeskClient()
redis_cli... | mit |
iongroup/plotly.js | src/traces/contourcarpet/convert_to_constraints.js | 2890 | /**
* Copyright 2012-2018, Plotly, Inc.
* All rights reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
'use strict';
var Lib = require('../../lib');
// The contour extraction is great, except it totally fails for constraints bec... | mit |
stenin-nikita/module-promise | test/utils/helpers.js | 518 | module.exports = {
defersToPromises : function(defers) {
if(Array.isArray(defers)) {
return defers.map(function(defer) {
return defer && defer.promise ?
defer.promise :
defer;
});
}
var res = {};
Object.... | mit |
Kennyomg/gamersonline-uni | api/models/product.js | 508 | export default (sequelize, DataTypes) => {
const Product = sequelize.define('Product', {
name: DataTypes.STRING,
description: DataTypes.TEXT,
price: DataTypes.FLOAT,
releasedate: DataTypes.DATE
}, {
classMethods: {
associate: models => {
Product.belongsToMany(models.Cart, {through:... | mit |
setaagopqn/sait | Dvustaen.html | 12872 | <!DOCTYPE html>
<html lang="en">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">
<title>lora imoti</title>
<!-- Bootstra... | mit |
andsens/Glucose | Glucose/Exceptions/User/PrimaryKeyCollisionException.class.php | 141 | <?php
namespace Glucose\Exceptions\User;
class PrimaryKeyCollisionException extends \Glucose\Exceptions\Entity\DuplicateEntityException {
} | mit |
DaanVanYperen/arktrail | README.md | 645 | Arktrail
========
You are the captain of a futuristic interstellar ark that quite honestly, left space-dock months too early.
Will you patch up your ship and survive the long journey between worlds to finish the space gate you are tasked to build, or will your ship succumb to the perils of interstellar space?
#####
... | mit |
cshirley/tenant_engine | lib/tenant.rb | 43 | require "tenant/engine"
module Tenant
end
| mit |
ColdForge/icebox | src/reducers/sortOrderReducer.js | 212 | import { SET_SORT_ORDER } from '../constants/actions';
export default function (state = 'ASCENDING', action) {
switch (action.type) {
case SET_SORT_ORDER:
return action.order;
default:
return state;
}
}
| mit |
Camyul/Angular2Project | src/app/home/home.component.html | 774 | <app-header></app-header>
<app-slider></app-slider>
<<div class="container text-center">
<h1 id="title">Delicious Recipes</h1>
<p>Angular</p>
<h4>The Tranquil Gazelles</h4>
<img [src]="gazelles" class="img-circle" alt="Us">
<p>We have created a fictional food SPA.</p>
</div>
<div class="latest-re... | mit |
AlexisDeschamps/portfolio-rebalancer | server/db/mongo/models/modelPortfolio.js | 430 | import mongoose from 'mongoose';
const ModelPortfolioSchema = new mongoose.Schema({
id: String,
name: String,
displayName: String,
email: String,
securities: [{
symbol: String,
allocation: {type: Number, min: 0, max: 100},
}]
});
ModelPortfolioSchema.add({
subGroups: [ModelPortfolioSchema],
modelPo... | mit |
gabriel-lopez-lopez/dynamic-react-route | dynamic-react-router demo/src/Components/Home/index.js | 1789 | import React, { Component } from 'react';
class Home extends Component {
render () {
return (
<div>
<h1>Home</h1>
<p>Bienvenidos!!!</p>
<pre>{`
{
path: '/',
pathExact: true,
... | mit |
davidar/peruse | test/md/salon-1.md | 14851 | ---
author: Joanna Rothkopf
lang: en
title: 'The sharing economy is a lie: Uber, Ayn Rand and the truth about tech and libertarians'
---
Horror stories about the increasingly unpopular taxi service Uber have been commonplace in recent months, but there is still much to be learned from its handling of the recent hostag... | mit |
CodeForGiessen/refugeeApp | app/main/templates/guideline-detail.html | 349 | <ion-view view-title="{{ctrl.guideTitle}}">
<ion-content>
<div class="list">
<div class="card-panel grey lighten-4" ng-repeat="guide in ctrl.guides">
<div ng-repeat="guideline in guide.guidelines">
<div class="item-text-wrap">{{guideline.text}}</div>
</div>
</div>
</div>
... | mit |
obogo/hummingbird | src/utils/browser/findScriptUrls.js | 538 | define('findScriptUrls', [], function () {
return function(pattern) {
var type = typeof pattern, i, tags = document.querySelectorAll("script"), matches = [], src;
for (i = 0; i < tags.length; i++) {
src = tags[i].src || "";
if (type === "string") {
if (src.ind... | mit |
WlasnaGra/Osadnicy | strony/gracz/sprzatanie.php | 2375 | <h2>Sprzątanie pobojowisk</h2>
<?php
f('jednostki_miasto');
$jednostki = jednostki_miasto($gracz);
if(!empty($_POST['cel']) && !empty($_POST['u'])){
f('sprzatanie_wyslij');
echo sprzatanie_wyslij($jednostki,$_POST['cel'],$_POST['u'],$gracz);
$gracz = gracz($gracz['gracz']);
f('jednostki_miasto');
$jedno... | mit |
TMAC-Coding/Ported-Blocks | src/net/tmachq/Ported_Blocks/tileentities/renderers/TileEntitySailRenderer.java | 2561 | package net.tmachq.Ported_Blocks.tileentities.renderers;
import java.io.DataInputStream;
import net.minecraft.block.Block;
import net.minecraft.client.Minecraft;
import net.minecraft.client.renderer.OpenGlHelper;
import net.minecraft.client.renderer.Tessellator;
import net.minecraft.client.renderer.tileentity.TileEnt... | mit |
goodwinxp/Yorozuya | library/ATF/MENUPARTS.hpp | 415 | // This file auto generated by plugin for ida pro. Generated code only for x64. Please, dont change manually
#pragma once
#include <common/common.h>
START_ATF_NAMESPACE
enum MENUPARTS
{
MENUPartFiller0 = 0x0,
MP_MENUITEM = 0x1,
MP_MENUDROPDOWN = 0x2,
MP_MENUBARITEM = 0x3,
MP_MEN... | mit |
jjp12383/Portfolio | test/karma.conf.js | 1620 | // Karma configuration
// http://karma-runner.github.io/0.12/config/configuration-file.html
// Generated on 2015-05-11 using
// generator-karma 0.8.3
module.exports = function(config) {
'use strict';
config.set({
// enable / disable watching file and executing tests whenever any file changes
autoWatch: tr... | mit |
sabertazimi/hust-lab | network/webserver/docs/search/searchdata.js | 313 | var indexSectionsWithContent =
{
0: "dfrsw~",
1: "drs",
2: "dfrs~",
3: "rs",
4: "w"
};
var indexSectionNames =
{
0: "all",
1: "classes",
2: "functions",
3: "variables",
4: "pages"
};
var indexSectionLabels =
{
0: "All",
1: "Classes",
2: "Functions",
3: "Variables",
4: "Pages"
};
| mit |
YouDuk/Youduk.github.io | _posts/2017-12-12-1212 TIL.md | 702 | ---
layout: post
title: 1212 TIL
excerpt: ""
tags: [TIL]
categories: [TIL]
link:
comments: true
pinned: true
image:
feature:
---
## Today Check List
- [ ] S3로 이미지 업로딩 테스트
- [ ] 지도 위치 DB에 넣기
- [ ] 그룹스터디 express 환경세팅
## Tomorrow Check List
## Today I learned
### Spring
뷰 데이터를 Controller로 전달하는 여러가지 방법.
* https:... | mit |
njazari/sef-founderwall | db/migrate/20161030044448_devise_create_users.rb | 1378 | class DeviseCreateUsers < ActiveRecord::Migration
def change
create_table :users do |t|
## Database authenticatable
t.boolean :admin
t.string :email, null: false, default: ""
t.string :encrypted_password, null: false, default: ""
## Recoverable
t.string :reset_p... | mit |
guidance-guarantee-programme/tesco_planner | app/serializers/room_serializer.rb | 98 | class RoomSerializer < ActiveModel::Serializer
attribute :id
attribute :name, key: :title
end
| mit |
tavhu/msc | application/controllers/Authentication.php | 6198 | <?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Authentication extends CI_Controller {
function index(){
$value = $this->input->cookie('remember_me');
if ($value == 'true') {
$arr = array(
'user' => $this->input->cookie('user'),
'real_name' => $this->input->cookie(... | mit |
nico01f/z-pec | ZimbraWebClient/src/com/zimbra/webClient/build/PackageJammerTask.java | 14020 | /*
* ***** BEGIN LICENSE BLOCK *****
* Zimbra Collaboration Suite Web Client
* Copyright (C) 2006, 2007, 2009, 2010 Zimbra, Inc.
*
* The contents of this file are subject to the Zimbra Public License
* Version 1.3 ("License"); you may not use this file except in
* compliance with the License. You may obtain a ... | mit |
heinzelmannchen/mysql2json | lib/relations.js | 1911 | var pub = {},
Q,
Knex;
module.exports = function ($inject) {
$inject = $inject || {};
Q = $inject.Q;
Knex = $inject.Knex;
return pub;
};
pub.get = function(tableName) {
var q = Q.defer();
pub.getMetadata(tableName)
.then(function(relations) {
q.resolve(relations[... | mit |
feilang864/task.zyfei.net | UI/PC/Controllers/RegisterController.cs | 1657 | using System.Web.Mvc;
using FFLTask.SRV.ServiceInterface;
using FFLTask.UI.PC.Filter;
using FFLTask.SRV.ViewModel.Account;
using FFLTask.SRV.ViewModel.Shared;
namespace FFLTask.UI.PC.Controllers
{
public class RegisterController : BaseController
{
private IRegisterService _registerService;
pub... | mit |
3dlink/age | database/migrations/2014_10_12_000000_create_users_table.php | 774 | <?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateUsersTable extends Migration {
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('users', function(Blueprint $table)
{
$table->increments('id');
$table->str... | mit |
altmetric/fieldhand | lib/fieldhand/list_metadata_formats_parser.rb | 699 | # frozen_string_literal: true
require 'fieldhand/metadata_format'
module Fieldhand
# A parser for ListMetadataFormats responses.
#
# See https://www.openarchives.org/OAI/openarchivesprotocol.html#ListMetadataFormats
class ListMetadataFormatsParser
attr_reader :response_parser
# Return a parser for th... | mit |
BirkhoffLee/Botos | cmd/extra/main.header.php | 633 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Botos</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style type="text/css">
body{
color: #28fe14;
background-color: black;
font-family: "Courier New";... | mit |
mafiya69/corefx | src/Common/src/System/Resources/NeutralResourcesLanguageAttribute.cs | 984 | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
namespace System.Resources
{
// Intentionally excluding visibility so it defaults to internal except for
// ... | mit |
too4words/Call-Graph-Builder-DotNet | CodeGraphModel/Symbol.cs | 1852 | //---------------------------------------------------------------------------------------------------------------------
// <copyright company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//---------------------------------------------------------------------------------... | mit |
imaximix/om-tutorials | resources/public/js/compiled/out/figwheel/client/file_reloading.js | 99819 | // Compiled by ClojureScript 1.7.170 {}
goog.provide('figwheel.client.file_reloading');
goog.require('cljs.core');
goog.require('goog.string');
goog.require('goog.Uri');
goog.require('goog.net.jsloader');
goog.require('cljs.core.async');
goog.require('goog.object');
goog.require('clojure.set');
goog.require('clojure.st... | mit |
vanzylv/youtube-dl-gui-v2 | scripts/services/downloadState.js | 361 | export default class State {
constructor($rootScope) {
this.$rootScope = $rootScope;
this.state = [];
}
setData(data) {
console.log('state set data', data)
this.state = data;
this.$rootScope.$apply();
}
getData() {
//console.log('state get data', s... | mit |
geobabbler/tile-grab | scrape2.sh | 1769 | python tile_grab2.py -b "35.247;32.130;42.786;37.676" -z 9 -i false -d "syria_satellite" -u "https://api.mapbox.com/styles/v1/mapbox/satellite-streets-v9/tiles/{z}/{x}/{y}?access_token=pk.eyJ1Ijoic3BhdGlhbG5ldHdvcmtzIiwiYSI6ImNpcW83Mm1kYjAxZ3hmbm5ub2llYnNuMmkifQ.an57h9ykokxNlGArcWQztw" -f jpg
python tile_grab2.py -b "3... | mit |
phillies2k/bootstrap-bundle | Form/Extension/FormTypeExtension.php | 558 | <?php
/**
* This file is part of the BootstrapBundle project.
*
* (c) 2013 Philipp Boes <mostgreedy@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace P2\Bundle\BootstrapBundle\Form\Extension;
/**
* Class FormT... | mit |
HOLEIN/HOLEIN.github.io | _posts/2015-10-14-Allure-Quinceanera-Dresses-Style-Q400-2015-Sleeveless-FloorLength-Ballgown.md | 1527 | ---
layout: post
date: 2015-10-14
title: "Allure Quinceanera Dresses - Style Q400 2015 Sleeveless Floor-Length Ballgown"
category: Allure
tags: [Allure,Ballgown,Sweetheart,Floor-Length,Sleeveless,2015]
---
### Allure Quinceanera Dresses - Style Q400
Just **$266.99**
### 2015 Sleeveless Floor-Length Ballgown
<table><t... | mit |
Pintulalmeena/Projects | Virtual Memory Implementation/Theme_B_9/GeekOS (os)/build/PaxHeader/Makefile | 68 | 14 uid=311598
27 mtime=1430738623.672251
27 atime=1430738623.671251
| mit |
marinvvasilev/appc.googlesearch | lib/client.js | 4155 | var request = require('request');
var Client = (function () {
function Client() {
this.options = {
"url": "",
"method": "GET",
"bodyParams": {},
"gzip": true,
"json": true
};
}
Client.prototype.connect = function (parent) {
... | mit |