repo_name stringlengths 4 116 | path stringlengths 3 942 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
carlosedusousa/curso-java-fonts | layouts-em-Java/src/br/com/intagrator/cap8/TrabFlowLayout.java | 653 | /*
(c)2014|US-UltimateShip.
Univali - Universidade do Vale do Itajaí.
GeraçãoTec - Projeto Filnal Batalha Final em JAVA.
Criadores:
Alexandre <alexandreess@gmail.com>
Carlos Eduardo Passos de Sousa <carloseduardosousa@gmail.com>
Henrique Wilhelm <henrique.wilhelm@gmail.com>
Jaison dos santos <jaison1906@gma... | mit |
raeffu/prog2 | src/ch11/product_serial/Product.java | 1562 | package ch11.product_serial;
public class Product
{
private String name;
private double price;
private int quantity;
/**
Constructs a product with empty name and 0 price and
quantity.
*/
public Product()
{
name = "";
price = 0;
quantity = 0;
}
/**... | mit |
hkvalvik/element-observer | test/utils.js | 1413 | var expect = chai.expect;
var assert = chai.assert;
var Utils = {
elementContainer: undefined,
_init: function(){
this.elementContainer = document.createElement('div');
this.elementContainer.setAttribute('data-element-container', '');
this.elementContainer.style.display = 'none';
... | mit |
orbitvu/django-extensions | django_extensions/db/fields/encrypted.py | 4102 | from django.db import models
from django.core.exceptions import ImproperlyConfigured
from django import forms
from django.conf import settings
import warnings
try:
from keyczar import keyczar
except ImportError:
raise ImportError('Using an encrypted field requires the Keyczar module. '
'Y... | mit |
m0r13/technoqualle-android | app/src/main/java/de/yellow_ray/bluetoothtest/BluetoothService.java | 6754 | package de.yellow_ray.bluetoothtest;
import android.bluetooth.BluetoothAdapter;
import android.bluetooth.BluetoothDevice;
import android.bluetooth.BluetoothSocket;
import android.os.Bundle;
import android.os.Handler;
import android.os.Message;
import android.util.Log;
import java.io.IOException;
import java.io.InputS... | mit |
panva/node-oidc-provider | example/standalone.js | 2219 | /* eslint-disable no-console */
const path = require('path');
const { promisify } = require('util');
const render = require('koa-ejs');
const helmet = require('helmet');
const { Provider } = require('../lib'); // require('oidc-provider');
const Account = require('./support/account');
const configuration = require('... | mit |
nbutton23/CanvasAPI | src/main/java/com/instructure/canvasapi/api/NotificationPreferencesAPI.java | 7235 | package com.instructure.canvasapi.api;
import com.instructure.canvasapi.model.CanvasContext;
import com.instructure.canvasapi.model.NotificationPreferenceResponse;
import com.instructure.canvasapi.utilities.APIHelpers;
import com.instructure.canvasapi.utilities.CanvasCallback;
import com.instructure.canvasapi.utilitie... | mit |
mathiasbynens/unicode-data | 8.0.0/blocks/Vertical-Forms-symbols.js | 245 | // All symbols in the Vertical Forms block as per Unicode v8.0.0:
[
'\uFE10',
'\uFE11',
'\uFE12',
'\uFE13',
'\uFE14',
'\uFE15',
'\uFE16',
'\uFE17',
'\uFE18',
'\uFE19',
'\uFE1A',
'\uFE1B',
'\uFE1C',
'\uFE1D',
'\uFE1E',
'\uFE1F'
]; | mit |
jmepg/yplan_web | places.html | 3044 | <!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="description" content="">
<meta name="author" content="">
<title>YPlan?</title>
<!-- Bootst... | mit |
WindStill/mail_view | lib/mail_view.rb | 1999 | require 'erb'
require 'tilt'
require 'rack/mime'
class MailView
autoload :Mapper, 'mail_view/mapper'
class << self
def default_email_template_path
File.expand_path('../mail_view/email.html.erb', __FILE__)
end
def default_index_template_path
File.expand_path('../mail_view/index.html.erb',... | mit |
coq-bench/coq-bench.github.io-old | clean/Linux-x86_64-4.01.0-1.2.0/unstable/8.4.dev/contrib:circuits/8.4.dev/2014-12-12_08-42-09.html | 15180 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Coq bench</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel="stylesheet... | mit |
jairoandre/lance-web-hot | src/redux/modules/serviceTypes.js | 3767 | const LOAD = 'lance-web/serviceTypes/LOAD';
const LOAD_SUCCESS = 'lance-web/serviceTypes/LOAD_SUCCESS';
const LOAD_FAIL = 'lance-web/serviceTypes/LOAD_FAIL';
const EDIT_START = 'lance-web/serviceTypes/EDIT_START';
const EDIT_STOP = 'lance-web/serviceTypes/EDIT_STOP';
const SAVE = 'lance-web/serviceTypes/SAVE';
const SA... | mit |
deluxcoin/delux | src/qt/editaddressdialog.cpp | 3729 | #include "editaddressdialog.h"
#include "ui_editaddressdialog.h"
#include "addresstablemodel.h"
#include "guiutil.h"
#include <QDataWidgetMapper>
#include <QMessageBox>
EditAddressDialog::EditAddressDialog(Mode mode, QWidget *parent) :
QDialog(parent),
ui(new Ui::EditAddressDialog), mapper(0), mode(mode), mo... | mit |
csap-platform/csap-core | csap-core-service/src/main/java/org/csap/agent/stats/service/JmxCustomCollector.java | 10207 | package org.csap.agent.stats.service ;
import java.util.concurrent.TimeUnit ;
import javax.management.MBeanServerConnection ;
import javax.management.ObjectName ;
import org.csap.agent.CsapApis ;
import org.csap.agent.model.ServiceAlertsEnum ;
import org.csap.agent.stats.ServiceCollector ;
import org.csap.helpers.CS... | mit |
ykwd/rDSN | src/core/core/address.cpp | 8222 | /*
* The MIT License (MIT)
*
* Copyright (c) 2015 Microsoft Corporation
*
* -=- Robust Distributed System Nucleus (rDSN) -=-
*
* 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 witho... | mit |
mtrempoltsev/msu_cpp_autumn_2017 | homework/Zimnyukov/05/Matrix.cpp | 4826 | #include <iostream>
#include <cstdlib>
#include <cassert>
#include <vector>
#include <stdio.h>
using namespace std;
//Proxy-class for [][] operation
template <typename T>
class Matrix_Row
{
private:
T *row;
size_t m;
public:
Matrix_Row<T>(T* a, size_t cnt) {
row = a;
m = cnt;
}
T&... | mit |
Azure/azure-sdk-for-java | sdk/spring/azure-spring-boot/src/test/java/com/azure/spring/autoconfigure/cosmos/CosmosRepositoriesAutoConfigurationUnitTest.java | 3673 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.azure.spring.autoconfigure.cosmos;
import com.azure.cosmos.models.CosmosContainerProperties;
import com.azure.spring.autoconfigure.cosmos.domain.Person;
import com.azure.spring.autoconfigure.cosmos.domain.Perso... | mit |
jl-/react-flexify | README.md | 1645 | #### react flexbox component
```bash
npm install react-flexify --save
```
```js
import Flex from 'react-flexify';
```
```html
<Flex row> // flex container
<Flex grow='1' shrink='2' basis='400px'>hi</Flex> // flex-item,
<Flex flex='1 2 400px' tag='span'>hi</Flex> // flex-item, <span>hi</span>
<div> hi </... | mit |
renaudbedard/littlebits-arduino | Sketches/UberLatch/Pins.h | 479 | #include "Arduino.h"
#ifndef PINS_H
#define PINS_H
class In
{
public:
class Digital
{
public:
static const byte Pulse = 0;
};
class Analog
{
public:
static const byte DutyCycle = 0;
};
};
class Out
{
public:
class Digital
{
public:
static const by... | mit |
aasiimweDataCare/Dev_ftf | Dev_CPM/testMail.php | 1437 | <?php
include('class.phpmailer.php');
$mail = new PHPMailer();
$mail->IsHTML(true);
$mail->IsSMTP();
$mail->SMTPAuth = true;
$mail->SMTPSecure = "ssl";
$mail->Host = "smtp.gmail.com";
$mail->Port = 465;
$mail->Username = "Xarafire";
$mail->Password = "symwe!@#123";
$fromname =... | mit |
wouterverweirder/javascript-workout | dist/presentation/slides/keynote.062.desktop.html | 3446 | <template>
<div class="slide" style="display: flex; width: 100%;">
<div class="slide-content" style="display: flex; width: 100%;">
<div class="live-code" style="display: flex; width: 100%;" data-entry-path="demos/demo-tessel-webcam" data-output-path="tmp/demo-tessel-webcam">
<div class="split-pane f... | mit |
karissa/ReadStat | src/readstat_por_parse.c | 8862 |
#line 1 "src/readstat_por_parse.rl"
#include "readstat.h"
#include "readstat_por_parse.h"
#include <unistd.h>
#line 10 "src/readstat_por_parse.c"
static const int por_field_parse_start = 1;
static const int por_field_parse_en_main = 1;
#line 9 "src/readstat_por_parse.rl"
int readstat_por_parse_double(const cha... | mit |
bitmovin/bitmovin-player-ui | src/ts/storageutils.ts | 2905 | export namespace StorageUtils {
let hasLocalStorageCache: boolean;
export function hasLocalStorage(): boolean {
if (hasLocalStorageCache) {
return hasLocalStorageCache;
}
// hasLocalStorage is used to safely ensure we can use localStorage
// taken from https://developer.mozilla.org/en-US/doc... | mit |
KlishGroup/prose-pogs | pogs/B/BTRDNHX/HGD/index.md | 1728 | ---
layout: page
title: Hogan Group Dinner
date: 2016-05-24
author: Joseph Escobar
tags: weekly links, java
status: published
summary: Mauris non leo magna. Aliquam fermentum tristique nunc, eget vulputate.
banner: images/banner/leisure-03.jpg
booking:
startDate: 08/22/2019
endDate: 08/27/2019
ctyhocn: BTRDNHX
... | mit |
KlishGroup/prose-pogs | pogs/P/PORINHX/VDID/index.md | 2485 | ---
layout: page
title: Valley Dragon Industries Dinner
date: 2016-05-24
author: Christina Silva
tags: weekly links, java
status: published
summary: Nam ullamcorper neque in varius volutpat. Cras vitae ex.
banner: images/banner/office-01.jpg
booking:
startDate: 09/21/2017
endDate: 09/25/2017
ctyhocn: PORINHX
gr... | mit |
AndreyBelym/testcafe-browser-tools | src/natives/maximize/win/Maximize.cs | 1625 | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Runtime.InteropServices;
using System.Drawing;
using System.Drawing.Imaging;
using System.Threading;
using System.Text;
namespace BrowserNatives {
class Maximize {
//Consts
const int SW_SHOWMAXI... | mit |
Rohichi/3DEngine | src/fr/rohichi/engine3d/Pair.java | 88 | package fr.rohichi.engine3d;
public class Pair {
public int x;
public int y;
}
| mit |
kinokocchi/Ttada | parent/dbcache/src/main/java/info/pinlab/ttada/dbcache/SqliteConnectionWrapper.java | 2370 | package info.pinlab.ttada.dbcache;
import java.sql.Connection;
import java.sql.DatabaseMetaData;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
public class SqliteConnectionWrapper {
private final String url;
Connection conn = null;
Statement st... | mit |
eu81273/angularjs-testing-example | test/unit/servicesSpec.js | 313 | 'use strict';
// 서비스 단위 테스트
describe('서비스 단위 테스트', function() {
beforeEach(module('myApp.services'));
describe('버전 서비스 테스트', function() {
it('현재 버전 반환', inject(function(version) {
expect(version).toEqual('0.1');
}));
});
});
| mit |
pinepain/amqpy | src/AMQPy/AbstractListener.php | 3816 | <?php
namespace AMQPy;
use AMQPEnvelope;
use AMQPQueue;
use AMQPy\Client\Delivery;
use AMQPy\Serializers\Exceptions\SerializerException;
use AMQPy\Serializers\SerializersPool;
use AMQPy\Support\DeliveryBuilder;
use Exception;
abstract class AbstractListener
{
private $queue;
private $serializers;
private... | mit |
dusadpiyush96/Competetive | HackerRank/Algorithm/Strings/MarsExploration.java | 1004 | import java.io.*;
import java.math.*;
import java.security.*;
import java.text.*;
import java.util.*;
import java.util.concurrent.*;
import java.util.regex.*;
public class Solution {
// Complete the marsExploration function below.
static int marsExploration(String s) {
int count = 0;
char[] c ... | mit |
sassy224/PasswordTextBox | CustomControls/PasswordMeter.cs | 33534 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Drawing.Drawing2D;
using Common;
namespace CustomControls
{
public partial class Passwo... | mit |
mntone/Xamcc | Mntone.Xamcc/Mntone.Xamcc.Shared/include/Xamcc.h | 591 | #pragma once
#ifndef XAMCC_YOUR_ROOT_NAMESPACE_BEGIN
#define XAMCC_YOUR_ROOT_NAMESPACE_BEGIN namespace Mntone {
#endif
#ifndef XAMCC_YOUR_ROOT_NAMESPACE_END
#define XAMCC_YOUR_ROOT_NAMESPACE_END }
#endif
#include "Preprocessor\PropertyPreprocessor.h"
#include "Preprocessor\DependencyObjectPreprocessor.h"
... | mit |
xianjunzhengbackup/code | data science/machine_learning_for_the_web/chapter_4/movie/2038.html | 2967 | <HTML><HEAD>
<TITLE>Review for So I Married an Axe Murderer (1993)</TITLE>
<LINK REL="STYLESHEET" TYPE="text/css" HREF="/ramr.css">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1 ALIGN="CENTER" CLASS="title"><A HREF="/Title?0108174">So I Married an Axe Murderer (1993)</A></H1><H3 ALIGN=CENTER>reviewed by<BR><... | mit |
chcbaram/rover5_ros | build/devel/etc/catkin/profile.d/05.catkin-test-results.sh | 230 | # generated from catkin/cmake/env-hooks/05.catkin-test-results.sh.develspace.in
export CATKIN_TEST_RESULTS_DIR="/home/ubuntu/ros/catkin_ws/src/rover5_ros/build/test_results"
export ROS_TEST_RESULTS_DIR="$CATKIN_TEST_RESULTS_DIR"
| mit |
CareerVillage/slack-moderation | src/moderation/settings/__init__.py | 305 | try:
print 'Importing ....'
from base import * # noqa
from local import * # noqa
except ImportError:
import traceback
print traceback.format_exc()
print 'Unable to find moderation/settings/local.py'
try:
from post_env_commons import * # noqa
except ImportError:
pass
| mit |
jronallo/digitization-locker | app/controllers/locker_controller.rb | 131 | class LockerController < ApplicationController
def index
@filenames = Dir.glob(File.join(APP_CONFIG[:locker], '*'))
end
end | mit |
coinfoundry/miningcore | src/Miningcore/Blockchain/Ergo/ErgoPayoutHandler.cs | 14286 | using Autofac;
using AutoMapper;
using Miningcore.Blockchain.Ergo.Configuration;
using Miningcore.Configuration;
using Miningcore.Extensions;
using Miningcore.Messaging;
using Miningcore.Mining;
using Miningcore.Payments;
using Miningcore.Persistence;
using Miningcore.Persistence.Model;
using Miningcore.Persistence.Rep... | mit |
viralsolani/laravel-adminpanel | routes/breadcrumbs/backend/email-templates/email-template.php | 673 | <?php
Breadcrumbs::for('admin.email-templates.index', function ($trail) {
$trail->push(__('labels.backend.access.email-templates.management'), route('admin.email-templates.index'));
});
Breadcrumbs::for('admin.email-templates.create', function ($trail) {
$trail->parent('admin.email-templates.index');
$tra... | mit |
covingtondoan/radiorounds | site/content/contact.md | 833 | ---
title: Contact
type: single
---
# Contact
## Send us a message
<form name="Contact Form" netlify-honeypot="phone" action="/thanks.html" class="bg-black-05 black-70 pa3" netlify>
<label class="db f5 fw4 mb2">Name <input type="text" name="name" class="b--black-30 ba db input-reset mb3 pa2 w-100" required></lab... | mit |
ML-SWAT/Web2KnowledgeBase | webkb/other/texas/http:^^www.cs.utexas.edu^users^zhuqing^austin.html | 2144 | MIME-Version: 1.0
Server: CERN/3.0
Date: Monday, 06-Jan-97 21:51:50 GMT
Content-Type: text/html
Content-Length: 1973
Last-Modified: Monday, 14-Aug-95 19:07:53 GMT
<HTML>
<HEAD>
<TITLE>Links to Austin</TITLE>
</HEAD>
<BODY BGCOLOR="#90DDB0" TEXT="#002233" LINK="#AA2233"
VLINK="#44ll88">
<CENTER>
<H1>AUSTIN -- ... | mit |
Yndal/ArduPilot-SensorPlatform | ardupilot/ArduPlane/config.h | 12281 | // -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
//
//////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////
//
// WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING
//
/... | mit |
aykutaras/gosquare | base.go | 286 | package gosquare
type Meta struct {
Code int `json:"code"`
ErrorType string `json:"errorType"`
ErrorDetails string `json:"errorDetails"`
}
type Notifications []Notification
type Notification struct {
Type string `json:"type"`
Item interface{} `json:"item"`
}
| mit |
tm1990/MiscItemsAndBlocks | common/Mod/Items/ModItemSilverSword.java | 4575 | package Mod.Items;
import java.util.List;
import net.minecraft.client.renderer.texture.IconRegister;
import net.minecraft.entity.Entity;
import net.minecraft.entity.EntityLivingBase;
import net.minecraft.entity.boss.EntityDragon;
import net.minecraft.entity.boss.EntityWither;
import net.minecraft.entity.monster.Entit... | mit |
dflydev/dflydev-encrypted-fig-cookies | src/Dflydev/EncryptedFigCookies/Encryption/Adapter/ZendCryptEncryption.php | 684 | <?php
namespace Dflydev\EncryptedFigCookies\Encryption\Adapter;
use Dflydev\EncryptedFigCookies\Encryption\Encryption;
use Zend\Filter\Decrypt;
use Zend\Filter\Encrypt;
class ZendCryptEncryption implements Encryption
{
/**
* @var Decrypt
*/
private $decrypt;
/**
* @var Encrypt
*/
... | mit |
imsangram/ng-course2 | src/app/observables/observable.component.html | 1116 | <b>Angular Component Using Observables!</b>
<h6 style="margin-bottom: 0">VALUES:</h6>
<div *ngFor="let value of values">- {{ value }}</div>
<h6 style="margin-bottom: 0">ERRORs:</h6>
<div>Errors: {{anyErrors}}</div>
<h6 style="margin-bottom: 0">FINISHED:</h6>
<div>Finished: {{ finished }}</div>
<button style="margin-top... | mit |
uaktags/lyraEngine | src/WidgetRegistry.php | 754 | <?php
namespace Lyra;
use Lyra\Interfaces\Widget;
class WidgetRegistry implements \Lyra\Interfaces\WidgetRegistry
{
/**
* {@inheritdoc}
*/
protected $widgets;
public function __construct()
{
$this->widgets = [];
}
/**
* {@inheritdoc}
*/
public function addWidg... | mit |
TACTfactory/harmony-core | src/com/tactfactory/harmony/platform/android/updater/AddEntityFieldAndroid.java | 1647 | package com.tactfactory.harmony.platform.android.updater;
import java.io.File;
import java.io.IOException;
import java.io.StringWriter;
import com.tactfactory.harmony.generator.BaseGenerator;
import com.tactfactory.harmony.platform.IAdapter;
import com.tactfactory.harmony.updater.IAddEntityField;
import com.tactfactor... | mit |
Sideclick/EntityHelperBundle | src/SideclickEntityHelperBundle.php | 150 | <?php
namespace Sideclick\EntityHelperBundle;
use Symfony\Component\HttpKernel\Bundle\Bundle;
class SideclickEntityHelperBundle extends Bundle
{
}
| mit |
colajam93/dotfiles | kube-ps1/install.sh | 422 | #!/usr/bin/env bash
script_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
source $script_dir/../external/libshellscript/libshellscript/libshellscript.sh
install_path=$HOME/.shell/kube-ps1
mkdir -p $(dirname $install_path)
if ! [[ -e $install_path ]]; then
print_information "installing kube-ps1"
git c... | mit |
SmallSatGasTeam/OpenSPA | lib/component.hpp | 1736 | #ifndef COMPONENT_HPP
#define COMPONENT_HPP
#include "messages/spa_subscription_reply.hpp"
#include "messages/spa_subscription_request.hpp"
#include "messages/spa_data.hpp"
#include "spa_communicator.hpp"
#include "spa_message.hpp"
#include <iostream>
#include <memory>
#include <vector>
struct Subscriber
{
Subscrib... | mit |
boh1996/TwitterAnalytics | v1/application/views/admin_strings_view.php | 511 | <!-- Replaced strings -->
<form class="form-signin form-horizontal" id="replaced_strings_form" role="form">
<div class="col-sm-10 col-sm-offset-4">
<h2 class="form-signin-heading"><?= $this->lang->line("replaced_string_settings"); ?></h2>
</div>
<div class="form-group">
<div class="col-sm-offset-4 col-sm-6">
... | mit |
craftit/BMC2-Firmware | Firmware/ext/STM32F4xx_DSP_StdPeriph_Lib/Project/STM32F4xx_StdPeriph_Examples/FMC/FMC_SDRAM_SRAM_BankSwitch/stm32f4xx_conf.h | 4504 | /**
******************************************************************************
* @file Project/STM32F4xx_StdPeriph_Templates/stm32f4xx_conf.h
* @author MCD Application Team
* @version V1.8.0
* @date 04-November-2016
* @brief Library configuration file.
*******************************... | mit |
simonmysun/praxis | TAIHAO2019/pub/SmallGame/AsFastAsYouCan2/5615562191eb5885cf1c5c0241907a712af52704d4e670ab7a61759544b5326b.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="./f1bdca944d6aea435faa46b38cfdd496460c0037b4764850c66feea2d0c2393a.html">Teleport</a>
<hr>
... | mit |
selvasingh/azure-sdk-for-java | sdk/spring/azure-spring-data-gremlin/src/main/java/com/microsoft/spring/data/gremlin/repository/config/GremlinRepositoryRegistrar.java | 746 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.microsoft.spring.data.gremlin.repository.config;
import org.springframework.data.repository.config.RepositoryBeanDefinitionRegistrarSupport;
import org.springframework.data.repository.config.RepositoryConfigura... | mit |
wilfeli/DMGameBasic | src/Message.cpp | 1845 | /*
* Message.cc
*
* Created on: Apr 13, 2014
* Author: wilfeli
*/
#include "Message.h"
Message::Message(std::string s_):type(s_){};
MessagePSSendPayment::MessagePSSendPayment(IPSAgent* a_, double q_, std::string type_):
Message(type_), getter(a_), q(q_){};
MessagePSSendPayment::MessagePSSendPayment(... | mit |
peinanshow/react-redux-samples | src/components/common/AssignTo/AssignTo.js | 4465 | import React, { PropTypes, Component } from 'react';
import cx from 'classnames';
import Modal from '../Modal';
import FontIcon from '../FontIcon';
import s from './AssignTo.scss';
class AssignTo extends Component {
state = {
nodeIdx: null,
treeData: [],
};
componentDidMount = () => this.setState({
... | mit |
martinsvb/Angular2_bootstrap_seed | src/client/app/+profile/profile.component.ts | 2850 | import { Component } from '@angular/core';
import { NgForm } from '@angular/forms';
import { AppConfig, AppRequest } from '../shared/index';
import { UserModel } from '../+users/user.interface';
import { TranslationComponent } from '../shared/translation/translation.component';
import { CacheComponent } from '../shared... | mit |
harunhasdal/sftp-connector | src/main/java/com/github/harunhasdal/livecycle/sftp/SFTPParameterException.java | 1476 | /*
The MIT License (MIT)
Copyright (c) 2014 Harun Hasdal
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, ... | mit |
lgranade/ciaa_cv | x86/omv/im_filter.c | 2625 | /*
* This file is part of the OpenMV project.
* Copyright (c) 2013/2014 Ibrahim Abdelkader <i.abdalkader@gmail.com>
* This work is licensed under the MIT license, see the file LICENSE for details.
*
* Filter Functions.
*
* Filter functions bypass the default line processing in sensor.c, and pre-process lines.
... | mit |
buttonwoodcx/bcx-validation | test/standard-transformers-and-validators/is-false.spec.js | 1160 | import test from 'tape';
import Validation from '../../src/validation';
import _ from 'lodash';
const v = new Validation();
test('isFalse: validates isFalse', t => {
let rule = {a: "isFalse"};
t.equal(v.validate({a: false}, rule), undefined);
t.deepEqual(v.validate({a: true}, rule), {a: ['must be false']});
... | mit |
Pervasive/Lively3D | Dropbox/Lively3D/Resources/MiniGolf/scripts/rigid_body.js | 29886 | /*
Copyright (c) 2007 Danny Chapman
http://www.rowlhouse.co.uk
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for... | mit |
KK-ZHUANG/Stock-Commission | code/index.css | 2037 | @charset "utf-8";
* {
margin:0px;
padding:0px;
font-family:"Consolas","Microsoft YaHei","Hiragino Sans GB","WenQuanYi Micro Hei",sans-serif;
outline:none;
border:none;
color:#666;
font-size:16px;
}
body {
min-width:1000px;
}
div {
position:relative;
}
img {
width:100%;
he... | mit |
AndersenLab/Andersen-Lab-Strains | change_log.md | 1803 | #### 2016-04-06
* Added ECA252 (CB4858_UK) into analysis.
#### 2015-11-05
* Updated number of wild isolates, isotypes, and more by adding UChicago and UChicago2 Strains.
* Finished fastq sheet.
#### 2015-11-04
* Fastq Libraries were renamed as follows to improve readability. Note that not all libraries are present... | mit |
marius1092/test | vendor/bundles/Admingenerator/GeneratorBundle/QueryFilter/QueryFilterInterface.php | 629 | <?php
namespace Admingenerator\GeneratorBundle\QueryFilter;
interface QueryFilterInterface
{
/**
* @param object $query the query object interface depend of the ORM
*
* @api
*/
function setQuery($query);
/**
* @return the query object interface depend of the ORM
*
* @ap... | mit |
AlexKomm/alexkomm.github.io | patterns/04-layouts-grid/index.html | 7631 | <!DOCTYPE html>
<html class="pl">
<head>
<title>Pattern Lab</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width" />
<link rel="stylesheet" href="/assets/../components/css/pattern-scaffolding.css?1500631430" media="all" />
<link rel="stylesheet" href="/assets/style.css... | mit |
spookiecookie/russianaicup | codewizards2016/java-cgdk/src/main/java/model/LineType.java | 606 | package model;
/**
* Тип дорожки.
*/
public enum LineType {
/**
* Верхняя. Проходит через левый нижний, левый верхний и правый верхний углы карты.
*/
TOP,
/**
* Центральная. Напрямую соединяет левый нижний и правый верхний углы карты.
*/
MIDDLE,
/**
* Нижняя. Проходит ч... | mit |
auromota/easy-pizza-api | src/public/js/factories/pizzaFactory.js | 778 | app.factory('Pizza', ['$resource', 'LoginService', function ($resource, LoginService) {
const headers = {
token: getToken
};
return $resource('./api/pizzas/:id', { id: '@_id' },
{
query: {
method: 'GET',
isArray: true,
headers
... | mit |
tfennelly/jenkins | core/src/main/java/hudson/model/Queue.java | 108599 | /*
* The MIT License
*
* Copyright (c) 2004-2010, Sun Microsystems, Inc., Kohsuke Kawaguchi,
* Stephen Connolly, Tom Huybrechts, InfraDNA, 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 th... | mit |
travisjeffery/pdf_renderer | lib/pdf_renderer.rb | 361 | require "action_controller"
Mime::Type.register "application/pdf", :pdf
require "prawn"
ActionController::Renderers.add :pdf do |filename, options|
pdf = Prawn::Document.new
pdf.text render_to_string options
send_data pdf.render, :filename => "#{filename}.pdf",
:type => "application/pdf", :disposition => ... | mit |
ka215/WP-Gentelella | vendors/echarts/test/ut/spec/model/Global.js | 29436 | describe('modelAndOptionMapping', function() {
var utHelper = window.utHelper;
var testCase = utHelper.prepare([
'echarts/src/component/grid',
'echarts/src/chart/line',
'echarts/src/chart/pie',
'echarts/src/chart/bar',
'echarts/src/component/toolbox',
'echarts/s... | mit |
nimbleapps/export_to_spreadsheet | lib/apache-poi/docs/apidocs/org/apache/poi/ss/usermodel/class-use/Comment.html | 15959 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_19) on Fri Oct 29 16:39:56 MSD 2010 -->
<TITLE>
Uses of Interface org.apache.poi.ss.usermodel.Comment (POI API Documentation)
</TITLE>
<MET... | mit |
AlloyTeam/Nuclear | components/icon/esm/camera-rear-outlined.js | 337 | import { h } from 'omi';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(h("path", {
d: "M5 20v2h5v2l3-3-3-3v2zm9 0h5v2h-5zm3-20H7C5.9 0 5 .9 5 2v14c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V2c0-1.1-.9-2-2-2zm0 16H7V2h10v14zm-5-9c1.1 0 2-.9 1.99-2 0-1.1-.9-2-2-2S10 3.9 10 5s.89 2 2 2z"
}), 'Came... | mit |
gopasspw/gopass | internal/backend/crypto/gpg/context.go | 924 | package gpg
import "context"
type contextKey int
const (
ctxKeyAlwaysTrust contextKey = iota
ctxKeyUseCache
)
// WithAlwaysTrust will return a context with the flag for always trust set.
func WithAlwaysTrust(ctx context.Context, at bool) context.Context {
return context.WithValue(ctx, ctxKeyAlwaysTrust, at)
}
/... | mit |
ccgus/jstalk | experimental/src/JSTBridge.h | 1243 | //
// JSTBridge.h
// jstalk
//
// Created by August Mueller on 9/23/10.
// Copyright 2010 Flying Meat Inc. All rights reserved.
//
#import <Cocoa/Cocoa.h>
#import <JavaScriptCore/JavaScriptCore.h>
#import "JSTBridgeSupportLoader.h"
#import <objc/runtime.h>
#import <objc/message.h>
#import <sys/mman.h>
#import <ass... | mit |
Jamol/kuma | test/www/index.html | 1775 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8">
<title>kuma test</title>
</head>
<body>
<h1>kuma test</h1>
<button type="button" onclick="testWebSocket()">test WebSocket<... | mit |
halllo/ManuelsChat | VSChat/MyToolWindow.cs | 1689 | using System;
using System.Runtime.InteropServices;
using EnvDTE;
namespace ManuelNaujoks.VSChat
{
[Guid("173cbcde-e728-442c-82ee-1c29ae3e00af")]
public class MyToolWindow : SolutionAwareToolWindowPane
{
public MyToolWindow()
{
Caption = Resources.ToolWindowTitle;
BitmapResourceID = 301;
BitmapIndex =... | mit |
us10096698/spmemo | karma.conf.js | 1492 | 'use strict';
module.exports = function(config) {
config.set({
basePath: '',
frameworks: ['jasmine'],
files: [
// bower:js
'public/components/jquery/dist/jquery.js',
'public/components/angular/angular.js',
'public/components/bootstrap/dist/js/bootstrap.js',
'public/component... | mit |
mchammabc/sites | public/modules/core/controllers/laddaCtrl.js | 1099 | 'use strict';
/**
* controller for angular-ladda
* An angular directive wrapper for Ladda buttons.
*/
angular.module('core').controller('LaddaCtrl', ["$scope", "$timeout", function ($scope, $timeout) {
$scope.ldloading = {};
$scope.clickBtn = function (style) {
$scope.ldloading[style.replace('-',... | mit |
lexruee/tsl2561 | setup.py | 237 | from distutils.core import setup, Extension
setup(
name="tentacle_pi.TSL2561",
version="1.0",
packages = ["tentacle_pi"],
ext_modules = [
Extension("tentacle_pi.TSL2561",
sources = ["src/tsl2561.c", "src/tsl2561_ext.c"])
]
)
| mit |
recall704/recall704.github.io | tags/k8s/page/2/index.html | 11766 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>
Tag → k8s
| recall's blog
</title>
<meta name="author" content="recall704" />
<meta name="description" content="" />
<meta name="twitter:card" content="summary" />
<meta name="twitter:site" content="... | mit |
ScruffyFurn/IotKit | Weather Demo/ConnectTheDotsGalileo/Configuration.h | 2998 | // ---------------------------------------------------------------------------------
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
//
// The MIT License (MIT)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documenta... | mit |
dfbaskin/react-higher-order-components | packages/presentation/src/shared/fill-view.js | 1272 |
import React, {PureComponent} from "react";
import "./fill-view.css";
export class FillView extends PureComponent {
divRef = null;
state = {
scale: 1.0
};
setDivRef = (ref) => {
this.divRef = ref;
};
componentDidMount() {
const {percentMargin = 6} = this.props;
... | mit |
xiaohuapunk/Benmu-iOS-Library | Source/BMManager/ScreenshotNotification/BMScreenshotEventManager.h | 330 | //
// BMScreenshotEventManager.h
// Pods
//
// Created by XHY on 2017/5/12.
//
//
#import <Foundation/Foundation.h>
@interface BMScreenshotEventManager : NSObject
+ (instancetype)shareInstance;
/* 获取截屏的图片 */
- (UIImage *)snapshotImage;
/**
开启监听截屏事件
*/
- (void)monitorScreenshotEvent;
@end
| mit |
feathersjs/feathers | packages/authentication/CHANGELOG.md | 107114 | # Change Log
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [5.0.0-pre.17](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.16...v5.0.0-pre.17) (2022-02-15)
**Note:** Version bump only for package @fea... | mit |
ccjuantrujillo/cepreadm | application/controllers/ventas/matricula.php | 18373 | <?php header("Content-type: text/html; charset=utf-8");
if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class Matricula extends CI_Controller {
public function __construct(){
parent::__construct();
if(!isset($_SESSION['login'])) die("Sesion terminada. <a href='". base_url().... | mit |
lcs2/carpg | project/source/engine/gui/GetTextDialog.cpp | 4677 | #include "Pch.h"
#include "EngineCore.h"
#include "GetTextDialog.h"
#include "KeyStates.h"
//-----------------------------------------------------------------------------
GetTextDialog* GetTextDialog::self;
//=================================================================================================
GetTextDial... | mit |
simplabs/ember-simple-auth | packages/classic-test-app/tests/acceptance/authentication-test.js | 4913 | import { module, test } from 'qunit';
import { setupApplicationTest } from 'ember-qunit';
import {
currentURL,
visit,
fillIn,
click
} from '@ember/test-helpers';
import hasEmberVersion from 'ember-test-helpers/has-ember-version';
import Pretender from 'pretender';
import {
invalidateSession,
authenticateSes... | mit |
shuxiashusheng/Algorithm-Learning | README.md | 300 | # Algorithm-Learning
For study algorithm ,if the file you need,welcome.
Now is the beganing for Study Algorithm author:bss.If you have any quetion about these demo,please email ...
The folder named Algorithm_Cplus,I practice alorithm use c++,by eclipse IDE. Study_Algorithm_Cplus is the workspace.
| mit |
mattiamanzati/typings-material-ui | svg-icons/action/speaker-notes.d.ts | 170 | import * as React from 'react';
import {SvgIconProps} from '../../SvgIcon';
export default function SpeakerNotes(props: SvgIconProps): React.ReactElement<SvgIconProps>;
| mit |
udoyen/pythonlearning | datatypes/string_special_operators.md | 1746 | ### String Special Operators ###
Assume string variable a holds 'Hello' and variable b holds 'Python', then −
| Operator | Description | Example |
|------------:|:--------------------------------------------------------... | mit |
amberbit/amberbit-config | lib/amberbit-config/hash_struct.rb | 1867 | require 'ostruct'
module AmberbitConfig
# Main class that holds whole configuration, acts as open struct, with few tune ups
class HashStruct < ::OpenStruct
# Initialize with check for conflicts within hash keys
def initialize(hash = nil)
check_hash_for_conflicts hash if hash
super
end
... | mit |
Azure/azure-sdk-for-ruby | management/azure_mgmt_recovery_services_backup/lib/2019-05-13/generated/azure_mgmt_recovery_services_backup/models/yearly_retention_schedule.rb | 4112 | # encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::RecoveryServicesBackup::Mgmt::V2019_05_13
module Models
#
# Yearly retention schedule.
#
class YearlyRetentionSchedule
... | mit |
thomasnat1/DataScience2014CDC | scraped/media$releases$2012$p0809_youth_tobacco.html.html | 5942 | <!DOCTYPE html><body>
<div class="syndicate">
<div class="mSyndicate">
<h1>Press Release</h1>
<div class="rounders grey">
<div class="inner">
<div class="t"></div>
<p style="margin-bottom:0px;"><span class="green">Fo... | mit |
Calvinn097/servermedan | application/models/MAIN/News_m.php | 1108 | <?php
/**
* Created by PhpStorm.
* User: lenovo
* Date: 02/08/2016
* Time: 16.37
*/
class News_m extends CI_Model{
function m_get_news($limit=null,$offset=null){
if($limit!==null && $offset !== null){
$this->db->limit($limit,$offset);
}
if(isset($_GET["id"]))
{
... | mit |
shipshapecode/ember-assign-polyfill | README.md | 2391 | ember-assign-polyfill
==============================================================================
<a href="https://shipshape.io/"><img src="http://i.imgur.com/DWHQjA5.png" width="100" height="100"/></a>
**[ember-assign-polyfill is built and maintained by Ship Shape. Contact us for Ember.js consulting, development,... | mit |
zdzdz/CSharp-Part-2-Homeworks | 06. Strings-And-Text-Processing-HW/ExtractEmails/Properties/AssemblyInfo.cs | 1402 | 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("Ex... | mit |
gkumar7/AlGDock | gui/api/REST.py | 6256 | from flask import Flask, jsonify, request, redirect, url_for
import subprocess
import os
import json
from cross_domain import *
app = Flask(__name__)
ALLOWED_EXTENSIONS = set(['mol', 'smi'])
try:
TARGET = os.environ['TARGET']
except Exception:
print 'export TARGET=<path to data>'
exit(1)
try:
AlGDoc... | mit |
feliposz/learning-stuff | harvard-cs50/src1/positive2.c | 655 | /****************************************************************************
* positive2.c
*
* Computer Science 50
* David J. Malan
*
* Demands that user provide a positive number.
*
* Demonstrates use of bool.
***************************************************************************/
#include <cs50.h>
#in... | mit |
yoman07/GeoChatServer | db.js | 3170 | const crypto = require('crypto');
const passwordHashAlgorithm = 'sha1';
module.exports = function(client) {
var computeSHA1 = function(str) { return crypto.createHash(passwordHashAlgorithm).update(str).digest('hex'); };
var user = {
addUser: function(email, password, callback) {
client.incr('global:use... | mit |