repo_name stringlengths 4 116 | path stringlengths 3 942 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
lukszar/Algorithms | README.md | 86 | Algorithms
==========
Repository contains my adaptation of various algorithms in c++
| mit |
christopherholmes/christopherholmes.github.io | _site/2017/Project365-Day-7/index.html | 8809 | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width initial-scale=1" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Project 365 Day 7</title>
<meta name="description" content="Personal Projects">
<meta name="author" content="Chris Holmes... | mit |
ecoulthard/summitsearch | doc/api/classes/ActiveRecord/ConnectionAdapters/PostgreSQLColumn.html | 2752 | <?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 xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Class: ActiveRecord::ConnectionAdapters::PostgreSQLColumn<... | mit |
nabab/bbn-vue | dist/js_single_files/components/radio/radio.min.js | 2648 | ((bbn)=>{let script=document.createElement('script');script.innerHTML=`<div :class="['bbn-iblock', componentClass]">
<input class="bbn-hidden"
ref="element"
:value="modelValue"
:disabled="disabled"
:required="required"
>
<div :style="getStyle()">
<div v-for="(d, idx) in sou... | mit |
Nitr4x/whichCDN | plugins/ErrorServerDetection/behaviors.py | 907 | #!/usr/bin/env python
from __future__ import print_function
import sys
import re
from utils import CDNEngine
from utils import request
if sys.version_info >= (3, 0):
import subprocess as commands
import urllib.parse as urlparse
else:
import commands
import urlparse
def detect(hostname):
"""
P... | mit |
mini2Dx/minibus | docs/javadocs/1.2.1/org/mini2Dx/minibus/messagedata/package-tree.html | 6145 | <!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_101) on Mon Apr 24 14:47:19 CEST 2017 -->
<title>org.mini2Dx.minibus.messagedata Class Hierarchy (minibus 1.2.1 API)</title>
<meta name="date" ... | mit |
ballzy/apply-for-esa | app/views/alpha01/fit-note.html | 3633 | {% extends "layout.html" %}
{% block page_title %}
Fit note
{% endblock %}
{% block content %}
<main id="content" role="main">
{% include "../includes/phase_banner_alpha.html" %}
<form action="pensions" method="#" class="form">
<div class="grid-row">
<div class="column-two-thirds">
<header>
<h1 ... | mit |
codenamev/bookings | lib/bookings/generators/templates/bookings_controller.rb | 1474 | class BookingsController < ApplicationController
respond_to :html, :json
before_action :find_booking, except: [:create, :index]
def index
@bookings = Booking.current.order(:starts_at)
respond_with @bookings
end
def new
@booking = Booking.new
end
def create
@booking = Booking.new(bookin... | mit |
EDACC/edacc_api | src/edacc/parameterspace/domain/IntegerDomain.java | 3522 | package edacc.parameterspace.domain;
import java.util.LinkedList;
import java.util.List;
import java.util.Random;
@SuppressWarnings("serial")
public class IntegerDomain extends Domain {
protected Integer low, high;
public static final String name = "Integer";
@SuppressWarnings("unused")
private IntegerDomain... | mit |
traversals/kapsule | docs/1.1/kapsule-core/net.gouline.kapsule/-has-modules/index.html | 1927 | <HTML>
<HEAD>
<meta charset="UTF-8">
<title>HasModules - kapsule-core</title>
<link rel="stylesheet" href="../../../style.css">
</HEAD>
<BODY>
<a href="../../index.html">kapsule-core</a> / <a href="../index.html">net.gouline.kapsule</a> / <a href="./index.html">HasModules</a><br/>
<br/>
<h1>HasModul... | mit |
samwize/just2me.com | 2011/07/06/i-am-now-developer-advocate-in-hoiio/index.html | 13084 | <!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">
<link rel="icon" type="image/png" href="https://just2us.com/img/favicon-180.png" />
<link rel="apple-touch-icon"... | mit |
igvteam/igv.js | js/locus.js | 1337 | import {StringUtils} from "../node_modules/igv-utils/src/index.js"
class Locus {
constructor({chr, start, end}) {
this.chr = chr
this.start = start
this.end = end
}
contains(locus) {
return locus.chr === this.chr && locus.start >= this.start && locus.end <= this.end
}... | mit |
Noxalus/Xmas-Hell | Xmas-Hell/Xmas-Hell-Core/Extensions/StringExtension.cs | 940 | using MonoGame.Extended.BitmapFonts;
using System;
using System.Collections.Generic;
using System.Text;
namespace XmasHell.Extensions
{
public static class StringExtension
{
public static List<String> FormatBoxString(String text, int width, BitmapFont font)
{
var strings = new List... | mit |
rohm/reviveourhearts_com_redesign | about-who-we-are.php | 3597 | <?php
$sectionName ="About Us";
$pageTitle = "Who We Are";
$bodyCss = "about page page-simple";
?>
<?php include "_header.php"; ?>
<div class="container">
<!-- <ol class="breadcrumb">
<li><a href="/">Home</a></li>
<li><a href="/about-us/"><?php echo $sectionName; ?></a></li>
<li class="active"><?php echo ... | mit |
georgebrock/assert-microformats | rails/init.rb | 115 | require 'test/unit/testcase'
require 'assert_microformats'
Test::Unit::TestCase.send :include, AssertMicroformats
| mit |
telemetryapp/osmos | setup.sh | 334 | #!/bin/bash
ssh -f root@162.243.123.65 -L 8080:localhost:8080 -N
ssh -f root@162.243.123.65 -L 28015:localhost:28015 -N
ssh -f root@162.243.123.65 -L 27017:localhost:27017 -N
ssh -f root@162.243.123.65 -L 3306:localhost:3306 -N
ssh -f root@162.243.123.65 -L 9200:localhost:9200 -N
ssh -f root@162.243.123.65 -L 9300:loc... | mit |
coq-bench/coq-bench.github.io | clean/Linux-x86_64-4.09.0-2.0.5/released/8.10.2/exact-real-arithmetic/8.7.0.html | 7046 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>exact-real-arithmetic: Not compatible</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootst... | mit |
Community-Manager/NCS-Web | Source/UI/NeighboursCommunityManager.UI/app/config.route.js | 3598 | (function () {
'use strict';
var app = angular.module('app');
// Collect the routes
app.constant('routes', getRoutes());
// Configure the routes and route resolvers
app.config(['$routeProvider', 'routes', routeConfigurator]);
function routeConfigurator($routeProvider, routes) {
... | mit |
JBarberU/CatchLib | src/Math/Math.cpp | 761 | //
// File: Math.cpp
// Author: John Barbero Unenge
// Date: 10/11/12.
//
// Copyright (c) 2012 Catch22. All rights reserved.
//
// All code is my own except where credited to others.
//
// License: The following code is licensed under the Catch22-License
//
#include "Math.hpp"
#include <math.h>
Vector2d* Math... | mit |
dpostigo/ember-cli-kit | addon/components/kit-canvas-scroller/component.js | 525 | import Ember from 'ember';
import layout from './template';
export default Ember.Component.extend({
layout: layout,
classNames: ['kit-canvas-scroller'],
canvasStyle: Ember.computed('parentView.canvasStyle', function() {
return this.get('parentView').get('canvasStyle');
}),
numberOfItems: Ember.computed('parent... | mit |
stvndall/LanguageTechStats | src/go/http/factorsSvr/factorssvr.go | 525 | package main
import (
"fmt"
"net/http"
"log"
"strconv"
"github.com/stvndall/languagetechstats/src/go/services/factors"
"github.com/gorilla/mux"
)
func main(){
router := mux.NewRouter().StrictSlash(true)
router.HandleFunc("/{numbers}", factorise)
log.Fatal(http.ListenAndServe(":2500", router))
}
func factoris... | mit |
yogeshsaroya/new-cdnjs | ajax/libs/highlight.js/7.4/styles/tomorrow-night-eighties.min.css | 129 | version https://git-lfs.github.com/spec/v1
oid sha256:8f8f73484287c5e260d89457599500873cf451adfdd727b669f5e0bbacc57452
size 1100
| mit |
isjia/imooc-es6-basic | src/app/js/class/lesson3-1.js | 201 | function test() {
for(var i=1; i<3; i++) {
console.log("inner i: " + i);
}
console.log("outer i: " + i);
}
function last() {
const PI = 3.1415926;
console.log(PI);
}
// test();
last();
| mit |
servicosgovbr/editor-de-servicos | src/main/javascript/cabecalho/metadados.js | 1796 | 'use strict';
module.exports = {
controller: function (args) {
this.config = _.merge({
salvar: _.noop,
publicar: _.noop,
descartar: _.noop,
visualizar: _.noop,
editar: _.noop
}, args);
},
view: function (ctrl) {
var salvarView = '';
if (ctrl.config.salvar !== _.noo... | mit |
trever/chrono | src/parsers/EN/ENMonthNameMiddleEndianParser.js | 4981 | /*
The parser for parsing US's date format that begin with month's name.
EX.
- January 13
- January 13, 2012
- January 13 - 15, 2012
- Tuesday, January 13, 2012
*/
var moment = require('moment');
require('moment-timezone');
var Parser = require('../parser').Parser;
va... | mit |
CajetanP/code-learning | Build Systems/CommandLine/HelloBeatles/src/georgeringo/ringo.cpp | 101 | #include <iostream>
#include "ringo.hpp"
void ringo () {
std::cout << "and Ringo" << std::endl;
}
| mit |
alexburn97/AVR-C-Development-Board | 3_Interrupt_Serial/src/main.c | 1148 |
/*
main.c
*/
#define F_CPU 8000000
#include <stdio.h>
#include <string.h>
#include <util/delay.h>
#include <avr/interrupt.h>
#include <avr/io.h>
#include "../lib/ring_buffer.h"
#include "../lib/serial.h"
/*
Basic test of interrupt based serial functionality
*/
int main(void) {
uart_init();
sei();... | mit |
tamifist/Transcendence | TranscendenceChat.ServerClient/Ws/Requests/MessageSeenStatusAcknowledgeRequest.cs | 245 | using System;
using System.Collections.Generic;
namespace TranscendenceChat.ServerClient.Entities.Ws.Requests
{
public class MessageSeenStatusAcknowledgeRequest : BaseRequest
{
public List<Guid> Messages { get; set; }
}
} | mit |
JuliaPackageMirrors/Mustache.jl | src/scanner.jl | 1446 | ## Scanner
type Scanner
string::AbstractString
tail::AbstractString
pos::Integer
end
Scanner(string::AbstractString) = Scanner("", string, 0)
## Returns `true` if the tail is empty (end of string).
function eos(s::Scanner)
s.tail == ""
end
## Tries to match the given regular expression at the curr... | mit |
portchris/NaturalRemedyCompany | src/dev/tests/functional/tests/app/Mage/Adminhtml/Test/Fixture/StoreGroup/CategoryId.php | 3093 | <?php
/**
* Magento
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a co... | mit |
v8-dox/v8-dox.github.io | 2981f01/html/classv8_1_1_startup_data_decompressor-members.html | 6093 | <!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 |
nushackers/nushackers-site | content/post/2021-10-10-hacker-tools-6.md | 1249 | ---
title: "Hacker Tools: Emacs"
date: 2021-10-10 00:00:00
author: Hao Wei
url: /2021/10/hacker-tools-6
summary: Come join us at this workshop to learn how to use Emacs effectively, from the basics.
---
<!--
This workshop has ended; here are links to the materials and recording:
- [Slides](https://github.com/nushacker... | mit |
KlishGroup/prose-pogs | pogs/E/EWBFHHX/TSNP/index.md | 2253 | ---
layout: page
title: Tech Squad Networks Party
date: 2016-05-24
author: Jane Elliott
tags: weekly links, java
status: published
summary: Suspendisse eget neque nec arcu consequat pretium.
banner: images/banner/wedding.jpg
booking:
startDate: 04/26/2017
endDate: 04/28/2017
ctyhocn: EWBFHHX
groupCode: TSNP
pub... | mit |
MartinThoma/LaTeX-examples | documents/Programmierparadigmen/scripts/prolog/fibonacci.pl | 152 | fib(0, A, _, A).
fib(N, A, B, F) :- N1 is N - 1,
Sum is A + B,
fib(N1, B, Sum, F).
fib(N, F) :- fib(N, 0, 1, F). | mit |
material-native/material-native | src/Subheader.js | 1665 | 'use strict';
import React, {PureComponent} from 'react';
import {StyleSheet, View, Text} from 'react-native';
import withMaterialTheme from './styles/withMaterialTheme';
import {withMeasurementForwarding} from './util';
import * as typo from './styles/typo';
import shades from './styles/shades';
/**
* Section headin... | mit |
marmotka/Java-Exercises-Basics | Tests/src/TestSea6Task1.java | 831 |
public class TestSea6Task1 {
public static void main(String[] args) {
String text = "Sun is shining. Today is a good day for test. Sun is shining. The students are happy. The birds are blue.";
int indexSent = -1;
int lengthSen = 0;
int counterSen = 0;
int indexLast = 0;
int maxLengthSen = 0;
for (int ... | mit |
WsdlToPhp/PhpGenerator | tests/resources/PhpInterfaceTest_SimpleToStringWithReturnType.php | 573 | interface Foo extends stdClass
{
/**
* @var string
*/
const FOO = 'theValue';
/**
* @var string
*/
const BAR = 'theOtherValue';
/**
* @var int
*/
/**
* @var bool
*/
/**
* This method is very useful
* @date 2012-03-01
* @return mixed
... | mit |
ywchiao/mug | mugc/inc/msg_io.h | 486 | /**
* @file msg_io.h
* @brief The header file for msg_io.c.
* @author Yiwei Chiao (ywchiao@gmail.com)
* @date 06/01/2017 created.
* @date 06/15/2017 last modified.
* @version 0.1.0
* @copyright MIT, (C) 2017 Yiwei Chiao
* @details
*
* The header file for msg_io.c.
*/
... | mit |
caixl1976/dialy-notes | python.md | 4593 | <!-- vscode-markdown-toc -->
* 1. [Language](#Language)
* 2. [Tips](#Tips)
* 3. [Pickle](#Pickle)
* 4. [DSL](#DSL)
* 5. [Libraries & resources](#Librariesresources)
* 6. [FP](#FP)
* 7. [Flask](#Flask)
<!-- vscode-markdown-toc-config
numbering=true
autoSave=true
/vscode-markdown-toc-config -->
<!-- /vscode-markdown-... | mit |
matthewsot/CocoaSharp | Headers/PrivateFrameworks/AccessibilityUtilities/AXEventListenerContainer.h | 424 | /*
* Generated by class-dump 3.3.4 (64 bit).
*
* class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard.
*/
#import "NSObject.h"
@class NSString;
@interface AXEventListenerContainer : NSObject
{
id handler;
NSString *identifier;
}
@property(retain, nonatomic) NSString *ident... | mit |
agapered/roadkill | lib/roadkill.rb | 75 | require "roadkill/version"
module Roadkill
# Your code goes here...
end
| mit |
rainu/rest-commander | server-go/src/rest-commander/controller/auth_handler.go | 1102 | package controller
import (
"net/http"
"encoding/json"
"rest-commander/store"
"rest-commander/model/dto"
)
type AuthenticationController interface {
HandleLogin(w http.ResponseWriter, r *http.Request)
HandleLogout(w http.ResponseWriter, r *http.Request)
}
func (t *AuthenticationRoute) HandleLogin(w http.Respon... | mit |
mgrigajtis/podcoin | src/qt/locale/bitcoin_nb.ts | 113153 | <?xml version="1.0" ?><!DOCTYPE TS><TS language="nb" version="2.0">
<defaultcodec>UTF-8</defaultcodec>
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About Podcoin</source>
<translation>Om Podcoin</translation>
</message... | mit |
tgsmith61591/pyramid | examples/preprocessing/example_date_featurizer.py | 2754 | """
=================================================
Modeling quasi-seasonal trends with date features
=================================================
Some trends are common enough to appear seasonal, yet sporadic enough that
approaching them from a seasonal perspective may not be valid. An example of
this is the ... | mit |
guwek/HuGS | hugs/support/ScoreParameter.java | 451 | package hugs.support;
import hugs.*;
public class ScoreParameter extends Parameter {
public Score value;
public ScoreParameter (String name) { this(name,null);}
public ScoreParameter (String name, Score value) {
super(name);
this.value = value;
}
public Object getValue () {return value;... | mit |
andygrunwald/simple-webserver | Dockerfile | 103 | FROM golang:onbuild
MAINTAINER Andy Grunwald <andygrunwald@gmail.com>
EXPOSE 8082
ENTRYPOINT ["app"]
| mit |
jameshurst/KeePassHttp-ObjC | KeePassHttp/KPHRequest.h | 2204 | //
// KPHRequest.h
// KeePassHttp-ObjC
//
// Created by James Hurst on 2014-09-21.
// Copyright (c) 2014 James Hurst. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "JSONModel.h"
static NSString *const kKPHRequestGetLogins = @"get-logins";
static NSString *const kKPHRequestGetLoginsCount = @"g... | mit |
riteshakya037/Subs | presentation/src/main/java/com/riteshakya/subs/views/screens/login/LoginPresenter.java | 859 | package com.riteshakya.subs.views.screens.login;
import android.content.Intent;
import android.support.v4.app.FragmentActivity;
import com.google.android.gms.common.api.GoogleApiClient;
import com.riteshakya.subs.mvp.FlowListener;
import com.riteshakya.subs.mvp.IPresenter;
import com.riteshakya.subs.mvp.IView;
import... | mit |
EricHyh/FileDownloader | lib-common/src/main/java/com/hyh/common/picasso/PicassoExecutorService.java | 4271 | /*
* Copyright (C) 2013 Square, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | mit |
ldaptools/ldaptools | src/LdapTools/Connection/LdapServerPool.php | 4828 | <?php
/**
* This file is part of the LdapTools package.
*
* (c) Chad Sikorra <Chad.Sikorra@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace LdapTools\Connection;
use LdapTools\Exception\InvalidArgumentExceptio... | mit |
wariox3/brasa | src/Brasa/RecursoHumanoBundle/Form/Type/RhuAcreditacionTipoType.php | 959 | <?php
namespace Brasa\RecursoHumanoBundle\Form\Type;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\Form\Extension\Core\Type\TextType;
use Symfony\Component\Form\Extension\Core\Type\SubmitType;
class RhuAcreditacionTipoType extends AbstractType
{
/*... | mit |
emayk/ics | src/Emayk/Ics/Repo/Taxtype/TaxtypeInterface.php | 1765 | <?php
namespace Emayk\Ics\Repo\Taxtype;
/**
* Copyright (C) 2013 Emay Komarudin
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later... | mit |
alivecor/simple_hl7 | lib/simple_hl7/version.rb | 41 | module SimpleHL7
VERSION = "1.0.2"
end
| mit |
leemour/underflow | db/migrate/20140429172646_create_questions_tags.rb | 213 | class CreateQuestionsTags < ActiveRecord::Migration
def change
create_table :questions_tags, id: false do |t|
t.references :question, index: true
t.references :tag, index: true
end
end
end
| mit |
ComputationWithBoundedResources/ara-inference | doc/tpdb_trs/Haskell/full_haskell/FiniteMap_minFM_10.hs | 112 | {-# htermination minFM :: (Ord a, Ord k) => FiniteMap (Either a k) b -> Maybe (Either a k) #-}
import FiniteMap
| mit |
AustinWinnett/jenny-b-photo | woocommerce/checkout/thankyou.php | 3682 | <?php
/**
* Thankyou page
*
* This template can be overridden by copying it to yourtheme/woocommerce/checkout/thankyou.php.
*
* HOWEVER, on occasion WooCommerce will need to update template files and you
* (the theme developer) will need to copy the new files to your theme to
* maintain compatibility. We try to ... | mit |
coq-bench/coq-bench.github.io | clean/Linux-x86_64-4.08.1-2.0.5/released/8.11.0/addition-chains/0.4.html | 12175 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>addition-chains: 3 m 2 s 🏆</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.cs... | mit |
hasangok/hasangok.github.io | _posts/2013-08-29-media-web-part-ile-sharepoint-video-sitesi.md | 3071 | ---
layout: post
title: Media Web Part ile SharePoint Video Sitesi
date: 2013-08-29 15:51
author: hasangok
comments: true
Tags: [Asset Library, Media Web Part, Sharepoint, SharePoint, Varlık Kütüphanesi]
---
Varsayalım ki bir *SharePoint Asset Library* -Varlık Kütüphanesi- oluşturduk ve içerisine videolar yükle... | mit |
xjpeter/Xamarin.Forms | Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Bugzilla26032.xaml.cs | 2087 | using System;
using System.Collections.Generic;
using Xamarin.Forms;
using Xamarin.Forms.CustomAttributes;
using Xamarin.Forms.Internals;
#if UITEST
using Xamarin.UITest;
using NUnit.Framework;
#endif
namespace Xamarin.Forms.Controls
{
[Preserve (AllMembers = true)]
[Issue (IssueTracker.Bugzilla, 26032, " ListView... | mit |
v2ray/v2ray-core | transport/internet/websocket/ws.go | 251 | /*Package websocket implements Websocket transport
Websocket transport implements an HTTP(S) compliable, surveillance proof transport method with plausible deniability.
*/
package websocket
//go:generate go run v2ray.com/core/common/errors/errorgen
| mit |
bcvsolutions/CzechIdMng | Realization/backend/core/core-impl/src/test/java/eu/bcvsolutions/idm/core/bulk/action/impl/IdentityDisableBulkActionTest.java | 9528 | package eu.bcvsolutions.idm.core.bulk.action.impl;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.fail;
import java.util.List;
import java.util.Set;
import java.util.UUID;
import org.junit.After;
imp... | mit |
vvolkgang/WarZ | src/WarZ/WarZ/3D/Particles/ParticlesManager.cs | 5427 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
namespace WarZ
{
public class ParticlesManager : DrawableGameComponent
{
private WarZGame WZGame;
//PARTICLES
// This sample uses five different particle systems.
... | mit |
hhelwich/floating-point-converter | src/gui/inputBits.js | 610 | import { onChange, getBits } from '../state'
import { inputWidth, centerInputs } from './inputs'
const $bits = document.getElementById('bits')
const setBitsWidth = width => {
$bits.style.width = inputWidth(width)
centerInputs()
}
const setBitsValue = value => {
setBitsWidth(value.length)
$bits.value = value
... | mit |
foobargem/oxygen_mailer_client | lib/generators/templates/oxygen_mailer_client.rb | 444 | OxygenMailer::Client.setup do |config|
# api-key for sms
config.sms_api_key = "replace api key of sms"
config.sms_api_secret = "replace api secret of sms"
# api-key for mail
config.mail_api_key = "reaplce api key of mail"
config.mail_api_secret = "replace api secret of mail"
config.ssh_host = "host"
... | mit |
arindamangular/ShopNow | node_modules/angular-ui-router/node_modules/typedoc-plugin-internal-external/index.js | 555 | var plugin = require("./plugin");
module.exports = function(PluginHost) {
var app = PluginHost.owner;
/**
* used like so:
* --external-aliases privateapi,privateAPI,hiddenAPI
* or
* -ea privateapi,privateAPI
*/
app.options.addDeclaration({ name: 'external-aliases', short: 'ea' });
/**
* used l... | mit |
kasperlewau/ui-mention | gulpfile.js | 2033 | var gulp = require('gulp'),
plugins = require('gulp-load-plugins')(),
Karma = require('karma').Server;
var paths = {
scripts: {
src: ['src/**/*.js'],
dest: 'dist',
file: 'mention.js'
},
styles: {
src: ['src/**/*.scss'],
dest: 'dist',
file: 'mention.css'
},
example: {
scrip... | mit |
WheretIB/nullc | tests/TestPostExpr.cpp | 1952 | #include "TestBase.h"
const char *testPostExpressions =
"typedef char[] string;\r\n\
\r\n\
int string:find(char a)\r\n\
{\r\n\
int i = 0;\r\n\
while(i < this.size && this[i] != a)\r\n\
i++;\r\n\
if(i == this.size)\r\n\
i = -1;\r\n\
return i;\r\n\
}\r\n\
\r\n\
int a = (\"hello\").size + \"me\".si... | mit |
Azure/azure-sdk-for-java | sdk/resourcemanagerhybrid/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/models/GalleryProperties.java | 3142 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.compute.fluent.models;
import com.azure.core.annotation.Fluent;
import com.azure.core.util.logging.ClientLogger;
import com.azur... | mit |
SeunLanLege/react-native-mobx-calender | src/styles.js | 3411 | import { StyleSheet } from 'react-native'
const s = StyleSheet.create({
flexRowAround: {
flexDirection: 'row',
justifyContent: 'space-around',
},
dot: {
height: 7,
width: 7,
borderRadius: 3.5,
},
green: {
color: '#50d2c2',
},
flexWrap: {
flexWrap: 'wrap',
},
textCenter: {
... | mit |
XeryusTC/projman | templates/settings/base.html | 515 | {% extends 'base_with_sidebar.html' %}
{% load i18n %}
{% block head_title %}{% trans 'Settings' %}{%endblock %}
{% block sidebar %}
<li>
<a class="sidebar-mainlink" href="{% url 'projects:main' %}" id="return">
{% trans 'Home' %}
</a>
</li>
<li>
<a class="sidebar-mainlink" href="{% url 'settings:main' %}... | mit |
kvnkwon/communitychest | README.md | 224 | # Community Chest
## Demo: [Here](http://communitychest.herokuapp.com)
Made primarily for DBC, students or mentors can share tweet-sized advice. All this advice gets added to a chest where users can open and interact with. | mit |
kendrikat/wegift-ruby-client | lib/wegift.rb | 266 | # frozen_string_literal: true
require 'wegift/version'
require 'wegift/client'
require 'wegift/models/initializable'
require 'wegift/models/response'
require 'wegift/models/product'
require 'wegift/models/products'
require 'wegift/models/order'
module Wegift
end
| mit |
krg7880/node-stubby-server-cli | index.js | 99 | exports.CLI = require(__dirname + '/lib/cli');
exports.Events = require(__dirname + '/lib/events'); | mit |
malikme3/angular4 | src/app/ctcl/Matches/components/submit.score/match.basic.details.component/basic.details.component.ts | 14964 | import {AbstractControl, FormBuilder, FormGroup, Validators} from "@angular/forms";
import {DatePickerOptions} from "ng2-datepicker";
import {MatchesDataStoreService} from "../../matches-data-store";
import {MatchesConstants} from "../../matches.constant.service";
import {IOption} from "ng-select";
import {Component, E... | mit |
spencerjago/spencerjago.github.io | _posts/2014-03-07-decorating.md | 2356 | ---
layout: post
title: Decorating
---
Hi Babs, It’s Friday, it’s been a long week and I’m feeling the strain. I would love a nice relaxing weekend but I don’t think it’s going to happen – nor next weekend. We’re doing some frantic decorating at the moment, every room upstairs except the bathroom. At the moment what wi... | mit |
sestaton/sesbio | gene_annotation/shell_scripts/stringtie.sh | 371 | #!/bin/bash
set -euo pipefail
cd `pwd`
stringtie=$HOME/github/stringtie/stringtie
gtf=$1
for file in ./*bam
do
base=$(echo ${file%.*})
stringassem=${base}_stringtie_assembly.gtf
stringabund=${base}_stringtie_gene_abund.txt
ballgowndir=${base}_balldown_tables
$stringtie $file -G $gtf -p 12 -o $s... | mit |
hpsanampudi/Ducksoft.Soa.Common | Filters/SortChangedEventArgs.cs | 844 | using System;
namespace Ducksoft.SOA.Common.Filters
{
/// <summary>
/// Class which is used to store filter changed event arguments.
/// </summary>
public class SortChangedEventArgs : EventArgs
{
/// <summary>
/// Gets a value indicating whether this instance is reset.
///... | mit |
tomgrooffer/basenji | docs/getting-started/CreateProject.md | 101 | # Creating a new project
First create a new folder / repository then run:
```bash
basenji init
```
| mit |
chargebee/chargebee-python | chargebee/models/plan.py | 2784 | import json
from chargebee.model import Model
from chargebee import request
from chargebee import APIError
class Plan(Model):
class Tier(Model):
fields = ["starting_unit", "ending_unit", "price", "starting_unit_in_decimal", "ending_unit_in_decimal", "price_in_decimal"]
pass
class ApplicableAddon(Mo... | mit |
Denbora/R_T_G_Services | src/services/REST/GameService.php | 2636 | <?php
namespace denbora\R_T_G_Services\services\REST;
use denbora\R_T_G_Services\R_T_G_ServiceException;
class GameService extends RestService
{
/**
* First part in url after /api/
*/
const API_URL = 'games';
/**
* @param $query
* @param null $array
* @param string $endpoint
... | mit |
PassKitInc/foundation-sites | js/foundation.offcanvas.js | 10884 | 'use strict';
!function($) {
/**
* OffCanvas module.
* @module foundation.offcanvas
* @requires foundation.util.keyboard
* @requires foundation.util.mediaQuery
* @requires foundation.util.triggers
* @requires foundation.util.motion
*/
class OffCanvas {
/**
* Creates a new instance of an off-canvas wrappe... | mit |
Azure/azure-sdk-for-java | sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/models/VirtualMachineRestrictMovementState.java | 1489 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.avs.models;
import com.azure.core.util.ExpandableStringEnum;
import com.fasterxml.jackson.annotation.JsonCreator;
import java.ut... | mit |
mlnewman/jenkins_ruby_jobs | lib/jenkins_ruby_jobs.rb | 174 | require "jenkins_ruby_jobs/version"
require "jenkins_ruby_jobs/jenkinsapi"
require "jenkins_ruby_jobs/configuration"
require "jenkins_ruby_jobs/buildjob"
module Jenkins
end
| mit |
alamillac/master_AI_tesis | Code/src/config_scripts/run_tests.sh | 105 | #!/bin/bash
source $(which virtualenvwrapper.sh)
workon tesis
python -m unittest tests.recommender_test
| mit |
kwbock/todos-react | app/assets/javascripts/dispatchers/app-dispatcher.js | 424 | var Dispatcher = require('flux').Dispatcher;
var assign = require('object-assign')
var AppDispatcher = assign(new Dispatcher(), {
handleViewAction: function(action) {
this.dispatch({
actionType: 'VIEW_ACTION',
action: action
});
},
handleServerAction: function(action) {
this.dispatch({
... | mit |
VaskoViktorov/SoftUni-Homework | 03. Software Technologies - 27.02.2017/3. PHP First Steps - Exercises/06. Numbers from N to 1_Скелет.php | 388 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>First Steps Into PHP</title>
</head>
<body>
<form>
N: <input type="text" name="num" />
<input type="submit" />
</form>
<!--Write your PHP Script here-->
</body>
</html>
<?php
if (isset($_GET['num'])) {
$n1 = intval($_GET['num'])... | mit |
SLIBIO/SLib | src/slib/ui/clipboard_gtk.cpp | 2093 | /*
* Copyright (c) 2008-2018 SLIBIO <https://github.com/SLIBIO>
*
* 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
* ... | mit |
Brackets-Themes/Dune | dune.css | 2293 | /* SWATCHES ---------------------------------------------------------------------- */
span.cm-bracket { color: #0076be; }
span.cm-builtin { color: #0076be; }
span.cm-def { color: #0076be; }
span.cm-header { color: #0076be; }
span.cm-meta { color: #0076be; }
span.cm-operator { color: #0076be; }
span.cm-qua... | mit |
mantzaris/data | prisonData/readMe.md | 206 | Prisoner Data for the Americas (North, South, Central) for a set of years and the numbers of the populations for the countries as of 2017. The adjacency matrix is the countries which border with each other. | mit |
mattheuslee/PyConv | src/PyConv/main/language/types/line/LineType.hpp | 2232 | #pragma once
#include <string>
namespace pyconv {
namespace language {
namespace types{
namespace line {
using std::string;
class LineType {
public:
typedef int line_t;
static const line_t BLANK = 0;
static const line_t CLOSE_BRACE = 1;
static const line_t ELIF_STATEMENT = 2;
static const line... | mit |
klevu/klevu-smart-search-M1 | app/code/community/Klevu/Boosting/Model/Boost.php | 1698 | <?php
class Klevu_Boosting_Model_Boost extends Mage_CatalogRule_Model_Rule
{
protected $_eventPrefix = 'boosting';
protected $_eventObject = 'object';
protected function _construct()
{
$this->_init("boosting/boost");
}
public function getConditionsInstance()
{
return Mage::ge... | mit |
bitzesty/trade-tariff-backend | spec/services/heading_service/cached_heading_service_spec.rb | 8845 | require 'rails_helper'
describe HeadingService::CachedHeadingService do
let(:heading) { create :heading, :non_grouping,
:with_description }
let(:measure_type) { create :measure_type, measure_type_id: '103' }
let(:actual_date) { Date.current }
describe '#serializable_hash' do
... | mit |
mzeitler/openstrom | firmware/prototype - final/firmware/src/system_config/default/framework/peripheral/usart/templates/usart_Receiver9Bits_Default.h | 3281 | /*******************************************************************************
USART Peripheral Library Template Implementation
File Name:
usart_Receiver9Bits_Default.h
Summary:
USART PLIB Template Implementation
Description:
This header file contains template implementations
For Feature : ... | mit |
Christopheraburns/projecttelemetry | node_modules/splunk-sdk/examples/browser/helloworld/index.html | 40476 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>"Hello World"-style Examples -- Splunk SDK for JavaScript</title>
<meta name="description" content="">
<meta name="author" content="">
<!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
<!--[if lt IE 9]>
<scr... | mit |
yanx611/Flightonight | public/resources/main.js | 6549 | $(document).ready(function(){
//enable the return time input and dropdown
$("#round").change(function() {
if(this.checked) {
console.log("Return data field open!");
$("#rD").removeClass('ui disabled input').addClass('ui input');
$("#rY").removeClass('ui disabled inp... | mit |
pcantrell/refinerycms | dashboard/app/helpers/refinery/admin/dashboard_helper.rb | 1045 | module ::Refinery
module Admin
module DashboardHelper
def activity_message_for(record)
if (plugin = ::Refinery::Plugins.active.find_by_model(record.class)) &&
(activity = plugin.activity.first)
# work out which action occured
action = record.updated_at.eql?(record.cre... | mit |
portojs/angular-project-1 | app/products.js | 1211 | (function(){
angular.module('list-products', [])
.directive('productInfo', function() {
return {
restrict: 'E',
templateUrl: 'partials/product-info.html'
}
})
.directive('productForm', function() {
return {
restrict: 'E',
templateUrl: 'partials/product-for... | mit |
TylorS167/167 | src/list/takeWhile/index.ts | 52 | export * from './types'
export * from './takeWhile'
| mit |
jamesmontemagno/Xamarin.Forms-Awesome-Controls | GifImageView/Droid/Properties/AssemblyInfo.cs | 1016 | using System.Reflection;
using System.Runtime.CompilerServices;
using Android.App;
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.
[assembly: AssemblyTitle("GifViewer.Droid")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConf... | mit |
commonsensesoftware/More | src/More/More/IO/IFile.cs | 3144 | namespace More.IO
{
using System;
using System.Diagnostics.Contracts;
using System.IO;
using System.Threading.Tasks;
/// <summary>
/// Represents a file with information about its contents and ways to manipulate it.
/// </summary>
[ContractClass( typeof( IFileContract ) )]
public i... | mit |