code
stringlengths
3
1.05M
repo_name
stringlengths
4
116
path
stringlengths
3
942
language
stringclasses
30 values
license
stringclasses
15 values
size
int32
3
1.05M
<!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...
v8-dox/v8-dox.github.io
b16d9c2/html/classv8_1_1_date-members.html
HTML
mit
41,550
<!-- 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. -->...
brycelelbach/asl
documentation/html/classadobe_1_1auto__ptr.html
HTML
mit
31,963
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...
Tapjoy/ldap_tools
spec/tapjoy/ldap/api/user_spec.rb
Ruby
mit
1,353
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...
Dishant15/TechIntrest
frontend/react/components/BlockGrid.js
JavaScript
mit
4,139
<?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...
mneute/qcm-eni
src/Eni/MainBundle/DataFixtures/ORM/LoadReponseProposeeData.php
PHP
mit
3,106
{% 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...
wayneddgu/fit2drive-ux
app/views/epilepsy/medication/your-medication.html
HTML
mit
5,267
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....
EXASOL/virtual-schemas
src/main/java/com/exasol/adapter/dialects/bigquery/BigQueryColumnMetadataReader.java
Java
mit
1,364
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...
smanwaring/relationship-visualizer
db/db.js
JavaScript
mit
566
#!/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")
banadiga/sandbox
java9jlink/javac.sh
Shell
mit
237
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...
abelectronicsuk/ABElectronics_Win10IOT_Libraries
ABElectronics_Win10IOT_Libraries/ADCDACPi.cs
C#
mit
8,804
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...
fsimplice/docker-pure-ftpd
Dockerfile
Dockerfile
mit
446
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...
zhuharev/shot
assets/rasterize.js
JavaScript
mit
936
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...
mikehale/halefamilyfarm
vendor/radiant/app/controllers/site_controller.rb
Ruby
mit
1,781
namespace Vulcan.Core.DataAccess.Migrations.MigrationProviders { public enum ExecutionType { Insert, InsertWithIdentity, Update, Delete } }
SachiraChin/Vulcan
Vulcan.Core.DataAccess/Migrations/MigrationProviders/ExecutionType.cs
C#
mit
187
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...
brakmic/Mithril_Kendo
Properties/AssemblyInfo.cs
C#
mit
1,371
<!-- 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...
jjsarmiento/itecm
application/views/shop/home.php
PHP
mit
2,046
# 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...
iiey/vimconfig
README.md
Markdown
mit
2,393
/* 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...
alykoshin/generator-mini-package
app/templates/test/index.js
JavaScript
mit
666
// // 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...
jstedfast/MimeKit
UnitTests/Cryptography/PgpMimeTests.cs
C#
mit
103,153
<?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>...
number7team/number7
src/qt/locale/bitcoin_el_GR.ts
TypeScript
mit
138,071
.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...
jujubeee314/freeCodeCamp_Portfolio
css/style.css
CSS
mit
1,001
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: ...
naddison36/oanda-adapter
OandaAdapter.js
JavaScript
mit
19,053
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...
xianrendzw/CodeBuilder.Ruby
CodeBuilder.Framework/Exporter/SQLServer/SqlServer2000Exporter.rb
Ruby
mit
1,015
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 =...
github/codeql
javascript/extractor/src/com/semmle/jcorn/SyntaxError.java
Java
mit
392
## 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&nbsp;&nbsp;&nbsp;>&nbsp;&n...
hazemalsaied/IdenSys
Results/Gold/CV/FirstVersion/SV/4/Parsing.md
Markdown
mit
21,342
<!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...
Corpspin/spincommerce-style-guide
_site/scaffolding/index.html
HTML
mit
5,003
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 + ".");
jomjose/js-algorithms
queues/queues (15).js
JavaScript
mit
309
/** * This package provides the necessary classes to slice and compose a file. * * @author Sergio Merino */ package assembler;
merinhunter/SecureApp
assembler/package-info.java
Java
mit
131
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...
JohanLi/johanli.com
test/imageContainer.test.js
JavaScript
mit
1,395
<!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...
mcanders/bevy
doc/num/traits/trait.Unsigned.html
HTML
mit
5,593
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 = ...
adamatan/polycircles
polycircles/test/test_different_outputs.py
Python
mit
1,881
@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,...
mlaville/cirrus
css/general.css
CSS
mit
2,784
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...
DaedalusGame/BetterWithAddons
src/main/java/betterwithaddons/crafting/recipes/PackingRecipe.java
Java
mit
1,468
<?php namespace Frontend42; return [ 'migration' => [ 'directory' => [ __NAMESPACE__ => __DIR__ . '/../../data/migrations' ], ], ];
raum42/frontend42
config/cli/migration.config.php
PHP
mit
174
#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...
redxdev/imquery
include/imq/scriptfunction.h
C
mit
1,435
#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 ...
yuanrongxi/sharing
sharing/buffer/cf_real_video.c
C
mit
10,971
{{ 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...
Kaishiyoku/Crystal-RSS
resources/views/category/_form.blade.php
PHP
mit
542
// 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', ...
kyleaclark/game-of-life
karma.conf.js
JavaScript
mit
1,319
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...
kenshinthebattosai/LinqAn.Google
src/LinqAn.Google/Dimensions/DcmClickCreativeType.cs
C#
mit
575
#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(...
remeh/mehstation-config
src/import.cpp
C++
mit
2,334
import {Component} from '@angular/core'; @Component({ selector: "recomendaciones", templateUrl: "app/components/htmls/recomendacionesysugerencias/recomendaciones.html", styleUrls: ["app/components/htmls/htmlStyles.css"] }) export class RecomendacionesComponent {};
everitosan/CursoUnamDemencia
app/components/htmls/recomendacionesysugerencias/recomendaciones.component.ts
TypeScript
mit
273
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, ...
rusanov-vladimir/Live-Charts
.github/CONTRIBUTING.md
Markdown
mit
2,192
/** * 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...
anba/es6draft
src/main/java/com/github/anba/es6draft/runtime/types/builtins/BuiltinConstructor.java
Java
mit
1,758
<?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...
amirlionor/admin
vendor/sonata-project/admin-bundle/DependencyInjection/Configuration.php
PHP
mit
25,648
// // 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...
AAChartModel/AAChartKit
AAChartKitLib/AAOptionsModel/AAAreaspline.h
C
mit
1,490
/* * 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 ...
svaarala/duktape
tests/perf/test-var-read-outerscope-closed.js
JavaScript
mit
1,264
# 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...
pvalena/rails
activemodel/test/cases/secure_password_test.rb
Ruby
mit
8,096
#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...
homeslike/OpticalTweezer
test/cell_list.cpp
C++
mit
1,878
<?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:...
ovelasquez/sigcot
src/Sigcotweb/AplicativoBundle/DependencyInjection/Configuration.php
PHP
mit
885
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...
CvetelinLozanov/SoftUni-C-
C# OOP Advanced/Reflection_And_Attributes-Exercise/P03_BarraksWars/P03_BarraksWars/Core/Commands/RetireCommand.cs
C#
mit
700
/* * 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...
bevacqua/jscharting
bundle/JSC/cultures/globalize.culture.id.js
JavaScript
mit
1,780
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";...
cc-afitz/awesome-services
recommendation/src/main/java/de/codecentric/awesome/recommendation/core/RecommendationLookup.java
Java
mit
979
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...
wework/we-js-logger
src/util/client/rollbarLogger.js
JavaScript
mit
1,896
# 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....
abonaca/gary
gary/util.py
Python
mit
3,607
{% extends 'layout.server.view.html' %} {% block content %} <div ui-view></div> {% endblock %}
hackathon-uva/team-2
app/views/index.server.view.html
HTML
mit
97
## ![](Common/icon.png) 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 [![NuGet](https://img.shields.io/nuget/v/Xam.Plugin.PdfRasterizer.svg?labe...
aloisdeniel/Xamarin.Plugins
PdfRasterizer/README.md
Markdown
mit
3,511
#include <pthread.h> #include <assert.h> int g = 17; // matches expected precise read pthread_mutex_t A = PTHREAD_MUTEX_INITIALIZER; pthread_mutex_t B = PTHREAD_MUTEX_INITIALIZER; pthread_mutex_t C = PTHREAD_MUTEX_INITIALIZER; void *t_fun(void *arg) { pthread_mutex_lock(&B); pthread_mutex_lock(&C); g = 42; pt...
goblint/analyzer
tests/regression/13-privatized/42-traces-ex-mini.c
C
mit
671
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...
djvoa12/frontend
tests/integration/components/school-session-types-list-test.js
JavaScript
mit
8,230
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...
michael-reichenauer/Dependinator
Dependinator/Common/Installation/Private/LatestVersionService.cs
C#
mit
11,771
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...
ishwant/Auth-Server
app/models/authUser.js
JavaScript
mit
791
<?php namespace fm\KitBundle; use Symfony\Component\HttpKernel\Bundle\Bundle; class KitBundle extends Bundle { }
davidpestana/erp.fm
src/fm/KitBundle/KitBundle.php
PHP
mit
116
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...
alphagov/notifications-admin
app/extensions.py
Python
mit
340
/** * 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...
iongroup/plotly.js
src/traces/contourcarpet/convert_to_constraints.js
JavaScript
mit
2,890
module.exports = { defersToPromises : function(defers) { if(Array.isArray(defers)) { return defers.map(function(defer) { return defer && defer.promise ? defer.promise : defer; }); } var res = {}; Object....
stenin-nikita/module-promise
test/utils/helpers.js
JavaScript
mit
518
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:...
Kennyomg/gamersonline-uni
api/models/product.js
JavaScript
mit
508
<!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...
setaagopqn/sait
Dvustaen.html
HTML
mit
12,872
<?php namespace Glucose\Exceptions\User; class PrimaryKeyCollisionException extends \Glucose\Exceptions\Entity\DuplicateEntityException { }
andsens/Glucose
Glucose/Exceptions/User/PrimaryKeyCollisionException.class.php
PHP
mit
141
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? ##### ...
DaanVanYperen/arktrail
README.md
Markdown
mit
645
require "tenant/engine" module Tenant end
cshirley/tenant_engine
lib/tenant.rb
Ruby
mit
43
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; } }
ColdForge/icebox
src/reducers/sortOrderReducer.js
JavaScript
mit
212
<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...
Camyul/Angular2Project
src/app/home/home.component.html
HTML
mit
774
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...
AlexisDeschamps/portfolio-rebalancer
server/db/mongo/models/modelPortfolio.js
JavaScript
mit
430
import React, { Component } from 'react'; class Home extends Component { render () { return ( <div> <h1>Home</h1> <p>Bienvenidos!!!</p> <pre>{` { path: '/', pathExact: true, ...
gabriel-lopez-lopez/dynamic-react-route
dynamic-react-router demo/src/Components/Home/index.js
JavaScript
mit
1,789
--- 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...
davidar/peruse
test/md/salon-1.md
Markdown
mit
14,851
<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> ...
CodeForGiessen/refugeeApp
app/main/templates/guideline-detail.html
HTML
mit
349
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...
obogo/hummingbird
src/utils/browser/findScriptUrls.js
JavaScript
mit
538
<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...
WlasnaGra/Osadnicy
strony/gracz/sprzatanie.php
PHP
mit
2,375
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...
TMAC-Coding/Ported-Blocks
src/net/tmachq/Ported_Blocks/tileentities/renderers/TileEntitySailRenderer.java
Java
mit
2,561
// 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...
goodwinxp/Yorozuya
library/ATF/MENUPARTS.hpp
C++
mit
415
// 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...
jjp12383/Portfolio
test/karma.conf.js
JavaScript
mit
1,620
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" };
sabertazimi/hust-lab
network/webserver/docs/search/searchdata.js
JavaScript
mit
313
--- 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:...
YouDuk/Youduk.github.io
_posts/2017-12-12-1212 TIL.md
Markdown
mit
702
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...
njazari/sef-founderwall
db/migrate/20161030044448_devise_create_users.rb
Ruby
mit
1,378
class RoomSerializer < ActiveModel::Serializer attribute :id attribute :name, key: :title end
guidance-guarantee-programme/tesco_planner
app/serializers/room_serializer.rb
Ruby
mit
98
<?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(...
tavhu/msc
application/controllers/Authentication.php
PHP
mit
6,198
/* * ***** 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 ...
nico01f/z-pec
ZimbraWebClient/src/com/zimbra/webClient/build/PackageJammerTask.java
Java
mit
14,020
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[...
heinzelmannchen/mysql2json
lib/relations.js
JavaScript
mit
1,911
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...
feilang864/task.zyfei.net
UI/PC/Controllers/RegisterController.cs
C#
mit
1,657
<?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...
3dlink/age
database/migrations/2014_10_12_000000_create_users_table.php
PHP
mit
774
# 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...
altmetric/fieldhand
lib/fieldhand/list_metadata_formats_parser.rb
Ruby
mit
699
<!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";...
BirkhoffLee/Botos
cmd/extra/main.header.php
PHP
mit
633
// 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 // ...
mafiya69/corefx
src/Common/src/System/Resources/NeutralResourcesLanguageAttribute.cs
C#
mit
984
//--------------------------------------------------------------------------------------------------------------------- // <copyright company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> //---------------------------------------------------------------------------------...
too4words/Call-Graph-Builder-DotNet
CodeGraphModel/Symbol.cs
C#
mit
1,852
// 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...
imaximix/om-tutorials
resources/public/js/compiled/out/figwheel/client/file_reloading.js
JavaScript
mit
99,819
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...
vanzylv/youtube-dl-gui-v2
scripts/services/downloadState.js
JavaScript
mit
361
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...
geobabbler/tile-grab
scrape2.sh
Shell
mit
1,769
<?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...
phillies2k/bootstrap-bundle
Form/Extension/FormTypeExtension.php
PHP
mit
558
--- 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...
HOLEIN/HOLEIN.github.io
_posts/2015-10-14-Allure-Quinceanera-Dresses-Style-Q400-2015-Sleeveless-FloorLength-Ballgown.md
Markdown
mit
1,527
14 uid=311598 27 mtime=1430738623.672251 27 atime=1430738623.671251
Pintulalmeena/Projects
Virtual Memory Implementation/Theme_B_9/GeekOS (os)/build/PaxHeader/Makefile
Makefile
mit
68
var request = require('request'); var Client = (function () { function Client() { this.options = { "url": "", "method": "GET", "bodyParams": {}, "gzip": true, "json": true }; } Client.prototype.connect = function (parent) { ...
marinvvasilev/appc.googlesearch
lib/client.js
JavaScript
mit
4,155