repo_name stringlengths 4 116 | path stringlengths 3 942 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
squatsandsciencelabs/OpenBarbellApp | app/services/AppState.js | 811 | import {
AppState
} from 'react-native';
import BackgroundTimer from 'react-native-background-timer';
import * as AppStateActionCreators from 'app/redux/shared_actions/AppStateActionCreators';
var state = AppState.currentState;
export default function (store) {
AppState.addEventListener('change', (nextAppSta... | mit |
seppo0010/limitd-rs | src/protocol/pb/response.rs | 79090 | // This file is generated. Do not edit
// to generate this file I moved the extends of Response into Response because they are not supported
// @generated
// https://github.com/Manishearth/rust-clippy/issues/702
#![allow(unknown_lints)]
#![allow(clippy)]
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(box_pointers)]
#!... | mit |
cinetenisverde/cinetenisverde.github.io | quando-margot-encontra-margot/index.html | 10296 | <!DOCTYPE html>
<html lang="en-us" dir="ltr" itemscope itemtype="http://schema.org/Article">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Quando Margot Encontra Margot</title>
<me... | mit |
metodiobetsanov/Tech-Module-CSharp | Data Structures/11. QUAD TREES, K-D TREES, INTERVAL TREES - Lab/IntervalTree/IntervalTree/IntervalTree.cs | 2951 | using System;
using System.Collections.Generic;
public class IntervalTree
{
private class Node
{
internal Interval interval;
internal double max;
internal Node right;
internal Node left;
public Node(Interval interval)
{
this.interval = interval;
... | mit |
user-tony/photon-rails | lib/assets/css/css_compiled/@{photonImagePath}plugins/elrte/css/css_compiled/js/plugins/prettify/js/bootstrap/js/plugins/raphael.2.1.0.min.js.html | 17156 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Login Page - Photon Admin Panel Theme</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0">
<link rel="shortcut icon" href="ht... | mit |
dbisUnibas/cineast | cineast-runtime/src/main/java/org/vitrivr/cineast/standalone/run/ExtractionDispatcher.java | 3242 | package org.vitrivr.cineast.standalone.run;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.vitrivr.cineast.standalone.config.Config;
import org.vitrivr.cineast.standalone.config.IngestConfig;
import java.io.File;
import java.io.IOException;
/**
* @author rgasser
* @v... | mit |
winddyhe/knight | knight-client/Packages/Knight-Lib/Knight.Framework.Tweening/Runtime/DOTween/Core/DOTweenSettings.cs | 1589 | // Author: Daniele Giardini - http://www.demigiant.com
// Created: 2015/02/05 10:28
using DG.Tweening.Core.Enums;
using UnityEngine;
#pragma warning disable 1591
namespace DG.Tweening.Core
{
public class DOTweenSettings : ScriptableObject
{
public const string AssetName = "DOTweenSettings";
... | mit |
jpiper/pyDNase | pyDNase/__init__.py | 25452 | from . import _version
__version__ = _version.__version__
import os, math, pysam
from clint.textui import progress, puts_err
import sqlite3 as lite
import tempfile, warnings, pickle
def example_reads():
"""
returns the path to the example BAM file
"""
return os.path.join(os.path.join(os.path.dirname(_... | mit |
masudiiuc/SymHelloWorld | src/test/TaskBundle/DependencyInjection/Configuration.php | 873 | <?php
namespace test\TaskBundle\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://symfony.c... | mit |
souths/njy2 | view/manage/supply/gongying.html | 14301 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<!--[if IE 8]>
<html xmlns:ng="http://angularjs.org" class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!-->
<html xmlns:ng="http://angularjs.org" class="no-js">
<!--<![endif]-->
<html lang="en" ng-app="njyApp">
<head>
<meta charset="utf-8">
<met... | mit |
stevenblaster/crapengine | source/core/include/thread/timer_gcc.h | 1201 | #pragma once
#ifndef CRAP_TIMER_GCC_H
#define CRAP_TIMER_GCC_H
#include "config/crap_platform.h"
#include "config/crap_compiler.h"
#include "config/crap_cpu.h"
#include "config/crap_types.h"
#include <cstddef>
#include <ctime>
#if defined(CRAP_PLATFORM_MAC) || defined(CRAP_PLATFORM_IOS)
#include <mach/mach_time.... | mit |
patrickhno/crayfish | lib/crayfish/version.rb | 1182 | # Copyright (c) 2012 Bingoentreprenøren AS
# Copyright (c) 2012 Patrick Hanevold
#
# 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 righ... | mit |
choffmeister/react-nestedlist | public/data.js | 602 | import Immutable from 'immutable';
import uuid from './uuid';
export default function (suffix) {
return Immutable.fromJS([
{
_id: uuid(),
label: 'Startpage',
children: []
},
{
_id: uuid(),
label: `Page 1 (${suffix})`,
children: [
{
_id: uuid(),
... | mit |
HMNikolova/Telerik_Academy | CSharpPartOne/5. ConditionalStatements/08. DigitAsWord/Properties/AssemblyInfo.cs | 1406 | 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("08... | mit |
KlishGroup/prose-pogs | pogs/H/HIBHXHX/PCTER/index.md | 2294 | ---
layout: page
title: Pink Citadel Trade Executive Retreat
date: 2016-05-24
author: Sara Alvarado
tags: weekly links, java
status: published
summary: Quisque nec lectus vel mauris.
banner: images/banner/leisure-03.jpg
booking:
startDate: 11/21/2019
endDate: 11/24/2019
ctyhocn: HIBHXHX
groupCode: PCTER
publish... | mit |
KlishGroup/prose-pogs | pogs/M/MPTMIHX/GEC/index.md | 2633 | ---
layout: page
title: Guardian Electronics Conference
date: 2016-05-24
author: Nicholas Werner
tags: weekly links, java
status: published
summary: In ultricies luctus maximus. Donec.
banner: images/banner/office-01.jpg
booking:
startDate: 02/19/2019
endDate: 02/22/2019
ctyhocn: MPTMIHX
groupCode: GEC
publishe... | mit |
Natus/natus | natus/engine.c | 3013 | #include <natus-internal.h>
#include <assert.h>
#include <libmem.h>
#define hmkval(ctx, val) \
mkval(ctx, val, \
natusEngValFlagUnlock | natusEngValFlagFree, \
natusValueTypeUnknown)
static natusEngVal
return_ownership(natusValue *val, natusEngValFlags *flags)
{
natusEngVal ret = NULL;
if (!fl... | mit |
hperreault/ProjectEuler | 007_N10001stPrime.py | 932 | # By listing the first six prime numbers: 2, 3, 5, 7, 11, and 13, we can see that the 6th prime is 13.
# What is the 10 001st prime number?
import math
from Utilities import Primes
from Problem import Problem
class N10001stPrime(Problem):
def __init__(self):
self.answer = 104743
def do(self):
... | mit |
Fire-Hound/Linear-Regression-APK | ignore.py | 18 | #ignore this file
| mit |
scttnlsn/mongoose-denormalize | lib/index.js | 3736 | var async = require('async');
var mongoose = require('mongoose');
// Denormalize values from foreign refs into local model
var denormalizeFrom = function(schema, from) {
return function(next) {
var self = this;
var funcs = [];
for (var key in from) {
var items = from[key];
... | mit |
IvanBernatovic/gameshop | database/seeds/CategoriesTableSeeder.php | 2824 | <?php
use Illuminate\Database\Seeder;
class CategoriesTableSeeder extends Seeder {
/**
* Auto generated seed file
*
* @return void
*/
public function run()
{
\DB::table('categories')->delete();
\DB::table('categories')->insert(array (
0 =>
array (
'id' => 15,
'parent_id' => NUL... | mit |
weld-io/bug-hunter-game | app/app.js | 634 | const express = require('express');
const config = require('./config/config');
const glob = require('glob');
const mongoose = require('mongoose');
mongoose.connect(config.db);
const db = mongoose.connection;
db.on('error', function () {
throw new Error('unable to connect to database at ' + config.db);
});
const mode... | mit |
dgulotta/puzzle-tools | web/acrostic.html | 1048 | <html>
<head>
<title>Acrostic Helper</title>
<script type="text/javascript" src="acrostic.js"></script>
</head>
<body>
<div id="setup">
<h4>Clues</h4>
<p>Enter the clues on the left (optional). Enter the numbers underneath the blanks on the right. Use 0 if a blank is not used in the final message.</p>
<textarea id="c... | mit |
massimo-nocentini/on-python | microkanren/sexp_test.py | 2061 |
import unittest
from functools import partialmethod
from muk.sexp import *
class sexp_tests(unittest.TestCase):
def test_null_list(self):
self.isomorphism(l=[], c=[])
def test_singleton_proper_list_to_cons(self):
self.isomorphism(l=[1], c=cons(1, []))
def test_plain_proper_lis... | mit |
Azure/azure-sdk-for-net | sdk/search/Azure.Search.Documents/CHANGELOG.md | 14709 | # Release History
## 11.4.0-beta.8 (Unreleased)
### Features Added
### Breaking Changes
### Bugs Fixed
### Other Changes
## 11.4.0-beta.7 (2022-03-08)
### Features Added
- Added support to create, update and delete aliases via the `SearchIndexClient`.
## 11.4.0-beta.6 (2022-02-08)
### Features Added
- Added `U... | mit |
gordonbisnor/Wilderness | install-with-rake/vendor/plugins/tiny_mce/test/unit/options_validator_test.rb | 2245 | require File.dirname(__FILE__) + '/../test_helper'
class OptionsValidatorTest < ActiveSupport::TestCase
test "tiny mce should load the valid options on init" do
assert_not_nil TinyMCE::OptionValidator.options
end
test "tiny mce should allow a certain number of options" do
assert_equal 154, TinyMCE::Opt... | mit |
Kstro/erpsystem | src/ERP/CRMBundle/Controller/CrmLlamadasController.php | 54864 | <?php
namespace ERP\CRMBundle\Controller;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\HttpFoundation\JsonResponse;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method;
use Sensio\Bu... | mit |
lab2528/go-oneTime | core/vm/logger_test.go | 3459 | // Copyright 2016 The go-ethereum Authors
// This file is part of the go-ethereum library.
//
// The go-ethereum library is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License... | mit |
leesus/beat-laboratory | js/src/models/track.js | 191 | define(function(){
var Track = function Track(options){
this.url = options && options.url || '';
this.instrument = options && options.instrument || '';
};
return Track;
}); | mit |
evaktim/egitimvaktim.github.io | _posts/2012-01-02-coklu-zeka-kontrol-listesi.md | 348 | ---
layout: post
title: Çoklu Zekâ Kontrol Listesi
date: 2012-01-02 10:59
author: admin
comments: true
tags: [çoklu zeka değerlendirme formu, Ketegorisiz]
---
Çoklu Zekâ türleri için Kontrol Listesi örneğidir
<a class="myl" href="http://www.egitimvaktim.com/dosyalar/2012/01/coklu_zeka.xls" target="_blank">ör... | mit |
ecozoic/atl4fort | webpack/webpack.prod.js | 1435 | const path = require('path');
const webpack = require('webpack');
const ExtractTextPlugin = require('extract-text-webpack-plugin');
const extractApp = new ExtractTextPlugin({
filename: 'assets/[name].[hash].css'
});
const extractAntd = new ExtractTextPlugin({
filename: 'assets/antd.[hash].css'
});
module.exports... | mit |
deepakswami07/deepakfx | js/custom.js | 319 | $('.carousel').carousel({
interval: false
})
/////////////////////////////////////////
// begin navbar collapse on selection ///
$('.navbar-collapse').click('li', function() {
$('.navbar-collapse').collapse('hide');
});
// end navbar collapse on selection ///
/////////////////////////////////////// | mit |
newmast/Steep | Source/Data/Steep.Data/Migrations/201602141147544_InitalCreate.Designer.cs | 818 | // <auto-generated />
namespace Steep.Data.Migrations
{
using System.CodeDom.Compiler;
using System.Data.Entity.Migrations;
using System.Data.Entity.Migrations.Infrastructure;
using System.Resources;
[GeneratedCode("EntityFramework.Migrations", "6.1.3-40302")]
public sealed partial class In... | mit |
sophsec/ffi-disarm | lib/ffi/disarm/args.rb | 976 | require 'ffi/disarm/args/bkpt'
require 'ffi/disarm/args/bl'
require 'ffi/disarm/args/blx_imm'
require 'ffi/disarm/args/blx_reg'
require 'ffi/disarm/args/clz'
require 'ffi/disarm/args/cp_data'
require 'ffi/disarm/args/cp_ls'
require 'ffi/disarm/args/cp_reg'
require 'ffi/disarm/args/data_imm'
require 'ffi/disarm/args/dat... | mit |
JulioSantanaR/Cedae_facturation | RetailTerrabit-Facturacion/RODHE.Facturacion/SCFacturacion/main/layouts-aside-left-side.html | 45382 | <!DOCTYPE html>
<html lang="en">
<!-- Mirrored from www.themeon.net/nifty/v2.2.1/layouts-aside-left-side.html by HTTrack Website Copier/3.x [XR&CO'2014], Thu, 20 Aug 2015 17:41:49 GMT -->
<!-- Added by HTTrack --><meta http-equiv="content-type" content="text/html;charset=UTF-8" /><!-- /Added by HTTrack -->
<head>
<m... | mit |
TomMulvaney/AudioFlow | doc/api/classes/ActionView/TestCase/Behavior/RenderedViewsCollection.html | 11630 | <?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" lang="en">
<head>
<title>ActionView::TestCase::Behavior::RenderedViewsCollection</title>
<... | mit |
samuelcolvin/pydantic | benchmarks/run.py | 8926 | import json
from operator import itemgetter
import os
import random
import string
import sys
from datetime import datetime
from devtools import debug
from functools import partial
from pathlib import Path
from statistics import StatisticsError, mean
from statistics import stdev as stdev_
from test_pydantic import Te... | mit |
Action-Committee/unstakeable | src/qt/locale/bitcoin_fa.ts | 119415 | <?xml version="1.0" ?><!DOCTYPE TS><TS language="fa" version="2.0">
<defaultcodec>UTF-8</defaultcodec>
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About Unstakeable</source>
<translation>در مورد Unstakeable</translation>
... | mit |
niklaslong/Electric-Blanket | css/styles.css | 1243 | body {
background-color: rgb(246,246,246);
font-family: -apple-system, 'avenir next', avenir, roboto, noto, ubuntu, 'helvetica neue', helvetica, arial, sans-serif;
}
.container {
text-align: center;
}
.grid-row{
display: inline-block;
width: 65vw;
}
.grid-row:first-child {
margin-top: 5vw;
}
.grid-space... | mit |
looker-open-source/components | packages/filter-expressions/src/locales/resources/zh-CN.ts | 4142 | /*
MIT License
Copyright (c) 2022 Looker Data Sciences, Inc.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modi... | mit |
stefanRitter/jspadawan.com | index.html | 415 | ---
layout: page
title: Blog Home
---
<div class="related">
<ul class="related-posts">
{% for post in site.posts limit:100 %}
<li>
<h3>
<a href="{{ post.url }}">
{{ post.title }}
<small><time datetime="{{ post.date | date_to_xmlschema }}">{{ post.date | date_to_str... | mit |
ReturnCoin/ReturnCoin | src/qt/locale/bitcoin_vi.ts | 107681 | <?xml version="1.0" ?><!DOCTYPE TS><TS language="vi" version="2.1">
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About ReturnCoin</source>
<translation type="unfinished"/>
</message>
<message>
<location lin... | mit |
masui/gyazo-ruby | lib/gyazo.rb | 69 | require 'gyazo/version'
require 'gyazo/error'
require 'gyazo/client'
| mit |
dongooo/yonyouAuto | yyauto-web/src/main/webapp/webui/src/app/module/maintain/maintain.js | 130 | /**
* description:维修保养
* author: dongooo
* create: 2016-09-18 下午2:38
* php: https://github.com/dongooo
**/
| mit |
jeremyosborne/llogger | llogger.js | 10299 | /* jshint unused:true, undef:true, node:true */
/*
* The lame logger. Standardize the level of message using html tag names
* as logging methods.
*/
var path = require("path");
var util = require("util");
// Just in case colors was not required previously, we need it here.
require("colors");
var argsToArray = f... | mit |
jprichardson/node-path-extra | CHANGELOG.md | 1842 | 4.3.0 / 2019-09-23
------------------
- Add TypeScript typings ([#30](https://github.com/jprichardson/node-path-extra/pull/30))
4.2.1 / 2017-09-01
------------------
- Added argument type-checking for `fileNameWithPrefix()` & `fileNameWithPostfix()` to prevent unexpected behavior. [#28](https://github.com/jprichards... | mit |
derjoachim/derjoachim_nl_v3 | _posts/2011-12-03-on-programming-pet-projects.markdown | 4230 | ---
layout: post
title: On programming pet projects
joomla_id: 42
joomla_url: on-programming-pet-projects
date: 2011-12-03 11:59:12.000000000 +01:00
author: Joachim van de Haterd
category: Ramblings
tags: [Programming, Nooku]
---
If you stumble upon my little blog, you'll probably notice that I am a web programmer. Alt... | mit |
mathieumack/MvvX.Plugins.OauthClient | MvvX.Plugins.OAuthClient/platforms/android/Plugin.cs | 280 | using MvvmCross;
using MvvmCross.Plugin;
namespace MvvX.Plugins.OAuthClient
{
[MvxPlugin]
public class Plugin : IMvxPlugin
{
public void Load()
{
Mvx.IoCProvider.RegisterSingleton<IOAuthClient>(new PlatformOAuthClient());
}
}
} | mit |
mmkassem/gitlabhq | lib/gitlab/fake_application_settings.rb | 1150 | # frozen_string_literal: true
# This class extends an OpenStruct object by adding predicate methods to mimic
# ActiveRecord access. We rely on the initial values being true or false to
# determine whether to define a predicate method because for a newly-added
# column that has not been migrated yet, there is no way to... | mit |
subhamoykarmakar224/GREQuant | DEMO_PROJ_01/app/src/androidTest/java/com/home/pori/demo_proj_01/ExampleInstrumentedTest.java | 756 | package com.home.pori.demo_proj_01;
import android.content.Context;
import android.support.test.InstrumentationRegistry;
import android.support.test.runner.AndroidJUnit4;
import org.junit.Test;
import org.junit.runner.RunWith;
import static org.junit.Assert.*;
/**
* Instrumentation test, which will execute on an A... | mit |
si-quimera/avante | application/views/bolsa_trabajo/alka/postulate.php | 8109 | <!-- ####### -->
<!-- Content -->
<!-- ####### -->
<main>
<div class="main-content">
<!-- ###### -->
<!-- Header -->
<!-- ###### -->
<div class="row">
<div class... | mit |
lightning-robotics/FTC-Cascade-Effect | Project/Movement/test.c | 2512 | #pragma config(Hubs, S1, HTMotor, HTMotor, HTMotor, none)
#pragma config(Hubs, S4, HTServo, none, none, none)
#pragma config(Sensor, S1, , sensorI2CMuxController)
#pragma config(Sensor, S4, , sensorI2CMuxController)
#pragma config(Motor, motorA, , ... | mit |
simonmysun/praxis | TAIHAO2019/pub/SmallGame/AsFastAsYouCan2/6ae5828a81a3fe7940ffd7d34292506ce45762ef852c72d6bb4ee22aef6b6916.html | 550 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>18 --> 19</title>
<link href="./../../assets/style.css" rel="stylesheet">
</head>
<body>
<h2>You have to be fast</h2>
<a href="./5d360ab0674062fcc644f37795e27b8c2546d400182dd5ad4909f1d3ee8372ce.html">Teleport</a>
<hr>
... | mit |
eqcss/eqcss | demos/nav.html | 6891 | <!DOCTYPE html>
<html>
<head>
<meta charset=utf-8>
<meta name=viewport content="width=device-width, initial-scale=1">
<title>Navigation Menu with Element Queries</title>
<meta name="description" content="Bootstrap-free lightweight mobile-friendly nav menu with dropdowns you can use for adding navigation to a pa... | mit |
saul/demofile | docs/interfaces/_sendtabletypes_.ctebeamring.html | 7657 | <!doctype html>
<html class="default no-js">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>CTEBeamRing | demofile</title>
<meta name="description" content="Documentation for demofile">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="styl... | mit |
Romakita/ts-express-decorators | packages/core/src/domain/Store.spec.ts | 5880 | import {expect} from "chai";
import Sinon from "sinon";
import {CLASS_STORE, descriptorOf, Metadata, METHOD_STORE, PARAM_STORE, PROPERTY_STORE, prototypeOf, Store} from "../../src";
class FakeMetadata {
attr1: any;
attr2: any;
constructor(public target: any) {}
test() {
return this.target;
}
}
class S... | mit |
millere/dorp | dorp.go | 2034 | package dorp
import (
"errors"
"fmt"
"io"
"golang.org/x/crypto/nacl/secretbox"
)
// A SetMessage is the Go representation of the JSON message
// sent to set states
type SetMessage struct {
DoorState string
LightState string
}
// A State is a binary condition of the door or lights.
type State byte
//go:gene... | mit |
pixel-21/ECceresA | meta/documents/changelog_de.md | 174 | # Release Notes für ECceresA
## v1.0.0
### Hinzugefügt
[Weitere Informationen](https://developers.plentymarkets.com/marketplace/plugin-requirements#marketplace-changelog) | mit |
mczal/spring-naivebayes | src/main/java/com/mczal/nb/controller/InputSetController.java | 9792 | package com.mczal.nb.controller;
import com.mczal.nb.dto.InputSetDtoRequest;
import com.mczal.nb.service.hdfs.HdfsService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.spring... | mit |
whjvenyl/vue-touch-next | test/specs/enabledProps.js | 1679 | // setup global chai methods
import { expect } from 'chai'
import Vue from 'vue/dist/vue.common'
import VueTouch from '../helpers/vue-touch'
import {
createFromTemplate,
isEnabled,
isDisabled,
allDisabled
} from '../helpers'
describe('VueTouch.enabledProps', () => {
beforeEach(() => {
Vue.use(VueTouch)... | mit |
BuzzAcademy/idioms-moe-unformatted-data | all-data/1000-1999/1711-31.html | 2102 | <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 |
Dhiraj3005/Mastering-C-Sharp-and-.NET-Framework | Chapter13/1-SubClassing/SubClassing/Form1.Designer.cs | 1383 | namespace SubClassing
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param ... | mit |
seutje/saxomochrome | docs/Transport.html | 27524 | <!DOCTYPE html>
<html>
<head>
<title>Tone Docs</title>
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<link rel="stylesheet" type="text/css" href="style/style.css">
<link rel="stylesheet" type="text/css" href="style/tomorrow.css">
</head>
<body>
<div id="content">
<di... | mit |
panyz/GankAndPanyz | src/pages/PersonalInfoPage.js | 1320 | import React, {Component} from 'react';
import {StyleSheet, Image, View, Text} from 'react-native';
export default class PersonalInfo extends Component {
static navigationOptions = {
headerTitle: "我",
};
render() {
return (
<View style={styles.container}>
<Imag... | mit |
okfn/opendataindex-2015 | place/canada/water/2014/index.html | 8126 | <!DOCTYPE html>
<html lang="en">
<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="author" content="Open Knowledge">
<meta name="description" content="The Global Open Data Index assesse... | mit |
okfn/opendataindex-2015 | place/sierra-leone/weather/2014/index.html | 8162 | <!DOCTYPE html>
<html lang="en">
<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="author" content="Open Knowledge">
<meta name="description" content="The Global Open Data Index assesse... | mit |
ISO-tech/sw-d8 | web/2007-1/620/620_03_Congress.php | 6602 | <html>
<head>
<title>
Why can't Congress oppose the war?
</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<?php include "../../legacy-includes/Script.htmlf" ?>
</head>
<body bgcolor="#FFFFCC" text="000000" link="990000" vlink="660000" alink="003366" leftmargin="0" topmargin="0">
<tab... | mit |
jvanderhyde/worlds-tiniest-platformer | TiniestPlatformer/src/ImageSprite.java | 2494 | //2D sprite class
//Created by James Vanderhyde, 31 May 2010
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.GraphicsConfiguration;
import java.awt.Image;
import java.awt.Rectangle;
import java.awt.geom.Rectangle2D;
import java.awt.image.BufferedImage;
import javax.swing.ImageIcon;
public class ... | mit |
ITechRoof/ITRCloud | ITRCloudDemo/ITRCloud-Part1/ITRCloud-Part1/ViewController.h | 249 | //
// ViewController.h
// ITRCloud-Part1
//
// Created by kiruthika selvavinayagam on 3/30/16.
// Copyright © 2016 kiruthika selvavinayagam. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface ViewController : UIViewController
@end
| mit |
dynius/densecoin | src/qt/guiutil.cpp | 13505 | #include "guiutil.h"
#include "bitcoinaddressvalidator.h"
#include "walletmodel.h"
#include "bitcoinunits.h"
#include "util.h"
#include "init.h"
#include "base58.h"
#include <QString>
#include <QDateTime>
#include <QDoubleValidator>
#include <QFont>
#include <QLineEdit>
#include <QUrl>
#include <QTextDocument> // For ... | mit |
dwickern/scala-nameof | src/test/scalajvm/com/github/dwickern/macros/AnnotationTest.scala | 1647 | package com.github.dwickern.macros
import com.github.dwickern.macros.NameOf._
import org.scalatest.funsuite.AnyFunSuite
import org.scalatest.matchers.should.Matchers
import javax.annotation.Resource
/**
* Arguments to Java runtime annotations must be compile-time constants.
*
* Blackbox macros widen... | mit |
angular/angular-cli-stress-test | src/app/components/comp-2654/comp-2654.component.ts | 484 | /**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
import { Component, OnInit } from '@angular/core';
@Component({
selector: 'app-comp-2654',
templateUrl: './comp... | mit |
Andrei-Straut/statkins | src/main/webapp/src/app/test-mock/services/jenkins-data.mock.service.ts | 1159 | import {Injectable} from '@angular/core';
import {IJenkinsData} from 'jenkins-api-ts-typings';
import {IJenkinsNode} from 'jenkins-api-ts-typings';
import {IJenkinsJob} from 'jenkins-api-ts-typings';
import {IJenkinsBuild} from 'jenkins-api-ts-typings';
import {IJenkinsUser} from 'jenkins-api-ts-typings';
import {IJen... | mit |
d-kostov-dev/ng2-mdf-validation-messages | src/config.ts | 1563 | export class ValidationMessagesConfiguration {
class: string;
defaultErrorMessages: DefaultErrorMessages;
}
export class DefaultErrorMessages {
required: string;
pattern: string;
email: string;
minLength: string;
maxLength: string;
minNumber: string;
maxNumber: string;
noEmpty:... | mit |
stoplightio/gitlabhq | spec/controllers/projects/discussions_controller_spec.rb | 5740 | # frozen_string_literal: true
require 'spec_helper'
describe Projects::DiscussionsController do
let(:user) { create(:user) }
let(:merge_request) { create(:merge_request) }
let(:project) { merge_request.source_project }
let(:note) { create(:discussion_note_on_merge_request, noteable: merge_request, project: pr... | mit |
wwwfreedom/FreeCodeCamp | src/components/PomoTime/AudioPlayer/AudioPlayer.js | 2976 | /**
* https://gist.github.com/gaearon/830490fc17d3fccc88c9
* Inspiration and apdatation from code in the link above
*/
import React, { Component, PropTypes } from 'react'
import ReactDOM from 'react-dom'
export default class AudioPlayer extends Component {
static propTypes = {
source: PropTypes.string.isRequ... | mit |
aam/cfserver-sublime-bundle | README.md | 2912 | # Cfserver C/C++ bundle for Sublime
===================================
This bundle brings C/C++ static analysis capabilities provided by Advanced Tools [Cfserver](http://www.adv-tools.com/) to Sublime Text. The following features are currently provided:
* Errors/warnings reported by Cfserver.
* Navigation to d... | mit |
craigwmcclellan/craigwmcclellan.github.io | _site/page/163/index.html | 20240 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta content="Craig McClellan" name="author">
<title>Craig McClellan - Page 163</title>
<link href="/asset... | mit |
jjenki11/blaze-chem-rendering | qca_designer/lib/ml-pnet-0.8.1/mcs-sources/class/System.Web/System.Web.UI.WebControls/FormViewModeEventHandler.cs | 1400 | //
// System.Web.UI.WebContrls.FormViewModeEventHandler.cs;
//
// Authors:
// Sanjay Gupta (gsanjay@novell.com)
//
// (C) 2004 Novell, Inc (http://www.novell.com)
//
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Soft... | mit |
rjayroach/cache-party | lib/cache_party/engine.rb | 845 |
#
# 3rd party libraries
require 'celluloid'
require 'celluloid/autostart'
require 'exception_notification'
require 'koala'
require 'open-uri'
require 'sucker_punch'
# local libraries
require_relative 'facebook/helpers'
module CacheParty
class Engine < ::Rails::Engine
initializer :assets do |config|
Rail... | mit |
openfact/openfact-temp | services/src/main/java/org/openfact/ubl/send/ServiceWrapper.java | 3016 | package org.openfact.ubl.send;
import java.util.HashMap;
import java.util.Map;
import java.util.Properties;
import org.apache.cxf.configuration.jsse.TLSClientParameters;
import org.apache.cxf.configuration.security.FiltersType;
import org.apache.cxf.endpoint.Client;
import org.apache.cxf.frontend.ClientProxy;
import ... | mit |
NESCent/max-bodysize-evol | doc/rdoc/classes/BodysizeController.src/M000178.html | 15950 | <?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>search (BodysizeController)</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<lin... | mit |
BeaconPlatform/frontend | application/entry.ts | 376 | export * from './modules';
import {dependencies} from './dependencies';
import {default as bootstrap} from './bootstrap';
import {default as run} from './run';
export const application: angular.IModule = angular.module(
'Beacon',
dependencies
);
// Bootstrap the application.
bootstrap(application).then((): void... | mit |
abneye/CSCI2963-01-Spring2017 | lab04/step03/TutorialConfig.h | 142 | // the configured options and settings for Tutorial
#define Tutorial_VERSION_MAJOR 1
#define Tutorial_VERSION_MINOR 0
/* #undef USE_MYMATH */
| mit |
vasilchavdarov/SoftUniHomework | Projects/Exam Programing Fundamentals/probno/Program.cs | 244 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace probno
{
class Program
{
static void Main(string[] args)
{
}
}
}
| mit |
abdeltiflouardi/VotreTicketAvion | web/css/base.css | 8456 | /*
HTML5 ✰ Boilerplate
style.css contains a reset, font normalization and some base styles.
credit is left where credit is due.
much inspiration was taken from these projects:
yui.yahooapis.com/2.8.1/build/base/base.css
camendesign.com/design/
praegnanz.de/weblog/htmlcssjs-kickstart
*/
/*
... | mit |
robertrypula/AudioNetwork | example/00-03-02-wave-analyser-performance/wave-analyser-performance.js | 2472 | // Copyright (c) 2015-2018 Robert Rypuła - https://audio-network.rypula.pl
'use strict';
var
AudioMonoIO = AudioNetwork.Rewrite.WebAudio.AudioMonoIO,
WaveAnalyser = AudioNetwork.Rewrite.Dsp.WaveAnalyser;
function init() {
}
function checkWaveAnalyserPerformance() {
var log;
log = '';
log += runP... | mit |
302bis/figma-app-ubuntu | app/node_modules/electron-builder/out/fileMatcher.js | 11762 | "use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.FileMatcher = exports.excludedNames = undefined;
var _bluebirdLst;
function _load_bluebirdLst() {
return _bluebirdLst = require("bluebird-lst");
}
var _bluebirdLst2;
function _load_bluebirdLst2() {
return _bluebirdLst2... | mit |
scienceaction/scienceaction.github.io | assets/js/scienceaction.js | 350 | ;(function($){
"use strict";
// youtube
var fnResizeMedia = function() {
$("div.movie").each(function(i, el){
$("iframe", el).each(function(j, iframe){
var w = $(el).width();
var h = w * 0.5625;
$(iframe).width(w);
$(iframe).height(h);
})
})
};
// --
fnResizeMedia();
$(window).resiz... | mit |
kuangdai/AxiSEM3D | SOLVER/src/preloop/physics/relabelling/Relabelling.cpp | 11028 | // Relabelling.cpp
// created by Kuangdai on 6-Jun-2016
// particle relabelling
#include "Relabelling.h"
#include "Quad.h"
#include "SpectralConstants.h"
#include "Geometric3D.h"
#include "XMath.h"
#include "Geodesy.h"
#include "PreloopFFTW.h"
#include "PRT_1D.h"
#include "PRT_3D.h"
Relabelling::Relabelling(const Qu... | mit |
AvS2016/ParallelTSP | src/genetic/RandomPopulationGenerator.hpp | 610 | #ifndef GENETIC_RANDOMPOPULATIONGENERATOR_HPP_
#define GENETIC_RANDOMPOPULATIONGENERATOR_HPP_
#include "data/Graph.hpp"
#include "genetic/Population.hpp"
namespace tsp
{
class RandomPopulationGenerator
{
private:
const Graph &graph_;
unsigned int startNode_;
public:
RandomPopul... | mit |
domkog/AdvancedLogicSimulator | AdvancedLogicSimulator/src/at/fishkog/als/ui/actions/Actions.java | 750 | package at.fishkog.als.ui.actions;
import java.util.Stack;
import at.fishkog.als.AdvancedLogicSimulator;
public class Actions {
//TODO Temp needs to be initialized in each project
public static final Actions instance = new Actions();
private Stack<Action> actions;
public Actions() {
actions ... | mit |
clarus/slides-coq-gt-october-2014 | index.tex | 4989 | \documentclass{beamer}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage{graphicx}
\usepackage{amsmath,amsfonts,amssymb}
\usepackage{tikz}
\begin{document}
\title{OPAM for Coq}
\author{Guillaume Claret}
\date{October 23, 2014 - Coq Working Group}
\maketitle
\section*{Need... | mit |
autofac/Autofac.Extras.NHibernate | src/Autofac.Extras.NHibernate/Bytecode/AutofacReflectionOptimizer.cs | 2949 | // This software is part of the Autofac IoC container
// Copyright (c) 2013 Autofac Contributors
// https://autofac.org
//
// 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
// restr... | mit |
datamade/elpc_bakken | ocr_extracted/W29300_text/page90.html | 4221 |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>W29300_text</title>
<link rel="stylesheet" type="text/css" href="style.css" />
</head>
<body>
<div style="margin-left: auto; margin-right: auto; width: 800px; overflow: hidden;">
... | mit |
RemoteMetering/geteventstore-promise | tests/support/getTcpConfigCustomConnectionName.js | 399 | export default () => ({
hostname: process.env.ES_HOST || 'localhost',
port: 1116,
useSslConnection: global.runningTestsInSecureMode,
validateServer: !global.runningTestsInSecureMode,
credentials: {
username: 'admin',
password: 'changeit'
},
poolOptions: {
autostart: false,
max: 10,
min: 0
},
connecti... | mit |
minhhoit/minhhoit.github.io | _posts/2018-11-21-node-api-functions.md | 5361 | ---
layout: post
title: Node API Hooks
comments: true
categories: ["drupal 7"]
tags: ["drupal", "drupal 7"]
---
### Node API Function
Functions to define and modify content types.
Each content type is maintained by a primary module, which is either node.module (for content types created in the user interface) or the ... | mit |
naufraghi/rust-cpython | src/py_class/gc.rs | 5520 | // Copyright (c) 2016 Daniel Grunwald
//
// 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, merge,
// publis... | mit |
pwcz/ml_embedded | simulation_tool/symulator.py | 11083 | #!/usr/bin/env python3
# -*- coding: UTF-8 -*-
import datetime
import numpy as np
from copy import deepcopy
import sys
import logging
class System:
def __init__(self, _start_time, start_power=0, test_plan=None):
self.start_power = start_power
self.power_left = self.start_power
self.last_ev... | mit |
darkmuzo/staging | components/forms/button.php | 309 | <h4 id="buttons" class="section-header">Buttons</h4>
<div class="bs-component">
<a class="button-link" href="">Button Link</a>
<a class="button" href="">Anchor Button</a>
<button>Button Element</button>
<input type="submit" value="submit input">
<input type="button" value="button input">
</div>
| mit |