repo_name stringlengths 4 116 | path stringlengths 3 942 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
alienscience/particle-filter | README.md | 1317 |
# Resample move particle filter
> Following a moving target -- Monte Carlo inference for dynamic Bayesian models
>
> Walter R. Gilks, Carlo Berzuini
>
> Journal of the Royal Statistical Society: Series B (Statistical Methodology) (2001), pp. 127-146
This is unfinished but is meant to become an implementation of a re... | mit |
pj-infest/Pizza_Day | imports/ui/pages/group_menu/group-menu.html | 618 | <template name="groupMenu">
{{#with groupRecord}}
<h3>Group:
{{name}}
<small>
{{description}}
</small>
</h3>
{{/with}}
<hr>
{{#if isShowCoupons}}
{{> groupCoupons groupId = groupId}}
{{/if}}
<h3>
Menu items
... | mit |
petrjanda/rddd | spec/lib/authorization/rule_spec.rb | 1195 | require 'spec_helper'
require 'rddd/authorization/rule'
describe Rddd::Authorization::Rule do
let(:action) { :foo }
let(:block) { lambda { |user, params| true } }
let(:authorize) do
Rddd::Authorization::Rule.new(
action, &block
)
end
describe 'should raise if rule block is invalid' do
l... | mit |
mizuy/seqtool | setup.py | 2123 | import os,sys
#import ez_setup
#ez_setup.use_setuptools()
from setuptools import setup, find_packages
import numpy
from Cython.Build import cythonize
# not compatible with distribute
#from distutils.extension import Extension
#from Cython.Distutils import build_ext
version = '0.7.0'
README = os.path.join(os.path.di... | mit |
biarne-a/Zebus | src/Abc.Zebus/Routing/BindingKeyPredicateBuilder.cs | 4768 | using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
namespace Abc.Zebus.Routing
{
public class BindingKeyPredicateBuilder : IBindingKeyPredicateBuilder
{
private stat... | mit |
visilabs/Visilabs-IOS | Pod/Classes/VisilabsResponseDelegate.h | 773 | //
// VisilabsResponseDelegate.h
// Visilabs-IOS
//
// Created by Visilabs on 8.12.2015.
// Copyright © 2015 Visilabs. All rights reserved.
//
#import <Foundation/Foundation.h>
@class VisilabsResponse;
@class VisilabsAction;
/**
The delegate class to process the response data. If callback blocks are not
used i... | mit |
richardpiazza/LCARSDisplayKit | Workspace/LCARSDisplayKitUI/LCARSDisplayKitUI.h | 557 | //
// LCARSDisplayKitUI.h
// LCARSDisplayKitUI
//
// Created by Richard Piazza on 1/5/18.
// Copyright © 2018 Richard Piazza. All rights reserved.
//
#import <UIKit/UIKit.h>
//! Project version number for LCARSDisplayKitUI.
FOUNDATION_EXPORT double LCARSDisplayKitUIVersionNumber;
//! Project version string for L... | mit |
tknerr/ruby-devpack | CHANGELOG.md | 1395 |
# 0.4 (unreleased)
* ...
# 0.3.1 (March 09, 2015)
* add `~/.bundle/config`, which
* enables parallelism while downloading / installing gems
* enables up to 3 retries when downloading gems
* sets `BUNDLE_PATH` to `~/.gem/ruby/2.2.0` where all bundle installed gems will now end up
# 0.3 (March 08, 2... | mit |
yunxu1019/efront | coms/zimoli/anchor.js | 423 | var a = createElement("a");
attr(a, 'href', "");
function anchor(label, href) {
var element = createElement(a);
attr(element, "href", label);
if (isString(label)) {
text(element, label);
} else {
appendChild(element, label);
}
onclick(element, function (event) {
if (/^\w+... | mit |
Mihai925/EduCoding | templates/static/custom/css/panel.css | 55 | html body {
background-color: rgba(0, 0, 0, 0.05)
} | mit |
justyn-clark/mylockedemo | controllers/api.js | 15388 | 'use strict';
/**
* Module Dependencies
*/
var config = require('../config/config');
var _ = require('lodash');
var Twit = require('twit');
var async = require('async');
var debug = require('debug')('skeleton'); // https://github.com/visionmedia/debug
var graph ... | mit |
msfrisbie/pjwd-src | Chapter16DOMLevels2And3/Ranges/CollapsingADOMRange/CollapsingADOMRangeExample01.js | 108 | range.collapse(true); // collapse to the starting point
console.log(range.collapsed); // outputs "true"
| mit |
TechnoGate/contao_template | contao/videobox_vimeo/system/modules/videobox_vimeo/languages/lv/tl_videobox_settings.php | 2269 | <?php
/**
* TL_ROOT/system/modules/videobox_vimeo/languages/lv/tl_videobox_settings.php
*
* Contao extension: videobox_vimeo 1.0.1 stable
* Latvian translation file
*
* Copyright : David Enke 2010
* License : GNU/GPL
* Author : David Enke (david.enke), www.davidenke.de
* Translator: Maris Celmins ... | mit |
mbostler/blog5 | config/environments/production.rb | 4041 | Rails.application.configure do
# Settings specified here will take precedence over those in config/application.rb.
# Code is not reloaded between requests.
config.cache_classes = true
# Eager load code on boot. This eager loads most of Rails and
# your application in memory, allowing both threaded web serve... | mit |
brandedcrate/payjunction-magento | app/code/community/Brandedcrate/Payjunction/Model/Result.php | 82 | <?php
class Brandedcrate_Payjunction_Model_Result extends Varien_Object
{
}
| mit |
liqu0/KentChat | src/server/typings/globals/strftime/index.d.ts | 2057 | // Generated by typings
// Source: https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/80060c94ef549c077a011977c2b5461bd0fd8947/strftime/index.d.ts
declare module "strftime" {
type strftimeFunction = (format: string, date?: Date) => string;
namespace strftime {
/**
* Sets locale.... | mit |
nokia-wroclaw/innovativeproject-meetinghelper | server/NodeTest/models/userRoom.js | 236 | var Sequelize = require('sequelize');
var sequelize = require('./db.js').Sequelize;
var UserRooms = sequelize.define('UserRooms', {
}, {
updatedAt: false,
createdAt: false
});
module.exports = UserRooms;
| mit |
eternnoir/nsds | README.md | 38 | # nsds
.Net Shared Dictionary Service
| mit |
cliss/accidentalbot | README.md | 484 | accidentalbot
=============
Node/websockets based IRC bot.
Work in progress.
In the `webclient/` directory there is a javascript and HTML file that
show the general idea behind how a client would work.
Configuration is via the environment variable `CHANNEL`.
An example implementation can be found on the [Freenode]... | mit |
cr88192/bgbtech_engine2 | bgbrasw/include/bgbrasw/inlines.h | 7000 | /*
static inlines for BGBRASW.
*/
extern u32 bgbrasw_divtab_s32_u16[65536];
static inline float RASWGL_HalfToFloat(u16 hfv)
{
u32 sg, ex, fp;
u32 v;
sg=(hfv&0x8000)<<16;
// ex=((hfv&0x7C00)<<13)+(112U<<23);
// fp=(hfv&0x03FF)<<13;
// v=sg|ex|fp;
ex=((hfv&0x7FFF)<<13)+(112U<<23);
v=sg|ex;
return(*(float *)(&v)... | mit |
magnetised/spontaneous | application/js/panel/root_menu.js | 1921 | (function(S, $) {
var dom = S.Dom;
var sharedUserAdmin = new Spontaneous.MetaView.UserAdmin();
var RootMenuView = new JS.Class(S.PopoverView, {
initialize: function(afterCloseCallback) {
this.afterCloseCallback = afterCloseCallback;
this.callSuper();
},
width: function() {
return 250;
},
title: fu... | mit |
rasel01/Project-1-Online-Cafeteria- | source/UiuCanteen/UiuCanteen.Domain/Concrete/EFDbContext.cs | 377 | using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UiuCanteen.Domain.Entities;
namespace UiuCanteen.Domain.Concrete
{
public class EFDbContext : DbContext
{
public DbSet<Product> Products { get; set; }
... | mit |
krambuhl/rogain | test/render.test.js | 318 | const renderToString = require('rogain-render-string');
const html = require('html').prettyPrint;
const config = require('./render.config.js');
const data = require('./fixtures/data.json');
var output = renderToString(config.components.get('Template'), data, config);
console.log(html(output, { unformatted: [] })); | mit |
mpg-age-bioinformatics/bit | README.md | 7001 | # bit [](https://travis-ci.org/mpg-age-bioinformatics/bit)
**The [b]ermuda [i]nformation [t]riangle is a git-based tool for the management of code and data.**
It uses git for code versioning and ownCloud for storing and exchanging data... | mit |
shopOFF/TelerikAcademyCourses | Web-Applications-with-Node.js/NodeJs-Homeworks & Exams/nodeJSWorkshop/controllers/planets-controller.js | 316 | module.exports = function(planetsData) {
planetsData.createPlanet("Earth")
.then((planet) => {
console.log("Created new Planet");
console.log(planet);
})
.catch(() => {
console.log("Error");
console.dir(err, { colors: true });
});
} | mit |
greenheartgames/greenworks | src/greenworks_workshop_workers.cc | 20261 | // Copyright (c) 2014 Greenheart Games Pty. Ltd. All rights reserved.
// Use of this source code is governed by the MIT license that can be
// found in the LICENSE file.
#include "greenworks_workshop_workers.h"
#include <algorithm>
#include "nan.h"
#include "steam/steam_api.h"
#include "v8.h"
#include "greenworks_u... | mit |
Mistuke/GhcWindowsBuild | nofib-reports/report.2017.11.17.tex | 2757 | \begin{tabular}{ c c c c c c }
Program & Size & Allocs & Runtime & Elapsed & TotalMem\\
\hline
\end{tabular}
\begin{verbatim}
[("Project name","The Glorious Glasgow Haskell Compilation System")
,("GCC extra via C opts"," -fwrapv -fno-builtin")
,("C compiler command","$topdir/../mingw/bin/gcc.exe")
,("C compiler ... | mit |
sitewards/tsp-php-magazin | js-implementation/css/main.css | 46 | body{
font: 70% "Trebuchet MS", sans-serif;
} | mit |
Pilex1/Pilex1.github.io | Projects/Wireworld/camera.js | 562 | class Camera {
static init() {
this.position = vec3.fromValues(-Terrain.tiles.length/2, -Terrain.tiles[0].length/2, -1 * slider_zoom.value);
this.rotation = vec3.fromValues(0, 0, 0);
}
static getViewMatrix() {
var q = quat.create();
quat.rotateX(q, q, this.rotation[0]);
qu... | mit |
nordsoftware/react-boilerplate | flow-typed/npm/file-loader_vx.x.x.js | 854 | // flow-typed signature: 0c204e964f1f481a1264241a5b5d246a
// flow-typed version: <<STUB>>/file-loader_v0.11.2/flow_v0.52.0
/**
* This is an autogenerated libdef stub for:
*
* 'file-loader'
*
* Fill this stub out by replacing all the `any` types.
*
* Once filled out, we encourage you to share your work with th... | mit |
derrickpelletier/hyper | lib/utils/key-code.js | 1367 | /**
* Keyboard event keyCodes have proven to be really unreliable.
* This util function will cover most of the edge cases where
* String.fromCharCode() doesn't work.
*/
const _toAscii = {
188: '44',
109: '45',
190: '46',
191: '47',
192: '96',
220: '92',
222: '39',
221: '93',
219: '91',
173: '45... | mit |
techhahn/Result-Analyzer | public/packages/app/directives/app.navigationbarDirective.js | 969 | /**
* result Module
*
* Description
*/
angular
.module('result')
.directive('navBar', navBar);
navBar.$inject = ['loginService', '$log', '$location'];
function navBar(loginService, $log, $location) {
return {
restrict: 'A',
link: function(scope, element, attrs, controller) {
loginService.user()
.success(... | mit |
unaio/una | inc/classes/BxDolAcl.php | 35178 | <?php defined('BX_DOL') or die('hack attempt');
/**
* Copyright (c) UNA, Inc - https://una.io
* MIT License - https://opensource.org/licenses/MIT
*
* @defgroup UnaCore UNA Core
* @{
*/
/**
* Message constants passed to _t_ext() function by checkAction()
*
* NOTE: checkAction() returns language dependent me... | mit |
joshjconlin/react-native-multi-slider-1 | DefaultMarker/index.js | 1946 | import React, { PureComponent } from 'react';
import PropTypes from 'prop-types';
import { ViewPropTypes, Text, View } from 'react-native';
import Icon from 'react-native-vector-icons/MaterialCommunityIcons';
import getStyles from './styles';
export default class DefaultMarker extends PureComponent {
static propTyp... | mit |
ccyongzhi/ccBlog | source/_posts/LeanCloud推送服务的使用.md | 3499 | ---
title: LeanCloud推送服务的使用
date: 2016-11-13 15:32:35
tags:
- LeanCloud
---
最近在做一个公司内部员工使用的即时通讯系统,我主要负责前端Web开发的工作。经过调研,决定使用LeanCloud作为推送服务提供方。下面介绍一下在前端项目中使用LeanCloud的一点心得。
使用LeanCloud,首先要注册一个LeanCloud账户,创建一个新的应用后,在设置界面可以看到该应用对应的AppID和AppKey,这两个参数在LeanCloud初始化的时候需要用到。
... | mit |
lgcarrier/APEXFramework | 5.2.3/Database/Constraints/AFW_25_PARMT_PUBLC_TRAVL_FK2.sql | 226 | SET DEFINE OFF;
ALTER TABLE AFW_25_PARMT_PUBLC_TRAVL ADD (
CONSTRAINT AFW_25_PARMT_PUBLC_TRAVL_FK2
FOREIGN KEY (REF_PARMT_TYPE_PUBLC)
REFERENCES AFW_25_PARMT_TYPE_PUBLC (SEQNC)
ON DELETE CASCADE
ENABLE VALIDATE)
/
| mit |
nublet/APRBase | APRBase.ConnectionDialog/Delegates.vb | 528 | Imports System.ComponentModel
Public Delegate Function CanResetValueHandler(component As Object) As Boolean
Public Delegate Function GetChildPropertiesHandler(instance As Object, filter As Attribute()) As PropertyDescriptorCollection
Public Delegate Function GetValueHandler(component As Object) As Object
Public Deleg... | mit |
GuMiner/agow | Utils/Vertex.h | 2834 | #pragma once
// List of vertex types that are sendable to OpenGL
#include <vector>
#include <GL/glew.h>
#include <glm\vec2.hpp>
#include <glm\vec3.hpp>
#include <glm\vec4.hpp>
struct universalVertices
{
private:
// Sends floating-point vec2/3/4 data to OpenGL
template<typename T>
static void SendToOpenGl(... | mit |
PulseraMartin/docking_station | uploader/dynamoDBManager.js | 1405 | // // Load the AWS SDK for Node.js
// var i = console.log(Math.round(new Date().getTime()/1000.0).toFixed(1));
// var AWS = require('aws-sdk');
// var path = require('path');
// var fs = require('fs');
//
// // Load credentials and set region from JSON file
// AWS.config.loadFromPath("/Users/jorge/Documents/javas... | mit |
thujeevan/c2g | src/Base/FoundationPile.php | 3047 | <?php
namespace c2g\Base;
/**
* FoundationPile base class
*
* @author Thurairajah Thujeevan <thujee@gmail.com>
*/
class FoundationPile extends Pile {
const LIMIT = 13;
const NAME = 'Foundation';
/**
* data member of this class, which holds the base card
* when this pile is circular
... | mit |
ioriiod0/chrysanthemum | chrysanthemum/action/comparer.h | 1850 | // ======================================================================================
// File : comparer.h
// Author : Lei Gao
// Last Change : 12/17/2011 | 16:20:06 PM | Saturday,December
// Description :
// ======================================================================================
#if... | mit |
ndvalkov/TelerikAcademy2016 | Homework/CSharp-Part-2/03. Methods/SayHello.cs | 235 | using System;
class SayHello
{
static void Main()
{
string name = Console.ReadLine();
printName(name);
}
static void printName(string name)
{
Console.WriteLine("Hello, {0}!", name);
}
} | mit |
MasterX1582/bitcoin-becoin | src/qt/addresstablemodel.cpp | 14351 | // Copyright (c) 2011-2013 The BeCoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "addresstablemodel.h"
#include "guiutil.h"
#include "walletmodel.h"
#include "base58.h"
#include "wallet/wallet.h"
... | mit |
GregoryComer/rust-x86asm | src/test/instruction_tests/vpunpckhqdq.rs | 5565 | use ::{BroadcastMode, Instruction, MaskReg, MergeMode, Mnemonic, OperandSize, Reg, RoundingMode};
use ::RegType::*;
use ::instruction_def::*;
use ::Operand::*;
use ::Reg::*;
use ::RegScale::*;
fn vpunpckhqdq_1() {
run_test(&Instruction { mnemonic: Mnemonic::VPUNPCKHQDQ, operand1: Some(Direct(XMM4)), operand2: Some... | mit |
plotly/python-api | packages/python/plotly/plotly/validators/pie/hoverlabel/_bgcolor.py | 499 | import _plotly_utils.basevalidators
class BgcolorValidator(_plotly_utils.basevalidators.ColorValidator):
def __init__(self, plotly_name="bgcolor", parent_name="pie.hoverlabel", **kwargs):
super(BgcolorValidator, self).__init__(
plotly_name=plotly_name,
parent_name=parent_name,
... | mit |
Kjoep/moola | moola-domain/src/main/java/be/echostyle/moola/GroupedAccount.java | 3248 | package be.echostyle.moola;
import be.echostyle.moola.filters.TransactionFilter;
import java.time.LocalDateTime;
import java.util.Comparator;
import java.util.List;
import java.util.Set;
import java.util.stream.Collectors;
public interface GroupedAccount extends Account {
default AccountType getType... | mit |
PiotrJander/sik-achtung-die-kurve | gui/gui3/gui3.c | 11749 | #include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <string.h>
#include <stdlib.h>
#include <errno.h>
#include <fcntl.h>
#include <glib.h>
#include <gdk/gdkkeysyms-compat.h>
#include <gtk/gtk.h>
#include "err.h"
#include "read_line.h"
#include "gui.h"
// Maks. długość komunikatu
#define B... | mit |
BASM/libstwi | README.md | 483 | libtwi
======
Universal software TWI library under MIT licence.
Software TWI (I2C-Compatible) library.
The library is not linked to a particular hardware.
It include test and software model.
It can be used in AVR, ARM and other devices.
Blueprints:
First step: (not completed)
* Lib: TWI master reading from slav... | mit |
DannyBen/bobkit | examples/03_options/example.rb | 558 | # Options
require 'bobkit'
include Bobkit::Tasks
# Set options (these are only partial, and the defaults)
templates_folder 'templates'
layouts_folder "#{templates_folder}/layouts"
styles_folder 'styles'
output_folder 'output'
css_output_folder "#{output_folder}/css"
js_output_fol... | mit |
CS2103JAN2017-F11-B1/main | src/main/java/seedu/jobs/storage/XmlTaskBookStorage.java | 2457 | package seedu.jobs.storage;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.Optional;
import java.util.logging.Logger;
import seedu.jobs.commons.core.LogsCenter;
import seedu.jobs.commons.exceptions.DataConversionException;
import seedu.jobs.commons.util.FileUti... | mit |
utensil/utensil.github.io | source/writings/2012-01-25-20-31-chao-jia.md | 494 | ---
title: 吵架
tags: 吵架, 书写, 爱
date: 2012-01-25 20:31:01 +0800
---
吵架是要吵的,日子也是要一起过的。婚姻如此,国与民亦如此。
国家总是害怕吵架,一旦吵起架来,心里就恨不得对方只有默默做家务的时候,只有温柔的时候,只有侍寝的时候;吵得再凶一点,就起了家暴的念头,起了灭口的念头。这样不好,这样不是长久婚姻之道,这样子谁也没法一起把日子过下去。
| mit |
tweitzel/beets-recordingdate | CHANGELOG.md | 593 | ## 0.3
* Python 3 compatibility (phirestalker)
* Config file support (phirestalker)
* Skip tracks already processed (phirestalker)
* fixed issue where tracks with only recording_year were not written (phirestalker)
* Changed the way things are written to original_date values and date (phirestalker)
* Now uses the music... | mit |
teslitsky/sbts | src/Sbts/Bundle/DashboardBundle/Resources/public/css/app.css | 198 | .login-container {
max-width: 970px;
}
.login {
color: inherit;
}
.login .login-icon {
color: #fff;
}
.form-group .required.control-label:after {
content: " *";
color: red;
}
| mit |
mukulikadey/SOEN341-Group1 | chutzpah/Chutzpah/TestFiles/Jasmine/v2/boot.js | 5936 | /**
Starting with version 2.0, this file "boots" Jasmine, performing all of the necessary initialization before executing the loaded environment and all of a project's specs. This file should be loaded after `jasmine.js` and `jasmine_html.js`, but before any project source files or spec files are loaded. Thus this fil... | mit |
misakuo/Dream-Catcher | app/src/main/java/net/lightbody/bmp/BrowserMobProxyServer.java | 42816 | package net.lightbody.bmp;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.ImmutableMap;
import com.google.common.collect.MapMaker;
import net.lightbody.bmp.client.ClientUtil;
import net.lightbody.bmp.core.har.Har;
import net.lightbody.bmp.core.har.HarLog;
import net.lightbody.bmp.cor... | mit |
openassistive/OATSoft | source/_posts/TouchCD-SwitchCDPlayer.md | 922 | ---
title: TouchCD - Switch CD Player
date: 2016-06-21 17:46:46
tags:
- Computer Automation
- Switch Input Software
- Educational and Learning
- Other function
- Learning and Education
- Other need
---
{% alert info no-icon %}
A very simple switch controlled CD player
{% endalert %}
<!-- more -->
... | mit |
mskog/broad | spec/jobs/refresh_trakt_token_job_spec.rb | 654 | require "spec_helper"
describe RefreshTraktTokenJob do
subject{described_class.new}
Given(:credential){create :credential}
Given!(:stub) do
stub_request(:post, "https://api-v2launch.trakt.tv/oauth/token")
.with(body: {refresh_token: credential.data["refresh_token"], grant_type: "refresh_token"}.to_js... | mit |
patoi/aikido-irimi | public/menu_hu.html | 5443 | <!DOCTYPE html>
<html>
<head>
<title>Menü</title>
<link rel="shortcut icon" href="favicon.ico" />
<meta http-equiv="Cache-Control" content="max-age=3600, must-revalidate">
<link type="text/css" rel="stylesheet" href="css/materialize.min.css" media="screen,projection" />
<meta name="viewport" content="width=d... | mit |
t0930198/shoait | app/bower_components/angular-material/modules/closure/swipe/swipe.js | 1739 | /*!
* Angular Material Design
* https://github.com/angular/material
* @license MIT
* v0.11.4-master-5034a04
*/
goog.provide('ng.material.components.swipe');
goog.require('ng.material.core');
/**
* @ngdoc module
* @name material.components.swipe
* @description Swipe module!
*/
/**
* @ngdoc directive
* @module... | mit |
fairfaxmedia/bitbucket | lib/bitbucket_rest_api/repos/following.rb | 1155 | # encoding: utf-8
module BitBucket
class Repos::Following < API
# List repo followers
#
# = Examples
# bitbucket = BitBucket.new :user => 'user-name', :repo => 'repo-name'
# bitbucket.repos.following.followers
# bitbucket.repos.following.followers { |watcher| ... }
#
def followers... | mit |
jamen/rela | lib/handshake.js | 1440 | 'use strict';
const crypto = require('crypto');
/* lib/handshake.js
* WebSocket handshake.
* * */
module.exports = exports = function(data){
let headers = exports._headers(data);
let sha1 = crypto.createHash('sha1');
sha1.update(headers['sec-websocket-key'] + '258EAFA5-E914-47DA-95CA-C5AB0DC85B11');
let r... | mit |
joebadmo/puppet-osx | spec/classes/time_machine/ask_to_use_new_disks_for_backup_spec.rb | 950 | require 'spec_helper'
describe 'osx::time_machine::ask_to_use_new_disks_for_backup' do
let(:facts) { {:boxen_user => 'ilikebees' } }
describe('enabled') do
let(:params) { {:ensure => 'present'} }
it 'should set the value to true' do
should contain_boxen__osx_defaults('Toggle Whether Time Machine Asks... | mit |
Helpvel/helpvel | src/Helpvel/Helpvel/HelpvelServiceProvider.php | 617 | <?php namespace Helpvel\Helpvel;
use Illuminate\Support\ServiceProvider;
class HelpvelServiceProvider extends ServiceProvider {
/**
* Indicates if loading of the provider is deferred.
*
* @var bool
*/
protected $defer = false;
/**
* Bootstrap the application events.
*
* @return void
*/
public fu... | mit |
KlishGroup/prose-pogs | pogs/C/CRYNCHX/RETTF/index.md | 2893 | ---
layout: page
title: Rain Exquisite Technologies Trade Fair
date: 2016-05-24
author: Deborah Rosales
tags: weekly links, java
status: published
summary: Proin convallis id turpis a pretium. Etiam iaculis.
banner: images/banner/leisure-03.jpg
booking:
startDate: 01/01/2017
endDate: 01/05/2017
ctyhocn: CRYNCHX
... | mit |
kaiocesar/automation-fab | fabfile.py | 4325 | ###############
### imports ###
###############
from fabric.api import cd, env, lcd, put, prompt, local, sudo
from fabric.contrib.files import exists
##############
### config ###
##############
local_app_dir = './flask_project'
local_config_dir = './config'
remote_app_dir = '/home/www'
remote_git_dir = '/home/git... | mit |
johanlantz/headsetpresenter | HeadsetPresenter_Bluetools/Microsoft Speech SDK 5.1/Samples/CPP/Tutorials/CoffeeS5/common.h | 2399 | /******************************************************************************
* Common.h
* This module contains the definitions used by all modules in the
* coffee application.
*
* Copyright (c) Microsoft Corporation. All rights reserved.
***********************************************... | mit |
afunai/bike | t/test_text.rb | 2573 | # encoding: UTF-8
# Author:: Akira FUNAI
# Copyright:: Copyright (c) 2009 Akira FUNAI
require "#{::File.dirname __FILE__}/t"
class TC_Text < Test::Unit::TestCase
def setup
meta = nil
Bike::Parser.gsub_scalar('$(foo text 3 1..5)') {|id, m|
meta = m
''
}
@f = Bike::Field.instance meta... | mit |
gautes/TrollCoinCore | doc/build-unix.md | 12799 | UNIX BUILD NOTES
====================
Some notes on how to build Trollcoin Core in Unix.
(for OpenBSD specific instructions, see [build-openbsd.md](build-openbsd.md))
Note
---------------------
Always use absolute paths to configure and compile trollcoin and the dependencies,
for example, when specifying the path of ... | mit |
vancopackaging/beta.vancopackaging.com | old/material_handling.html | 11023 | <html>
<head>
<meta name="Description" content="Vanco Packaging Corporation">
<meta name="KeyWords" content="protective packaging, boxes, hardigg cases, foam, corrugated, bags, packing supplies">
<meta name="Author" content="T.A. Binkowski">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId"... | mit |
vogelino/periodic-table-data-visualization | src/js/index.js | 1705 | import React from 'react';
import ReactDOM from 'react-dom';
import Deferred from 'deferred-js';
import ElementsModel from './visualizution/elementsModel';
import ElementsList from './visualizution/elementsList';
import ControlsView from './controls/controlsView';
import Immutable from 'immutable';
import styles from '... | mit |
HackGT/hackgt-org-website | _teams/exec.md | 362 | ---
title: ExecBoard
who: exec
---
The HackGT Executive Board is tasked with guiding the vision of HackGT. From orchestrating the team’s actions to ensuring that the standards of the organization are exceeded, this board helps ensure that HackGT is constantly striving to be an organization that has a positive and last... | mit |
deniskucherov/SocketDog | SocketDog.Common/ConnectionProtocol.cs | 809 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SocketDog.Common
{
public struct ConnectionProtocol
{
public ConnectionProtocol(Type value)
: this()
{
Value = value;
}
public ... | mit |
lumoslabs/broadside | CHANGELOG.md | 6447 | # 3.3.2
- Add debug logging for aws-sdk components
- Add some other debug logging
- Fix for aws api changes: ecs task_definition response includes `compatibilities`, but requests want `requires_compatibilities`
# 3.3.1
- Use new modularized aws-sdk gems: aws-sdk-ec2 & aws-sdk-ecs
# 3.3.0
- Add `execute` command to ex... | mit |
nileshk/myconnector | src/main/java/com/myconnector/domain/Dictionary.java | 395 | package com.myconnector.domain;
import com.myconnector.domain.base.BaseDictionary;
public class Dictionary extends BaseDictionary {
private static final long serialVersionUID = 1L;
/*[CONSTRUCTOR MARKER BEGIN]*/
public Dictionary () {
super();
}
/**
* Constructor for primary key
*/
public Dictionary (j... | mit |
Shadowblazen/dynamodb-wrapper | CHANGELOG.md | 1289 | # dynamodb-wrapper changelog
## 1.4.1
- resolved a minor typings issue in `index.d.ts` (#6)
## 1.4.0
- added `batchGroupWritten` event to enable observer to follow the batch progress
- added `batchGetItem` method
## 1.3.0
- added a couple missing fields to `index.d.ts` for TypeScript consumers
- enhancement: `bat... | mit |
coq-bench/coq-bench.github.io | clean/Linux-x86_64-4.09.0-2.0.5/released/8.7.1/lin-alg/8.6.0.html | 6882 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>lin-alg: Not compatible</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" r... | mit |
coq-bench/coq-bench.github.io | clean/Linux-x86_64-4.09.1-2.0.6/released/8.7.0/hammer/1.3.2+8.13.html | 7374 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>hammer: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css"... | mit |
arvindsasikumar/mysql-db-sync | sync/db/mysql/DBSyncAgent.java | 17612 | /*
* The MIT License
*
* Copyright 2017 Arvind Sasikumar.
*
* 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 u... | mit |
alexastro/forecast | src/Forecast/WeatherBundle/DependencyInjection/ForecastWeatherExtension.php | 962 | <?php
namespace Forecast\WeatherBundle\DependencyInjection;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\Config\FileLocator;
use Symfony\Component\HttpKernel\DependencyInjection\Extension;
use Symfony\Component\DependencyInjection\Loader;
/**
* This is the class that loads and m... | mit |
Hoverbear/SCRUM2015 | submission.md | 1458 | ---
layout: page
title: Submission
---

<div class="message">
<strong>Submission Date:</strong> August 27th (Extended)
<br>
<strong>Notification Date:</strong> September 26th
<br>
<strong>Camera Ready Date:</strong> October 2nd
</div>
All papers must b... | mit |
kippt/django-api-boilerplate | api_boilerplate/admin.py | 105 | from django.contrib import admin
from api_boilerplate.models import ApiKey
admin.site.register(ApiKey)
| mit |
f0rki/cb-multios | original-challenges/Palindrome/README.md | 859 | # Palindrome
## Author Information
CGC Summer Intern 2014
Cadet from West Point Military Academy
### DARPA performer group
CADET
## Description:
This is an unusually simple service written by a military cadet as his first ever C program. It is intended as a data point as an incredibly simple service, with an incre... | mit |
sparcs360/Casino | game-srvkit/src/main/java/com/sparcs/casino/Account.java | 538 | package com.sparcs.casino;
import com.sparcs.casino.game.Bet;
public interface Account {
/**
* @return The {@link Customer} who owns this Account.
*/
Customer getCustomer();
/**
* @return The number of chips the Customer currently holds
*/
int getChipCount();
/**
* A {@link Bet} has been won! - add... | mit |
iguanatool/iguana | src/main/java/org/iguanatool/testobject/cparser/ASTInclusiveORExpression.java | 742 | /* Generated By:JJTree: Do not edit this line. ASTInclusiveORExpression.java Version 4.3 */
/* JavaCCOptions:MULTI=true,NODE_USES_PARSER=false,VISITOR=true,TRACK_TOKENS=true,NODE_PREFIX=AST,NODE_EXTENDS=,NODE_FACTORY=,SUPPORT_CLASS_VISIBILITY_PUBLIC=true */
package org.iguanatool.testobject.cparser;
public class ASTIn... | mit |
anthonyshort/backbone.collectionsubset | README.md | 6010 | # backbone.collectionsubset
[](http://travis-ci.org/anthonyshort/backbone.collectionsubset)
Create sub-collections of other collections and keep them in sync. This library allows you create child collections that are subsets of la... | mit |
wslulciuc/mockingbird | src/jvm/mockingbird/streams.scala | 1277 | package mockingbird
import io.circe.Printer
import io.circe.syntax._
import java.nio.ByteBuffer
import org.apache.avro.Schema
import scala.concurrent.ExecutionContext
import scala.concurrent.Future
case class PartitionKey(value: String)
case class Record(key: Record.Key, bytes: ByteBuffer)
object Record {
case clas... | mit |
freisribeiro/freisribeiro.github.io | _posts/2016-06-09-Solid-State.md | 1906 | ---
layout: post
title: "Solid State: Sunlight"
quote: "Harry Sanderson Exhibition."
image:
url: /media/2016-06-09-Solid-State/DSC9149-e1455547057197.jpg
video: false
comments: true
theme_color: 302F2D
---
### Exhibition - Solid State: Sunlight
{% include image.html url="/media/2016-06-09-Solid-State/DSC9129-e1... | mit |
chipster/chipster-web-server | src/main/java/fi/csc/chipster/rest/websocket/WebSocketClientEndpoint.java | 5780 | package fi.csc.chipster.rest.websocket;
import java.io.IOException;
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.TimeoutException;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import jakarta.websocket.CloseReason;... | mit |
KlishGroup/prose-pogs | pogs/I/ICTDBHX/GHW/index.md | 2471 | ---
layout: page
title: Gates - Hickman Wedding
date: 2016-05-24
author: Sara Frost
tags: weekly links, java
status: published
summary: Sed tristique massa non dapibus fringilla. In hac.
banner: images/banner/meeting-01.jpg
booking:
startDate: 10/01/2016
endDate: 10/04/2016
ctyhocn: ICTDBHX
groupCode: GHW
publi... | mit |
inFullMobile/restricted-register-plugin | src/main/java/com/infullmobile/jenkins/plugin/restrictedregister/settings/RegistrationRuleConfig.java | 469 | package com.infullmobile.jenkins.plugin.restrictedregister.settings;
import hudson.model.AbstractDescribableImpl;
import hudson.model.Descriptor;
/**
* Created by Adam Kobus on 27.05.2016.
* Copyright (c) 2016 inFullMobile
* License: MIT, file: /LICENSE
*/
public abstract class RegistrationRuleConfig extends Abst... | mit |
ludokng/puppetshow | features/step_definitions/execute_steps.rb | 428 | require 'open3'
When(/^I execute it via the execute function of the PuppetShow module$/) do
@results = PuppetShow.execute(@file)
end
When(/^I execute the PuppetShow binary with the option:$/) do |opt|
cmd = "./bin/puppetshow #{opt}"
@stdout_str, @status = Open3.capture2(cmd)
end
When(/^I execute it via the Pu... | mit |
sergg75/dataModels | Weather/WeatherForecast/doc/spec.md | 7794 | # Weather Forecast
## Description
This entity contains a harmonised description of a Weather Forecast. This entity is primarily
associated with the vertical segments of the environment and agriculture but is applicable to
many different applications.
This data model has been developed in cooperation with mobile oper... | mit |
Kailashrb/Jep | src/org/lsmp/djep/vectorJep/values/Matrix.java | 4371 | /* @author rich
* Created on 07-Jul-2003
*
* This code is covered by a Creative Commons
* Attribution, Non Commercial, Share Alike license
* <a href="http://creativecommons.org/licenses/by-nc-sa/1.0">License</a>
*/
package org.lsmp.djep.vectorJep.values;
import org.lsmp.djep.vectorJep.*;
//import JSci.... | mit |
pepaslabs/pywiki | templates/recentpages.html | 398 | $def with (urlroot, page_tuples)
<html><head><title>recent pages</title></head>
<body>
<h1><a href="$(urlroot)/">$wikititle</a> -> recent pages</h1>
<ul>
$for (mtime, fname) in page_tuples:
<li><a href="$(urlroot)/page/$fname">$fname</a> ($mtime)</li>
</ul>
<hr>
<p>
<form action="$(urlroot)/deauthenticator" met... | mit |
riyadhalnur/keystone | fields/types/datearray/test/server.js | 3459 | var demand = require('must'),
DateArrayType = require('../DateArrayType');
exports.initList = function(List) {
List.add({
datearr: { type: DateArrayType },
nested: {
datearr: { type: DateArrayType }
}
});
};
exports.testFieldType = function(List) {
var testItem = new List.model();
it('should default t... | mit |
zhe13/WordPack | README.md | 1976 | # WordPack
Filling the shape with words.It should be a project write for my girl.
# What does this project want to do
Just fill a shape with the special words.
It looks cool,does it?
Think about that,You Upload a picture with your girl friend's outline in it.Then,type in your girls's name
and yours,just wait a minute,... | mit |
gcrsaldanha/fiocruz | samples/migrations/0005_auto_20170424_1903.py | 1172 | # -*- coding: utf-8 -*-
# Generated by Django 1.11 on 2017-04-24 22:03
from __future__ import unicode_literals
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('samples', '0004_sample'),
]
operations = [
m... | mit |
myyyy/wiki | shell/work_start.py | 791 | # -*- coding:utf-8 -*-
import os
def split_screen():
val = os.system("xrandr --output HDMI1 --right-of VGA1 --auto")
def run_sensorcmd_web():
path = "/home/suyf/swork/git/sensorcmd-web/web/"
os.chdir(path)
val = os.system("./apprun.py")
def run_cas():
path = "/home/suyf/swork/git/cas/web/"
os.chdir(path)
val = ... | mit |