repo_name stringlengths 4 116 | path stringlengths 3 942 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
rdad/PP.js | src/lib/Shader.color.js | 20938 |
PP.lib.shader.shaders.color = {
info: {
name: 'color adjustement',
author: 'Evan Wallace',
link: 'https://github.com/evanw/glfx.js'
},
uniforms: { textureIn: { type: "... | mit |
waxe/waxe.xml | waxe/xml/static/ckeditor/plugins/save/lang/de-ch.js | 225 | /*
Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'save', 'de-ch', {
toolbar: 'Speichern'
} );
| mit |
demonsaw/Code | ds3/3_core/command/socket_command.cpp | 2225 | //
// The MIT License(MIT)
//
// Copyright(c) 2014 Demonsaw LLC
//
// 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, c... | mit |
rudijs/devops-starter | app/kitchen/.chef/knife.rb | 330 | cookbook_path ["berks-cookbooks", "cookbooks", "site-cookbooks"]
node_path "nodes"
role_path "roles"
environment_path "environments"
data_bag_path "data_bags"
#encrypted_data_bag_secret "data_bag_key"
knife[:berkshelf_path] = "berks-cookbooks"
Chef::Config[:ssl_verify_mode] = :verify_peer if define... | mit |
georgemarshall/DefinitelyTyped | types/node/test/buffer.ts | 8030 | // Specifically test buffer module regression.
import {
Buffer as ImportedBuffer,
SlowBuffer as ImportedSlowBuffer,
transcode,
TranscodeEncoding,
constants,
kMaxLength,
kStringMaxLength,
Blob,
} from 'buffer';
const utf8Buffer = new Buffer('test');
const base64Buffer = new Buffer('', 'b... | mit |
usmanantharikta/slsbmc | application/config/autoload.php | 4100 | <?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
| -------------------------------------------------------------------
| AUTO-LOADER
| -------------------------------------------------------------------
| This file specifies which systems should be loaded by default.
|
| In order to keep the fr... | mit |
BuzzAcademy/idioms-moe-unformatted-data | all-data/0-999/555-31.html | 2267 | <table width="90%" border="0"><tr><td><script>function openfile(url) {fullwin = window.open(url, "fulltext", "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes");}</script><div class="layoutclass_pic"><div class="layoutclass_first_pic"><table class="ztable"><tr><th class="ztd1"><b>... | mit |
chengzh2008/react-starter | karma.conf.js | 1977 | // Karma configuration
// Generated on Tue Sep 09 2014 13:58:24 GMT-0700 (PDT)
'use strict';
var browsers = ['Chrome', 'PhantomJS'];
if ( /^win/.test(process.platform) ) {
browsers = ['IE'];
}
if (process.env.TRAVIS ) {
browsers = ['PhantomJS'];
}
module.exports = function(config) {
config.set({
// base pa... | mit |
tripu/validator | src/nu/validator/xml/UseCountingXMLReaderWrapper.java | 22613 | /*
* Copyright (c) 2016-2017 Mozilla Foundation
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, me... | mit |
FreeAllMedia/dovima | es5/spec/model/toString.spec.js | 4683 | "use strict";
var _get = function get(_x, _x2, _x3) { var _again = true; _function: while (_again) { var object = _x, property = _x2, receiver = _x3; _again = false; if (object === null) object = Function.prototype; var desc = Object.getOwnPropertyDescriptor(object, property); if (desc === undefined) { var parent = Ob... | mit |
FTJFundChoice/OrionClient | FTJFundChoice.OrionClient/Models/Enums/HowIsAdvRegistered.cs | 220 | namespace FTJFundChoice.OrionClient.Models.Enums {
public enum HowIsAdvRegistered {
Unknown = 0,
SECRegistered = 1,
StateRegistered = 2,
Unregistered = 3,
Other = 4
}
} | mit |
litepubl/cms | lib/post/kernel.php | 69969 | <?php
//Announce.php
namespace litepubl\post;
use litepubl\view\Lang;
use litepubl\view\Schema;
use litepubl\view\Vars;
/**
* Post announces
*
* @property-write callable $before
* @property-write callable $after
* @property-write callable $onHead
* @method array before(array $params)
* @method ... | mit |
nguillemot/LD48-Beneath-The-Surface | GLmesh/include/GLmesh.hpp | 605 | #ifndef GLMESH_H
#define GLMESH_H
#include <GLplus.hpp>
namespace tinyobj
{
struct shape_t;
} // end namespace tinyobj
namespace GLmesh
{
class StaticMesh
{
std::shared_ptr<GLplus::Buffer> mpPositions;
std::shared_ptr<GLplus::Buffer> mpTexcoords;
std::shared_ptr<GLplus::Buffer> mpNormals;
std::s... | mit |
pimterry/github-org-feed-page | README.md | 162 | github-org-feed-page
====================
Static site for your orgs gh-pages that shows off a feed of great things your team have been doing on github recently
| mit |
jiadaizhao/LeetCode | 0801-0900/0888-Fair Candy Swap/README.md | 1289 | # 888. Fair Candy Swap
Difficulty: Easy
https://leetcode.com/problems/fair-candy-swap/
Alice and Bob have candy bars of different sizes: A[i] is the size of the i-th bar of candy that Alice has, and B[j] is the size of the j-th bar of candy that Bob has.
Since they are friends, they would like to exchange one cand... | mit |
DylanPiercey/smoothscroll | index.html | 10145 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>smooth scroll polyfill</title>
<meta name="viewport" content="width=device-width">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/4.1.1/normalize.min.css">
<link href='https://fonts.googleapis.com/css?family... | mit |
welpdev/mailchimp-bundle | spec/Event/WebhookEventSpec.php | 552 | <?php
namespace spec\Welp\MailchimpBundle\Event;
use PhpSpec\ObjectBehavior;
use Prophecy\Argument;
class WebhookEventSpec extends ObjectBehavior
{
function let($data = ['test' => 0, 'data' => 154158])
{
$this->beConstructedWith($data);
}
function it_is_initializable()
{
$this->s... | mit |
xiaominghe2014/AccountsSys | config/boot.rb | 365 | ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__)
require 'bundler/setup' # Set up gems listed in the Gemfile.
require 'rubygems'
require 'rails/commands/server'
=begin
module Rails
class Server
alias :default_options_bk :default_options
def default_options
default_options_bk.merge!(Ho... | mit |
roll11tide/europeanwar | 1812.html.php | 3908 | <!DOCTYPE html>
<html lang="en">
<head>
<?php include "htmlheader.php" ?>
<title>The War of 1812</title>
</head>
<body>
<?php include "pageheader.php"; ?>
<!-- Page Header -->
<!-- Set your background image for this header on the line below. -->
<header class="intro-header" style="background-i... | mit |
jarrodrobins/CardFlip | README.md | 4113 | CardFlip
========
FlipContainerView is a class which allows users to set a front and a back view of a 'card', and flip it over to display a detail view.
It supports panning, so the user can 'play' with the card, pulling it down gradually or by swiping it quickly. If the user is panning, the card will
automatically f... | mit |
TheHagueUniversity/2017_1.1_programming-extended-course | wk4exercises/wk4exercise07/styles/mystyle.css | 398 |
body {
font-family: Helvetica;
color: #111;
overflow: hidden;
margin: 0;
background: #f2f2f2;
line-height: 1.5;
}
header {
display: block;
margin: 20% auto;
text-align: center;
font-size: 50px;
font-weight: bold;
}
header span {
position: relative;
display: inline-block;
}
button {
... | mit |
frogocomics/SpongeAPI | src/main/java/org/spongepowered/api/data/types/InstrumentType.java | 1532 | /*
* This file is part of SpongeAPI, 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 "Soft... | mit |
jdleesmiller/jdleesmiller.github.io | emat20005/index.html | 32228 | <?xml version="1.0" encoding="UTF-8"?>
<!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" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="vi... | mit |
rafikdraoui/potlatch | index.html | 527 | <!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>Potlatch!</title>
<link href="./static/css/skeleton.css" rel="stylesheet">
<link href="./static/css/style.css" rel="stylesheet">
</head>
<body>
<div id="potlatch"></div>
<script src="./static/js/potlatch.js"></script>
<script ... | mit |
Shroder/essential-javascript-links | src/modules/List/components/Link/index.js | 484 | import React, { PropTypes } from 'react';
class Link extends React.Component {
render() {
return <article key={this.props.item.id} className="List-Item">
<header className="List-Item-Header">
<cite className="List-Item-Title"><a href={this.props.item.href}>{this.props.item.title}</a></cite>
<... | mit |
Quexint/Assignment-Driven-Learning | OCW/[Udacity]Software_Debugging/Readme.md | 796 | # Udacity Software Debugging
## Introduction
- Course: [**Udacity CS259 Software Debugging**](https://www.udacity.com/course/software-debugging--cs259)
- Fee: **Free**
- Approx. **1 ~ 2 Weeks**
- Prerequisites
- Python Experience
- Review: **Excellent**
- Content
- [x] **Video + Script**
- [x] **Quiz**
- [x]... | mit |
gizmore/ricer4 | lib/ricer4/core/params/server.rb | 358 | load File.expand_path("../target.rb", __FILE__)
module ActiveRecord::Magic
class Param::Server < Param::Target
def default_options
{ online:nil,
wildcard:false, autocomplete:true,
current_server:false, current_channel:false,
users:false, channels:false, servers:true,
amb... | mit |
tjelen/page-cooland | partaci.html | 15062 | <!DOCTYPE html>
<html lang="cs">
<head>
<meta charset="utf-8">
<title>Cooland</title>
<meta name="description" content="">
<meta name="author" content="Cooland">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="//fonts.googleapis.com/css?family=Merriweather:300,400,700&subset... | mit |
LucasEWright/phase-0-tracks | css/css-demo/practice.css | 216 |
#contact-info {
font-size: .8em;
}
.job {
background-color: #e9e5dc ;
border-radius: 10px;
margin-top: 5px;
padding: .5px;
}
.ul {
font-size: .8em;
}
li:last-child {
color: blue;
}
#hula {
color: red;
} | mit |
cybercom-finland/sos-app | public/system/views/helpWindow.html | 1659 | <div class="modal-header">
<h3 class="modal-title">Ohje</h3>
</div>
<div class="modal-body">
<div ng-show="createOwnNetwork">
<div class="help-element">
<img class="help-image" src="public/system/assets/img/infoimages/create.png">
<p> Voit perustaa oman verkostosi painamalla Luo... | mit |
peterbartha/component-diagram | ComponentTester.diagram/src/components/diagram/edit/commands/ConnectionCreateCommand.java | 4550 | package components.diagram.edit.commands;
import org.eclipse.core.commands.ExecutionException;
import org.eclipse.core.runtime.IAdaptable;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.gmf.runtime.common.core.command.CommandResult;
import org.eclipse.gmf.run... | mit |
JavascriptTips/element | src/utils/popup/index.js | 6321 | import Vue from 'vue';
import merge from 'element-ui/src/utils/merge';
import PopupManager from 'element-ui/src/utils/popup/popup-manager';
import getScrollBarWidth from '../scrollbar-width';
let idSeed = 1;
const transitions = [];
const hookTransition = (transition) => {
if (transitions.indexOf(transition) !== -1)... | mit |
nicholasdille/PowerShell | README.md | 46 | PowerShell
==========
My PowerShell modules
| mit |
PranovD/CS2340 | M2/src/main/java/edu/gatech/oad/antlab/pkg1/AntLabMain.java | 2551 | package edu.gatech.oad.antlab.pkg1;
import edu.cs2335.antlab.pkg3.*;
import edu.gatech.oad.antlab.person.*;
import edu.gatech.oad.antlab.pkg2.*;
/**
* CS2335 Ant Lab
*
* Prints out a simple message gathered from all of the other classes
* in the package structure
*/
public class AntLabMain {
... | mit |
AlexLandau/ggp-tournament | src/main/java/net/alloyggp/tournament/internal/admin/InternalAdminActions.java | 1179 | package net.alloyggp.tournament.internal.admin;
import net.alloyggp.escaperope.Delimiters;
import net.alloyggp.escaperope.RopeDelimiter;
import net.alloyggp.escaperope.rope.Rope;
import net.alloyggp.escaperope.rope.ropify.SubclassWeaver;
import net.alloyggp.escaperope.rope.ropify.Weaver;
import net.alloyggp.tournament... | mit |
thaingochieu/atmphp | fuel/app/views/hoatdong/summary/atmerror.php | 1690 | <div id="content-alerts">
<table id="conten-2" border="1px">
<tbody>
<?php echo $sidemenu ?>
<tr>
<td style="vertical-align: top;">
<div style="padding: 5px 5px 5px 5px">
<table border="1" cellspacing="1px">
<tr style="b... | mit |
telcocoin-project/telcocoin | src/qt/locale/bitcoin_hr.ts | 107245 | <?xml version="1.0" ?><!DOCTYPE TS><TS language="hr" version="2.0">
<defaultcodec>UTF-8</defaultcodec>
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About TelcoCoin</source>
<translation>O TelcoCoin-u</translation>
</me... | mit |
Zero2k/Anax-Flat | content/report/150_kmom05.md | 3402 | Kmom05
===============================
Redovisning av kmom05.
<b>Berätta kort om erfarenheterna med din undersökning av webbplatsers laddningstid. </b>
<p>Jag valde samma hemsidor som I förra uppgiften då jag vet att dessa hemsidor har varierande belastning och trafiksituationer som de måste hantera. Tre av sidorna ä... | mit |
UKHomeOffice/passports-prototype | views/change_of_name_180122/upload/index.html | 1507 | {{< layout}}
{{$pageTitle}}Upload your photo{{/pageTitle}}
{{$header}}
<h1>Upload your photo</h1>
{{/header}}
{{$content}}
<p >Your photo must be taken in the last month and meet the <br><a href="/../change_of_name_180122/photoguide-static/photorules"> rules for passport photos</a>.</p>
<a href... | mit |
BennyHallett/hulk-bash | hulk.bash | 52 | . ~/hulk-bash/scripts/web.sh
. ~/hulk-bash/.aliases
| mit |
dazarobbo/BungieNetPlatform | src/Exceptions/Platform/DestinyStatsParameterMembershipIdParseErrorException.php | 410 | <?php
namespace BungieNetPlatform\Exceptions\Platform;
use BungieNetPlatform\Exceptions\PlatformException;
/**
* DestinyStatsParameterMembershipIdParseError
*/
class DestinyStatsParameterMembershipIdParseErrorException extends PlatformException {
public function __construct($message, $code = 1608, \Ex... | mit |
Nikh13/securbank | src/main/resources/templates/manager/pendingtransfers.html | 2902 | <!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:th="http://www.thymeleaf.org"
xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity3">
<head>
<title>System Manager Dashboard</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet"
th:href="@... | mit |
grncdr/js-shell-parse | tests/fixtures/shellcheck-tests/arithmetic3/source.sh | 11 | ((n|=2<<1)) | mit |
timuruski/press_any_key | spec/spec_helper.rb | 173 | $LOAD_PATH.unshift File.expand_path('../lib')
require 'rspec'
RSpec.configure do |conf|
conf.color = true
conf.formatter = 'documentation'
conf.order = 'random'
end
| mit |
ltouroumov/amt-g4mify | client/app/modules/home/home-test.js | 739 | (function () {
'use strict';
/**
* @ngdoc function
* @name app.test:homeTest
* @description
* # homeTest
* Test of the app
*/
describe('homeCtrl', function () {
var controller = null, $scope = null, $location;
beforeEach(function () {
module('g4mify-client-app');
});
beforeEach(inject(function (... | mit |
marcelklehr/ep_push2delete | index.js | 1374 | var eejs = require('ep_etherpad-lite/node/eejs')
/*
* Handle incoming delete requests from clients
*/
exports.handleMessage = function(hook_name, context, callback){
var Pad = require('ep_etherpad-lite/node/db/Pad.js').Pad
// Firstly ignore any request that aren't about chat
var isDeleteRequest = false;
if(co... | mit |
gmich/Gem | Gem.Gui/Animations/Time.cs | 610 | using Microsoft.Xna.Framework;
using System;
namespace Gem.Gui.Animations
{
public static class Time
{
public static Animation<double> Elapsed
{
get { return Animation.Create(context => context.TotalMilliseconds); }
}
public static Animation<TTime> Constant<TTime>(... | mit |
yogeshsaroya/new-cdnjs | ajax/libs/materialize/0.95.0/js/materialize.min.js | 131 | version https://git-lfs.github.com/spec/v1
oid sha256:355954a2b585f8b34c53b8bea9346fabde06b161ec86b87e9b829bea4acb87e9
size 108190
| mit |
coq-bench/coq-bench.github.io-old | clean/Linux-x86_64-4.01.0-1.2.0/unstable/8.4.dev/contrib:sudoku/8.4.dev/2015-01-30_03-04-02.html | 20619 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Coq bench</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel="stylesheet... | mit |
space-wizards/space-station-14 | Content.Server/MachineLinking/Components/TriggerOnSignalReceivedComponent.cs | 197 | using Robust.Shared.GameObjects;
namespace Content.Server.MachineLinking.Components
{
[RegisterComponent]
public sealed class TriggerOnSignalReceivedComponent : Component
{
}
}
| mit |
AccretionD/ESP8266_freertos_coap | app/user/coap.c | 12020 | //#include <stdio.h>
//#include <stdlib.h>
//#include <stdint.h>
//#include <stdbool.h>
//#include <string.h>
//#include <stddef.h>
#include "esp_common.h"
#include "coap.h"
#include "shell.h"
//#include <rtthread.h>
//#define shell_printf rt_kshell_printf
extern void endpoint_setup(void);
extern const... | mit |
zertico/softlayer | lib/softlayer/container/dns.rb | 126 | module Softlayer
module Container
module Dns
autoload :Domain, 'softlayer/container/dns/domain'
end
end
end
| mit |
codenous/intranet_planEvalWeb | application/views/template/sidebar.php | 5929 | <aside class="main-sidebar">
<section class="sidebar">
<div class="user-panel">
<div class="pull-left image">
<img src="<?php echo base_url() ?>assets/img/user2-160x160.jpg" class="img-circle" alt="User Image">
</div>
<div class="pull-left info">
... | mit |
LivePersonInc/dev-hub | content10/products-bots-prerequisites.html | 165927 | <!DOCTYPE html>
<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="">
<meta name="keywords" content=" ">
<title>Prerequisites | LivePerson Technical Documentation</title>
<link rel... | mit |
AgileEAP/aglieEAP | agileEAP-workflow/src/main/java/com/agileEAP/workflow/definition/ActivityType.java | 1812 | package com.agileEAP.workflow.definition;
/**
活动类型
*/
public enum ActivityType
{
/**
开始活动
*/
//C# TO JAVA CONVERTER TODO TASK: Java annotations will not correspond to .NET attributes:
//[Remark("开始活动")]
StartActivity(1),
/**
人工活动
*/
//C# TO JAVA CONVERTER TODO TASK: Java annotations will not co... | mit |
iLoftis/Menlo-Coin | src/qt/locale/bitcoin_uk.ts | 123486 | <?xml version="1.0" ?><!DOCTYPE TS><TS language="uk" version="2.0">
<defaumlcodec>UTF-8</defaumlcodec>
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About Menlocoin</source>
<translation>Про Menlocoin</translation>
</me... | mit |
kyoken74/rock-paper-scissors | src/main/java/com/asayama/rps/simulator/Hand.java | 83 | package com.asayama.rps.simulator;
public enum Hand {
ROCK, PAPER, SCISSORS;
}
| mit |
aviolette/foodtrucklocator | main/src/main/java/foodtruck/linxup/Trip.java | 3020 | package foodtruck.linxup;
import java.util.List;
import com.google.common.base.MoreObjects;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.Lists;
import org.joda.time.DateTime;
import foodtruck.model.Location;
/**
* @author aviolette
* @since 11/1/16
*/
public class Trip {
pr... | mit |
hikmat30ce/WorkdayIntegrator-HR | docs/com/hikmat30ce/workday/integrator/hr/generated/class-use/CompensationStepReferenceDataType.html | 11646 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_77) on Sun Aug 13 19:07:39 PKT 2017 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Class com.hikmat30ce... | mit |
Need4Speed402/tessellator | src/textures/TextureDummy.js | 1646 | /**
* Copyright (c) 2015, Alexander Orzechowski.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, ... | mit |
kingstonrichard/kingstonrichard.github.io | tags/Progressive-Web-App.html | 5561 |
<!DOCTYPE HTML>
<!--
Solid State by HTML5 UP
html5up.net | @ajlkn
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
-->
<html>
<head>
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-72755780-1"></script>
<script>
window.dataLayer = window.dataLayer || [... | mit |
ace13/LD31 | Source/Script/SFML/CircleShape.cpp | 1833 | #include "Extensions.hpp"
#include "Extensions.inl"
#include <Math/Rect.hpp>
#include <Math/Vector.hpp>
#include <Script/ScriptExtensions.hpp>
#include <SFML/Graphics/CircleShape.hpp>
#include <angelscript.h>
#include <cassert>
namespace
{
void create_CircleShape(void* memory)
{
new(memory)sf::Circl... | mit |
troops2devs/minutes | models/student.js | 268 | 'use strict';
module.exports = function(sequelize, DataTypes) {
var Student = sequelize.define('Student', {
name: DataTypes.STRING,
timeReq: DataTypes.INTEGER,
}, {
classMethods: {
associate: function() {
}
}
});
return Student;
};
| mit |
augustosamame/culqiruby | lib/culqi/version.rb | 37 | module Culqi
VERSION = '1.2.8'
end
| mit |
andbet39/Angular2Sensor | src/index.html | 1457 | <!DOCTYPE html>
<html lang="">
<head>
<title><%= webpackConfig.metadata.title %></title>
<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="<%= webpackConfig.metadata.title %>">
... | mit |
colinw7/CImageLib | src/CImageColorDef.cpp | 801 | #include <CImageLibI.h>
#include <CImageColorDefP.h>
#include <cstring>
bool
CImageColorDef::
getRGB(const std::string &name, double *r, double *g, double *b)
{
int ri, gi, bi;
if (! getRGBI(name, &ri, &gi, &bi))
return false;
double rgb_scale = 1.0/255.0;
*r = ri*rgb_scale;
*g = gi*rgb_scale;
*b =... | mit |
chunyenHuang/hummusRecipe | lib/vector.helper.js | 7549 | const {xObjectForm} = require('./xObjectForm');
exports._getPathOptions = function _getPathOptions(options = {}, originX, originY) {
this.current = this.current || {};
const colorspace = options.colorspace || this.options.colorspace;
const colorName = options.colorName;
const pathOptions = {
o... | mit |
rangsimanketkaew/NWChem | src/rdmft/recycling/wfn1/lapack/double/wfn1_ad_dsygst.f | 9696 | SUBROUTINE WFN1_AD_DSYGST( ITYPE, UPLO, N, A, LDA, B, LDB, INFO )
USE WFN1_AD1
IMPLICIT NONE
#include "blas/double/intf_wfn1_ad_dsymm.fh"
#include "blas/double/intf_wfn1_ad_dsyr2.fh"
#include "blas/double/intf_wfn1_ad_dsyr2k.fh"
#include "blas/double/intf_wfn1_ad_dtrmm.fh"
#include "blas/double/intf_w... | mit |
all3fox/algos-cpp | tests/test_dsu.cpp | 1854 | #define BOOST_TEST_MODULE test_dsu
#define BOOST_TEST_DYN_LINK
#include "test.hpp"
#include "dsu.hpp"
using bdata::make;
using bdata::xrange;
BOOST_AUTO_TEST_CASE(one) {
auto dsu = DisjointSetUnion<int>();
dsu.push_back(1);
BOOST_TEST(dsu.xs[1] == 1);
BOOST_TEST(dsu.ws[1] == 1);
}
BOOST_AUTO_TEST... | mit |
sgsoft-studio/themes-management | src/Actions/EnableThemeAction.php | 971 | <?php namespace WebEd\Base\ThemesManagement\Actions;
use WebEd\Base\Actions\AbstractAction;
class EnableThemeAction extends AbstractAction
{
/**
* @param $alias
* @return array
*/
public function run($alias)
{
do_action(WEBED_THEME_BEFORE_ENABLE, $alias);
$theme = get_theme... | mit |
nferocious76/NFAnalogClock | NFAnalogClock/NFAnalogClockView+Extension.h | 315 | //
// NFAnalogClockView+Extension.h
// NFAnalogClock
//
// Created by Neil Francis Hipona on 12/1/16.
// Copyright © 2016 Neil Francis Hipona. All rights reserved.
//
#import "NFAnalogClockView.h"
@interface NFAnalogClockView (Extension)
- (void)startTime;
- (void)stopTime;
- (NFTime *)updateClock;
@end
| mit |
ga-chicago/ga-chicago.github.io | darth-vader/01_front_end_fundamentals/javascript_arrays.md | 1040 | ___
<strong>Javascript</strong>
<h3>Arrays</h3>
---
##Summary
We can access an array's items using **indices**. Arrays have a variety of methods to utilize.
##Discussion
```javascript
var myArray = ["Alex", "Andrew", "James"];
myArray[0]; // this will return "Alex"
// let's assign a new value to "James"
myArray[... | mit |
mbarralo/mbarralo.github.io | index.html | 662 | ---
layout: default
---
<div class="posts">
{% for post in site.posts %}
<article class="post">
{% if post.icon %}
<div style="float: left; padding-right: 20px; margin-top: 10px">
<img style="" src="{{post.icon}}" width="50" height="50"/>
</div>
{% endif %}
<a class="post-... | mit |
svcavallar/gogs | models/git_diff.go | 10244 | // Copyright 2014 The Gogs Authors. All rights reserved.
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file.
package models
import (
"bufio"
"bytes"
"fmt"
"html"
"html/template"
"io"
"io/ioutil"
"os"
"os/exec"
"strings"
"github.com/Unknwon/com"
"github.... | mit |
novstylessee/novstylessee.github.io | _posts/2017-09-30-Jorge-Manuel-THE-PEI-Sleeveless-SweepBrush-Train-AlinePrincess.md | 955 | ---
layout: post
date: 2017-09-30
title: "Jorge Manuel THE PEI Sleeveless Sweep/Brush Train Aline/Princess"
category: Jorge Manuel
tags: [Jorge Manuel ,Jorge Manuel,Aline/Princess ,Jewel,Sweep/Brush Train,Sleeveless]
---
### Jorge Manuel THE PEI
Just **$379.99**
### Sleeveless Sweep/Brush Train Aline/Princess
<tab... | mit |
dosire/dosire | spec/controllers/admin/preferences_controller_spec.rb | 1463 | require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper')
describe Admin::PreferencesController do
dataset :users
it "should allow you to view your preferences" do
user = login_as(:non_admin)
get :edit
response.should be_success
assigned_user = assigns(:user)
assigned_user.shou... | mit |
Adventech/sabbath-school-lessons | src/zh/2021-04/08/05.md | 1963 | ---
title: 不是你难行的
date: 17/11/2021
---
〈申命记〉第30章一开篇,主就告诉以色列百姓,如果他们悔改,转离恶行,就会发生什么事。上帝所赐予的是多么美好的应许啊!
`阅读申30:1–10。尽管经文是在说如果他们不顺服会发生什么事,但上帝依然给了他们怎样的应许?这事对我们了解上帝的恩典有何启示?`
听到这般应许,当然倍感安慰。但这话的重点并非是说,即使他们违背了上帝的吩咐也没关系。上帝给人的绝不是廉价的恩典。祂所显明的是给人的爱,因此,人也当敬爱祂来作为回应,透过顺从祂的吩咐来表现出对祂的爱。
`阅读申30:11–14。上帝对他们说了什么?经文中有哪些基本的应许?你能想到新约中还有哪些经... | mit |
matt-gibbs/AutoRest | AutoRest/Generators/Java/Azure.Java.Tests/src/main/java/fixtures/azureparametergrouping/package-info.java | 485 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator 0.14.0.0
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
... | mit |
kidaa/Pulse | Pulse.UI/Windows/Main/Dockables/GameFileCommander/UiTree/Accessors/UiWpdLeafsAccessor.cs | 1061 | using System;
using Pulse.FS;
namespace Pulse.UI
{
public sealed class UiWpdLeafsAccessor : IUiLeafsAccessor
{
private readonly WpdArchiveListing _listing;
private readonly WpdEntry[] _leafs;
private readonly bool? _conversion;
public UiNodeType Type
{
get ... | mit |
SpatialMap/SpatialMapDev | node_modules/office-ui-fabric-react/src/components/DocumentCard/DocumentCard.Props.ts | 5213 | import * as React from 'react';
import { DocumentCard } from './DocumentCard';
import { DocumentCardTitle } from './DocumentCardTitle';
import { DocumentCardPreview } from './DocumentCardPreview';
import { DocumentCardLocation } from './DocumentCardLocation';
import { DocumentCardActivity } from './DocumentCardActivity... | mit |
frostRed/Exercises | DS_a_Algo_in_CPP/ch2/2-17-a.cpp | 1349 | //
// Created by paysonl on 16-10-20.
//
#include <vector>
using std::vector;
#include <iostream>
#include <cassert>
int min3(int a, int b, int c);
int minSubSum(const vector<int>& a);
int minSubRec(const vector<int>& a, int left, int right);
int main() {
vector<int> v{-2, -1, -2, 3, -4};
assert(minSubSum(... | mit |
mueller-jan/symfony-forum | src/AppBundle/Repository/ThreadRepository.php | 978 | <?php
/**
* Created by PhpStorm.
* User: Jan
* Date: 17.03.2015
* Time: 17:03
*/
namespace AppBundle\Repository;
use Doctrine\ORM\EntityRepository;
class ThreadRepository extends EntityRepository
{
public function findAllOrderedByLastModifiedDate($category_id)
{
$repository = $this->getEntityMana... | mit |
thisduck/nothing | _posts/poems/2011-10-24-yesterday.markdown | 346 | ---
layout: post
title: yesterday
date: 2011-10-24 07:54
comments: false
categories: [poems]
---
i remember yesterday
as if it were yesterday.
and the day before that
as if it were the day before yesterday.
but the moment i remember any day
before the day before yesterday
as if it were yesterday,
i forget the... | mit |
hfaran/slack-export-viewer | slackviewer/user.py | 2188 | # User info wrapper object
import logging
class User(object):
"""
Wrapper object around an entry in users.json. Behaves like a read-only dictionary if
asked, but adds some useful logic to decouple the front end from the JSON structure.
"""
_NAME_KEYS = ["display_name", "real_name"]
_DEFAULT_IM... | mit |
tarlepp/symfony-flex-backend | src/DTO/RestDtoInterface.php | 1141 | <?php
declare(strict_types = 1);
/**
* /src/DTO/RestDtoInterface.php
*
* @author TLe, Tarmo Leppänen <tarmo.leppanen@pinja.com>
*/
namespace App\DTO;
use App\Entity\Interfaces\EntityInterface;
use Throwable;
/**
* Interface RestDtoInterface
*
* @package App\DTO
* @author TLe, Tarmo Leppänen <tarmo.leppanen@p... | mit |
grahamedgecombe/lightstone | src/net/lightstone/net/codec/MessageCodec.java | 613 | package net.lightstone.net.codec;
import java.io.IOException;
import net.lightstone.msg.Message;
import org.jboss.netty.buffer.ChannelBuffer;
public abstract class MessageCodec<T extends Message> {
private final Class<T> clazz;
private final int opcode;
public MessageCodec(Class<T> clazz, int opcode) {
this.... | mit |
charlle/charlle | assets/styles/Fix/ie.css | 531 | /* IE 8 FIXES
MAIN BLUE: #99CCFF
LINK BLUE: #0066FF
NEW BLUE: #3366FF
ORANGE: #FFCC66
GREEN: #66CC00
TBL GREEN: #A7C942
RED: #CC0000
BORDER: #CCC
GREY: #999
DARK GRY: #555
*/
#rent_go{vertical-align:-3px;}
div.land-do h2{
filter: progid:DXImageTransform.Microsoft.Shadow(Strength=3, Direction=45... | mit |
digicorp/propeller | components/custom-scrollbar/css/jquery.mCustomScrollbar.css | 53712 | /*
== malihu jquery custom scrollbar plugin ==
Plugin URI: http://manos.malihu.gr/jquery-custom-content-scroller
*/
/*
CONTENTS:
1. BASIC STYLE - Plugin's basic/essential CSS properties (normally, should not be edited).
2. VERTICAL SCROLLBAR - Positioning and dimensions of vertical scrollbar.
3. HORIZONTAL SCR... | mit |
agenthunt/EmbeddedJXcoreEngineIOS | EmbeddedJXcoreEngineIOS/jxcore/include/node/vm/PropDesc.h | 12213 | /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
* vim: set ts=8 sts=4 et sw=4 tw=99:
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
... | mit |
ballisticwhisper/decentralised | src/decentralised/main.cpp | 2662 | #define _IRR_STATIC_LIB_
#include <irrlicht.h>
#include <stdio.h>
#include <string>
#include <sstream>
#include <iostream>
#include "dc-config.h"
#include "manager_gui.h"
#include "manager_filesystem.h"
#include "manager_core.h"
#include "irrlicht_event_handler.h"
#include "context_application.h"
using namespace irr;... | mit |
wizzy25/es6-workshop | exercises/10_class.test.js | 2133 | test('has a constructor for initialization', () => {
// Create an Animal class
// Add a constructor that takes one param, the name.
// Set this.name to the name passed in
const animal = new Animal()
const dog = new Animal('Dog')
expect(animal.name).toBeUndefined()
expect(dog.name).toBe('Dog')
})
test('... | mit |
HeinrichChristian/FlyingRobotToWarnVisuallyImpaired | FollowMe/WebService/RemoteControl.cs | 2774 | using Caliburn.Micro;
using FollowMe.Messages;
using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.Text;
using System.Threading.Tasks;
namespace FollowMe.WebService
{
/// <summary>
/// RemoteControl to control the Ar.Drone indirectly.
/// You can star... | mit |
programacion-avanzada/jrpg-2017a-dominio | src/test/java/tests_dominio/TestAsesino.java | 934 | package tests_dominio;
import org.junit.Assert;
import org.junit.Test;
import dominio.Asesino;
import dominio.Hechicero;
import dominio.Humano;
public class TestAsesino {
@Test
public void testRobar(){ }
@Test
public void testCritico(){
Humano h = new Humano("Nicolas",new Asesino(),1);
Humano h2 = new Hum... | mit |
KlusterKite/KlusterKite | Docs/Doxygen/html/class_kluster_kite_1_1_node_manager_1_1_launcher_1_1_utils_1_1_exceptions_1_1_package_not_found_exception.html | 7930 | <!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 |
bkahlert/seqan-research | raw/pmsb13/pmsb13-data-20130530/sources/fjt74l9mlcqisdus/2013-04-12T11-39-06.554+0200/sandbox/my_sandbox/apps/tutorial_20/tutorial_20.cpp | 989 | #include <iostream>
#include <seqan/graph_types.h>
#include <seqan/graph_algorithms.h>
#include <seqan/find_motif.h>
using namespace seqan;
int main ()
{
typedef unsigned int TCargo;
typedef Graph<Undirected<TCargo> > TGraph;
typedef VertexDescriptor<TGraph>::Type TVertexDescriptor;
TGraph g;
... | mit |
win-stub/PestObserver | web/scripts/report_panel.js | 11254 |
var report_test_url = "reports\\BSV_GC_n_08_du_22_octobre_2013.pdf";
var report_dir = "files/";
var report_extension = ".pdf";
/***************************************************************************************************************************/
/* report_panel */
function report_panel(panel, report_panel){/... | mit |
roulesophy/roulesophy.github.io | _posts/index/hksl_confusion.md | 811 | ---
香港手語詞語相似打法系列:
* [快、容易、近、細少]({{ site.baseurl }}/香港手語-快-容易-近-細少/)
* [普通、剛剛、一筆勾消、不在]({{ site.baseurl }}/香港手語-普通-剛剛-一筆勾消-不在/)
* [升職、進步]({{ site.baseurl }}/香港手語相似系列-升職-進步/)
* [老師、老闆、準備]({{ site.baseurl }}/香港手語相似系列:老師、老闆、準備/)
* [熙來掠往、集合、跟隨、相遇]({{ site.baseurl }}/香港手語相似系列:熙來掠往、集合、跟隨、相遇/)
* [真、一倍、木材]({{ site.baseurl }}/香港手... | mit |
ShoukriKattan/ForgedUI-Eclipse | com.forgedui.editor/src/com/forgedui/editor/edit/TableViewEditPart.java | 4096 | // LICENSE
package com.forgedui.editor.edit;
import java.beans.PropertyChangeEvent;
import java.util.ArrayList;
import java.util.List;
import org.eclipse.draw2d.geometry.Rectangle;
import org.eclipse.gef.commands.Command;
import org.eclipse.gef.requests.CreateRequest;
import com.forgedui.editor.GUIEditorPlugin;
impo... | mit |
otto-torino/gino | ckeditor/plugins/about/lang/pt-br.js | 400 | /*
Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'about', 'pt-br', {
copy: 'Copyright © $1. Todos os direitos reservados.',
dlgTitle: 'Sobre o CKEditor 4',
moreInfo... | mit |
dbooga/MonsterHunter3UDatabase | MonsterHunter3UDatabase/src/com/daviancorp/android/data/database/LocationCursor.java | 1054 | package com.daviancorp.android.data.database;
import android.database.Cursor;
import android.database.CursorWrapper;
import com.daviancorp.android.data.classes.Location;
/**
* A convenience class to wrap a cursor that returns rows from the "locations"
* table. The {@link getLocation()} method will give you a Locat... | mit |