repo_name stringlengths 4 116 | path stringlengths 3 942 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
SolidEdgeCommunity/docs | docfx_project/apidoc/SolidEdgeFramework.Properties.Name.md | 143 | ---
uid: SolidEdgeFramework.Properties.Name
summary:
remarks: All objects have names that are unique within the scope of their parent.
---
| mit |
emoon/ProDBG | src/prodbg/ui/code_views.h | 1505 | #pragma once
#include <QtCore/QPointer>
#include <QtWidgets/QTabWidget>
#include "backend/backend_requests_interface.h"
class BreakpointModel;
class PDIBackendRequests;
class DisassemblyView;
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
clas... | mit |
8percent/8percent.github.io | _posts/2021-02-19-internship-review4.md | 4596 | ---
layout: post
title: "8퍼센트 플랫폼개발 인턴 후기-마지막"
author: selee
description: 그동안 감사했습니다!
---
<p align="center">
<img src="/images/internship-4-인터뷰.jpg" alt="인턴 동기랑" width="500">
</p>
## <span style="color:#6741d9">이벤트 케러셀</span>
남은 기간에는 저번 인턴기에 쓴 이벤트 케러셀/배너 스태프 페이지 만들기 작업을 이어서 계속했다. 관리자 페이지에서 케러셀과 배너를 저장하면 관련 정보를 DB... | mit |
zenzontle/VillonderCoNf | MultipleBackgrounds/multiple.css | 408 | .sample2 .sea {
height: 300px;
width: 480px;
position: relative;
background-image: url(media/fishing.png), url(media/mermaid.png), url(media/sea.png);
background-position: top right 10px, bottom left, top left;
background-repeat: no-repeat, repeat-x, repeat-x;
}
.sample2 .fish {
background: url(media/fish.png) ... | mit |
pvamshi/eslint | lib/rules/no-implied-eval.js | 5435 | /**
* @fileoverview Rule to flag use of implied eval via setTimeout and setInterval
* @author James Allardice
*/
"use strict";
//------------------------------------------------------------------------------
// Requirements
//------------------------------------------------------------------------------
const ast... | mit |
LykkeCity/EthereumApiDotNetCore | src/EthereumSamuraiApiCaller/Models/BlockResponse.cs | 2212 | // <auto-generated>
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
// </auto-generated>
namespace EthereumSamuraiApiCaller.Models
{
using Newtonsoft.Json;
using System.Linq;
public partial class BlockRespo... | mit |
mikeooye/BPKITs | Views/BPPopToast.h | 397 | //
// BPPopToast.h
// BPKITsDemo
//
// Created by mikeooye on 15-3-28.
// Copyright (c) 2015年 ihojin. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface BPPopToast : UIView
@property (copy, nonatomic) NSString *text;
- (void)popToastAtRect:(CGRect)rect inView:(UIView *)view;
@end
@interface NSString (B... | mit |
mtwilliams/mojo | dependencies/assimp-2.0.863/tools/assimp_view/LogWindow.cpp | 6958 | /*
---------------------------------------------------------------------------
Open Asset Import Library (ASSIMP)
---------------------------------------------------------------------------
Copyright (c) 2006-2010, ASSIMP Development Team
All rights reserved.
Redistribution and use of this software in source and bin... | mit |
chaimedes/HanamiTaskList | lib/tasklist.rb | 20 | module Tasklist
end
| mit |
yogoo/ashfurrow-blog | source/blog/2014-09-07-uialertviewcontroller-example.markdown | 8061 | ---
title: "Exploring UIAlertController"
date: 2014-09-07 00:00
link_to: swift
---
This morning, I was working on the [sample app](https://github.com/AshFurrow/Moya/issues/39) for [Moya](https://github.com/AshFurrow/Moya), a network abstraction framework that I’ve built on top of [Alamofire](https://github.com/Alamofi... | mit |
jiji262/codeigniter_boilerplate | application/modules/admin/libraries/Sortable.php | 2088 | <?php
defined('BASEPATH') OR exit('No direct script access allowed');
/**
* Library to generate items for Sortable.js
*/
class Sortable {
protected $CI;
protected $mItems;
protected $mPostName = 'sortable_ids';
public function __construct()
{
$this->CI =& get_instance();
$this->CI->load->library('parser')... | mit |
jpweeks/three.js | examples/jsm/renderers/nodes/parsers/GLSLNodeFunction.js | 2740 | import NodeFunction from '../core/NodeFunction.js';
import NodeFunctionInput from '../core/NodeFunctionInput.js';
const declarationRegexp = /^\s*(highp|mediump|lowp)?\s*([a-z_0-9]+)\s*([a-z_0-9]+)?\s*\(([\s\S]*?)\)/i;
const propertiesRegexp = /[a-z_0-9]+/ig;
const pragmaMain = '#pragma main';
const parse = ( source ... | mit |
mail2yugi/ProjectTodoList | src/app/app.component.js | 1606 | "use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = R... | mit |
lagrantorre/PortafolioTItulo | Feria Desktop/Feria Desktop/View/Mantenedor/Bodega.xaml.cs | 912 | using Feria_Desktop.View.Usuario;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
u... | mit |
gdgzdar/2048 | node_modules/karma/node_modules/lodash/internal/arrayCopy.js | 442 | /**
* Copies the values of `source` to `array`.
*
* @private
* @param {Array} source The array to copy values from.
* @param {Array} [array=[]] The array to copy values to.
* @returns {Array} Returns `array`.
*/
function arrayCopy(source, array) {
var index = -1,
length = source.length;
array || (arra... | mit |
exsortis/Snapper | Snapper/Source/Shared/SNPGetStreamOperation.h | 593 | //
// SNPGetStreamOperation.h
// Snapper
//
// Created by Paul Schifferer on 12/23/12.
// Copyright (c) 2012 Pilgrimage Software. All rights reserved.
//
#import "SNPBaseAppTokenOperation.h"
@interface SNPGetStreamOperation : SNPBaseAppTokenOperation
// -- Properties --
@property (nonatomic, assign) NSInteger s... | mit |
stummk/psp-eclipse | Source/de.uni.bremen.stummk.psp/src/de/uni/bremen/stummk/psp/calculation/EditorToolbarAction.java | 5479 | package de.uni.bremen.stummk.psp.calculation;
import java.lang.reflect.InvocationTargetException;
import java.util.List;
import org.eclipse.core.resources.IFile;
import org.eclipse.core.resources.IProject;
import org.eclipse.core.resources.ResourcesPlugin;
import org.eclipse.core.runtime.CoreException;
import org.ecl... | mit |
ziyasal/node-procexss | HISTORY.md | 131 | 1.0.0 / 2014-12-24
==================
* 0.1.2
- Add X-XSS-Protection header options
* 0.1.1
- Request body or query sanitize | mit |
ploeh/ploeh.github.com | _posts/2019-02-18-from-interaction-based-to-state-based-testing.html | 5696 | ---
layout: post
title: "From interaction-based to state-based testing"
description: "Indiscriminate use of Mocks and Stubs can lead to brittle test suites. A more functional design can make state-based testing easier, leading to more robust test suites."
date: 2019-02-18 8:19 UTC
tags: [Unit Testing, Article Series]
-... | mit |
Pinqvin/afp-game | include/AFP/Entity/Sensor.hpp | 2350 | /// This is the sensor class
///
/// Sensor is a box2d fixture that is attached to a parent body
/// Sensors are used to detect entities in an area.
#pragma once
#include <AFP/Scene/SceneNode.hpp>
#include <AFP/Entity/Entity.hpp>
#include <AFP/Entity/Character.hpp>
namespace AFP
{
class Sensor : public SceneNode
... | mit |
LipliStyle/Liplis-iOS | README.md | 188 | # Liplis-iOS
デスクトップマスコット LiplisのiOS版です。仮想デスクトップ上でキャラクターがおしゃべりします。
# ライセンス
MITライセンス
| mit |
dylanmaryk/InsanityRadio-Android | app/src/main/java/insanityradio/insanityradio/PlayPauseReceiver.java | 663 | package insanityradio.insanityradio;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
public class PlayPauseReceiver extends BroadcastReceiver {
@Override
public void onReceive(Context context, Intent intent) {
try {
FragmentNowPlayin... | mit |
seccom-ufsc/hertz | hertz/settings.py | 3237 | import os
# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
# Quick-start development settings - unsuitable for production
# See https://docs.djangoproject.com/en/1.10/howto/deployment/checklist/
# SECURITY WARNING: keep t... | mit |
phristov/CSharp.DesignPatterns | Builder - Robot/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("Ro... | mit |
thecoons/thecoontube | app/cache/dev/twig/16/fc/cc8b4081822ba4c49543c44f48b24850d6b4ad9846152c39968be5b4e7c7.php | 2146 | <?php
/* FOSUserBundle:Resetting:request_content.html.twig */
class __TwigTemplate_16fccc8b4081822ba4c49543c44f48b24850d6b4ad9846152c39968be5b4e7c7 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blo... | mit |
csxiaoyaojianxian/JavaScriptStudy | 13-自动化测试&mock数据/01-jest入门/09-mock-timer.js | 158 | export default (callback) => {
setTimeout(() => {
callback();
setTimeout(() => {
callback();
}, 3000);
}, 3000);
} | mit |
innovation-jp/innovation-jp.github.io | 2018/06/25/Introduction-of-Computational-Complexity-2.html | 37551 | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>アルゴリズム計算量入門 〜 ② - イノベーション エンジニアブログ</title>
<meta name="HandheldFriendly" content="True">
<meta name="MobileOptimized" content="320">
<meta name="apple-mobile-web-app-capable" c... | mit |
expede/teaching-fp | lesson-plan/week-04/exercises.md | 179 | ### Tree `flatten`
Write a procedure called `tree->list` that completely flattens a tree to a list
Example usage:
```racket
(tree->list '[1 2 [3 [4]] [5]])
;;=> '[1 2 3 4 5]
```
| mit |
shalomscott/urgent | app/shared/fab/fab.component.css | 572 | .float-btn-wrapper {
width: 75;
height: 75;
}
.float-btn-shadow {
width: 56;
height: 56;
}
.float-btn {
background-color: #FF69B4;
border-radius: 28;
width: 56;
height: 56;
text-align: center;
vertical-align: middle;
}
.float-btn.down{
animation-name: down;
animatio... | mit |
zillow/ctds | tests/test_tds_parameter.py | 7779 | import re
import warnings
import ctds
from .base import TestExternalDatabase
from .compat import PY3, PY36, unicode_
class TestTdsParameter(TestExternalDatabase):
def test___doc__(self):
self.assertEqual(
ctds.Parameter.__doc__,
'''\
Parameter(value, output=False)
Explicitly de... | mit |
moljac/Ph4ct3x | samples/Clients/HolisticWare.Ph4ct3x.Server.ASPnet.UI.RazorPages.shared/Pages/Ph4ct3x/Communication/InstantMessagingChat.cshtml.cs | 361 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
namespace HolisticWare.Ph4ct3x.Server.Pages.Ph4ct3x.Communication
{
public class InstantMessagingChatModel : PageModel
{
public vo... | mit |
koobonil/Boss2D | Boss2D/addon/_old/webrtc-qt5.11.2_for_boss/modules/audio_coding/neteq/tools/packet.h | 4769 | /*
* Copyright (c) 2014 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... | mit |
iprafols/cross_correlations | documentation/html/class_global_variables.html | 44550 | <!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"/>
<title>Cross-correlations:... | mit |
kolyden/uut-engine | UUT/Video/Renderer.cpp | 896 | #include "Renderer.h"
#include "Core/Windows/Window.h"
#include <Resources/ResourceCache.h>
namespace uut
{
UUT_MODULE_IMPLEMENT(Renderer)
{}
Renderer::Renderer()
: _screenSize(0)
{
}
Renderer::~Renderer()
{
}
//////////////////////////////////////////////////////////////////////////////
bool Renderer::... | mit |
BU-PCM-Testbed/ThermalProfiler | app/src/main/java/jnt/scimark2/kernel.java | 7529 | package jnt.scimark2;
public class kernel
{
// each measurement returns approx Mflops
public static double measureFFT(int N, double mintime, Random R)
{
// initialize FFT data as complex (N real/img pairs)
double x[] = RandomVector(2*N, R);
double oldx[] = NewVectorCopy(x);
long cycles = 1;
... | mit |
vitaliiznak/game-fluky_colors | polifill.js | 1634 | 'use strict'
const reduce = Function.bind.call(Function.call, Array.prototype.reduce);
const isEnumerable = Function.bind.call(Function.call, Object.prototype.propertyIsEnumerable);
const concat = Function.bind.call(Function.call, Array.prototype.concat);
const keys = Reflect.ownKeys;
if (!Object.values) {
Object.v... | mit |
atoulme/collaboa-clone | app/controllers/admin/dashboard_controller.rb | 207 | class Admin::DashboardController < AdminAreaController
def index
#You are entering an area where no project is concerned, so forget about your current project
session[:project] = nil
end
end
| mit |
Azure/azure-sdk-for-ruby | management/azure_mgmt_devtestlabs/lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/source_control_type.rb | 375 | # 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::DevTestLabs::Mgmt::V2018_09_15
module Models
#
# Defines values for SourceControlType
#
module SourceControlType
VsoGi... | mit |
pkimpel/retro-205 | webUI/D205CardatronControl.html | 1514 | <!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>retro-205 Cardatron Control Unit</title>
<!--
/***********************************************************************
* retro-205/webUI D205CardatronControl.html
****************************************************... | mit |
jtkDvlp/jQuery.infiniteZoom | README.md | 759 | # infinite zoom plugin
"infinite zoom" is an jQuery-Plugin that creates a nice foto/image show as background on DOM-containers.
## Features
* applicable to any DOM-container
* adjustable zoom properties
* asynchronous image loading (just loads what's needed)
* rendering with the high-performance CSS3-transitions
##... | mit |
madewithlove/why-cant-we-have-nice-things | resources/factories/factories.php | 3327 | <?php
use History\Entities\Models\Company;
use History\Entities\Models\Question;
use History\Entities\Models\Request;
use History\Entities\Models\Threads\Comment;
use History\Entities\Models\Threads\Thread;
use History\Entities\Models\User;
use History\Entities\Models\Vote;
use League\FactoryMuffin\FactoryMuffin;
use ... | mit |
Tneciv/Poseidon | frontend/src/app/common/routers.ts | 197 | import {Routes} from '@angular/router';
import {JournalComponent} from '../journal/journal.component';
export const LUOO_APP_ROUTERS: Routes = [
{path: 'journal', component: JournalComponent}
]
| mit |
danielbk08/hrtool | client/onlineTests/welcome/welcome.html | 605 | <template name="testWelcome">
<h2 class="center-align">Welcome Page</h2>
<div class="col-sm-6 col-md-offset-4 welcome-introduction">
<p>Welcome to Fram^ Online Testing</p>
<p>You have {{testingDuration}} minutes to complete your testting</p>
<p>Notice 1</p>
<p>Notice 2</p>
<p>Notice 3</p>
... | mit |
anhstudios/swganh | src/swganh_core/GameSystems/GameSystems_service_binding.cc | 332 | // This file is part of SWGANH which is released under the MIT license.
// See file LICENSE or go to http://swganh.com/LICENSE
#include "swganh_core/gamesystems/gamesystems_service_binding.h"
BOOST_PYTHON_MODULE(py_gamesystems)
{
docstring_options local_docstring_options(true, true, false);
exportGameSystems... | mit |
effello/cms | node_modules/apostrophe/node_modules/sanitize-html/index.js | 4431 | var htmlparser = require('htmlparser2');
var _ = require('lodash');
var ent = require('ent');
module.exports = sanitizeHtml;
function sanitizeHtml(html, options) {
var result = '';
if (!options) {
options = sanitizeHtml.defaults;
} else {
_.defaults(options, sanitizeHtml.defaults);
}
// Tags that co... | mit |
seveves/ng2-lib-test | @lib-test/extend/extend.routes.ts | 595 | import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import { ExtendComponent } from './src/components/extend.component';
import { SubExtendComponent } from './src/components/sub-extend.component';
const extendRoutes: Routes = [
{
path: '',
component: ExtendCompo... | mit |
shoutem/UrlBuilder | UrlBuilderTests/QueryParamTest.cs | 5607 | namespace UrlBuilderTests
{
using System;
using System.Collections.Generic;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Se.Url;
[TestClass]
public class QueryParamTest
{
[TestMethod]
public void DefaultQueryParam()
{
var url = new UrlBuilde... | mit |
dozgunyal/ang-oboy | app/job-detail/job-detail.service.js | 351 | (function(){
'use strict'
angular
.module("jobDetail")
.service("jobDetailService",jobDetailService);
jobDetailService.$inject = ['apiService','apiOptions'];
function jobDetailService(apiService,apiOptions)
{
var jobId;
this.getJobDetail=function(jobId)
{
// return "ok";
return apiService.get("j... | mit |
madgik/exareme | Exareme-Docker/src/exareme/exareme-worker/src/main/java/madgik/exareme/worker/art/container/job/TableTransferJob.java | 667 | /**
* Copyright MaDgIK Group 2010 - 2015.
*/
package madgik.exareme.worker.art.container.job;
import madgik.exareme.worker.art.container.ContainerJob;
import madgik.exareme.worker.art.container.ContainerJobType;
import madgik.exareme.worker.art.executionEngine.session.PlanSessionReportID;
/**
* @author heraldkllap... | mit |
swansoncoin/swansoncoin | src/qt/locale/bitcoin_pt_BR.ts | 118810 | <?xml version="1.0" ?><!DOCTYPE TS><TS language="pt_BR" version="2.0">
<defaultcodec>UTF-8</defaultcodec>
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About SwansonCoin</source>
<translation>Sobre o SwansonCoin</translatio... | mit |
wuzhouhui/leetcode | 142_linked_list_cycle_II.c | 866 | /*
* optimization needed.
*/
struct ListNode {
int val;
struct ListNode *next;
};
#ifndef NULL
#define NULL ((struct ListNode *)0)
#endif
struct ListNode *detectCycle(struct ListNode *head)
{
if (!head || !head->next)
return(NULL);
if (head->next == head)
return(head);
struct ListNode *p1, *p2;
int has... | mit |
smithee-us/pi-admin | Makefile | 1941 | # Makefile for project pi-admin
MODULES = sn-core sn-props sn-approute connect
CLEAN_THESE_FILES = css/bootstrap.css css/bootstrap.min.css css/bootstrap-theme.css css/bootstrap-theme.min.css \
js/bootstrap.js js/bootstrap.min.js js/jquery.js js/underscore-min.js js/backbone-min.js js/handlebars.js \
js/sn-core.js ... | mit |
Shekharrajak/shekharrajak.github.io | assets/css/component.css | 26902 |
html, body, .container, .header {
height: 100%;
}
/* Header */
.header {
position: relative;
margin: 0 auto;
min-height: 560px;
width: 100%;
}
.bg-img {
position: absolute;
overflow: hidden;
top: 0;
left: 0;
right: 0;
bottom: 0;
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
}
.bg-... | mit |
MeilCli/Twitter4Holo | library/src/main/java/com/twitter/meil_mitu/twitter4holo/api/help/Tos.java | 1064 | package com.twitter.meil_mitu.twitter4holo.api.help;
import com.twitter.meil_mitu.twitter4holo.AbsGet;
import com.twitter.meil_mitu.twitter4holo.AbsOauth;
import com.twitter.meil_mitu.twitter4holo.ITwitterJsonConverter;
import com.twitter.meil_mitu.twitter4holo.OauthType;
import com.twitter.meil_mitu.twitter4holo.Resp... | mit |
emartech/cranium | lib/cranium/import_strategy.rb | 376 | module Cranium::ImportStrategy
autoload :Base, 'cranium/import_strategy/base'
autoload :DeleteInsert, 'cranium/import_strategy/delete_insert'
autoload :Delete, 'cranium/import_strategy/delete'
autoload :TruncateInsert, 'cranium/import_strategy/truncate_insert'
autoload :Delta, 'cranium/import_strategy/delta'... | mit |
CEN3031-7C/project | modules/news-feeds/client/views/edit-news-feed.client.view_old.html | 3248 | <!--<section data-ng-controller="NewsFeedsController" data-ng-init="findOne()">-->
<section data-ng-controller="NewsFeedsController" data-ng-init="findOne()">
<section class="container">
<div class="page-header">
<h1>Edit News feed</h1>
</div>
<div class="col-md-12">
<form class="form-horizo... | mit |
PlayFab/PlayFab-Samples | Recipes/GoogleSignInSample/Assets/PlayFabSdk/Shared/Public/PlayFabEvents.cs | 371673 | using PlayFab.SharedModels;
using PlayFab.Internal;
namespace PlayFab.Events
{
public partial class PlayFabEvents
{
public delegate void PlayFabErrorEvent(PlayFabRequestCommon request, PlayFabError error);
public delegate void PlayFabResultEvent<in TResult>(TResult result) where TResult : PlayF... | mit |
dylandevalia/dylan.devalia.com | old/pathfinding/cell.js | 996 | var STATE_START = 0;
var STATE_END = 1;
var STATE_GROUND = 2;
var STATE_FOREST = 3;
var STATE_WATER = 4;
function Cell(col, row) {
this.col = col;
this.row = row;
this.state = STATE_GROUND;
}
Cell.prototype.draw = function() {
stroke(66);
switch (this.state) {
case STATE_START:
Color.Material.light_green[5... | mit |
MBulli/FHWS-ELearning-Crawler | ELearningCrawler/Properties/Resources.Designer.cs | 2797 | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.34014
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... | mit |
alnutile/drag-and-drop-page | app/js/services.js | 183 | 'use strict';
/* Services */
// Demonstrate how to register services
// In this case it is a simple value service.
angular.module('baApp.services', []).
value('version', '0.1');
| mit |
leoner/iputil | index.js | 7755 | var fs = require('fs');
var join = require('path').join;
var iconv = require('iconv-lite');
var debug = require('debug')('ip');
var util = require('util');
var EventEmitter = require('events').EventEmitter;
var thunkify = require('thunkify-wrap');
function IpUtil(ipFile, encoding, isLoad) {
if (typeof encoding === '... | mit |
TelerikAcademy-Cloning/Databases | Topics/21. Service-layer/demos/Superheroes/Superheroes.Services.Tests/Properties/AssemblyInfo.cs | 1464 | 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: AssemblyTi... | mit |
xianjunzhengbackup/code | data science/machine_learning_for_the_web/chapter_4/movie/27363.html | 8298 | <HTML><HEAD>
<TITLE>Review for Vertical Limit (2000)</TITLE>
<LINK REL="STYLESHEET" TYPE="text/css" HREF="/ramr.css">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1 ALIGN="CENTER" CLASS="title"><A HREF="/Title?0190865">Vertical Limit (2000)</A></H1><H3 ALIGN=CENTER>reviewed by<BR><A HREF="/ReviewsBy?Dennis+Sc... | mit |
mstevenson/SeudoBuild | SeudoBuild.Agent/Program.cs | 10540 | using System;
using CommandLine;
using System.IO;
using Nancy.Hosting.Self;
using SeudoBuild.Core;
using SeudoBuild.Core.FileSystems;
using SeudoBuild.Pipeline;
using SeudoBuild.Net;
namespace SeudoBuild.Agent
{
class Program
{
private const string Header = @"
_ _ _ _ _
... | mit |
GetItXL/iClass | modules/users/client/views/dashboard/professor-dashboard.client.view.html | 4811 | <section ng-controller="DashboardController" ng-init="createdCourseList()">
<div class="row mt">
<div class="col-lg-12">
<div class="form-panel">
<div class="chat-room-head">
<h3> Professor Dashboard</h3>
</div>
<!-- <div class=... | mit |
phillbaker/eoa-qa | README.md | 1372 | # Elevator of the Americas
Welcome! This is a small project that describes an elevator in code - including dispatching and interacting with the elevator.
Desired requirements:
* The elevator bank must have at least 3 elevators
* The elevator bank must have a way to have elevators dispatched to certain floors
*... | mit |
zxhfighter/measure | tools/gulp/tasks/serve.ts | 2930 | import { task } from 'gulp';
import { join } from 'path';
import { config } from '../utils/config';
import { sequenceTask } from '../utils/sequence-task';
import { readFileSync, writeFileSync } from 'fs';
const serve = require('browser-sync');
const webpack = require('webpack');
const webpackDevMiddelware = require(... | mit |
RichardHill/swingTrader | app/assets/css/main.css | 272 | .nav, .pagination, .carousel, .panel-title a { cursor: pointer; }
.done-true {
text-decoration: line-through;
color: #ddd;
}
.form-control[disabled], .form-control[readonly], .fieldset[disabled], .form-control {
cursor: pointer;
background-color: white;
} | mit |
ericblade/quaggaJS | test/integration/integration.spec.ts | 21244 | // TODO: write a test that ensures that Quagga.decodeSingle returns a Promise when it should
// TODO: write a test that tests the multiple: true decoding option, allowing for multiple barcodes in
// a single image to be returned.
// TODO: write a test that allows for locate: false and locator configs to be tested.
imp... | mit |
purrcat259/peek | tests/unit/test_line.py | 1585 | import copy
import pytest
from peek.line import InvalidIpAddressException, Line, InvalidStatusException
# 127.0.0.1 - - [01/Jan/1970:00:00:01 +0000] "GET / HTTP/1.1" 200 193 "-" "Python"
test_line_contents = {
'ip_address': '127.0.0.1',
'timestamp': '[01/Jan/1970:00:00:01 +0000]',
'verb': 'GET',
... | mit |
evejweinberg/SuperHeroAutoPilot | ble-uart.js | 4710 |
/*
Noble cread UART service example
This example uses Sandeep Mistry's noble library for node.js to
read and write from Bluetooth LE characteristics. It looks for a UART
characteristic based on a proprietary UART service by Nordic Semiconductor.
You can see this service implemented in Adafruit's BLEFriend library.
... | mit |
hkonitzer/adnoce | lib/adnoce.js | 2627 | var db = require('mongoose');
var Log = require('log'), log = new Log('info');
var clienttracking = require('./clienttracking.js');
var mapreduce = require('./mapreduce.js');
var io = null;
exports.server = require('./adnoceserver.js');
exports.setDatabase = function(databaseConfiguration, callback) {
var port = ... | mit |
weedySeaDragon/surveyor_gui | app/models/question_group_tracker.rb | 588 | class QuestionGroupTracker
attr_reader :questions, :question_group_id, :question_group
def initialize(question_group_id)
@questions = Question.where('question_group_id=?', question_group_id)
@counter = 0
@question_group_id = question_group_id
@question_group = QuestionGroup.find(question_group_id... | mit |
phildini/logtacts | invitations/consumers.py | 1739 | import logging
import requests
from django.conf import settings
from django.contrib.sites.models import Site
from django.core.mail import EmailMultiAlternatives
from django.template.loader import get_template
from django.utils import timezone
from invitations.models import Invitation
logger = logging.getLogger('email... | mit |
helmuttheis/hmsspx | hmssp/SP.gen/ServerSettings.cs | 4781 | /* **********************************************************************************************************
* The MIT License (MIT) *
* *
* Copyright (c) 2016 Hypermediasystems Ges. f. Software mbH *
* Web: http://www.hypermediasystems.de *
... | mit |
XertroV/blocvoting | src/BlocVoting/Tally/Resolution.hs | 565 | module BlocVoting.Tally.Resolution where
import qualified Data.ByteString as BS
data Resolution = Resolution {
rCategories :: Int
, rEndTimestamp :: Int
, rName :: BS.ByteString
, rUrl :: BS.ByteString
, rVotesFor :: Integer
, rVotesTotal :: Integer
, rResolved :: Bool
}
deriving (Show, Eq)
update... | mit |
ridobe/dotfiles | bash/environment.sh | 118 | # Erase duplicate entries from history
export HISTCONTROL="erasedups"
# Increase history size
export HISTSIZE="10000" | mit |
MarcusOlivecrona/REINVENT | Vizard/templates/index.html | 387 | <!DOCTYPE html>
<html lang="en">
<head>
{{ bokeh_css }}
{{ bokeh_js }}
<style>
{% include 'styles.css' %}
</style>
<meta charset="utf-8">
<title>MolExplorer</title>
</head>
<body>
<div>
<h1>Vizard</h1>
{{ plot_div|indent(8) }}
... | mit |
silentorb/runic | Runic/lexer/Lexer_Bootstrap_Old.cs | 1047 | //using System;
//using System.Collections.Generic;
//using System.Linq;
//using System.Text;
//using parser;
//
//namespace runic.lexer
//{
// public class Lexer_Bootstrap_Old : Parser_Context
// {
// public Lexer_Bootstrap_Old(Definition definition)
// : base(definition)
// ... | mit |
ToshinoriTsuboi/dma-virtual-memory | instruction_counter/Readme.md | 1399 | # Instruction Counter
Counting number of instructions by `ptrace` system call
**This repository is for experimental use, so it may contain some dangerous code.
Use this repository at your own risk.**
## Requirement
The code is written assuming only when using GCC on Linux.
Probably it can not be compiled by compile... | mit |
erento/angular-lazy-responsive-images | projects/angular-lazy-responsive-images/karma.conf.js | 688 | // Karma configuration file, see link for more information
// https://karma-runner.github.io/1.0/config/configuration-file.html
module.exports = function (config) {
config.set({
basePath: '',
frameworks: ['jasmine', '@angular-devkit/build-angular'],
plugins: [
'karma-jasmine',
'karma-chrome-l... | mit |
error505/YahooFinanceApi | StockExchangeYahooFinance/Migrations/20170419132834_updateExAddCountry.Designer.cs | 12032 | using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using StockExchangeYahooFinance.DbContext;
namespace StockExchangeYahooFinance.Migrations
{
[DbContext(typeof(YahooFi... | mit |
deepredsky/deepredsky.github.io | _posts/tumblr/2015-07-25-swyambhu-before-the-quake-nepal-swyambhu.html | 383 | ---
layout: post
title: swyambhu before the quake nepal swyambhu
date: '2015-07-25T18:15:01+02:00'
tags:
- Instagram
- PhotoOfTheDay
tumblr_url: http://deepredsky.tumblr.com/post/124997225759/swyambhu-before-the-quake-nepal-swyambhu
---
<img src="/tumblr_files/tumblr_ns1mq1tesy1s8ugabo1_1280.jpg"/><br/><p>swyambhu befo... | mit |
jkdubr/Proj4 | Pod/Classes/Projection/MOBProjectionEPSG6331.h | 82 | #import "MOBProjection.h"
@interface MOBProjectionEPSG6331 : MOBProjection
@end
| mit |
cravler/whaler | lib/console.js | 509 | 'use strict';
const util = require('util');
const colors = require('colors/safe');
Object.entries({
info: colors.blue,
warn: colors.yellow,
error: colors.red
}).map(([method, color]) => {
const _ = global.console[method];
global.console[method] = (...args) => {
if (args.length) {
... | mit |
bassdeveloper/bassdeveloper.github.io | drafts/ibm-bluemix.html | 8135 |
<!DOCTYPE html>
<html lang="english">
<head>
<link href='//fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,700,400italic' rel='stylesheet' type='text/css'>
<link rel="stylesheet" type="text/css" href="../theme/stylesheet/style.min.css">
<link rel="stylesheet" type="text/css" href="../theme/pygments/g... | mit |
skeiter9/javascript-para-todo_demo | webapp/node_modules/webpack/benchmark/fixtures/589.async.js | 171 | require.ensure([], function(require) {
require("./73.async.js");
require("./147.async.js");
require("./294.async.js");
require("./588.async.js");
});
module.exports = 589; | mit |
pel-daniel/git-init | resources.html | 2486 | <html>
<head>
<meta charset="utf-8">
<title>Resources - git init</title>
<link
href='https://fonts.googleapis.com/css?family=Open+Sans'
rel='stylesheet'
type='text/css'
>
<link rel="stylesheet" href="octicons/octicons.css">
<link rel="stylesheet" href="style.css">
</head>
<body>
<div id="head... | mit |
vladfolts/oberonjs | test/expected/eberon/dynamic_array.js | 2536 | <rtl code>
var m = function (){
function T(){
this.a = [];
}
var r = new T();
var a = RTL$.makeArray(3, 0);
var dynamicInt = [];
var dynamicString = [];
var dynamicChar = [];
var dynamicByte = [];
var dynamicRecord = [];
var dynamicArrayOfStaticArrayInt = [];
var i = 0;
var s = '';
var byte = 0;
function assignDynami... | mit |
floatdrop/npmup | README.md | 890 | # npmup [![NPM version][npm-image]][npm-url]
> Cli tool to overview dependencies in package.json
This is scope reduction result of my `update-my-deps` project. At the end I found out, that I wrote small part of [`david`](https://github.com/alanshaw/david) functionality. Oops.
![2014-03-11 18-35-40 1 npmupexample zsh]... | mit |
philipwalton/ingen | test/config-test.js | 1739 | var expect = require('chai').expect;
var assert = require('chai').assert;
var sinon = require('sinon');
var Config = require('../lib/config');
describe('config', function() {
describe('#constructor', function() {
it('creates a new object with the config defaults', function() {
sinon.spy(Config.prototyp... | mit |
alneberg/sillymap | sillymap/burrows_wheeler.py | 567 |
def burrows_wheeler(text):
"""Calculates the burrows wheeler transform of <text>.
returns the burrows wheeler string and the suffix array indices
The text is assumed to not contain the character $"""
text += "$"
all_permutations = []
for i in range(len(text)):
all_permutations.append(... | mit |
Achain-Dev/Achain | src/Chain/libraries/glua/tests_lua/test_contract_transfer.lua | 286 | local M = {}
function M:init()
print("test contract transfer caller")
local contract_transfer_demo = import_contract 'contract_transfer_demo'
local res = contract_transfer_demo:start()
pprint("transfer demo start response is ", res)
end
function M:start()
end
return M
| mit |
mayankon24/d-final | Source/Actions/Microsoft.Deployment.Actions.AzureCustom/HCL/CreateAzureMLWorkspace.cs | 4495 | using System.ComponentModel.Composition;
using System.IO;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Azure;
using Microsoft.Azure.Management.Resources;
using Microsoft.Azure.Management.Resources.Models;
using Microsoft.Deployment.Common.ActionModel;
using Microsoft.Deploym... | mit |
doubleirish/mybatis-spring-boot | src/main/java/com/example/dao/PublisherMapper.java | 683 | package com.example.dao;
import com.example.model.Publisher;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import java.util.List;
@Mapper
public interface PublisherMapper {
@Select("SELECT *, PHONE as phoneNumber from PUBLISHERS") //SQL
List<Publisher> findAll();
// ... | mit |
nedilio/rescarven-wp-theme | templates/content-single-aps.php | 4240 | <?php while (have_posts()) : the_post(); ?>
<article <?php post_class(); ?>>
<div class="entry-content content-medicina-prepagada">
<header class="menu-med-prep text-center">
<ul class="list-inline">
<?php $loop = new WP_Query( array( 'post_type' => 'aps', 'order' => 'ASC', 'category_name'=> 'link'));?>... | mit |
mjh-test1/mjh-test1.github.io | _layouts/default.html | 1397 | <!DOCTYPE html>
<html lang="en-us">
{% include head.html %}
<body class="theme-base-08 layout-reverse sidebar-overlay">
<!-- Enable Google Analytics -->
{% include googleanalytics.html %}
{% include sidebar.html %}
<!-- Wrap is the content to shift when toggling the sidebar. We wrap the
... | mit |
octplane/wikiquote-parser | node.go | 2562 | package wikimediaparser
import (
"fmt"
"github.com/golang/glog"
"strings"
)
// Node as it is emitted by the parser
// - contains a NodeType for clear identification
// - a string val Val
// - a list of named parameters which are actually Node Lists
// -a list of anonymous parameters, a Node list aga... | mit |
melvinlee/SQLCmdTools | SqlCmdTools.psd1 | 2544 | #
# Module manifest for module 'SqlCmdTools'
#
#
@{
# Script module or binary module file associated with this manifest.
RootModule = 'SqlCmdTools.psm1'
# Version number of this module.
ModuleVersion = '0.0.0.1'
# ID used to uniquely identify this module
GUID = '97222863-d093-489a-8b09-e37f5607df83'
# Author of th... | mit |
dumpram/domBareMetal | README.md | 433 | # domBareMetal
Xen 4.6. bare metal domain for Odroid XU-3
Tested on Odroid XU3, for toggling GPA2.4 GPIO. Toggling is done directly by changing the register in memory.
On this link you can find XU3 expansion header: http://odroid.com/dokuwiki/doku.php?id=en:xu3_hardware_gpio
Xen devel thread on enabling emergency ... | mit |